Wed Feb 14 16:33:12 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>

* read.c (s_mri_sect): Don't return '\0' in type.  Set all
	appropriate flags in BFD section.

	* configure.in (m68k-*-psos*): New target.
	* configure: Rebuild.
	* config/te-psos.h: New file.
	* config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
	is defined.
This commit is contained in:
Ian Lance Taylor 1996-02-14 21:37:16 +00:00
parent c9e5279f23
commit 8a6f53e91b
5 changed files with 37 additions and 2 deletions

View File

@ -1,3 +1,14 @@
Wed Feb 14 16:33:12 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
* read.c (s_mri_sect): Don't return '\0' in type. Set all
appropriate flags in BFD section.
* configure.in (m68k-*-psos*): New target.
* configure: Rebuild.
* config/te-psos.h: New file.
* config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
is defined.
Wed Feb 14 13:43:24 1996 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (mips_big_got): New static variable.

View File

@ -146,6 +146,7 @@ te-nbsd532.h
te-pc532mach.h
te-pe.h
te-ppcnw.h
te-psos.h
te-sco386.h
te-sun3.h
te-sysv32.h

View File

@ -28,7 +28,7 @@
/* This array holds the chars that always start a comment. If the
pre-processor is disabled, these aren't very useful */
#if defined (OBJ_ELF) || defined (TE_DELTA)
#if (defined (OBJ_ELF) && ! defined (TE_PSOS)) || defined (TE_DELTA)
const char comment_chars[] = "|#";
#else
const char comment_chars[] = "|";

22
gas/config/te-psos.h Normal file
View File

@ -0,0 +1,22 @@
/*
* This file is te-psos.h for embedded systems running pSOS.
* Contributed by Martin Anantharaman (martin@mail.imech.uni-duisburg.de)
*/
#define TE_PSOS
/* Added these, because if we don't know what we're targetting we may
need an assembler version of libgcc, and that will use local
labels. */
#define LOCAL_LABELS_DOLLAR 1
#define LOCAL_LABELS_FB 1
/* This makes GAS more versatile and blocks some ELF'isms in
tc-m68k.h. */
#define REGISTER_PREFIX_OPTIONAL 1
#include "obj-format.h"
/* end of te-psos.h */

View File

@ -226,7 +226,8 @@ changequote([,])dnl
m68k-*-lynxos*) fmt=coff targ=m68kcoff
em=lynx ;;
m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
m68*-apple-aux*) fmt=coff targ=m68kcoff em=aux ;;
m68k-apple-aux*) fmt=coff targ=m68kcoff em=aux ;;
m68k-*-psos*) fmt=elf em=psos;;
m88k-motorola-sysv3*) fmt=coff targ=m88kcoff em=delt88 ;;
m88k-*-coff*) fmt=coff targ=m88kcoff ;;