aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1997-04-18Add new Java files.Per Bothner1-0/+4
1997-04-18 * defs.h (enum language): Add language_java.Per Bothner8-33/+2173
* java-exp.y, java-lang.c, java-lang.h, java-valprint.c: New files. * Makefile.in: Upadte for new files. * objfiles.c (allocate_objfile): Allow NULL bfd argument. * symfile.c (deduce_language_from_filename): Recognize .java.
1997-04-18 * arminit.c (ARMul_NewState): Preinitialize the state toFred Fish1-0/+5
all zero/NULL.
1997-04-17 * aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h.David Edelsohn3-2/+23
Check for functions getrusage, time. * sim-basics.h (SIM_ELAPSED_TIME): New typedef. (sim_elapsed_time_get, sim_elapsed_time_since): Add prototypes. * sim-utils.c: #include time.h, sys/time.h, sys/resource.h if able. (sim_elapsed_time_get, sim_elapsed_time_since): New functions.
1997-04-17Change FIXME comment - should replace bubble sort by merge sort, not qsort.Per Bothner1-2/+1
1997-04-17 * m32r-stub.c (stash_registers): Rewrite.David Edelsohn1-0/+6
(restore_registers): Renamed to restore_and_return. (cleanup_stash): New function. (process_exception): New function. (_catchException*): Rewrite.
1997-04-17xIan Lance Taylor1-1/+1
1997-04-17Thu Apr 17 13:59:47 1997 Per Fogelstrom <pefo@openbsd.org>Ian Lance Taylor3-2/+7
* configure.in (mips-*-openbsd*): New target. * configure: Rebuild.
1997-04-17Thu Apr 17 13:57:06 1997 Per Fogelstrom <pefo@openbsd.org>Ian Lance Taylor2-10/+58
* config.guess: Fixes for MIPS OpenBSD systems.
1997-04-17Thu Apr 17 13:46:56 1997 Per Fogelstrom <pefo@openbsd.org>Ian Lance Taylor1-0/+4
* configure.host (mips*-*-openbsd*): New target.
1997-04-17 * ldctor.c (ldctor_build_sets): Make sure the set is alignedIan Lance Taylor1-0/+5
appropriately.
1997-04-17 * elflink.h (elf_link_add_object_symbols): Only subtract theIan Lance Taylor2-3/+6
section VMA from the symbol value if this is a fully linked file.
1997-04-17 * elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Define.Ian Lance Taylor2-18/+279
(struct elf_i386_link_hash_entry): Define. (struct elf_i386_link_hash_table): Define. (elf_i386_link_hash_traverse): Define. (elf_i386_hash_table): Define. (elf_i386_link_hash_newfunc): New static function. (elf_i386_link_hash_table_create): New static function. (elf_i386_check_relocs): If linking with -Bsymbolic, don't copy PC relative relocs for a global symbol defined in a regular object, and count the number of PC relative relocs copied for any global symbol. (elf_i386_size_dynamic_sections): If linking with -Bsymbolic, traverse with elf_i386_discard_copies. (elf_i386_discard_copies): New static function. (bfd_elf32_bfd_link_hash_table_create): Define.
1997-04-17 From Gordon W. Ross <gwr@mc.com>:Ian Lance Taylor1-0/+6
* aoutf1.h (MY_entry_is_text_address): Define if not defined. (sunos4_aout_backend): Use MY_entry_is_text_address.
1997-04-17 * sim-utils.c (sim_copy_argv, sim_analyze_program): New functions.David Edelsohn2-0/+125
1997-04-17sim-trace.c: New file.David Edelsohn4-3/+79
1997-04-17Add macros for CPU_FOO_FILE, CPU_STATE.David Edelsohn1-1/+5
1997-04-17(standard_option_handler): Tweak some error messages.David Edelsohn1-13/+13
(sim_parse_args): Record orig_val as unsigned char.
1997-04-17Clean up.David Edelsohn1-64/+7
1997-04-17 * igen.c (print_itrace): Use TRACE_FOO_P and trace_printf.David Edelsohn2-0/+655
1997-04-17Tweak comment.David Edelsohn1-2/+1
1997-04-17 * Make-common.in (nrun.o): Add rule for.David Edelsohn4-0/+125
* nrun.c: New file.
1997-04-17 * sim-config.h (WITH_DEBUG): Provide default value of zero.David Edelsohn2-1/+8
1997-04-17 * sim-options.c, sim-options.h: New files.David Edelsohn4-0/+809
1997-04-17MAX_CPUS -> WITH_SMP.David Edelsohn1-4/+4
1997-04-17Fix copyright message, this is not GCC.David Edelsohn1-5/+5
1997-04-17 * run.c (main): Check return value of sim_open.David Edelsohn2-0/+4
1997-04-17 * Makefile.in (SIM_OBJS): Add sim-load.o.David Edelsohn2-111/+649
* interp.c (sim_kind, myname): New static locals. (sim_open): Set sim_kind, myname. Ignore -E arg. (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to load file into simulator. Set start address from bfd. (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1997-04-17 * Makefile.in (SIM_OBJS): Add sim-load.o.David Edelsohn3-26/+73
* interp.c (target_byte_order): Delete. (sim_kind, myname, little_endian_p): New static locals. (init_pointers): Use little_endian_p instead of target_byte_order. (sim_resume): Likewise. (sim_open): Set sim_kind, myname. Set little_endian_p from -E arg. (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to load file into simulator. Set start address from bfd. (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1997-04-17 * psim.c (psim_options): Ignore -E option (sets endianness).David Edelsohn3-62/+162
* sim_calls.c: #include bfd.h. (entry_point): New static local. (sim_load): Return SIM_RC. New arg abfd. Set start address from bfd. (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1997-04-17 * Makefile.in (SIM_OBJS): Add sim-load.o.David Edelsohn2-34/+155
* interp.c (sim_kind, myname): New static locals. (sim_open): Set sim_kind, myname. Ignore -E arg. (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to load file into simulator. Set start address from bfd. (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1997-04-17 * Makefile.in (SIM_OBJS): Add sim-load.o.David Edelsohn2-26/+52
* interp.c: #include bfd.h. (target_byte_order): Delete. (sim_kind, myname, big_endian_p): New static locals. (sim_open): Set sim_kind, myname. Move call to set_endianness to after argument parsing. Recognize -E arg, set endianness accordingly. (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to load file into simulator. Set PC from bfd. (sim_create_inferior): Return SIM_RC. Delete arg start_address. (set_endianness): Use big_endian_p instead of target_byte_order.
1997-04-17 * Makefile.in (SIM_OBJS): Add sim-load.o.David Edelsohn2-55/+181
* compile.c (sim_kind, myname): New static locals. (sim_open): Set sim_kind, myname. (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h. Call sim_load_file to load file into simulator. Set start address from bfd. (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1997-04-17 * interf.c (sim_open): Ignore -E arg.David Edelsohn2-40/+61
(start_address): New static local. (sim_load): Return SIM_RC. New arg abfd. Set start_address from bfd. (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1997-04-17 * Makefile.in (SIM_OBJS): Add sim-load.o.David Edelsohn2-59/+114
* d10v_sim.h (exec_bfd): Rename to prog_bfd. * interp.c: #include bfd.h. (myname, sim_kind, start_address): New static locals. (prog_bfd_was_opened_p, prog_bfd): New static locals. (decode_pc): Update to use prog_bfd. (sim_open): Set sim_kind, myname. Ignore -E arg. (sim_close): Close prog_bfd if simulator opened it. (sim_create_inferior): Return SIM_RC. Delete arg start_address. (sim_load): Return SIM_RC. New arg abfd. Set start address from bfd. Call sim_load_file to load file into simulator. * simops.c (trace_input_func): exec_bfd renamed to prog_bfd.
1997-04-17 * Makefile.in (SIM_OBJS): Add sim-load.o.David Edelsohn2-11/+34
* wrapper.c (sim_kind,myname): New static locals. (sim_open): Set sim_kind, myname. (sim_load): Call sim_load_file to do work. Set start address from bfd. (sim_create_inferior): Return SIM_RC. Delete start_address arg.
1997-04-17 * sim-load.c: New file.David Edelsohn1-0/+1
[forgot this]
1997-04-17Add sim-load.c, sim-trace.h.David Edelsohn1-0/+2
1997-04-17 * Make-common.in (sim-options.o, sim-load.o): Add rules for.David Edelsohn7-52/+542
(sim_main_headers): Add sim-trace.h. * run.c (exec_bfd, target_byte_order): Delete. (main): Pass -E <endian> to sim_open. Delete code to load sections, call sim_load instead. Check return code of sim_create_inferior. * sim-base.h (CURRENT_STATE): Define. (sim_state_base): Make typedef. New members options, prog_argv, prog_bfd, text_{section,start,end}, start_addr, simcache_size, mem_size, memory [+ corresponding access macros]. (sim_cpu_base): New typedef. * sim-trace.h: New file. * sim-basics.h: #include it. * sim-load.c: New file.
1997-04-17 (gdbsim_open): Pass endian indicator as arg.David Edelsohn1-0/+1
[forgot this]
1997-04-17 * remote-sim.c (gdbsim_load): Update call to sim_load.David Edelsohn2-12/+17
(gdbsim_create_inferior): No longer pass start_address to sim_create_inferior. (gdbsim_open): Pass endian indicator as arg.
1997-04-17 * remote-sim.h (struct _bfd): Declare.David Edelsohn2-17/+18
(sim_load): Return SIM_RC. New arg `abfd'. (sim_create_inferior): Return SIM_RC. Delete arg `start_address'.
1997-04-17Cleanups to compile under FreeBSDAndrew Cagney12-113/+255
1997-04-16 From Gordon W. Ross <gwr@mc.com>:Ian Lance Taylor1-1/+9
* netbsd.h (N_SHARED_LIB): Define. (SEGMENT_SIZE): Don't define. * m68knetbsd.c (SEGMENT_SIZE): Don't define (revert change of April 11). * sparcnetbsd.c (TARGET_PAGE_SIZE): Define as 0x2000. (SEGMENT_SIZE): Don't define.
1997-04-16Wed Apr 16 12:43:32 1997 Martin Hunt <hunt@cygnus.com>Martin Hunt1-0/+7
* elf32-d30v.c (elf_d30v_howto_table): Changed size of R_D30V_32_NORMAL to 2 (4 bytes).
1997-04-16Wed Apr 16 12:31:24 1997 Martin Hunt <hunt@cygnus.com>Martin Hunt1-0/+7
* config/tc-d30v.c (parallel_ok): Fix parallel checking for instructions using conditional execution.
1997-04-16Wed Apr 16 12:20:24 1997 Martin Hunt <hunt@cygnus.com>Martin Hunt1-0/+9
* gas/d30v/d30.exp: Add optimizer test case. * gas/d30v/opt.s: Add conditional compilation tests. * gas/d30v/opt.d: Rebuild.
1997-04-16 * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Set .rela.bss sizeIan Lance Taylor1-0/+6
to sizeof Rela structure, not sizeof Rel structure. From Gary Thomas <g.thomas@opengroup.org>.
1997-04-16Correct test for fpr pairs.Gavin Romig-Koch1-0/+3
1997-04-16 * remote.c (get_offsets): Don't use scanf for interpretingStan Shebs1-0/+5
response to qOffsets.