[PATCH] D22848: [ELF] - Linkerscript: ignore SORT(CONSTRUCTORS)

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 17:01:54 PDT 2016


emaste added a comment.

> This change seems correct in terms of semantics, but I got to ask why FreeBSD's linker scripts still have it if it is only for ECOFF or XCOFF file formats.


I presume it was just based on the default linker script provided by GNU ld (from `ld --verbose`) years ago and nobody's had a reason to revisit it until now. I suspect most uses of it in the wild will have the same reason.

I should probably just remove it from FreeBSD's ldscript.


https://reviews.llvm.org/D22848





More information about the llvm-commits mailing list