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
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
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
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
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
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
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
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
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
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
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
Jeff Law
573916e377
* config/tc-mn10300: Handle FMT_D10 instructions.
1998-06-22 19:50:23 +00:00