DJGPP ELF Linker problems
Posted: Thu Feb 20, 2003 2:46 pm
Hmm...
It crashes DJGPP make, but it works if I type it at the prompt.
ld-elf -O2 -s -o .\bin\kernel.elf -T .\kernel\kernel.ld .\o\kstart.o
Code: Select all
ld-elf -O2 -s -o .\bin\kernel.elf -T .\kernel\kernel.ld .\o\kstart.o
Exiting due to signal SIGSEGV
General Protection Fault at eip=00067ac7
eax=fff50008 ebx=000001ff ecx=000002b7 edx=fff50000 esi=00000008 edi=00000000
ebp=000ba018 esp=000ba008 program=H:\NZ\DJGPP\BIN\ld-elf.exe
cs: sel=0517 base=02b70000 limit=7d47ffff
ds: sel=051f base=02b70000 limit=7d47ffff
es: sel=051f base=02b70000 limit=7d47ffff
fs: sel=04ef base=00011f70 limit=0000ffff
gs: sel=052f base=00000000 limit=ffffffff
ss: sel=051f base=02b70000 limit=7d47ffff
Call frame traceback EIPs:
0x00067ac7
0x00067a4d
0x0006bbbb
0x0006c465
0x000671ff
make.exe: *** [.\bin\kernel.elf] Error -1
ld-elf -O2 -s -o .\bin\kernel.elf -T .\kernel\kernel.ld .\o\kstart.o