RFC: PATCHES: Properly handle reference to protected data on x86

Szabolcs Nagy szabolcs.nagy@arm.com
Fri Mar 6 11:01:00 GMT 2015



On 04/03/15 23:26, H.J. Lu wrote:
> Protected symbol means that it can't be pre-emptied.  It
> doesn't mean its address won't be external.  This is true
> for pointer to protected function.  With copy relocation,
> address of protected data defined in the shared library may
> also be external.  We only know that for sure at run-time.
> Here are patches for glibc, binutils and GCC to handle it
> properly.
> 
> Any comments?
> 

i think this fixes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55012



More information about the Gcc-patches mailing list