Date: Sat, 3 Sep 2016 13:01:37 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r305343 - head/sys/boot/mips/uboot Message-ID: <201609031301.u83D1b5j062052@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609031301.u83D1b5j062052>