[lld] r323729 - [ELF] - Define linkerscript symbols early.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 09:26:51 PST 2018


George Rimar via llvm-commits <llvm-commits at lists.llvm.org> writes:

> --- lld/trunk/ELF/LinkerScript.h (original)
> +++ lld/trunk/ELF/LinkerScript.h Tue Jan 30 01:04:27 2018
> @@ -265,12 +265,13 @@ public:
>    bool needsInterpSection();
>  
>    bool shouldKeep(InputSectionBase *S);
> -  void assignAddresses();
> -  void allocateHeaders(std::vector<PhdrEntry *> &Phdrs);
> -  void processSectionCommands();
> -
> -  // SECTIONS command list.
> -  std::vector<BaseCommand *> SectionCommands;
> +  void assignAddresses();
> +  void allocateHeaders(std::vector<PhdrEntry *> &Phdrs);
> +  void processSectionCommands();
> +  void declareSymbols();
> +
> +  // SECTIONS command list.
> +  std::vector<BaseCommand *> SectionCommands;

This introduced a few CRLF line endings. Please check what is wrong with
your setup.

Cheers,
Rafael


More information about the llvm-commits mailing list