From: John David Anglin Date: Mon, 21 Jun 2010 23:54:25 +0000 (+0000) Subject: re PR target/39690 (ld: An unknown relocation type 8) X-Git-Tag: releases/gcc-4.3.6~443 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6606e3be7b77966585d7693218a19754443c4b45;p=thirdparty%2Fgcc.git 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: r161124 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9df18b5397a8..8546bfa833e3 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-17 John David Anglin PR target/43740 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 9671f4050ce5..3255b92a0b24 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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;