[Bug 221107] -r371706 (so clang 5) TARGET_ARCH=powerpc aha.kld gets: R_PPC_PLTREL24 reloc against local symbol; could not read symbols: Bad value
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 30 20:25:23 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221107
--- Comment #1 from Mark Millard <markmi at dsl-only.net> ---
objdump reports that the .text+0x2b94 is in
aha_isa_probe and is a reference to aha_alloc:
(sorted objdump -x output:)
00002b78 R_PPC_PLTREL24 bus_alloc_resource
00002b88 R_PPC_PLTREL24 rman_get_start
00002b94 R_PPC_PLTREL24 aha_alloc
00002b96 R_PPC_ADDR32 .debug_str+0x0000266c
00002b9c R_PPC_PLTREL24 aha_probe
00002b9f R_PPC_ADDR32 .debug_str+0x00001904
(objdump -d --prefix-addresses output:)
00002aa4 <aha_isa_probe> mflr r0
. . .
00002b7c <aha_isa_probe+0xd8> cmplwi r3,0
00002b80 <aha_isa_probe+0xdc> stw r3,188(r28)
00002b84 <aha_isa_probe+0xe0> beq 00002c1c <aha_isa_probe+0x178>
00002b88 <aha_isa_probe+0xe4> bl 00002b88 <aha_isa_probe+0xe4>
00002b8c <aha_isa_probe+0xe8> mr r3,r28
00002b90 <aha_isa_probe+0xec> mr r27,r4
00002b94 <aha_isa_probe+0xf0> bl 00002b94 <aha_isa_probe+0xf0>
00002b98 <aha_isa_probe+0xf4> mr r3,r28
00002b9c <aha_isa_probe+0xf8> bl 00002b9c <aha_isa_probe+0xf8>
00002ba0 <aha_isa_probe+0xfc> cmplwi r3,0
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list