Commit Graph

1926 Commits

Author SHA1 Message Date
Ian Lance Taylor 662df350f9 * config/obj-elf.c (elf_frob_symbol): Only set BSF_OBJECT for
symbols on Irix.
1997-09-04 16:11:06 +00:00
Nick Clifton 6ff87eadf9 Removed v850 sanitization. 1997-09-03 23:06:11 +00:00
Nick Clifton 2d27848430 Removed the BFD_RELOC_V850_16_PCREL. 1997-09-03 18:19:50 +00:00
Jeff Law d37ce7639b * config/tc-mn10200.c (md_convert_frag): PC relative instructions arex
relative to the next instruction, not the current instruction.
        (md_assemble): Similarly.

pr13171
1997-09-03 00:33:47 +00:00
Nick Clifton 19ebb9e3b8 Explanations of offsets in SDA/ZDA areas fixed. 1997-09-02 23:03:19 +00:00
Nick Clifton ccf107185d Support for new relocations added. Support for SDA/TDA/ZDA sections added. 1997-09-02 23:01:27 +00:00
Andrew Cagney 28e1e54d13 * config/tc-v850.c (md_assemble): Use opcode->name instead of
opcode->opcode as the sentinal. Zero is a valid opcode.
1997-09-02 05:50:40 +00:00
Joern Rennecke bf5ac1b8ed SH4 assembler extensions. 1997-08-29 19:03:06 +00:00
Ian Lance Taylor 11959ebc14 * doc/as.texinfo (Machine Dependencies): Add v850 to menu.
* doc/c-v850.texi: Change node name to match other chapter nodes.
1997-08-26 20:52:49 +00:00
Ian Lance Taylor 90b83993d8 * expr.c (integer_constant): If BFD64, don't make a bignum if the
number will fit in 64 bits.
1997-08-26 19:25:44 +00:00
Ian Lance Taylor 4b231a267c * config/tc-alpha.c (load_expression): Check explicitly for O_big,
rather than calling abort.
1997-08-26 19:12:10 +00:00
Ian Lance Taylor a089d2da97 * as.h: Don't define alloca if __GNUC__. Just declare it.
* macro.c: Copy alloca handling from as.h.
1997-08-26 19:10:48 +00:00
Ian Lance Taylor 977d53fc87 * config/tc-i386.c (i386_align_code): Correct 16 bit noops. From
Gabriel Paubert <paubert@iram.es>.
1997-08-26 17:27:21 +00:00
Nick Clifton 3f221096b9 Corrected name of tiny data area label. 1997-08-26 16:46:05 +00:00
Ian Lance Taylor 625ea5db80 Use address size prefix for loopw as for jcxz. 1997-08-26 16:33:34 +00:00
Ian Lance Taylor 02bdbd8b5d * config/tc-i386.c (md_assemble): In JumpByte case, when looking
for a WORD_PREFIX_OPCODE, change it to ADDR_PREFIX_OPCODE if this
	is jcxz.
1997-08-26 16:25:03 +00:00
Nick Clifton b688e04e29 Set machine architecture and type. 1997-08-25 23:03:24 +00:00
Ian Lance Taylor 2051ec0e35 * symbols.c (resolve_symbol_value): Store the value back into the
symbol expression, to handle add or subtract simplification
	correctly.  Handle O_symbol_rva.  Add default case.
1997-08-25 19:55:14 +00:00
Ian Lance Taylor a77b3837e3 * config/tc-ppc.c (ppc_change_csect): Temporarily lower the
chunksize while creating the new subsection.
	* as.c (chunksize): Initialize to zero.
	* subsegs.c (subseg_set_rest): Change 5000 to chunksize when
	calling obstack_begin.
1997-08-25 18:29:11 +00:00
Nick Clifton cf735d2a93 Support constant expressions as register lists. 1997-08-25 18:21:02 +00:00
Nick Clifton 9c506dfb5d Fixed node name. 1997-08-25 17:18:21 +00:00
Nick Clifton 68eaa14109 Added documentation of v850 assembler options. 1997-08-22 23:37:00 +00:00
Nick Clifton d72d8c59f9 Make the NUL character be considered to be a line terminator. 1997-08-22 18:14:35 +00:00
Nick Clifton 5f04449977 Add support for curly brace register list syntax. 1997-08-22 17:44:55 +00:00
Nick Clifton 346c75cd4a Add support for parsing a double dash as the start of a comment that extends to the end of the line. 1997-08-21 17:59:47 +00:00
Nick Clifton 19f40fdca7 Added support for NEC style assembler pseudo ops:
.section "name", <type>
	.offset <expression>
	.bss
