changed default kernel to 2.6.28.5, it at least runs on
[openwrt.git] / toolchain / gcc / patches / 4.3.1 / 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 Index: gcc-4.3.0/gcc/config/arm/arm-protos.h
10 ===================================================================
11 --- gcc-4.3.0/gcc/config/arm/arm-protos.h (revision 130463)
12 +++ gcc-4.3.0/gcc/config/arm/arm-protos.h (working copy)
13 @@ -40,15 +40,14 @@
14 unsigned int);
15 extern unsigned int arm_dbx_register_number (unsigned int);
16 extern void arm_output_fn_unwind (FILE *, bool);
17 -
18
19 #ifdef TREE_CODE
20 extern int arm_return_in_memory (const_tree);
21 #endif
22 -#ifdef RTX_CODE
23 extern bool arm_vector_mode_supported_p (enum machine_mode);
24 extern int arm_hard_regno_mode_ok (unsigned int, enum machine_mode);
25 extern int const_ok_for_arm (HOST_WIDE_INT);
26 +#ifdef RTX_CODE
27 extern int arm_split_constant (RTX_CODE, enum machine_mode, rtx,
28 HOST_WIDE_INT, rtx, rtx, int);
29 extern RTX_CODE arm_canonicalize_comparison (RTX_CODE, enum machine_mode,
30 Index: gcc-4.3.0/gcc/genopinit.c
31 ===================================================================
32 --- gcc-4.3.0/gcc/genopinit.c (revision 130463)
33 +++ gcc-4.3.0/gcc/genopinit.c (working copy)
34 @@ -486,6 +486,7 @@
35 printf ("#include \"expr.h\"\n");
36 printf ("#include \"optabs.h\"\n");
37 printf ("#include \"reload.h\"\n\n");
38 + printf ("#include \"tm_p.h\"\n\n");
39
40 printf ("void\ninit_all_optabs (void)\n{\n");
41
This page took 0.038999 seconds and 5 git commands to generate.