binutils-gdb.git
27 years ago * coff-ppc.c (coff_ppc_relocate_section): If PE file, don't add
Ian Lance Taylor [Mon, 26 May 1997 18:09:21 +0000 (18:09 +0000)]
* coff-ppc.c (coff_ppc_relocate_section): If PE file, don't add
section VMA.

27 years ago * peicode.h (coff_bfd_print_private_bfd_data): #undef before #define.
Fred Fish [Mon, 26 May 1997 18:00:54 +0000 (18:00 +0000)]
* peicode.h (coff_bfd_print_private_bfd_data): #undef before #define.
(coff_bfd_copy_private_bfd_data): Ditto.
* coff-arm.c (coff_arm_bfd_merge_private_bfd_data): Make static.
(coff_arm_bfd_print_private_bfd_data): Ditto.
(coff_arm_bfd_set_private_flags): Ditto.
(coff_arm_bfd_copy_private_bfd_data): Ditto.

27 years ago * doc/as.texinfo: Don't use @value in section names or index
Ian Lance Taylor [Mon, 26 May 1997 17:25:22 +0000 (17:25 +0000)]
* doc/as.texinfo: Don't use @value in section names or index
entries; it confuses texinfo.tex.

27 years ago * libcoff-in.h (struct coff_final_link_info): Add boolean
Fred Fish [Sat, 24 May 1997 15:30:55 +0000 (15:30 +0000)]
* libcoff-in.h (struct coff_final_link_info): Add boolean
global_to_static member for support of task linking.
(_bfd_coff_write_task_globals): Add prototype.
* libcoff.h: Regenerate.
* coffcode.h (coff_write_object_contents): Use #ifdef to
check RS6000COFF_C, to be consistent with all other uses
in this file.
* cofflink.c (_bfd_coff_final_link): If doing task linking,
call _bfd_coff_write_task_globals.
(_bfd_coff_link_input_bfd): If doing task linking, convert
global functions to static.
(_bfd_coff_write_global_sym): If doing task linking, convert
global variables to static.
(_bfd_coff_write_task_globals): New function.
* coff-tic80.c (TIC80COFF): Define this instead of just TIC80.
(C_AUTOARG): #undef since it clashes with C_UEXT.
(C_LASTENT): #undef since it clashes with C_STATLAB.
* coffcode.h (coff_write_object_contents): Use TIC80COFF
rather than TIC80.
(coff_slurp_symbol_table): Use C_SYSTEM.  Hide C_AUTOARG use
when TIC80COFF defined (clashes with C_UEXT).  Explicitly
recognize C_UEXT, C_STATLAB, and C_EXTLAB as unsupported.
PR 12236

27 years ago * internal.h (C_UEXT, C_STATLAB, C_EXTLAB, C_SYSTEM):
Fred Fish [Sat, 24 May 1997 15:28:55 +0000 (15:28 +0000)]
  * internal.h (C_UEXT, C_STATLAB, C_EXTLAB, C_SYSTEM):
      New storage classes for TIc80.
PR 12236

27 years ago * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
Bob Manson [Fri, 23 May 1997 22:30:29 +0000 (22:30 +0000)]
* gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
  test_calls after restarting.

* lib/gdb.exp(gdb_run_cmd): Send jump command again after
  reloading.

* gdb.base/watchpoint.exp: Fix typo.

* gdb.base/setshow.exp: Check for use_gdb_stub.

* gdb.base/break.exp: Fix continue until exit test for the gdb
  stub case.
* gdb.base/langs.exp: Ditto.

* config/monitor.exp(gdb_load): Handle gdb_sect_offset and
  gdb_load_offset. If we weren't given a file to load, figure out
  what the current file is and use it.

27 years ago * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
Bob Manson [Fri, 23 May 1997 21:49:12 +0000 (21:49 +0000)]
* config/monitor.exp(gdb_load): Handle gdb_sect_offset and
  gdb_load_offset.

27 years ago * infcmd.c (jump_command): Don't try to dereference sfn if it's
Bob Manson [Fri, 23 May 1997 21:46:34 +0000 (21:46 +0000)]
* infcmd.c (jump_command): Don't try to dereference sfn if it's
  NULL.

