aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-02-01 11:21:32 +0000
committerNick Clifton <nickc@redhat.com>1999-02-01 11:21:32 +0000
commita21a12e39ec04e34a31daccd5e93a213c59b8c3b (patch)
treec7c3d05a7d5ab9129edec1ca67e4dc6acf9db39b /binutils
parent0835d7d74af1417c62347ed9c88cb127ba9b5ea1 (diff)
downloadgdb-a21a12e39ec04e34a31daccd5e93a213c59b8c3b.zip
gdb-a21a12e39ec04e34a31daccd5e93a213c59b8c3b.tar.gz
gdb-a21a12e39ec04e34a31daccd5e93a213c59b8c3b.tar.bz2
Remove v850e sanitization
Diffstat (limited to 'binutils')
-rw-r--r--binutils/.Sanitize28
-rw-r--r--binutils/readelf.c18
2 files changed, 18 insertions, 28 deletions
diff --git a/binutils/.Sanitize b/binutils/.Sanitize
index 87b3465..ad1296f 100644
--- a/binutils/.Sanitize
+++ b/binutils/.Sanitize
@@ -136,34 +136,6 @@ Things-to-lose:
Do-last:
-v850e_files="readelf.c"
-if ( echo $* | grep keep\-v850e > /dev/null ) ; then
- for i in $v850e_files ; do
- if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping v850e stuff in $i
- fi
- fi
- done
-else
- for i in $v850e_files ; do
- if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"v850e\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-v850e/,/end\-sanitize\-v850e/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
-
m32rx_files="readelf.c"
if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
for i in $m32rx_files ; do
diff --git a/binutils/readelf.c b/binutils/readelf.c
index d67f71a..9547520 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -772,6 +772,24 @@ get_machine_flags (e_flags, e_machine)
strcat (buf, ", relocatable-lib");
break;
+ case EM_CYGNUS_V850:
+ switch (e_flags & EF_V850_ARCH)
+ {
+ case E_V850E_ARCH:
+ strcat (buf, ", v850e");
+ break;
+ case E_V850EA_ARCH:
+ strcat (buf, ", v850ea");
+ break;
+ case E_V850_ARCH:
+ strcat (buf, ", v850");
+ break;
+ default:
+ strcat (buf, ", unknown v850 architecture variant");
+ break;
+ }
+ break;
+
case EM_CYGNUS_M32R:
if ((e_flags & EF_M32R_ARCH) == E_M32R_ARCH)
strcat (buf, ", m32r");