[PATCH 1/2] ld: Fix relocatable.d XFAIL/notarget entry for hppa

Sam James sam@gentoo.org
Thu Aug 10 02:54:42 GMT 2023


Alan Modra <amodra@gmail.com> writes:

> On Tue, Aug 08, 2023 at 02:23:59AM +0100, Sam James via Binutils wrote:
>> PR 30734
>> * ld/testsuite/ld-elf/relocatable.d: Fix notarget entry for hppa to match
>>   hppa{1.1,2.0}*, like hppa2.0-unknown-linux-gnu which Gentoo uses.
>> 
>> Signed-off-by: Sam James <sam@gentoo.org>
>> ---
>>  ld/testsuite/ld-elf/relocatable.d | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/ld/testsuite/ld-elf/relocatable.d b/ld/testsuite/ld-elf/relocatable.d
>> index d0fba97a104..cb39baa52bc 100644
>> --- a/ld/testsuite/ld-elf/relocatable.d
>> +++ b/ld/testsuite/ld-elf/relocatable.d
>> @@ -2,7 +2,7 @@
>>  #source: simple.s
>>  #ld: -r -T relocatable.t
>>  #readelf: -S --wide
>> -#xfail: hppa-*-*
>> +#xfail: hppa*-*-*
>>  
>>  #...
>>    \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t]+0+800000[ \t0-9a-f]+AX.*
>> -- 
>> 2.41.0
>
> hppa64-hp-hpux11.23  +XPASS: relocatable with script
> hppa64-linux-gnu  +XPASS: relocatable with script

Will fix on weekend, thanks, and apologies Alan.

I didn't want to have to expand with Gentoo's CHOSTs for 32-bit
but I think it should be fine, as we then cover both Linux
distributions which do HPPA (Debian already w/ hppa-*, and Gentoo
with hppa1.1/hppa2.0).

thanks,
sam


More information about the Binutils mailing list