diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-06-08 12:41:31 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-06-08 12:41:54 -0700 |
commit | ecf99cc09236316db27fd8ffaedca864f81ea081 (patch) | |
tree | 17aa0ad69fbb3bf1877c24c2bfcc77421a94db4c /bfd/ChangeLog | |
parent | aeab512851bf6ed623d1c6c4305b6ce05e51a10c (diff) | |
download | gdb-ecf99cc09236316db27fd8ffaedca864f81ea081.zip gdb-ecf99cc09236316db27fd8ffaedca864f81ea081.tar.gz gdb-ecf99cc09236316db27fd8ffaedca864f81ea081.tar.bz2 |
ld/x86: Remove hidden _edata, __bss_start, and _end
There is no need to put hidden _edata, __bss_start, and _end in dynamic
symbol table in shared libraries.
bfd/
PR ld/23161
* elfxx-x86.c (elf_x86_hide_linker_defined): New function.
(_bfd_x86_elf_link_check_relocs): Use it to hide hidden
__bss_start, _end and _edata in shared libraries.
ld/
PR ld/23161
* testsuite/ld-elf/pr23161d.rd: Remove local _edata, __bss_start,
and _end from dynamic symbol table.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c7e28b8..a0ea93e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2018-06-08 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/23161 + * elfxx-x86.c (elf_x86_hide_linker_defined): New function. + (_bfd_x86_elf_link_check_relocs): Use it to hide hidden + __bss_start, _end and _edata in shared libraries. + 2018-06-07 Alan Modra <amodra@gmail.com> * elf32-tic6x.c (elf32_tic6x_check_relocs): Reference |