[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
porting gnu prolog
From: |
carbonated beverage |
Subject: |
porting gnu prolog |
Date: |
Sat, 31 Jul 2004 01:26:00 -0700 |
Hi all,
Been having problems porting to Linux/SPARC with MAP_REG_BANK defined, and
it looks like %g6 is used without it ever being initialized when pl2wam
calls Reset_Prolog().
I dug through the x86 disassembly from the backtraces, and as far as I
can see, it doesn't initialize %ebx to MAP_REG_BANK, either. It just
always happens to have an address of a segment mapped rwxp in the
/proc/pid/maps file there, if I put a breakpoint into main and examine
the registers and the maps file:
ebx 0x40157e48 1075150408
40153000-40159000 rwxp 00113000 03:03 374175 /lib/libc-2.2.5.so
On the SPARC, though:
g6 0xff000000 -16777216
Am I missing something?
-- DN
Daniel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- porting gnu prolog,
carbonated beverage <=