Makefile (14e77332e74603efab8347c89d3cda447c3b97c9) Makefile (e1789d7c752ed001cf1a4bbbd624f70a7dd3c6db)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for vdso32
4#
5
6# Absolute relocation type $(ARCH_REL_TYPE_ABS) needs to be defined before
7# the inclusion of generic Makefile.
8ARCH_REL_TYPE_ABS := R_ARM_JUMP_SLOT|R_ARM_GLOB_DAT|R_ARM_ABS32

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

99
100VDSO_AFLAGS := $(VDSO_CAFLAGS)
101VDSO_AFLAGS += -D__ASSEMBLY__
102
103# From arm vDSO Makefile
104VDSO_LDFLAGS += -Bsymbolic --no-undefined -soname=linux-vdso.so.1
105VDSO_LDFLAGS += -z max-page-size=4096 -z common-page-size=4096
106VDSO_LDFLAGS += -shared --hash-style=sysv --build-id=sha1
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for vdso32
4#
5
6# Absolute relocation type $(ARCH_REL_TYPE_ABS) needs to be defined before
7# the inclusion of generic Makefile.
8ARCH_REL_TYPE_ABS := R_ARM_JUMP_SLOT|R_ARM_GLOB_DAT|R_ARM_ABS32

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

99
100VDSO_AFLAGS := $(VDSO_CAFLAGS)
101VDSO_AFLAGS += -D__ASSEMBLY__
102
103# From arm vDSO Makefile
104VDSO_LDFLAGS += -Bsymbolic --no-undefined -soname=linux-vdso.so.1
105VDSO_LDFLAGS += -z max-page-size=4096 -z common-page-size=4096
106VDSO_LDFLAGS += -shared --hash-style=sysv --build-id=sha1
107VDSO_LDFLAGS += --orphan-handling=warn
107VDSO_LDFLAGS += --orphan-handling=$(CONFIG_LD_ORPHAN_WARN_LEVEL)
108
109
110# Borrow vdsomunge.c from the arm vDSO
111# We have to use a relative path because scripts/Makefile.host prefixes
112# $(hostprogs) with $(obj)
113munge := ../../../arm/vdso/vdsomunge
114hostprogs := $(munge)
115

--- 74 unchanged lines hidden ---
108
109
110# Borrow vdsomunge.c from the arm vDSO
111# We have to use a relative path because scripts/Makefile.host prefixes
112# $(hostprogs) with $(obj)
113munge := ../../../arm/vdso/vdsomunge
114hostprogs := $(munge)
115

--- 74 unchanged lines hidden ---