[PATCH] D19190: [ELF] - Implemented PROVIDE linker script command.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 07:48:27 PDT 2016


>If at all possible my preference would be:
>
>* Require PRODIVE to be in an unambiguous location: inside an
>OutputSection definition.
>* Produce DefinedSynthetic symbols for them so that the section is set
>correctly.
>
>Cheers,
>Rafael

First will be incompatible with some existing bsd scripts, for example:
https://svnweb.freebsd.org/base/head/sys/conf/ldscript.amd64?view=markup
It has
PROVIDE (start_ctors = .);
..
PROVIDE (stop_ctors = .);
declared outside output sections definition. 
Would it be acceptable to require that ?

George.


More information about the llvm-commits mailing list