This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
weak-dyn test fails on PowerPC
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sourceware dot org
- Cc: "H.J. Lu" <hjl at lucon dot org>
- Date: Wed, 29 Aug 2007 17:30:15 -0400
- Subject: weak-dyn test fails on PowerPC
The test has:
SECTIONS
{
. = 0x800000;
PROVIDE (bar = .);
.data : {
*(.data)
}
}
But the PowerPC linker is placing orphans after the assignment to dot.
So .hash and others end up between bar and .data. The test fails
because the dump file checks r_offset precisely.
I think that r_offset does not matter to what we're trying to test
here and we could allow any offset as long as the relocation is
against foo. Is that right?
--
Daniel Jacobowitz
CodeSourcery