* configure.tgt (i386-*-gnu*): Set em=gnu.

* config/te-gnu.h: New file.
	* config/tc-i386.c: Don't use '/' as comment char for TE_GNU.
This commit is contained in:
Alan Modra 2005-11-16 03:44:10 +00:00
parent 86ebace269
commit 3896cfd563
4 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-11-16 Alan Modra <amodra@bigpond.net.au>
* configure.tgt (i386-*-gnu*): Set em=gnu.
* config/te-gnu.h: New file.
* config/tc-i386.c: Don't use '/' as comment char for TE_GNU.
2005-11-16 Alan Modra <amodra@bigpond.net.au>
* config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment.

View File

@ -198,6 +198,7 @@ const char extra_symbol_chars[] = "*%-(["
#if (defined (TE_I386AIX) \
|| ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \
&& !defined (TE_GNU) \
&& !defined (TE_LINUX) \
&& !defined (TE_NETWARE) \
&& !defined (TE_FreeBSD) \

4
gas/config/te-gnu.h Normal file
View File

@ -0,0 +1,4 @@
#define TE_GNU
#define LOCAL_LABELS_FB 1
#include "obj-format.h"

View File

@ -202,7 +202,7 @@ case ${generic_target} in
i386-*-msdosdjgpp* \
| i386-*-go32*) fmt=coff em=go32 ;;
i386-*-rtems*) fmt=elf ;;
i386-*-gnu*) fmt=elf ;;
i386-*-gnu*) fmt=elf em=gnu ;;
i386-*-mach*) fmt=aout em=mach ;;
i386-*-msdos*) fmt=aout ;;
i386-*-moss*) fmt=elf ;;