svn commit: r2040 - in trunk/yasm/modules/objfmts/elf: tests/gas32 tests/gas64
peter at tortall.net
peter at tortall.net
Thu Feb 21 00:57:23 PST 2008
Author: peter
Date: Thu Feb 21 00:57:23 2008
New Revision: 2040
Modified:
trunk/yasm/modules/objfmts/elf/elf-machine.h
trunk/yasm/modules/objfmts/elf/elf-objfmt.c
trunk/yasm/modules/objfmts/elf/elf-x86-amd64.c
trunk/yasm/modules/objfmts/elf/elf-x86-x86.c
trunk/yasm/modules/objfmts/elf/elf.c
trunk/yasm/modules/objfmts/elf/elf.h
trunk/yasm/modules/objfmts/elf/tests/gas32/elf_gas32_ssym.hex
trunk/yasm/modules/objfmts/elf/tests/gas64/elf_gas64_ssym.hex
Changeset:
http://www.tortall.net/projects/yasm/changeset/2040
Log:
Set ELF symbol type to TLS if either:
- symbol is defined in a TLS section
- symbol is used in a TLS relocation
This is required by the GNU linker, and matches GNU as behavior.
The implementation is not as clean as it perhaps should be, but it does
the job.
Reported by: Nils Weller <nils at gnulinux.nl>
More information about the yasm-cvs
mailing list