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