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 /opcodes/aarch64-gen.c | |
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 'opcodes/aarch64-gen.c')
0 files changed, 0 insertions, 0 deletions