27 years ago * sh-dis.c: Reindent. Rename local variable fprintf to
Ian Lance Taylor [Fri, 23 May 1997 20:52:06 +0000 (20:52 +0000)]
* sh-dis.c: Reindent.  Rename local variable fprintf to
fprintf_fn.

27 years ago * config/i386-bozo.exp: New file.
Bob Manson [Fri, 23 May 1997 20:28:54 +0000 (20:28 +0000)]
* config/i386-bozo.exp: New file.

27 years agoadd depend.c
Ian Lance Taylor [Fri, 23 May 1997 20:15:59 +0000 (20:15 +0000)]
add depend.c

27 years ago * doc/as.texinfo: Updated for -MD option.
Tom Tromey [Fri, 23 May 1997 19:30:41 +0000 (19:30 +0000)]
    * 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.

27 years ago * coff-tic80.c (tic80_howto_table): Change overflow check for most
Ian Lance Taylor [Fri, 23 May 1997 16:39:10 +0000 (16:39 +0000)]
* coff-tic80.c (tic80_howto_table): Change overflow check for most
PP relocations to complain_overflow_dont.

27 years agoDon't restrict the endian commands to BI-ENDIAN gdb.
Andrew Cagney [Fri, 23 May 1997 09:25:01 +0000 (09:25 +0000)]
Don't restrict the endian commands to BI-ENDIAN gdb.

27 years agoPreliminary suport for xor-endian suport in core module.
Andrew Cagney [Fri, 23 May 1997 09:19:43 +0000 (09:19 +0000)]
Preliminary suport for xor-endian suport in core module.

27 years ago Make sure we keep the old value of timeout set properly.
Bob Manson [Fri, 23 May 1997 06:15:46 +0000 (06:15 +0000)]
Make sure we keep the old value of timeout set properly.

27 years ago Don't look at timeout unless it exists.
Bob Manson [Fri, 23 May 1997 06:10:08 +0000 (06:10 +0000)]
Don't look at timeout unless it exists.

27 years ago * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
Bob Manson [Fri, 23 May 1997 06:05:12 +0000 (06:05 +0000)]
* lib/gdb.exp(gdb_expect): Look for gdb,timeout target
feature.

27 years ago * config/proelf.exp: New entry.
Bob Manson [Fri, 23 May 1997 02:06:18 +0000 (02:06 +0000)]
* config/proelf.exp: New entry.

27 years agoIncorrect test for zero-r0 code gen.
Andrew Cagney [Fri, 23 May 1997 02:01:04 +0000 (02:01 +0000)]
Incorrect test for zero-r0 code gen.

27 years agoEnumerate longjmp's return type.
Andrew Cagney [Fri, 23 May 1997 01:29:16 +0000 (01:29 +0000)]
Enumerate longjmp's return type.

27 years ago * coff-tic80.c (tic80_howto_table): Add PP relocations. Change
Ian Lance Taylor [Fri, 23 May 1997 00:26:58 +0000 (00:26 +0000)]
* coff-tic80.c (tic80_howto_table): Add PP relocations.  Change
name of R_RELLONG to "RELLONG".  Set rightshift and complain for
M_PPCR.
(ppbase_reloc, glob15_reloc): New static functions.
(glob16_reloc, local16_reloc): New static functions.
(rtype2howto): Handle all relocation types.
(coff_tic80_relocate_section): New static function.
(coff_relocate_section): Define to coff_tic80_relocate_section.
* Makefile.in (coff-tic80.o): Depends upon include/coff/tic80.h.

27 years agoTweak ChangeLog entry.
David Edelsohn [Thu, 22 May 1997 21:12:22 +0000 (21:12 +0000)]
Tweak ChangeLog entry.

27 years ago * m32r-opc.c (m32r_cgen_insn_table, cmpui): Undo patch of May 2.
David Edelsohn [Thu, 22 May 1997 21:06:57 +0000 (21:06 +0000)]
* m32r-opc.c (m32r_cgen_insn_table, cmpui): Undo patch of May 2.

