|
@@ -53,22 +53,6 @@ $(vobjs): KBUILD_CFLAGS += $(CFL)
|
|
|
CFLAGS_REMOVE_vdso-note.o = -pg -fprofile-arcs -ftest-coverage
|
|
|
CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage
|
|
|
|
|
|
-targets += vdso-syms.lds
|
|
|
-extra-$(VDSO64-y) += vdso-syms.lds
|
|
|
-
|
|
|
-#
|
|
|
-# Match symbols in the DSO that look like VDSO*; produce a file of constants.
|
|
|
-#
|
|
|
-sed-vdsosym := -e 's/^00*/0/' \
|
|
|
- -e 's/^\([0-9a-fA-F]*\) . \(VDSO[a-zA-Z0-9_]*\)$$/\2 = 0x\1;/p'
|
|
|
-quiet_cmd_vdsosym = VDSOSYM $@
|
|
|
-define cmd_vdsosym
|
|
|
- $(NM) $< | LC_ALL=C sed -n $(sed-vdsosym) | LC_ALL=C sort > $@
|
|
|
-endef
|
|
|
-
|
|
|
-$(obj)/%-syms.lds: $(obj)/%.so.dbg FORCE
|
|
|
- $(call if_changed,vdsosym)
|
|
|
-
|
|
|
#
|
|
|
# The DSO images are built using a special linker script.
|
|
|
#
|