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
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