HomeFreeBSD

remove CONSTRUCTORS from kernel linker scripts

Description

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

Details

Provenance
emasteAuthored on
Reviewer
kib
Differential Revision
D7343: remove CONSTRUCTORS from kernel linker scripts
Parents
rS303441: Regenerate src.conf.5 after r303394
Branches
Unknown
Tags
Unknown