Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146344604
D22920.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
733 B
Referenced Files
None
Subscribers
None
D22920.diff
View Options
Index: head/sys/conf/Makefile.riscv
===================================================================
--- head/sys/conf/Makefile.riscv
+++ head/sys/conf/Makefile.riscv
@@ -28,10 +28,10 @@
INCLUDES+= -I$S/contrib/libfdt
-SYSTEM_LD= @${LD} -N -m ${LD_EMULATION} -Bdynamic -T ${LDSCRIPT} ${_LDFLAGS} \
- --no-warn-mismatch --warn-common --export-dynamic \
- --dynamic-linker /red/herring \
- -o ${.TARGET} -X ${SYSTEM_OBJS} vers.o
+# XXX Make text segments writable. This has historically been set for
+# riscv, but some preliminary testing shows it may not be needed; this
+# can likely be removed after some more testing.
+LDFLAGS+= -N
.if !empty(DDB_ENABLED)
CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 2, 10:30 PM (11 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29171583
Default Alt Text
D22920.diff (733 B)
Attached To
Mode
D22920: For riscv kernel builds, add -N to LDFLAGS instead of replacing the SYSTEM_LD variable.
Attached
Detach File
Event Timeline
Log In to Comment