[kernel] kmod-usb-core is buildin on etrax target
[openwrt.git] / toolchain / gcc / patches / 4.3.5 / 993-arm_insn-opinit-RTX_CODE-fixup.patch
1 gcc/ChangeLog
2 2007-11-27 Bernhard Fischer <>
3
4 * config/arm/arm-protos.h (arm_vector_mode_supported_p,
5 arm_hard_regno_mode_ok, const_ok_for_arm): Do not hide non-rtx related
6 function prototypes in RTX_CODE.
7 * genopinit.c: Include tm_p.h.
8
9 --- a/gcc/config/arm/arm-protos.h
10 +++ b/gcc/config/arm/arm-protos.h
11 @@ -40,15 +40,14 @@ extern HOST_WIDE_INT thumb_compute_initi
12 unsigned int);
13 extern unsigned int arm_dbx_register_number (unsigned int);
14 extern void arm_output_fn_unwind (FILE *, bool);
15 -
16
17 #ifdef TREE_CODE
18 extern int arm_return_in_memory (const_tree);
19 #endif
20 -#ifdef RTX_CODE
21 extern bool arm_vector_mode_supported_p (enum machine_mode);
22 extern int arm_hard_regno_mode_ok (unsigned int, enum machine_mode);
23 extern int const_ok_for_arm (HOST_WIDE_INT);
24 +#ifdef RTX_CODE
25 extern int arm_split_constant (RTX_CODE, enum machine_mode, rtx,
26 HOST_WIDE_INT, rtx, rtx, int);
27 extern RTX_CODE arm_canonicalize_comparison (RTX_CODE, enum machine_mode,
28 --- a/gcc/genopinit.c
29 +++ b/gcc/genopinit.c
30 @@ -487,6 +487,7 @@ from the machine description file `md'.
31 printf ("#include \"expr.h\"\n");
32 printf ("#include \"optabs.h\"\n");
33 printf ("#include \"reload.h\"\n\n");
34 + printf ("#include \"tm_p.h\"\n\n");
35
36 printf ("void\ninit_all_optabs (void)\n{\n");
37
This page took 0.041665 seconds and 5 git commands to generate.