summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/vdso64
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2015-08-07 08:55:48 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-08-07 09:57:39 +0200
commitaad1b688c996b4a247c4a8fd1bd6c5c563963ddb (patch)
tree89392e68c33e7d50217535d2d2c9e3f36e86e09a /arch/s390/kernel/vdso64
parent7cde4910a5adcab62506eff49f4500053464fc8a (diff)
downloadop-kernel-dev-aad1b688c996b4a247c4a8fd1bd6c5c563963ddb.zip
op-kernel-dev-aad1b688c996b4a247c4a8fd1bd6c5c563963ddb.tar.gz
s390/vdso: emit a GNU hash
As proposed by Andy Lutomirski create the SysV and the GNU hash for the vdso objects. This may make some dynamic loaders a bit faster. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/vdso64')
-rw-r--r--arch/s390/kernel/vdso64/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/vdso64/Makefile b/arch/s390/kernel/vdso64/Makefile
index 2a8ddfd..c4b03f9 100644
--- a/arch/s390/kernel/vdso64/Makefile
+++ b/arch/s390/kernel/vdso64/Makefile
@@ -13,7 +13,7 @@ KBUILD_AFLAGS_64 += -m64 -s
KBUILD_CFLAGS_64 := $(filter-out -m64,$(KBUILD_CFLAGS))
KBUILD_CFLAGS_64 += -m64 -fPIC -shared -fno-common -fno-builtin
KBUILD_CFLAGS_64 += -nostdlib -Wl,-soname=linux-vdso64.so.1 \
- $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
+ $(call cc-ldoption, -Wl$(comma)--hash-style=both)
$(targets:%=$(obj)/%.dbg): KBUILD_CFLAGS = $(KBUILD_CFLAGS_64)
$(targets:%=$(obj)/%.dbg): KBUILD_AFLAGS = $(KBUILD_AFLAGS_64)
OpenPOWER on IntegriCloud