From 0c9663cbd41c27a8e20ca88a53ba3deae374f1d8 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Mon, 13 Jun 2016 16:29:00 +0100 Subject: [PATCH] MIPS/BFD: Update outdated comment about o32 R_MIPS_PC32 reloc support Complement: commit b47468a6dbd1b54c44c2edc0f7db64a073d894ea Author: Catherine Moore 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. --- bfd/ChangeLog | 4 ++++ bfd/elf32-mips.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5654b8f..8e9ad82 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2016-06-13 Maciej W. Rozycki + + * elf32-mips.c (elf_mips_gnu_pcrel32): Update comment. + 2016-06-13 Cupertino Miranda * elf32-arc.c (elf_arc_relocate_section): Fixed condition. diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 752f386..5654fb6 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -1548,9 +1548,9 @@ static reloc_howto_type elf_mips_gnu_rel16_s2 = TRUE); /* pcrel_offset */ /* 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 - longer used, but should continue to be supported by the linker for - backward compatibility. (GCC stopped using it in May, 2004.) */ + It was co-opted by mips-linux for exception-handling data. GCC stopped + using it in May, 2004, then started using it again for compact unwind + tables. */ static reloc_howto_type elf_mips_gnu_pcrel32 = HOWTO (R_MIPS_PC32, /* type */ 0, /* rightshift */ -- 2.7.4