This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] MIPS/BFD: Update outdated comment about o32 R_MIPS_PC32 reloc support


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0c9663cbd41c27a8e20ca88a53ba3deae374f1d8

commit 0c9663cbd41c27a8e20ca88a53ba3deae374f1d8
Author: Maciej W. Rozycki <macro@imgtec.com>
Date:   Mon Jun 13 16:29:00 2016 +0100

    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.

Diff:
---
 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  <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 */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]