New test ld-elf/header fails for cris-elf (likely elsewhere)

H. J. Lu hjl@lucon.org
Thu Jan 11 17:48:00 GMT 2007
On Thu, Jan 11, 2007 at 05:44:44PM +0000, Nathan Sidwell wrote:
> Primarily what's being tested is that the link doesn't crash.   Perhaps 
> it's just sufficient to check that, rather than also check the output.
> 
> Whether the right alignments occur to tickle the orginal bug depends on the 
> program header size and the page size.  As I don't think the page size is 
> forceable from the test harness, or detectable in the assembler source, 
> perhaps we should just check the link succeeds.  Thoughts?
> 

For most ELF targets, you can set the maximum page size with

-z max-page-size=SIZE


H.J.



More information about the Binutils mailing list