This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS/BFD: Update outdated comment about o32 R_MIPS_PC32 reloc support
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: <binutils at sourceware dot org>
- Date: Mon, 13 Jun 2016 17:07:09 +0100
- Subject: [committed] MIPS/BFD: Update outdated comment about o32 R_MIPS_PC32 reloc support
- Authentication-results: sourceware.org; auth=none
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.
---
I have committed this change.
Maciej
binutils-mips-bfd-pcrel32-comment.diff
Index: binutils/bfd/elf32-mips.c
===================================================================
--- binutils.orig/bfd/elf32-mips.c 2016-05-27 12:42:37.000000000 +0100
+++ binutils/bfd/elf32-mips.c 2016-06-09 14:04:34.857374615 +0100
@@ -1548,9 +1548,9 @@ static reloc_howto_type elf_mips_gnu_rel
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 */