aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
AgeCommit message (Collapse)AuthorFilesLines
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.
1994-01-30* configure.in: Handle host vax-*-ultrix* like vax-*-bsd*. Don't bother withKen Raeburn1-1/+4
*-*-ultrix or *-*-sysv*, except *-*-sysv, since only the last has an existing host support file. Do handle vax-bsd and vax-ultrix targets.
1994-01-14Oops. Didn't mean to change reject_dev_configs.Ken Raeburn1-1/+1
1994-01-13* configure.in (i386-*-netbsd*): New target, using te-netbsd.h.Ken Raeburn1-4/+7
(i386-*-netbsd0.8): New target, like 386bsd. * configure.in: Set BFDDEF in Makefile to "define" or "undef". * Makefile.in (config.h): Protect against multiple inclusions. Define or undef BFD_ASSEMBLER as specified by $(BFDDEF). (ALL_CFLAGS): Omit $(BFDDEF).
1993-12-11Recognise SH.Steve Chamberlain1-2/+5
1993-11-17 * configure.in (mips-*-irix5*): New target. Use elf and mips-big.Ian Lance Taylor1-1/+1
1993-11-08netware target support.David Henkel-Wallace1-7/+25
1993-10-21Set bfd_gas for all sparc targets. Added facility for keeping or rejectingKen Raeburn1-62/+88
configurations still under development; default is to assume production environment, and reject configs still being worked on. Mark Elf configurations (except sparc and i386) as developmental. Deleted cases matching some generic names in favor of more specific names. (E.g., when we get Alpha support, we'll still only support VMS for Vax.)
1993-07-20add i386-lynx supportDavid D. Zuhn1-1/+1
1993-07-15 * Preliminary support for m88k-coff.Ian Lance Taylor1-0/+2
* configure.in (m88k-*-coff*): New target. Use coffbfd and m88kcoff. * config/m88kcoff.mt: New file. * read.c (lex_type): New macro LEX_AT to set lex type of '@'. (pseudo_set): Handle difference of symbols in different fragments by saving the entire expression as the value of the symbol. * symbols.c (resolve_symbol_value): Resolve difference expressions. * config/obj-coffbfd.c (obj_pseudo_table): If TC_M88K, accept "sdef" as a synonym for "def". * config/obj-coffbfd.h: If TC_M88K, include coff/m88k.h and set TARGET_FORMAT. (S_IS_LOCAL): Any symbol which includes \001 in the name is local. * config/tc-m88k.c, config/tc-m88k.h: Numerous changes to bring m88k port up to date, and to add COFF support.
1993-07-14Recognize h8300h.David Edelsohn1-2/+4
Make sparc64-*-aout* use bfd gas.
1993-07-08put CROSS definition into the MakefileDavid D. Zuhn1-2/+2
1993-07-08define CROSS is cross compilationDavid D. Zuhn1-2/+14
1993-06-29fix HPUX hosting problemsDavid D. Zuhn1-9/+16
1993-06-04Added alpha as host.Steve Chamberlain1-1/+2
1993-06-04 * configure.in (mips-*-ecoffl*): New target; use ecoff andIan Lance Taylor1-5/+7
mips-lit. (mips-*-ecoff*): Added trailing '*'.
1993-05-05hp300 support. Emulation mode fix for 386bsd and linux.Ken Raeburn1-161/+128
Reworded some messages. Warn if bfd-assembler explicit selection on command line is overridden by target requiring it be set. (No targets override to clear currently.)
1993-04-02 * config/ho-irix.h: New file; if not gcc, define BROKEN_ASSERT.Ian Lance Taylor1-2/+13
* configure.in (mips-sgi-irix*): Set gas_host to irix.
1993-03-29First crack at a test suite.Ken Raeburn1-8/+11
1993-03-13consistent use of -solaris2*David D. Zuhn1-1/+1
1993-03-12accept m683??, not just m683?2Ken Raeburn1-12/+76
1992-12-30Wed Dec 30 10:18:57 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-7/+19
* app.c, config/tc-*.c: Don't include read.h, since it is already included by as.h. * These are based on patches from Minh Tran-le <mtranle@paris.intellicorp.com>. * configure.in (i[34]86-ibm-aix*): Accept i486 for host. Use obj_format coffbfd and gas_target i386coff for target. (i[34]86-*-isc*): New host (uses sysv). * config/i386aix.mt: Removed (no longer used). * config/mh-i386aix (RANLIB): Use true rather than /bin/true. (MINUS_G): Removed. (LDFLAGS): Added, defined as -shlib. * config/te-i386aix.h (REVERSE_SORT_RELOCS): Undefine. * config/te-sco386.h (LOCAL_LABEL): Don't define. (DOT_LABEL_PREFIX): Define. * expr.c (operand): If DOT_LABEL_PREFIX, use .L0\001 as a label name rather than L0\001. * read.c (s_lcomm): Make a frag in SEG_BSS rather than using local_bss_counter. * symbols.c, symbols.h (local_bss_counter): Removed. * write.c (write_object_file): bss no longer uses local_bss_counter. Pass correct data and bss size to VMS_write_object_file. * config/obj-vms.c (VMS_write_object_file): Accept bss size as argument, rather than using local_bss_counter. * config/tc-m88k.c (s_bss): Don't use local_bss_counter. * config/tc-sparc.c (s_reserve): Don't use local_bss_counter. * config/obj-coffbfd.c (had_lineno, had_reloc): Removed. (size_section): Restored sanity check. (do_relocs_for): Base section address on s_paddr rather than computing it. Adjust a29k R_IHIHALF special case to account for section paddr (used to require paddr to be zero). If there are no reclos, set s_relptr to 0. Set relocation size in object_headers. (fill_section): Always set s_vaddr here, removing ZERO_BASED_SEGMENTS case. Force s_scnptr for bss to 0. Don't set NOLOAD for i386 .bss, because it confuses the SVR3 native linker. Set STYP_INFO for .comment. (coff_header_append): Use object headers and H_{SET,GET}_* macros. Make aouthdr writing depend on OBJ_COFF_OMIT_OPTIONAL_HEADER. (crawl_symbols): Handle 8 character section name correctly. Use H_{SET,GET}_* macros. (do_linenos_for): Set lineno size in object_headers. (write_object_file): Use H_{SET,GET}_* macros. Don't bother to set s_vaddr here. If string_byte_count remains 4, set it back to 0, and only write strings out if there are some. Call fill_section before do_relocs_for and do_linenos_for. (obj_coff_section): Handle optional quoted second argument giving section characteristics. (obj_coff_bss): Added to handle .bss. (obj_coff_ident): Added to handle .ident (puts string in .comment section). (obj_coff_lcomm): Put common symbols in .bss, not .data. (fixup_mdeps): Change to segment. Call frag_wane after md_convert_frag. (fixup_segment): Explicitly check S_IS_COMMON before making 386 adjustment (already happened only for common symbols, but this is clearer). * config/obj-coffbfd.h (OBJ_COFF_OMIT_OPTIONAL_HEADER): Define. * config/tc-i386.c (s_bss): Don't use if I386COFF. (md_pseudo_table): Ignore .optim and .noopt. (tc_coff_sizemachdep): New function. * config/tc-i386.h (REVERSE_SORT_RELOCS): Undef, for SVR3 compatibility. (LOCAL_LABEL): Removed definition. (DOT_LABEL_PREFIX): Defined.
1992-11-23Ran "indent", for GNU coding style; some code & comments still need fixup.Ken Raeburn1-1/+3
Removed some unneeded files. configure.in: Don't look for te-386bsd.h, which doesn't exist...
1992-11-12add sparclite-fujitsu-none, since it was only getting set via the defaultMark Eichin1-0/+4
branch in the old configure.in
1992-10-20Tue Oct 20 12:18:08 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-1/+1
* configure.in: i386-sysv and i386-sco use coffbfd.
1992-10-12use sysv config for solaris2 hostingDavid D. Zuhn1-1/+4
1992-10-05support 386bsd target, from p3Mark Eichin1-139/+116
1992-09-11Support for 386 coffSteve Chamberlain1-0/+6
1992-09-09Wed Sep 9 11:06:25 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-14/+22
* Makefile.in: use gas_target instead of modifying target_cpu. From Steve Chamberlain: Makefile.in: Handle m68*-*-coff*. read.c, read.h: add mult argument to s_space
1992-08-25 * listing.c (buffer_line): rewind to the start of includeSteve Chamberlain1-0/+6
files, they might be included twice.