aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-06-13 16:29:00 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2016-06-13 16:59:37 +0100
commit0c9663cbd41c27a8e20ca88a53ba3deae374f1d8 (patch)
tree297b132d730bef44b62aa71da4083c8654b69822 /bfd
parent815dc1bcdc1de926bfbb63fb15e0725c9bbc7671 (diff)
downloadgdb-0c9663cbd41c27a8e20ca88a53ba3deae374f1d8.zip
gdb-0c9663cbd41c27a8e20ca88a53ba3deae374f1d8.tar.gz
gdb-0c9663cbd41c27a8e20ca88a53ba3deae374f1d8.tar.bz2
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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-mips.c6
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 <macro@imgtec.com>
+
+ * elf32-mips.c (elf_mips_gnu_pcrel32): Update comment.
+
2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
* 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 */