This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] arm: setjmp/longjmp: fix PIC vs SHARED thinkos


On Fri, 18 Sep 2015, Mike Frysinger wrote:

> From: David Lamparter <equinox-gentoo@diac24.net>
> 
> The logic in setjmp/__longjmp incorrectly uses "PIC" to figure out
> whether the code is going into a shared library when it should be
> using "SHARED".  If you build glibc with a gcc version that has PIE
> enabled by default, then the code will try to use symbols that are
> only in the shared library.
> 
> 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
> 
> 	* sysdeps/arm/setjmp.S: Change PIC to SHARED.
> 	* sysdeps/arm/__longjmp.S: Likewise

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]