[backfire] toolchain: fix gcc 3.4.6 (brcm-2.4) after relocation from usr/, refresh...
[openwrt-10.03/.git] / toolchain / gcc / patches / 3.4.6 / 701-pr16276-fix.patch
index 69d7373f60e09e69c7d688334f89452c4c44ec8a..c6d00c7ac43c9377b5a9600d015264c7b7acaef3 100644 (file)
@@ -8,9 +8,9 @@ http://gcc.gnu.org/PR16276
        PUT_JUMP_TABLES_IN_TEXT_SECTION.
        (final_scan_insn): Likewise.
 
---- a/gcc/final.c      2003-12-03 09:42:25.000000000 -0800
-+++ b/gcc/final.c      2004-07-08 14:45:07.900366938 -0700
-@@ -100,6 +100,9 @@ Software Foundation, 59 Temple Place - S
+--- a/gcc/final.c
++++ b/gcc/final.c
+@@ -105,6 +105,9 @@ Software Foundation, 59 Temple Place - S
  #define JUMP_TABLES_IN_TEXT_SECTION 0
  #endif
  
@@ -20,7 +20,7 @@ http://gcc.gnu.org/PR16276
  #if defined(READONLY_DATA_SECTION) || defined(READONLY_DATA_SECTION_ASM_OP)
  #define HAVE_READONLY_DATA_SECTION 1
  #else
-@@ -1119,7 +1122,8 @@ shorten_branches (first)
+@@ -835,7 +838,8 @@ shorten_branches (rtx first ATTRIBUTE_UN
          next = NEXT_INSN (insn);
          /* ADDR_VECs only take room if read-only data goes into the text
             section.  */
@@ -30,7 +30,7 @@ http://gcc.gnu.org/PR16276
            if (next && GET_CODE (next) == JUMP_INSN)
              {
                rtx nextbody = PATTERN (next);
-@@ -1282,7 +1286,8 @@ shorten_branches (first)
+@@ -998,7 +1002,8 @@ shorten_branches (rtx first ATTRIBUTE_UN
        {
          /* This only takes room if read-only data goes into the text
             section.  */
@@ -40,7 +40,7 @@ http://gcc.gnu.org/PR16276
            insn_lengths[uid] = (XVECLEN (body,
                                          GET_CODE (body) == ADDR_DIFF_VEC)
                                 * GET_MODE_SIZE (GET_MODE (body)));
-@@ -1483,7 +1488,8 @@ shorten_branches (first)
+@@ -1199,7 +1204,8 @@ shorten_branches (rtx first ATTRIBUTE_UN
              PUT_MODE (body, CASE_VECTOR_SHORTEN_MODE (min_addr - rel_addr,
                                                        max_addr - rel_addr,
                                                        body));
@@ -50,7 +50,7 @@ http://gcc.gnu.org/PR16276
                {
                  insn_lengths[uid]
                    = (XVECLEN (body, 1) * GET_MODE_SIZE (GET_MODE (body)));
-@@ -2254,7 +2260,7 @@ final_scan_insn (insn, file, optimize, p
+@@ -1877,7 +1883,7 @@ final_scan_insn (rtx insn, FILE *file, i
                 target, so don't output the label at all.  Leave that
                 to the back end macros.  */
  #else