27 years agoifdef out uses of simSTOP, simSTEP and simBE when DEBUG is defined.
Gavin Romig-Koch [Thu, 22 May 1997 13:30:01 +0000 (13:30 +0000)]
ifdef out uses of simSTOP, simSTEP and simBE when DEBUG is defined.

27 years agoChange longjmp param/setjmp return value used for simulator restart from 0 to 2.
Gavin Romig-Koch [Thu, 22 May 1997 13:16:03 +0000 (13:16 +0000)]
Change longjmp param/setjmp return value used for simulator restart from 0 to 2.

27 years ago * lib/gdb.exp: Remove spurious .* patterns at the beginning
Bob Manson [Thu, 22 May 1997 06:00:28 +0000 (06:00 +0000)]
* lib/gdb.exp: Remove spurious .* patterns at the beginning
of regexps.

27 years ago * gdb.base/watchpoint.exp: Don't run the test_stepping
Bob Manson [Thu, 22 May 1997 05:56:31 +0000 (05:56 +0000)]
* gdb.base/watchpoint.exp: Don't run the test_stepping
tests if gdb can't call functions on the target.

27 years ago add new file.
Bob Manson [Thu, 22 May 1997 05:55:41 +0000 (05:55 +0000)]
add new file.

27 years ago * interp.c (sim_resume): Add missing case in big switch
Jeff Law [Thu, 22 May 1997 05:28:34 +0000 (05:28 +0000)]
    * interp.c (sim_resume): Add missing case in big switch
        statement (for extb instruction).

27 years agoRestrict simulator commands to an enabled simulator.
Andrew Cagney [Thu, 22 May 1997 04:59:25 +0000 (04:59 +0000)]
Restrict simulator commands to an enabled simulator.

27 years ago * gdb.base/setshow.exp: Don't run the set prompt tests if
Bob Manson [Thu, 22 May 1997 04:24:23 +0000 (04:24 +0000)]
* gdb.base/setshow.exp: Don't run the set prompt tests if
the board has gdb_prompt set.

27 years agoWed May 21 16:03:25 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Wed, 21 May 1997 23:33:33 +0000 (23:33 +0000)]
Wed May 21 16:03:25 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * procfs.c (init_procinfo): new function, abstracts some code
        shared by create_procinfo and do_attach;
        (procfs_set_inferior_syscall_traps): new function, abstracts
        some code needed by procfs_init_inferior, do_attach, and
        procfs_lwp_creation_handler; (procfs_first_available): new
        function, find any LWP that's runnable; (procfs_thread_alive):
        replace stub function with real implementation;
        (procfs_lwp_creation_handler): fix bug starting new child
        threads; (info_proc): bug fixes and enhancements for the
        "INFO PROCESSES" command; (close_procinfo_file): call new
        function "delete_thread" to cleanup GDB's thread database;
        (proc_init_failed): add new argument "kill", to control whether
        process is killed (so this function can be shared by
        create_procinfo and do_attach); (procfs_exit_handler): handle
        exit from an attached process, and cleanup procinfo handles
        when the process exits; (procfs_resume, procfs_wait): cleanup
        after a thread when it exits; (do_attach, do_detach): handle
        attached processes with multiple threads; plus some general
        improvements in the diagnostic output.
        * sol-thread.c (sol_thread_alive): replace stub with real
        implementation; (thread_to_lwp, lwp_to_thread): enhance to
        handle threads that may have exited; (sol_thread_attach): add
        startup setup stuff; (sol_thread_detach): add unpush_target
        call; (sol_thread_mourn_inferior): add unpush_target call;
        (sol_thread_wait, sol_thread_resume): enhance to deal with
        thread exit cleanly; (sol_thread_new_objfile,
        sol_thread_pid_to_str): detect unsuccessful startup and
        don't crash; plus some general cleanup.
        * thread.c (delete_thread): new function, allows targets to
        notify gdb when a thread is no longer valid.
        * infrun.c (wait_for_inferior): don't try to detect a new
        thread on receiving a TARGET_EXITED event.

