Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jul 2017 20:25:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [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
Message-ID:  <bug-221107-8-fRGcZeL2OY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221107-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221107-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221107

--- Comment #1 from Mark Millard <markmi@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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221107-8-fRGcZeL2OY>