aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ"orn Rennecke <joern.rennecke@st.com>2009-05-11 23:06:25 +0000
committerJ"orn Rennecke <joern.rennecke@st.com>2009-05-11 23:06:25 +0000
commit362cb8df194e9b0f0119cec9b8f73df25f1cd1fe (patch)
treeaa749188464ce4fd162004012a79339d2ce84cd7
parent5ac7da15830b14a6b017075eb926a279d9d61f0b (diff)
* rtl.h (global_rtl_index, global_rtl): Mark as target specific.
* Makefile.in (extra_modes.h) [TA]: Disable. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/arc-milepost-branch@147400 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog.multi-target5
-rw-r--r--gcc/Makefile.in6
-rw-r--r--gcc/rtl.h2
3 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog.multi-target b/gcc/ChangeLog.multi-target
index 8a36caa7f3f..df1ef9203cd 100644
--- a/gcc/ChangeLog.multi-target
+++ b/gcc/ChangeLog.multi-target
@@ -1,3 +1,8 @@
+2009-05-12 J"orn Rennecke <joern.rennecke@arc.com>
+
+ * rtl.h (global_rtl_index, global_rtl): Mark as target specific.
+ * Makefile.in (extra_modes.h) [TA]: Disable.
+
2009-05-11 J"orn Rennecke <joern.rennecke@arc.com>
* T-extra.in: New file, broken out of:
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 2b6d6409e65..d13daf72c68 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3516,6 +3516,7 @@ $(subst THIS-TARGET,$(word $(num),$(EXTRA_TARGETS)),\
$(subst THIS-TARGET-NUM,$(num),$(value EXTRA_TARGET_RULES))))))
endif
+ifndef TA
extra-modes.h: Makefile T-extra $(foreach ta,$(EXTRA_TARGETS),$(ta)/T-extra)
echo target=\"$(subst -,_,$(target_noncanonical))\"\; > $@
$(foreach file,$(extra_modes_file),echo \#include \"$(file)\" >> $@)
@@ -3526,10 +3527,7 @@ extra-modes.h: Makefile T-extra $(foreach ta,$(EXTRA_TARGETS),$(ta)/T-extra)
echo 'target = (const char *) 0;' >> $@
EXTRA_OBJS := $(EXTRA_OBJS) \
$(foreach ta,$(EXTRA_TARGETS),$(addprefix $(ta)/,$($(ta)-EXTRA_OBJS)))
-show: force
- @echo $(EXTRA_OBJS)
- @echo $(extra_modes_file)
- @echo $(mxp-elf-extra_modes_file)
+endif
# Compile the programs that generate insn-* from the machine description.
# They are compiled with $(CC_FOR_BUILD), and associated libraries,
diff --git a/gcc/rtl.h b/gcc/rtl.h
index f90e9e5f8e0..97bb9183564 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1890,6 +1890,7 @@ END_TARGET_SPECIFIC
#define HARD_FRAME_POINTER_REGNUM FRAME_POINTER_REGNUM
#endif
+START_TARGET_SPECIFIC
/* Index labels for global_rtl. */
enum global_rtl_index
{
@@ -1939,7 +1940,6 @@ extern GTY(()) rtx global_rtl[GR_MAX];
#define hard_frame_pointer_rtx (global_rtl[GR_HARD_FRAME_POINTER])
#define arg_pointer_rtx (global_rtl[GR_ARG_POINTER])
-START_TARGET_SPECIFIC
extern GTY(()) rtx pic_offset_table_rtx;
extern GTY(()) rtx static_chain_rtx;
extern GTY(()) rtx static_chain_incoming_rtx;