]> git.ipfire.org Git - thirdparty/glibc.git/commit
arm: setjmp/longjmp: fix PIC vs SHARED thinkos
authorDavid Lamparter <equinox-gentoo@diac24.net>
Sun, 12 Sep 2010 13:38:44 +0000 (09:38 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 18 Sep 2015 17:09:57 +0000 (13:09 -0400)
commit3ee578690f35942f41926cc2d98e25b3d0d08c71
tree749681ccd7fa4aa3949f186c2cd356fe29a97eb5
parent020167a4ce53f7dd8d5b1912a42163bd1077e6c5
arm: setjmp/longjmp: fix PIC vs SHARED thinkos

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.

URL: https://bugs.gentoo.org/336914
ChangeLog
sysdeps/arm/__longjmp.S
sysdeps/arm/setjmp.S