summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-04-20 19:21:26 +0000
committeremaste <emaste@FreeBSD.org>2016-04-20 19:21:26 +0000
commitdd33af115f6b7a788e857b727731e531012494d6 (patch)
tree87c1c28a25058b46e8ea60649a270743877205f1 /sys/conf
parent0ecbc86fe5bd2501ccbd620e92ef0e4b47466519 (diff)
downloadFreeBSD-src-dd33af115f6b7a788e857b727731e531012494d6.zip
FreeBSD-src-dd33af115f6b7a788e857b727731e531012494d6.tar.gz
Update comment added in r298357
The additional regex replacements are actully required due to an elfcopy bug which is now fixed (by r298361), not a Clang/GCC issue. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.post.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk
index 8e01374c..7c24d06 100644
--- a/sys/conf/kern.post.mk
+++ b/sys/conf/kern.post.mk
@@ -364,9 +364,8 @@ embedfs_${MFS_IMAGE:T:R}.o: ${MFS_IMAGE}
--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.
+ # Provide set of two distinct regexp to work around an elfcopy bug
+ # fixed in r298361 (last three).
${OBJCOPY} \
--rename-section .data=mfs,contents,alloc,load,readonly,data \
--redefine-sym \
OpenPOWER on IntegriCloud