[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/27491] ld: relocation R_X86_64_PC32 against undefined protected
From: |
i at maskray dot me |
Subject: |
[Bug ld/27491] ld: relocation R_X86_64_PC32 against undefined protected symbol `__start_xx' can not be used when making a shared object |
Date: |
Wed, 01 Dec 2021 06:05:53 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27491
--- Comment #8 from Fangrui Song <i at maskray dot me> ---
(In reply to H.J. Lu from comment #7)
> Created attachment 13811 [details]
> A patch
>
> Try this.
Thanks! I applied it locally and the original example works.
Adding `.section xx,"aR",unique,2; .byte 2` works, too.
--
You are receiving this mail because:
You are on the CC list for the bug.