Andrew Cagney [Mon, 24 Mar 1997 06:49:54 +0000 (06:49 +0000)]
Growing number of tests for d30v
Martin Hunt [Mon, 24 Mar 1997 02:27:09 +0000 (02:27 +0000)]
Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* tc-d30v.c (build_insn): Enable range-checking code.
(postfix): Stop at space or comma. Fixes PR 11862.
(md_assemble): Change error message.
Martin Hunt [Mon, 24 Mar 1997 02:26:54 +0000 (02:26 +0000)]
Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c (build_insn): Enable range-checking code.
(postfix): Stop at space or comma. Fixes PR 11862.
(md_assemble): Change error message.
Martin Hunt [Mon, 24 Mar 1997 02:24:51 +0000 (02:24 +0000)]
Sun Mar 23 18:08:10 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v-dis.c (print_insn): Change the way signed constants
are displayed.
Mark Alexander [Mon, 24 Mar 1997 00:29:12 +0000 (00:29 +0000)]
Fixes from Peter Schauer:
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE,
REGISTER_CONVERT_FROM_TYPE): Swap words if target, not host,
is big-endian and if registers are 32 bits.
* mips-tdep.c (mips_print_register, mips_extract_return_value,
mips_store_return_value): Fix floating-point word-order problems on
little-endian targets introduced by changes of Mar 21.
Stan Shebs [Mon, 24 Mar 1997 00:08:26 +0000 (00:08 +0000)]
* remote.c (target_resume_hook, target_wait_loop_hook): New
globals.
(remote_resume, remote_wait): Use them.
* d10v-tdep.c: Set the above hooks.
(tracesource): New GDB variable, controls source display in
traces.
(display_trace): Find and display source line if requested.
(trace_info): Mention empty trace buffer if appropriate.
(tdisassemble_command): Robustify argument handling.
Stan Shebs [Sun, 23 Mar 1997 20:50:09 +0000 (20:50 +0000)]
* configure.host: Remove extra bogus Linux case.
Bob Manson [Sun, 23 Mar 1997 04:41:14 +0000 (04:41 +0000)]
Moved change from gdb_target_udi to gdb_start.
Bob Manson [Sun, 23 Mar 1997 04:01:48 +0000 (04:01 +0000)]
* config/udi.exp(gdb_target_udi): Make sure UDICONF is set
properly before starting gdb.
Fred Fish [Sat, 22 Mar 1997 23:55:06 +0000 (23:55 +0000)]
Add this file too..
Fred Fish [Sat, 22 Mar 1997 23:53:32 +0000 (23:53 +0000)]
Forgot this change in last checkin.
Fred Fish [Sat, 22 Mar 1997 23:52:04 +0000 (23:52 +0000)]
* remote-sim.c (simulator_command): Add comment about dealing with
NULL or empty args.
start-sanitize-tic80
* Makefile.in (tic80-tdep.o): Add target.
* configure.tgt: Add tic80 case.
* tic80-tdep.c: New file.
* config/tic80/{tic80.mt, tm-tic80.h}: New files.
end-sanitize-tic80
David Edelsohn [Sat, 22 Mar 1997 19:42:23 +0000 (19:42 +0000)]
fix v850 sanitization
David Edelsohn [Sat, 22 Mar 1997 19:38:00 +0000 (19:38 +0000)]
remove m32r sanitization
Ian Lance Taylor [Sat, 22 Mar 1997 18:53:01 +0000 (18:53 +0000)]
* Makefile.in: Added automatic dependency building.
* dep-in.sed: New file.
Peter Schauer [Sat, 22 Mar 1997 10:50:18 +0000 (10:50 +0000)]
* c-exp.y (yylex): Handle nested template parameter lists.
* symtab.c (decode_line_2): Fix test for valid choice number.
Mark Alexander [Sat, 22 Mar 1997 04:40:03 +0000 (04:40 +0000)]
* mips-tdep.c (mips_push_arguments): On non-EABI architectures,
copy first two floating point arguments to general registers, so that
MIPS16 functions will receive the arguments correctly.
(mips_print_register): Print double registers correctly on
little-endian hosts.
(mips_extract_return_value): Return double values correctly
on little-endian hosts.
* mdebugread.c (parse_procedure): Adjust address of procedure relative
to address in file descriptor record; this accounts for constant
strings that may precede functions in the text section. Remove
now-useless lowest_pdr_addr from argument list and all calls.
Ian Lance Taylor [Fri, 21 Mar 1997 23:52:29 +0000 (23:52 +0000)]
* config/obj-ieee.c (segment_name): Don't define function if this
is a macro.
Ian Lance Taylor [Fri, 21 Mar 1997 23:13:26 +0000 (23:13 +0000)]
* config/obj-coff.h (DO_STRIP): Don't define.
* config/tc-h8300.h (DO_STRIP): Don't define.
* config/tc-h8500.h (DO_STRIP): Don't define.
* config/tc-w65.h (DO_STRIP): Don't define.
* config/tc-z8k.h (DO_STRIP): Don't define.
Ian Lance Taylor [Fri, 21 Mar 1997 23:06:08 +0000 (23:06 +0000)]
* symbols.c (colon): Call obj_frob_label if it is defined.
* config/obj-vms.h (obj_frob_label): Rename from tc_frob_label.
David Edelsohn [Fri, 21 Mar 1997 22:00:22 +0000 (22:00 +0000)]
Remove m32r sanitization.
David Edelsohn [Fri, 21 Mar 1997 20:59:30 +0000 (20:59 +0000)]
Remove m32r sanitization.
Michael Meissner [Fri, 21 Mar 1997 20:56:10 +0000 (20:56 +0000)]
Make powerpc simulator support in gdb dependent on whether the simulator was configured in
David Edelsohn [Fri, 21 Mar 1997 20:51:17 +0000 (20:51 +0000)]
* elf32-m32r.c (m32r_elf_howto_table): Use special function for LO16.
(m32r_hi16_list): New static local.
(m32r_elf_hi16_reloc): Don't perform reloc, just queue it up.
(m32r_elf_do_hi16_reloc): Delete.
(m32r_elf_relocate_hi16): New function.
(m32r_elf_lo16_reloc): New function.
(m32r_elf_relocate_section): For HI16 relocs, scan for corresponding
LO16 reloc.
* elf32-m32r.c (m32r_elf_create_linker_section): Delete.
(m32r_elf_add_symbol_hook): Rewrite _SDA_BASE_ support.
(m32r_elf_final_sda_base): New function.
(m32r_elf_relocate_section): Rewrite sdata support.
(m32r_elf_finish_dynamic_sections): Delete.
Bring over from m32r-970131 branch.
Ian Lance Taylor [Fri, 21 Mar 1997 20:48:27 +0000 (20:48 +0000)]
* configure.in: Don't set files and links. Don't call
AC_LINK_FILES. Substitute te_file. Create targ-cpu.h,
obj-format.h, targ-env.h, and itbl-cpu.h in AC_OUTPUT.
* configure: Rebuild.
* Makefile.in (TARG_CPU_C): New variable.
(TARG_CPU_O, TARG_CPU_H): New variables.
(OBJ_FORMAT_C, OBJ_FORMAT_O, OBJ_FORMAT_H): New variables.
(TARG_ENV_H, ATOF_TARG_C, ATOF_TARG_O): New variables.
(SOURCES): Rename from REAL_SOURCES. Delete old definition.
(LINKED_SOURCES): Remove.
(HEADERS): Rename from REAL_HEADERS. Delete old definition.
(LINKED_HEADERS): Remove.
(OBJS): Use $(TARG_CPU_O), etc., rather than targ-cpu.o, etc.
($(OBJS)): Depend upon $(TARG_ENV_H), etc., rather than
targ-cpu.h, etc.
($(TARG_CPU_O), $(OBJ_FORMAT_O) $(ATOF_TARG_O)): New targets.
(targ-cpu.o, obj-format.o, atof-targ.o): Remove targets.
(itbl-cpu.h): Remove target.
(DISTCLEAN_HERE): Remove targ-cpu.c, obj-format.c, atof-targ.c,
atof-targ.h.
Ian Lance Taylor [Fri, 21 Mar 1997 19:39:26 +0000 (19:39 +0000)]
* Makefile.in (BFD_H): New variable.
(HFILES): New variable.
(CFILES): Add all C files.
(.dep, .dep1, dep.sed, dep, dep-in): New targets.
Delete old dependencies, and build new ones.
* dep-in.sed: New file.
Ian Lance Taylor [Fri, 21 Mar 1997 18:09:12 +0000 (18:09 +0000)]
* elf32-sparc.c (elf32_sparc_size_dynamic_sections): If there is
no .rela.plt section, don't output a DT_PLTGOT dynamic entry.
Handles the case of a shared library with no function calls.
Ian Lance Taylor [Fri, 21 Mar 1997 17:35:20 +0000 (17:35 +0000)]
x
Ian Lance Taylor [Fri, 21 Mar 1997 17:29:13 +0000 (17:29 +0000)]
Fri Mar 21 12:28:41 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* emulparams/delta68.sh (OUTPUT_FORMAT): Set to "m68k-coff-sysv".
Jeff Law [Fri, 21 Mar 1997 06:15:27 +0000 (06:15 +0000)]
* mn10200-tdep.c (mn10200_analyze_prologue): Look for save of "a1"
in the prologue too.
Jeff Law [Fri, 21 Mar 1997 05:41:28 +0000 (05:41 +0000)]
* run.c: Include alloca-conf.h.
Jeff Law [Fri, 21 Mar 1997 04:53:13 +0000 (04:53 +0000)]
* callback.c (os_evprintf_filtered): Fix typo.
Jeff Law [Fri, 21 Mar 1997 04:28:24 +0000 (04:28 +0000)]
* size.c (usage): Make definition match its prototype.
(display_bfd, lprint_number, rprint_number): Likewise.
(print_berkeley_format, sysv_internal_printer): Likewise.
(print_sysv_format): Likewise.
* nm.c (set_print_radix, set_output_format): Likewise.
* objcopy.c (filter_bytes): Likewise.
Andrew Cagney [Fri, 21 Mar 1997 03:56:07 +0000 (03:56 +0000)]
Pass GCC -W...
Jeff Law [Fri, 21 Mar 1997 03:53:59 +0000 (03:53 +0000)]
* remote-sim.c (gdb_os_vprintf_filtered): Fix to work with non-ANSI
compilers.
(gdb_os_evprintf_filtered): Similarly.
Ian Lance Taylor [Fri, 21 Mar 1997 00:53:24 +0000 (00:53 +0000)]
* i386.h: Change DW to W for cmpxchg and xadd, since they don't
take a direction bit.
Ian Lance Taylor [Fri, 21 Mar 1997 00:19:44 +0000 (00:19 +0000)]
* doc/as.texinfo (Symbol Names): Don't use obsolete @ctrl macro.
Ian Lance Taylor [Fri, 21 Mar 1997 00:04:16 +0000 (00:04 +0000)]
Thu Mar 20 19:03:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* m68k-opc.c (m68k_opcode_aliases): Added blo and blo{s,b,w,l}.
Ian Lance Taylor [Thu, 20 Mar 1997 22:00:37 +0000 (22:00 +0000)]
* config/m68k-parse.y (motorola_operand): Allow (zdireg,EXPR).
Geoffrey Noer [Thu, 20 Mar 1997 21:52:10 +0000 (21:52 +0000)]
Fixed .Sanitize
Ian Lance Taylor [Thu, 20 Mar 1997 21:51:00 +0000 (21:51 +0000)]
Thu Mar 20 16:49:14 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.c (mri_chip): Replace calls to get_symbol_end by
open coded loop that does not require the name to start with a
name beginner.
Ian Lance Taylor [Thu, 20 Mar 1997 21:23:10 +0000 (21:23 +0000)]
Based on patches from Philippe De Muyter <phdm@info.ucl.ac.be>.
* coff-svm68k.c: New file. Just defines some macros and includes
coff-m68k.c.
* coff-m68k.c: Add functions to handle common addends, moved in
from cf-m68klynx.c. Control them using COFF_COMMON_ADDEND macro.
Control whether relocs are visible using STATIC_RELOCS.
* cf-m68klynx.c: Simplify greatly: just define macros to control
coff-m68k.c.
* coff-aux.c: Likewise. Just leave add_one_symbol routine.
* targets. (m68ksysvcoff_vec): Declare.
(bfd_target_vector): Add m68ksysvcoff_vec.
* config.bfd (m68*-motorola-sysv*): New target.
* configure.in (m68ksysvcoff_vec): New vector.
* configure: Rebuild.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add coff-svm68k.o.
(BFD32_BACKENDS_CFILES): Add coff-svm68k.c.
Jeff Law [Thu, 20 Mar 1997 20:30:29 +0000 (20:30 +0000)]
Fix minor sanitization problems
Ian Lance Taylor [Thu, 20 Mar 1997 19:08:35 +0000 (19:08 +0000)]
Thu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org>
* frags.c (frag_var): Change offset parameter to offsetT.
(frag_variant): Likewise.
* frags.h (frag_variant, frag_var): Update declarations.
* config/tc-m68k.c (struct m68k_it): Change foff field to
offsetT.
(add_frag): Change off parameter to offsetT.
* Several files: Add casts to calls to frag_var.
Jeff Law [Thu, 20 Mar 1997 19:02:44 +0000 (19:02 +0000)]
* simops.c: Fix register extraction for a two "movbu" variants.
Somewhat simplify "sub" instructions.
Correctly sign extend operands for "mul". Put the correct
half of the result in MDR for "mul" and "mulu".
Implement remaining instructions.
Tweak opcode for "syscall".
Ian Lance Taylor [Thu, 20 Mar 1997 18:43:10 +0000 (18:43 +0000)]
Thu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org>
* Makefile.in (m68k-parse.c): Depend upon itbl-parse.c, to
serialize a parallel make.
(itbl-parse.h): Split target out from itbl-parse.c.
Ian Lance Taylor [Thu, 20 Mar 1997 18:33:44 +0000 (18:33 +0000)]
* binary.c (binary_set_section_contents): Don't get misled if the
first section is not loadable. From Matthew L. Martin
<mlm@xedia.com>.
Ian Lance Taylor [Thu, 20 Mar 1997 17:50:41 +0000 (17:50 +0000)]
Thu Mar 20 12:48:45 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* config/te-delta.h (COFF_COMMON_ADDEND): Define.
* config/obj-coff.c (fixup_segment): Check COFF_COMMON_ADDEND when
storing the value of a common symbol.
Ian Lance Taylor [Thu, 20 Mar 1997 17:40:06 +0000 (17:40 +0000)]
* elflink.h (elf_bfd_final_link): Set the value of a section
symbol to the section address unless doing a relocateable link.
Geoffrey Noer [Thu, 20 Mar 1997 00:41:50 +0000 (00:41 +0000)]
Wed Mar 19 16:13:22 1997 Geoffrey Noer <noer@pizza.cygnus.com>
New UnixWare 2.1 configuration
* config/i386/i386v42mp.mt: new
* config/i386/i386v42mp.mh: new
* config/i386/tm-i386v42mp.h: new
* config/i386/nm-i386v42mp.h: new
* configure.tgt: added new entries
* configure.host: added new entries
Andrew Cagney [Thu, 20 Mar 1997 00:18:55 +0000 (00:18 +0000)]
remote-sim.h moved to include directory
Martin Hunt [Wed, 19 Mar 1997 23:39:20 +0000 (23:39 +0000)]
Wed Mar 19 15:16:17 1997 Martin M. Hunt <hunt@onions.cygnus.com>
* Makefile.in: Install gdbtcl dir instead of gdbtk.tcl.
* gdbtk.c: Added some ifdefs for Windows. Changed GDBTK_FILENAME
to GDBTK_LIBRARY, which is now a path to search.
(gdb_path_conv): New function. Convert Cygwin32 pathname to
DOS-style pathname.
* aclocal.m4, configure.in: Changes for Windows builds.
* configure: Rebuilt.
Ian Lance Taylor [Wed, 19 Mar 1997 17:07:23 +0000 (17:07 +0000)]
Wed Mar 19 11:37:57 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* config/obj-coff.c (glue_symbols): Unused variable symbolP
removed.
(crawl_symbols): Do not modify symbol_rootP and symbol_lastP here;
that is done by symbol_remove and symbol_insert.
* config/obj-coff.h (S_IS_LOCAL): Return 0 for a debugging
symbol.
Ian Lance Taylor [Wed, 19 Mar 1997 16:28:19 +0000 (16:28 +0000)]
* config/tc-mips.c (load_register): In 32 bit mode, when not
dealing with a 64 bit number, permit the upper 32 bits to be set
even if bit 31 is not set.
This lets `and $2,~0x80000000' succeed.
J.T. Conklin [Wed, 19 Mar 1997 14:56:05 +0000 (14:56 +0000)]
* m68k-opc.c (m68k_opcodes): Provide coldfire division module
instructions.
J.T. Conklin [Wed, 19 Mar 1997 14:27:26 +0000 (14:27 +0000)]
* m68k.h (mcfmac, mcfdiv): New macros.
Ian Lance Taylor [Wed, 19 Mar 1997 04:32:56 +0000 (04:32 +0000)]
* read.c (potable): Add "equiv".
(s_set): Handle .equiv based on argument.
* doc/as.texinfo (Equiv): New node to document .equiv.
(Err): New node to document .err.
PR 11787.
Ian Lance Taylor [Wed, 19 Mar 1997 04:02:00 +0000 (04:02 +0000)]
* Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Wed, 19 Mar 1997 03:58:45 +0000 (03:58 +0000)]
Tue Mar 18 22:40:09 1997 H.J. Lu <hjl@lucon.org>
* Many files: Add function prototypes.
* cpu-m68k.c (bfd_default_scan_num_mach): Don't declare.
* ecofflink.c: Include "libcoff.h" and "libecoff.h".
* elf32-ppc.c (ppc_elf_fake_sections): Make static.
* opncls.c (bfd_openstreamr): Change stream parameter to PTR.
* peicode.h: Change several void * parameters to PTR.
* srec.c (srec_get_symbol_info): Make static.
* syms.c (bfd_symbol_is_absolute): Remove.
Ian Lance Taylor [Wed, 19 Mar 1997 03:01:27 +0000 (03:01 +0000)]
start-sanitize-m32r
* elf32-m32r.c (m32r_elf_is_local_label_name): Remove.
(bfd_elf32_bfd_is_local_label): Don't define.
end-sanitize-m32r
Jeff Law [Tue, 18 Mar 1997 23:16:44 +0000 (23:16 +0000)]
Tweak "syscall" opcode.
Ian Lance Taylor [Tue, 18 Mar 1997 21:51:04 +0000 (21:51 +0000)]
Tue Mar 18 16:39:55 1997 H.J. Lu <hjl@lucon.org>
* Many files: Add function prototypes.
* ar.c (mri_emul, get_pos_bfd): Make static.
* arlex.l: Include "libiberty.h". Don't declare strdup. Use
xstrdup rather than strdup.
* arparse.y (yyerror): Make argument const. Correct typo.
* arsup.c (strdup): Don't declare.
(ar_save): Use xstrdup rather than strdup.
* filemode.c: Include "bucomm.h".
* nm.c (usage): Make static.
(print_symname): Make format and name const.
* objcopy.c (cat): Remove.
(copy_archive): Make output_target const. Use concat, not cat.
(copy_file, simple_copy, smart_rename): Make arguments const.
* objdump.c (read_section_stabs): Likewise.
(print_section_stabs): Likewise.
(display_target_tables): Don't declare getenv.
* strings.c (strings_object_file): Change file to const.
(print_strings): Change filename to const.
* Makefile.in: Rebuild dependencies.
Tue Mar 18 11:37:24 1997 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* nlmconv.c (getenv): Don't declare.
Jeff Law [Tue, 18 Mar 1997 21:24:38 +0000 (21:24 +0000)]
* simops.c: Do syscall emulation in "syscall" instruction. Add
dummy "trap" instruction.
Cleanups for the beta release.
Jeff Law [Tue, 18 Mar 1997 21:20:29 +0000 (21:20 +0000)]
* mn10200-opc.c: Change "trap" to "syscall".
* mn10300-opc.c: Add new "syscall" instruction.
Cleanups for beta release.
Ian Lance Taylor [Tue, 18 Mar 1997 21:04:18 +0000 (21:04 +0000)]
Tue Mar 18 15:50:13 1997 H.J. Lu <hjl@lucon.org>
* Many files: Add function prototypes.
* as.c (show_usage, parse_args): Make static.
* frags.h (frag_alloc): Declare.
* subsegs.c (subseg_set_rest): Don't declare frag_alloc.
* symbols.c (dollar_label_instance): Change return type to long.
* symbols.h (print_symbol_value): Declare.
(print_expr, print_expr_1, print_symbol_value_1): Declare.
* write.c (fix_new_exp): Don't declare make_expr_symbol.
(remove_subsegs, relax_frag): Make static.
* config/atof-vax.c (atof_vax_sizeof): Change letter to int.
(what_kind_of_float): Likewise.
(atof_vax): Make static. Change what_kind to int.
(md_atof): Change what_statement_type to int.
* config/obj-ecoff.h (obj_ecoff_set_ext): Declare.
* config/tc-alpha.c (vax_md_atof): Declare.
(md_atof): Don't declare atof_ieee and vax_md_atof.
* config/tc-i386.c (set_16bit_code_flag): Make static.
* config/tc-i386.h (tc_i386_fix_adjustable): Declare.
* config/tc-m68k.c (add_fix): Change width to int.
(insert_reg): Change regname to const.
(md_atof): Don't declare atof_ieee.
(demand_empty_rest_of_line): Don't declare.
* config/tc-m88k.c (md_atof): Don't declare atof_ieee.
* config/tc-sparc.c (cmp_reg_entry): Change args to const PTR.
(parse_keyword_arg): Change lookup_fn to take const arg.
(md_atof): Don't declare atof_ieee.
* config/tc-sparc.h: Add ifdef for multiple inclusion.
(tc_aout_pre_write_hook): Don't declare.
Ian Lance Taylor [Tue, 18 Mar 1997 17:58:48 +0000 (17:58 +0000)]
* xcofflink.c (_bfd_xcoff_bfd_final_link): Call bfd_malloc rather
than malloc.
Ian Lance Taylor [Tue, 18 Mar 1997 16:39:38 +0000 (16:39 +0000)]
fix tipo in comment
Ian Lance Taylor [Tue, 18 Mar 1997 16:37:42 +0000 (16:37 +0000)]
* Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Tue, 18 Mar 1997 16:16:50 +0000 (16:16 +0000)]
* emultempl/aix.em: Include "obstack.h".
Andrew Cagney [Tue, 18 Mar 1997 14:28:34 +0000 (14:28 +0000)]
Move SIM_AC_OPTION_ macros out of SIM_AC_COMMON macro - was trashing
optional arguments.
* Regenerate all configure scripts.
Andrew Cagney [Tue, 18 Mar 1997 10:10:10 +0000 (10:10 +0000)]
* sim-alu.h: Include sim-xcat.h.
* d30v-insn (do_sat*): Pass all necessary args.
Andrew Cagney [Tue, 18 Mar 1997 08:45:44 +0000 (08:45 +0000)]
Include new files sim-assert.h sim-xcat.h sim-state.h
Andrew Cagney [Tue, 18 Mar 1997 07:44:40 +0000 (07:44 +0000)]
New files added during rename/cleanup of engine -> sim_state.
Andrew Cagney [Tue, 18 Mar 1997 07:43:22 +0000 (07:43 +0000)]
Rename `struct _engine' to new `struct sim_state'.
Andrew Cagney [Tue, 18 Mar 1997 02:41:21 +0000 (02:41 +0000)]
Fix bugs in d30v sat and mul instructions.
J.T. Conklin [Tue, 18 Mar 1997 01:54:50 +0000 (01:54 +0000)]
* dsrec.c (load_srec): Print leading zeroes when printing section
addresses.
Ian Lance Taylor [Tue, 18 Mar 1997 00:47:04 +0000 (00:47 +0000)]
* bfd-in.h: Don't include obstack.h.
(struct bfd_hash_table): Change memory field to PTR.
* bfd.c (struct _bfd): Change memory field to PTR.
* bfd-in2.h: Rebuild.
* libbfd-in.h (bfd_release): Declare as function, don't define as
macro.
* libbfd.h: Rebuild.
* opncls.c: Include "objalloc.h" rather than "obstack.h". Use
objalloc routines rather than obstack routines.
(obstack_chunk_alloc, obstack_chunk_free): Don't define.
(getpagesize): Don't define.
(_bfd_new_bfd): Don't set _bfd_chunksize.
(bfd_openr): Free new bfd and objalloc on failure.
(bfd_fdopenr, bfd_openstreamr, bfd_openw): Likewise.
(bfd_alloc_size): Remove.
(bfd_release): New function.
* hash.c: Include "objalloc.h" rather than "obstack.h". Use
objalloc routines rather than obstack routines.
(obstack_chunk_alloc, obstack_chunk_free): Don't define.
* ecofflink.c: Include "objalloc.h" rather than "obstack.h". Use
objalloc routines rather than obstack routines.
(obstack_chunk_alloc, obstack_chunk_free): Don't define.
(struct accumulate): Change memory to struct objalloc *.
* liboasys.h (oasys_data_type): Remove oasys_obstack field.
* dep-in.sed: Don't remove obstack.h from dependency list.
* Makefile.in: Rebuild dependencies.
(BFD_H_DEPS): Remove obstack.h.
(install): Don't install obstack.h.
* Many files: Don't include "obstack.h".
* VERSION: Bump.
Ian Lance Taylor [Tue, 18 Mar 1997 00:26:19 +0000 (00:26 +0000)]
* ldlang.c: Include "obstack.h".
Ian Lance Taylor [Tue, 18 Mar 1997 00:24:50 +0000 (00:24 +0000)]
fix last patch
Ian Lance Taylor [Tue, 18 Mar 1997 00:22:33 +0000 (00:22 +0000)]
* objalloc.h: New file.
Ian Lance Taylor [Mon, 17 Mar 1997 20:14:55 +0000 (20:14 +0000)]
* srec.c (srec_scan): Rewrite to not use obstack_1grow.
Ian Lance Taylor [Mon, 17 Mar 1997 17:51:20 +0000 (17:51 +0000)]
* opncls.c (bfd_alloc_grow, bfd_alloc_finish): Remove.
* libbfd-in.h (bfd_alloc_grow, bfd_alloc_finish): Don't declare.
* libbfd.h: Rebuild.
* ieee.c (ieee_archive_p): Rewrite to not use bfd_alloc_grow.
* sunos.c (sunos_add_dynamic_symbols): Likewise.
J.T. Conklin [Mon, 17 Mar 1997 16:50:51 +0000 (16:50 +0000)]
* m68k-opc.c (m68k_opcodes): Provide correct entries for mulsl and
mulul insns on the coldfire.
Ian Lance Taylor [Mon, 17 Mar 1997 16:36:08 +0000 (16:36 +0000)]
* opncls.c (bfd_alloc): Rename from bfd_alloc_by_size_t. Remove
old version of bfd_alloc.
* libbfd-in.h (bfd_alloc_by_size_t): Don't declare.
* libbfd.h: Rebuild.
* Several files: Call bfd_alloc rather than bfd_alloc_by_size_t.
Ian Lance Taylor [Mon, 17 Mar 1997 16:29:29 +0000 (16:29 +0000)]
* as.h (bfd_alloc_by_size_t): Don't declare.
* Many files: Use xmalloc rather than bfd_alloc_by_size_t.
Andrew Cagney [Mon, 17 Mar 1997 16:29:21 +0000 (16:29 +0000)]
* sim-inline.h: Add definitions for sim-types.
(ALL_BY_MODULE): New macro, encapsulate full inlining by the
module.
Andrew Cagney [Mon, 17 Mar 1997 16:26:35 +0000 (16:26 +0000)]
remove defunct variable from event struct
Andrew Cagney [Mon, 17 Mar 1997 16:14:47 +0000 (16:14 +0000)]
Correctly validate 64bit instructions
Gavin Romig-Koch [Mon, 17 Mar 1997 16:02:13 +0000 (16:02 +0000)]
Add/use pr_uword64 for SIM_ADDR independent values.
Ian Lance Taylor [Mon, 17 Mar 1997 15:55:41 +0000 (15:55 +0000)]
Mon Mar 17 10:54:47 1997 David Mosberger-Tang <davidm@azstarnet.com>
* cg_arcs.c (arc_add): memset() newly alloced arc to ensure
all fields are initialized with 0.
Andrew Cagney [Mon, 17 Mar 1997 15:29:29 +0000 (15:29 +0000)]
* configure: Re-generate.
* Make-common.in (CSEARCH): Do not include the gdb directory in
the search path.
* Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
SIM_WARNING): Drop, requiring the simulator specific Makefile.in
to explicitly incorporate these.
* aclocal.m4 (--enable-sim-alignment); New option. Strongly
specify the alignment restrictions of the target architecture -
without this option all alignment restrictions are accomodated.
(--enable-sim-assert): New option. Conditionally compile in
assertion statements.
(--enable-sim-float): New option. Strongly specify the target's
floating point support.
(--enable-sim-hardware): New option. Specify the hardware devices
included in the simulation.
(--enable-sim-packages): New option. Specify the hardware
packages included in the simulation.
(--enable-sim-regparm): New option. Specify that parameters be
passed in registers instead of on the stack.
(--enable-sim-reserved-bits): New option. Specify that reserved
bits within an instruction are are correctly set.
(--enable-sim-smp): New option. Specify the level of SMP support
to be included in the simulator.
(--enable-sim-stdcall): New option. Specify an alternative
function call convention.
(--enable-sim-xor-endian): New option. Configure xor-endian
support used by some targets to implement bi-endian support.
Andrew Cagney [Mon, 17 Mar 1997 14:40:22 +0000 (14:40 +0000)]
Part of previous move of remote-sim.h to ../include
Andrew Cagney [Mon, 17 Mar 1997 14:23:31 +0000 (14:23 +0000)]
* remote-sim.h: Delete - moved to ../include/remote-sim.h.
* Makefile.in (remote_utils_h): Update path to remote-sim.h.
* remote-sim.c (flush_stdout, write_stderr, flush_stderr,
vprintf_filtered, evprintf_filtered): Callbacks that accept
varargs.
Andrew Cagney [Mon, 17 Mar 1997 14:19:23 +0000 (14:19 +0000)]
* remote-sim.h: New file, copied in from gdb/remote-sim.h. One
day this will be placed in a directory of its own.
Ian Lance Taylor [Sun, 16 Mar 1997 18:52:01 +0000 (18:52 +0000)]
x
Ian Lance Taylor [Sun, 16 Mar 1997 18:50:27 +0000 (18:50 +0000)]
* symbols.c (symbol_new): Don't call debug_verify_symchain.
(symbol_append): Set sy_next and sy_previous when adding a single
symbol to an empty list. Call debug_verify_symchain.
(verify_symbol_chain): Use assert, not know.
Martin Hunt [Sun, 16 Mar 1997 09:38:51 +0000 (09:38 +0000)]
Sun Mar 16 01:34:55 1997 Martin Hunt <hunt@cygnus.com>
* config.sub: Remove misplaced comment that broke Linux.
Fred Fish [Sun, 16 Mar 1997 06:26:35 +0000 (06:26 +0000)]
* configure.tgt (powerpc-*-beos*): Use aixppc for targ_emul.
Fred Fish [Sun, 16 Mar 1997 05:55:28 +0000 (05:55 +0000)]
* config.sub: Add BeOS support.
Fred Fish [Sun, 16 Mar 1997 05:54:50 +0000 (05:54 +0000)]
ChangeLog