aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/ldscript.mips.mips64
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-07-28 13:54:46 +0000
committerEd Maste <emaste@FreeBSD.org>2016-07-28 13:54:46 +0000
commit45eff3df965297ade6e5781a488d9ede7b87f909 (patch)
treeef4f1943a728dd264774261aa1115187a3dd98e6 /sys/conf/ldscript.mips.mips64
parent58a74cc5affdfad8dc1dbc7d5de76cc9149399ec (diff)
remove CONSTRUCTORS from kernel linker scripts
The linker script CONSTRUCTORS keyword is only meaningful "when linking object file formats which do not support arbitrary sections, such as ECOFF and XCOFF"[1] and is ignored for other object file formats. LLVM's lld does not yet accept (and ignore) CONSTRUCTORS, so just remove CONSTRUCTORS from the linker scripts as it has no effect. [1] https://sourceware.org/binutils/docs/ld/Output-Section-Keywords.html Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7343
Notes
Notes: svn path=/head/; revision=303442
Diffstat (limited to 'sys/conf/ldscript.mips.mips64')
-rw-r--r--sys/conf/ldscript.mips.mips641
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/conf/ldscript.mips.mips64 b/sys/conf/ldscript.mips.mips64
index 5032566bc976..7caffb6ea9ce 100644
--- a/sys/conf/ldscript.mips.mips64
+++ b/sys/conf/ldscript.mips.mips64
@@ -185,7 +185,6 @@ SECTIONS
*(.data)
*(.data.*)
*(.gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
}
.data1 : { *(.data1) }
.eh_frame : { KEEP (*(.eh_frame)) }