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/linux64.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc/config/sparc/linux64.h') diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 4a266df..ac3a21a 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -343,8 +343,6 @@ do { \ #undef CTORS_SECTION_ASM_OP #undef DTORS_SECTION_ASM_OP -#define TARGET_ASM_FILE_END file_end_indicate_exec_stack - /* Determine whether the the entire c99 runtime is present in the runtime library. */ #define TARGET_C99_FUNCTIONS 1 @@ -367,3 +365,6 @@ do { \ change their minds. */ #undef SPARC_RELAXED_ORDERING #define SPARC_RELAXED_ORDERING true + +#undef NEED_INDICATE_EXEC_STACK +#define NEED_INDICATE_EXEC_STACK 1 -- cgit v1.1