Mips target in gold - revision 2 - part 1

Sasa Stankovic Sasa.Stankovic@imgtec.com
Thu Jan 30 14:17:00 GMT 2014


 Hi Cary,

Attached is the first part of the patch that implements Mips target in gold.  This part contains one new patch that changes target independent code.  adjust_dynsym.patch allows a target to adjust the value written to the dynamic symbol table.  This is needed because Mips dynamic linker expects MIPS16 and microMIPS symbols to have odd values created by adding +1 to the dynamic symbol value.

> You shouldn't need to include "stringpool.h". The set_dynsym_indexes
> function takes a Stringpool*, so you only need a forward declaration
> for class Stringpool.

Stringpool is defined as a template in file stringpool.h. If I remove "stringpool.h" then following needs to be added to file target.h:

template<typename Stringpool_char>
class Stringpool_template;

typedef Stringpool_template<char> Stringpool;


Regards,
Sasa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dynsym.patch
Type: text/x-patch
Size: 2586 bytes
Desc: dynsym.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20140130/a9fe6ea5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nonvis.patch
Type: text/x-patch
Size: 973 bytes
Desc: nonvis.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20140130/a9fe6ea5/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dynamic-tag.patch
Type: text/x-patch
Size: 2911 bytes
Desc: dynamic-tag.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20140130/a9fe6ea5/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init-output-data.patch
Type: text/x-patch
Size: 1655 bytes
Desc: init-output-data.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20140130/a9fe6ea5/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adjust_dynsym.patch
Type: text/x-patch
Size: 1569 bytes
Desc: adjust_dynsym.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20140130/a9fe6ea5/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips1.patch
Type: text/x-patch
Size: 12243 bytes
Desc: mips1.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20140130/a9fe6ea5/attachment-0005.bin>


More information about the Binutils mailing list