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

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 17:04:34 PDT 2016


davide added a comment.

In https://reviews.llvm.org/D22848#498532, @emaste wrote:

> > 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.


There's a lot of software I have to link that I don't have control of which use this feature. Please consider an implementation.


https://reviews.llvm.org/D22848





More information about the llvm-commits mailing list