]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Added magic numbers for V850E and V850EQ.
authorNick Clifton <nickc@redhat.com>
Mon, 25 Aug 1997 23:07:18 +0000 (23:07 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 25 Aug 1997 23:07:18 +0000 (23:07 +0000)
include/elf/.Sanitize
include/elf/ChangeLog
include/elf/common.h

index 04f05d3bb6545567a63fac5b5db8018113a6fbdb..808dc24e8bffeb776fc24ad86c31c11470eda3b2 100644 (file)
@@ -79,6 +79,58 @@ else
 fi
 
 v850_files="ChangeLog common.h"
+if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
+       for i in $v850_files ; do
+               if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping v850eq stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $v850_files ; do
+               if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"v850eq\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-v850eq/,/end\-sanitize\-v850eq/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
+if ( echo $* | grep keep\-v850e > /dev/null ) ; then
+       for i in $v850_files ; do
+               if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping v850eq stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $v850_files ; do
+               if test ! -d $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
 if ( echo $* | grep keep\-v850 > /dev/null ) ; then
        for i in $v850_files ; do
                if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
index 1b9ad8c77b090cec0e221881914ce39005b05d29..dd6035f207cad92dfd4b12ac605e81d4a8f97eb8 100644 (file)
@@ -1,3 +1,16 @@
+start-sanitize-v850e
+Mon Aug 25 16:06:47 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * common.h (EM_CYGNUS_V850E): backend magic number for v850e.
+start-sanitize-v850eq
+       * common.h (EM_CYGNUS_V850EQ): backend magic number for v850eq.
+end-sanitize-v850eq
+end-sanitize-v850e
+
+Mon Aug 18 11:05:23 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * v850.h (reloc_type): Add 16 bit PC relative relocation.
+
 Fri Aug 15 05:10:09 1997  Doug Evans  <dje@canuck.cygnus.com>
 
        * arc.h (enum reloc): Move here from elf32-arc.c.
index 26f75f27cd0085abf9a6969936d6a818acf183fe..47d5ad5ec6465b942ed0469ed3dcf183551e6519 100644 (file)
@@ -106,15 +106,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 /* Old version of PowerPC, this should be removed shortly. */
 #define EM_PPC_OLD     17
 
-/* start-sanitize-arc */
 /* Cygnus ARC ELF backend.  Written in the absence of an ABI.  */
 #define EM_CYGNUS_ARC 0x9040
-/* end-sanitize-arc */
 
-/* start-sanitize-m32r */
 /* Cygnus M32R ELF backend.  Written in the absence of an ABI.  */
 #define EM_CYGNUS_M32R 0x9041
-/* end-sanitize-m32r */
 
 /* Alpha backend magic number.  Written in the absence of an ABI.  */
 #define EM_ALPHA       0x9026
@@ -130,6 +126,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 /* start-sanitize-v850 */
 /* V850 backend magic number.  Written in the absense of an ABI.  */
 #define EM_CYGNUS_V850 0x9080
+/* start-sanitize-v850e */
+#define EM_CYGNUS_V850E        0x908e
+/* end-sanitize-v850e */
+/* start-sanitize-v850eq */
+#define EM_CYGNUS_V850EQ       0x908f
+/* end-sanitize-v850eq */
 /* end-sanitize-v850 */
 
 /* mn10200 and mn10300 backend magic numbers.
@@ -326,6 +328,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define VER_NEED_NONE          0
 #define VER_NEED_CURRENT       1
 
+/* This flag appears in a Versym structure.  It means that the symbol
+   is hidden, and is only visible with an explicit version number.
+   This is a GNU extension.  */
+
+#define VERSYM_HIDDEN          0x8000
+
+/* This is the mask for the rest of the Versym information.  */
+
+#define VERSYM_VERSION         0x7fff
+
 /* This is a special token which appears as part of a symbol name.  It
    indictes that the rest of the name is actually the name of a
    version node, and is not part of the actual name.  This is a GNU