]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/20446 (invalid assembly with -gstabs+)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 4 Apr 2005 15:29:10 +0000 (17:29 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 4 Apr 2005 15:29:10 +0000 (15:29 +0000)
commit5e77eb534bb84d6afdf489f007079ce90fcf8b9d
tree2028a54917e7ccf0a6ba2491359034b9451f932b
parent105d7df6509c7048da280cf59ca3cc6a176c4f6e
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/ChangeLog
gcc/config/sparc/linux.h
gcc/config/sparc/linux64.h
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h