This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> Date: Thu, 11 Jan 2007 17:44:44 +0000
> From: Nathan Sidwell <nathan@codesourcery.com>

> Hans-Peter Nilsson wrote:
> > regexp "^    LOAD off    0x0*0000000 vaddr 0x0*0010000 paddr 0x0*0010000 align 2..16$"

So "align .*" ?

> > line   "    LOAD off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**13"
> > regexp_diff match failure
> > regexp "^         filesz 0x0*001002[48] memsz 0x0*001002[48] flags rwx$"

So something like "filesz 0x0*00100[248] memsz 0x0*00100[248] flags rwx$" ?

> > line   "         filesz 0x00001002 memsz 0x00001002 flags rw-"
> > (more errors elided)

> 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?

Ok, I was mostly interested in whether the "2**16" check was
important.  I suggest adding "#target: *-*-linux*" plus the changes
above.

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]