]> granicus.if.org Git - yasm/commit
Fixed handling of absolute sections in the elf object format, including
authorMichael Urman <mu@tortall.net>
Fri, 28 May 2004 13:19:48 +0000 (13:19 -0000)
committerMichael Urman <mu@tortall.net>
Fri, 28 May 2004 13:19:48 +0000 (13:19 -0000)
commit2b7a5219797e083d1824bb01c3a72ea96654da5a
tree83f7e135839bfc0836f8107018c2b2b1eff89f4b
parent1934989ab1c3857d2aa63d8925821e45e8237043
Fixed handling of absolute sections in the elf object format, including
preventing a segfault.  The assumptions it had made for all sections
were wrong with absolute sections, so added just as much special casing
as necessary.  I hope the output is correct as well - this way we should
at least get bugs if it's wrong.

Reported by: Ben Skeggs <d4rk74m4@intas.net.au>

svn path=/trunk/yasm/; revision=1119
modules/objfmts/Makefile.inc
modules/objfmts/elf/elf-objfmt.c
modules/objfmts/elf/elf.c
modules/objfmts/elf/tests/Makefile.inc
modules/objfmts/elf/tests/elfabssect.asm [new file with mode: 0644]
modules/objfmts/elf/tests/elfabssect.errwarn [new file with mode: 0644]
modules/objfmts/elf/tests/elfabssect.hex [new file with mode: 0644]