Commit Graph

7 Commits

Author SHA1 Message Date
Ed Maste
45eff3df96 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
2016-07-28 13:54:46 +00:00
Warner Losh
e35d9de240 Remove commented out _DYNAMIC sections. 2011-01-20 19:20:23 +00:00
Warner Losh
039e1e51f2 We don't need 2 versions here. One will do since binutils outputs the right stuff now. 2011-01-20 19:16:29 +00:00
Neel Natu
455e205be0 Use KERNLOADADDR instead of hardcoded address. This is required to be able to
build the trampoline kernel that has symbol/string tables embedded within it.
2010-02-22 01:48:38 +00:00
Bruce M Simpson
7051a3c69d Fix the CFE ldscript after the cutover to tradmips.
Diff minimization against ldscript.mips.

Note: CFE will not load PT_DYNAMIC segments, therefore the dynamic
sections have been placed in a PT_LOAD segment for now. This is not
too efficient in terms of memory use, they should probably get
placed in the text segment.
2008-10-13 06:07:58 +00:00
Oleksandr Tymoshenko
3600563911 Make ld use tradmips for output formats since we migrated to it.
Approved by:	cognet (mentor)
2008-04-30 12:44:58 +00:00
Warner Losh
b0c90d8c3d Merge in the mips specific configuration files and such from the
merged juniper and mips2 code base.  This represents the work of
Juniper Engineers, plus Oleksandr Tymoshenko, Wojciech Koszek, Warner
Losh, Olivier Houchard, Randall Stewert and others that have
contributed to the mips2 and/or mips2-jnpr perforce branches.
2008-04-13 06:25:43 +00:00