diff options
author | Roland McGrath <roland@gnu.org> | 2012-01-23 21:42:04 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2012-01-23 21:42:04 +0000 |
commit | 8d63c93e6db16f997f4b65146ee7570ced965af1 (patch) | |
tree | 8f230ccb6de813d4adbca834bb0dd7554ee3301a /gas/configure.tgt | |
parent | e360902bf689e9adf4297e79df59ee92cd35ddc0 (diff) | |
download | gdb-8d63c93e6db16f997f4b65146ee7570ced965af1.zip gdb-8d63c93e6db16f997f4b65146ee7570ced965af1.tar.gz gdb-8d63c93e6db16f997f4b65146ee7570ced965af1.tar.bz2 |
* configure.tgt (i386-*-nacl*): Match it.
* config/te-nacl.h: New file.
* config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
* config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
Use TE_GNU et al case for TE_NACL too.
Diffstat (limited to 'gas/configure.tgt')
-rw-r--r-- | gas/configure.tgt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gas/configure.tgt b/gas/configure.tgt index 7090682..c33bb7a 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -13,7 +13,7 @@ # em emulation; identifies the config/te-* files # Optional output shell variables; these are not always set: -# arch the default architecture; sets DEFAULT_ARCH on some systems +# arch the default architecture; sets DEFAULT_ARCH on some systems # endian "big" or "little"; used on bi-endian systems cpu_type= @@ -43,8 +43,8 @@ case ${cpu} in hppa*) cpu_type=hppa ;; i[3-7]86) cpu_type=i386 arch=i386;; ia64) cpu_type=ia64 ;; - ip2k) cpu_type=ip2k endian=big ;; - iq2000) cpu_type=iq2000 endian=big ;; + ip2k) cpu_type=ip2k endian=big ;; + iq2000) cpu_type=iq2000 endian=big ;; lm32) cpu_type=lm32 ;; m32c) cpu_type=m32c endian=little ;; m32r) cpu_type=m32r endian=big ;; @@ -181,6 +181,7 @@ case ${generic_target} in i386-*-elf) fmt=elf ;; i386-*-kaos*) fmt=elf ;; i386-*-bsd*) fmt=aout em=386bsd ;; + i386-*-nacl*) fmt=elf em=nacl ;; i386-*-netbsd0.8) fmt=aout em=386bsd ;; i386-*-netbsdpe*) fmt=coff em=pe ;; i386-*-netbsd*-gnu* | \ |