From: John David Anglin Date: Mon, 21 Jun 2010 23:51:10 +0000 (+0000) Subject: re PR target/39690 (ld: An unknown relocation type 8) X-Git-Tag: releases/gcc-4.4.5~235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efe7115977430ad9958fd4769a2a9f7aa39ca459;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: r161123 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b6356e92eaa..499e1e57e752 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 Jakub Jelinek PR bootstrap/44426 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 9924c7dca385..0047bf1a5208 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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;