PATCH: PR ld/4007: Linker failed to issue an error on bad section in segment
H. J. Lu
hjl@lucon.org
Thu Mar 22 15:05:00 GMT 2007
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.
More information about the Binutils
mailing list