Clear non_elf on ELF linker defined symbols.
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Oct 2010 04:28:04 +0000 (04:28 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Oct 2010 04:28:04 +0000 (04:28 +0000)
commite28df02b6c50caba3460bc43542b8db4bc0925ce
tree8af5689c49279c339c5f07f83ac1a69aef5d731c
parenta5916a62fdb0633418462d0cda1e20e58988288a
Clear non_elf on ELF linker defined symbols.

2010-09-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11812
* elf32-i386.c (elf_i386_size_dynamic_sections): Don't
 allocate .got.plt section if there are no GOT nor PLT
 entries and there is no refeence to _GLOBAL_OFFSET_TABLE_.
 * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Li.kewise.

* elflink.c (_bfd_elf_define_linkage_sym): Clear non_elf.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
bfd/elflink.c
This page took 0.025879 seconds and 4 git commands to generate.