diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2015-08-06 20:22:40 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@ezchip.com> | 2015-08-06 20:22:40 -0400 |
commit | ff3e9a7307db12a553c20bd92a7cade072445244 (patch) | |
tree | 6cc7afef007e2d2d1a2defcaac32ad2236d44d14 /arch/tile | |
parent | 232ff5eb2bf304fc699b132134437a7cb9b2ec16 (diff) |
tile/vdso: emit a GNU hash as well
In principle, including the GNU hash can allow libc to avoid
calculating SysV hashes at all.
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/kernel/vdso/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/tile/kernel/vdso/Makefile b/arch/tile/kernel/vdso/Makefile index a025f63d54cd..c54fff37b5ff 100644 --- a/arch/tile/kernel/vdso/Makefile +++ b/arch/tile/kernel/vdso/Makefile | |||
@@ -54,7 +54,7 @@ $(obj)/built-in.o: $(obj)/vdso-syms.o | |||
54 | $(obj)/built-in.o: ld_flags += -R $(obj)/vdso-syms.o | 54 | $(obj)/built-in.o: ld_flags += -R $(obj)/vdso-syms.o |
55 | 55 | ||
56 | SYSCFLAGS_vdso.so.dbg = -shared -s -Wl,-soname=linux-vdso.so.1 \ | 56 | SYSCFLAGS_vdso.so.dbg = -shared -s -Wl,-soname=linux-vdso.so.1 \ |
57 | $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) | 57 | $(call cc-ldoption, -Wl$(comma)--hash-style=both) |
58 | SYSCFLAGS_vdso_syms.o = -r | 58 | SYSCFLAGS_vdso_syms.o = -r |
59 | $(obj)/vdso-syms.o: $(src)/vdso.lds $(obj)/vrt_sigreturn.o FORCE | 59 | $(obj)/vdso-syms.o: $(src)/vdso.lds $(obj)/vrt_sigreturn.o FORCE |
60 | $(call if_changed,vdsold) | 60 | $(call if_changed,vdsold) |
@@ -113,6 +113,6 @@ $(obj)/vrt_sigreturn32.o: $(obj)/vrt_sigreturn.S | |||
113 | $(obj)/vdso32.o: $(obj)/vdso32.so | 113 | $(obj)/vdso32.o: $(obj)/vdso32.so |
114 | 114 | ||
115 | SYSCFLAGS_vdso32.so.dbg = -m32 -shared -s -Wl,-soname=linux-vdso32.so.1 \ | 115 | SYSCFLAGS_vdso32.so.dbg = -m32 -shared -s -Wl,-soname=linux-vdso32.so.1 \ |
116 | $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) | 116 | $(call cc-ldoption, -Wl$(comma)--hash-style=both) |
117 | $(obj)/vdso32.so.dbg: $(src)/vdso.lds $(obj-vdso32) | 117 | $(obj)/vdso32.so.dbg: $(src)/vdso.lds $(obj-vdso32) |
118 | $(call if_changed,vdsold) | 118 | $(call if_changed,vdsold) |