]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/39690 (ld: An unknown relocation type 8)
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Mon, 21 Jun 2010 23:54:25 +0000 (23:54 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Mon, 21 Jun 2010 23:54:25 +0000 (23:54 +0000)
PR target/39690
config/pa/pa.c (override_options): Disable
-freorder-blocks-and-partition.

From-SVN: r161124

gcc/ChangeLog
gcc/config/pa/pa.c

index 9df18b5397a8b1b62feb887156778a09807a2a26..8546bfa833e3cd87e74be802524904e4471bdb75 100644 (file)
@@ -1,3 +1,9 @@
+2010-06-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR target/39690
+       config/pa/pa.c (override_options): Disable
+       -freorder-blocks-and-partition.
+
 2010-06-17  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        PR target/43740
index 9671f4050ce53fc6a1903866a2cccc6e8905f092..3255b92a0b2463f35b00ef69e0b629d1e85bbf2b 100644 (file)
@@ -499,6 +499,17 @@ override_options (void)
   if (flag_pic == 1 || TARGET_64BIT)
     flag_pic = 2;
 
+  /* Disable -freorder-blocks-and-partition as we don't support hot and
+     cold partitioning.  */
+  if (flag_reorder_blocks_and_partition)
+    {
+      inform (input_location,
+              "-freorder-blocks-and-partition does not work "
+              "on this architecture");
+      flag_reorder_blocks_and_partition = 0;
+      flag_reorder_blocks = 1;
+    }
+
   /* We can't guarantee that .dword is available for 32-bit targets.  */
   if (UNITS_PER_WORD == 4)
     targetm.asm_out.aligned_op.di = NULL;