From 5e77eb534bb84d6afdf489f007079ce90fcf8b9d Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 4 Apr 2005 17:29:10 +0200 Subject: re PR target/20446 (invalid assembly with -gstabs+) PR target/20446 * config/sparc/sparc.h (NEED_INDICATE_EXEC_STACK): Define to 0. * config/sparc/linux.h (TARGET_ASM_FILE_END): Delete. (NEED_INDICATE_EXEC_STACK): Define to 1. * config/sparc/linux64.h (TARGET_ASM_FILE_END): Delete. (NEED_INDICATE_EXEC_STACK): Define to 1. * config/sparc/sparc.c (TARGET_ASM_FILE_END): Set to sparc_file_end. (add_pc_to_pic_symbol): Rename into pic_helper_symbol. (add_pc_to_pic_symbol_name): Rename into pic_helper_symbol_name. (pic_helper_emitted_p): New global. (emit_pic_helper): New function extracted from... (load_pic_register): ...here. Add 'delay_pic_helper' parameter. Do not call emit_pic_helper if delay_pic_helper is true. (sparc_expand_prologue): Pass 'false' to load_pic_register. (sparc_output_mi_thunk): Pass 'true' to load_pic_register. (sparc_file_end): New function. From-SVN: r97550 --- gcc/config/sparc/sparc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/config/sparc/sparc.h') diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index cddf48a..0a091a6 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -214,6 +214,9 @@ extern enum cmodel sparc_cmodel; total memory ordering (TMO). */ #define SPARC_RELAXED_ORDERING false +/* Do not use the .note.GNU-stack convention by default. */ +#define NEED_INDICATE_EXEC_STACK 0 + /* This is call-clobbered in the normal ABI, but is reserved in the home grown (aka upward compatible) embedded ABI. */ #define EMBMEDANY_BASE_REG "%g4" -- cgit v1.1