Fix -Wundef warnings for SHARED
authorWill Newton <will.newton@linaro.org>
Mon, 7 Jul 2014 14:14:26 +0000 (15:14 +0100)
committerWill Newton <will.newton@linaro.org>
Wed, 9 Jul 2014 08:26:07 +0000 (09:26 +0100)
commit82374e65d745c3c94258ad81c38f8af34b9f9113
treefd5e15e5b29c5b73fcfb883c9c88ffa61502c573
parent6ee3eab42979fdd5bb971a40fec32e04bb9dd2ad
Fix -Wundef warnings for SHARED

The definition of SHARED is tested with #ifdef pretty much everywhere
apart from these few places. The tlsdesc.c code seems to be copy and
pasted to a few architectures and there is one instance in the hppa
startup code.

ChangeLog:

2014-07-09  Will Newton  <will.newton@linaro.org>

* sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
* sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
* sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
* sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
* sysdeps/hppa/start.S (_start): Likewise.
ChangeLog
sysdeps/aarch64/tlsdesc.c
sysdeps/arm/tlsdesc.c
sysdeps/hppa/start.S
sysdeps/i386/tlsdesc.c
sysdeps/x86_64/tlsdesc.c