This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR ld/4007: Linker failed to issue an error on bad section in segment
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Andreas Schwab <schwab at suse dot de>, binutils at sources dot redhat dot com
- Date: Thu, 22 Mar 2007 08:04:46 -0700
- Subject: Re: PATCH: PR ld/4007: Linker failed to issue an error on bad section in segment
- References: <20070227012648.GA5915@lucon.org> <je8xejamy2.fsf@sykes.suse.de> <20070228013314.GA11703@lucon.org> <46029687.8000405@redhat.com> <20070322144749.GA14754@lucon.org> <460297E8.6020602@redhat.com>
On Thu, Mar 22, 2007 at 02:51:20PM +0000, Nick Clifton wrote:
> Hi H.J.
>
> >>>ld/testsuite/
> >>>2007-02-27 H.J. Lu <hongjiu.lu@intel.com>
> >>>
> >>> PR ld/4007
> >>> * ld-i386/alloc.d: New file.
> >>> * ld-i386/alloc.s: Likewise.
> >>> * ld-i386/alloc.t: Likewise.
> >>> * ld-i386/i386.exp: Run "alloc".
> >>Is there any reason why this new test should be i386 specific rather
> >>than, say, ELF specific ?
> >>
> >>Approved - but you may wish to change its location.
> >
> >The linker script is very specific to i386.
>
> Is that a necessary constraint for the test ? ie can this problem occur
> for toolchains other the i386 based ones, (I think that it can), and if
> so then is there any reason not to make a more generic test that can
> check the behaviour of non-i386 based toolchains ?
I don't know. i386 is unique due to address wrap around.
H.J.