Makefile (36ec807b627b4c0a0a382f0ae48eac7187d14b2b) Makefile (90daca7c8f6f33e9482591446d2e76b18a21be49)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Building vDSO images for x86.
4#
5
6VDSO64-y := y
7
8vdso-install-$(VDSO64-y) += vdso.so

--- 42 unchanged lines hidden (view full) ---

51CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage
52
53#
54# The DSO images are built using a special linker script.
55#
56quiet_cmd_vdso = VDSO $@
57 cmd_vdso = $(CC) -nostdlib -o $@ \
58 $(CC_FLAGS_LTO) $(VDSO_LDFLAGS) $(VDSO_LDFLAGS_$(filter %.lds,$(^F))) \
1# SPDX-License-Identifier: GPL-2.0
2#
3# Building vDSO images for x86.
4#
5
6VDSO64-y := y
7
8vdso-install-$(VDSO64-y) += vdso.so

--- 42 unchanged lines hidden (view full) ---

51CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage
52
53#
54# The DSO images are built using a special linker script.
55#
56quiet_cmd_vdso = VDSO $@
57 cmd_vdso = $(CC) -nostdlib -o $@ \
58 $(CC_FLAGS_LTO) $(VDSO_LDFLAGS) $(VDSO_LDFLAGS_$(filter %.lds,$(^F))) \
59 -Wl,-T,$(filter %.lds,$^) $(filter %.o,$^) && \
60 sh $(src)/checkundef.sh '$(NM)' '$@'
59 -Wl,-T,$(filter %.lds,$^) $(filter %.o,$^)
61
60
62VDSO_LDFLAGS = -fPIC -shared -Wl,--hash-style=sysv -z noexecstack
61VDSO_LDFLAGS = -fPIC -shared -Wl,--hash-style=sysv -z noexecstack -Wl,--no-undefined