mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
37a9e49a28
bfd/ PR ld/14591 * elf-bfd.h (_bfd_elf_merge_symbol): Add an argument to return if the old symbol is weak. * elf32-sh-symbian.c (sh_symbian_relocate_section): Update _bfd_elf_merge_symbol call. * elflink.c (_bfd_elf_merge_symbol): Add an argument to return if the old symbol is weak. (_bfd_elf_add_default_symbol): Update _bfd_elf_merge_symbol call. (elf_link_add_object_symbols): Don't update symbol type from a weak definition. Update symbol type from a common symbol when overriding a weak symbol. ld/testsuite/ PR ld/14591 * ld-elf/comm-data.exp (run_ld_link_tests): Add comm-data3a and comm-data3b tests. * ld-ifunc/ifunc.exp (run_ld_link_exec_tests): New. * ld-elf/comm-data3.sd: New file. * ld-elf/comm-data3a.s: Likewise. * ld-elf/comm-data3b.s: Likewise. * ld-ifunc/ifunc-17a-i386.d: Likewise. * ld-ifunc/ifunc-17a-x86-64.d: Likewise. * ld-ifunc/ifunc-17a.s: Likewise. * ld-ifunc/ifunc-17b-i386.d: Likewise. * ld-ifunc/ifunc-17b-x86-64.d: Likewise. * ld-ifunc/ifunc-17b.s: Likewise. * ld-ifunc/ifunc-common-1.out: Likewise. * ld-ifunc/ifunc-common-1a.c: Likewise. * ld-ifunc/ifunc-common-1b.c: Likewise. |
||
---|---|---|
.. | ||
binutils.exp | ||
ifunc-1-local-x86.d | ||
ifunc-1-local-x86.s | ||
ifunc-1-x86.d | ||
ifunc-1-x86.s | ||
ifunc-2-i386.d | ||
ifunc-2-i386.s | ||
ifunc-2-local-i386.d | ||
ifunc-2-local-i386.s | ||
ifunc-2-local-x86-64.d | ||
ifunc-2-local-x86-64.s | ||
ifunc-2-x86-64.d | ||
ifunc-2-x86-64.s | ||
ifunc-3-x86.s | ||
ifunc-3a-x86.d | ||
ifunc-3b-x86.d | ||
ifunc-4-local-x86.d | ||
ifunc-4-local-x86.s | ||
ifunc-4-x86.d | ||
ifunc-4-x86.s | ||
ifunc-4a-x86.d | ||
ifunc-5-i386.s | ||
ifunc-5-local-i386.s | ||
ifunc-5-local-x86-64.s | ||
ifunc-5-x86-64.s | ||
ifunc-5a-i386.d | ||
ifunc-5a-local-i386.d | ||
ifunc-5a-local-x86-64.d | ||
ifunc-5a-x86-64.d | ||
ifunc-5b-i386.d | ||
ifunc-5b-local-i386.d | ||
ifunc-5b-local-x86-64.d | ||
ifunc-5b-x86-64.d | ||
ifunc-5r-local-i386.d | ||
ifunc-5r-local-x86-64.d | ||
ifunc-6-i386.s | ||
ifunc-6-x86-64.s | ||
ifunc-6a-i386.d | ||
ifunc-6a-x86-64.d | ||
ifunc-6b-i386.d | ||
ifunc-6b-x86-64.d | ||
ifunc-7-i386.s | ||
ifunc-7-x86-64.s | ||
ifunc-7a-i386.d | ||
ifunc-7a-x86-64.d | ||
ifunc-7b-i386.d | ||
ifunc-7b-x86-64.d | ||
ifunc-8-i386.d | ||
ifunc-8-x86-64.d | ||
ifunc-8a-i386.s | ||
ifunc-8a-x86-64.s | ||
ifunc-8b-i386.s | ||
ifunc-8b-x86-64.s | ||
ifunc-9-x86.d | ||
ifunc-9-x86.s | ||
ifunc-10-i386.d | ||
ifunc-10-i386.s | ||
ifunc-10-x86-64.d | ||
ifunc-10-x86-64.s | ||
ifunc-11-i386.d | ||
ifunc-11-i386.s | ||
ifunc-11-x86-64.d | ||
ifunc-11-x86-64.s | ||
ifunc-12-i386.d | ||
ifunc-12-i386.s | ||
ifunc-12-x86-64.d | ||
ifunc-12-x86-64.s | ||
ifunc-13-i386.d | ||
ifunc-13-x86-64.d | ||
ifunc-13a-i386.s | ||
ifunc-13a-x86-64.s | ||
ifunc-13b-i386.s | ||
ifunc-13b-x86-64.s | ||
ifunc-14-i386.d | ||
ifunc-14-x86-64.d | ||
ifunc-14a.s | ||
ifunc-14b.s | ||
ifunc-15-i386.d | ||
ifunc-15-i386.s | ||
ifunc-15-x86-64.d | ||
ifunc-15-x86-64.s | ||
ifunc-16-i386.d | ||
ifunc-16-x86-64.d | ||
ifunc-16-x86.s | ||
ifunc-17a-i386.d | ||
ifunc-17a-x86-64.d | ||
ifunc-17a.s | ||
ifunc-17b-i386.d | ||
ifunc-17b-x86-64.d | ||
ifunc-17b.s | ||
ifunc-common-1.out | ||
ifunc-common-1a.c | ||
ifunc-common-1b.c | ||
ifunc.exp | ||
lib.c | ||
prog.c | ||
test-1.c | ||
test-2.c |