Commit graph

2467 commits

Author SHA1 Message Date
Richard Henderson
de1d28b669 * config/tc-i386.c (i386_operand): Detect non-segment registers
used as segment prefixes.
1998-09-08 22:57:36 +00:00
Ian Lance Taylor
5c27572868 * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
optimize across FDE boundaries.
1998-09-06 00:39:46 +00:00
Ian Lance Taylor
10926eb0d4 * config/obj-coff.c (obj_coff_section): Preserve any link once
flags when setting the section flags.
1998-09-05 23:01:35 +00:00
Nick Clifton
a03925a2fc Fixed generation of thumb function symbols. 1998-09-05 02:58:46 +00:00
Richard Henderson
08a63c2c4a Fri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
* config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
        to the host width.
1998-09-04 20:59:53 +00:00
Richard Henderson
2dabca81ba * frags.c (frag_grow): Include the size of the frag struct in the
obstack chunk size.
1998-09-02 18:35:47 +00:00
Richard Henderson
b90891398c * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
to handle edge8 and edge16.
1998-09-02 18:30:59 +00:00
Richard Henderson
11e07ad09a * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
before we clobber the symbol involved.
1998-08-31 16:52:18 +00:00
Catherine Moore
cdb3d5f902 * config/tc-arm.c: Remove OBJ_ELF definitions for
S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.  Only
        use arm_adjust_symtab for OBJ_COFF.
        (armelf_adjust_symtab):  New Routine.
        * config/tc-arm.h:  Define obj_adjust_symtab to
        armelf_adjust_symtab for OBJ_ELF.
1998-08-31 16:06:30 +00:00
Richard Henderson
a1624e3f1b * configure.in: Make all i386-elf targets use bfd_gas.
* config/tc-i386.c (tc_i386_force_relocation): New.
        (tc_i386_fix_adjustable): Don't fix vtable relocs.
        (md_apply_fix3): Likewise.
        (tc_gen_reloc): Handle them.
        * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
        tc_i386_force_relocation.
1998-08-30 05:23:16 +00:00
Catherine Moore
603e9cf139 remove armelf sanitization 1998-08-26 17:25:19 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Frank Ch. Eigler
e4d7741205 * Bringing over sky (dvp) gas change from branch.
Wed Jul 22 17:39:28 1998  Frank Ch. Eigler  <fche@cygnus.com>
        * config/tc-dvp.c (parse_float): Accept 0xhex constants
        also for VU LOI operand.
1998-07-22 18:38:27 +00:00
Ian Lance Taylor
1ca268445f * doc/as.texinfo: Add documentation for .end, .exitm, .fail,
.ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
	.print, .purgem, and .struct.  Remove documentation for
	.app-file.
1998-07-22 18:38:26 +00:00