27 years ago * ldmain.c (main): Correct check of fclose return value when
Ian Lance Taylor [Wed, 21 May 1997 21:44:47 +0000 (21:44 +0000)]
* ldmain.c (main): Correct check of fclose return value when
handling --force-exe-suffix.

27 years ago * coffcode.h (coff_slurp_symbol_table): If COFF_WITH_PE or
Ian Lance Taylor [Wed, 21 May 1997 21:42:38 +0000 (21:42 +0000)]
* coffcode.h (coff_slurp_symbol_table): If COFF_WITH_PE or
COFF_IMAGE_WITH_PE, don't subtract the section VMA from the symbol
value.
* coffgen.c (fixup_symbol_value): Add abfd parameter.  Change all
callers.  If PE file, don't add section VMA.
(coff_write_alien_symbol): If PE file, don't add section VMA.
* cofflink.c (_bfd_coff_link_input_bfd): Likewise.
(_bfd_coff_write_global_sym): Likewise.
(_bfd_coff_generic_relocate_section): Likewise.

27 years ago * config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the
Ian Lance Taylor [Wed, 21 May 1997 21:40:14 +0000 (21:40 +0000)]
* config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the
section address to the symbol value.

27 years ago * configure.in: Use install-sh, not install.sh.
Ian Lance Taylor [Wed, 21 May 1997 21:33:55 +0000 (21:33 +0000)]
* configure.in: Use install-sh, not install.sh.

27 years ago * peicode.h: Add & 0xffffffff when using ImageBase in case bfd_vma
Ian Lance Taylor [Wed, 21 May 1997 21:17:17 +0000 (21:17 +0000)]
* peicode.h: Add & 0xffffffff when using ImageBase in case bfd_vma
is 64 bits.

27 years agoAdded code to cope with 'ld -X -r' stripiung symbols that will later be
Nick Clifton [Wed, 21 May 1997 16:59:02 +0000 (16:59 +0000)]
Added code to cope with 'ld -X -r' stripiung symbols that will later be
used in relocations.

27 years agoWatchpoint interface.
Andrew Cagney [Wed, 21 May 1997 06:54:13 +0000 (06:54 +0000)]
Watchpoint interface.

27 years ago * interp.c: Replace all references to load_mem and store_mem
Jeff Law [Tue, 20 May 1997 23:53:47 +0000 (23:53 +0000)]
    * interp.c: Replace all references to load_mem and store_mem
        with references to load_byte, load_half, load_3_byte, load_word
        and store_byte, store_half, store_3_byte, store_word.
        (INLINE): Delete definition.
        (load_mem_big): Likewise.
        (max_mem): Make it global.
        (dispatch): Make this function inline.
        (load_mem, store_mem): Delete functions.
        * mn10300_sim.h (INLINE): Define.
        (RLW): Delete unused definition.
        (load_mem, store_mem): Delete declarations.
        (load_mem_big): New definition.
        (load_byte, load_half, load_3_byte, load_word): New functions.
        (store_byte, store_half, store_3_byte, store_word): New functions.
        * simops.c:  Replace all references to load_mem and store_mem
        with references to load_byte, load_half, load_3_byte, load_word
        and store_byte, store_half, store_3_byte, store_word.

27 years ago * coff-sh.c (sh_merge_private_data): New static function.
Ian Lance Taylor [Tue, 20 May 1997 22:45:49 +0000 (22:45 +0000)]
* coff-sh.c (sh_merge_private_data): New static function.
(coff_bfd_merge_private_bfd_data): Define.
PR 12351.

27 years agoMove mips INSN_ISA subfield into new membership field.
Gavin Romig-Koch [Tue, 20 May 1997 15:29:25 +0000 (15:29 +0000)]
Move mips INSN_ISA subfield into new membership field.

27 years ago * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
Jeff Law [Tue, 20 May 1997 15:00:01 +0000 (15:00 +0000)]
    * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
        * gdb.base/commands.exp: Likewise.
        * gdb.base/setshow.exp: Likewise.

27 years agoPart II of adding callback argument to sim_open(). Update all the
Andrew Cagney [Tue, 20 May 1997 01:57:43 +0000 (01:57 +0000)]
Part II of adding callback argument to sim_open().  Update all the
other simulators; remove SIM_DESC from depreciated function
sim_set_callbacks().

