]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
Assign file position for .strtab only if needed
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 31 Dec 2014 03:09:11 +0000 (19:09 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 31 Dec 2014 03:09:11 +0000 (19:09 -0800)
commitee3b52e917c3a19850232a6a20f5698090619fc6
treebbc97bb0c5f38fad65e38ce93a23a6d034535d05
parent24fbeb8dc2c20f86c9940cc62e6af192a9d11b1a
Assign file position for .strtab only if needed

bfd/

PR ld/17773
* elflink.c (bfd_elf_final_link): Assign the file position for
the symbol string table only there are symbols to be emitted.

ld/testsuite/

PR ld/17773
* ld-elf/binutils.exp (binutils_test): Add an optional
readelf_options.  Replace -l with $readelf_options.  Add a
gap test.
* ld/testsuite/ld-elf/gap.s: New file.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/binutils.exp
ld/testsuite/ld-elf/gap.s [new file with mode: 0644]