Commit graph

4117 commits

Author SHA1 Message Date
Nick Clifton
973e995d34 Fix PR 16898 - Implement EITHER_BUT_PREFER_MU execution class
Fix PR 17135 - Prefer register names over symbol names, except when registers
		are unacceptable.
1998-09-23 01:11:23 +00:00
Jim Wilson
6c173d732e Fix non-ISO C code found by SGI C compiler.
* config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.
1998-09-23 00:00:45 +00:00
Nick Clifton
aa7bf2a890 Fix PR 17135 (whilst keeping PR14827 fixed) by prefering register names over
symbolic names, except where the register name is unacceptable.
1998-09-22 22:48:42 +00:00
Doug Evans
3c62de83cd update tc-dvp.c with sky-980617-branch 1998-09-21 20:27:28 +00:00
Nick Clifton
e8dedcb3fe Fix PR 17105 - reset previous insn to empty after emitting NOPs. 1998-09-21 17:44:48 +00:00
Michael Meissner
4abb25eaff Do not require an ANSI compiler 1998-09-20 22:21:23 +00:00
Ian Lance Taylor
568caf5326 Sun Sep 20 01:00:01 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* gas/vtable/inherit1.l: Require only the word GAS somewere in the
	first line of the listing.
1998-09-20 05:00:45 +00:00
Ian Lance Taylor
ba5900222d Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.h (TC_FORCE_RELOCATION): New macro.  Force vtable
	relocs.
	* config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
1998-09-20 04:59:11 +00:00
Catherine Moore
61b113a94e * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
assembler syntax.
(obj_elf_vtable_entry):  Likewise.
* config/tc-arm.h:  Define TC_FORCE_RELOCATION for OBJ_ELF.
* config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
(tc_gen_reloc): Likewise.
(arm_fix_adjustable): Likewise.
(elf32_arm_force_relocation): New.
(armelf_frob_symbol):  Remove coff-style symbol support.
Remove armelf sanitization.
1998-09-15 14:47:51 +00:00
Richard Henderson
1891eb9f0d * config/tc-i386.c (i386_operand): Fix typo in last patch. 1998-09-09 18:27:52 +00:00
Catherine Moore
d22136dc8c Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
* config/tc-arm.c (arm_adjust_symtab):  Move #ifdef
        OBJ_COFF so that routine is defined for a.out format.
1998-09-08 23:20:30 +00:00
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
0339ba4376 Keep them all. 1998-09-01 15:39:39 +00:00
Richard Henderson
042af36493 Keep vtable tests. 1998-09-01 15:38:06 +00:00
Richard Henderson
c1b27b2228 * gas/vtable/{entry0.d,entry1.d,inherit0.d}: Fix pattern matching
of whitespace for 64-bit hosts.
1998-08-31 20:26:33 +00:00
Richard Henderson
9ea48b423d * gas/vtable/vtable.exp: New.
* gas/vtable/{entry0.s,entry0.d}: New.
        * gas/vtable/{entry1.s,entry1.d}: New.
        * gas/vtable/{inherit0.s,inherit0.d}: New.
        * gas/vtable/{inherit1.s,inherit1.l}: New.
1998-08-31 19:49:48 +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
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