MIPS/BFD: Update outdated comment about o32 R_MIPS_PC32 reloc support

Complement:

commit b47468a6dbd1b54c44c2edc0f7db64a073d894ea
Author: Catherine Moore <clm@redhat.com>
Date:   Mon May 6 15:25:45 2013 +0000

and the return of support for R_MIPS_PC32 there.

	bfd/
	* elf32-mips.c (elf_mips_gnu_pcrel32): Update comment.
This commit is contained in:
Maciej W. Rozycki
2016-06-13 16:29:00 +01:00
parent 815dc1bcdc
commit 0c9663cbd4
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
* elf32-mips.c (elf_mips_gnu_pcrel32): Update comment.
2016-06-13 Cupertino Miranda <cmiranda@synospsy.com> 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
* elf32-arc.c (elf_arc_relocate_section): Fixed condition. * elf32-arc.c (elf_arc_relocate_section): Fixed condition.

View File

@ -1548,9 +1548,9 @@ static reloc_howto_type elf_mips_gnu_rel16_s2 =
TRUE); /* pcrel_offset */ TRUE); /* pcrel_offset */
/* 32 bit pc-relative. This was a GNU extension used by embedded-PIC. /* 32 bit pc-relative. This was a GNU extension used by embedded-PIC.
It was co-opted by mips-linux for exception-handling data. It is no It was co-opted by mips-linux for exception-handling data. GCC stopped
longer used, but should continue to be supported by the linker for using it in May, 2004, then started using it again for compact unwind
backward compatibility. (GCC stopped using it in May, 2004.) */ tables. */
static reloc_howto_type elf_mips_gnu_pcrel32 = static reloc_howto_type elf_mips_gnu_pcrel32 =
HOWTO (R_MIPS_PC32, /* type */ HOWTO (R_MIPS_PC32, /* type */
0, /* rightshift */ 0, /* rightshift */