Commit e92abd50 by John David Anglin Committed by John David Anglin

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
parent c1b157a6
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment