]> 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:51:10 +0000 (23:51 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Mon, 21 Jun 2010 23:51:10 +0000 (23:51 +0000)
PR target/39690
config/pa/pa.c (override_options): Disable
-freorder-blocks-and-partition.

From-SVN: r161123

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

index 7b6356e92eaa7799942962ad7baee1407c45b96e..499e1e57e7523bddecb0b6685e7bdcaad88dd808 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-21  Jakub Jelinek  <jakub@redhat.com>
 
        PR bootstrap/44426
index 9924c7dca38529e3494aad2e9165f08e071d8bf9..0047bf1a5208c9734e4715b242f75c7e9048384a 100644 (file)
@@ -500,6 +500,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;