diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-02-18 03:13:19 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-02-18 03:13:51 -0800 |
commit | bf89386a862ace008f0152bca8bddf996d3993c8 (patch) | |
tree | d8e06697989cb979af0263ddaef268a4b79d5137 /bfd/ChangeLog | |
parent | 06ea285dcbfb67189e46bee7f4f7c9b4140fc681 (diff) | |
download | gdb-bf89386a862ace008f0152bca8bddf996d3993c8.zip gdb-bf89386a862ace008f0152bca8bddf996d3993c8.tar.gz gdb-bf89386a862ace008f0152bca8bddf996d3993c8.tar.bz2 |
Always create dynamic sections for -E/--dynamic-list
In embedded environments, including boot loaders, the non-PIC executable
needs to export its symbols to modules loaded in the future. We should
always create dynamic sections for -E/--dynamic-list.
bfd/
PR ld/19617
* elflink.c (elf_link_add_object_symbols): Always create dynamic
sections for -E/--dynamic-list.
ld/
PR ld/19617
* testsuite/ld-elf/pr19617.s: New file.
* testsuite/ld-elf/pr19617a.d: Likewise.
* testsuite/ld-elf/pr19617b.d: Likewise.
* testsuite/ld-elf/pr19617c.d: Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b5e5788..1c9e201 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2016-02-18 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/19617 + * elflink.c (elf_link_add_object_symbols): Always create dynamic + sections for -E/--dynamic-list. + 2016-02-17 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf_backend_omit_section_dynsym): New. Defined |