bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/30813] Compilation Fails Due to the Use of Protected Symbols


From: hjl.tools at gmail dot com
Subject: [Bug ld/30813] Compilation Fails Due to the Use of Protected Symbols
Date: Fri, 01 Sep 2023 16:04:06 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
This is intentional since copy relocation doesn't work with protected data
in shared libraries. The executable uses the copy and the shared library uses
the original. They can be out of sync. You can avoid it by compiling
protected1a.c with -mno-direct-extern-access.

-- 
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]