Commit Graph

4091 Commits

Author SHA1 Message Date
Nick Clifton
080a50b635 Improve formatting of --help output 1998-08-24 20:41:35 +00:00
Doug Evans
71ac5f50ad heh heh, too quick with cuttin-n-pastin.
Sanitize tc-dvp.c part of last entry.
1998-08-21 18:26:14 +00:00
Nick Clifton
108fb83e13 Fix for PR15003 - copy prev_opcode over opcode after issuing first insn in
a REVSEQ pair.
1998-08-21 17:03:20 +00:00
Ian Lance Taylor
3eb82b4ed7 skip CVS when looking at sanitized files 1998-08-21 15:58:30 +00:00
Doug Evans
7b3e7df66b * read.h (generate_lineno_debug): Add prototype.
* read.c (generate_lineno_debug): Make non-static.
	* config/tc-dvp.c (insert_mpg_marker): Call generate_lineno_debug.
Part of fix for pr 16876.
1998-08-21 14:53:38 +00:00
Ian Lance Taylor
3f331512e8 * gas/i386/white.l: Revert patch of August 12. 1998-08-21 03:18:55 +00:00
Ian Lance Taylor
61c49d6652 Thu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (md_assemble): Only warn for address/data size
	prefixes.
1998-08-21 03:18:04 +00:00
Ian Lance Taylor
6e60709bd3 rework last patch 1998-08-20 21:58:15 +00:00
Nick Clifton
e93a31e414 do not adjust relocations against thumb function names as the linker needs
this information.
1998-08-20 21:47:17 +00:00
Ian Lance Taylor
af98e836ec check for mentions of sanitized files 1998-08-20 21:16:39 +00:00
Vladimir Makarov
1929bdc748 * expr.c (operand): Check also that there is no advance in operand
after atof_generic in order to decide "is it label 0f or floating
	point number?".
1998-08-20 20:08:23 +00:00
Vladimir Makarov
ff0f011267 * expr.c (operand): Check more correctly that there is no advance
in operand after atof_generic in order to decide "is it label 0f
	or floating point number?".
1998-08-20 18:28:07 +00:00
Vladimir Makarov
bb89d84ac7 * expr.c (operand): Check correctly that there is no advance in
operand after atof_generic in order to decide "is it label 0f or
	floating point number".
PR16670
1998-08-20 16:10:35 +00:00
Catherine Moore
38a29f0275 Add sanitization markers. 1998-08-19 16:40:22 +00:00
Nick Clifton
26be242342 Fix for PR 16412 - give M32R specific command line options a one dash prefix
instead of two.
1998-08-19 16:31:30 +00:00
Catherine Moore
aae39e3784 tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
tc-arm.c (arm_fix_adjustable): New routine.
1998-08-18 17:03:48 +00:00
Vladimir Makarov
98b5b2d6d3 * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
 	demand_empty_rest_of_line before mri_comment_end.
 	(equals): Check garbage after expression before
 	mri_comment_end in MRI mode.
PR16551
1998-08-13 22:05:52 +00:00
Ian Lance Taylor
6b34ac5a5c * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
small immediate constant to use the constant itself rather than
	always using 1.
1998-08-13 19:09:25 +00:00
Jeff Law
c845aa02b0 Keep udf.s 1998-08-13 16:38:42 +00:00
Ian Lance Taylor
f0236ec445 * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
(pa_leave): Likewise.
1998-08-12 22:51:38 +00:00
Jeff Law
02ad0c056d * gas/mn10300/udf.s: New test.
* gas/mn10300/basic.exp: Run it.
1998-08-12 17:56:43 +00:00
Nick Clifton
80522b7d5b Document .req directive
Improve error message when unrecognised register name is encountered.
1998-08-12 17:32:39 +00:00
Ian Lance Taylor
78a1a4f74e Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (md_assemble): Emit a warning for stand-alone
	prefixes.
	(i386_operand): Fix an error message.
1998-08-12 17:26:42 +00:00
Ian Lance Taylor
b494c4c9e7 Wed Aug 12 13:25:38 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* gas/i386/white.l: Expect warning for stand-alone ss prefix.
1998-08-12 17:26:17 +00:00
Ken Raeburn
3d759c53c9 sanitize-vr5400 -> sanitize-cygnus, for 98r2 1998-08-12 10:50:35 +00:00
Nick Clifton
54af55918b Fix PR 15003 - always perform alignment requests 1998-08-10 22:07:57 +00:00
Ian Lance Taylor
c2e9e83dbc Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
config/tc-i386.c (i386_operand): Size immediate constants by
	suffix (erroneously removed as part of July 7 change).
1998-08-10 21:50:33 +00:00
Catherine Moore
f58983c19e * config/obj-elf.h: Check for redefinition of obj_frob_symbol.
* config/tc-arm.c:  Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
        (armelf_frob_symbol):  New Routine.
        * config/tc-arm.h:  Define obj_frob_symbol if OBJ_ELF.
