Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178067101
D5873.1795884692.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D5873.1795884692.diff
View Options
Index: head/sys/conf/kern.post.mk
===================================================================
--- head/sys/conf/kern.post.mk
+++ head/sys/conf/kern.post.mk
@@ -364,6 +364,9 @@
--output-target ${EMBEDFS_FORMAT.${MACHINE_ARCH}} \
--binary-architecture ${EMBEDFS_ARCH.${MACHINE_ARCH}} \
${MFS_IMAGE} ${.TARGET}
+ # Provide set of two distinct regexp to match for GCC (first three)
+ # and for CLANG >= 3.8.0 (last three). First three should be removed
+ # once support for GCC and CLANG < 3.8.0 is abandoned.
${OBJCOPY} \
--rename-section .data=mfs,contents,alloc,load,readonly,data \
--redefine-sym \
@@ -372,6 +375,12 @@
_binary_${MFS_IMAGE:C,[^[:alnum:]],_,g}_start=mfs_root \
--redefine-sym \
_binary_${MFS_IMAGE:C,[^[:alnum:]],_,g}_end=mfs_root_end \
+ --redefine-sym \
+ _binary_${MFS_IMAGE:C,[^-/[:alnum:]],_,g}_size=__mfs_root_size \
+ --redefine-sym \
+ _binary_${MFS_IMAGE:C,[^-/[:alnum:]],_,g}_start=mfs_root \
+ --redefine-sym \
+ _binary_${MFS_IMAGE:C,[^-/[:alnum:]],_,g}_end=mfs_root_end \
${.TARGET}
.endif
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 28, 4:51 PM (2 m, 30 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42071283
Default Alt Text
D5873.1795884692.diff (1 KB)
Attached To
Mode
D5873: Fix symbol redefinition when MFS is being used
Attached
Detach File
Event Timeline