Patchwork Poison SMALL_REGISTER_CLASSES

login
register
mail settings
Submitter Steven Bosscher
Date Feb. 15, 2012, 6:36 p.m.
Message ID <CABu31nOK8jon8zQW0X_YJ3wWccfqWxNRtouaqM+quN08deYPUQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/141377/
State New
Headers show

Comments

Steven Bosscher - Feb. 15, 2012, 6:36 p.m.
Hello,

While going through some old patches of mine, I noticed this:

config/rl78/rl78.h:#define SMALL_REGISTER_CLASSES 		1
config/rx/rx.h:#define SMALL_REGISTER_CLASSES 		0

Can't possibly work, that target macro was replaced with a hook.

Attached patch OK for trunk?

Ciao!
Steven


	* system.h: Poison SMALL_REGISTER_CLASSES

Patch

Index: system.h
===================================================================
--- system.h	(revision 184217)
+++ system.h	(working copy)
@@ -807,7 +807,7 @@  extern void fancy_abort (const char *, i
 	LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP JUMP_ALIGN_MAX_SKIP 		\
 	CAN_DEBUG_WITHOUT_FP UNLIKELY_EXECUTED_TEXT_SECTION_NAME	\
 	HOT_TEXT_SECTION_NAME LEGITIMATE_CONSTANT_P ALWAYS_STRIP_DOTDOT	\
-	OUTPUT_ADDR_CONST_EXTRA
+	OUTPUT_ADDR_CONST_EXTRA SMALL_REGISTER_CLASSES

 /* Target macros only used for code built for the target, that have
    moved to libgcc-tm.h or have never been present elsewhere.  */