Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2 -2
+2 -2
arch/tile/kernel/vdso/Makefile
··· 54 54 $(obj)/built-in.o: ld_flags += -R $(obj)/vdso-syms.o 55 55 56 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 58 SYSCFLAGS_vdso_syms.o = -r 59 59 $(obj)/vdso-syms.o: $(src)/vdso.lds $(obj)/vrt_sigreturn.o FORCE 60 60 $(call if_changed,vdsold) ··· 113 113 $(obj)/vdso32.o: $(obj)/vdso32.so 114 114 115 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 117 $(obj)/vdso32.so.dbg: $(src)/vdso.lds $(obj-vdso32) 118 118 $(call if_changed,vdsold)