Commit graph

4009 commits

Author SHA1 Message Date
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
Jeff Law
82169ecef7 * config/tc-mn10300.c (r_registers): New register table.
(r_register_name): New function.
        (md_assemble): Handle new am33 operand types.
1998-06-18 00:12:44 +00:00
Ian Lance Taylor
31493cdfd6 * config/tc-mips.c (md_show_usage): Fix -mipsN usage. 1998-06-17 17:07:54 +00:00
Frank Ch. Eigler
0f70e64f0e * MIPS test suite changes that allow cross-assemblers to test MIPS dialects
other than their native tongues.
Wed Jun 17 14:02:10 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* gas/mips/delay.d: Add -mcpu=NNNN to gas flags to let test case
 	run on differently targeted assembler.
	* gas/mips/{ld-ilocks-addr32,ld-svr4pic.d}: Ditto.
	* gas/mips/{ld-xgot.d,lif-svr4pic.d,lif-xgot.d}: Same.
	* gas/mips/{mips16.d,mips4.d,nodelay.d}: Again.
	* gas/mips/{trunc.d,uld.d,ulh-xgot.d,usd.d}: And then some.
	* gas/mips/ld-ilocks.d: Removed disassembler flags to let target
 	defaults go unmodified.  Replaced $f4/$f5 with $fp[45], as the
	original `ld.d' had.  Find `ld.s'.
	* gas/mips/mul-ilocks.d: Nearly ditto.
1998-06-17 11:31:32 +00:00
Ian Lance Taylor
fe55a7e7ca Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
	characters in it as LEX_IS_SYMBOL_COMPONENT.
	* config/tc-i386.h (tc_symbol_chars): Define.
	(extra_symbol_chars): Declare.
	* config/tc-i386.c (extra_symbol_chars): Define.
	(comment_chars): Don't use '/' as comment start if TE_LINUX.
	(line_comment_chars): Set to '/' if TE_LINUX.
	* doc/c-i386.texi (i386-prefixes): Update.
	* doc/internals.texi (CPU backend): Document tc_symbol_chars.
1998-06-16 17:10:17 +00:00
Ian Lance Taylor
5cd989d5af rebuild 1998-06-12 23:13:41 +00:00
Tom Tromey
27a0ce8805 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
($(PACKAGE).pot): Unconditionally depend on POTFILES.
1998-06-12 22:32:29 +00:00
Vladimir Makarov
a85e84c530 PR15067 1998-06-12 19:54:28 +00:00