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
This commit is contained in:
John David Anglin 2010-06-21 23:51:10 +00:00 committed by John David Anglin
parent 04fb94d1ec
commit efe7115977
2 changed files with 17 additions and 0 deletions

View 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

View 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;