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
This commit is contained in:
emaste 2016-04-20 19:21:26 +00:00
parent 0ecbc86fe5
commit dd33af115f

View File

@ -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 \