[PATCH] MIPS bfd: abi 64 ld -r
Stan Cox
scox@redhat.com
Thu Aug 29 18:41:00 GMT 2002
This patch handles some issues with the 64 bit abi with respect to ld
-r. The mips style type2 and type3 relocations were being "lost".
The partial inplace hunk is courtesy of Alexandre Oliva; the Irix
linker will use the offsets if they are available, so we should too.
One of the fields in the .MIPS.options section is for the GP value, so
we need this to be emitted.
* elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3.
* elfn32-mips.c (elf_mips_howto_table_rela): Allow partial_inplace.
* elfxx-mips.c (_bfd_mips_elf_final_link): Always create
.MIPS.options/.options section.
* config.bfd (mips-irix6): Use bfd_elf32_nbigmips_vec.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd.020822.patch
Type: text/x-patch
Size: 11063 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20020829/25c4ac56/attachment.bin>
More information about the Binutils
mailing list