diff options
author | Alan Modra <amodra@gmail.com> | 2005-11-16 03:44:10 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-11-16 03:44:10 +0000 |
commit | 3896cfd563f33073b3097ace79886605170cd5c2 (patch) | |
tree | 0d76d61971d7d542574e81ae8f085cb0fadd7028 | |
parent | 86ebace269c1135e257b56090325e3c8f402fa4b (diff) | |
download | gdb-3896cfd563f33073b3097ace79886605170cd5c2.zip gdb-3896cfd563f33073b3097ace79886605170cd5c2.tar.gz gdb-3896cfd563f33073b3097ace79886605170cd5c2.tar.bz2 |
* 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.
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 1 | ||||
-rw-r--r-- | gas/config/te-gnu.h | 4 | ||||
-rw-r--r-- | gas/configure.tgt | 2 |
4 files changed, 12 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 20259b7..285d8ff 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,11 @@ 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. * config/tc-alpha.c (s_alpha_comm): Likewise. Also, remove redundant check. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index bf7a7b0..1828c48 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -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) \ diff --git a/gas/config/te-gnu.h b/gas/config/te-gnu.h new file mode 100644 index 0000000..1d1d442 --- /dev/null +++ b/gas/config/te-gnu.h @@ -0,0 +1,4 @@ +#define TE_GNU +#define LOCAL_LABELS_FB 1 + +#include "obj-format.h" diff --git a/gas/configure.tgt b/gas/configure.tgt index 28a44bb..ce46561 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -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 ;; |