Nick Clifton
2903fb6e85
Added ARM documentation from armT-970328-branch
1997-06-02 23:28:16 +00:00
Gavin Romig-Koch
5c6f5923c7
Add r3900 support.
1997-06-02 15:56:00 +00:00
Ian Lance Taylor
dccd4d2cf1
Thu May 29 12:58:26 1997 Ben Pfaff <pfaffben@pilot.msu.edu>
...
* as.c: (parse_args) `-t' option requires an argument.
1997-05-29 16:59:46 +00:00
Ian Lance Taylor
1d6f438f49
* Makefile.in: Rebuild dependencies.
1997-05-28 21:58:27 +00:00
Ian Lance Taylor
5ac3db53bb
* config/tc-i386.c (tc_gen_reloc): Don't try to convert the type
...
of a BFD_RELOC_RVA reloc.
1997-05-28 20:17:55 +00:00
Jeff Law
f22950b920
* config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps.
...
(hppa_force_relocation): Force a relocation for an absolute
call/jump.
part of gcc/12343.
1997-05-28 16:48:32 +00:00
Ian Lance Taylor
1079e76c45
* doc/as.texinfo: Don't use @value in section names or index
...
entries; it confuses texinfo.tex.
1997-05-26 17:25:22 +00:00
Tom Tromey
8a51eeafee
* doc/as.texinfo: Updated for -MD option.
...
* Makefile.in (CFILES): Added depend.c.
(OBJS): Added depend.o.
* as.h (start_dependencies, register_dependency,
print_dependencies): New declarations.
* depend.c: New file.
* as.c (parse_args): Added -MD option.
(main): Call print_dependencies.
(show_usage): Added help for -MD.
* read.c (s_app_file): Call register_dependency.
(s_include): Call register_dependency when file is found.
(read_a_source_file): Call register_dependency.
1997-05-23 19:30:41 +00:00
Ian Lance Taylor
1a7a427ef1
* config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the
...
section address to the symbol value.
1997-05-21 21:40:14 +00:00
Gavin Romig-Koch
e17449bcfd
Move mips INSN_ISA subfield into new membership field.
1997-05-20 15:29:25 +00:00
Nick Clifton
de046e7c42
Fixed bug in previous delta. If no cpu type was specified on the command
...
line then the code used to default to setting an architecture of ARMv4T
rather than ARMv3M in the BFD library. This has now been corrected.
1997-05-15 17:05:24 +00:00
Nick Clifton
46686c7839
Added support for storing ARM Procedure Calling Standard variant, and ARM
...
architecture variant in the BFD and COFF structures. This goes towards
fixing PRs 11709 and 11326 and will integrate with future updates to LD and
GCC.
1997-05-14 17:00:43 +00:00
Jeff Law
2393a96689
* config/tc-mn10200.c (md_convert_frag): Prefix temporary
...
label name with ".".
* config/tc-mn10300.c (md_convert_frag): Likewise.
1997-05-14 04:29:05 +00:00
Ian Lance Taylor
cd05cc5e45
* config/tc-mips.c (set_at): Check for bignum.
...
(check_absolute_expr, macro, mips16_macro): Likewise.
PR 12296.
1997-05-13 18:46:47 +00:00
Fred Fish
7b02bacd3d
* config/tc-tic80.c (md_apply_fix): Check PC relative relocations
...
for overflow/underflow, only insert lower 15 bits into instruction.
1997-05-13 17:55:41 +00:00
Ian Lance Taylor
98b4161aee
Mon May 12 13:33:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* config/tc-i386.c (pi): Check for RegMMX.
1997-05-12 20:23:57 +00:00
Ian Lance Taylor
ee42e25b0c
* expr.c (expr): When subtracting values in the same frag,
...
subtract X_add_number rather than adding it.
1997-05-08 15:10:55 +00:00
Ian Lance Taylor
662a6d9e11
* config/obj-coff.c (write_object_file): Just pass NULL to
...
md_do_align, not the address of a char holding NOP_OPCODE.
Fixes a problem with the m88k SVR3 .init section as used by gcc.
1997-05-07 19:46:25 +00:00
Ian Lance Taylor
a5586bdc2f
* config/tc-mips.c (macro): Handle constants for M_LI_D and
...
M_LI_DD.
(mips_ip): For 'F', 'L', 'f', and 'l', generate a constant rather
than an address if the floating point value looks sufficiently
simple.
PR 12237.
1997-05-07 19:41:17 +00:00
Ian Lance Taylor
91951af61f
* config/tc-i386.c (md_section_align): If a.out and BFD, force
...
section size to be aligned.
1997-05-06 16:19:04 +00:00
Ian Lance Taylor
0239838be4
* cond.c: Include "macro.h".
...
(struct conditional_frame): Add macro_nest field.
(initialize_cframe): Initialize macro_nest.
(cond_finish_check): Add nest parameter. Change all callers.
(cond_exit_macro): New function.
* as.h (cond_finish_check): Update declaration.
(cond_exit_macro): Declare.
* input-scrub.c (macro_nest): Make globally visible.
(input_scrub_next_buffer): Call cond_finish_check.
* macro.h (macro_nest): Declare.
* read.c (s_mexit): Call cond_exit_macro.
1997-05-06 00:54:37 +00:00
Ian Lance Taylor
454b0ccda0
* config/tc-i386.h (RegMMX): Define.
...
* config/tc-i386.c (pi): Check for all register types.
(type_names): Add RegMMX.
(md_assemble): Handle RegMMX.
1997-05-05 21:18:17 +00:00
Ian Lance Taylor
24d4b4e167
Tue Apr 29 19:54:36 1997 Richard Henderson <rth@tamu.edu>
...
* config/obj-elf.c (elf_pseudo_table): Add "subsection".
(obj_elf_subsection): New static function.
1997-04-29 23:55:42 +00:00
Ian Lance Taylor
4a38edaab7
* config/obj-coff.c (coff_header_append): Don't reset string_size
...
each time through the loop.
1997-04-29 23:53:26 +00:00
Ian Lance Taylor
1416631f2f
* Makefile.in (DISTSTUFF): Add itbl-parse.h.
1997-04-25 18:19:53 +00:00
Ian Lance Taylor
8f9b2cea7f
* doc/internals.texi (Porting GAS): Correct documentation for
...
current configure handling of targ-cpu.h, et. al.
(CPU backend): Document listing macros.
1997-04-25 16:15:33 +00:00
Ian Lance Taylor
49f5a035dd
* listing.c (data_buffer): Set size based on other listing macros,
...
rather than always using 100.
(data_buffer_size): Remove static variable.
(calc_hex): Make data_buffer_size a local variable. Don't leave
any slop when filling data_buffer.
1997-04-25 16:04:44 +00:00
Ian Lance Taylor
a21dd1e090
* doc/c-mips.texi: Document .set autoextend.
1997-04-21 19:33:57 +00:00
Ian Lance Taylor
49f90a3443
Sat Apr 19 23:09:25 1997 Niklas Hallqvist <niklas@petra.appli.se>
...
* configure.in (i386-*-openbsd*, m68k-*-openbsd*,
mips-dec-openbsd*, ppc-*-*bsd*, ns32k-pc532-openbsd*,
sparc-*-openbsd*): New targets.
* configure: Rebuild.
1997-04-20 03:15:48 +00:00
Ian Lance Taylor
aff65ed99d
Sat Apr 19 22:52:03 1997 Jim Wilson <wilson@cygnus.com>
...
* config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
for all undefined symbols.
1997-04-20 02:53:22 +00:00
Ian Lance Taylor
fec391b1b5
* config/tc-ppc.c (ppc_fix_adjustable): Handle zero length csects
...
correctly.
1997-04-18 17:39:33 +00:00
Ian Lance Taylor
894cca2569
Fri Apr 18 11:51:35 1997 Niklas Hallqvist <niklas@appli.se>
...
* configure.in (alpha*-*-openbsd*): New target.
* configure: Rebuild.
1997-04-18 15:52:33 +00:00
Ian Lance Taylor
fc984eb0a3
Thu Apr 17 13:59:47 1997 Per Fogelstrom <pefo@openbsd.org>
...
* configure.in (mips-*-openbsd*): New target.
* configure: Rebuild.
1997-04-17 18:04:34 +00:00
Martin Hunt
4bdb83fcb9
Wed Apr 16 12:31:24 1997 Martin Hunt <hunt@cygnus.com>
...
* config/tc-d30v.c (parallel_ok): Fix parallel checking
for instructions using conditional execution.
1997-04-16 19:35:54 +00:00
Gavin Romig-Koch
68952421e6
Correct test for fpr pairs.
1997-04-15 22:46:58 +00:00
Ian Lance Taylor
ec2f730d86
sanitize out references to v850
1997-04-15 22:34:57 +00:00
Ian Lance Taylor
e366a2d6e8
* Makefile.in (srcroot): Remove.
...
(INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
(all, dvi): Don't set srcroot.
(install): Depend upon as.new, gasp.new, and installdirs. Use
$(program_transform_name) directly, rather than using
$(INSTALL_XFORM) and $(INSTALL_XFORM1).
(installdirs): New target.
* doc/Makefile.in (INSTALL_XFORM1): Remove.
(install): Depend upon installdirs. Use $(program_transform_name)
directly, rather than using $(INSTALL_XFORM) and
$(INSTALL_XFORM1).
(installdirs): New target.
(install-info-as): Run mkinstalldirs.
(install-info-gasp): Likewise.
1997-04-15 17:11:08 +00:00
Ian Lance Taylor
dca6429fad
From Thomas Graichen <graichen@rzpd.de>:
...
* Makefile.in: Always use $(SHELL) when running move-if-change.
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
1997-04-14 16:05:50 +00:00
David Edelsohn
f3f00e9486
* cgen.c (cgen_parse_operand): Renamed from cgen_asm_parse_operand.
...
New argument `want'. Update enum cgen_parse_operand_result values.
Initialize if CGEN_PARSE_OPERAND_INIT.
* config/tc-m32r.c (md_begin): Set cgen_parse_operand_fn.
(md_assemble): Call cgen_asm_init_parse.
Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
1997-04-10 23:40:30 +00:00
David Edelsohn
4e9d8deacb
* config/tc-m32r.c (md_begin): Set cgen_asm_parse_operand_fn.
...
(md_assemble): Call cgen_asm_init_parse.
Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
1997-04-10 21:54:15 +00:00
Ian Lance Taylor
902a77ac80
* config/tc-m68k.c (m68k_ip): Handle #j.
1997-04-09 15:50:13 +00:00
Jeff Law
967429536d
* config/tc-mn10300.c (md_convert_frag): Create fixup at the
...
right address for call label:32,regs,imm.
Fixes bug exposed by gdb testsuite.
1997-04-08 22:47:42 +00:00
Jeff Law
e41369a45f
* config/tc-hppa.c (pa_subspace_start): If OBJ_ELF, then always return
...
zero.
* config/tc-hppa.h (tc_frob_symbol): Don't reset the value of the
symbol for OBJ_ELF anymore.
Fixes testsuite problem for hppa1.1-hp-*elf*.
1997-04-07 21:01:43 +00:00
David Edelsohn
39ffbb4dcc
* Makefile.in: Regenerate dependencies.
...
(TARG_CPU): New variable.
(cgen.o): Depend on cgen.h, $(TARG_CPU)-opc.h.
(.dep1): Delete creating of cgen-opc.h.
(.tcdep): Put proper contents in cgen-opc.h.
* configure.in (m32r): Delete setting of extra_files, extra_links.
(AC_OUTPUT): Create cgen-opc.h.
* configure: Regenerated.
1997-04-07 18:38:33 +00:00
Ian Lance Taylor
596c5b74fc
Sat Apr 5 13:19:12 1997 Klaus Kaempf <kkaempf@progis.de>
...
* makefile.vms: Update to build gasp.exe.
1997-04-05 18:20:59 +00:00
David Edelsohn
c8cf7e1737
* write.c (relax_frag): Make non-static.
...
* write.h (relax_frag): Add prototype for.
* config/tc-m32r.h (md_do_align): New arg `max'.
* config/tc-m32r.c (m32r_do_align): Likewise.
Update calls to frag_align, frag_align_pattern.
(fill_insn): Update call to m32r_do_align.
(m32r_scomm): Update call to frag_align.
1997-04-05 02:34:40 +00:00
David Edelsohn
403c708e0a
* frags.c (frag_var): fr_pcrel_adjust renamed to
...
fr_targ.ns32k.pcrel_adjust. fr_bsr renamed to fr_targ.ns32k.bsr.
(frag_variant): Likewise.
* Makefile.in: Tweak last entry, cgen.o is in extra_objects!
1997-04-05 00:35:29 +00:00
David Edelsohn
374bdac737
* config/tc-m32r.[ch]: New files.
...
* cgen.c: New file.
* Makefile.in (CPU_TYPES): Add m32r.
(CFILES): Add cgen.c.
(TARGET_CPU_CFILES): Add tc-m32r.c.
(TARGET_CPU_HFILES): Add tc-m32r.h.
(OBJS): Add cgen.o.
(DISTCLEAN_HERE): Add cgen-opc.h.
(.dep1,.tcdep): Create empty cgen-opc.h.
(cgen.o): Add dependencies.
(dependencies): Regenerate.
* as.h (struct frag): New member fr_targ.
(fr_pcrel_adjust,fr_bsr): Move into union fr_targ.ns32k.
* conf.in (USING_CGEN): New macro.
* configure.in (m32r-*-*): Add entry for.
* configure: Regenerate.
* write.c (relax_frag): fr_pcrel_adjust renamed to
fr_targ.ns32k.pcrel_adjust.
* config/tc-ns32k.c (*): Likewise.
fr_bsr renamed to fr_targ.ns32k.bsr.
1997-04-05 00:21:26 +00:00
Ian Lance Taylor
dc966dadf7
* config/tc-hppa.h (TC_EOL_IN_INSN): Check explicitly for '!',
...
rather than for any end of line character.
1997-04-04 22:49:21 +00:00
Ian Lance Taylor
5c11dba28a
* config/tc-hppa.c (tc_gen_reloc): If hppa_ren_reloc_type fails,
...
call abort (i.e., as_abort) rather than crashing.
1997-04-04 22:48:24 +00:00