aboutsummaryrefslogtreecommitdiff
path: root/gas/gasp.c
AgeCommit message (Collapse)AuthorFilesLines
1995-05-19From Richard Earnshaw (rearnsha@armltd.co.uk):Ken Raeburn1-1/+1
* gasp.c (istrue): Correctly test for string inequality.
1995-01-19gcc lintKen Raeburn1-1/+4
1995-01-06* gasp.c: Include string.h. Put config.h before other includes.Ken Raeburn1-1/+2
1994-08-28Conversion to autoconf:Ken Raeburn1-1/+9
* 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-24gcc lint.Ian Lance Taylor1-1/+1
* as.c (main): Move a inside the #if 0 block which uses it. * ecoff.c (current_stabs_filename): Make const. * frags.h (frag_align_pattern): Declare. * gasp.c (new_file): Cast isp to long, and use %ld to print it. * config/tc-alpha.h (md_operand): Add cast to void. (alpha_do_align): Declare argument types. (tc_get_register): Declare. (alpha_frob_ecoff_data): Declare. * config/tc-alpha.c: Include <ctype.h>. (s_mask): Don't declare; does not exist. (line_comment_chars): Remove /* from descriptive comment. (tc_get_register): Remove unused local reg. (tc_gen_reloc): Don't bother to compare unsigned to zero. (s_base): Correct warning to actually print register number. (md_begin): Remove unused locals retval, lose, and i. (alpha_fix_adjustable): Move default case inside switch to avoid warning. (load_symbol_address): Remove unused locals reloc_addr, p, sym, and addend. (emit_byte_manip_r): Declare types for all arguments. (emit_extract_r, emit_insert_r, emit_mask_r): Likewise. (emit_sign_extend, emit_bis_r, s_proc): Likewise. (alpha_ip): Use sprint_value to print offsetT value. Remove unused local size. Remove unused label get_macro. (alpha_do_align): Make fill const. (md_apply_fix): Remove unused label check_zov.
1994-07-08 * (process_pseudo_op): Pass right are do do_aif.Steve Chamberlain1-10/+21
(get_any_string): New arg 'pretend_quote'. (get_and_process, do_formals, macro_expand, do_sdata, process_pseudo_op): Use new arg.
1994-07-08 * gasp.c (get_any_string): Cope with getting a string with anSteve Chamberlain1-18/+33
alternate base specifier. (do_aif, do_aelse): Only enable output if expression is true and previous level was on. (chartype_init): Add BASEBIT chartype. (process_pseudo_op): Notice nesteed AIFs.
1994-06-28 * configure.in (i386-go32): When it's a host setSteve Chamberlain1-13/+18
host_makefile_frag. * gasp.c (get_any_string): Fix handling of % when in PharLap mode.
1994-06-02oops, left out var declKen Raeburn1-0/+1
1994-06-02(hash_new_table): Clear newly allocated table.Ken Raeburn1-0/+3
1994-05-06 * gasp.c: Include libiberty.h.Ian Lance Taylor1-1/+1
(main): Remove unused variable i.
1994-04-27 * configure.in (i386-*-go32): Uses coff now.Steve Chamberlain1-177/+571
* gasp.c (main): Now takes -D on command line. (show_usage): Describe new options.
1994-04-20* gasp.c: Include ctype.h.Ken Raeburn1-0/+1
1994-02-02 * gasp.c (kinfo): Fully bracket initializer.Ian Lance Taylor1-38/+38
1994-02-02* gasp.c (malloc): Don't declare, since host.h or system header files mayKen Raeburn1-2/+0
declare it differently. (Actually, the only use is in xmalloc; if xmalloc didn't also zero out the region of memory, I'd delete the function altogether and use the libiberty version...)
1994-02-01 * gasp.c: Include host.h.Steve Chamberlain1-1/+1
1994-01-31New file.Steve Chamberlain1-0/+3519
1994-01-31New file.Steve Chamberlain1-0/+0