This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH]: Add missing sparc relocs
- From: David Miller <davem at davemloft dot net>
- To: binutils at sourceware dot org
- Date: Sat, 12 Apr 2008 23:12:04 -0700 (PDT)
- Subject: [PATCH]: Add missing sparc relocs
This syncs the C elf headers for sparc with the relocations
already present in the elfcpp sparc headers.
include/
2008-04-12 David S. Miller <davem@davemloft.net>
* elf/sparc.h (R_SPARC_GOTDATA_HIX22,
R_SPARC_GOTDATA_LOX10, R_SPARC_GOTDATA_OP_HIX22,
R_SPARC_GOTDATA_OP_LOX10, R_SPARC_GOTDATA_OP,
R_SPARC_H34, R_SPARC_SIZE32, R_SPARC_SIZE64): New relocs.
Index: include/elf/sparc.h
===================================================================
RCS file: /cvs/src/src/include/elf/sparc.h,v
retrieving revision 1.13
diff -u -p -r1.13 sparc.h
--- include/elf/sparc.h 11 Mar 2008 23:21:08 -0000 1.13
+++ include/elf/sparc.h 12 Apr 2008 09:37:00 -0000
@@ -151,6 +151,16 @@ START_RELOC_NUMBERS (elf_sparc_reloc_typ
RELOC_NUMBER (R_SPARC_TLS_DTPOFF64, 77)
RELOC_NUMBER (R_SPARC_TLS_TPOFF32, 78)
RELOC_NUMBER (R_SPARC_TLS_TPOFF64, 79)
+
+ RELOC_NUMBER (R_SPARC_GOTDATA_HIX22, 80)
+ RELOC_NUMBER (R_SPARC_GOTDATA_LOX10, 81)
+ RELOC_NUMBER (R_SPARC_GOTDATA_OP_HIX22, 82)
+ RELOC_NUMBER (R_SPARC_GOTDATA_OP_LOX10, 83)
+ RELOC_NUMBER (R_SPARC_GOTDATA_OP, 84)
+
+ RELOC_NUMBER (R_SPARC_H34, 85)
+ RELOC_NUMBER (R_SPARC_SIZE32, 86)
+ RELOC_NUMBER (R_SPARC_SIZE64, 87)
EMPTY_RELOC (R_SPARC_max_std)