[PATCH] Fix ARM bootstrap on HEAD
jeroen dobbelaere
jeroen.dobbelaere@acunia.com
Thu Apr 24 06:45:00 GMT 2003
After this patch :
+2003-04-17 DJ Delorie <dj@redhat.com>
+
+ * toplev.c (target_options): Add value field.
+ (set_target_switch): Handle target options with values.
+ * doc/tm.texi: Document how fixed vs variable target
+ options work.
+ * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
+ config/c4x/c4x.h, config/cris/aout.h, config/cris/cris.h,
+ config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
+ config/frv/frv.h, config/i386/i386.h, config/ia64/ia64.h,
+ config/m32r/m32r.h, config/m68hc11/m68hc11.h,
+ config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
+ config/mips/mips.h, config/mmix/mmix.h, config/pa/pa.h,
+ config/rs6000/rs6000.h, config/rs6000/sysv4.h,
+ config/s390/s390.h, config/sparc/sparc.h, config/v850/v850.h:
+ Add value initializer to target options.
+
The armv5l-linux-unknown-gnu target did not bootstrap any more.
Following patch fixes this. Bootstrapped on our Xingu platform.
Testresults available here :
<http://gcc.gnu.org/ml/gcc-testresults/2003-04/msg01452.html>
2003-04-24 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
* config/arm/arm.h: Add value initializer to target options.
root:/usr/src/cvs-others/gcc-trees/gcc-head/gcc# cvs diff -u gcc/config/arm/arm.h
Index: gcc/config/arm/arm.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/arm.h,v
retrieving revision 1.188
diff -u -r1.188 arm.h
--- gcc/config/arm/arm.h 12 Mar 2003 12:38:34 -0000 1.188
+++ gcc/config/arm/arm.h 24 Apr 2003 06:39:38 -0000
@@ -512,17 +512,17 @@
#define TARGET_OPTIONS \
{ \
{"cpu=", & arm_select[0].string, \
- N_("Specify the name of the target CPU") }, \
+ N_("Specify the name of the target CPU"), 0 }, \
{"arch=", & arm_select[1].string, \
- N_("Specify the name of the target architecture") }, \
- {"tune=", & arm_select[2].string, "" }, \
- {"fpe=", & target_fp_name, "" }, \
+ N_("Specify the name of the target architecture"), 0 }, \
+ {"tune=", & arm_select[2].string, "", 0 }, \
+ {"fpe=", & target_fp_name, "", 0 }, \
{"fp=", & target_fp_name, \
- N_("Specify the version of the floating point emulator") }, \
+ N_("Specify the version of the floating point emulator"), 0 }, \
{"structure-size-boundary=", & structure_size_string, \
- N_("Specify the minimum bit alignment of structures") }, \
+ N_("Specify the minimum bit alignment of structures"), 0 }, \
{"pic-register=", & arm_pic_register_string, \
- N_("Specify the register to be used for PIC addressing") } \
+ N_("Specify the register to be used for PIC addressing"), 0 } \
}
struct arm_cpu_select
--
Jeroen Dobbelaere
Embedded Software Engineer
ACUNIA Embedded Solutions
http://www.acunia.com/aes
More information about the Gcc-patches
mailing list