summaryrefslogtreecommitdiffstats
path: root/sys/conf/files.i386
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2017-07-26 23:23:33 +0000
committeremaste <emaste@FreeBSD.org>2017-07-26 23:23:33 +0000
commitcfaec5b2df91c64956d7e01276cd114ecf1901f0 (patch)
tree7f4d781028cd2ccf17de2adb4b3697384d11b555 /sys/conf/files.i386
parentbb90d360205f14a3da9d49be4739a8b76cb28ee5 (diff)
downloadFreeBSD-src-cfaec5b2df91c64956d7e01276cd114ecf1901f0.zip
FreeBSD-src-cfaec5b2df91c64956d7e01276cd114ecf1901f0.tar.gz
MFC r319513: linux vdso: pass -fPIC to the assembler, not linker
-fPIC has no effect on linking although it seems to be ignored by GNU ld.bfd. However, it causes ld.lld to terminate with an invalid argument error. This is equivalent to r296057 but for the kernel (not modules) case. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/conf/files.i386')
-rw-r--r--sys/conf/files.i3862
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index ca871ab..f08492d 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -33,7 +33,7 @@ linux_assym.h optional compat_linux \
#
linux_locore.o optional compat_linux \
dependency "linux_assym.h $S/i386/linux/linux_locore.s" \
- compile-with "${CC} -x assembler-with-cpp -DLOCORE -shared -s -pipe -I. -I$S -Werror -Wall -fno-common -nostdinc -nostdlib -Wl,-T$S/i386/linux/linux_vdso.lds.s -Wl,-soname=linux_vdso.so,--eh-frame-hdr,-fPIC,-warn-common ${.IMPSRC} -o ${.TARGET}" \
+ compile-with "${CC} -x assembler-with-cpp -DLOCORE -shared -s -pipe -I. -I$S -Werror -Wall -fPIC -fno-common -nostdinc -nostdlib -Wl,-T$S/i386/linux/linux_vdso.lds.s -Wl,-soname=linux_vdso.so,--eh-frame-hdr,-warn-common ${.IMPSRC} -o ${.TARGET}" \
no-obj no-implicit-rule \
clean "linux_locore.o"
#
OpenPOWER on IntegriCloud