mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
6c699715f6
Similar as aarch64 backend, arm backend only overrides the decision on undefined weak symbols. arm backend part already emits necessary relative relocation for this case. bfd/ PR ld/21402 * elf32-arm.c (allocate_dynrelocs_for_symbol): Only make undefined weak symbols into dynamic. ld/ PR ld/21402 * testsuite/ld-arm/tls-app.d: Update address. * testsuite/ld-arm/tls-app.r: Remove relocations. * testsuite/ld-arm/unresolved-1-dyn.d: Update.
9 lines
219 B
Makefile
9 lines
219 B
Makefile
#source: unresolved-1.s
|
|
#ld: --warn-unresolved tmpdir/mixed-lib.so
|
|
#warning: \(\.text\+0x8\): warning: undefined reference to `foo'
|
|
#readelf: -r
|
|
|
|
Relocation section '\.rel\.dyn' .*
|
|
Offset .*
|
|
^.* 00000000 R_ARM_NONE.+
|