public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Add generic vxworks GAS target.
@ 2005-01-05 18:47 Paul Brook
  2005-01-06 16:09 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Brook @ 2005-01-05 18:47 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

The attached patch adds a generic VxWorks GAS target.
Target specific bits to follow shortly.

Tested --enable-targets=all.
Ok?

Paul

2005-01-04  Paul Brook  <paul@codesourcery.com>

 * configure.tgt: Set em=vxworks for *-*-vxworks.
 * config/te-vxworks.h: New File.

[-- Attachment #2: patch.te_vxworks --]
[-- Type: text/x-diff, Size: 1956 bytes --]

Index: gas/configure.tgt
===================================================================
RCS file: /cvs/src/src/gas/configure.tgt,v
retrieving revision 1.1
diff -u -p -r1.1 configure.tgt
--- gas/configure.tgt	22 Dec 2004 15:29:25 -0000	1.1
+++ gas/configure.tgt	31 Dec 2004 14:20:20 -0000
@@ -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
 
Index: gas/config/te-vxworks.h
===================================================================
RCS file: gas/config/te-vxworks.h
diff -N gas/config/te-vxworks.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gas/config/te-vxworks.h	31 Dec 2004 14:20:20 -0000
@@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Add generic vxworks GAS target.
  2005-01-05 18:47 Add generic vxworks GAS target Paul Brook
@ 2005-01-06 16:09 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2005-01-06 16:09 UTC (permalink / raw)
  To: Paul Brook; +Cc: binutils

Hi Paul,

> 2005-01-04  Paul Brook  <paul@codesourcery.com>
> 
>  * configure.tgt: Set em=vxworks for *-*-vxworks.
>  * config/te-vxworks.h: New File.

Approved - please apply.

Cheers
   Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-06 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-05 18:47 Add generic vxworks GAS target Paul Brook
2005-01-06 16:09 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).