27 years agoDepreciate sim_set_callbacks() function. Set simulator callbacks
Andrew Cagney [Tue, 20 May 1997 00:05:27 +0000 (00:05 +0000)]
Depreciate sim_set_callbacks() function.  Set simulator callbacks
during sim_open().

27 years agoMake getpid, kill supported system calls
Michael Meissner [Mon, 19 May 1997 23:02:30 +0000 (23:02 +0000)]
Make getpid, kill supported system calls

27 years ago * config/monitor.exp(gdb_start): Look for gdb_prompt target
Bob Manson [Mon, 19 May 1997 22:40:00 +0000 (22:40 +0000)]
* config/monitor.exp(gdb_start): Look for gdb_prompt target
feature.

* config/i960.exp: New file.

27 years ago * coff-tic80.c: Remove unnecessary #ifdefs.
Mark Alexander [Mon, 19 May 1997 21:47:45 +0000 (21:47 +0000)]
* coff-tic80.c: Remove unnecessary #ifdefs.
* config.bfd: Set targ_underscore to yes for tic80.

27 years ago * coff-tic80.c (NAMES_HAVE_UNDERSCORE): Define (fixes problem
Mark Alexander [Mon, 19 May 1997 21:26:34 +0000 (21:26 +0000)]
* coff-tic80.c (NAMES_HAVE_UNDERSCORE): Define (fixes problem
with unresolved external symbols in GDB).

27 years ago * interp.c (dispatch): Make this an inline function.
Jeff Law [Mon, 19 May 1997 19:55:31 +0000 (19:55 +0000)]
    * interp.c (dispatch): Make this an inline function.

        * simops.c (syscall): Use callback->write regardless of
        what file descriptor we're writing too.

27 years agoGraft sim/common event and other code onto the mips simulator.
Andrew Cagney [Mon, 19 May 1997 13:30:30 +0000 (13:30 +0000)]
Graft sim/common event and other code onto the mips simulator.

27 years agoUpdate.
Andrew Cagney [Mon, 19 May 1997 09:35:51 +0000 (09:35 +0000)]
Update.

27 years agoMake simulator event-queue manager a bit more signal safe.
Andrew Cagney [Mon, 19 May 1997 06:55:56 +0000 (06:55 +0000)]
Make simulator event-queue manager a bit more signal safe.

27 years agoo Implement generic halt/restart/abort module.
Andrew Cagney [Mon, 19 May 1997 03:42:33 +0000 (03:42 +0000)]
o Implement generic halt/restart/abort module.
Use in tic80 and d30v simulators.
o Add signal hook to sim-core module

27 years agoPacify gcc.
Andrew Cagney [Mon, 19 May 1997 01:24:31 +0000 (01:24 +0000)]
Pacify gcc.

27 years ago * interp.c (load_mem_big): Remove function. It's now a macro
Jeff Law [Sun, 18 May 1997 22:57:49 +0000 (22:57 +0000)]
    * interp.c (load_mem_big): Remove function.  It's now a macro
        defined elsewhere.
        (compare_simops): New function.
        (sim_open): Sort the Simops table before inserting entries
        into the hash table.
        * mn10300_sim.h: Remove unused #defines.
        (load_mem_big): Define.
Another 20% so performance improvement for the mn10300 simulator.

27 years agoTreat infinities like normal numbers for purposes of comparisons
Michael Meissner [Sat, 17 May 1997 02:28:11 +0000 (02:28 +0000)]
Treat infinities like normal numbers for purposes of comparisons

27 years ago * callback.c (os_close): Mark the descriptor as being
Jeff Law [Fri, 16 May 1997 22:39:08 +0000 (22:39 +0000)]
    * callback.c (os_close): Mark the descriptor as being
        available if the close succeeded.
        (os_open): Pass 0644 as the mode of the file being created.
Bring Bob's changes over from the mec branch.

27 years ago * interp.c (load_mem): If we get a load from an out of range
Jeff Law [Fri, 16 May 1997 22:37:02 +0000 (22:37 +0000)]
    * interp.c (load_mem): If we get a load from an out of range
        address, abort.
        (store_mem): Likewise for stores.
        (max_mem): New variable.

27 years ago * elf-m10300.c (elf32_mn10300_relax_section): Read in all
Jeff Law [Fri, 16 May 1997 16:34:52 +0000 (16:34 +0000)]
    * elf-m10300.c (elf32_mn10300_relax_section): Read in all
        the symbols associated with each BFD.
        (mn10300_elf_relax_delete_bytes): Don't adjust the same symbol
        more than once.
        * elf-m10200.c: Likewise.
        * elf32-m32r.c: Likewise.
        * elf32-sh.c: Likewise.

27 years ago * elflink.h (elf_link_add_object_symbols): Don't decrease the
Ian Lance Taylor [Fri, 16 May 1997 16:13:33 +0000 (16:13 +0000)]
* elflink.h (elf_link_add_object_symbols): Don't decrease the
  alignment of a common symbol.  If two symbols that look like
  common symbols are found in two shared libraries, and the size is
  different, use the larger size, and warn if --warn-common.  If a
common symbol overrides a definition in a shared library, set the
size to the larger size, and warn if --warn-common.

27 years agoo Make tic80 insn file more `cache ready'
Andrew Cagney [Fri, 16 May 1997 03:27:40 +0000 (03:27 +0000)]
o Make tic80 insn file more `cache ready'
o Have igen always zero r0 instead of constantly checking if
the designated register is r0.

27 years ago * elflink.h (elf_link_add_object_symbols): Consistently treat
Ian Lance Taylor [Thu, 15 May 1997 21:38:26 +0000 (21:38 +0000)]
* elflink.h (elf_link_add_object_symbols): Consistently treat
uninitialized symbols in shared objects as common symbols.

27 years agoAdded support to LD to select the architecture of an ARM COFF output file
Nick Clifton [Thu, 15 May 1997 21:32:35 +0000 (21:32 +0000)]
Added support to LD to select the architecture of an ARM COFF output file
based on the architecture of the first input file.

27 years ago * elflink.h (elf_link_add_object_symbols): Force ELF symbol size
Ian Lance Taylor [Thu, 15 May 1997 20:40:54 +0000 (20:40 +0000)]
* elflink.h (elf_link_add_object_symbols): Force ELF symbol size
to common symbol size.

27 years agoFixed bug in previous delta. If no cpu type was specified on the command
Nick Clifton [Thu, 15 May 1997 17:05:24 +0000 (17:05 +0000)]
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.

27 years agoRemove some of the flake from the c80 floating point.
Andrew Cagney [Thu, 15 May 1997 16:39:38 +0000 (16:39 +0000)]
Remove some of the flake from the c80 floating point.

27 years ago * config/rs6000/tm-rs6000.h (SIG_FRAME_LR_OFFSET): Define.
Peter Schauer [Thu, 15 May 1997 15:01:54 +0000 (15:01 +0000)]
* config/rs6000/tm-rs6000.h (SIG_FRAME_LR_OFFSET):  Define.
* rs6000-tdep.c (frameless_function_invocation):  Mark frames
with a zero PC as frameless to improve backtraces from core dumps
caused by dereferencing a NULL function pointer.
(frameless_function_invocation, frame_saved_pc, rs6000_frame_chain):
Handle frameless functions interrupted by a signal.

* sparc-tdep.c (sparc_init_extra_frame_info, sparc_frame_saved_pc):
Handle frameless functions interrupted by a signal.

27 years ago * obstack.h (obstack_specify_allocation_with_arg, obstack_chunkfun,
Mark Alexander [Thu, 15 May 1997 08:30:04 +0000 (08:30 +0000)]
* obstack.h (obstack_specify_allocation_with_arg, obstack_chunkfun,
obstack_freefun): Eliminate compile warnings in gdb.

27 years agoMore floating point operations.
Andrew Cagney [Thu, 15 May 1997 02:22:37 +0000 (02:22 +0000)]
More floating point operations.

27 years agoFix double conversion problem.
Andrew Cagney [Thu, 15 May 1997 02:21:11 +0000 (02:21 +0000)]
Fix double conversion problem.

27 years agoPassify gcc's warnings.
Andrew Cagney [Thu, 15 May 1997 00:14:33 +0000 (00:14 +0000)]
Passify gcc's warnings.

27 years agoMake columns line up for fpu operation tracing
Michael Meissner [Wed, 14 May 1997 22:06:45 +0000 (22:06 +0000)]
Make columns line up for fpu operation tracing

27 years ago * mn10200-tdep.c (mn10200_analyze_prologue): Update prologue comments
Jeff Law [Wed, 14 May 1997 22:04:28 +0000 (22:04 +0000)]
    * mn10200-tdep.c (mn10200_analyze_prologue): Update prologue comments
        to reflect current reality.  Gross attempt at handling out of
        line prologues.

27 years agoAdded support for storing ARM Procedure Calling Standard variant, and ARM
Nick Clifton [Wed, 14 May 1997 17:00:43 +0000 (17:00 +0000)]
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.

27 years ago * mn10200-tdep.c (mn10200_skip_prologue): Don't look at the debug
Jeff Law [Wed, 14 May 1997 15:01:33 +0000 (15:01 +0000)]
    * mn10200-tdep.c (mn10200_skip_prologue): Don't look at the debug
        symbols to find the end of the prologue.
        * mn10300-tdep.c (mn10300_skip_prologue): Likewise.

27 years agoFix total number of tic80 registers
Andrew Cagney [Wed, 14 May 1997 05:10:00 +0000 (05:10 +0000)]
Fix total number of tic80 registers

27 years ago * config/tc-mn10200.c (md_convert_frag): Prefix temporary
Jeff Law [Wed, 14 May 1997 04:29:05 +0000 (04:29 +0000)]
    * config/tc-mn10200.c (md_convert_frag): Prefix temporary
        label name with ".".
        * config/tc-mn10300.c (md_convert_frag): Likewise.

27 years agoFix tic80 sanitization.
Mark Alexander [Tue, 13 May 1997 22:31:47 +0000 (22:31 +0000)]
Fix tic80 sanitization.

27 years agoMake sure r0 == 0; Return EINVAL for system calls that are defined but not provided...
Michael Meissner [Tue, 13 May 1997 22:04:32 +0000 (22:04 +0000)]
Make sure r0 == 0; Return EINVAL for system calls that are defined but not provided; Provide traps 74-79 as debugging traps

27 years agoFix thinko in previous change.
Fred Fish [Tue, 13 May 1997 19:00:57 +0000 (19:00 +0000)]
Fix thinko in previous change.

27 years ago * config/tc-mips.c (set_at): Check for bignum.
Ian Lance Taylor [Tue, 13 May 1997 18:46:47 +0000 (18:46 +0000)]
* config/tc-mips.c (set_at): Check for bignum.
(check_absolute_expr, macro, mips16_macro): Likewise.
PR 12296.

27 years ago * config/tc-tic80.c (md_apply_fix): Check PC relative relocations
Fred Fish [Tue, 13 May 1997 17:55:41 +0000 (17:55 +0000)]
* config/tc-tic80.c (md_apply_fix): Check PC relative relocations
for overflow/underflow, only insert lower 15 bits into instruction.

27 years agoRemove ANNULed cycle - was confusing gdb.
Andrew Cagney [Tue, 13 May 1997 13:57:49 +0000 (13:57 +0000)]
Remove ANNULed cycle - was confusing gdb.

27 years ago * scripttempl/elfmips.sc: Remove.
Ian Lance Taylor [Tue, 13 May 1997 03:30:20 +0000 (03:30 +0000)]
* scripttempl/elfmips.sc: Remove.
* scripttempl/elf.sc: Set ENTRY based on target.  Permit
TEXT_DYNAMIC to control .dynamic segment.  Permit
SHLIB_TEXT_START_ADDR to set start of shared object.  Support
INITIAL_READONLY_SECTIONS.  Put .stub in .text.  Only put
.gnu.linkonce.t* in .text when relocating.  Support
OTHER_TEXT_SECTIONS.  Support SHLIB_DATA_ADDR as well as
DATA_ADDR.  Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS.
* emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf.
(DATA_ADDR): Don't set.
(INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS.
(OTHER_TEXT_SECTIONS): Set.
(OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS.
(MACHINE): Set to empty string.
* emulparams/elf32l4300.sh: Likewise.
* emulparams/elf32ebmip.sh: Likewise.
* emulparams/elf32elmip.sh: Likewise.
* emulparams/elf32bmip.sh: Likewise.  Also:
(TEXT_DYNAMIC): Set.
* emulparams/elf32lmips.sh: Likewise.
* Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than
elfmips.sc.
(eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise.

27 years agoFix ld/st tracing
Michael Meissner [Mon, 12 May 1997 21:16:26 +0000 (21:16 +0000)]
Fix ld/st tracing

27 years agoMon May 12 13:33:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Mon, 12 May 1997 20:23:57 +0000 (20:23 +0000)]
Mon May 12 13:33:08 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* config/tc-i386.c (pi): Check for RegMMX.

27 years ago * tic80-tdep.c, config/tic80/tm-tic80.h: First cut at getting
Mark Alexander [Mon, 12 May 1997 18:38:28 +0000 (18:38 +0000)]
* tic80-tdep.c, config/tic80/tm-tic80.h: First cut at getting
basic C80 features working.

27 years ago * configure.in: Don't clear OPCODES when --enable-commonbfdlib is
Ian Lance Taylor [Mon, 12 May 1997 17:14:57 +0000 (17:14 +0000)]
* configure.in: Don't clear OPCODES when --enable-commonbfdlib is
used on HP/UX.
* configure: Rebuild.

27 years agoMon May 12 11:11:06 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 12 May 1997 15:12:12 +0000 (15:12 +0000)]
Mon May 12 11:11:06 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* scripttempl/elf.sc: Don't align the data segment on the next 8
byte boundary, instead let the linker use whatever the individual
sections require.

27 years agoClear cntrl-c after handling it.
Andrew Cagney [Mon, 12 May 1997 08:33:56 +0000 (08:33 +0000)]
Clear cntrl-c after handling it.

27 years agoc80 simulator fixes.
Andrew Cagney [Mon, 12 May 1997 04:57:49 +0000 (04:57 +0000)]
c80 simulator fixes.

27 years agoMatch commands like `(gdb) sim a b c' against options --a-b-c.
Andrew Cagney [Mon, 12 May 1997 04:30:38 +0000 (04:30 +0000)]
Match commands like `(gdb) sim a b c' against options --a-b-c.

27 years agoFix endian problems with ld.d/st.d
Michael Meissner [Mon, 12 May 1997 02:04:02 +0000 (02:04 +0000)]
Fix endian problems with ld.d/st.d

27 years agoFix shift/lmo insns; Subu does arithmetic unsigned
Michael Meissner [Sun, 11 May 1997 14:32:32 +0000 (14:32 +0000)]
Fix shift/lmo insns; Subu does arithmetic unsigned

27 years agoAnd short immediate instructions use unsigned immediates, not signed.
Michael Meissner [Sat, 10 May 1997 16:40:21 +0000 (16:40 +0000)]
And short immediate instructions use unsigned immediates, not signed.

27 years ago * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support.
Ian Lance Taylor [Fri, 9 May 1997 21:46:21 +0000 (21:46 +0000)]
* configure.tgt (i[3456]86-*-gnu*): Don't include Mach support.

27 years ago * config.bfd (i[3456]86-*-gnu*): Don't include Mach support.
Ian Lance Taylor [Fri, 9 May 1997 21:44:46 +0000 (21:44 +0000)]
* config.bfd (i[3456]86-*-gnu*): Don't include Mach support.

27 years ago * config.bfd: Change #if 0 around uses of host_aout_vec to #if
Ian Lance Taylor [Fri, 9 May 1997 21:40:42 +0000 (21:40 +0000)]
* config.bfd: Change #if 0 around uses of host_aout_vec to #if
HAVE_host_aout_vec.