aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorcvs2svn <>2005-03-25 09:02:31 +0000
committercvs2svn <>2005-03-25 09:02:31 +0000
commit88de2df4445edb74d5c1bd3f1982fc64737e3722 (patch)
treef1b130a36f76d54498b90bf0fa4b67552ca1799e /include/elf
parent71b7b9bff29227610e7699a122f8116c51824b6b (diff)
downloadnewlib-csl-arm-20050325-branchpoint.zip
newlib-csl-arm-20050325-branchpoint.tar.gz
newlib-csl-arm-20050325-branchpoint.tar.bz2
This commit was manufactured by cvs2svn to create branch 'csl-csl-arm-20050325-branchpoint
arm-20050325-branch'. Sprout from binutils-2_16-branch 2005-03-03 11:58:11 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'binutils-' Cherrypick from master 2005-03-25 09:02:30 UTC Paolo Bonzini <pbonzini@redhat.com> '2005-03-25 Paolo Bonzini <bonzini@gnu.org>': ChangeLog Makefile.def Makefile.in Makefile.tpl config/ChangeLog config/gxx-include-dir.m4 configure configure.in djunpack.bat include/ChangeLog include/bfdlink.h include/elf/ChangeLog include/elf/arm.h include/elf/dwarf.h include/elf/m68k.h include/getopt.h include/libiberty.h include/opcode/arm.h include/xtensa-isa.h Delete: config/gcc-version.m4
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog14
-rw-r--r--include/elf/arm.h3
-rw-r--r--include/elf/dwarf.h54
-rw-r--r--include/elf/m68k.h3
4 files changed, 48 insertions, 26 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 91a81b9..b273adb 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,17 @@
+2005-03-23 Ben Elliston <bje@au.ibm.com>
+
+ * dwarf.h: Merge with GCC's dwarf.h.
+
+2005-03-18 C Jaipraash <cjaiprakash@noida.hcltech.com>
+
+ * m68k.h (EF_CFV4E): Define.
+
+2005-03-17 Paul Brook <paul@codesourcery.com>
+ Dan Jacobowitz <dan@codesourcery.com>
+ Mark Mitchell <mark@codesourcery.com>
+
+ * arm.h (PT_ARM_EXIDX): Define.
+
2005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
diff --git a/include/elf/arm.h b/include/elf/arm.h
index 7867829..de3ed06 100644
--- a/include/elf/arm.h
+++ b/include/elf/arm.h
@@ -37,6 +37,9 @@
#define EF_ARM_VFP_FLOAT 0x400
#define EF_ARM_MAVERICK_FLOAT 0x800
+/* Frame unwind information */
+#define PT_ARM_EXIDX (PT_LOPROC + 1)
+
/* Other constants defined in the ARM ELF spec. version B-01. */
#define EF_ARM_SYMSARESORTED 0x04 /* NB conflicts with EF_INTERWORK */
#define EF_ARM_DYNSYMSUSESEGIDX 0x08 /* NB conflicts with EF_APCS26 */
diff --git a/include/elf/dwarf.h b/include/elf/dwarf.h
index f793972..170d60a 100644
--- a/include/elf/dwarf.h
+++ b/include/elf/dwarf.h
@@ -1,25 +1,26 @@
/* Declarations and definitions of codes relating to the DWARF symbolic
debugging information format.
- Written by Ron Guilmette (rfg@ncd.com)
+ Written by Ron Guilmette (rfg@netcom.com)
-Copyright 1992, 1993, 1995, 1999 Free Software Foundation, Inc.
+Copyright 1992, 1993, 1995, 1999, 2005 Free Software Foundation, Inc.
-This file is part of GNU CC.
+This file is part of GCC.
-GNU CC 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, or (at your option)
-any later version.
+GCC 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, or (at your option) any later
+version.
-GNU CC 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.
+GCC 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 GNU CC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+along with GCC; see the file COPYING. If not, write to the Free
+Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA. */
/* This file is derived from the DWARF specification (a public document)
Revision 1.0.1 (April 8, 1992) developed by the UNIX International
@@ -170,8 +171,8 @@ enum dwarf_attribute {
AT_body_end = (0x8050|FORM_ADDR)
};
-#define AT_lo_user 0x8000 /* implementation-defined range start */
-#define AT_hi_user 0xffff /* implementation-defined range end */
+#define AT_lo_user 0x2000 /* implementation-defined range start */
+#define AT_hi_user 0x3ff0 /* implementation-defined range end */
/* Location atom names and codes. */
@@ -182,7 +183,11 @@ enum dwarf_location_atom {
OP_CONST = 0x04,
OP_DEREF2 = 0x05,
OP_DEREF4 = 0x06,
- OP_ADD = 0x07
+ OP_ADD = 0x07,
+
+ /* GNU extensions. */
+
+ OP_MULT = 0x80
};
#define OP_LO_USER 0x80 /* implementation-defined range start */
@@ -217,7 +222,7 @@ enum dwarf_fundamental_type {
/* GNU extensions
The low order byte must indicate the size (in bytes) for the type.
- All of these types will probably break "classic" svr4 SDB */
+ All of these types will probably break "classic" svr4 SDB. */
FT_long_long = 0x8008,
FT_signed_long_long = 0x8108,
@@ -235,6 +240,9 @@ enum dwarf_fundamental_type {
FT_int64 = 0x9908,
FT_signed_int64 = 0x9a08,
FT_unsigned_int64 = 0x9b08,
+ FT_int128 = 0x9c10,
+ FT_signed_int128 = 0x9d10,
+ FT_unsigned_int128 = 0x9e10,
FT_real32 = 0xa004,
FT_real64 = 0xa108,
@@ -280,10 +288,10 @@ enum dwarf_subscr_data_formats {
/* Derived from above for ease of use. */
-#define FMT_CODE(_FUNDAMENTAL_TYPE_P, _UB_CONST_P, _LB_CONST_P) \
+#define FMT_CODE(_FUNDAMENTAL_TYPE_P, _LB_CONST_P, _UB_CONST_P) \
(((_FUNDAMENTAL_TYPE_P) ? 0 : 4) \
- | ((_UB_CONST_P) ? 0 : 2) \
- | ((_LB_CONST_P) ? 0 : 1))
+ | ((_LB_CONST_P) ? 0 : 2) \
+ | ((_UB_CONST_P) ? 0 : 1))
/* Source language names and codes. */
@@ -298,11 +306,7 @@ enum dwarf_source_language {
LANG_FORTRAN90 = 0x00000008,
LANG_PASCAL83 = 0x00000009,
LANG_MODULA2 = 0x0000000a,
-
- /* GNU extensions */
-
- LANG_CHILL = 0x00009af3, /* random value for GNU Chill */
- LANG_JAVA = 0x00009af4 /* random value + 1 for GNU Java */
+ LANG_JAVA = 0x0000000b
};
#define LANG_lo_user 0x00008000 /* implementation-defined range start */
diff --git a/include/elf/m68k.h b/include/elf/m68k.h
index fe66c55..d6bc54f 100644
--- a/include/elf/m68k.h
+++ b/include/elf/m68k.h
@@ -1,5 +1,5 @@
/* MC68k ELF support for BFD.
- Copyright 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2002, 2005 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -54,5 +54,6 @@ END_RELOC_NUMBERS (R_68K_max)
#define EF_CPU32 0x00810000
#define EF_M68000 0x01000000
+#define EF_CFV4E 0x00008000
#endif