aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2010-06-21 23:43:42 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2010-06-21 23:43:42 +0000
commite92abd5037ab598ab08099f81f543734bc66c722 (patch)
tree7da988acc881ede5aaada485588bdaa3a1373416
parentc1b157a601ea9c1d2611d6b951ec0e46cc27ea01 (diff)
downloadgcc-e92abd5037ab598ab08099f81f543734bc66c722.zip
gcc-e92abd5037ab598ab08099f81f543734bc66c722.tar.gz
gcc-e92abd5037ab598ab08099f81f543734bc66c722.tar.bz2
re PR target/39690 (ld: An unknown relocation type 8)
PR target/39690 config/pa/pa.c (override_options): Disable -freorder-blocks-and-partition. From-SVN: r161121
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/pa/pa.c11
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1359a3b..6b02749 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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 H.J. Lu <hongjiu.lu@intel.com>
PR target/44615
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 47486d7..5f42a1a 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -519,6 +519,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;