[PATCH] D17918: [ELF] - Issue an error if trying to generate relocatable from objects having mixed splitstacks.

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 6 10:54:52 PST 2016


You want to also keep ".note.GNU-no-split-stack", no?

Thank you,

  Filipe

On Sunday, 6 March 2016, George Rimar via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> grimar created this revision.
> grimar added reviewers: ruiu, rafael.
> grimar added subscribers: llvm-commits, grimar.
>
> Each object file compiled in split stack mode will have an empty
> section with a special name: .note.GNU-split-stack
>
> If -r is used to link an object with the split-stack note with an object
> without the split-stack note we should issue an error.
> Patch implements this, as currently lld output is silently broken.
>
> Detailed info about splitstacks can be found here:
> https://gcc.gnu.org/wiki/SplitStacks
>
>
>
> http://reviews.llvm.org/D17918
>
> Files:
>   ELF/InputFiles.cpp
>   ELF/InputFiles.h
>   ELF/SymbolTable.cpp
>   test/ELF/relocatable-splitstacks.s
>
>

-- 
  F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160306/24c7b8cb/attachment.html>


More information about the llvm-commits mailing list