svn commit: r305343 - head/sys/boot/mips/uboot
Ed Maste
emaste at FreeBSD.org
Sat Sep 3 13:01:38 UTC 2016
Author: emaste
Date: Sat Sep 3 13:01:37 2016
New Revision: 305343
URL: https://svnweb.freebsd.org/changeset/base/305343
Log:
remove CONSTRUCTORS from MIPS uboot linker script
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 script as it has no effect.
[1] https://sourceware.org/binutils/docs/ld/Output-Section-Keywords.html
Modified:
head/sys/boot/mips/uboot/ldscript.mips
Modified: head/sys/boot/mips/uboot/ldscript.mips
==============================================================================
--- head/sys/boot/mips/uboot/ldscript.mips Sat Sep 3 11:17:33 2016 (r305342)
+++ head/sys/boot/mips/uboot/ldscript.mips Sat Sep 3 13:01:37 2016 (r305343)
@@ -55,7 +55,6 @@ SECTIONS
{
*(.data)
*(.gnu.linkonce.d*)
- CONSTRUCTORS
}
.data1 : { *(.data1) }
.got1 : { *(.got1) }
More information about the svn-src-all
mailing list