From a610805feeeadacbc1850557a2776cbedfdd2085 Mon Sep 17 00:00:00 2001 From: emaste Date: Sat, 3 Sep 2016 13:01:37 +0000 Subject: [PATCH] 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 --- sys/boot/mips/uboot/ldscript.mips | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/boot/mips/uboot/ldscript.mips b/sys/boot/mips/uboot/ldscript.mips index 5ead26040ed1..815dabc74587 100644 --- a/sys/boot/mips/uboot/ldscript.mips +++ b/sys/boot/mips/uboot/ldscript.mips @@ -55,7 +55,6 @@ SECTIONS { *(.data) *(.gnu.linkonce.d*) - CONSTRUCTORS } .data1 : { *(.data1) } .got1 : { *(.got1) }