[Bug target/85404] -fcf-protection -mcet doesn't work with -fleading-underscore
hjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 19 15:25:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85404
--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Thu Apr 19 15:24:53 2018
New Revision: 259498
URL: https://gcc.gnu.org/viewcvs?rev=259498&root=gcc&view=rev
Log:
x86/cet: Properly output labels in property note section
Replace ASM_OUTPUT_LABEL with fprintf so that internal labels in property
note section are unchanged by -fleading-underscore.
gcc/
PR target/85404
* config/i386/cet.c (file_end_indicate_exec_stack_and_cet):
Replace ASM_OUTPUT_LABEL with fprintf.
gcc/testsuite/
PR target/85404
* gcc.target/i386/pr85404.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr85404.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/cet.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list