aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc/linux64.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2005-04-04 17:29:10 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2005-04-04 15:29:10 +0000
commit5e77eb534bb84d6afdf489f007079ce90fcf8b9d (patch)
tree2028a54917e7ccf0a6ba2491359034b9451f932b /gcc/config/sparc/linux64.h
parent105d7df6509c7048da280cf59ca3cc6a176c4f6e (diff)
downloadgcc-5e77eb534bb84d6afdf489f007079ce90fcf8b9d.zip
gcc-5e77eb534bb84d6afdf489f007079ce90fcf8b9d.tar.gz
gcc-5e77eb534bb84d6afdf489f007079ce90fcf8b9d.tar.bz2
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
Diffstat (limited to 'gcc/config/sparc/linux64.h')
-rw-r--r--gcc/config/sparc/linux64.h5
1 files changed, 3 insertions, 2 deletions
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