From e92abd5037ab598ab08099f81f543734bc66c722 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Mon, 21 Jun 2010 23:43:42 +0000 Subject: 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/pa/pa.c | 11 +++++++++++ 2 files changed, 17 insertions(+) (limited to 'gcc') 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 + + PR target/39690 + config/pa/pa.c (override_options): Disable + -freorder-blocks-and-partition. + 2010-06-21 H.J. Lu 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; -- cgit v1.1