This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Fix phdrs tests
- To: amodra at one dot net dot au
- Subject: Re: Fix phdrs tests
- From: Andreas Jaeger <aj at suse dot de>
- Date: 01 May 2001 09:37:02 +0200
- Cc: binutils at sources dot redhat dot com
- References: <hoofteeo4w.fsf@gee.suse.de> <ho7l02emod.fsf@gee.suse.de><20010501120951.L2487@squeak.one.net.au>
amodra@one.net.au writes:
> On Mon, Apr 30, 2001 at 11:56:02AM +0200, Andreas Jaeger wrote:
> > --- ld/testsuite/ld-scripts/phdrs.t 2000/03/14 01:40:30 1.2
> > +++ ld/testsuite/ld-scripts/phdrs.t 2001/04/30 09:37:59
> > @@ -7,7 +7,9 @@
> >
> > SECTIONS
> > {
> > - . = 0x80000 + SIZEOF_HEADERS;
> > + /* This test will fail on architectures where the startaddress below
> > + is less than the constant MAXPAGESIZE. */
> > + . = 0x8000000 + SIZEOF_HEADERS;
> > .text : { *(.text) } :text
> > .data : { *(.data) } :data
> > /DISCARD/ : { *(.*) }
>
> 0x8000000 might be a tad excessive. Do we have any 24 bit address
> architectures?
>
> $ grep ^MAXPAGESIZE * | sed -e 's/.*=//' | sort | uniq
> grep: CVS: Is a directory
> 0x1000
> 0x10000
> 0x100000
> 0x2000
> 0x40000
> 0x8000
> 1
> 128
> 256
> 32
> 4096
> 8192
>
> so 0x100000 should do the trick (or 0x800000). OK otherwise.
Ok, I'll use 0x800000 and commit it,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj