Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106101219
D11302.id29951.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
940 B
Referenced Files
None
Subscribers
None
D11302.id29951.diff
View Options
Index: head/sys/conf/kmod.mk
===================================================================
--- head/sys/conf/kmod.mk
+++ head/sys/conf/kmod.mk
@@ -209,18 +209,8 @@
.if ${__KLD_SHARED} == yes
${FULLPROG}: ${KMOD}.kld
-.if ${MACHINE_CPUARCH} != "aarch64"
${LD} -m ${LD_EMULATION} -Bshareable -znotext ${_LDFLAGS} \
-o ${.TARGET} ${KMOD}.kld
-.else
-#XXXKIB Relocatable linking in aarch64 ld from binutils 2.25.1 does
-# not work. The linker corrupts the references to the external
-# symbols which are defined by other object in the linking set
-# and should therefore loose the GOT entry. The problem seems
-# to be fixed in the binutils-gdb git HEAD as of 2015-10-04. Hack
-# below allows to get partially functioning modules for now.
- ${LD} -m ${LD_EMULATION} -Bshareable ${_LDFLAGS} -o ${.TARGET} ${OBJS}
-.endif
.if !defined(DEBUG_FLAGS)
${OBJCOPY} --strip-debug ${.TARGET}
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 10:19 AM (11 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15598867
Default Alt Text
D11302.id29951.diff (940 B)
Attached To
Mode
D11302: retire arm64 kernel module linker workaround
Attached
Detach File
Event Timeline
Log In to Comment