diff options
author | Alan Modra <amodra@gmail.com> | 2014-07-02 15:07:18 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-07-02 18:16:14 +0930 |
commit | d1eca1e41ddae8c3cd925be827640de919301432 (patch) | |
tree | 94f81941bc024992334cec35ad62ad86418db131 /gold/Makefile.in | |
parent | 9b11e3a7327f7b1fd5d40a6450a3cc323a78380c (diff) | |
download | gdb-d1eca1e41ddae8c3cd925be827640de919301432.zip gdb-d1eca1e41ddae8c3cd925be827640de919301432.tar.gz gdb-d1eca1e41ddae8c3cd925be827640de919301432.tar.bz2 |
Taking an undefined function's address in an executable
doesn't always mean you need to define a function symbol on plt code.
If all references are in read-write sections, then using dynamic relocs
is OK.
bfd/
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Clear
pointer_equality_needed when !readonly_dynrelocs.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
ld/testsuite/
* ld-powerpc/ambiguousv1.d: Match symbol table too.
* ld-powerpc/ambiguousv2.d: Likewise.
* ld-powerpc/ambiguousv1b.d: New.
* ld-powerpc/ambiguousv2b.d: New.
* ld-powerpc/powerpc.exp: Run new tests.
Diffstat (limited to 'gold/Makefile.in')
0 files changed, 0 insertions, 0 deletions