unbreak iq2000 build a bit

Message ID CABu31nOwFu4eEXNksRV21cYzuJoCHuH+r8sO77DcDkOZ_01UpQ@mail.gmail.com
State New
Headers show

Commit Message

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

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 :-)


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


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.  */