1997-08-21 17:54:49 +00:00
David Edelsohn d8beaa965c * config/tc-m32r.c (md_estimate_size_before_relax): Update recorded
insn when changing to a different instruction.
1997-08-21 08:01:46 +00:00
Fred Fish 015b3352e5 Tue Aug 19 08:59:12 1997 Fred Fish <fnf@cygnus.com>
* read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to
	flag when alignment is in bytes instead of power of 2, and code to
	use that flag to convert alignment to bytes.
	(s_lcomm, s_lcomm_bytes):  New helpers that call s_lcomm_internal.
	* read.h (s_lcomm_bytes): Add prototype.
	* config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is
	defined, write alignment to alignment bits in section header s_flags
	rather than the s_align field.
start-sanitize-tic80
	* config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80.
	* config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss
	pseudo, instead of s_lcomm which wants a power of two for alignment.
end-sanitize-tic80
PR 12215 and PR 13061
1997-08-19 16:46:03 +00:00
Richard Henderson c631cd59dd * macro.c (check_macro): use alloca instead of xmalloc to plug leak. 1997-08-19 03:48:22 +00:00
Richard Henderson 96e0ff4665 * as.c (show_usage): Add -am.
* input-scrub.c (input_scrub_include_sb): Don't add leading \n
        if we've already got one.
        * listing.c (struct list_info_struct): Add line_contents.
        (listing_newline): Put unused argument to work: if non-null, save it...
        (listing_listing): ... and regurgitate during listing instead of line
        from file.
        * listing.h (LISTING_MACEXP): New define.
        (LISTING_NEWLINE): Argument is NULL.
        * read.c (read_a_source_file): If expanding macros, break up input
        lines and pass them to listing_newline.
        * doc/as.texinfo: Document -ac and -am.

        * cond.c (s_ifc): Add missing demand_empty_rest_of_line.
1997-08-19 03:45:56 +00:00
Nick Clifton a365cd79ee Add support for v850e and v850eq targets.
Add support for BFD_RELOC_V850_16_PCREL.
1997-08-18 18:26:42 +00:00
Ian Lance Taylor 999f358732 * Makefile.am (check-DEJAGNU): Don't cd into testsuite until after
setting EXPECT and TCL_LIBRARY.
	* Makefile.in: Rebuild.
1997-08-15 23:19:20 +00:00
Ian Lance Taylor cd92403305 * as.h (enum debug_info_type): Define.
(debug_type): Declare.
	* as.c (debug_type): New global variable.
	(show_usage): Add --gstabs.
	(parse_args): Handle --gstabs.
	* read.c (generate_asm_lineno): Remove.
	(read_a_source_file): Output stabs debugging if appropriate.
	Change checks of generate_asm_lineno to check debug_type.  Only
	generate ECOFF debugging if ECOFF_DEBUGGING is defined.
	* read.h (generate_asm_lineno): Don't declare.
	(stabs_generate_asm_lineno): Declare.
	* stabs.c (stabs_generate_asm_lineno): New function.
	* ecoff.c (add_file): Use debug_type, not generate_asm_lineno.
	Don't turn off debugging.
	(add_file): Remove old #if 0 code.
	(ecoff_new_file): Set debug_type, not generate_asm_lineno.
	(ecoff_directive_end): Don't generate stabs line symbols.
	(ecoff_generate_asm_lineno): Don't check stabs_seen.  Don't set
	generate_asm_lineno.
	(line_label_cnt): Remove.
	(ecoff_generate_asm_line_stab): Remove.
	* ecoff.h (ecoff_generate_asm_line_stab): Don't declare.
	* doc/as.texinfo, doc/as.1: Document --gstabs.
1997-08-15 18:19:27 +00:00
Nick Clifton 58036ae4c9 Tidied up the sanitization. 1997-08-14 19:34:58 +00:00
Richard Henderson 4b67a7199b * doc/internals.texi: Document rs_leb128. 1997-08-12 17:30:10 +00:00
Ian Lance Taylor de815f6167 * config/tc-m68k.c (m68k_ip): Give an error message for SIZE_BYTE
in ABSL case, rather than calling abort.
1997-08-12 16:17:46 +00:00
Richard Henderson 8cf777d667 * as.h (enum _relax_state): Add rs_leb128.
* read.c (potable): Add sleb128 and uleb128.
        (sizeof_*leb128, output_*leb128, emit_leb128_expr, s_leb128): New
        functions.
        * read.h: Update prototypes.
        * symbols.c (resolve_symbol_value): Streamline quite a bit.  Return
        the symbol value, add a second FINALIZE argument that prevents
        changes from being comitted.  Update all callers.
        * write.c (cvt_frag_to_fill, relax_segment): Handle rs_leb128.
        * doc/as.texinfo: Document the new pseudos.
