Commit Graph

2409 Commits

Author SHA1 Message Date
Ian Lance Taylor
d93487087f * write.c (subsegs_finish): Don't align the segments if there were
any errors.
1998-07-13 21:28:52 +00:00
Ian Lance Taylor
f8bca45846 * config/obj-coff.c (c_symbol_merge): Correct number of bytes when
copying aux information.
1998-07-13 20:00:30 +00:00
Ian Lance Taylor
67c66eccf2 * expr.c (make_expr_symbol): Catch attempts to turn an O_big
expression into a symbol.
1998-07-13 17:56:28 +00:00
Ian Lance Taylor
f27bdecf5a Mon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (mode_from_disp_size): Change arg and return
	type to unsigned int.
	(md_assemble): Change type used to store offsets from unsigned
	long to long.
	(i386_operand): Switch error check to only call RESTORE_END_STRING
	once after parse_register.
1998-07-13 17:31:43 +00:00
Nick Clifton
0c407dd6dd Changed format of help output 1998-07-10 23:01:30 +00:00
Ian Lance Taylor
4af4a84ce0 Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
	relocs.
	(md_apply_fix_2): Force the symbol of the vtable reloc to be
	weak.
1998-07-09 16:10:28 +00:00
Ian Lance Taylor
035151d03b * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
* doc/Makefile.in: Rebuild.
1998-07-09 15:32:16 +00:00
Jeff Law
d7cf212baf * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
for %lo expressions.
        (mips_ip, case 'u'): Move range check after code to mask
        off bits in %hi/%lo expressions.  Mask off high bits for
        %lo expressions.
pr16135
1998-07-08 18:25:52 +00:00
Ian Lance Taylor
9107a66f2f * doc/Makefile.am (gasver.texi): New target.
(as.info, as.dvi): Depends upon gasver.texi.
	* doc/as.texinfo: Include gasver.texi.  Mention version number on
	title page and in top node.
	* doc/Makefile.in: Rebuild.
1998-07-07 21:58:52 +00:00
Richard Henderson
ad0d51e38d * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
but not including the line containing the edict.
        * listing.h (LISTING_EOF): New.
        * input-scrub.c (input_scrub_next_buffer): Call it.

PR 14509
1998-07-07 18:46:38 +00:00
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
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
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
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
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
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
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
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
1d248b62f2 Always perform alignment requests, even if they are deemed to be unnessasary. 1998-06-21 19:27:45 +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
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
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
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
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
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
Doug Evans
79259a91a3 * config/tc-dvp.c (create_vuoverlay_section): Don't set a non-zero
section vma.
1998-06-12 19:49:54 +00:00