diff options
author | Alan Modra <amodra@gmail.com> | 2015-10-27 12:01:55 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-10-27 12:54:59 +1030 |
commit | 321df0656c7557004a232b4ac3d8c354a59de364 (patch) | |
tree | 3aec2b2461c111ac10685f16931e7a7fe5757aae /ld/ChangeLog | |
parent | d7f3ff3ea7830389f458be7c5eadb5d4a4e0a90b (diff) | |
download | gdb-321df0656c7557004a232b4ac3d8c354a59de364.zip gdb-321df0656c7557004a232b4ac3d8c354a59de364.tar.gz gdb-321df0656c7557004a232b4ac3d8c354a59de364.tar.bz2 |
Evaluate __start_* and __stop_* symbol PROVIDE expressions early
Makes these symbols defined before bfd_elf_size_dynamic_sections, to
avoid horrible hacks elsewhere. The exp_fold_tree undefweak change
is necessary to define undefweak symbols early too. The comment was
wrong. PROVIDE in fact defines undefweak symbols, via
bfd_elf_record_link_assignment.
PR ld/19175
* ldlang.c (lang_insert_orphan): Evaluate __start_* and __stop_*
symbol PROVIDE expressions.
* ldexp.c (exp_fold_tree_1 <etree_provide>): Define undefweak
references.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 2cb506a..bef7b26 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2015-10-27 Alan Modra <amodra@gmail.com> + + PR ld/19175 + * ldlang.c (lang_insert_orphan): Evaluate __start_* and __stop_* + symbol PROVIDE expressions. + * ldexp.c (exp_fold_tree_1 <etree_provide>): Define undefweak + references. + 2015-10-22 H.J. Lu <hongjiu.lu@intel.com> * configure.ac: Properly check |