summaryrefslogtreecommitdiffstats
path: root/gcc/config/pa/som.h
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-12 02:30:52 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-12 02:30:52 +0000
commitb70ea76415e6bc158157d2be06c06d893eced4ca (patch)
tree7a10663402c19be018e2ebb8b1769fd677f2e5da /gcc/config/pa/som.h
parent5c50685b5d40ff377c04f16242f404d73fcdc983 (diff)
downloadppe42-gcc-b70ea76415e6bc158157d2be06c06d893eced4ca.tar.gz
ppe42-gcc-b70ea76415e6bc158157d2be06c06d893eced4ca.zip
* pa.c (pa_output_function_prologue): Don't accumulate the total
number of code bytes when using TARGET_64BIT, or gas, SOM and not the portable runtime. (output_deferred_plabels): Handle 64bit plabels. (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when generating pic code using the GAS assembler for object formats that are not SOM (ie., ELF32 and ELF64). (output_millicode_call): Check attribute type if attribute length is 28. Likewise use $PIC_pcrel$0. Only call get_attr_length and dbr_sequence_length once. (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and dbr_sequence_length once. * pa.h (TARGET_SOM): Define if not defined. * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0 with GAS and not SOM. (jump, call_internal_reg, call_value_internal_reg): Likewise. * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52196 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa/som.h')
-rw-r--r--gcc/config/pa/som.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h
index 22c46538f66..f20a5a8d04e 100644
--- a/gcc/config/pa/som.h
+++ b/gcc/config/pa/som.h
@@ -19,7 +19,8 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* So we can conditionalize small amounts of code in pa.c or pa.md. */
-#define OBJ_SOM
+#undef TARGET_SOM
+#define TARGET_SOM 1
/* We do not use BINCL stabs in SOM.
??? If it does not hurt, we probably should to avoid useless divergence
OpenPOWER on IntegriCloud