[lld] r254003 - Revert "ELF: Make .note.GNU-stack more compatible with traditional linkers."

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 24 14:10:38 PST 2015


----- Original Message -----
> From: "Rui Ueyama via llvm-commits" <llvm-commits at lists.llvm.org>
> To: "Joerg Sonnenberger" <joerg at britannica.bec.de>, "llvm-commits" <llvm-commits at lists.llvm.org>
> Sent: Tuesday, November 24, 2015 3:38:39 PM
> Subject: Re: [lld] r254003 - Revert "ELF: Make .note.GNU-stack more compatible with traditional linkers."
> 
> On Tue, Nov 24, 2015 at 1:31 PM, Joerg Sonnenberger via llvm-commits
> < llvm-commits at lists.llvm.org > wrote:
> 
> 
> On Tue, Nov 24, 2015 at 12:24:08PM -0800, Rui Ueyama wrote:
> > My stance is they should fix the loader to ignore the section.
> 
> Impossible. It's the equivalent of the BIOS. It can't be fixed.
>  
> Well, they can continue using the linker they are currently using.
> 
> We may want to revisit this later, but at this moment I really want
> to focus on simplicity and general usability on major Unix systems
> instead of supporting relatively minor platforms.
> 

Why don't we just omit PT_GNU_STACK when -z execstack is provided? Or add a -z nognuptstack (modulo bikeshedding)?

 -Hal

> 
> Joerg
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory


More information about the llvm-commits mailing list