]> git.ipfire.org Git - thirdparty/gcc.git/commit
sparc.c: Include dwarf2out.h.
authorDavid S. Miller <davem@davemloft.net>
Fri, 19 Mar 2010 05:34:12 +0000 (05:34 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Fri, 19 Mar 2010 05:34:12 +0000 (22:34 -0700)
commit9fd52c6c0f62cff3b65d6a196d09fcf6e787f685
treee502cd59f346d51a111c35208abed6a497b1e7c3
parentfda79fea62e51f6acf40bcfda2e1fe50dc5fef1a
sparc.c: Include dwarf2out.h.

* config/sparc/sparc.c: Include dwarf2out.h.
(emit_pic_helper): Delete.
(pic_helper_symbol_name): Delete.
(pic_helper_emitted_p): Delete.
(pic_helper_needed): New.
(USE_HIDDEN_LINKONCE): Define to '1' if HAVE_GAS_HIDDEN else '0'.
(get_pc_thunk_name): New.
(load_pic_register): Remove 'delay_pic_helper' arg.  Use
get_thunk_pc_name and ggc_strdup to generate PIC thunk symbol.
Set pic_helper_needed to true.  Don't call emit_pic_helper.
(sparc_expand_prologue): Update load_pic_register call.
(sparc_output_mi_thunk): Likewise.
(sparc_file_end): Emit a hidden comdat symbol for the PIC
thunk if possible.  Output CFI information as needed.

From-SVN: r157557
gcc/ChangeLog
gcc/config/sparc/sparc.c