[P4W-posixcvs] cygwin/include/elf xtensa.h,NONE,1.1.2.1 ChangeLog,1.1.1.1.2.2,1.1.1.1.2.3 arm.h,1.1.
Status: Pre-Alpha
Brought to you by:
earnie
From: <ea...@us...> - 2003-04-18 20:28:08
|
Update of /cvsroot/p4w/cygwin/include/elf In directory sc8-pr-cvs1:/tmp/cvs-serv17902/include/elf Modified Files: Tag: p4wposix ChangeLog arm.h common.h Added Files: Tag: p4wposix xtensa.h Log Message: Sync with HEAD --- NEW FILE: xtensa.h --- /* Xtensa ELF support for BFD. Copyright 2003 Free Software Foundation, Inc. Contributed by Bob Wilson (bw...@te...) at Tensilica. 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* This file holds definitions specific to the Xtensa ELF ABI. */ #ifndef _ELF_XTENSA_H #define _ELF_XTENSA_H #include "elf/reloc-macros.h" /* Relocations. */ START_RELOC_NUMBERS (elf_xtensa_reloc_type) RELOC_NUMBER (R_XTENSA_NONE, 0) RELOC_NUMBER (R_XTENSA_32, 1) RELOC_NUMBER (R_XTENSA_RTLD, 2) RELOC_NUMBER (R_XTENSA_GLOB_DAT, 3) RELOC_NUMBER (R_XTENSA_JMP_SLOT, 4) RELOC_NUMBER (R_XTENSA_RELATIVE, 5) RELOC_NUMBER (R_XTENSA_PLT, 6) RELOC_NUMBER (R_XTENSA_OP0, 8) RELOC_NUMBER (R_XTENSA_OP1, 9) RELOC_NUMBER (R_XTENSA_OP2, 10) RELOC_NUMBER (R_XTENSA_ASM_EXPAND, 11) RELOC_NUMBER (R_XTENSA_ASM_SIMPLIFY, 12) RELOC_NUMBER (R_XTENSA_GNU_VTINHERIT, 15) RELOC_NUMBER (R_XTENSA_GNU_VTENTRY, 16) END_RELOC_NUMBERS (R_XTENSA_max) /* Processor-specific flags for the ELF header e_flags field. */ /* Four-bit Xtensa machine type field. */ #define EF_XTENSA_MACH 0x0000000f /* Various CPU types. */ #define E_XTENSA_MACH 0x00000000 /* Leave bits 0xf0 alone in case we ever have more than 16 cpu types. Highly unlikely, but what the heck. */ #define EF_XTENSA_XT_INSN 0x00000100 #define EF_XTENSA_XT_LIT 0x00000200 /* Processor-specific dynamic array tags. */ /* Offset of the table that records the GOT location(s). */ #define DT_XTENSA_GOT_LOC_OFF 0x70000000 /* Number of entries in the GOT location table. */ #define DT_XTENSA_GOT_LOC_SZ 0x70000001 /* Definitions for instruction and literal property tables. The instruction tables for ".gnu.linkonce.t.*" sections are placed in the following sections: instruction tables: .gnu.linkonce.x.* literal tables: .gnu.linkonce.p.* */ #define XTENSA_INSN_SEC_NAME ".xt.insn" #define XTENSA_LIT_SEC_NAME ".xt.lit" typedef struct property_table_entry_t { bfd_vma address; bfd_vma size; } property_table_entry; #endif /* _ELF_XTENSA_H */ Index: ChangeLog =================================================================== RCS file: /cvsroot/p4w/cygwin/include/elf/ChangeLog,v retrieving revision 1.1.1.1.2.2 retrieving revision 1.1.1.1.2.3 diff -C2 -d -r1.1.1.1.2.2 -r1.1.1.1.2.3 *** ChangeLog 21 Mar 2003 18:56:06 -0000 1.1.1.1.2.2 --- ChangeLog 18 Apr 2003 20:27:34 -0000 1.1.1.1.2.3 *************** *** 1,3 **** ! Mon Mar 3 20:35:58 2003 J"orn Rennecke <joe...@su...> * sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E, --- 1,23 ---- ! 2003-04-15 Rohit Kumar Srivastava <ro...@kp...> ! ! * common.h: Replace occurrances of 'Hitachi' with 'Renesas'. ! ! 2003-04-01 Bob Wilson <bob...@ac...> ! ! * elf/common.h (EM_XTENSA_OLD): Define. ! * elf/xtensa.h: New file. ! ! 2003-04-01 Nick Clifton <ni...@re...> ! ! * arm.h (ARM_NOTE_SECTION): Include .gnu in the string. ! ! 2003-03-25 Stan Cox <sc...@re...> ! Nick Clifton <ni...@re...> ! ! Contribute support for Intel's iWMMXt chip - an ARM variant: ! ! * arm.h (ARM_NOTE_SECTION): Define. ! ! 2003-03-03 J"orn Rennecke <joe...@su...> * sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E, Index: arm.h =================================================================== RCS file: /cvsroot/p4w/cygwin/include/elf/arm.h,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.2.1 diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1 *** arm.h 20 Feb 2003 17:54:01 -0000 1.1.1.1 --- arm.h 18 Apr 2003 20:27:34 -0000 1.1.1.1.2.1 *************** *** 141,143 **** --- 141,146 ---- END_RELOC_NUMBERS (R_ARM_max) + /* The name of the note section used to identify arm variants. */ + #define ARM_NOTE_SECTION ".note.gnu.arm.ident" + #endif /* _ELF_ARM_H */ Index: common.h =================================================================== RCS file: /cvsroot/p4w/cygwin/include/elf/common.h,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.2.1 diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1 *** common.h 20 Feb 2003 17:54:01 -0000 1.1.1.1 --- common.h 18 Apr 2003 20:27:34 -0000 1.1.1.1.2.1 *************** *** 8,26 **** Programming Support Tools". ! 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ --- 8,26 ---- Programming Support Tools". ! 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ *************** *** 28,37 **** that are common to both the internal and external representations. For example, ELFMAG0 is the byte 0x7F in both the internal (in-memory) ! and external (in-file) representations. */ #ifndef _ELF_COMMON_H #define _ELF_COMMON_H ! /* Fields in e_ident[] */ #define EI_MAG0 0 /* File identification byte 0 index */ --- 28,37 ---- that are common to both the internal and external representations. For example, ELFMAG0 is the byte 0x7F in both the internal (in-memory) ! and external (in-file) representations. */ #ifndef _ELF_COMMON_H #define _ELF_COMMON_H ! /* Fields in e_ident[]. */ #define EI_MAG0 0 /* File identification byte 0 index */ *************** *** 127,138 **** #define EM_ARM 40 /* ARM */ #define EM_OLD_ALPHA 41 /* Digital Alpha */ ! #define EM_SH 42 /* Hitachi SH */ #define EM_SPARCV9 43 /* SPARC v9 64-bit */ #define EM_TRICORE 44 /* Siemens Tricore embedded processor */ #define EM_ARC 45 /* ARC Cores */ ! #define EM_H8_300 46 /* Hitachi H8/300 */ ! #define EM_H8_300H 47 /* Hitachi H8/300H */ ! #define EM_H8S 48 /* Hitachi H8S */ ! #define EM_H8_500 49 /* Hitachi H8/500 */ #define EM_IA_64 50 /* Intel IA-64 Processor */ #define EM_MIPS_X 51 /* Stanford MIPS-X */ --- 127,138 ---- #define EM_ARM 40 /* ARM */ #define EM_OLD_ALPHA 41 /* Digital Alpha */ ! #define EM_SH 42 /* Renesas (formerly Hitachi) SH */ #define EM_SPARCV9 43 /* SPARC v9 64-bit */ #define EM_TRICORE 44 /* Siemens Tricore embedded processor */ #define EM_ARC 45 /* ARC Cores */ ! #define EM_H8_300 46 /* Renesas (formerly Hitachi) H8/300 */ ! #define EM_H8_300H 47 /* Renesas (formerly Hitachi) H8/300H */ ! #define EM_H8S 48 /* Renesas (formerly Hitachi) H8S */ ! #define EM_H8_500 49 /* Renesas (formerly Hitachi) H8/500 */ #define EM_IA_64 50 /* Intel IA-64 Processor */ #define EM_MIPS_X 51 /* Stanford MIPS-X */ *************** *** 262,265 **** --- 262,269 ---- /* Vitesse IQ2000. */ #define EM_IQ2000 0xFEBA + + /* Old, unofficial value for Xtensa. */ + #define EM_XTENSA_OLD 0xabc7 + /* See the above comment before you add a new EM_* value here. */ |