Commit Graph

3890 Commits

Author SHA1 Message Date
Nick Clifton
9c92d37083 Fixes to allow testsuite to pass (modulo problems with cofftag). 1998-05-21 22:04:56 +00:00
Nick Clifton
5519850dea Fix for PR15642 - apply label alignment adjustment to all labels at the given address. 1998-05-20 00:03:01 +00:00
Ian Lance Taylor
200b86ea4f * gas/mips/mips16.d: Correct to reflect bug fix to disassembler. 1998-05-19 22:17:38 +00:00
Catherine Moore
7ccd2d11c4 *** empty log message *** 1998-05-19 13:20:47 +00:00
Catherine Moore
a5002978e0 Use number_to_chars_bigendian and number_to_chars_littleendian to
write data in sparc_handle_align.
1998-05-19 13:03:09 +00:00
Nick Clifton
59bb547b06 Fix PR 15948 1998-05-19 00:12:10 +00:00
Doug Evans
93624d0b55 * write.c (fixup_segment): Change "segment" to "section" in
error message.
1998-05-18 23:06:10 +00:00
Michael Meissner
e13d507e0f Change subtraction of two symbols message; At end of file flush any debug_sym links 1998-05-18 20:56:45 +00:00
Jeff Law
1190b223b8 * config/tc-mips.c (validate_mips_insn): Handle ';' opcode completer.
(mips_ip): Likewise.
1998-05-18 17:51:56 +00:00
Frank Ch. Eigler
1cc17500c3 * Added tests for R5900 mult1 instructions. 1998-05-18 17:48:38 +00:00
Jeff Law
cb6a332528 * vu0.s: Test vopmula/vopmsub with and without opcode
completer.
        * vu0.d: Corresponding changes.
1998-05-18 17:48:37 +00:00
Nick Clifton
98c5cd5a5a Changed command line switch from --m32rx-enable-special to --hidden
Removed documentation about the switch.
1998-05-18 17:34:24 +00:00
Frank Ch. Eigler
d9c2c0c569 * Followup for SCEI PR 15853.
Mon May 18 12:37:38 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* config/tc-mips.c (macro): For R5900, use "B" operand format for
 	"break" instructions generated in macro (div etc.) instructions.
1998-05-18 13:33:26 +00:00
Michael Meissner
99fcd8a007 Improve error message 1998-05-18 13:33:25 +00:00
Frank Ch. Eigler
838aec1918 * Various MIPS test case tweaks.
Mon May 18 13:11:45 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* gas/mips/{div,ld,mul}.d: Add assembler -mcpu= flag to match
 	disassembler.
start-sanitize-r5900
	* gas/mips/break5900.[sd]: Test that break instructions generated
 	in div/etc. macro instructions are of 20-bit variety for R5900.
