aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1994-09-09keep arm dirKen Raeburn1-0/+1
1994-09-09Modified Files:Kung Hsu3-9/+89
ChangeLog read.h read.c ecoff.h ecoff.c * read.h : ditto. * read.c (read_a_source_file): if no file when inst is read, set generate_asm_lineno to true. * ecoff.h : change name to generate_asm_lineno and add function ecoff_no_current_file. * ecoff.c : change name to generate_asm_lineno. * ecoff.c (ecoff_generate_asm_lineno) : new function, to generate ecoff style line for asm file.
1994-09-09Modified Files:Kung Hsu1-2/+2
obj-ecoff.h obj-elf.h * config/obj-ecoff.h : Change names to OBJ_GENERATE_ASM_LINENO, and generate_asm_lineno. * config/obj-elf.h : ditto.
1994-09-08 * config/obj-coff.c (size_section): Do an fprintf to stderr ratherIan Lance Taylor2-261/+116
than a printf. (fixup_segment): Use as_bad_where rather than as_bad.
1994-09-08 * config/tc-{h8300,sh}.[ch] (tc_coff_symbol_emit): Function doing nothingSteve Chamberlain1-0/+5
becomes macro doing nothing.
1994-09-08Wed Sep 7 17:21:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain2-129/+180
* config/tc-{h8300,sh}.[ch] (tc_coff_symbol_emit): Function doing nothing becomes macro doing nothing.
1994-09-08fix config.status, Makefile dependenciesKen Raeburn1-2/+2
1994-09-08tc_gen_reloc, i386-linux, brokensed changesKen Raeburn1-0/+12
1994-09-07(tc_gen_reloc): Use bfd_get_reloc_code_name in error message.Ken Raeburn3-13/+54
1994-09-07Remove 'brokensed' hack, autoconf should make it unnecessary now.Ken Raeburn1-8/+9
1994-09-07Don't set bfd_gas for i386-linux a.out configurations.Ken Raeburn2-2/+2
1994-09-07Update for autoconf beta 1.112:Ken Raeburn6-230/+249
* 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 Taylor3-4/+10
${host_canon} and ${target_canon}. * configure: Likewise.
1994-09-06 * config/tc-mips.c (mips_cpu): New static variable.Ian Lance Taylor2-21/+123
(insns_since_cache_access): New static variable. (md_begin): Set mips_cpu as well as mips_isa. (append_insn): If mips_cpu is 4600, require four nop instructions between an instruction which accesses the cache and certain CACHE instructions. Keep track of the number of instructions seen since an instruction which accesses the cache. (md_parse_option): Set mips_cpu as well as mips_isa. PR 5433.
1994-09-05* doc/Makefile.in (VPATH): Define using @srcdir@.Ken Raeburn1-0/+6
(prefix, program_transform_name, exec_prefix): Use autoconf style @-substitutions.
1994-09-05ARM Acorn/RISCiX target and host patches from Richard EarnshawKen Raeburn9-36/+486
1994-09-02 * ecoff.c (add_file): Don't try to generate line numbers if theIan Lance Taylor2-9/+32
symbol table has been frozen.
1994-09-01remove alloca stuff from atof-generic.cKen Raeburn1-0/+2
1994-09-01* as.h (volatile): Don't test or define here; not needed.Ken Raeburn2-2/+5
(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-09-01autoconf bug fix -- config.status exit status should be 0Ken Raeburn1-0/+1
1994-08-31Makefile.in (INCLUDES): Include "-I.." for libiberty/alloca-conf.h.Ken Raeburn2-3/+4
1994-08-31* Makefile.in (prefix, exec_prefix): Use @-subtitutions.Ken Raeburn5-234/+153
* 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 Taylor3-0/+9
1994-08-30fix mpw problem with ".." for stanKen Raeburn2-1/+6
1994-08-29 * config/tc-ppc.c (md_apply_fix): Don't generate a reloc when aIan Lance Taylor1-0/+6
symbol is used as an offset into a CSECT that is not a TOC. These types of loads are generated by gcc -mminimal-toc.
1994-08-28* as.h (flag_*): Added comments describing meanings of some of these variables.Ken Raeburn2-6/+38
(struct frag): Add some comments about the ns32k-specific fields and why they're here. (SIZEOF_STRUCT_FRAG): Cast addresses to char*, not int. (flag_print_statistics): Declare. * as.c (parse_args): Set flag_print_statistics instead of statistics_flag. Options array is now const. Added new option "dump-config"; if specified, print TARGET_ALIAS, TARGET_CANONICAL, TARGET_CPU, TARGET_OBJ_FORMAT, and TARGET_FORMAT, if defined. (main): Change test to check flag_print_statistics. (statistics_flag): Deleted.
1994-08-28Removed pcrel_adjust and bsr arguments from calling interface ofKen Raeburn1-0/+7
frag_variant, since they're only used on one machine. Let that machine deal with them specially.
1994-08-28Makefile.in (distclean, realclean): Remove new configure-generated files.Ken Raeburn2-1/+6
1994-08-28keep new autoconf-related filesKen Raeburn1-0/+4
1994-08-28Conversion to autoconf:Ken Raeburn10-235/+2526
* 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-28input-file.c: Don't include assert.h here.Ken Raeburn1-0/+3
1994-08-28* config/tc-alpha.c: Added various prototypes for static functions.Ken Raeburn2-34/+264
(in_range): New function, tests whether a value can fit in an N-bit field. (build_mem, build_operate_n): New functions for constructing opcode values. (emit_sll_n, emit_ldah_num, emit_addq_r, emit_lda_n): New functions for emitting single instructions, no longer requiring a recursive call to md_assemble. (emit_add64): New function for expanding a REG:=REG+CONST operation into one or more instructions, to handle wide constants. (clear_insn): New variable. (md_begin): Fill it in with zeros and BFD_RELOC_NONE values. (alpha_ip): Use it to initialize local variable insns. (alpha_ip, label "immediate" and cases 'P', 'G'): Use emit_add64 for calculations.
1994-08-26write.c(write_contents): always enable BFD_FAST_SECTION_FILL codeKen Raeburn1-0/+4
1994-08-26subsegs.c: fix EMIT_SECTION_SYMBOLS handlingKen Raeburn1-0/+5
1994-08-24 * config/tc-mips.h (LOCAL_LABEL): Define as 0, for compatibilityIan Lance Taylor3-2/+6
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 * ecoff.c (ecoff_symbol_new_hook): Don't add a new file if weIan Lance Taylor2-2/+7
haven't seen any input files yet. * config/tc-alpha.c (md_begin): Just call symbol_create, rather than calling symbol_new and then removing the symbol from the list. With these changes, Alpha gas will work with mips-tfile.
1994-08-24gcc lint.Ian Lance Taylor6-106/+158
* 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-08-24 * configure.in: Recognize i586 as a synonym for i[34]86.Ian Lance Taylor2-7/+29
1994-08-16 * gas/config/tc-hppa.c (pa_comm): Set sy_frag for the commonJeff Law1-2/+2
symbol to the zero address frag.
1994-08-16 * config/tc-hppa.c (pa_comm): Set sy_resolved for the commonJeff Law2-45/+10
symbol.
1994-08-12 * config/tc-mips.c (md_begin): Drop "el" from the end ofIan Lance Taylor1-0/+5
TARGET_CPU. Check for mips64orion.
1994-08-10 * configure.in: Recognize ppc-*-netware.Stu Grossman2-0/+40
* config/te-ppcnw.h: New file to support Power-PC/Netware configurations. Currently, it just enables the use of backslash escapes in string directives.
1994-08-09 * config/tc-ppc.c (ppc_stabx): Call expression directly, ratherIan Lance Taylor1-0/+4
than via pseudo_set. If expression is a symbol, move stab symbol to just after symbol from expression.
1994-08-09 * ecoff.c (ecoff_build_procs): Don't force adr of first fdr to beIan Lance Taylor1-0/+3
zero. Undoes change of June 4, 1993.
1994-08-09 * config/tc-mips.c (md_parse_option): Accept -mcpu=4400, 4600, andIan Lance Taylor2-46/+88
orion.
1994-08-08Fix copyright.Steve Chamberlain1-3/+8
1994-08-08 * gas/config/tc-hppa.c (md_pseudo_table): Delete redundantJeff Law1-0/+5
upper-case versions of the pseudo-ops.
1994-08-08 * config/tc-sparc.c (md_apply_fix): If we are going to generate aIan Lance Taylor1-0/+5
non PC relative reloc, don't put the addend in the object file.
1994-08-06Sat Aug 6 01:15:02 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain1-1/+12
* as.h: If FOPEN_WB is not defined, do the right thing in a go32 environment. Mon Jul 11 11:34:52 1994 Steve Chamberlain (sac@jonny.cygnus.com) * config/tc-h8300.c (pint): New function for handling varying size of int pseudo op. * doc/as.texinfo: Fix typo describing .h8300h pseduop.
1994-08-01 * config/tc-hppa.c (create_new_space): Initialize sd_subspacesJeff Law2-0/+4
field in the space chain.