Commit Graph

18896 Commits

Author SHA1 Message Date
David Edelsohn
21b4ac1768 * cgen-dis.c (build_dis_hash_table): Fix xmalloc size computation. 1997-04-07 19:45:47 +00:00
David Edelsohn
70bb1aa163 * cgen-opc.c (hash_keyword_name): Improve algorithm. 1997-04-07 19:27:12 +00:00
Ian Lance Taylor
61e51cd730 * Makefile.in (distclean): Don't remove *.info files. 1997-04-07 19:24:32 +00:00
David Edelsohn
e4ba4112e3 * disassemble.c (disassembler): Handle m32r. 1997-04-07 18:46:21 +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
Michael Snyder
d9654a710e Mon Apr 7 10:53:52 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* bfd-in.h bfd-in2.h: add bfd_section_lma macro to correspond
        with bfd_section_vma.
1997-04-07 17:56:18 +00:00
David Edelsohn
25a9c90b92 * sim-base.h (sim_state_base): Move `magic' to end of struct. 1997-04-07 17:47:38 +00:00
Andrew Cagney
b4d888275e Check a program to run is present. 1997-04-07 06:07:13 +00:00
Andrew Cagney
08db4a658e Get configure to define RETSIGTYPE 1997-04-07 05:58:59 +00:00
Andrew Cagney
2e4827348f Build X11 targets before gcc/targetlib. 1997-04-07 05:37:46 +00:00
Andrew Cagney
7934ec88db Use $(srcdir)/... instead of $< in make rules 1997-04-07 05:21:04 +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
Ian Lance Taylor
c0d7b5346d * i386.h: Revert last patch for the NON_BROKEN_OPCODES cases. 1997-04-05 18:15:32 +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
Ian Lance Taylor
ea553f5643 * Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match
corresponding change in opcodes directory.
1997-04-05 01:03:01 +00:00
Ian Lance Taylor
e358a062c9 * configure.in: Correct file names for bfd_mn10[23]00_arch.
* configure: Rebuild.
1997-04-05 00:57:46 +00:00
Ian Lance Taylor
b872076e96 * configure.in: Update file names for bfd_elf32_mn10[23]00_vec.
Correct CPU file names for mn10[23]00.
	* configure: Rebuild.
1997-04-05 00:52:15 +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
David Edelsohn
9f719a5652 m32r support. 1997-04-05 00:09:41 +00:00
Ian Lance Taylor
5c57b91389 * gas/all/float.s: Put a tab before .text, to keep the PA happy. 1997-04-04 22:50:43 +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
Ian Lance Taylor
8d5f01200f * gas/arm/arm.exp: Only run inst and arm7t on targets which can
handle -EL.  Add setup_xfail for thumb.
1997-04-04 21:57:17 +00:00
Ian Lance Taylor
457a20b54a * config/tc-mips.c: Protect uses of STO_MIPS16 with an ifdef of
OBJ_ELF, rather than of S_GET_OTHER.
1997-04-04 21:12:50 +00:00
David Edelsohn
35855192ab Add cgen, m32r files. 1997-04-04 21:07:29 +00:00
David Edelsohn
9c03036a8f * m32r-asm.c, m32r-dis.c, m32r-opc.c, m32r-opc.h: New files.
* cgen-asm.c, cgen-dis.c, cgen-opc.c: New files.
	* Makefile.in (CFILES): Add them.
	(ALL_MACHINES): Add them.
	(dependencies): Regenerate.
	* configure.in (cgen_files): New variable.
	(bfd_m32r_arch): Add entry.
	* configure: Regenerate.
1997-04-04 21:07:02 +00:00
Ian Lance Taylor
ac66474758 * bfd.c (bfd_record_phdr): Cast count to size_t before
subtraction.
1997-04-04 20:59:36 +00:00
Ian Lance Taylor
4507afd077 * emultempl/pe.em: Include "libiberty.h".
(sort_sections_1): Use xmalloc rather than alloca.
1997-04-04 20:29:58 +00:00
Ian Lance Taylor
33106b6039 * configure.in: Add AC_FUNC_ALLOCA.
* configure, config.in: Rebuild.
	* bucomm.h: Add alloca handling, copied from gas/as.h.
	* dlltool.c: Add #pragma alloca for AIX to start of file.
	* nlmconv.c: Likewise.
1997-04-04 20:07:07 +00:00
David Edelsohn
df8b2c02b3 cgen header file 1997-04-04 19:48:32 +00:00
Ian Lance Taylor
bb6dafe912 * Makefile.in: Rebuild dependencies. 1997-04-04 19:36:26 +00:00
Ian Lance Taylor
44fe6ab1e5 * coff-ppc.c (dump_toc): Add cast to avoid warning from SunOS cc.
* coff-rs6000.c (xcoff_read_ar_hdr): Likewise.
	(xcoff_write_archive_contents): LIkewise.
	* elf32-mips.c (_bfd_mips_elf_set_section_contents): Likewise.
	(mips_elf_create_procedure_table): Likewise.
	* peicode.h (pe_print_idata): Likewise.
	(pe_print_edata, pe_print_pdata, pe_print_reloc): Likewise.
	* xcofflink.c (xcoff_get_section_contents): Likewise.
	(_bfd_xcoff_canonicalize_dynamic_symtab): Likewise.
	(xcoff_link_add_symbols): Likewise.
	(xcoff_link_add_symbols): Likewise.
1997-04-04 19:35:32 +00:00
Ian Lance Taylor
71cc7ceb3c * d10v-dis.c: Include "ansidecl.h" before "opcode/d10v.h". 1997-04-04 19:25:29 +00:00
Ian Lance Taylor
0cea98f0c1 * ppcboot.c (ppcboot_set_arch_mach): Make static.
(ppcboot_bfd_print_private_bfd_data): Likewise.
1997-04-04 19:08:42 +00:00
Ian Lance Taylor
80aeca1402 update copyright 1997-04-04 19:06:12 +00:00
Ian Lance Taylor
fdb6ae6818 * i386-dis.c (float_reg): Swap fsubrp and fsubp. Swap fdivrp and
fdivp.
1997-04-04 19:05:12 +00:00
Ian Lance Taylor
c00435ed04 * i386.h: Correct opcode values for fsubp, fsubrp, fdivp, and
fdivrp.
1997-04-04 19:03:15 +00:00
Stu Grossman
a057f07b3a * remote.c: Fix problems realized while showering.
* (hexnumlen):  Add prototype.  Use max, not min.
	* (remote_write_bytes remote_read_bytes):  Fix max packet size
	calculations to properly account for packet overhead.  Also handle
	(probably rare) case where remote_register_buf_size isn't set.
1997-04-04 18:53:26 +00:00
Ian Lance Taylor
a067162dd2 * Makefile.in (distclean): Remove site.exp and site.bak. Remove
everything that clean removes.
1997-04-04 18:35:06 +00:00
Ian Lance Taylor
fbe0d6c29f * Makefile.in (distclean): Remove site.exp and site.bak. 1997-04-04 18:28:25 +00:00
Ian Lance Taylor
e819d858c9 * Makefile.in (DISTCLEAN_HERE): Add site.exp and site.bak. 1997-04-04 18:26:33 +00:00
Ian Lance Taylor
452eaaca83 * gas/h8300/ffxx1.d: Don't fail if BFD is 64 bits. 1997-04-04 18:24:03 +00:00
Stu Grossman
0a325463ed * remote.c: Fix doc for C' and S' commands to indicate full
address.
	* (remote_ops extended_remote_ops remote_desc remote_write_size):
	Make static.
	* (remote_fetch_registers remote_write_bytes remote_read_bytes):
	Record size of response to fetch registers command, use this to
	limit size of memory read and write commands.
	* (push_remote_target):  New function to make it possible to have
	another target switch to the remote target.
	* target.h:  Add prototype for push_remote_target.
	* sh-tdep.c (sh_frame_find_saved_regs):  Fix sign extension bugs
	for hosts which default to unsigned chars (such as SGI's).
	* (_initialize_sh_tdep):  Don't set remote_write_size.  It's now
	handled automatically in remote.c.
1997-04-04 16:52:55 +00:00
Ian Lance Taylor
ab83171da5 * ldlex.l: Recognize SQUAD.
* ldgram.y (length): Add SQUAD.
	* ldlang.c (print_data_statement): Handle SQUAD.
	(lang_size_sections, lang_do_assignments): Likewise.
	* ldexp.c (exp_print_token): Add SQUAD to table.
	* ldwrite.c (build_link_order): Handle SQUAD.
	* ld.texinfo (Section Data Expressions): Document SQUAD.
1997-04-04 16:48:27 +00:00
Ian Lance Taylor
5641f23e6c * elf32-mips.c (elf_mips_ctor64_howto): Set complain_on_overflow
to complain_overflow_signed.
1997-04-04 16:38:02 +00:00
David Edelsohn
8d89f3af98 * gas/m32r/allinsn.{exp,s.d}: New testcases. 1997-04-04 02:27:27 +00:00
David Edelsohn
4293fe5c65 m32r "allinsn" testcases 1997-04-04 02:26:33 +00:00
David Edelsohn
a7d373e51e Keep m32r. 1997-04-03 23:25:42 +00:00
Michael Snyder
320b1d82e4 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/help.exp: update help msg for INFO ADDR; add help test
        for INFO SYMBOL; add help tests for OVERLAY commands.
        * gdb.base/default.exp: add tests for INFO SYMBOL command;
        add tests for OVERLAY commands
        * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
        d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
        * gdb.base/sigall.c: add usestubs code frag
        * gdb.base/watchpoint.c: turn on complex watchpoint test for M32R.
1997-04-03 23:24:30 +00:00