aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/elf/.Sanitize38
-rw-r--r--include/elf/ChangeLog13
-rw-r--r--include/elf/txvu.h30
3 files changed, 77 insertions, 4 deletions
diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize
index 6b93f60..4dfb1a1 100644
--- a/include/elf/.Sanitize
+++ b/include/elf/.Sanitize
@@ -1,5 +1,4 @@
-# Sanitize.in for devo.
-#
+# Sanitize.in for devo/include/elf.
# Each directory to survive it's way into a release will need a file
# like this one called "./.Sanitize". All keyword lines must exist,
@@ -16,6 +15,13 @@
Do-first:
+sky_files=txvu.h
+if ( echo $* | grep keep\-sky > /dev/null ) ; then
+ keep_these_too="${sky_files} ${keep_these_too}"
+else
+ lose_these_too="${sky_files} ${lose_these_too}"
+fi
+
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
@@ -127,6 +133,34 @@ else
done
fi
+sky_files="ChangeLog"
+if ( echo $* | grep keep\-sky > /dev/null ) ; then
+ for i in $sky_files ; do
+ if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping sky stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $sky_files ; do
+ if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"sky\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-sky/,/end\-sanitize\-sky/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
+
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo '***' Some mentions of Sanitize are still left in $i! 1>&2
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 022186b..6e45b30 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,8 +1,17 @@
+start-sanitize-sky
+Mon Dec 22 13:56:28 1997 Doug Evans <devans@canuck.cygnus.com>
+
+ * txvu.h: New file.
+
+end-sanitize-sky
Mon Dec 15 15:07:49 1997 Nick Clifton <nickc@cygnus.com>
- * m32r.h (EF_M32R_ARCH, E_M32R_ARCH, E_M32RX_ARCH): New flags to
+ * m32r.h (EF_M32R_ARCH, E_M32R_ARCH): New flags to
specify machine architecture.
-
+start-sanitize-m32rx
+ (E_M32RX_ARCH): New flag for m32rx architecture.
+end-sanitize-m32rx
+
Fri Dec 5 11:20:08 1997 Nick Clifton <nickc@cygnus.com>
* v850.h: New constants: SHN_V850_SCOMMON, SHN_V850_TCOMMON,
diff --git a/include/elf/txvu.h b/include/elf/txvu.h
new file mode 100644
index 0000000..e6a031d
--- /dev/null
+++ b/include/elf/txvu.h
@@ -0,0 +1,30 @@
+/* TXVU ELF support for BFD.
+ Copyright (C) 1997 Free Software Foundation, Inc.
+
+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 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. */
+
+#ifndef _ELF_TXVU_H
+#define _ELF_TXVU_H
+
+enum reloc_type
+{
+ R_TXVU_NONE = 0,
+ /* insert reloc codes here, see other files for examples */
+ R_TXVU_max
+};
+
+#endif