aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc/sparc.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/sparc.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/sparc.h')
-rw-r--r--gcc/config/sparc/sparc.h3
1 files changed, 3 insertions, 0 deletions
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"