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
David Edelsohn
30249a6ad0
* gas/m32r/relax-1.[ds]: New testcase.
...
* gas/m32r/m32r.exp: Run it.
1997-08-25 18:05:44 +00:00
Nick Clifton
9c506dfb5d
Fixed node name.
1997-08-25 17:18:21 +00:00
Nick Clifton
2b3e0f9e1e
Switch from C++ style comment to C style.
1997-08-25 16:41:18 +00:00
Ian Lance Taylor
f6c44ed302
fix v850 sanitization
1997-08-23 16:34:55 +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
f483cb11c8
Fixed v850_section to cope with original section styles as well.
1997-08-21 21:43:44 +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
be3d1b6f9e
fix copyrights
1997-08-15 18:26:52 +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
David Edelsohn
76fc9bac4b
Remove support for insns not in base chip, which is all we support now.
1997-08-15 06:58:48 +00:00
David Edelsohn
6ac387f1f8
Delete testcases, these don't appear in the base chip which is all we
...
support now.
1997-08-15 06:53:50 +00:00
David Edelsohn
3ffb03b170
Remove ARC sanitization.
1997-08-15 06:49:09 +00:00
Nick Clifton
035d8553d7
Fixed typo in previous delta and added more sanitization.
1997-08-14 19:55:03 +00:00
Nick Clifton
323b12f8ce
oops - fixed typo.
1997-08-14 19:48:36 +00:00
Nick Clifton
58036ae4c9
Tidied up the sanitization.
1997-08-14 19:34:58 +00:00
Nick Clifton
32e23ecd9c
Added support for v850e and v850eq instructions.
1997-08-14 02:03:34 +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
9fcc5e478c
Sanitize Makefile.am
1997-08-06 15:24:36 +00:00
Ian Lance Taylor
3529c5c385
* config/default.exp: Set AS and GASP to as-new, not as.new.
1997-08-06 04:33:45 +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
0d2ac65711
* config/default.exp: Set NM to nm-new, not nm.new, to match
...
recent change in binutils build directory.
1997-08-05 16:34:03 +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
f0a26f5665
* gas/v850/range.s: New test.
...
* gas/v850/basic.exp: Run it.
testcase for pr12944 related stuff.
1997-07-31 21:18:00 +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
Rob Savoye
293bc1d506
* Oops, forgot to check this in with the rest of the files.
1997-07-30 22:35:46 +00:00
Jeff Law
9f72a94f72
* gas/v850/hilo2.s: New test.
...
* gas/v850/fepsw.s: New test.
* gas/v850/basic.exp: Run them.
1997-07-29 20:31:41 +00:00
Jeff Law
5236fc72ef
Forgot sanitize markers.
1997-07-29 20:20:12 +00:00