QNX MIPS Support Patch

Jeff Baker jbaker@qnx.com
Thu Aug 26 19:14:00 GMT 2004


Here are two patches to start.

qnx_copy_rel.patch - This adds the R_MIPS_QNX_COPY reloc.  I left out 
the handling of that reloc in the BFD for a different patch.

qnx_shared_textrel.patch - This patch adds the --warn-shared-textrel 
option to the linker.  This option, oddly enough, warns when a 
DT_TEXTREL is being added to a shared object.

Still to come:
- A patch to add general understanding of QNX MIPS as a target.
- A patch to add QNX MIPS PIC handling to gas.
- A patch to add support for QNX MIPS PIC to the BFD.  This patch is the 
one with all the #ifdef __QNXTARGET__ 's and I need some help in 
figuring out the proper way to implement it.

I think that should cover it.

Jeff Baker wrote:
> Strange.  That message never showed up in my inbox.  I'll take a look, 
> thanks.
> 
> Thiemo Seufer wrote:
> 
>>Jeff Baker wrote:
>>
>>
>>>I know it's huge, but has anyone gotten a chance to take a quick look
>>
>>at 
>>
>>
>>>this?
>>
>>
>>Well, I mailed my quick look in
>>http://sources.redhat.com/ml/binutils/2004-08/msg00221.html
>>
>>As said there, I don't like the #ifdef __QNXTARGET__ stuff, it
>>will produce "interesting" results for --enable-targets=all.
>>
>>
>>Thiemo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qnx_shared_textrel.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20040826/c973ccc8/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qnx_copy_rel.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20040826/c973ccc8/attachment-0001.ksh>


More information about the Binutils mailing list