Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog125
-rw-r--r--include/elf/avr.h26
-rw-r--r--include/elf/common.h14
-rw-r--r--include/elf/m68hc11.h18
-rw-r--r--include/elf/mn10300.h9
-rw-r--r--include/elf/ppc.h27
-rw-r--r--include/elf/s390.h1
-rw-r--r--include/elf/sparc.h15
-rw-r--r--include/elf/tilegx.h48
-rw-r--r--include/elf/tilepro.h18
-rw-r--r--include/elf/xgate.h77
11 files changed, 43 insertions, 335 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index ef84aa36a..86179bf78 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,128 +1,3 @@
-2012-06-28 Iain Sandoe <iain@codesourcery.com>
-
- * common.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
- AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New defines.
-
-2012-05-16 Georg-Johann Lay <avr@gjlay.de>
-
- PR target/13503
- * avr.h (RELOC_NUMBERS): Rename R_AVR_8_HHI8 to R_AVR_8_HLO8.
-
-2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
-
- * m68hc11.h (R_M68HC12_16B, R_M68HC12_PCREL_9, R_M68HC12_PCREL_10)
- R_M68HC12_HI8XG, R_M68HC12_LO8XG): New relocations.
- (E_M68HC11_XGATE_RAMOFFSET): Define.
-
-2012-05-14 James Lemke <jwlemke@codesourcery.com>
- * ppc.h (SEC_PPC_VLE): Remove.
-
-2012-05-14 Catherine Moore <clm@codesourcery.com>
- James Lemke <jwlemke@codesourcery.com>
-
- * ppc.h (R_PPC_VLE_REL8): New reloction.
- (R_PPC_VLE_REL15): Likewise.
- (R_PPC_VLE_REL24): Likewise.
- (R_PPC_VLE_LO16A): Likewise.
- (R_PPC_VLE_LO16D): Likewise.
- (R_PPC_VLE_HI16A): Likewise.
- (R_PPC_VLE_HI16D): Likewise.
- (R_PPC_VLE_HA16A): Likewise.
- (R_PPC_VLE_HA16D): Likewise.
- (R_PPC_VLE_SDA21): Likewise.
- (R_PPC_VLE_SDA21_LO): Likewise.
- (R_PPC_VLE_SDAREL_LO16A): Likewise.
- (R_PPC_VLE_SDAREL_LO16D): Likewise.
- (R_PPC_VLE_SDAREL_HI16A): Likewise.
- (R_PPC_VLE_SDAREL_HI16D): Likewise.
- (R_PPC_VLE_SDAREL_HA16A): Likewise.
- (R_PPC_VLE_SDAREL_HA16D): Likewise.
- (SEC_PPC_VLE): Remove.
- (PF_PPC_VLE): New program header flag.
- (SHF_PPC_VLE): New section header flag.
- (vle_opcodes, vle_num_opcodes): New.
- (VLE_OP): New macro.
- (VLE_OP_TO_SEG): New macro.
-
-2012-05-11 Georg-Johann Lay <avr@gjlay.de
-
- PR target/13503
- * elf/avr.h (RELOC_NUMBERS): Add values for R_AVR_8_LO8,
- R_AVR_8_HI8, R_AVR_8_HHI8.
-
-2012-05-03 Sean Keys <skeys@ipdatasys.com>
-
- * xgate.h: Mininal file to support XGATE relocations.
-
-2012-04-27 David S. Miller <davem@davemloft.net>
-
- * sparc.h: Add new ELF_SPARC_HWCAP_* defines for crypto,
- pause, and compare-and-branch instructions.
-
-2012-03-07 Nick Clifton <nickc@redhat.com>
-
- * mn10300.h (elf_mn10300_reloc_type): Add R_MN10300_TLS_GD,
- R_MN10300_TLS_LD, R_MN10300_TLS_LDO, R_MN10300_TLS_GOTIE,
- R_MN10300_TLS_IE, R_MN10300_TLS_LE, R_MN10300_TLS_DPTMOD,
- R_MN10300_TLS_DTPOFF and R_MN10300_TLS_TPOFF.
-
-2012-02-25 Walter Lee <walt@tilera.com>
-
- * tilegx.h (R_TILEGX_IMM16_X0_HW1_GOT): Delete.
- (R_TILEGX_IMM16_X1_HW1_GOT): Ditto.
- (R_TILEGX_IMM16_X0_HW2_GOT): Ditto.
- (R_TILEGX_IMM16_X1_HW2_GOT): Ditto.
- (R_TILEGX_IMM16_X0_HW3_GOT): Ditto.
- (R_TILEGX_IMM16_X1_HW3_GOT): Ditto.
- (R_TILEGX_IMM16_X0_HW2_LAST_GOT): Ditto.
- (R_TILEGX_IMM16_X1_HW2_LAST_GOT): Ditto.
- (R_TILEGX_IMM16_X0_HW1_TLS_GD): Ditto.
- (R_TILEGX_IMM16_X1_HW1_TLS_GD): Ditto.
- (R_TILEGX_IMM16_X0_HW2_TLS_GD): Ditto.
- (R_TILEGX_IMM16_X1_HW2_TLS_GD): Ditto.
- (R_TILEGX_IMM16_X0_HW3_TLS_GD): Ditto.
- (R_TILEGX_IMM16_X1_HW3_TLS_GD): Ditto.
- (R_TILEGX_IMM16_X0_HW2_LAST_TLS_GD): Ditto.
- (R_TILEGX_IMM16_X1_HW2_LAST_TLS_GD): Ditto.
- (R_TILEGX_IMM16_X0_HW1_TLS_IE): Ditto.
- (R_TILEGX_IMM16_X1_HW1_TLS_IE): Ditto.
- (R_TILEGX_IMM16_X0_HW2_TLS_IE): Ditto.
- (R_TILEGX_IMM16_X1_HW2_TLS_IE): Ditto.
- (R_TILEGX_IMM16_X0_HW3_TLS_IE): Ditto.
- (R_TILEGX_IMM16_X1_HW3_TLS_IE): Ditto.
- (R_TILEGX_IMM16_X0_HW2_LAST_TLS_IE): Ditto.
- (R_TILEGX_IMM16_X1_HW2_LAST_TLS_IE): Ditto.
- (R_TILEGX_IMM16_X0_HW0_TLS_LE): New relocation.
- (R_TILEGX_IMM16_X1_HW0_TLS_LE): Ditto.
- (R_TILEGX_IMM16_X0_HW0_LAST_TLS_LE): Ditto.
- (R_TILEGX_IMM16_X1_HW0_LAST_TLS_LE): Ditto.
- (R_TILEGX_IMM16_X0_HW1_LAST_TLS_LE): Ditto.
- (R_TILEGX_IMM16_X1_HW1_LAST_TLS_LE): Ditto.
- (R_TILEGX_TLS_GD_CALL): Ditto.
- (R_TILEGX_IMM8_X0_TLS_GD_ADD): Ditto.
- (R_TILEGX_IMM8_X1_TLS_GD_ADD): Ditto.
- (R_TILEGX_IMM8_Y0_TLS_GD_ADD): Ditto.
- (R_TILEGX_IMM8_Y1_TLS_GD_ADD): Ditto.
- (R_TILEGX_TLS_IE_LOAD): Ditto.
- (R_TILEGX_IMM8_X0_TLS_ADD): Ditto.
- (R_TILEGX_IMM8_X1_TLS_ADD): Ditto.
- (R_TILEGX_IMM8_Y0_TLS_ADD): Ditto.
- (R_TILEGX_IMM8_Y1_TLS_ADD): Ditto.
- * tilepro.h (R_TILEPRO_TLS_GD_CALL): New relocation.
- (R_TILEPRO_IMM8_X0_TLS_GD_ADD): Ditto.
- (R_TILEPRO_IMM8_X1_TLS_GD_ADD): Ditto.
- (R_TILEPRO_IMM8_Y0_TLS_GD_ADD): Ditto.
- (R_TILEPRO_IMM8_Y1_TLS_GD_ADD): Ditto.
- (R_TILEPRO_TLS_IE_LOAD): Ditto.
- (R_TILEPRO_IMM16_X0_TLS_LE): Ditto.
- (R_TILEPRO_IMM16_X1_TLS_LE): Ditto.
- (R_TILEPRO_IMM16_X0_TLS_LE_LO): Ditto.
- (R_TILEPRO_IMM16_X1_TLS_LE_LO): Ditto.
- (R_TILEPRO_IMM16_X0_TLS_LE_HI): Ditto.
- (R_TILEPRO_IMM16_X1_TLS_LE_HI): Ditto.
- (R_TILEPRO_IMM16_X0_TLS_LE_HA): Ditto.
- (R_TILEPRO_IMM16_X1_TLS_LE_HA): Ditto.
-
2011-12-22 DJ Delorie <dj@redhat.com>
* rl78.h (R_RL78_RH_RELAX, R_RL78_RH_SFR, R_RL78_RH_SADDR): New.
diff --git a/include/elf/avr.h b/include/elf/avr.h
index b45d902d2..11d43f966 100644
--- a/include/elf/avr.h
+++ b/include/elf/avr.h
@@ -1,6 +1,5 @@
/* AVR ELF support for BFD.
- Copyright 1999, 2000, 2004, 2006, 2010, 2012
- Free Software Foundation, Inc.
+ Copyright 1999, 2000, 2004, 2006, 2010 Free Software Foundation, Inc.
Contributed by Denis Chertykov <denisc@overta.ru>
This file is part of BFD, the Binary File Descriptor library.
@@ -31,16 +30,16 @@
as reference for the relocations so that linker relaxation is possible. */
#define EF_AVR_LINKRELAX_PREPARED 0x80
-#define E_AVR_MACH_AVR1 1
-#define E_AVR_MACH_AVR2 2
-#define E_AVR_MACH_AVR25 25
-#define E_AVR_MACH_AVR3 3
-#define E_AVR_MACH_AVR31 31
-#define E_AVR_MACH_AVR35 35
-#define E_AVR_MACH_AVR4 4
-#define E_AVR_MACH_AVR5 5
-#define E_AVR_MACH_AVR51 51
-#define E_AVR_MACH_AVR6 6
+#define E_AVR_MACH_AVR1 1
+#define E_AVR_MACH_AVR2 2
+#define E_AVR_MACH_AVR25 25
+#define E_AVR_MACH_AVR3 3
+#define E_AVR_MACH_AVR31 31
+#define E_AVR_MACH_AVR35 35
+#define E_AVR_MACH_AVR4 4
+#define E_AVR_MACH_AVR5 5
+#define E_AVR_MACH_AVR51 51
+#define E_AVR_MACH_AVR6 6
#define E_AVR_MACH_XMEGA1 101
#define E_AVR_MACH_XMEGA2 102
#define E_AVR_MACH_XMEGA3 103
@@ -78,9 +77,6 @@ START_RELOC_NUMBERS (elf_avr_reloc_type)
RELOC_NUMBER (R_AVR_LO8_LDI_GS, 24)
RELOC_NUMBER (R_AVR_HI8_LDI_GS, 25)
RELOC_NUMBER (R_AVR_8, 26)
- RELOC_NUMBER (R_AVR_8_LO8, 27)
- RELOC_NUMBER (R_AVR_8_HI8, 28)
- RELOC_NUMBER (R_AVR_8_HLO8, 29)
END_RELOC_NUMBERS (R_AVR_max)
#endif /* _ELF_AVR_H */
diff --git a/include/elf/common.h b/include/elf/common.h
index 58e489afe..5cddc0bef 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -1,6 +1,6 @@
/* ELF support for BFD.
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
Written by Fred Fish @ Cygnus Support, from information published
@@ -935,18 +935,6 @@
#define AT_SYSINFO 32
#define AT_SYSINFO_EHDR 33 /* Pointer to ELF header of system-supplied DSO. */
-/* More complete cache descriptions than AT_[DIU]CACHEBSIZE. If the
- value is -1, then the cache doesn't exist. Otherwise:
-
- bit 0-3: Cache set-associativity; 0 means fully associative.
- bit 4-7: Log2 of cacheline size.
- bit 8-31: Size of the entire cache >> 8. */
-
-#define AT_L1I_CACHESHAPE 34
-#define AT_L1D_CACHESHAPE 35
-#define AT_L2_CACHESHAPE 36
-#define AT_L3_CACHESHAPE 37
-
#define AT_SUN_UID 2000 /* Effective user ID. */
#define AT_SUN_RUID 2001 /* Real user ID. */
#define AT_SUN_GID 2002 /* Effective group ID. */
diff --git a/include/elf/m68hc11.h b/include/elf/m68hc11.h
index 58d882088..ca325d981 100644
--- a/include/elf/m68hc11.h
+++ b/include/elf/m68hc11.h
@@ -1,5 +1,5 @@
/* m68hc11 & m68hc12 ELF support for BFD.
- Copyright 1999, 2000, 2001, 2002, 2010, 2012 Free Software Foundation, Inc.
+ Copyright 1999, 2000, 2001, 2002, 2010 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -42,12 +42,6 @@ START_RELOC_NUMBERS (elf_m68hc11_reloc_type)
RELOC_NUMBER (R_M68HC11_LO16, 12)
RELOC_NUMBER (R_M68HC11_PAGE, 13)
- RELOC_NUMBER (R_M68HC12_16B, 15)
- RELOC_NUMBER (R_M68HC12_PCREL_9, 16)
- RELOC_NUMBER (R_M68HC12_PCREL_10, 17)
- RELOC_NUMBER (R_M68HC12_HI8XG, 18)
- RELOC_NUMBER (R_M68HC12_LO8XG, 19)
-
/* GNU extension for linker relaxation.
Mark beginning of a jump instruction (any form). */
RELOC_NUMBER (R_M68HC11_RL_JUMP, 20)
@@ -70,12 +64,6 @@ END_RELOC_NUMBERS (R_M68HC11_max)
/* Uses 68HC12 memory banks. */
#define E_M68HC12_BANKS 0x000000004
-/* XGATE ram offsetting. */
-#define E_M68HC11_XGATE_RAMOFFSET 0x000000100
-
-/* Suppress warnings */
-#define E_M68HC11_NO_BANK_WARNING 0x000000200
-
#define EF_M68HC11_MACH_MASK 0xF0
#define EF_M68HC11_GENERIC 0x00 /* Generic 68HC12/backward compatibility. */
#define EF_M68HC12_MACH 0x10 /* 68HC12 microcontroller. */
@@ -98,10 +86,10 @@ END_RELOC_NUMBERS (R_M68HC11_max)
/* Special values for the st_other field in the symbol table. These
are used for 68HC12 to identify far functions (must be called with
'call' and returns with 'rtc'). */
-#define STO_M68HC12_FAR 0x80
+#define STO_M68HC12_FAR 0x80
/* Identify interrupt handlers. This is used by the debugger to
correctly compute the stack frame. */
-#define STO_M68HC12_INTERRUPT 0x40
+#define STO_M68HC12_INTERRUPT 0x40
#endif
diff --git a/include/elf/mn10300.h b/include/elf/mn10300.h
index 529b3897b..444787b5f 100644
--- a/include/elf/mn10300.h
+++ b/include/elf/mn10300.h
@@ -51,15 +51,6 @@ START_RELOC_NUMBERS (elf_mn10300_reloc_type)
RELOC_NUMBER (R_MN10300_GLOB_DAT, 21)
RELOC_NUMBER (R_MN10300_JMP_SLOT, 22)
RELOC_NUMBER (R_MN10300_RELATIVE, 23)
- RELOC_NUMBER (R_MN10300_TLS_GD, 24)
- RELOC_NUMBER (R_MN10300_TLS_LD, 25)
- RELOC_NUMBER (R_MN10300_TLS_LDO, 26)
- RELOC_NUMBER (R_MN10300_TLS_GOTIE, 27)
- RELOC_NUMBER (R_MN10300_TLS_IE, 28)
- RELOC_NUMBER (R_MN10300_TLS_LE, 29)
- RELOC_NUMBER (R_MN10300_TLS_DTPMOD, 30)
- RELOC_NUMBER (R_MN10300_TLS_DTPOFF, 31)
- RELOC_NUMBER (R_MN10300_TLS_TPOFF, 32)
RELOC_NUMBER (R_MN10300_SYM_DIFF, 33)
RELOC_NUMBER (R_MN10300_ALIGN, 34)
END_RELOC_NUMBERS (R_MN10300_MAX)
diff --git a/include/elf/ppc.h b/include/elf/ppc.h
index f80a1e8a3..8e27855be 100644
--- a/include/elf/ppc.h
+++ b/include/elf/ppc.h
@@ -131,25 +131,6 @@ START_RELOC_NUMBERS (elf_ppc_reloc_type)
RELOC_NUMBER (R_PPC_EMB_BIT_FLD, 115)
RELOC_NUMBER (R_PPC_EMB_RELSDA, 116)
-/* PowerPC VLE relocations. */
- RELOC_NUMBER (R_PPC_VLE_REL8, 216)
- RELOC_NUMBER (R_PPC_VLE_REL15, 217)
- RELOC_NUMBER (R_PPC_VLE_REL24, 218)
- RELOC_NUMBER (R_PPC_VLE_LO16A, 219)
- RELOC_NUMBER (R_PPC_VLE_LO16D, 220)
- RELOC_NUMBER (R_PPC_VLE_HI16A, 221)
- RELOC_NUMBER (R_PPC_VLE_HI16D, 222)
- RELOC_NUMBER (R_PPC_VLE_HA16A, 223)
- RELOC_NUMBER (R_PPC_VLE_HA16D, 224)
- RELOC_NUMBER (R_PPC_VLE_SDA21, 225)
- RELOC_NUMBER (R_PPC_VLE_SDA21_LO, 226)
- RELOC_NUMBER (R_PPC_VLE_SDAREL_LO16A, 227)
- RELOC_NUMBER (R_PPC_VLE_SDAREL_LO16D, 228)
- RELOC_NUMBER (R_PPC_VLE_SDAREL_HI16A, 229)
- RELOC_NUMBER (R_PPC_VLE_SDAREL_HI16D, 230)
- RELOC_NUMBER (R_PPC_VLE_SDAREL_HA16A, 231)
- RELOC_NUMBER (R_PPC_VLE_SDAREL_HA16D, 232)
-
/* Support STT_GNU_IFUNC plt calls. */
RELOC_NUMBER (R_PPC_IRELATIVE, 248)
@@ -185,11 +166,9 @@ END_RELOC_NUMBERS (R_PPC_max)
#define EF_PPC_RELOCATABLE 0x00010000 /* PowerPC -mrelocatable flag. */
#define EF_PPC_RELOCATABLE_LIB 0x00008000 /* PowerPC -mrelocatable-lib flag. */
-/* Processor specific program headers, p_flags field. */
-#define PF_PPC_VLE 0x10000000 /* PowerPC VLE. */
-
-/* Processor specific section headers, sh_flags field. */
-#define SHF_PPC_VLE 0x10000000 /* PowerPC VLE text section. */
+/* This bit is reserved by BFD for processor specific stuff. Name
+ it properly so that we can easily stay consistent elsewhere. */
+#define SEC_PPC_VLE SEC_TIC54X_BLOCK
/* Processor specific section headers, sh_type field. */
diff --git a/include/elf/s390.h b/include/elf/s390.h
index a5b4217bc..807b7e8e0 100644
--- a/include/elf/s390.h
+++ b/include/elf/s390.h
@@ -119,7 +119,6 @@ START_RELOC_NUMBERS (elf_s390_reloc_type)
RELOC_NUMBER (R_390_GOTPLT20, 59) /* 20 bit offset to jump slot. */
RELOC_NUMBER (R_390_TLS_GOTIE20, 60)/* 20 bit GOT offset for statis TLS
block offset. */
- RELOC_NUMBER (R_390_IRELATIVE, 61) /* IFUNC relocation. */
/* These are GNU extensions to enable C++ vtable garbage collection. */
RELOC_NUMBER (R_390_GNU_VTINHERIT, 250)
RELOC_NUMBER (R_390_GNU_VTENTRY, 251)
diff --git a/include/elf/sparc.h b/include/elf/sparc.h
index d182f4d76..fc8a765a6 100644
--- a/include/elf/sparc.h
+++ b/include/elf/sparc.h
@@ -162,7 +162,6 @@ START_RELOC_NUMBERS (elf_sparc_reloc_type)
RELOC_NUMBER (R_SPARC_H34, 85)
RELOC_NUMBER (R_SPARC_SIZE32, 86)
RELOC_NUMBER (R_SPARC_SIZE64, 87)
- RELOC_NUMBER (R_SPARC_WDISP10, 88)
EMPTY_RELOC (R_SPARC_max_std)
@@ -213,19 +212,5 @@ enum
#define ELF_SPARC_HWCAP_IMA 0x00008000 /* integer multiply-add */
#define ELF_SPARC_HWCAP_ASI_CACHE_SPARING \
0x00010000 /* cache sparing ASIs */
-#define ELF_SPARC_HWCAP_AES 0x00020000 /* AES crypto insns */
-#define ELF_SPARC_HWCAP_DES 0x00040000 /* DES crypto insns */
-#define ELF_SPARC_HWCAP_KASUMI 0x00080000 /* KASUMI crypto insns */
-#define ELF_SPARC_HWCAP_CAMELLIA \
- 0x00100000 /* CAMELLIA crypto insns */
-#define ELF_SPARC_HWCAP_MD5 0x00200000 /* MD5 hashing insns */
-#define ELF_SPARC_HWCAP_SHA1 0x00400000 /* SHA1 hashing insns */
-#define ELF_SPARC_HWCAP_SHA256 0x00800000 /* SHA256 hashing insns */
-#define ELF_SPARC_HWCAP_SHA512 0x01000000 /* SHA512 hashing insns */
-#define ELF_SPARC_HWCAP_MPMUL 0x02000000 /* Multiple Precision Multiply */
-#define ELF_SPARC_HWCAP_MONT 0x04000000 /* Montgomery Mult/Sqrt */
-#define ELF_SPARC_HWCAP_PAUSE 0x08000000 /* Pause insn */
-#define ELF_SPARC_HWCAP_CBCOND 0x10000000 /* Compare and Branch insns */
-#define ELF_SPARC_HWCAP_CRC32C 0x20000000 /* CRC32C insn */
#endif /* _ELF_SPARC_H */
diff --git a/include/elf/tilegx.h b/include/elf/tilegx.h
index 004ce28ca..d276f2e5f 100644
--- a/include/elf/tilegx.h
+++ b/include/elf/tilegx.h
@@ -104,37 +104,48 @@ START_RELOC_NUMBERS (elf_tilegx_reloc_type)
RELOC_NUMBER (R_TILEGX_IMM16_X0_HW0_GOT, 64)
RELOC_NUMBER (R_TILEGX_IMM16_X1_HW0_GOT, 65)
- /* Relocs 66-71 are currently not defined. */
-
+ RELOC_NUMBER (R_TILEGX_IMM16_X0_HW1_GOT, 66)
+ RELOC_NUMBER (R_TILEGX_IMM16_X1_HW1_GOT, 67)
+ RELOC_NUMBER (R_TILEGX_IMM16_X0_HW2_GOT, 68)
+ RELOC_NUMBER (R_TILEGX_IMM16_X1_HW2_GOT, 69)
+ RELOC_NUMBER (R_TILEGX_IMM16_X0_HW3_GOT, 70)
+ RELOC_NUMBER (R_TILEGX_IMM16_X1_HW3_GOT, 71)
RELOC_NUMBER (R_TILEGX_IMM16_X0_HW0_LAST_GOT, 72)
RELOC_NUMBER (R_TILEGX_IMM16_X1_HW0_LAST_GOT, 73)
RELOC_NUMBER (R_TILEGX_IMM16_X0_HW1_LAST_GOT, 74)
RELOC_NUMBER (R_TILEGX_IMM16_X1_HW1_LAST_GOT, 75)
- /* Relocs 76-77 are currently not defined. */
+ RELOC_NUMBER (R_TILEGX_IMM16_X0_HW2_LAST_GOT, 76)
+ RELOC_NUMBER (R_TILEGX_IMM16_X1_HW2_LAST_GOT, 77)
RELOC_NUMBER (R_TILEGX_IMM16_X0_HW0_TLS_GD, 78)
RELOC_NUMBER (R_TILEGX_IMM16_X1_HW0_TLS_GD, 79)
- RELOC_NUMBER (R_TILEGX_IMM16_X0_HW0_TLS_LE, 80)
- RELOC_NUMBER (R_TILEGX_IMM16_X1_HW0_TLS_LE, 81)
- RELOC_NUMBER (R_TILEGX_IMM16_X0_HW0_LAST_TLS_LE, 82)
- RELOC_NUMBER (R_TILEGX_IMM16_X1_HW0_LAST_TLS_LE, 83)
- RELOC_NUMBER (R_TILEGX_IMM16_X0_HW1_LAST_TLS_LE, 84)
- RELOC_NUMBER (R_TILEGX_IMM16_X1_HW1_LAST_TLS_LE, 85)
+ RELOC_NUMBER (R_TILEGX_IMM16_X0_HW1_TLS_GD, 80)
+ RELOC_NUMBER (R_TILEGX_IMM16_X1_HW1_TLS_GD, 81)
+ RELOC_NUMBER (R_TILEGX_IMM16_X0_HW2_TLS_GD, 82)
+ RELOC_NUMBER (R_TILEGX_IMM16_X1_HW2_TLS_GD, 83)
+ RELOC_NUMBER (R_TILEGX_IMM16_X0_HW3_TLS_GD, 84)
+ RELOC_NUMBER (R_TILEGX_IMM16_X1_HW3_TLS_GD, 85)
RELOC_NUMBER (R_TILEGX_IMM16_X0_HW0_LAST_TLS_GD, 86)
RELOC_NUMBER (R_TILEGX_IMM16_X1_HW0_LAST_TLS_GD, 87)
RELOC_NUMBER (R_TILEGX_IMM16_X0_HW1_LAST_TLS_GD, 88)
RELOC_NUMBER (R_TILEGX_IMM16_X1_HW1_LAST_TLS_GD, 89)
- /* Relocs 90-91 are currently not defined. */
+ RELOC_NUMBER (R_TILEGX_IMM16_X0_HW2_LAST_TLS_GD, 90)
+ RELOC_NUMBER (R_TILEGX_IMM16_X1_HW2_LAST_TLS_GD, 91)
RELOC_NUMBER (R_TILEGX_IMM16_X0_HW0_TLS_IE, 92)
RELOC_NUMBER (R_TILEGX_IMM16_X1_HW0_TLS_IE, 93)
- /* Relocs 94-99 are currently not defined. */
-
+ RELOC_NUMBER (R_TILEGX_IMM16_X0_HW1_TLS_IE, 94)
+ RELOC_NUMBER (R_TILEGX_IMM16_X1_HW1_TLS_IE, 95)
+ RELOC_NUMBER (R_TILEGX_IMM16_X0_HW2_TLS_IE, 96)
+ RELOC_NUMBER (R_TILEGX_IMM16_X1_HW2_TLS_IE, 97)
+ RELOC_NUMBER (R_TILEGX_IMM16_X0_HW3_TLS_IE, 98)
+ RELOC_NUMBER (R_TILEGX_IMM16_X1_HW3_TLS_IE, 99)
RELOC_NUMBER (R_TILEGX_IMM16_X0_HW0_LAST_TLS_IE, 100)
RELOC_NUMBER (R_TILEGX_IMM16_X1_HW0_LAST_TLS_IE, 101)
RELOC_NUMBER (R_TILEGX_IMM16_X0_HW1_LAST_TLS_IE, 102)
RELOC_NUMBER (R_TILEGX_IMM16_X1_HW1_LAST_TLS_IE, 103)
- /* Relocs 104-105 are currently not defined. */
+ RELOC_NUMBER (R_TILEGX_IMM16_X0_HW2_LAST_TLS_IE, 104)
+ RELOC_NUMBER (R_TILEGX_IMM16_X1_HW2_LAST_TLS_IE, 105)
RELOC_NUMBER (R_TILEGX_TLS_DTPMOD64, 106)
RELOC_NUMBER (R_TILEGX_TLS_DTPOFF64, 107)
@@ -143,17 +154,6 @@ START_RELOC_NUMBERS (elf_tilegx_reloc_type)
RELOC_NUMBER (R_TILEGX_TLS_DTPOFF32, 110)
RELOC_NUMBER (R_TILEGX_TLS_TPOFF32, 111)
- RELOC_NUMBER (R_TILEGX_TLS_GD_CALL, 112)
- RELOC_NUMBER (R_TILEGX_IMM8_X0_TLS_GD_ADD, 113)
- RELOC_NUMBER (R_TILEGX_IMM8_X1_TLS_GD_ADD, 114)
- RELOC_NUMBER (R_TILEGX_IMM8_Y0_TLS_GD_ADD, 115)
- RELOC_NUMBER (R_TILEGX_IMM8_Y1_TLS_GD_ADD, 116)
- RELOC_NUMBER (R_TILEGX_TLS_IE_LOAD, 117)
- RELOC_NUMBER (R_TILEGX_IMM8_X0_TLS_ADD, 118)
- RELOC_NUMBER (R_TILEGX_IMM8_X1_TLS_ADD, 119)
- RELOC_NUMBER (R_TILEGX_IMM8_Y0_TLS_ADD, 120)
- RELOC_NUMBER (R_TILEGX_IMM8_Y1_TLS_ADD, 121)
-
/* These are GNU extensions to enable C++ vtable garbage collection. */
RELOC_NUMBER (R_TILEGX_GNU_VTINHERIT, 128)
RELOC_NUMBER (R_TILEGX_GNU_VTENTRY, 129)
diff --git a/include/elf/tilepro.h b/include/elf/tilepro.h
index 0079a2fe4..899697f60 100644
--- a/include/elf/tilepro.h
+++ b/include/elf/tilepro.h
@@ -96,14 +96,7 @@ START_RELOC_NUMBERS (elf_tilepro_reloc_type)
RELOC_NUMBER (R_TILEPRO_DEST_IMM8_X1, 55)
- /* Relocs 56-59 are currently not defined. */
-
- RELOC_NUMBER (R_TILEPRO_TLS_GD_CALL, 60)
- RELOC_NUMBER (R_TILEPRO_IMM8_X0_TLS_GD_ADD, 61)
- RELOC_NUMBER (R_TILEPRO_IMM8_X1_TLS_GD_ADD, 62)
- RELOC_NUMBER (R_TILEPRO_IMM8_Y0_TLS_GD_ADD, 63)
- RELOC_NUMBER (R_TILEPRO_IMM8_Y1_TLS_GD_ADD, 64)
- RELOC_NUMBER (R_TILEPRO_TLS_IE_LOAD, 65)
+ /* Relocs 56-65 are currently not defined. */
RELOC_NUMBER (R_TILEPRO_IMM16_X0_TLS_GD, 66)
RELOC_NUMBER (R_TILEPRO_IMM16_X1_TLS_GD, 67)
@@ -127,15 +120,6 @@ START_RELOC_NUMBERS (elf_tilepro_reloc_type)
RELOC_NUMBER (R_TILEPRO_TLS_DTPOFF32, 83)
RELOC_NUMBER (R_TILEPRO_TLS_TPOFF32, 84)
- RELOC_NUMBER (R_TILEPRO_IMM16_X0_TLS_LE, 85)
- RELOC_NUMBER (R_TILEPRO_IMM16_X1_TLS_LE, 86)
- RELOC_NUMBER (R_TILEPRO_IMM16_X0_TLS_LE_LO, 87)
- RELOC_NUMBER (R_TILEPRO_IMM16_X1_TLS_LE_LO, 88)
- RELOC_NUMBER (R_TILEPRO_IMM16_X0_TLS_LE_HI, 89)
- RELOC_NUMBER (R_TILEPRO_IMM16_X1_TLS_LE_HI, 90)
- RELOC_NUMBER (R_TILEPRO_IMM16_X0_TLS_LE_HA, 91)
- RELOC_NUMBER (R_TILEPRO_IMM16_X1_TLS_LE_HA, 92)
-
/* These are GNU extensions to enable C++ vtable garbage collection. */
RELOC_NUMBER (R_TILEPRO_GNU_VTINHERIT, 128)
RELOC_NUMBER (R_TILEPRO_GNU_VTENTRY, 129)
diff --git a/include/elf/xgate.h b/include/elf/xgate.h
deleted file mode 100644
index 33286a8d0..000000000
--- a/include/elf/xgate.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/* XGATE ELF support for BFD.
- Copyright 2010, 2011, 2012 Free Software Foundation, Inc.
-
- This file is part of BFD, the Binary File Descriptor library.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
-
-#ifndef _ELF_XGATE_H
-#define _ELF_XGATE_H
-
-#include "elf/reloc-macros.h"
-
-/* Relocation types. */
-START_RELOC_NUMBERS (elf_xgate_reloc_type)
- RELOC_NUMBER (R_XGATE_NONE, 0)
- RELOC_NUMBER (R_XGATE_8, 1)
- RELOC_NUMBER (R_XGATE_PCREL_8, 2)
- RELOC_NUMBER (R_XGATE_16, 3)
- RELOC_NUMBER (R_XGATE_32, 4)
- RELOC_NUMBER (R_XGATE_PCREL_16, 5)
- /* These are GNU extensions to enable C++ vtable garbage collection. */
- RELOC_NUMBER (R_XGATE_GNU_VTINHERIT, 6)
- RELOC_NUMBER (R_XGATE_GNU_VTENTRY, 7)
-
- RELOC_NUMBER (R_XGATE_24, 8)
- RELOC_NUMBER (R_XGATE_LO16, 9)
- RELOC_NUMBER (R_XGATE_GPAGE, 10)
- RELOC_NUMBER (R_XGATE_PCREL_9, 11)
- RELOC_NUMBER (R_XGATE_PCREL_10, 12)
- RELOC_NUMBER (R_XGATE_IMM8_LO, 13)
- RELOC_NUMBER (R_XGATE_IMM8_HI, 14)
- RELOC_NUMBER (R_XGATE_IMM3, 15)
- RELOC_NUMBER (R_XGATE_IMM4, 16)
- RELOC_NUMBER (R_XGATE_IMM5, 17)
-
- /* GNU extension for linker relaxation.
- Mark beginning of a jump instruction (any form). */
- RELOC_NUMBER (R_XGATE_RL_JUMP, 18)
-
- /* Mark beginning of Gcc relaxation group instruction. */
- RELOC_NUMBER (R_XGATE_RL_GROUP, 19)
-END_RELOC_NUMBERS (R_XGATE_max)
-
-/* Processor specific flags for the ELF header e_flags field. */
-
-/* ABI identification. */
-#define EF_XGATE_ABI 0x00000000F
-
-/* Integers are 32-bit long. */
-#define E_XGATE_I32 0x000000001
-
-/* Doubles are 64-bit long. */
-#define E_XGATE_F64 0x000000002
-
-#define EF_XGATE_MACH_MASK 0xF0
-
-#define EF_XGATE_MACH 0x80 /* XGATE microcontroller. */
-
-#define E_M68HCS12X_GLOBAL 0x100
-
-/* Identify interrupt handlers. This is used by the debugger to
- correctly compute the stack frame. */
-#define STO_XGATE_INTERRUPT 0x40
-
-#endif