svn commit: r1712 - in trunk/yasm/modules: dbgfmts/dwarf2/tests/passwin64 objfmts/coff parsers/gas

peter at tortall.net peter at tortall.net
Wed Dec 13 23:39:01 PST 2006


Author: peter
Date: Wed Dec 13 23:39:01 2006
New Revision: 1712

Modified:
   trunk/yasm/modules/dbgfmts/dwarf2/tests/passwin64/dwarfwin64_testhd.hex
   trunk/yasm/modules/objfmts/coff/coff-objfmt.c
   trunk/yasm/modules/objfmts/elf/elf-objfmt.c
   trunk/yasm/modules/parsers/gas/gas-bison.y
Changeset:
   http://www.tortall.net/projects/yasm/changeset/1712

Log:
Push down GAS .ident directive handling into objfmts.  Note this makes it
such that only ELF and COFF actually handle .ident; all other object
formats silently ignore it.

In Win32/Win64, the .ident contents are dumped into the .rdata$zzz section
rather than the .comment section as in COFF and ELF; this is due to the
fact the GNU linker for Win32 is broken and puts .comment in the output
executable as a separate section, breaking the executable.  The .rdata$zzz
name matches that used by GAS to work around this same linker bug.

Reported and tracked down by: Peter Tanski <p.tanski at gmail.com>



More information about the yasm-cvs mailing list