This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A quick architecture status report


On Mon, 10 Jul 2017, Zack Weinberg wrote:

> Alas, this is significantly more research than I have time for.  I was
> hoping for a simple matter of adding .note.GNU-stack annotations to
> our own .S files :)

Since we build with -Wa,--noexecstack if the compiler puts .note.GNU-stack 
sections in its output, that's never necessary.  What's needed in GCC is 
(a) a TARGET_ASM_FILE_END hook that uses file_end_indicate_exec_stack, (b) 
any assembly sources in libgcc need .note.GNU-stack annotations.  Easy to 
add, but architecture maintainers are best placed to know if that's the 
right thing to do for the particular architecture.

> (Where is this "XFAIL with comment explaining the issues" for MIPS?  I
> don't see anything of the sort in elf/Makefile or
> scripts/check-execstack.awk.)

In sysdeps/unix/sysv/linux/mips/Makefile (pointing in turn to a couple of 
mailing list messages discussing the issues in more detail).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]