[mips patch rfc/rfa] get rid of coff embedded-pic support.

Nigel Stephens nigel@mips.com
Wed May 5 21:56:00 GMT 2004



Thiemo Seufer wrote:

>Maciej W. Rozycki wrote:
>  
>
>>On Sat, 24 Apr 2004, Eric Christopher wrote:
>>
>>    
>>
>>>>I'd like to retain the ELF MIPS_R_PCREL16, and implement external
>>>>branches with it again.
>>>>        
>>>>
>>>? Why?
>>>      
>>>
>
>I guess this question was about the GNU ECOFF extension reloc, which
>I'm not really interested in. :-)
>
>  
>
>> Well, some people find it useful.  I wouldn't mind it, either.  The i386
>>ELF even supports 8-bit external branches (yes, +127/-128), so MIPS with
>>its 18-bit range doesn't even look close to insanity.
>>    
>>
>
>Indeed, it can save some insns in hand-coded critical paths, without
>the need of lumping all of it in one file. The code has just to reside
>in a +-128k range, which should be easy to achieve.
>
>  
>

Seconded. In embedded code it's useful for building (for example) 
position-independent bootstrap code where the code isn't all in the same 
file.

Nigel



More information about the Binutils mailing list