OSDN Git Service

* config/sparc/sparc.c: Include dwarf2out.h.
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Mar 2010 05:34:12 +0000 (05:34 +0000)
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Mar 2010 05:34:12 +0000 (05:34 +0000)
commit22d1ff911702e366dad7428437257566a78e4d2e
treee502cd59f346d51a111c35208abed6a497b1e7c3
parentb359d5a2d0294b30259e014b07b742727e123261
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157557 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sparc/sparc.c