This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] add R_M32R_REL32 relocation.
- From: Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
- To: "libc-alpha at sources dot redhat dot com" <libc-alpha at sources dot redhat dot com>
- Date: Mon, 07 Nov 2005 17:19:36 +0900
- Subject: [PATCH] add R_M32R_REL32 relocation.
Hi,
Current binutils support R_M32R_REL32 for M32R.
http://sourceware.org/ml/binutils/2005-07/msg00384.html
Please add a new relocation R_M32R_REL32 to elf/elf.h.
Regards,
Kazuhiro Inaoka
2005-11-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* elf/elf.h: Add PC relative relocation R_M32R_REL32.
Index: elf.h
===================================================================
RCS file: /cvs/glibc/libc/elf/elf.h,v
retrieving revision 1.143
diff -u -r1.143 elf.h
--- elf.h 12 Nov 2004 21:51:33 -0000 1.143
+++ elf.h 7 Nov 2005 07:49:49 -0000
@@ -2525,6 +2525,7 @@
#define R_M32R_SDA16_RELA 42 /* 16 bit offset in SDA */
#define R_M32R_RELA_GNU_VTINHERIT 43
#define R_M32R_RELA_GNU_VTENTRY 44
+#define R_M32R_REL32 45 /* PC relative 32 bit */
#define R_M32R_GOT24 48 /* 24 bit GOT entry */
#define R_M32R_26_PLTREL 49 /* 26 bit PC relative to PLT shifted */