porting gnu prolog
carbonated beverage <[email protected]>
| Newsgroups | gmane.comp.gnu.prolog.general |
|---|---|
| Message-ID | <[email protected]> |
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