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)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:13:26 +0000 (14:13 +0900)
(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

index ad0b0ac..14c4c86 100644 (file)
@@ -1,3 +1,21 @@
+2010-03-19  David S. Miller  <davem@davemloft.net>
+
+       With help from Eric Botcazou.
+       * 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.
+
 2010-03-11  Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
            Jack Howarth <howarth@bromo.med.uc.edu>