bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/25179] ld fails to resolve R_PPC_ADDR16_HA relocations in the .d


From: uwe at NetBSD dot org
Subject: [Bug ld/25179] ld fails to resolve R_PPC_ADDR16_HA relocations in the .data section
Date: Sat, 09 Nov 2019 16:26:46 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25179

--- Comment #2 from Valery Ushakov <uwe at NetBSD dot org> ---
I managed to misedit the original submission and sent it too early it
seems.  Sorry.

$ cc ha.S && ./a.out 
./a.out: Unsupported relocation type 6 in non-PLT relocations

where the error message is printed by ld.so that refuses to run the
resulting binary.

$ objdump -DrR a.out | grep BUG -A5
01810ab8 <BUG>:
 1810ab8:       3c 00 00 00     lis     r0,0
                        1810aba: R_PPC_ADDR16_HA        memset
 1810abc:       38 00 00 00     li      r0,0
                        1810abe: R_PPC_ADDR16_LO        memset

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]