[PATCH] LD/PE: Remove remains of MIPS target support

Jan Beulich jbeulich@suse.com
Fri Aug 22 06:38:19 GMT 2025


On 21.08.2025 15:16, Maciej W. Rozycki wrote:
> On Mon, 18 Aug 2025, Jan Beulich wrote:
> 
>>>> As I'd like to see this go in, for me to then re-base my patch over it, can we
>>>> get this aspect sorted?
>>>
>>>  I agree.  Would the cc'd maintainers of the other PE targets please 
>>> confirm or deny that these high-part/low-part relocations are used by 
>>> their respective platforms (ISTM they are not, so I chose to remove that 
>>> code as dead with the removal of MIPS support, but I'll appreciate a 
>>> second opinion)?
>>
>> Sadly by experience I wouldn't expect any replies there. But maybe I can
>> be positively surprised ...
>>
>> (My personal take is that at least the "case BITS_AND_SHIFT (16, 0):"
>> part may better be left in.)
> 
>  If no one chimes in, I'd be tempted to discard this anyway, especially as 
> we're early in the cycle now.  We can add it back if someone screams later 
> on.

Actually no, this needs to stay - even x86 can come through this path, for
what originally would have been BFD_RELOC_16 (easily encodable in assembly
sources, and hence also in inline assembly).

Jan


More information about the Binutils mailing list