Commit Graph

4016 Commits

Author SHA1 Message Date
Ian Lance Taylor
5819d6324a Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (i386_operand): Don't set the size of an
 	immediate address based solely on the suffix and the mode.

	* config/tc-i386.c (md_assemble): Add assertion to make sure
	overlap2 does not set Imm.
1998-07-07 17:20:59 +00:00
Ian Lance Taylor
4edc93e913 Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (space_chars): Remove. The scrubber converts
	sequences of whitespace to a single space.
	(is_space_chars): Just compare with space.
	(md_begin): Don't initialize space_chars.
	(md_assemble): Just skip a single whitespace character.
	(i386_operand): Rewrite base-index parsing to use new
	parse_register, and to skip white space.  Skip white space in a
	number of other places too.  Don't give error message if
	parse_register fails.
	(parse_register): Change reg_string parameter to be non-const.
	Add end_op parameter.  Skip white space after the `%', and return
	end of register string.  Give error message here rather than
	caller.
1998-07-07 17:09:55 +00:00
Ian Lance Taylor
0378333b74 Rearrange ChangeLog files by years. 1998-07-06 22:27:28 +00:00
Ian Lance Taylor
4d315b8660 * expr.c (op_encoding): Make const.
(expr_set_precedence): New function.
	(expr_begin): Don't set operator rankings, just call
	expr_set_precedence.
	* expr.h (expr_set_precedence): Declare.
	* read.c (s_mri): Call expr_set_precedence.
1998-07-03 19:55:44 +00:00
Ian Lance Taylor
115bb25d15 add missing word 1998-07-03 19:28:00 +00:00
Ken Raeburn
5c1c32cae5 * lib/gas-defs.exp (gas_init): Complain if target name isn't in canonical form. 1998-07-03 03:10:58 +00:00
Ian Lance Taylor
20489f152f * doc/as.texinfo (Statements): Remove paragraph discussing
continuing lines with a backslash.  This hasn't worked for years,
	if it ever did.
1998-07-02 20:25:45 +00:00
Ian Lance Taylor
8e6950e33b Thu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de>
* obj-vms.c: Add C++ support with ctors/dtors sections.  Add weak
	symbol definitions.
	(Ctors_Symbols, Dtors_Symbols): New symbol chains.
	(ps_CTORS, ps_DTORS): New section types.
	(vms_fixup_xtors_section): New function
	(Ctors_Psect, Dtors_Psect): Define.
	(IS_GXX_XTOR): Define
	(global_symbol_directory): Change check of gxx_bug_fixed to 0.
	Filter static constructors/destructors and add to
	Ctors_Symbols/Dtors_Symbols chain.
	(vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
	appropriate section.

        * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
	* makefile.vms: Merge vax/vms support.
1998-07-02 18:55:33 +00:00
Ian Lance Taylor
cf6e014de7 rebuild 1998-07-02 18:55:13 +00:00
Richard Henderson
7e6566495b * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
(elf_pseudo_table): Add them.
        * config/tc-mips.c (mips_force_relocation): Force vtable relocs.
        (md_apply_fix): Accept them.
        (mips_fix_adjustable): Don't adjust them.
        (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
        * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
        * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
        (tc_fix_adjustable): Don't adjust them.
1998-07-02 05:34:36 +00:00
Doug Evans
7c269afbb6 * Makefile.am (CGEN_CPU_PREFIX): New variable.
(cgen.o): Use it.
	* Makefile.in: Regenerate.
	* configure.in: AC_SUBST cgen_cpu_prefix.
	* configure: Regenerate.
1998-07-01 23:39:37 +00:00
Nick Clifton
54760676b2 xfail ARM and Thumb coifftag test 1998-07-01 22:36:33 +00:00
Ian Lance Taylor
9d68c1e137 * gas/ppc/simpshft.s: Add alignment so that it works on AIX.
* gas/ppc/simpshft.d: Change accordingly.  Only dump the .text
	section.
1998-07-01 21:32:44 +00:00
Doug Evans
6e6770c11c * gas/dvp/lower-2.[sd]: New testcase.
* gas/dvp/dvp.exp: Run it.
1998-07-01 20:50:44 +00:00
Joern Rennecke
d1a7caf901 I found that the relax failure for execute/930628-1.c is due to gas
incorrectly relaxing an out-of-range conditional branch with delay slot.
It turned:
                        bf.s    L6              (slot mov.l   r12,@(44,r0))
into:

   2c:  8f 01 a0 8b     bf.s    32 <_main+32>   (slot bra       L6)
   30:  00 09           nop
   32:  10 cb           mov.l   r12,@(44,r0)

	* config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
	Changed all users of COND12_DELAY.
1998-07-01 20:42:42 +00:00
Doug Evans
9bae457810 * config/tc-dvp.c (md_apply_fix3): Handle new relocs
BFD_RELOC_MIPS_DVP_11_S4, BFD_RELOC_MIPS_DVP_U15_S3.
1998-07-01 19:40:56 +00:00
Jeff Law
f88a2342d0 * config/tc-mn10300.c (r_registers): Fix typo and add some missing
registers.
1998-06-29 21:01:03 +00:00
Gavin Romig-Koch
b08a983c45 * config/tc-mips.c (prev_insn_labels): New.
(mips_fix_4011_branch_bug): New.
	(append_insn): Watch for and handle branchs with labels.
	(mips_no_prev_insn): Initialize prev_insn_labels.
	(md_longopts,md_parse_option): Add {no-}fix-4011-branch-bug option.
1998-06-29 13:38:34 +00:00
Jeff Law
3be26805cc * config/tc-mn10300.c (set_arch_mach): New function.
(md_pseudo_table): Add pseudo-ops to set the current machine type.
        (md_begin): Default to mn10300 mode.
        (md_assemble): Only accept instructions for the core mn10300
        chip and the active machine type.
1998-06-26 17:24:34 +00:00
Jeff Law
5760b825aa * gas/mn10300/am33.s: Add .am33 pseudo-op to force am33 mode.
* gas/mn10300/{am33_2.s, am33_3.s, am33_4.s, am33_5.s}: Likewise.
        * gas/mn10300/{am33_6.s, am33_7.s, am33_8.s}: Likewise.
        * gas/mn10300/basic.exp: Corresponding changes.
1998-06-26 17:20:53 +00:00
Ian Lance Taylor
9154d6889d remove CVS conflict marker 1998-06-24 23:09:05 +00:00
Ian Lance Taylor
35111bf8a7 * subsegs.h (segment_info_type): Give the struct a name.
* config/tc-h8300.h (tc_reloc_mangle): Add prototype.
	* config/tc-h8500.h (tc_reloc_mangle): Declare.
	* config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
	* config/tc-w65.h (tc_reloc_mangle): Declare.
	* config/tc-z8k.h (tc_reloc_mangle): Declare.
1998-06-24 23:08:26 +00:00
Catherine Moore
9576a4d5a0 Restore old section after common creation. 1998-06-24 19:25:49 +00:00
Jeff Law
70f4a97cb5 * gas/mn10300/basic.exp (do_am33_3): Fix typo. 1998-06-24 16:15:21 +00:00
Ian Lance Taylor
499ecd2f43 Wed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de>
* config/obj-vms.c (Create_VMS_Object_File): Force binary file.
1998-06-24 15:54:05 +00:00
Jeff Law
5d626b5ece * config/tc-mn10300.c (r_registers): Add a0-a3,d0-d3 and e0-e7
as synonyms for "rN" registers.
        (xr_registers): Add mcrh, mcrl, mcvf, mdrq and sp as synonyms
        for "xrN" registers.
        (md_assemble): Fix typo computing the size of relocations.
1998-06-24 15:44:27 +00:00
Jim Wilson
56a72c4548 Fix irix6-x-h8300 gas bug found while looking at gcc nightly testing failure.
* config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
	char with code that explicitly sign-extends.
1998-06-24 01:48:42 +00:00
Nick Clifton
59b8f2097f Fix tests to match latest assembler results. 1998-06-23 22:17:19 +00:00
Nick Clifton
e98d1a3265 Fixed testsuite macros/reloc.s failure. 1998-06-23 22:14:25 +00:00
Nick Clifton
7699bb0ba2 Conceal ugly code behing macro. 1998-06-23 20:56:19 +00:00
Ian Lance Taylor
ff000c2bfa Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com>
* Makefile.am (install-exec-local): Don't let EXEEXT interfere
	with the program transform name.
	* Makefile.in: Rebuild.
1998-06-23 19:10:19 +00:00
Ian Lance Taylor
aa3c8d2d37 * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary
information.
1998-06-22 23:53:10 +00:00
Jeff Law
573916e377 * config/tc-mn10300: Handle FMT_D10 instructions. 1998-06-22 19:50:23 +00:00
Jeff Law
1d18312ae6 * gas/mn10300/am33_6.s: New test.
* gas/mn10300/am33_7.s: Likewise.
        * gas/mn10300/am33_8.s: Likewise.
        * gas/mn10300/basic.exp: Run them.
1998-06-22 19:48:19 +00:00
Ian Lance Taylor
bc7809ee23 * config/tc-i386.c (i386_operand): Be prepared for a space between
the open parenthesis and the start of the register operand,
	because of the June 16 change.
1998-06-22 19:20:14 +00:00
Frank Ch. Eigler
25eafc5b75 * Bringing over fix for PR 16301 from sky beta branch. 1998-06-22 09:25:05 +00:00
Ian Lance Taylor
4d865f1ba7 * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if
BFD_ASSEMBLER.
1998-06-22 01:27:47 +00:00
Nick Clifton
4a91fb4f12 Updated to match latest assembler output. 1998-06-21 19:46:05 +00:00
Nick Clifton
1d248b62f2 Always perform alignment requests, even if they are deemed to be unnessasary. 1998-06-21 19:27:45 +00:00
Frank Ch. Eigler
ec85f6bc51 * Fix small typo. 1998-06-20 09:21:44 +00:00
Jeff Law
f26a329970 * config/tc-mips.c (hilo_interlocks): Check mips_5900, not
mips_cpu == 5900.
1998-06-20 02:00:03 +00:00
Jeff Law
68a3f9c550 * config/tc-mn10300.c (md_assemble): Handle FMT_D8 and FMT_D9
instruction formats.  Handle MN10300_OPERAND_24BIT modifier.
        (mn10300_insert_operand): Likewise.
        (mn10300_check_operand): Likewise.
1998-06-19 22:54:36 +00:00
Jeff Law
3f98014f76 * gas/mn10300/am33_4.s: New test.
* gas/mn10300/am33_5.s: New test.
        * gas/mn10300/basic.exp: Run them.
1998-06-19 22:50:44 +00:00
Ian Lance Taylor
622b1860e1 * write.c (adjust_reloc_syms): Never adjust relocs against weak
symbols.
	* config/tc-mips.c (md_apply_fix): Adjust accordingly.
1998-06-19 17:58:12 +00:00
Jeff Law
e7ffb037ca start-sanitize-am33
* config/tc-mn10300.c (r_registers): Add missing registers.
        (xr_registers): New set of registers.
        (xr_register_name): New function.
        (md_assemble): Handle XRREG and PLUS operands.  Tweak handling of
        RREG operand insertion.  Handle new D6 and D7 instruction formats.
end-sanitize-am33
        * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the
        shift amount for a repeated operand.  The shift amount for the
        repeated copy comes from the size of the operand.
1998-06-19 15:54:22 +00:00
Jeff Law
1d5e24f40a * gas/mn10300/am33_2.s: New test.
* gas/mn10300/am33_3.s: New test.
        * gas/mn10300/basic.exp: Run them.
1998-06-19 15:47:03 +00:00
Jeff Law
daaab34a77 * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support. 1998-06-19 06:47:19 +00:00
Jeff Law
cefa6a6107 Remove reference to vr5400 inside a r5900 ChangeLog entry. 1998-06-18 19:12:41 +00:00
release
3bb1e046d0 fix sanitization typo 1998-06-18 07:31:22 +00:00
Jeff Law
a2d41a258b * gas/mn10300/am33.s: New test.
* gas/mn10300/basic.exp: Run it.
1998-06-18 00:17:18 +00:00