aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2005-01-06 16:17:25 +0000
committerPaul Brook <paul@codesourcery.com>2005-01-06 16:17:25 +0000
commitea3eed15006f0ca21825d25dd92b7d4f6cd1560c (patch)
treeef453e55170e707e5033243631564b43324c2bf2
parent5dc1606f1eba80182b4f297ebaa245856a1d9686 (diff)
downloadfsf-binutils-gdb-ea3eed15006f0ca21825d25dd92b7d4f6cd1560c.zip
fsf-binutils-gdb-ea3eed15006f0ca21825d25dd92b7d4f6cd1560c.tar.gz
fsf-binutils-gdb-ea3eed15006f0ca21825d25dd92b7d4f6cd1560c.tar.bz2
* configure.tgt: Set em=vxworks for *-*-vxworks.
* config/te-vxworks.h: New File.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/te-vxworks.h31
-rw-r--r--gas/configure.tgt2
3 files changed, 37 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0d7977c..e900b24 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2005-01-06 Paul Brook <paul@codesourcery.com>
+ * configure.tgt: Set em=vxworks for *-*-vxworks.
+ * config/te-vxworks.h: New File.
+
+2005-01-06 Paul Brook <paul@codesourcery.com>
+
* config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
2005-01-04 Dmitry Diky <diwil@spec.ru>
diff --git a/gas/config/te-vxworks.h b/gas/config/te-vxworks.h
new file mode 100644
index 0000000..a994d10
--- /dev/null
+++ b/gas/config/te-vxworks.h
@@ -0,0 +1,31 @@
+/* te-vxworks.h -- VxWorks target environment declarations.
+ Copyright 2005
+ Free Software Foundation, Inc.
+
+ This file is part of GAS, the GNU Assembler.
+
+ GAS 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, or (at your option)
+ any later version.
+
+ GAS 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 GAS; see the file COPYING. If not, write to the Free
+ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA. */
+
+#define TE_VXWORKS 1
+#define LOCAL_LABELS_DOLLAR 1
+#define LOCAL_LABELS_FB 1
+
+/* these define interfaces */
+#ifdef OBJ_HEADER
+#include OBJ_HEADER
+#else
+#include "obj-format.h"
+#endif
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 085e3e1..60d9387 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -423,7 +423,7 @@ case ${generic_target} in
*-*-sim) fmt=coff ;;
*-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf ;;
*-*-aros*) fmt=elf em=linux bfd_gas=yes ;;
- *-*-vxworks | *-*-windiss) fmt=elf ;;
+ *-*-vxworks | *-*-windiss) fmt=elf em=vxworks ;;
*-*-netware) fmt=elf em=netware ;;
esac