Catherine Moore
0f829c8eae
* cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs.
...
(gas_cgen_tc_gen_reloc): Likewise.
* config/tc-m32r.h (obj_fix_adjustable): Define.
* config/tc-m32r.c (m32r_fix_adjustable): New.
(m32r_force_relocation): Handle VTABLE relocs.
1998-10-16 18:45:25 +00:00
Nick Clifton
908b913631
Fix PR17762 - convert second opcode of a parallel insn to lower case before
...
parsing.
1998-10-13 00:45:27 +00:00
Nick Clifton
172fc86df5
Fix for PR 17008 - ignore conflicts when explicitly parallel instructions
...
both set bits in the PSW as side effects.
1998-10-12 18:09:31 +00:00
Nick Clifton
633f501677
Apply patches from PRs 16299, 17008 and 17140
1998-10-08 17:55:58 +00:00
Nick Clifton
726a394601
Ooops - failed to check in first part of patch for PR 17438
1998-10-08 17:19:55 +00:00
Nick Clifton
644a26542c
Fix for PR 16299: Do not assume that bad relocations always have an associated symbol.
1998-10-07 21:10:16 +00:00
Catherine Moore
1a113a4cdc
* tc-sparc.h (TC_FORCE_RELOCATION): Define.
...
(elf32_sparc_force_relocation): Declare.
* tc-sparc.c (md_apply_fix3): Handle vtable relocs.
(tc_gen_reloc): Handle vtable relocs.
(elf32_sparc_force_relocation): New.
1998-10-06 14:37:23 +00:00
Catherine Moore
272cea1421
* symbols.c (S_IS_FUNCTION): New.
...
* config/tc-v850.h (obj_fix_adjustable): Define.
(TC_FORCE_RELOCATION): Define.
(v850_force_relocation): Declare.
* config/tc-v850.c (tc_gen_reloc): Use offset instead
of fx_addnumber for VTABLE reloc addends.
(md_apply_fix3): Handle VTABLE relocs.
(v850_fix_adjustable): New.
(v850_force_relocation): New.
1998-10-05 14:30:25 +00:00
Jeff Law
e963374a58
* tc-hppa.c (fp_operand_format): Add some additional formats.
...
(pa_ip): Do not automatically promote into pa2.0 mode.
(pa_level): Handle ".level 2.0".
start-sanitize-cygnus
(struct pa_it): New field "trunc".
(pa_parse_fp_cnv_format): New function.
(pa_parse_ftest_gfx_completer): New function.
(pa_ip): Handle various new letters for PA2.0 support.
end-sanitize-cygnus
1998-10-05 06:52:58 +00:00
Ian Lance Taylor
b3ef365828
Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
...
* config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
* config/tc-i386.h (template.extension_opcode): Change to
unsigned int to allow full range of 8-bit opcode suffixes.
(None): Redefine as 0xffff.
From Jeff B Epler <jepler@usgs.gov>
* doc/c-i386.texi (i386-SIMD): New section.
1998-10-05 00:59:52 +00:00
Richard Henderson
f2bd868044
* read.c (discard_rest_of_line): New function.
...
* read.h: Declare it.
* config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.
1998-10-01 22:39:35 +00:00
Nick Clifton
6d48238de9
Enhanced fix for PR 14826 - cope with the case where a symbol name matches
...
a register name
1998-10-01 17:35:17 +00:00
Nick Clifton
b481c113bb
Fix PR 17042 - Do not attempt to resolve offsets to symbols in other sections
...
at assembly time.
1998-09-30 18:12:57 +00:00
Nick Clifton
4c404e8d9c
Apply fix from PR 14826 - generate an error if a register is supplied for a
...
operand that should not be a register.
1998-09-28 18:02:50 +00:00
Nick Clifton
1af37f6bde
Addtional fix for PR17045 - allowed delayed branches to have insns in the
...
R container
1998-09-25 17:06:05 +00:00
Nick Clifton
a173c5db00
Fic PR 17045: Do not allow insns in R bin if L bin contains a branch.
1998-09-24 16:31:20 +00:00
Nick Clifton
21056c79a4
PR 17438 - fix parsing of MVTSYS and MVFSYS insns.
1998-09-23 17:56:40 +00:00
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
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
Jeff Law
b706e6b44d
* gas/mn10300/am33_8.s: Test DSP autoincrement memory loads/stores.
...
* gas/mn10300/basic.exp: Corresponding changes.
1998-07-23 15:52:27 +00:00
Jeff Law
be7e9f7200
* gas/mn10300/am_*.s: Test autoincrement memory loads/stores.
...
* gas/mn10300/basic.exp: Corresponding changes.
1998-07-23 15:23:16 +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
Doug Evans
b817384cca
* cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
...
Update call to insert_operand.
1998-07-21 23:50:34 +00:00
Nick Clifton
99bf7e37cc
Changed format of help message
1998-07-17 18:44:05 +00:00
Jeff Law
4c4a5de543
* gas/mn10300/am33_5.s: Test 4 operand mul, mulu.
...
* gas/mn10300/basic.exp: Corresponding changes.
1998-07-17 00:19:01 +00:00
Ian Lance Taylor
f5030612ad
* config/tc-i386.c (md_assemble): Don't get confused by trailing
...
whitespace after a prefix operator.
1998-07-15 19:43:15 +00:00
Richard Henderson
c86d82ee47
Strip beos markers.
1998-07-14 23:15:20 +00:00
Richard Henderson
1aaf4ccc12
* configure.in (i386-*-beos{pe,elf,}*): Recognize.
1998-07-14 22:30:03 +00:00
Ian Lance Taylor
e1aa52069c
* config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
...
(s_common): Likewise.
1998-07-14 16:55:41 +00:00
Ian Lance Taylor
4a07363fae
Tue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com>
...
* config/tc-sparc.c (log2): New static function.
(s_reserve): Use log2 to convert alignment before calling
record_alignment.
(s_common): Use log2 to convert alignment before calling
record_alignment and frag_align.
(sparc_cons_align): Use log2.
1998-07-14 16:44:28 +00:00
Ian Lance Taylor
04a92367bc
* config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct
...
initialization of waddr.
(sparc_elf_final_processing): Add default case to switch.
1998-07-14 15:59:28 +00:00
Ian Lance Taylor
83d0817a9f
Tue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
...
* doc/c-i386.texi: Fix a typo. Use the term 80-bit real rather
than temporary real.
1998-07-14 15:01:17 +00:00
Ian Lance Taylor
7faae6fb08
Mon Jul 13 18:15:11 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
...
* gas/i386/*: All new i386 testsuite.
1998-07-13 22:33:46 +00:00
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
115bb25d15
add missing word
1998-07-03 19:28:00 +00:00
Ken Raeburn
5c1c32cae5
* lib/gas-defs.exp (gas_init): Complain if target name isn't in canonical form.
1998-07-03 03:10:58 +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
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