aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1998-12-13 16:14:24 +0000
committerGavin Romig-Koch <gavin@redhat.com>1998-12-13 16:14:24 +0000
commitf14397f057f762839f030ff08d49f76e7e3117ca (patch)
tree499db28bd87570e698ef31c4f508f3bd18336971 /include/elf
parent13e50544d54a37665eca7a3fddb046e6481c18ea (diff)
downloadgdb-f14397f057f762839f030ff08d49f76e7e3117ca.zip
gdb-f14397f057f762839f030ff08d49f76e7e3117ca.tar.gz
gdb-f14397f057f762839f030ff08d49f76e7e3117ca.tar.bz2
for bfd:
* archures.c,bfd-in2.h (bfd_mach_mips4121): New. * cpu-mips.c: Added vr4121. * elf32-mips.c (elf_mips_mach): Same. (_bfd_mips_elf_final_write_processing): Same. for gas: * config/tc-mips.c (mips_4121): New. (md_begin,mips_ip,md_longopts,md_parse_option): Add vr4121. for gcc: * config/mips/mips.c (override_options): Add vr4121. * config/mips/t-vr4xxx (MULTILIB_MATCHES): Same. for include/elf: * mips.h (E_MIPS_MACH_4121): New. for include/opcode: * mips.h (INSN_4121): New. for opcodes: * mips-dis.c (set_mips_isa_type): Add bfd_mach_mips4121. (_print_insn_mips): Same. * mips-opc.c: Add vr4121. for sim/mips: * configure.in,mips.igen,vr.igen: Add vr4121. * configure: Rebuilt.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/.Sanitize28
-rw-r--r--include/elf/ChangeLog10
-rw-r--r--include/elf/mips.h7
3 files changed, 45 insertions, 0 deletions
diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize
index b14ebd7..f2a44e7 100644
--- a/include/elf/.Sanitize
+++ b/include/elf/.Sanitize
@@ -192,6 +192,34 @@ else
done
fi
+vr4xxx_files="ChangeLog mips.h"
+if ( echo $* | grep keep\-vr4xxx > /dev/null ) ; then
+ for i in $vr4xxx_files ; do
+ if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping vr4xxx stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $vr4xxx_files ; do
+ if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"vr4xxx\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-vr4xxx/,/end-\sanitize\-vr4xxx/d' < $i > new
+ if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+ if [ -n "${verbose}" ] ; then
+ echo Caching $i in .Recover...
+ fi
+ mv $i .Recover
+ fi
+ mv new $i
+ fi
+ done
+fi
+
tx49_files="mips.h"
if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
for i in $tx49_files ; do
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index d588b15..d00a8ee 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,13 @@
+start-sanitize-vr4xxx
+1998-12-13 Gavin Romig-Koch <gavin@cygnus.com>
+
+ * mips.h (E_MIPS_MACH_4121): New.
+
+end-sanitize-vr4xxx
+1998-12-03 Nick Clifton <nickc@cygnus.com>
+
+ * fr30.h: Add R_FR30_48 reloc.
+
1998-12-02 Ulrich Drepper <drepper@cygnus.com>
* mips.h: Add external data type for conflict section.
diff --git a/include/elf/mips.h b/include/elf/mips.h
index 58f7ae8..a895d59 100644
--- a/include/elf/mips.h
+++ b/include/elf/mips.h
@@ -142,6 +142,9 @@ END_RELOC_NUMBERS
/* start-sanitize-tx49 */
#define E_MIPS_MACH_4900 0x00860000
/* end-sanitize-tx49 */
+/* start-sanitize-vr4xxx */
+#define E_MIPS_MACH_4121 0x00870000
+/* end-sanitize-vr4xxx */
/* start-sanitize-cygnus */
#define E_MIPS_MACH_5400 0x00910000
@@ -360,6 +363,10 @@ typedef struct
/* A section of type SHT_MIPS_CONFLICT is an array of indices into the
.dynsym section. Each element has the following type. */
typedef unsigned long Elf32_Conflict;
+typedef unsigned char Elf32_External_Conflict[4];
+
+typedef unsigned long Elf64_Conflict;
+typedef unsigned char Elf64_External_Conflict[8];
/* A section of type SHT_MIPS_GPTAB contains information about how
much GP space would be required for different -G arguments. This