1997-08-12 05:42:00 +00:00
Ian Lance Taylor 210e033e19 * Makefile.am (MOSTLYCLEANFILES): Add site.bak, site.exp, stage,
stage1, and stage2.
	(DISTCLEANFILES): Define.
	* doc/Makefile.am (DISTCLEANFILES): Define.
	* Makefile.in, doc/Makefile.in: Rebuild.
1997-08-10 18:53:06 +00:00
Ian Lance Taylor 4dc4c45dec * configure.in: Define TARGET_BYTES_BIG_ENDIAN if endian is set.
Don't set targ or gas_target.  Define SCO_ELF and
	TARGET_SOLARIS_COMMENT when appropriate.  Don't substitute for
	target_frag.
	* Makefile.am: Remove @target_frag@.
	(INCLUDES): Remove $(INTERNAL_CFLAGS), $(CROSS), $(HDEFINES), and
	$(TDEFINES).
	(dep-am): Mark as phony.
	* acconfig.h: Add TARGET_BYTES_BIG_ENDIAN, TARGET_SOLARIS_COMMENT,
	and SCO_ELF.
	* config/arm-big.mt, config/arm-lit.mt: Remove.
	* config/mips-big.mt, config/mips-lit.mt: Remove.
	* config/ppc-big.mt, config/ppc-lit.mt: Remove.
	* config/ppc-sol.mt: Remove.
	* config/i386coff.mt, config/m68kcoff.mt: Remove.
	* config/m88kcoff.mt: Remove.
	* config/sco5.mt: Remove.
	* configure, config.in, Makefile.in: Rebuild.
1997-08-06 19:06:49 +00:00
Ian Lance Taylor 2a562314f3 * Makefile.am ($(srcdir)/config/m68k-parse.h): New target, to
further try to circumvent the .y.h rule.
	* Makefile.in: Rebuild.
1997-08-06 16:01:27 +00:00
Ian Lance Taylor 29e28dd647 * doc/Makefile.am: New file, based on old doc/Makefile.in.
* doc/Makefile.in: Now built with automake.
1997-08-06 04:32:12 +00:00
Ian Lance Taylor e2b4bd2ae1 * Makefile.am: New file, based on old Makefile.in.
* acinclude.m4: New file, from old aclocal.m4.
	* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.  Remove
	shared library handling; now handled by libtool.  Replace
	AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AC_PROG_YACC,
	AC_PROG_LEX, and AC_DECL_YYTEXT.  Call AM_MAINTAINER_MODE,
	AM_CYGWIN32, and AM_EXEEXT.  Don't call CY_CYGWIN32 or CY_EXEEXT.
	* config.in: New file, created by autoheader.
	* conf.in: Remove.
	* acconfig.h: Mention PACKAGE, VERSION, and USING_CGEN.
	* stamp-h.in: New file.
	* as.c (print_version_id): Change GAS_VERSION to VERSION.
	(parse_args): Likewise.
	* config/obj-vms.c: (Write_VMS_MHD_Records): Likewise.
	* Makefile.in: Now built with automake.
	* aclocal.m4: Now built with aclocal.
	* configure: Rebuild.
1997-08-06 04:30:05 +00:00
Ian Lance Taylor e535307acd * cond.c (s_else): If not listing false conditionals, turn listing
off in the false branch of the else.
PR 13033.
1997-08-05 16:33:02 +00:00
Ian Lance Taylor 703f5e6e28 * config/tc-mips.c (macro): Fix handling of a double load from a
symbol plus an offset.
This is the test case, with -mips1:
	l.d	$f0,values+256
1997-08-04 21:00:37 +00:00
Richard Henderson 0426955144 * config/tc-alpha.c (s_alpha_ucons): New function.
(md_pseudo_table): Add unaligned data pseudos for DWARF.
1997-08-04 18:02:56 +00:00
Ian Lance Taylor c5cb7682c6 * ecoff.c (ecoff_build_symbols): Set fMerge to 0 for an FDR which
has an associated external symbol.
PR 12962.
1997-08-04 15:29:23 +00:00
Jeff Law c1b2205e48 * config/tc-v850.c (md_assemble): Ignore the rest of the current
line if we encounter an error.
pr13016.
1997-07-31 21:41:35 +00:00
Jeff Law 15d8ae9d85 * config/tc-v850.c (md_assemble): Sign extend constants value
for hi and hi0 expressions.
        (v850_insert_operand): Enable range checking for generic 16bit
        operands.
finish work for pr12944.
1997-07-31 21:11:17 +00:00
Jeff Law 5236fc72ef Forgot sanitize markers. 1997-07-29 20:20:12 +00:00
Jeff Law d222309aef * config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
LO16, HI16 and HI16_S relocs.
pr12979
1997-07-29 20:19:02 +00:00