Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153372238
D18783.id52670.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D18783.id52670.diff
View Options
Index: gnu/usr.bin/binutils/ld/Makefile
===================================================================
--- gnu/usr.bin/binutils/ld/Makefile
+++ gnu/usr.bin/binutils/ld/Makefile
@@ -70,6 +70,9 @@
HOST= ${TARGET_TUPLE}
LIBSEARCHPATH= \"=/lib\":\"=/usr/lib\"
.for ext in ${ELF_SCR_EXT}
+.if ${LDSCRIPTS:M${NATIVE_EMULATION}.${ext}} != ""
+.error "NATIVE_EMULATION scripts were added to LDSCRIPTS: ${LDSCRIPTS:M${NATIVE_EMULATION}.${ext}}"
+.endif
LDSCRIPTS+= ${NATIVE_EMULATION}.${ext}
ldscripts/${NATIVE_EMULATION}.${ext}: e${NATIVE_EMULATION}.c
.endfor
Index: gnu/usr.bin/binutils/ld/Makefile.mips
===================================================================
--- gnu/usr.bin/binutils/ld/Makefile.mips
+++ gnu/usr.bin/binutils/ld/Makefile.mips
@@ -22,14 +22,14 @@
LIBSEARCHPATH.elf64btsmip_cheri_fbsd=\"=/usr/libcheri\"
.endif
.for abi in ${MIPS_ABIS}
-#.if (${abi} != ${NATIVE_EMULATION})
EMS+= ${abi}
-#.endif
+.if ${abi} != ${NATIVE_EMULATION}
.for ext in ${ELF_SCR_EXT}
LDSCRIPTS+= ${abi}.${ext}
ldscripts/${abi}.${ext}: e${abi}.c
.endfor
-SRCS+= e${abi}.c
+.endif
+SRCS+= e${abi}.c
CLEANFILES+= e${abi}.c
# nb: elf32 handles both elf32 and elf64 targets
e${abi}.c: ${.CURDIR}/${abi}.sh emultempl/elf32.em \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 6:57 PM (16 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31927027
Default Alt Text
D18783.id52670.diff (1 KB)
Attached To
Mode
D18783: Avoid bsd.files.mk duplicate rule warning for bfd ldscripts
Attached
Detach File
Event Timeline
Log In to Comment