toolchain: add hidden symbol for PIE support
authorWaldemar Brodkorb <wbx@openadk.org>
Mon, 11 Jul 2016 14:35:14 +0000 (16:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 24 Jul 2016 19:44:22 +0000 (21:44 +0200)
commit3c93901bcd2f77232581ca82a3a5f741aa9e6345
tree63d3b509fa5ecae56f17772fdd034ab7318dc96a
parent58b573c252139c6e6ec7a14964ed6810502aaf23
toolchain: add hidden symbol for PIE support

uClibc-ng does not support PIE for some architectures as
arc and m68k. It isn't implemented in the static linking case, too.
With musl toolchains you might have static PIE support with little
patching of gcc. Static linking for GNU libc isn't enabled in
buildroot. Fixup any package using special treatment of PIE.
(grep -ir pie package/*/*.mk)

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas: use positive logic.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 files changed:
package/bluez_utils/bluez_utils.mk
package/cifs-utils/cifs-utils.mk
package/libmemcached/libmemcached.mk
package/libsodium/libsodium.mk
package/lvm2/lvm2.mk
package/openssh/openssh.mk
package/openswan/openswan.mk
package/pure-ftpd/pure-ftpd.mk
package/quagga/quagga.mk
package/tinc/tinc.mk
package/trousers/trousers.mk
toolchain/Config.in
toolchain/toolchain-common.in