end-sanitize-r5900
1998-05-18 10:15:38 +00:00
Gavin Romig-Koch
312bba6754 add ld-ilocks-addr32.d 1998-05-15 19:39:54 +00:00
Gavin Romig-Koch
11ba9527b6 * gas/mips/mips.exp: Distinguish chains with 32-bit addresses.
* gas/mips/ld-ilocks-addr32.d : New.
1998-05-15 18:53:56 +00:00
Nick Clifton
ca6a899da7 Change command line switch fron --enable-special to --m32rx-enable-special 1998-05-14 20:54:47 +00:00
Doug Evans
472de7df0d * gas/m32r/uppercase.[sd]: Test for HIGH,SHIGH,LOW,SDA. 1998-05-14 00:02:36 +00:00
Doug Evans
7c62987898 * config/tc-m32r.c (warn_unmatched_high): New static local.
(OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
	(OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
	(md_longopts): Recognize --{no-,}warn-unmatched-high.
	(md_parse_option): Likewise.
	(md_show_usage): Likewise.
	(m32r_frob_file): Likewise.
1998-05-13 22:10:12 +00:00
Doug Evans
1fd8bfbda5 * gas/m32r/m32rx.d: Pass --enable-special to gas. 1998-05-13 22:07:23 +00:00
Doug Evans
95d33c131a * read.c (generate_file_debug,generate_lineno_debug): New functions.
(read_a_source_file): Call them.
	* read.h (stabs_generate_asm_file): Declare.
	* stabs.c (stabs_generate_asm_file): New function.
	(generate_asm_file): New function.
	(stabs_generate_asm_lineno): Move file name handling into
	generate_asm_file.
1998-05-13 17:19:22 +00:00
Nick Clifton
32c2be7633 Add --enable-special command line switch. 1998-05-12 20:38:36 +00:00
Richard Henderson
ab26b0497a PR 15889 was also in the previous tc-d30v.c commit, but
missed bringing over the log message from the branch.
1998-05-12 19:06:14 +00:00
Richard Henderson
7d515759c9 * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
(d30v_current_align, d30v_current_align_seg): New variables.
        (d30v_last_label): New variable.
        (d30v_align, s_d30v_align, s_d30v_text): New functions.
        (s_d30v_data, s_d30v_section): Likewise.
        (md_pseudo_table): Call them.
        (md_begin): Initialize d30v_current_align_seg.
        (md_assemble): Call d30v_align when needed by known current alignment.
        (d30v_frob_label, d30v_cons_align): New functions.
        * config/tc-d30v.h (md_do_align): Remove.
        (tc_frob_label): Call d30v_frob_label.
        (md_cons_align): New.

PR 15642
1998-05-12 19:04:29 +00:00
Doug Evans
cb74aaa54c * config/tc-dvp.c (md_begin): Set type of output file to mips:r5900. 1998-05-11 19:49:29 +00:00
Frank Ch. Eigler
4f6f7a3a1c * New test cases for MIPS R5900-specific 20-bit break, at customer request. 1998-05-11 17:11:54 +00:00
Jeff Law
c8f90c731e * po/Make-in (install-info): New target. 1998-05-11 04:36:09 +00:00
Doug Evans
d67094c621 * Makefile.am: Update with `make dep-am'.
(HFILES): Add cgen.h.
	(cgen.o): Depend on cgen.h.
	* Makefile.in: Regenerate.
1998-05-07 23:40:41 +00:00
Jeff Law
d41e1fba52 * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
instructions.
        * config/tc-mn10300.c (md_assemble): Likewise.
1998-05-07 21:50:14 +00:00
Doug Evans
f19f301d0c * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where. 1998-05-07 18:47:57 +00:00
Frank Ch. Eigler
1d99416d38 * Keep new test cases ({trap,break}20.[sd]). 1998-05-07 17:51:51 +00:00
Frank Ch. Eigler
a5c3c53c34 * Converted conditional-trap MIPS opcodes to extra-operand variety also.
* Bonus test cases to confirm behavior.

[ChangeLog]
Thu May  7 12:50:33 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* config/tc-mips.c (validate_mips_insn): Removed hack
	for previously inaccessible bitfields in some INSN_TRAP
	instructions.

[testsuite/ChangeLog]

Thu May  7 13:05:25 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* gas/mips/break20.[sd]: New tests for 20-bit operand break and
 	sddbp instructions.
	* gas/mips/trap20.[sd]: New tests for 20-bit operand trap
 	instructions.
	* gas/mips/mips.exp: Run them.
1998-05-07 17:45:24 +00:00
Ian Lance Taylor
82df8834c9 Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
* gasp.c (grab_label): Permit a label to be a preprocessor
	variable by permitting a label to start with a backslash.
1998-05-07 17:22:30 +00:00
Frank Ch. Eigler
40f0c90498 * Fixes for d30v PR 15627.
* First batch of fixes for sky PR 15853 (20-bit break/sdbbp)
* Fixes for d30v test suite.
1998-05-07 15:27:13 +00:00
Michael Meissner
b70d53742c Fix typo 1998-05-07 11:48:27 +00:00
Doug Evans
defc70bf2b * cgen.h: New file.
* cgen.c: Include it.
	(MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
	(cgen_asm_finish_insn): Result is now void.  New arg `result'.
	All callers updated.
	* config/tc-m32r.c: Include cgen.h.
	(m23r_insn): New members num_fixups,fixups.
	(assemble_parallel_insn): Initialize debug_sym_link for each insn.
	(md_assemble): Simplify code to pack two insns in parallel.
	When swapping two insns, update their fixups.
1998-05-07 09:31:42 +00:00
Doug Evans
2ac0ca44d3 * config/tc-dvp.c: Delete inclusion of "sysdep.h". 1998-05-06 23:30:32 +00:00
Jeff Law
8be4960fe8 * config/tc-hppa.c (md_apply_fix): Slightly rework some code
to avoid compiler warning.
1998-05-06 22:28:53 +00:00
Ian Lance Taylor
10779648f8 Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: Run dec c with /nodebug.  Pass CC value when
	calling make.
1998-05-06 19:32:31 +00:00
Ian Lance Taylor
21e2eeaaf1 Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms (OBJS): Add ehopt.obj
1998-05-06 19:27:05 +00:00
Ian Lance Taylor
6a1421c662 Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de>
* doc/c-vax.texi: Correct and extend vax/vms documentation.
1998-05-06 19:12:59 +00:00
Richard Henderson
daaef8f8df * config/tc-d30v.c (do_assemble): Accept a new parameter requesting
a short format insn.
	(md_assemble): Set it for explicitly packed insns.

PR 14601
1998-05-06 18:56:08 +00:00
Ian Lance Taylor
ee66b572a8 fix xgettext invocation 1998-05-06 18:16:28 +00:00
Gavin Romig-Koch
6ef925e86e * config/tc-mips.c (macro,macro2): Implement
M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
1998-05-05 17:12:41 +00:00
Ian Lance Taylor
c8f28d295d Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
	relocations against globally visible symbols.
	* config/tc-m68k.c (relaxable_symbol): New macro.
	(m68k_ip, md_estimate_size_before_relax): Use it.
	(tc_m68k_fix_adjustable): Also handle weak symbols.
1998-05-04 21:53:49 +00:00
Ian Lance Taylor
d4931e7801 remove unnecessary blank line 1998-05-04 21:28:38 +00:00
Ian Lance Taylor
f3d491b171 * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
references to externally visible symbols.
	* config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
 	values in twice for a PC relative reloc if the symbol is
 	externally defined.
1998-05-04 21:10:49 +00:00
Ian Lance Taylor
3ccd41aef9 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
don't adjust a PC relative reloc against an externally visible
	symbol.
	* config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
	for a PC relative fixup against an externally visible defined
	symbol, arrange to store object file and addend values as though
	the symbol were not defined.
	(tc_gen_reloc): Likewise.
1998-05-04 20:16:35 +00:00
Fred Fish
7f77acfddb * read.c (sizeof_leb128): Referenced externally by write.c so
don't inline.
1998-05-01 00:24:17 +00:00