Makefile (61615faf0a8968b604bd279fec5cb834ba59ed58) Makefile (1742ed2088ccc4ade3abd8fe888742dd0f1343f8)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Building vDSO images for x86.
4#
5
6# Prevents link failures: __sanitizer_cov_trace_pc() is not linked in.
7KCOV_INSTRUMENT := n
8

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

25
26CPPFLAGS_vdso.lds += -P -C
27
28VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \
29 -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096
30
31$(obj)/vdso.o: $(src)/vdso.S $(obj)/vdso.so
32
1# SPDX-License-Identifier: GPL-2.0
2#
3# Building vDSO images for x86.
4#
5
6# Prevents link failures: __sanitizer_cov_trace_pc() is not linked in.
7KCOV_INSTRUMENT := n
8

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

25
26CPPFLAGS_vdso.lds += -P -C
27
28VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \
29 -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096
30
31$(obj)/vdso.o: $(src)/vdso.S $(obj)/vdso.so
32
33$(obj)/vdso.so.dbg: $(src)/vdso.lds $(vobjs) FORCE
33$(obj)/vdso.so.dbg: $(obj)/vdso.lds $(vobjs) FORCE
34 $(call if_changed,vdso)
35
36$(obj)/%.so: OBJCOPYFLAGS := -S
37$(obj)/%.so: $(obj)/%.so.dbg FORCE
38 $(call if_changed,objcopy)
39
40#
41# Don't omit frame pointers for ease of userspace debugging, but do

--- 53 unchanged lines hidden ---
34 $(call if_changed,vdso)
35
36$(obj)/%.so: OBJCOPYFLAGS := -S
37$(obj)/%.so: $(obj)/%.so.dbg FORCE
38 $(call if_changed,objcopy)
39
40#
41# Don't omit frame pointers for ease of userspace debugging, but do

--- 53 unchanged lines hidden ---