Page MenuHomeFreeBSD

D5444.id13775.diff
No OneTemporary

D5444.id13775.diff

Index: head/sys/modules/linux/Makefile
===================================================================
--- head/sys/modules/linux/Makefile
+++ head/sys/modules/linux/Makefile
@@ -51,9 +51,9 @@
linux${SFX}_locore.o: linux${SFX}_assym.h assym.s
${CC} -x assembler-with-cpp -DLOCORE -m32 -shared -s \
-pipe -I. -I${SYSDIR} -Werror -Wall -fno-common -nostdinc -nostdlib \
- -fno-omit-frame-pointer \
+ -fno-omit-frame-pointer -fPIC \
-Wl,-T${.CURDIR}/../../${MACHINE_CPUARCH}/linux${SFX}/${VDSO}.lds.s \
- -Wl,-soname=${VDSO}.so.1,--eh-frame-hdr,-fPIC,-warn-common \
+ -Wl,-soname=${VDSO}.so.1,--eh-frame-hdr,-warn-common \
${.IMPSRC} -o ${.TARGET}
linux${SFX}_support.o: linux${SFX}_assym.h assym.s
Index: head/sys/modules/linux64/Makefile
===================================================================
--- head/sys/modules/linux64/Makefile
+++ head/sys/modules/linux64/Makefile
@@ -27,9 +27,9 @@
linux_locore.o: linux_locore.s linux_assym.h
${CC} -x assembler-with-cpp -DLOCORE -shared -mcmodel=small \
- -pipe -I. -I${SYSDIR} -Werror -Wall -fno-common -nostdinc \
+ -pipe -I. -I${SYSDIR} -Werror -Wall -fno-common -fPIC -nostdinc \
-Wl,-T${.CURDIR}/../../${MACHINE_CPUARCH}/linux/${VDSO}.lds.s \
- -Wl,-soname=${VDSO}.so.1,-fPIC,-warn-common -nostdlib \
+ -Wl,-soname=${VDSO}.so.1,-warn-common -nostdlib \
${.IMPSRC} -o ${.TARGET}
${VDSO}.so: linux_locore.o

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 26, 5:12 PM (14 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37314138
Default Alt Text
D5444.id13775.diff (1 KB)

Event Timeline