1998-08-10 01:56:36 +00:00
Richard Henderson
a582ac33a3 * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms. 1998-08-08 22:23:44 +00:00
Catherine Moore
157a2e242f add sanitization markers. 1998-08-07 01:29:08 +00:00
Nick Clifton
41129369a6 Set BFD private flags based on command line switches. 1998-08-05 22:55:12 +00:00
Doug Evans
faeff397e6 * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
(gas_cgen_opcode_desc): Declare.
	(gas_cgen_parse_operand): Declare.
	(*): Prepend gas_ to gas specific fns to denote them as such.
	All uses updated.
	* cgen.c (gas_cgen_opcode_desc): New global
	(gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
	(queue_fixup): Renamed from cgen_queue_fixup.
	(*): Prepend gas_ to gas specific fns to denote them as such.
	All uses updated.
	(gas_cgen_md_apply_fix3): Update call to insert_operand.
	(gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
	* config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
	Open opcode table and initialize it.
	(make_parallel): Use gas_cgen_opcode_desc.
	(assemble_parallel_insn): Ditto.  Remove use of CGEN_SYM.
	(md_assemble): Ditto.
1998-08-03 21:18:08 +00:00
Catherine Moore
35fa3babe2 add armelf. 1998-08-02 17:30:11 +00:00
Catherine Moore
f019e5bfcc Add armelf. 1998-08-02 17:26:10 +00:00
Richard Henderson
edc27ea5da * as.h (debug_info_type): Add entries for unspecified and dwarf*.
* ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
        as_where ourselves.  Provide a stub for !ECOFF_DEBUGGING.
        * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
        Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
        * read.c (generate_lineno_debug): Tidy ECOFF bits.  Use
        DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
        * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
        (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
        (INIT_STAB_SECTION): Likewise.
        (OBJ_PROCESS_STAB): Likewise.

        * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
        (md_parse_option): Watch for them.
        (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
        (md_begin): Kill neverdef code.
        (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
        (s_alpha_prologue): Watch alpha_cur_ent_sym.
        (s_alpha_coff_wrapper): New.
        (md_pseudo_table): Trap all ECOFF pseudos.
1998-08-02 02:39:52 +00:00
Ron Unrau
4f528afaf1 Start of changes to remove mdebug section from mips*-elf
Based on MIPS_STAB_ELF definition
        * acconfig.h: undef if not configured
        * config.in: undef if not configured
        * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
        * config/tc-mips.c (s_ent): set BSF_FUNCTION
        * stabs.c (s_stab_generic): flush frag
1998-07-31 21:56:15 +00:00
Catherine Moore
1667e4c2e0 * config/tc-arm.h: Add definitions for OBJ_ELF. 1998-07-31 21:44:56 +00:00
Catherine Moore
72d52fcda0 *** empty log message *** 1998-07-31 21:18:34 +00:00
Catherine Moore
0a8aeb55e4 * configure.in: (arm-*-elf): Handle.
(thumb-*-elf): Handle.
        * configure:  Regenerate.
        * read.c (stringer): Fix typo in comment.
        * write.c (fixup_segment): Don't add symbol value to addend if
        TC_ARM and OBJ_ELF.
        * config/tc-arm.c (md_section_align):  Don't align dwarf debug
        sections.
        (tc_gen_reloc):  Always set the reloc addend to fixp->fx_offset
        for OBJ_ELF.
1998-07-31 21:15:51 +00:00
Frank Ch. Eigler
e21cafde4e * Fix for PR 16389, brought over from d30v branch.
Thu Jul 30 21:38:43 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
	(write_2_short): Emit warning if new flag is set.
	(do_assemble): Set flags if left instruction is one of special
	"right-instruction-killer" type.
1998-07-30 19:41:18 +00:00
Doug Evans
1beffba126 New testcases for PR 16547 (new insns added). 1998-07-28 18:47:29 +00:00
Jeff Law
711eeac0eb * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
to work with internationalization code.  Issue an error when two
        operands match that are not allowed to match.
1998-07-28 17:03:05 +00:00
Doug Evans
f36af4ae61 * configure.in (install_tooldir): Allow target to specify whether
it wants to be installed in $(tooldir)/bin.
start-sanitize-sky
	(dvp-*-*): Don't install in $(tooldir)/bin.
end-sanitize-sky
	* configure: Regenerate.
	* Makefile.am (install-exec-local): Set install-exec-tooldir
	dependency via configure.
	* Makefile.in: Regenerate.
1998-07-27 23:30:34 +00:00
Doug Evans
db36f77fa0 * Makefile.am (install-exec-local): Split into two ...
(install-exec-bindir,install-exec-tooldir): New rules.
	* Makefile.in: Regenerate.
1998-07-25 03:03:45 +00:00
Ian Lance Taylor
8b898eb168 * Makefile.am (install-exec-local): Don't remove the file before
checking whether $(bindir) == $(tooldir)/bin.  From Maciej
	W. Rozycki <macro@ds2.pg.gda.pl>.
	* Makefile.in: Rebuild.
1998-07-24 20:33:13 +00:00
Doug Evans
019b378aed * cgen.c: Include libiberty.h.
(cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
	(cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
	* cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
	(md_cgen_lookup_reloc)): Declare.
	(md_cgen_record_fixup_exp): Declare.
	* config/tc-m32r.h (md_pcrel_from_section): Declare.
	(m32r_relax_frag): Declare.
	(cgen_md_apply_fix3): Decls moved to cgen.h.
	(cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
	(m32r_cgen_record_fixup_exp): Delete decl.
	* config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
	(assemble_nop): Delete.
	(expand_debug_syms): Delete unused `exp'.
	(md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
	Add default case for -Wall.
	(m32r_cgen_record_fixup_exp): Add default case for -Wall.
	(md_atof): Delete unused wordP.
1998-07-24 18:28:19 +00:00
Doug Evans
8041db84cb * config/tc-dvp.c (assemble_vif): Make label at start of overlay
a local label.
	(create_vuoverlay_section): Put __start_ label at start of overlay
	for gdb.
1998-07-24 16:18:22 +00:00
Ian Lance Taylor
cc88a10633 remove d30v sanitization 1998-07-24 03:39:19 +00:00
Ian Lance Taylor
d2245e2b49 rebuild 1998-07-24 03:38:43 +00:00
Jeff Law
41e9f56c74 * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
value.
1998-07-23 19:20:47 +00:00