aboutsummaryrefslogtreecommitdiff
path: root/gas/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
1996-10-17 * Makefile.in ($(OBJS)): Depend upon libiberty.h.Ian Lance Taylor1-1/+1
1996-08-23 * configure.in: Set and substitute HLDENV.Ian Lance Taylor1-8/+4
* configure: Rebuild. * Makefile.in (HLDENV): New variable. (as.new): Use $(HLDENV).
1996-06-25 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,Jason Molenda1-32/+28
INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. (docdir): Removed. * configure.in (AC_PREREQ): autoconf 2.5 or higher. * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir): Use autoconf set values. (docdir): Removed.
1996-02-07update copyrightsIan Lance Taylor1-12/+23
1995-11-20note dependence on alpha opcode tableKen Raeburn1-7/+9
1995-10-06* Makefile.in (comparison): Only check *.o; we don't care if timestampsKen Raeburn1-2/+4
inserted by the native linker differ.
1995-09-13 * Makefile.in (EXPECT): New variable.Ian Lance Taylor1-12/+47
(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-09-08 * Makefile.in (install): Don't install gasp in $(tooldir).Ian Lance Taylor1-10/+3
1995-08-21 Add support for macros.Ian Lance Taylor1-7/+19
* as.c: Include sb.h and macro.h. (max_macro_next): New global variable. (main): Call macro_init. (macro_expr): New static function. * as.h (max_macro_nest): Declare. * read.c (line_label): Rename from mri_line_label. Change all uses. (potable): Add exitm, irp, irpc, macro, mexit, rept. (read_a_source_file): Always clear line_label at the start of a line, not just when flag_mri or LABELS_WITHOUT_COLONS. Fixup MRI/LABELS_WITHOUT_COLONS handling. In MRI mode, permit label: equ val. Set line_label when calling colon. In MRI mode, a leading '.' does not imply a pseudo-op. Check for macro expansion before calling md_assemble. (s_irp): New function. (get_line_sb): New static function. (s_macro): New function. (s_mexit): New function. (s_rept): New function. * read.h (line_label): Rename from mri_line_label. (s_irp, s_rept): Declare. (s_macro, s_mexit): Declare. * input-scrub.c: Include sb.h. (sb_index, from_sb): New static variables. (macro_nest): New static variable. (struct input_save): Add sb_index and from_sb fields. Change next_saved_file field to be struct input_save *. (next_saved_file): Changed to be struct input_save *. (input_scrub_push): Change to return type struct input_save *. Save sb_index and from_sb. (input_scrub_pop): Change parameter type to struct input_save *. Restore sb_index and from_sb. (input_scrub_include_sb): New function. (input_scrub_next_buffer): Handle reading from from_sb. (bump_line_counters): Only increment lines if not using from_sb. * config/tc-m68k.c (opt_table): Add nest. (opt_nest): New static function. * gasp.c: Include sb.h and macro.h. Move all sb related functions and definitions to sb.h and sb.c. Move all macro related functions and definitions to macro.h and macro.c. * sb.h, sb.c: New files, extracted from gasp.c. * macro.h, macro.c: Likewise. * Makefile.in (OBJS): Add sb.o and macro.o (GASPOBJS): Define. (gasp.new): Depend upon $(GASPOBJS). Use $(GASPOBJS) to link. (TARG_CPU_DEP_m68k): Depend upon subsegs.h. (gasp.o): Depend upon sb.h and macro.h. (sb.o): New target. (macro.o): New target. (as.o): Depend upon sb.h and macro.h. (input-scrub.o): Depend upon sb.h. (read.o): Depend upon sb.h and macro.h.
1995-08-10 * config/tc-m68k.c (m68k_ip): When recognizing '#', use isbyte andIan Lance Taylor1-1/+1
iword rather than expr8 and expr16. When recognizing 'M', use issbyte rather than expr8. When recognizing 'Q' and 't', just check for O_constant rather than using expr8. * config/m68k-parse.h (expr8, expr16): Don't define. * Makefile.in (m68k-parse.o): Depend upon m68k-parse.h, not m68k-parse.y.
1995-08-09Tue Aug 8 23:41:25 1995 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor1-1/+1
* 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-4/+13
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-06fsf address updateKen Raeburn1-1/+1
1995-07-05 * Makefile.in: Remove @configure_input@; it's not needed inIan Lance Taylor1-17/+13
files named Makefile.
1995-05-02Move cpu-specific dependencies into Makefile.in, instead of having sometimesKen Raeburn1-6/+35
multiple copies in config/*.mt. Select between several make variables with autoconf substitution of cpu_type into a variable name reference.
1994-12-30* Makefile.in (dependencies): Make $(OBJS) depend on as.h and everything itKen Raeburn1-99/+35
includes. Delete those files from per-file dependencies.
1994-12-20* Makefile.in (SUBDIR_INCLUDES): Deleted.Ken Raeburn1-1/+0
1994-12-17* Makefile.in (CHECKFLAGS): Don't pass AS_FOR_TARGET, CC_FOR_TARGET,Ken Raeburn1-46/+4
OBJDUMP_FOR_TARGET, NM_FOR_TARGET; they're not used. (AS_FOR_TARGET, CC_FOR_TARGET, OBJDUMP, OBJDUMP_FOR_TARGET, NM, NM_FOR_TARGET): Don't define. (VMS_OTHER_OBJS): Add xmalloc.o and xexit.o from libiberty. (tooldir): Use exec_prefix, not libdir.
1994-11-22 * Makefile.in (INSTALL_XFORM): Fix typo.Steve Chamberlain1-2/+2
1994-11-03Changes from net 2.5.2 release branch:Ken Raeburn1-5/+21
* 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-10-12* Makefile.in (bootstrap, bootstrap2, bootstrap3): Create a "stage" symlink toKen Raeburn1-18/+11
the appropriate stage* directory, and use it instead in the -B options. (comparison): Revert yesterday's change.
1994-10-11* Makefile.in (comparison): When comparing as.new or gasp.new, try running theKen Raeburn1-3/+17
binary through sed to avoid differences due to "stage1" or "stage2" having been written into the binary.
1994-10-01(diststuff): Build make-gas.com.Ken Raeburn1-1/+5
(clean, mostlyclean): Delete make-gas.com. (realclean): Separate target, depend on clean and distclean.
1994-09-29(all): Depend on .gdbinit.Ken Raeburn1-1/+3
(.gdbinit): Rebuild from gdbinit.in by running config.status.
1994-09-28 * Makefile.in (gasp.o): Depends upon config.h.Ian Lance Taylor1-1/+1
1994-09-28updated version to 2.4.90Ken Raeburn1-1/+4
1994-09-13* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall): RewriteKen Raeburn1-12/+8
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-13* Makefile.in (config-stamp): Add a "this file generated by make" message toKen Raeburn1-1/+2
config.h.
1994-09-08fix config.status, Makefile dependenciesKen Raeburn1-2/+2
1994-09-07Remove 'brokensed' hack, autoconf should make it unnecessary now.Ken Raeburn1-8/+9
1994-09-01* as.h (volatile): Don't test or define here; not needed.Ken Raeburn1-1/+1
(alloca): Replace alloca-conf.h inclusion with code recommended in autoconf documentation. Include config.h first. Makefile.in (INCLUDES): Deleted last patch (using -I..).
1994-08-31Makefile.in (INCLUDES): Include "-I.." for libiberty/alloca-conf.h.Ken Raeburn1-3/+3
1994-08-28Makefile.in (distclean, realclean): Remove new configure-generated files.Ken Raeburn1-1/+1
1994-08-28Conversion to autoconf:Ken Raeburn1-48/+52
* 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-06-16(config-stamp): If $(defs) contains multiple words, emit a #define line forKen Raeburn1-1/+3
each.
1994-06-08 * Makefile.in (check): Delete as.new dependency, so thatBill Cox1-1/+1
regression test doesn't trigger an assembler build.
1994-06-07 * Makefile.in (mostlyclean, realclean): New targets.Ian Lance Taylor1-8/+9
* doc/Makefile.in, testsuite/Makefile.in: Likewise.
1994-05-27changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs)Ken Raeburn1-1/+1
1994-05-18 * Makefile.in (install): Redirect ln output to /dev/null. If lnIan Lance Taylor1-10/+10
fails on gasp, install gasp.new, not gasp.
1994-04-14* Makefile.in: Make $(OBJS) depend on $(ALL_OBJ_DEPS).Ken Raeburn1-1/+11
* 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-14 * Makefile.in (de-stage1, de-stage2, de-stage3): Use rm -f.Ian Lance Taylor1-7/+10
1994-03-20 * Makefile.in (STAGESTUFF): Add gasp.new.Jeff Law1-9/+18
1994-01-31Support for gasp.Steve Chamberlain1-1/+16
1994-01-26Change all occurances of RUNTEST_FLAGS to RUNTESTFLAGS to be consistant withRob Savoye1-1/+1
everything else. (and now work recursively too)
1994-01-13* configure.in (i386-*-netbsd*): New target, using te-netbsd.h.Ken Raeburn1-4/+6
(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).
1994-01-06include literal.c, .oKen Raeburn1-0/+2
1994-01-04Tue Jan 4 15:12:43 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-3/+5
* Makefile.in (INCLUDES): Add $(srcdir)/.. to places to search. * config/obj-ecoff.c: Include files as "bfd/" instead of "../bfd/". * app.c, flonum.h, hex-value.c (const): Change #if to be more portable.
1993-11-30 * Makefile.in (stabs.o): Added dependencies.Ian Lance Taylor1-0/+6
1993-11-17 * Makefile.in (REAL_SOURCES): Added ecoff.c.Ian Lance Taylor1-2/+11
(REAL_HEADERS): Added ecoff.h. (OBJS): Added ecoff.o. (ecoff.o): New target.
1993-11-09 * Makefile.in (distclean): Delete config-stamp and config.hJeff Law1-32/+42