Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
Add tms320c30 support: * config/tc-tic30.h: New file. * config/tc-tic30.c: New file. * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define TARGET_FORMAT as "coff-tic30". * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets. * Makefile.am: Rebuild dependencies. (CPU_TYPES): Add tic30. (CPU_OBJ_VALID): tic30-aout is valid. (TARGET_CPU_CFILES): Add config/tc-tic30.c. (TARGET_CPU_HFILES): Add config/tc-tic30.h. * configure, Makefile.in: Rebuild.
This commit is contained in:
parent
6d0b44264f
commit
0e034c7751
|
@ -1,3 +1,22 @@
|
|||
Mon Feb 2 18:38:18 1998 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF.
|
||||
|
||||
Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
|
||||
|
||||
Add tms320c30 support:
|
||||
* config/tc-tic30.h: New file.
|
||||
* config/tc-tic30.c: New file.
|
||||
* config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
|
||||
TARGET_FORMAT as "coff-tic30".
|
||||
* configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
|
||||
* Makefile.am: Rebuild dependencies.
|
||||
(CPU_TYPES): Add tic30.
|
||||
(CPU_OBJ_VALID): tic30-aout is valid.
|
||||
(TARGET_CPU_CFILES): Add config/tc-tic30.c.
|
||||
(TARGET_CPU_HFILES): Add config/tc-tic30.h.
|
||||
* configure, Makefile.in: Rebuild.
|
||||
|
||||
Mon Feb 2 10:20:37 1998 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* config/tc-v850.c (md_assemble): Improvements to error messages
|
||||
|
|
|
@ -53,6 +53,7 @@ CPU_TYPES = \
|
|||
sh \
|
||||
sparc \
|
||||
tahoe \
|
||||
tic30 \
|
||||
vax \
|
||||
w65 \
|
||||
v850 \
|
||||
|
@ -82,7 +83,7 @@ CPU_OBJ_VALID = \
|
|||
case $$o in \
|
||||
aout) \
|
||||
case $$c in \
|
||||
a29k | arm | i386 | i860 | m68k | mips | ns32k | sparc | tahoe | vax) \
|
||||
a29k | arm | i386 | i860 | m68k | mips | ns32k | sparc | tahoe | tic30 | vax) \
|
||||
valid=yes ;; \
|
||||
esac ;; \
|
||||
bout) \
|
||||
|
@ -199,6 +200,7 @@ TARGET_CPU_CFILES = \
|
|||
config/tc-sh.c \
|
||||
config/tc-sparc.c \
|
||||
config/tc-tahoe.c \
|
||||
config/tc-tic30.c \
|
||||
config/tc-vax.c \
|
||||
config/tc-w65.c \
|
||||
config/tc-v850.c \
|
||||
|
@ -227,6 +229,7 @@ TARGET_CPU_HFILES = \
|
|||
config/tc-sh.h \
|
||||
config/tc-sparc.h \
|
||||
config/tc-tahoe.h \
|
||||
config/tc-tic30.h \
|
||||
config/tc-vax.h \
|
||||
config/tc-w65.h \
|
||||
config/tc-v850.h \
|
||||
|
@ -827,6 +830,7 @@ subsegs.o: subsegs.c subsegs.h $(INCDIR)/obstack.h
|
|||
symbols.o: symbols.c $(INCDIR)/obstack.h subsegs.h
|
||||
write.o: write.c subsegs.h $(INCDIR)/obstack.h output-file.h
|
||||
gasp.o: gasp.c sb.h macro.h
|
||||
itbl-ops.o: itbl-ops.c itbl-ops.h
|
||||
e-i386coff.o: $(srcdir)/config/e-i386coff.c emul.h \
|
||||
emul-target.h
|
||||
e-i386elf.o: $(srcdir)/config/e-i386elf.c emul.h emul-target.h
|
||||
|
@ -886,10 +890,11 @@ TCDEP_d10v_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
|||
$(INCDIR)/obstack.h $(INCDIR)/opcode/d10v.h $(INCDIR)/elf/ppc.h
|
||||
TCDEP_h8300_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-h8300.h \
|
||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/h8300.h $(BFDDIR)/libcoff.h \
|
||||
$(INCDIR)/bfdlink.h $(INCDIR)/opcode/h8300.h
|
||||
$(INCDIR)/bfdlink.h subsegs.h $(INCDIR)/obstack.h $(INCDIR)/opcode/h8300.h
|
||||
TCDEP_h8300_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-h8300.h $(INCDIR)/opcode/h8300.h
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-h8300.h subsegs.h \
|
||||
$(INCDIR)/obstack.h $(INCDIR)/opcode/h8300.h
|
||||
TCDEP_h8500_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-h8500.h \
|
||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/h8500.h $(BFDDIR)/libcoff.h \
|
||||
$(INCDIR)/bfdlink.h subsegs.h $(INCDIR)/obstack.h $(srcdir)/../opcodes/h8500-opc.h
|
||||
|
@ -1028,7 +1033,7 @@ TCDEP_sparc_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-sparc.h \
|
|||
TCDEP_sparc_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-sparc.h subsegs.h \
|
||||
$(INCDIR)/obstack.h $(INCDIR)/opcode/sparc.h
|
||||
$(INCDIR)/obstack.h $(INCDIR)/opcode/sparc.h $(INCDIR)/elf/sparc.h
|
||||
TCDEP_tahoe_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-tahoe.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/obstack.h \
|
||||
$(INCDIR)/opcode/tahoe.h
|
||||
|
@ -1039,6 +1044,14 @@ TCDEP_tahoe_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
|||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-tahoe.h $(INCDIR)/obstack.h \
|
||||
$(INCDIR)/opcode/tahoe.h
|
||||
TCDEP_tic30_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-tic30.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/opcode/tic30.h
|
||||
TCDEP_tic30_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-tic30.h \
|
||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/tic30.h $(BFDDIR)/libcoff.h \
|
||||
$(INCDIR)/bfdlink.h $(INCDIR)/opcode/tic30.h
|
||||
TCDEP_tic30_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-tic30.h $(INCDIR)/opcode/tic30.h
|
||||
TCDEP_vax_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-vax.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(srcdir)/config/vax-inst.h \
|
||||
$(INCDIR)/obstack.h $(INCDIR)/opcode/vax.h
|
||||
|
@ -1277,6 +1290,16 @@ OBJDEP_tahoe_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
|||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-tahoe.h subsegs.h \
|
||||
$(INCDIR)/obstack.h $(INCDIR)/aout/aout64.h
|
||||
OBJDEP_tic30_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-tic30.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
|
||||
$(INCDIR)/obstack.h
|
||||
OBJDEP_tic30_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-tic30.h \
|
||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/tic30.h $(BFDDIR)/libcoff.h \
|
||||
$(INCDIR)/bfdlink.h $(INCDIR)/obstack.h subsegs.h
|
||||
OBJDEP_tic30_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-tic30.h subsegs.h \
|
||||
$(INCDIR)/obstack.h $(INCDIR)/aout/aout64.h
|
||||
OBJDEP_vax_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-vax.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
|
||||
$(INCDIR)/obstack.h
|
||||
|
@ -1465,6 +1488,14 @@ DEP_tahoe_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-tahoe.h \
|
|||
DEP_tahoe_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-tahoe.h
|
||||
DEP_tic30_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-tic30.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h
|
||||
DEP_tic30_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-tic30.h \
|
||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/tic30.h $(BFDDIR)/libcoff.h \
|
||||
$(INCDIR)/bfdlink.h
|
||||
DEP_tic30_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-tic30.h
|
||||
DEP_vax_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-vax.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h
|
||||
DEP_vax_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-vax.h \
|
||||
|
|
|
@ -127,6 +127,7 @@ CPU_TYPES = \
|
|||
sh \
|
||||
sparc \
|
||||
tahoe \
|
||||
tic30 \
|
||||
vax \
|
||||
w65 \
|
||||
v850 \
|
||||
|
@ -156,7 +157,7 @@ CPU_OBJ_VALID = \
|
|||
case $$o in \
|
||||
aout) \
|
||||
case $$c in \
|
||||
a29k | arm | i386 | i860 | m68k | mips | ns32k | sparc | tahoe | vax) \
|
||||
a29k | arm | i386 | i860 | m68k | mips | ns32k | sparc | tahoe | tic30 | vax) \
|
||||
valid=yes ;; \
|
||||
esac ;; \
|
||||
bout) \
|
||||
|
@ -273,6 +274,7 @@ TARGET_CPU_CFILES = \
|
|||
config/tc-sh.c \
|
||||
config/tc-sparc.c \
|
||||
config/tc-tahoe.c \
|
||||
config/tc-tic30.c \
|
||||
config/tc-vax.c \
|
||||
config/tc-w65.c \
|
||||
config/tc-v850.c \
|
||||
|
@ -301,6 +303,7 @@ TARGET_CPU_HFILES = \
|
|||
config/tc-sh.h \
|
||||
config/tc-sparc.h \
|
||||
config/tc-tahoe.h \
|
||||
config/tc-tic30.h \
|
||||
config/tc-vax.h \
|
||||
config/tc-w65.h \
|
||||
config/tc-v850.h \
|
||||
|
@ -534,10 +537,11 @@ TCDEP_d10v_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
|||
$(INCDIR)/obstack.h $(INCDIR)/opcode/d10v.h $(INCDIR)/elf/ppc.h
|
||||
TCDEP_h8300_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-h8300.h \
|
||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/h8300.h $(BFDDIR)/libcoff.h \
|
||||
$(INCDIR)/bfdlink.h $(INCDIR)/opcode/h8300.h
|
||||
$(INCDIR)/bfdlink.h subsegs.h $(INCDIR)/obstack.h $(INCDIR)/opcode/h8300.h
|
||||
TCDEP_h8300_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-h8300.h $(INCDIR)/opcode/h8300.h
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-h8300.h subsegs.h \
|
||||
$(INCDIR)/obstack.h $(INCDIR)/opcode/h8300.h
|
||||
TCDEP_h8500_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-h8500.h \
|
||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/h8500.h $(BFDDIR)/libcoff.h \
|
||||
$(INCDIR)/bfdlink.h subsegs.h $(INCDIR)/obstack.h $(srcdir)/../opcodes/h8500-opc.h
|
||||
|
@ -676,7 +680,7 @@ TCDEP_sparc_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-sparc.h \
|
|||
TCDEP_sparc_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-sparc.h subsegs.h \
|
||||
$(INCDIR)/obstack.h $(INCDIR)/opcode/sparc.h
|
||||
$(INCDIR)/obstack.h $(INCDIR)/opcode/sparc.h $(INCDIR)/elf/sparc.h
|
||||
TCDEP_tahoe_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-tahoe.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/obstack.h \
|
||||
$(INCDIR)/opcode/tahoe.h
|
||||
|
@ -687,6 +691,14 @@ TCDEP_tahoe_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
|||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-tahoe.h $(INCDIR)/obstack.h \
|
||||
$(INCDIR)/opcode/tahoe.h
|
||||
TCDEP_tic30_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-tic30.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/opcode/tic30.h
|
||||
TCDEP_tic30_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-tic30.h \
|
||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/tic30.h $(BFDDIR)/libcoff.h \
|
||||
$(INCDIR)/bfdlink.h $(INCDIR)/opcode/tic30.h
|
||||
TCDEP_tic30_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-tic30.h $(INCDIR)/opcode/tic30.h
|
||||
TCDEP_vax_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-vax.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(srcdir)/config/vax-inst.h \
|
||||
$(INCDIR)/obstack.h $(INCDIR)/opcode/vax.h
|
||||
|
@ -925,6 +937,16 @@ OBJDEP_tahoe_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
|||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-tahoe.h subsegs.h \
|
||||
$(INCDIR)/obstack.h $(INCDIR)/aout/aout64.h
|
||||
OBJDEP_tic30_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-tic30.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
|
||||
$(INCDIR)/obstack.h
|
||||
OBJDEP_tic30_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-tic30.h \
|
||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/tic30.h $(BFDDIR)/libcoff.h \
|
||||
$(INCDIR)/bfdlink.h $(INCDIR)/obstack.h subsegs.h
|
||||
OBJDEP_tic30_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-tic30.h subsegs.h \
|
||||
$(INCDIR)/obstack.h $(INCDIR)/aout/aout64.h
|
||||
OBJDEP_vax_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-vax.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
|
||||
$(INCDIR)/obstack.h
|
||||
|
@ -1113,6 +1135,14 @@ DEP_tahoe_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-tahoe.h \
|
|||
DEP_tahoe_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-tahoe.h
|
||||
DEP_tic30_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-tic30.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h
|
||||
DEP_tic30_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-tic30.h \
|
||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/tic30.h $(BFDDIR)/libcoff.h \
|
||||
$(INCDIR)/bfdlink.h
|
||||
DEP_tic30_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(srcdir)/config/tc-tic30.h
|
||||
DEP_vax_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-vax.h \
|
||||
$(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h
|
||||
DEP_vax_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-vax.h \
|
||||
|
@ -1937,6 +1967,7 @@ subsegs.o: subsegs.c subsegs.h $(INCDIR)/obstack.h
|
|||
symbols.o: symbols.c $(INCDIR)/obstack.h subsegs.h
|
||||
write.o: write.c subsegs.h $(INCDIR)/obstack.h output-file.h
|
||||
gasp.o: gasp.c sb.h macro.h
|
||||
itbl-ops.o: itbl-ops.c itbl-ops.h
|
||||
e-i386coff.o: $(srcdir)/config/e-i386coff.c emul.h \
|
||||
emul-target.h
|
||||
e-i386elf.o: $(srcdir)/config/e-i386elf.c emul.h emul-target.h
|
||||
|
|
14
gas/NEWS
14
gas/NEWS
|
@ -1,5 +1,16 @@
|
|||
-*- text -*-
|
||||
|
||||
Changes in 2.9:
|
||||
|
||||
Texas Instruction c30 (tms320c30) support added.
|
||||
|
||||
Added --gstabs option to generates stabs debugging information.
|
||||
|
||||
The -a option takes a new suboption, m (e.g., -alm) to expand macros in a
|
||||
listing.
|
||||
|
||||
Added -MD option to print dependencies.
|
||||
|
||||
Changes in 2.8:
|
||||
|
||||
BeOS support added.
|
||||
|
@ -22,6 +33,9 @@ The ELF assembler has a new pseudo-op, .symver, used for symbol versioning.
|
|||
The -a option takes a new suboption, c (e.g., -alc), to skip false conditionals
|
||||
in listings.
|
||||
|
||||
Added new pseudo-op, .equiv; it's like .equ, except that it is an error if the
|
||||
symbol is already defined.
|
||||
|
||||
Changes in 2.7:
|
||||
|
||||
The PowerPC assembler now allows the use of symbolic register names (r0, etc.)
|
||||
|
|
|
@ -135,6 +135,8 @@ tc-sparc.c
|
|||
tc-sparc.h
|
||||
tc-tahoe.c
|
||||
tc-tahoe.h
|
||||
tc-tic30.c
|
||||
tc-tic30.h
|
||||
tc-v850.c
|
||||
tc-v850.h
|
||||
tc-vax.c
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,53 @@
|
|||
/* tc-tic30.h -- Header file for tc-tic30.c
|
||||
Copyright (C) 1998 Free Software Foundation.
|
||||
Contributed by Steven Haworth (steve@pm.cse.rmit.edu.au)
|
||||
|
||||
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. */
|
||||
|
||||
#ifndef _TC_TIC30_H_
|
||||
#define _TC_TIC30_H_
|
||||
|
||||
#define TC_TIC30 1
|
||||
|
||||
#ifdef OBJ_AOUT
|
||||
#define TARGET_FORMAT "a.out-tic30"
|
||||
#endif
|
||||
|
||||
#define TARGET_ARCH bfd_arch_tic30
|
||||
#define TARGET_BYTES_BIG_ENDIAN 1
|
||||
|
||||
char *output_invalid PARAMS ((int c));
|
||||
|
||||
#define END_OF_INSN '\0'
|
||||
#define MAX_OPERANDS 6
|
||||
#define DIRECT_REFERENCE '@'
|
||||
#define INDIRECT_REFERENCE '*'
|
||||
#define PARALLEL_SEPARATOR '|'
|
||||
#define INSN_SIZE 4
|
||||
|
||||
/* Define this to 1 if you want the debug output to be on stdout,
|
||||
otherwise stderr will be used. If stderr is used, there will be a
|
||||
better synchronisation with the as_bad outputs, but you can't
|
||||
capture the output. */
|
||||
#define USE_STDOUT 0
|
||||
|
||||
#define tc_unrecognized_line tic30_unrecognized_line
|
||||
|
||||
extern int tic30_unrecognized_line PARAMS ((int));
|
||||
|
||||
#endif
|
|
@ -1527,6 +1527,8 @@ EOF
|
|||
sparc-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
|
||||
sparc-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
|
||||
|
||||
tic30-*-*aout*) fmt=aout bfd_gas=yes ;;
|
||||
tic30-*-*coff*) fmt=coff bfd_gas=yes ;;
|
||||
# start-sanitize-tic80
|
||||
tic80-*-*) fmt=coff ;;
|
||||
# end-sanitize-tic80
|
||||
|
@ -1585,7 +1587,7 @@ EOF
|
|||
|
||||
# do we need the opcodes library?
|
||||
case ${cpu_type} in
|
||||
vax | i386)
|
||||
vax | i386 | tic30)
|
||||
;;
|
||||
*)
|
||||
need_opcodes=yes
|
||||
|
@ -1967,7 +1969,7 @@ EOF
|
|||
# Extract the first word of "gcc", so it can be a program name with args.
|
||||
set dummy gcc; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:1971: checking for $ac_word" >&5
|
||||
echo "configure:1973: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -1996,7 +1998,7 @@ if test -z "$CC"; then
|
|||
# Extract the first word of "cc", so it can be a program name with args.
|
||||
set dummy cc; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:2000: checking for $ac_word" >&5
|
||||
echo "configure:2002: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -2044,7 +2046,7 @@ fi
|
|||
fi
|
||||
|
||||
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
||||
echo "configure:2048: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
||||
echo "configure:2050: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
||||
|
||||
ac_ext=c
|
||||
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
||||
|
@ -2054,11 +2056,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
|
|||
cross_compiling=$ac_cv_prog_cc_cross
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2058 "configure"
|
||||
#line 2060 "configure"
|
||||
#include "confdefs.h"
|
||||
main(){return(0);}
|
||||
EOF
|
||||
if { (eval echo configure:2062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
ac_cv_prog_cc_works=yes
|
||||
# If we can't run a trivial program, we are probably using a cross compiler.
|
||||
if (./conftest; exit) 2>/dev/null; then
|
||||
|
@ -2078,12 +2080,12 @@ if test $ac_cv_prog_cc_works = no; then
|
|||
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
||||
fi
|
||||
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
||||
echo "configure:2082: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
||||
echo "configure:2084: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
||||
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
||||
cross_compiling=$ac_cv_prog_cc_cross
|
||||
|
||||
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
||||
echo "configure:2087: checking whether we are using GNU C" >&5
|
||||
echo "configure:2089: checking whether we are using GNU C" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -2092,7 +2094,7 @@ else
|
|||
yes;
|
||||
#endif
|
||||
EOF
|
||||
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
||||
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
||||
ac_cv_prog_gcc=yes
|
||||
else
|
||||
ac_cv_prog_gcc=no
|
||||
|
@ -2107,7 +2109,7 @@ if test $ac_cv_prog_gcc = yes; then
|
|||
ac_save_CFLAGS="$CFLAGS"
|
||||
CFLAGS=
|
||||
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
||||
echo "configure:2111: checking whether ${CC-cc} accepts -g" >&5
|
||||
echo "configure:2113: checking whether ${CC-cc} accepts -g" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -2140,7 +2142,7 @@ do
|
|||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:2144: checking for $ac_word" >&5
|
||||
echo "configure:2146: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -2172,7 +2174,7 @@ test -n "$YACC" || YACC="yacc"
|
|||
# Extract the first word of "flex", so it can be a program name with args.
|
||||
set dummy flex; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:2176: checking for $ac_word" >&5
|
||||
echo "configure:2178: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -2205,7 +2207,7 @@ then
|
|||
*) ac_lib=l ;;
|
||||
esac
|
||||
echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
|
||||
echo "configure:2209: checking for yywrap in -l$ac_lib" >&5
|
||||
echo "configure:2211: checking for yywrap in -l$ac_lib" >&5
|
||||
ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -2213,7 +2215,7 @@ else
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-l$ac_lib $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2217 "configure"
|
||||
#line 2219 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
|
@ -2224,7 +2226,7 @@ int main() {
|
|||
yywrap()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
|
@ -2247,7 +2249,7 @@ fi
|
|||
fi
|
||||
|
||||
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
||||
echo "configure:2251: checking how to run the C preprocessor" >&5
|
||||
echo "configure:2253: checking how to run the C preprocessor" >&5
|
||||
# On Suns, sometimes $CPP names a directory.
|
||||
if test -n "$CPP" && test -d "$CPP"; then
|
||||
CPP=
|
||||
|
@ -2262,13 +2264,13 @@ else
|
|||
# On the NeXT, cc -E runs the code through the compiler's parser,
|
||||
# not just through cpp.
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2266 "configure"
|
||||
#line 2268 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <assert.h>
|
||||
Syntax Error
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:2272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:2274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
:
|
||||
|
@ -2279,13 +2281,13 @@ else
|
|||
rm -rf conftest*
|
||||
CPP="${CC-cc} -E -traditional-cpp"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2283 "configure"
|
||||
#line 2285 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <assert.h>
|
||||
Syntax Error
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:2289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:2291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
:
|
||||
|
@ -2308,7 +2310,7 @@ fi
|
|||
echo "$ac_t""$CPP" 1>&6
|
||||
|
||||
echo $ac_n "checking lex output file root""... $ac_c" 1>&6
|
||||
echo "configure:2312: checking lex output file root" >&5
|
||||
echo "configure:2314: checking lex output file root" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -2329,7 +2331,7 @@ echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
|
|||
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
|
||||
|
||||
echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
|
||||
echo "configure:2333: checking whether yytext is a pointer" >&5
|
||||
echo "configure:2335: checking whether yytext is a pointer" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -2341,14 +2343,14 @@ echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS $LEXLIB"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2345 "configure"
|
||||
#line 2347 "configure"
|
||||
#include "confdefs.h"
|
||||
`cat $LEX_OUTPUT_ROOT.c`
|
||||
int main() {
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
ac_cv_prog_lex_yytext_pointer=yes
|
||||
else
|
||||
|
@ -2371,7 +2373,7 @@ fi
|
|||
|
||||
|
||||
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
|
||||
echo "configure:2375: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||
echo "configure:2377: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
||||
if test "${enable_maintainer_mode+set}" = set; then
|
||||
enableval="$enable_maintainer_mode"
|
||||
|
@ -2389,19 +2391,19 @@ fi
|
|||
|
||||
|
||||
echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6
|
||||
echo "configure:2393: checking for Cygwin32 environment" >&5
|
||||
echo "configure:2395: checking for Cygwin32 environment" >&5
|
||||
if eval "test \"`echo '$''{'am_cv_cygwin32'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2398 "configure"
|
||||
#line 2400 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
return __CYGWIN32__;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
am_cv_cygwin32=yes
|
||||
else
|
||||
|
@ -2418,19 +2420,19 @@ echo "$ac_t""$am_cv_cygwin32" 1>&6
|
|||
CYGWIN32=
|
||||
test "$am_cv_cygwin32" = yes && CYGWIN32=yes
|
||||
echo $ac_n "checking for Mingw32 environment""... $ac_c" 1>&6
|
||||
echo "configure:2422: checking for Mingw32 environment" >&5
|
||||
echo "configure:2424: checking for Mingw32 environment" >&5
|
||||
if eval "test \"`echo '$''{'am_cv_mingw32'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2427 "configure"
|
||||
#line 2429 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
return __MINGW32__;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
am_cv_mingw32=yes
|
||||
else
|
||||
|
@ -2449,7 +2451,7 @@ test "$am_cv_mingw32" = yes && MINGW32=yes
|
|||
|
||||
|
||||
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
|
||||
echo "configure:2453: checking for executable suffix" >&5
|
||||
echo "configure:2455: checking for executable suffix" >&5
|
||||
if eval "test \"`echo '$''{'am_cv_exeext'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -2478,17 +2480,17 @@ for ac_hdr in string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h e
|
|||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:2482: checking for $ac_hdr" >&5
|
||||
echo "configure:2484: checking for $ac_hdr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2487 "configure"
|
||||
#line 2489 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:2492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:2494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -2518,7 +2520,7 @@ done
|
|||
# Put this here so that autoconf's "cross-compiling" message doesn't confuse
|
||||
# people who are not cross-compiling but are compiling cross-assemblers.
|
||||
echo $ac_n "checking whether compiling a cross-assembler""... $ac_c" 1>&6
|
||||
echo "configure:2522: checking whether compiling a cross-assembler" >&5
|
||||
echo "configure:2524: checking whether compiling a cross-assembler" >&5
|
||||
if test "${host}" = "${target}"; then
|
||||
cross_gas=no
|
||||
else
|
||||
|
@ -2533,19 +2535,19 @@ echo "$ac_t""$cross_gas" 1>&6
|
|||
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
||||
# for constant arguments. Useless!
|
||||
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
|
||||
echo "configure:2537: checking for working alloca.h" >&5
|
||||
echo "configure:2539: checking for working alloca.h" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2542 "configure"
|
||||
#line 2544 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <alloca.h>
|
||||
int main() {
|
||||
char *p = alloca(2 * sizeof(int));
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
ac_cv_header_alloca_h=yes
|
||||
else
|
||||
|
@ -2566,12 +2568,12 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking for alloca""... $ac_c" 1>&6
|
||||
echo "configure:2570: checking for alloca" >&5
|
||||
echo "configure:2572: checking for alloca" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2575 "configure"
|
||||
#line 2577 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
@ -2594,7 +2596,7 @@ int main() {
|
|||
char *p = (char *) alloca(1);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
ac_cv_func_alloca_works=yes
|
||||
else
|
||||
|
@ -2626,12 +2628,12 @@ EOF
|
|||
|
||||
|
||||
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
|
||||
echo "configure:2630: checking whether alloca needs Cray hooks" >&5
|
||||
echo "configure:2632: checking whether alloca needs Cray hooks" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2635 "configure"
|
||||
#line 2637 "configure"
|
||||
#include "confdefs.h"
|
||||
#if defined(CRAY) && ! defined(CRAY2)
|
||||
webecray
|
||||
|
@ -2656,12 +2658,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
|
|||
if test $ac_cv_os_cray = yes; then
|
||||
for ac_func in _getb67 GETB67 getb67; do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:2660: checking for $ac_func" >&5
|
||||
echo "configure:2662: checking for $ac_func" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2665 "configure"
|
||||
#line 2667 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
|
@ -2684,7 +2686,7 @@ $ac_func();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
|
@ -2711,7 +2713,7 @@ done
|
|||
fi
|
||||
|
||||
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
|
||||
echo "configure:2715: checking stack direction for C alloca" >&5
|
||||
echo "configure:2717: checking stack direction for C alloca" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -2719,7 +2721,7 @@ else
|
|||
ac_cv_c_stack_direction=0
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2723 "configure"
|
||||
#line 2725 "configure"
|
||||
#include "confdefs.h"
|
||||
find_stack_direction ()
|
||||
{
|
||||
|
@ -2738,7 +2740,7 @@ main ()
|
|||
exit (find_stack_direction() < 0);
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:2744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
ac_cv_c_stack_direction=1
|
||||
else
|
||||
|
@ -2760,21 +2762,21 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking for inline""... $ac_c" 1>&6
|
||||
echo "configure:2764: checking for inline" >&5
|
||||
echo "configure:2766: checking for inline" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_cv_c_inline=no
|
||||
for ac_kw in inline __inline__ __inline; do
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2771 "configure"
|
||||
#line 2773 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
} $ac_kw foo() {
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_c_inline=$ac_kw; break
|
||||
else
|
||||
|
@ -2804,12 +2806,12 @@ esac
|
|||
for ac_func in unlink remove
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:2808: checking for $ac_func" >&5
|
||||
echo "configure:2810: checking for $ac_func" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2813 "configure"
|
||||
#line 2815 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
|
@ -2832,7 +2834,7 @@ $ac_func();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
|
@ -2861,12 +2863,12 @@ done
|
|||
for ac_func in sbrk
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:2865: checking for $ac_func" >&5
|
||||
echo "configure:2867: checking for $ac_func" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2870 "configure"
|
||||
#line 2872 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
|
@ -2889,7 +2891,7 @@ $ac_func();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
|
@ -2918,12 +2920,12 @@ done
|
|||
# enough, but on some of those systems, the assert macro relies on requoting
|
||||
# working properly!
|
||||
echo $ac_n "checking for working assert macro""... $ac_c" 1>&6
|
||||
echo "configure:2922: checking for working assert macro" >&5
|
||||
echo "configure:2924: checking for working assert macro" >&5
|
||||
if eval "test \"`echo '$''{'gas_cv_assert_ok'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2927 "configure"
|
||||
#line 2929 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
@ -2939,7 +2941,7 @@ assert (a == b
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
gas_cv_assert_ok=yes
|
||||
else
|
||||
|
@ -2980,12 +2982,12 @@ gas_test_headers="
|
|||
"
|
||||
|
||||
echo $ac_n "checking whether declaration is required for strstr""... $ac_c" 1>&6
|
||||
echo "configure:2984: checking whether declaration is required for strstr" >&5
|
||||
echo "configure:2986: checking whether declaration is required for strstr" >&5
|
||||
if eval "test \"`echo '$''{'gas_cv_decl_needed_strstr'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2989 "configure"
|
||||
#line 2991 "configure"
|
||||
#include "confdefs.h"
|
||||
$gas_test_headers
|
||||
int main() {
|
||||
|
@ -2996,7 +2998,7 @@ x = (f) strstr;
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:3002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
gas_cv_decl_needed_strstr=no
|
||||
else
|
||||
|
@ -3017,12 +3019,12 @@ EOF
|
|||
|
||||
|
||||
echo $ac_n "checking whether declaration is required for malloc""... $ac_c" 1>&6
|
||||
echo "configure:3021: checking whether declaration is required for malloc" >&5
|
||||
echo "configure:3023: checking whether declaration is required for malloc" >&5
|
||||
if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3026 "configure"
|
||||
#line 3028 "configure"
|
||||
#include "confdefs.h"
|
||||
$gas_test_headers
|
||||
int main() {
|
||||
|
@ -3033,7 +3035,7 @@ x = (f) malloc;
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:3039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
gas_cv_decl_needed_malloc=no
|
||||
else
|
||||
|
@ -3054,12 +3056,12 @@ EOF
|
|||
|
||||
|
||||
echo $ac_n "checking whether declaration is required for free""... $ac_c" 1>&6
|
||||
echo "configure:3058: checking whether declaration is required for free" >&5
|
||||
echo "configure:3060: checking whether declaration is required for free" >&5
|
||||
if eval "test \"`echo '$''{'gas_cv_decl_needed_free'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3063 "configure"
|
||||
#line 3065 "configure"
|
||||
#include "confdefs.h"
|
||||
$gas_test_headers
|
||||
int main() {
|
||||
|
@ -3070,7 +3072,7 @@ x = (f) free;
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:3076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
gas_cv_decl_needed_free=no
|
||||
else
|
||||
|
@ -3091,12 +3093,12 @@ EOF
|
|||
|
||||
|
||||
echo $ac_n "checking whether declaration is required for sbrk""... $ac_c" 1>&6
|
||||
echo "configure:3095: checking whether declaration is required for sbrk" >&5
|
||||
echo "configure:3097: checking whether declaration is required for sbrk" >&5
|
||||
if eval "test \"`echo '$''{'gas_cv_decl_needed_sbrk'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3100 "configure"
|
||||
#line 3102 "configure"
|
||||
#include "confdefs.h"
|
||||
$gas_test_headers
|
||||
int main() {
|
||||
|
@ -3107,7 +3109,7 @@ x = (f) sbrk;
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:3113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
gas_cv_decl_needed_sbrk=no
|
||||
else
|
||||
|
@ -3131,12 +3133,12 @@ EOF
|
|||
# for it?
|
||||
|
||||
echo $ac_n "checking whether declaration is required for errno""... $ac_c" 1>&6
|
||||
echo "configure:3135: checking whether declaration is required for errno" >&5
|
||||
echo "configure:3137: checking whether declaration is required for errno" >&5
|
||||
if eval "test \"`echo '$''{'gas_cv_decl_needed_errno'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3140 "configure"
|
||||
#line 3142 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#ifdef HAVE_ERRNO_H
|
||||
|
@ -3151,7 +3153,7 @@ x = (f) errno;
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
gas_cv_decl_needed_errno=no
|
||||
else
|
||||
|
|
|
@ -286,6 +286,8 @@ changequote([,])dnl
|
|||
sparc-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
|
||||
sparc-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
|
||||
|
||||
tic30-*-*aout*) fmt=aout bfd_gas=yes ;;
|
||||
tic30-*-*coff*) fmt=coff bfd_gas=yes ;;
|
||||
# start-sanitize-tic80
|
||||
tic80-*-*) fmt=coff ;;
|
||||
# end-sanitize-tic80
|
||||
|
@ -344,7 +346,7 @@ changequote([,])dnl
|
|||
|
||||
# do we need the opcodes library?
|
||||
case ${cpu_type} in
|
||||
vax | i386)
|
||||
vax | i386 | tic30)
|
||||
;;
|
||||
*)
|
||||
need_opcodes=yes
|
||||
|
|
Loading…
Reference in New Issue