summaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-12-16 00:01:26 +0000
committerDavid Carlton <carlton@bactrian.org>2003-12-16 00:01:26 +0000
commitfcc929ef86456cb1cda90b1391209eed2446943d (patch)
tree55f9120acd792267f49d4517852e511abf7e552a /include/elf
parent22f9cb80bd3d24529be2eeae452755d9fc5855dc (diff)
downloadgdb-fcc929ef86456cb1cda90b1391209eed2446943d.tar.gz
2003-12-15 David Carlton <carlton@kealia.com>
* Merge with mainline; tag is carlton_dictionary-20031215-merge. * cp-support.c (class_name_from_physname): Add DMGL_PARAMS to call to cplus_demangle. (method_name_from_physname): Ditto.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog9
-rw-r--r--include/elf/common.h2
-rw-r--r--include/elf/m32r.h47
3 files changed, 43 insertions, 15 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index c8e4d950ddf..9fc3b589936 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,12 @@
+2003-12-06 Alan Modra <amodra@bigpond.net.au>
+
+ From Jan Beulich <JBeulich@novell.com>
+ * common.h (DT_HIOS): Correct value.
+
+2003-12-03 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ * elf/m32r.h: Add new machine type m32r2 and instruction modes.
+
2003-11-06 Alan Modra <amodra@bigpond.net.au>
* ppc.h (R_PPC_RELAX32PC): Define.
diff --git a/include/elf/common.h b/include/elf/common.h
index 1a843393d85..3c4fabec6cc 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -533,7 +533,7 @@
values outside of the new range (see below). */
#define OLD_DT_LOOS 0x60000000
#define DT_LOOS 0x6000000d
-#define DT_HIOS 0x6fff0000
+#define DT_HIOS 0x6ffff000
#define OLD_DT_HIOS 0x6fffffff
#define DT_LOPROC 0x70000000
diff --git a/include/elf/m32r.h b/include/elf/m32r.h
index 2cb308d3a94..2663f3abb3c 100644
--- a/include/elf/m32r.h
+++ b/include/elf/m32r.h
@@ -1,21 +1,21 @@
/* M32R ELF support for BFD.
- Copyright 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2003 Free Software Foundation, Inc.
-This file is part of BFD, the Binary File Descriptor library.
+ 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 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.
+ 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. */
+ 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. */
#ifndef _ELF_M32R_H
#define _ELF_M32R_H
@@ -62,6 +62,25 @@ END_RELOC_NUMBERS (R_M32R_max)
/* m32r code. */
#define E_M32R_ARCH 0x00000000
/* m32rx code. */
-#define E_M32RX_ARCH 0x10000000
+#define E_M32RX_ARCH 0x10000000
+/* m32r2 code. */
+#define E_M32R2_ARCH 0x20000000
+
+/* 12 bit m32r new instructions field. */
+#define EF_M32R_INST 0x0FFF0000
+/* Parallel instructions. */
+#define E_M32R_HAS_PARALLEL 0x00010000
+/* Hidden instructions for m32rx:
+ jc, jnc, macwhi-a, macwlo-a, mulwhi-a, mulwlo-a, sth+, shb+, sat, pcmpbz,
+ sc, snc. */
+#define E_M32R_HAS_HIDDEN_INST 0x00020000
+/* New bit instructions:
+ clrpsw, setpsw, bset, bclr, btst. */
+#define E_M32R_HAS_BIT_INST 0x00040000
+/* Floating point instructions. */
+#define E_M32R_HAS_FLOAT_INST 0x00080000
+
+/* 4 bit m32r ignore to check field. */
+#define EF_M32R_IGNORE 0x0000000F
#endif