Patchwork unbreak iq2000 build a bit

login
register
mail settings
Submitter Steven Bosscher
Date Oct. 17, 2012, 7:25 a.m.
Message ID <CABu31nOwFu4eEXNksRV21cYzuJoCHuH+r8sO77DcDkOZ_01UpQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/191974/
State New
Headers show

Comments

Steven Bosscher - Oct. 17, 2012, 7:25 a.m.
Hello,

iq2000 build is broken since at least r162089 (July 2010). I'm going
to commit this patch to fix this part of the build problem. It still
fails later one, but I don't care about that, I just want to make sure
my patch to make call_used_regs a function looking at
call_used_reg_set break things even further :-)

(Ceterum censeo targeta non sustentor esse delendam :-)

Ciao!
Steven


        * config/iq2000/iq2000.h (call_used_regs): Remove definition.

Patch

Index: config/iq2000/iq2000.h
===================================================================
--- config/iq2000/iq2000.h      (revision 192525)
+++ config/iq2000/iq2000.h      (working copy)
@@ -560,10 +560,6 @@  while (0)

 #define FUNCTION_MODE SImode

-/* Standard GCC variables that we reference.  */
-
-extern char    call_used_regs[];
-
 /* IQ2000 external variables defined in iq2000.c.  */

 /* Comparison type.  */