aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
AgeCommit message (Collapse)AuthorFilesLines
1995-09-27 * configure.in: No need to check whether ${cpu_type} is powerpc;Ian Lance Taylor1-1/+0
it never will be. * configure: Rebuild.
1995-09-27Configure support for ppc/PEKim Knuttila1-0/+13
1995-09-25 * configure.in: Fix typo: fmt-elf to fmt=elf.Ian Lance Taylor1-0/+1
1995-09-18 * configure.in: Set endian to little for mips-*-ultrix*.Ian Lance Taylor1-1/+1
* configure: Rebuild.
1995-09-13 * Makefile.in (EXPECT): New variable.Ian Lance Taylor1-13/+11
(CHECKFLAGS): Remove. (site.exp): New target. (check): Rewrite to invoke runtest directly, rather than recurring down into testsuite. (clean-here): Remove testsuite directory. (clean, distclean): Don't recur into testsuite. * configure.in: Don't call AC_CONFIG_SUBDIRS(testsuite). * configure: Rebuild.
1995-08-09Tue Aug 8 23:41:25 1995 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor1-9/+9
* configure.in: Consistently use ${target_cpu_type} rather than ${cpu_type} after the loop. * configure: Rebuild. * Makefile.in (targ-cpu.o): Use @target_cpu_type@ rather than @cpu_type@.
1995-08-08 * config/m68k-parse.y: New file: bison grammar for m68k operands,Ian Lance Taylor1-5/+8
including support for Motorola syntax. * config/m68k-parse.h: New file; definitions shared between m68k-parse.y and tc-m68k.c. * config/tc-m68k.c: Include m68k-parse.h. (enum operand_type): Move to m68k-parse.h, where it is named m68k_operand_type. Rename all uses. Rearrange somewhat. Add FPREG. Rename AOFF to DISP. Rename AINDX to BASE. Rename APODX to POST. Rename APRDX to PRE. Remove AMIND. Rename MSCR to CONTROL. Remove DINDR. (struct m68k_exp): Move to m68k-parse.h. Remove e_beg, e_end and e_seg fields. Rename e_exp to exp. Rename e_siz to size, and change type to enum m68k_size. Change all uses. (enum _register): Move to m68k-parse.h, where it is named m68k_register. Rename all uses. Add ZDATA0-7 and ZADDR0-7. (struct m68k_op): Move to m68k-parse.h. Change all fields. (seg): Don't define. (add_exp): Remove. (FAIL, OK): Remove. (m68k_reg_parse): Move to m68k-parse.y, and rewrite. (SKIP_WHITE, SKIP_W): Remove. (try_moto_index, try_index): Remove. (m68k_ip_op): Move to m68k-parse.y, and rewrite to use grammar. (main): Remove obsolete test function. (m68k_ip): Extensive changes to use new grammar. (get_regs): Remove. (crack_operand): m68k_ip_op now returns 0 on success. (init_table): Add ssp, zd0-7 and za0-7. (md_assemble): Make er const. Correct loop over operands when looking for error message. (md_begin): Set alt_notend_table for '(' and '@'. (get_num): Expression is already parsed. Don't set seg. * configure.in: If cpu_type is m68k, put m68k-parse.o in extra-objects. * configure: Rebuild. * Makefile.in (DISTSTUFF): Add m68k-parse.c. (BISON): Use ../bison/bison if it exists. (BISONFLAGS): Define as empty. (TARG_CPU_DEP_m68k): Depend upon $(srcdir)/config/m68k-parse.h. (m68k-parse.c, m68k-parse.o): New targets.
1995-07-05 * as.c (main): Only use sbrk when HAVE_SBRK defined.Fred Fish1-0/+3
* configure.in: Add test for sbrk. * configure: Regenerate using autoconf 2.4.
1995-07-03 * configure[.in] (i386-*-win32): New host and target.Steve Chamberlain1-2/+4
1995-06-01arm config fix from Richard EarnshawKen Raeburn1-6/+18
1995-05-10First cut at handling multiple emulation modes for some MIPS targets.Ken Raeburn1-173/+343
Mostly works, not entirely. Details in ChangeLog.
1995-05-09Add little endian PowerPC support.Michael Meissner1-4/+9
1995-05-02Add hppa1.1-hp-lites support.Jeff Law1-0/+1
1995-05-02Move cpu-specific dependencies into Makefile.in, instead of having sometimesKen Raeburn1-5/+12
multiple copies in config/*.mt. Select between several make variables with autoconf substitution of cpu_type into a variable name reference.
1995-02-07Add support for powerpc-*-eabi in configure.in, rebuild configure.Michael Meissner1-0/+1
1995-02-06Bryan Ford's changes for 16-bit i386 support, and i386-msdos support.Ken Raeburn1-0/+4
1994-12-19* configure.in: Recognize mips-sony-bsd and mips-dec-bsd, but reject otherKen Raeburn1-2/+9
vendors until we can be sure we're consistent with bfd.
1994-12-08configure.in: fix ns32k-pc532-mach* and mips-sony-bsd* configsKen Raeburn1-1/+6
1994-11-25Rename r16 files to rce, and fix some more .Sanitize typos.Michael Tiemann1-3/+3
1994-11-24Safely check in r16 targets for binutils.Michael Tiemann1-8/+12
1994-11-04* config/tc-m68k.h (TARGET_FORMAT): If TE_NetBSD define asJ.T. Conklin1-1/+3
"a.out-m68k-netbsd". * config/tc-sparc.h (TARGET_FORMAT): If TE_NetBSD define as "a.out-sparc-netbsd". * config/te-nbsd.h: New file, NetBSD target emulation * config/te-netbsd.h: Removed. * configure.in (i[345]86-*-netbsd*,m68*-*-netbsd*,sparc*-*-netbsd*): Set bfd_gas. Use nbsd emulation.
1994-11-03Changes from net 2.5.2 release branch:Ken Raeburn1-30/+30
* configure.in: Put AC_DEFINE(sparcv9) on its own line, so that the shell variable settings associated with it are permanent. For CPUs requiring bfd_gas=yes, select it based on CPU only, not individual target names. Handle m68k-hp-hpux*, not just -hpux. * config/tc-z8k.c (tc_coff_symbol_emit_hook): Add dummy argument to match prototype in obj-coff.h. * configure.in: Skip tests for defining WANT_FOPEN_BIN and IBM_COMPILER_SUX. * acconfig.h: Deleted them. * configure, conf.in: Rebuild with autoconf 2.0. * config/go32.cfg, config/vms-conf.h: Updated. * config/tc-m68k.c (md_apply_fix_2, md_convert_frag_1): Always use IBM_COMPILER_SUX version of code, with comments indicating why. * listing.c (file_info): Use text mode when opening file for read. Use "r" directly, no macro. * input-file.c (input_file_open): Don't use FOPEN_RT, just use "r". * read.c (s_include): Ditto. * output-file.c (output_file_create): Try both "wb" and "w", don't bother with FOPEN_* macros. * as.h: Don't include fopen-*.h. * config/alpha-opcode.h: Make "ret" with no operands equivalent to "ret zero,(ra)", to match OSF1 and to be consistent with both one-operand forms. Patches from DJ Delorie: * as.h (alloca): undef alloca before defining it just in case * config/go32.cfg: new file for autoconf values * config/te-go32.h: new file * configure.bat: new for autoconf * config/tc-i386.c (md_assemble): Fix typo in GOTPC check; had = for ==. * configure.in: If target_frag doesn't exist, use /dev/null. * as.c (parse_args): For non-VMS systems, re-add `v' to std_shortopts. Add "verbose" to list of long options. * write.c (adjust_reloc_syms): When generating an absolute section symbol as a placeholder, don't mark it as used in a relocation entry, here. * Makefile.in (comparison): Compare using makefile code from gcc, stripped down to discard subdir stuff and adapted to give a non-zero exit status if either file differs.
1994-09-14Do unlink/delete test properly.Ken Raeburn1-3/+1
Replace HO_VMS tests with VMS.
1994-09-13* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall): RewriteKen Raeburn1-13/+11
handling of program_transform_name. * configure.in: Test for "unlink" and "delete", define USE_DELETE_FOR_UNLINK if only the latter is found. Not expected to be triggered on UNIX/POSIX systems. * acconfig.h (USE_DELETE_FOR_UNLINK): Undef here, provide comments. Update for autoconf 1.118: * gdbinit.in: New file, created from old .gdbinit. * .gdbinit: Deleted. * aclocal.m4 (GAS_GDBINIT): Deleted. * configure.in: Don't use it. Instead, generate .gdbinit from gdbinit.in. Don't substitute cpu_type, obj_format, emulation, atof. Switched order of AC_LINK_FILES arguments. Use AC_PREREQ to ensure that older versions of autoconf aren't used. * Makefile.in: Added @configure_input@ line. (configure): Deleted rule. [regenerated conf.in, configure]
1994-09-13Generate .gdbinit file:Ken Raeburn1-0/+2
* aclocal.m4 (GAS_GDBINIT): New macro. * configure.in: Use it. * configure: Regenerated. (using autoconf-1.117)
1994-09-07Don't set bfd_gas for i386-linux a.out configurations.Ken Raeburn1-1/+1
1994-09-07Update for autoconf beta 1.112:Ken Raeburn1-60/+19
* aclocal.m4 (GAS_CHECK_DECL_NEEDED, GAS_WORKING_ASSERT): New macros. * configure.in: Use them. Use AC_ARG_PROGRAM (now provided by autoconf) instead of my hacked-up AC_PROGRAM_TRANSFORM_NAME. Move test for CROSS_COMPILE just before AC_FUNC_ALLOCA, and emit a message to try to ease confusion about autoconf's "cross-compiling" message. * acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_FREE, NEED_DECLARATION_ERRNO): Renamed from NEED_*_DECLARATION. * configure, conf.in: Regenerated.
1994-09-07 * configure.in: Check ${host} and ${target} rather thanIan Lance Taylor1-2/+2
${host_canon} and ${target_canon}. * configure: Likewise.
1994-09-05ARM Acorn/RISCiX target and host patches from Richard EarnshawKen Raeburn1-8/+17
1994-08-31* Makefile.in (prefix, exec_prefix): Use @-subtitutions.Ken Raeburn1-15/+23
* aclocal.m4 (AC_OUTPUT_LINKS): Deleted redefinition, since autoconf 1.109 has this fixed. * configure.in: Don't change quote characters around AC_MSG_ERROR invocation. Don't use AC_HEADER_STDC, since it requires running a program. Cache NEED_*_DECLARATION values. * configure, conf.in: Regenerated with a modified autoconf 1.109.
1994-08-31 * configure.in, configure: Initialize bfd_gas to no.Ian Lance Taylor1-0/+1
1994-08-28Conversion to autoconf:Ken Raeburn1-163/+177
* acconfig.h, aclocal.m4: New files. * configure.in: Rewritten (except for some target-specific code) for autoconf. * conf.in, configure: New files, generated from the above. * Makefile.in: Changed magic sequence indicating insertion of makefile fragments. (VPATH, srcdir, CC, LIBS, OBJS dependencies): Use @-substitutions from configure. (LINKED_HEADERS): Deleted a.out.gnu.h, a.out.h, and host.h. (config.status, configure): Rewrite rules. (config-stamp): Depend on conf. Skip variables that configure is now substituting itself. (*.o dependencies): Deleted host.h. (distclean, realclean): Don't delete host.h. * as.c: Don't include stdio.h, string.h, sys/types.h. Include signal.h after as.h. * as.h: Include alloca-conf.h first. Include ctype.h, string.h, strings.h, stdlib.h, unistd.h, sys/types.h, fopen-bin.h, fopen-same.h, as suggested by autoconf test results. [BROKEN_ASSERT]: Don't include assert.h. (strdup): Declare. (volatile, const): Define if not __STDC__ and not already defined. (malloc, realloc) [NEED_MALLOC_DECLARATION]: Declare. (free) [NEED_FREE_DECLARATION]: Declare. * gasp.c: Include config.h, stdlib.h (if HAVE_STDLIB_H). Don't include host.h. (malloc) [NEED_MALLOC_DECLARATION]: Declare. * messages.c: Include as.h first. Include errno.h only if HAVE_ERRNO_H. If HAVE_VARARGS_H and not __STDC__, undefine HAVE_STDARG_H. Set NO_STDARG and NO_VARARGS as appropriate. * doc/Makefile.in (srcdir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use autoconf @-substitutions.
1994-08-24 * config/tc-mips.h (LOCAL_LABEL): Define as 0, for compatibilityIan Lance Taylor1-1/+1
with native MIPS assembler. * configure.in (mips-*-irix*): Don't set emulation. * config/te-irix.h: Remove. With these changes, gas works with mips-tfile.
1994-08-24 * configure.in: Recognize i586 as a synonym for i[34]86.Ian Lance Taylor1-7/+13
1994-06-16For sparc64 target, use sparc cpu files and add sparcv9 to extra_defs. NoKen Raeburn1-3/+2
longer treat sparc64-*-aout* specially.
1994-06-0268060 supportKen Raeburn1-1/+1
1994-06-02(target i386-*-netbsd0.8): Use 386bsd emulation.Ken Raeburn1-29/+24
1994-05-04(i386-*-gnu*): New target, handled like i386-mach.Ken Raeburn1-1/+2
1994-04-27 * configure.in (i386-*-go32): Uses coff now.Steve Chamberlain1-1/+1
* gasp.c (main): Now takes -D on command line. (show_usage): Describe new options.
1994-04-14* Makefile.in: Make $(OBJS) depend on $(ALL_OBJ_DEPS).Ken Raeburn1-7/+7
* configure.in: Set ALL_OBJ_DEPS in output Makefile. Based on suggestions from <BAILEY@hmivax.humgen.upenn.edu> (Charles Bailey): * vmsconf.sh: In generated file, get ".obj" suffix right, build source files from other directories into objects in the current directory, and specify PSECT attributes explicitly to linker. Also added missing label. * Makefile.in (stamp-mk.com): Reference new variable VMS_OTHER_OBJS for list of non-local object files, instead of listing them here. (VMS_OTHER_OBJS): New variable, added more libiberty files. * make-gas.com: Regenerated. * config/ho-vms.h (unlink): Define as delete. * config-gas.com: Fix quoting on TARGET_CANONICAL definition. Delete files before creating them.
1994-04-07 * configure.in (hppa*-*-*elf*): Don't require "-hp-" for theJeff Law1-9/+12
manufacturer.
1994-03-19* configure.in: Eliminated all targets using obj-coff but not definingKen Raeburn1-14/+25
BFD_ASSEMBLER; I think all such targets that are supported will be matched by real CPU-OS combinations earlier in the case statement. (targets *-*-coff*, *-sysv*, *-*-sco*, *-*-sysv32): Deleted. Made some comments about the dpx2 configuration, but left it disabled, since it couldn't be reached before. (target a29k-amd-ebmonold): Deleted.
1994-02-28* configure.in (i960-*-coff, i960-*-vxworks5.*): Use coffbfd, and gas_targetKen Raeburn1-4/+4
ic960coff. * config/ic960coff.mt: New file. * config/obj-coffbfd.h [TC_I960]: Include coff/i960.h. (TARGET_FORMAT) [TC_I960]: Use coff-Intel-little. * config/te-ic960.h (CROSS_COMPILE): Don't undef this. We'll always build little-endian object files. * config/tc-i960.c (md_reloc_size): Don't define at all if BFD or BFD_ASSEMBLER is defined. (mem_fmt): Since COFF doesn't handle callx relocations yet, treat them like normal 32-bit relocations. (md_apply_fix): For callx relocations, store zero. (tc_bout_fix_to_chars): Store symbol idx for all callx relocations, regardless of link-relax setting. (tc_coff_fix2rtype, tc_coff_sizemachdep): New functions. (i960_handle_align) [! OBJ_BOUT]: If link-relax option is selected, print an error message and clear it. * config/tc-i960.h (BFD_ARCH, COFF_FLAGS, COFF_MAGIC, TC_COUNT_RELOC, TC_COFF_FIX2RTYPE, TC_COFF_SIZEMACHDEP, tc_fix_adjustable): New macros. (tc_coff_fix2rtype, tc_coff_sizemachdep): Declare.
1994-02-22Should've got checked in with i386-mach3 config changes.Ken Raeburn1-0/+1
(Already in change log.)
1994-02-18First cut at i386-mach3 support.Ken Raeburn1-0/+1
1994-02-17 Some support for PowerPC ELF, although it isn't in BFD yet.Ian Lance Taylor1-0/+2
* configure.in: If cpu is powerpc*, use ppc. (ppc-*-sysv4*): Use object format elf. * config/tc-ppc.h: Only declare a number of things if OBJ_COFF is defined. (TARGET_ARCH): Make it call ppc_arch. (ppc_arch): Declare. (TARGET_FORMAT): Set based on OBJ_COFF or OBJ_ELF. (NO_STRING_ESCAPES): Define. (LOCAL_LABEL, FAKE_LABEL_NAME): Define for OBJ_ELF. * config/tc-ppc.c: Only define a number of functions of OBJ_COFF is defined. (md_pseudo_table): Most pseudo-ops are OBJ_COFF specific. Added OBJ_COFF specific "bi" and "ei". (md_parse_option): Fix handling of -u. Make -m601 set PPC_OPCODE_601. If OBJ_ELF, accept -V and -Q. (ppc_set_cpu): New function. (ppc_arch): New function. (md_begin): Call ppc_set_cpu. (ppc_insert_operand): For a signed operand accept an unsigned value, for IBM compatibility. (ppc_byte): Don't call stringer for strings; instead, treat two double quotes as a single double quote. (ppc_comm): Set sy_tc.output for a .lcomm symbol. (ppc_biei): New function. (ppc_tc): If not OBJ_COFF, ignore first argument. (ppc_fix_adjustable): Call as_bad_where, not as_bad. (ppc_is_toc_sym): New function. (md_apply_fix): Use ppc_is_toc_sym. Handle BFD_RELOC_16 and BFD_RELOC_8.
1994-02-16* configure.in: Support i960-vxworks versions > 5.0 as coff.Ken Raeburn1-3/+9
Default is still bout if no version is specified.
1994-02-07Enable alpha-*-osf* configuration.Ken Raeburn1-1/+1
1994-02-07 * configure.in (hiux): Fixes from m-kasahr@sramhc.sra.co.JP.Jeff Law1-0/+2
1994-02-05 * configure.in (rs6000*): Use cpu_type ppc.Ian Lance Taylor1-1/+4
(ppc-*-aix*): New target; use coff and force bfd_gas.