PATCH: PR ld/4007: Linker failed to issue an error on bad section in segment

Nick Clifton nickc@redhat.com
Thu Mar 22 14:51:00 GMT 2007


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 ?

Cheers
   Nick




More information about the Binutils mailing list