arm: fix PIC vs SHARED typos
commit1bc05ece9a56bcf077bc5bd2007740e9db858faf
authorDavid Lamparter <equinox-gentoo@diac24.net>
Fri, 16 Aug 2013 19:06:34 +0000 (16 15:06 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 16 Aug 2013 19:13:16 +0000 (16 15:13 -0400)
tree3d2eda4cd19b9f77881b10fd33613a10554c0581
parent17ce9372c431e3fecaba9285104f5d4fb32c4ebe
arm: fix PIC vs SHARED typos

the logic in setjmp/__longjmp incorrectly tie to "PIC" to figure out
whether the code is going into a shared library when it should be using
"SHARED".  otherwise, building static PIC code goes wrong.

https://bugs.gentoo.org/336914
http://sourceware.org/ml/libc-ports/2011-09/msg00018.html

2011-09-19  David Lamparter  <equinox-gentoo@diac24.net>

* sysdeps/arm/eabi/setjmp.S: Change PIC to SHARED.
* sysdeps/arm/eabi/__longjmp.S: Likewise
ports/sysdeps/arm/__longjmp.S
ports/sysdeps/arm/setjmp.S