diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2015-08-07 06:05:42 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-10-01 09:52:00 +0300 |
commit | 787b393c9f6300c343600d39f53f1b9f09d3684f (patch) | |
tree | e4b670c7557d7056bfdbc1867fcb8ced7eee5ec3 /arch/powerpc/kernel/vdso32 | |
parent | 336382c78b926af7f3b22f738998962cec5a26e1 (diff) | |
download | linux-787b393c9f6300c343600d39f53f1b9f09d3684f.tar.xz |
powerpc/vdso: Emit GNU & SysV hashes
Andy Lutomirski says:
Some dynamic loaders may be slightly faster if a GNU hash is
available.
This is unlikely to have any measurable effect on the time it takes
to resolve vdso symbols (since there are so few of them). In some
contexts, it can be a win for a different reason: if every DSO has a
GNU hash section, then libc can avoid calculating SysV hashes at
all. Both musl and glibc appear to have this optimization.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/vdso32')
-rw-r--r-- | arch/powerpc/kernel/vdso32/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/vdso32/Makefile b/arch/powerpc/kernel/vdso32/Makefile index 53e6c9b979ec..6abffb7a8cd9 100644 --- a/arch/powerpc/kernel/vdso32/Makefile +++ b/arch/powerpc/kernel/vdso32/Makefile @@ -18,7 +18,7 @@ GCOV_PROFILE := n ccflags-y := -shared -fno-common -fno-builtin ccflags-y += -nostdlib -Wl,-soname=linux-vdso32.so.1 \ - $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) + $(call cc-ldoption, -Wl$(comma)--hash-style=both) asflags-y := -D__VDSO32__ -s obj-y += vdso32_wrapper.o |