binutils-gdb.git
27 years agoTue Dec 31 15:19:32 1996 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Tue, 31 Dec 1996 23:21:34 +0000 (23:21 +0000)]
Tue Dec 31 15:19:32 1996  Geoffrey Noer  <noer@cygnus.com>

        * config/mn10300/tm-mn10300.h: more small register fixes

27 years agoDeal with kill encoding the signal via the exit status.
Michael Meissner [Tue, 31 Dec 1996 23:18:55 +0000 (23:18 +0000)]
Deal with kill encoding the signal via the exit status.

27 years ago * read.c (read_a_source_file): Check mri_pending_align after
Ian Lance Taylor [Tue, 31 Dec 1996 22:11:23 +0000 (22:11 +0000)]
* read.c (read_a_source_file): Check mri_pending_align after
checking for a macro.  From Ronald F. Guilmette
<rfg@monkeys.com>.

27 years ago * config.bfd (mips*el-*-linux*): New target.
Ian Lance Taylor [Tue, 31 Dec 1996 21:27:05 +0000 (21:27 +0000)]
* config.bfd (mips*el-*-linux*): New target.
(mips*-*-linux*): New target.

27 years ago * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Clean up.
Ian Lance Taylor [Tue, 31 Dec 1996 21:26:27 +0000 (21:26 +0000)]
* elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Clean up.
Return a useful value.

27 years ago * v850-opc.c (v850_opcodes): Put curly-braces around operands
Jeff Law [Tue, 31 Dec 1996 21:20:00 +0000 (21:20 +0000)]
    * v850-opc.c (v850_opcodes): Put curly-braces around operands
        for "breakpoint" instruction.
Fixes random assembler failures for hp-x-v850 toolchain.

27 years ago * configure.in: Remove uses of config/mh-linux.
Ian Lance Taylor [Tue, 31 Dec 1996 21:05:42 +0000 (21:05 +0000)]
* configure.in: Remove uses of config/mh-linux.

27 years ago * mh-linux: Remove.
Ian Lance Taylor [Tue, 31 Dec 1996 21:05:08 +0000 (21:05 +0000)]
* mh-linux: Remove.

27 years ago * config.sub, config.guess: Merge with latest FSF sources.
Ian Lance Taylor [Tue, 31 Dec 1996 21:01:24 +0000 (21:01 +0000)]
* config.sub, config.guess: Merge with latest FSF sources.

27 years ago * Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at the
Ian Lance Taylor [Tue, 31 Dec 1996 20:44:46 +0000 (20:44 +0000)]
* Makefile.in (.c.o): Add -D_GNU_SOURCE.  Put $(CFLAGS) at the
end.
(gprof): Put $(CFLAGS) after the other options.

27 years ago * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
Ian Lance Taylor [Tue, 31 Dec 1996 20:43:28 +0000 (20:43 +0000)]
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.

27 years ago * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
Ian Lance Taylor [Tue, 31 Dec 1996 20:38:45 +0000 (20:38 +0000)]
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
(dep): Use ALL_CFLAGS rather than CFLAGS.

27 years ago * configure.host: Use ac_cv_func_mmap_fixed_mapped instead of
Ian Lance Taylor [Tue, 31 Dec 1996 20:30:36 +0000 (20:30 +0000)]
* configure.host: Use ac_cv_func_mmap_fixed_mapped instead of
ac_cv_func_mmap in bfd/configure.host.

27 years agoFix some spacing
Michael Meissner [Tue, 31 Dec 1996 20:17:33 +0000 (20:17 +0000)]
Fix some spacing

27 years agoFix relocatable tda offsets with non-zero addends
Michael Meissner [Tue, 31 Dec 1996 20:14:21 +0000 (20:14 +0000)]
Fix relocatable tda offsets with non-zero addends

27 years agoSet V850_OPERAND_ADJUST_SHORT_MEMORY flag on sst.{h,w}/sld.{h,w} instructions
Michael Meissner [Tue, 31 Dec 1996 20:11:39 +0000 (20:11 +0000)]
Set V850_OPERAND_ADJUST_SHORT_MEMORY flag on sst.{h,w}/sld.{h,w} instructions

27 years agoAdd V850_OPERAND_ADJUST_SHORT_MEMORY
Michael Meissner [Tue, 31 Dec 1996 20:10:21 +0000 (20:10 +0000)]
Add V850_OPERAND_ADJUST_SHORT_MEMORY

27 years ago * configure.in: Check ac_cv_func_mmap_fixed_mapped, not
Ian Lance Taylor [Tue, 31 Dec 1996 19:56:49 +0000 (19:56 +0000)]
* configure.in: Check ac_cv_func_mmap_fixed_mapped, not
ac_cv_func_mmap.
* configure: Rebuild.

27 years ago * ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib
Ian Lance Taylor [Tue, 31 Dec 1996 19:50:29 +0000 (19:50 +0000)]
* ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib
fields.
* lexsup.c (parse_args): Recognize --auxiliary/-f and
--filter/-F.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Pass filter_shlib and auxiliary_filter_shlib to
size_dynamic_sections.
* ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f.

27 years ago * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Add
Ian Lance Taylor [Tue, 31 Dec 1996 19:46:37 +0000 (19:46 +0000)]
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Add
filter_shlib and auxiliary_filter_shlib parameters.
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_AUXILIARY and
DT_FILTER.
* bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration.
(bfd_elf64_size_dynamic_sections): Likewise.
* bfd-in2.h: Rebuild.

27 years ago * common.h (DT_AUXILIARY): Define.
Ian Lance Taylor [Tue, 31 Dec 1996 19:44:49 +0000 (19:44 +0000)]
* common.h (DT_AUXILIARY): Define.
(DT_FILTER): Define.

27 years agoimprove format
Ian Lance Taylor [Tue, 31 Dec 1996 19:23:32 +0000 (19:23 +0000)]
improve format

27 years agoimprove format
Ian Lance Taylor [Tue, 31 Dec 1996 19:12:03 +0000 (19:12 +0000)]
improve format

27 years ago * gas/sparc/synth.d: Use --prefix-addresses for objdump.
Ian Lance Taylor [Tue, 31 Dec 1996 18:03:58 +0000 (18:03 +0000)]
* gas/sparc/synth.d: Use --prefix-addresses for objdump.
* gas/sparc/synth64.d: Likewise.

27 years ago * config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and
Ian Lance Taylor [Tue, 31 Dec 1996 18:03:09 +0000 (18:03 +0000)]
* config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and
  add segment argument.  If OBJ_ELF, treat a relocation against a
  symbol in a linkonce section like a relocation against an external
  symbol.
* config/tc-sparc.h (MD_APPLY_FIX3): Define.

27 years agoEnd tic80 sanitization regions with "end-sanitize-tic80", not
Ken Raeburn [Tue, 31 Dec 1996 17:51:22 +0000 (17:51 +0000)]
End tic80 sanitization regions with "end-sanitize-tic80", not
with "start-sanitize-tic80".

27 years ago * support.h: Undo previous change to SIGTRAP
Mark Alexander [Tue, 31 Dec 1996 15:05:46 +0000 (15:05 +0000)]
* support.h: Undo previous change to SIGTRAP
and SIGQUIT values.

27 years ago * config/mips/tm-mips.h: Undefine BREAKPOINT, replace
Mark Alexander [Tue, 31 Dec 1996 15:02:30 +0000 (15:02 +0000)]
* config/mips/tm-mips.h: Undefine BREAKPOINT, replace
with separate LITTLE_BREAKPOINT and BIG_BREAKPOINT definitions;
this fixes problem with setting breakpoints in little-endian
programs in the simulator.

27 years ago * config/i386/xm-windows.h: Undo previous change to SIGTRAP
Mark Alexander [Tue, 31 Dec 1996 15:01:55 +0000 (15:01 +0000)]
* config/i386/xm-windows.h: Undo previous change to SIGTRAP
and SIGQUIT values; it messed up non-MIPS targets.

27 years ago * config/i386/xm-windows.h: Undo previous change to SIGTRAP
Mark Alexander [Tue, 31 Dec 1996 15:01:12 +0000 (15:01 +0000)]
* config/i386/xm-windows.h: Undo previous change to SIGTRAP
and SIGQUIT values; it messed up non-MIPS targets.
* config/mips/tm-mips.h: Undefine BREAKPOINT, replace
with separate LITTLE_BREAKPOINT and BIG_BREAKPOINT definitions;
this fixes problem with setting breakpoints in little-endian
programs in the simulator.

27 years ago * Makefile.in (m68k-opc.o, alpha-opc.o): Remove dis-asm.h dependency.
Fred Fish [Tue, 31 Dec 1996 00:09:59 +0000 (00:09 +0000)]
* Makefile.in (m68k-opc.o, alpha-opc.o): Remove dis-asm.h dependency.
(tic80-dis.o, tic80-opc.o): Add rules per comment in Makefile.in.

27 years ago * xcofflink.c (xcoff_build_ldsyms): When exporting all defined
Ian Lance Taylor [Mon, 30 Dec 1996 23:50:56 +0000 (23:50 +0000)]
* xcofflink.c (xcoff_build_ldsyms): When exporting all defined
symbols, don't export a symbol which is defined by an object in an
archive which contains shared objects.
PR 11379.

27 years ago * archures.c (enum bfd_architecture): Add bfd_arch_tic80
Fred Fish [Mon, 30 Dec 1996 23:25:26 +0000 (23:25 +0000)]
* archures.c (enum bfd_architecture): Add bfd_arch_tic80
for TI TMS320c80 (MVP).
(bfd_archures_list): Add bfd_tic80_arch.
* bfd-in2.h: Regenerate by running "make headers".

27 years ago * interp.c (store_word, load_word): New static functions.
Ian Lance Taylor [Mon, 30 Dec 1996 22:37:30 +0000 (22:37 +0000)]
* interp.c (store_word, load_word): New static functions.
(mips16_entry): New static function.
(SignalException): Look for mips16 entry and exit instructions.
(simulate): Use the correct index when setting fpr_state after
doing a pending move.

27 years ago * cpu-tic80.c (bfd_tic80_arch): Add struct.
Fred Fish [Mon, 30 Dec 1996 22:09:39 +0000 (22:09 +0000)]
* cpu-tic80.c (bfd_tic80_arch): Add struct.
* configure.in (case $vec): Correct typo, "tb" not "tp".
Also add cofflink.o for tic80coff_vec.
* configure: Regenerate with autoconf.

27 years agoAdd .tbyte and .tbss sections
Michael Meissner [Mon, 30 Dec 1996 18:57:36 +0000 (18:57 +0000)]
Add .tbyte and .tbss sections

27 years ago * libbfd.c: Patch up the mmap code so that it is only built if BFD
Ian Lance Taylor [Mon, 30 Dec 1996 16:56:05 +0000 (16:56 +0000)]
* libbfd.c: Patch up the mmap code so that it is only built if BFD
is configured with --with-mmap.

27 years ago * mips16-opc.c: Add "abs".
Ian Lance Taylor [Mon, 30 Dec 1996 16:38:24 +0000 (16:38 +0000)]
* mips16-opc.c: Add "abs".

27 years ago * config/tc-mips.c (mips16_macro): Add case for M_ABS.
Ian Lance Taylor [Mon, 30 Dec 1996 16:36:37 +0000 (16:36 +0000)]
* config/tc-mips.c (mips16_macro): Add case for M_ABS.

27 years ago * remote-sim.c (gdbsim_open_p): New static local.
David Edelsohn [Mon, 30 Dec 1996 08:34:35 +0000 (08:34 +0000)]
* remote-sim.c (gdbsim_open_p): New static local.
(gdbsim_open): Call unpush_target if sim open.  Set gdbsim_open_p.
(gdbsim_close): Only call sim_close if sim open.  Reset gdbsim_open_p.

27 years ago * Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o.
Fred Fish [Sun, 29 Dec 1996 18:01:29 +0000 (18:01 +0000)]
* Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o.
* disassemble.c (ARCH_tic80): Define if ARCH_all is defined.
(disassembler): Add bfd_arch_tic80 support to set disassemble
  to print_insn_tic80.
* tic80-dis.c (print_insn_tic80): Add stub.

27 years ago * Makefile.in (BFD32_BACKENDS): Add coff-tic80.o
Fred Fish [Sun, 29 Dec 1996 17:56:24 +0000 (17:56 +0000)]
* Makefile.in (BFD32_BACKENDS): Add coff-tic80.o
(ALL_MACHINES): Add cpu-tic80.o
(cpu-tic80.o, coff-tic80.o): Add dependencies.
* coff-tic80.c: Add skeleton, cloned from another coff config.
* coffcode.h (coff_write_object_contents): Set magic to TIC80MAGIC
  for TIc80.

27 years ago * interp.c: Fix byte-swapping code throughout to work on
Mark Alexander [Sun, 29 Dec 1996 17:47:25 +0000 (17:47 +0000)]
* interp.c: Fix byte-swapping code throughout to work on
both little- and big-endian hosts.

27 years ago * support.h: Make definitions of SIGTRAP and SIGQUIT consistent
Mark Alexander [Sun, 29 Dec 1996 17:20:47 +0000 (17:20 +0000)]
* support.h: Make definitions of SIGTRAP and SIGQUIT consistent
with gdb/config/i386/xm-windows.h.

27 years ago * config/i386/xm-windows.h: Make SIGTRAP and SIGQUIT consistent
Mark Alexander [Sun, 29 Dec 1996 17:18:12 +0000 (17:18 +0000)]
* config/i386/xm-windows.h: Make SIGTRAP and SIGQUIT consistent
with sim/mips/support.h.

27 years ago * Makefile.in (mm.o): New target that combines all the functions
Fred Fish [Sat, 28 Dec 1996 22:33:53 +0000 (22:33 +0000)]
* Makefile.in (mm.o): New target that combines all the functions
into a single object module.  This avoids client programs picking
  up part of the allocation routines from mmalloc and part from libc,
  which can lead to undefined behavior.
(CFILES): Add mm.c
(TARGETOBJS): Define to be either the individual objects or the
single combined object.
(TARGETLIB): Create the archive using TARGETOBJS.
* mm.c: New file that simply #includes the other source C files.

27 years ago * gencode.c (build_instruction): Work around MSVC++ code gen bug
Mark Alexander [Sat, 28 Dec 1996 06:51:58 +0000 (06:51 +0000)]
* gencode.c (build_instruction): Work around MSVC++ code gen bug
that messes up arithmetic shifts.

27 years ago * config.sub (case $basic_machine): Add tic80 entries.
Fred Fish [Sat, 28 Dec 1996 06:31:43 +0000 (06:31 +0000)]
* config.sub (case $basic_machine): Add tic80 entries.

27 years ago * NOTES.config (Implementation): as.h #define's "GAS" not "gas",
Fred Fish [Sat, 28 Dec 1996 05:59:26 +0000 (05:59 +0000)]
* NOTES.config (Implementation): as.h #define's "GAS" not "gas",
includes config.h instead of host.h, tc.h instead of tp.h, and
targ-env.h instead of target-environment.h.
Also, obj-format.h includes targ-cpu.h instead of
  target-processor.h.
start-sanitize-tic80
(Laying groundwork, that will be incrementally fleshed out,
 for TIc80 support)
* configure.in (case ${generic_target}): Add tic80-*-coff entry.
* configure: Rebuild with autoconf.
* config/obj-coff.h (coff/tic80.h): Include if TC_TIC80 defined.
(TARGET_FORMAT): Define to "coff-tic80".
* config/tc-tic80.c: New file for TIc80 support.
* config/tc-tic80.h: New file for TIc80 support.
end-sanitize-tic80

27 years ago(Laying groundwork (that will be incrementally fleshed out) for TIc80 support)
Fred Fish [Sat, 28 Dec 1996 05:36:52 +0000 (05:36 +0000)]
(Laying groundwork (that will be incrementally fleshed out) for TIc80 support)
* configure.in (arch in $selarchs): Add bfd_tic80_arch entry.
* configure: Regenerate with autoconf.
* tic80-dis.c: Add file.
* tic80-opc.c: Add file.

27 years ago(Laying some groundwork (that will be incrementally fleshed out) for
Fred Fish [Sat, 28 Dec 1996 05:26:04 +0000 (05:26 +0000)]
(Laying some groundwork (that will be incrementally fleshed out) for
 TIc80)
* dis-asm.h (print_insn_tic80): Declare.

27 years ago(Laying the groundwork (that will be incrementally fleshed out) for
Fred Fish [Sat, 28 Dec 1996 05:23:50 +0000 (05:23 +0000)]
(Laying the groundwork (that will be incrementally fleshed out) for
 TIc80 support)
* tic80.h: New file.

27 years ago(Laying the groundwork (that will be incrementally fleshed out) for
Fred Fish [Sat, 28 Dec 1996 05:13:42 +0000 (05:13 +0000)]
(Laying the groundwork (that will be incrementally fleshed out) for
 TIc80 support)
* tic80.h: New file for TIc80 support.

27 years agoAdd TIc80 stuff keep/lose stuff.
Fred Fish [Sat, 28 Dec 1996 04:16:24 +0000 (04:16 +0000)]
Add TIc80 stuff keep/lose stuff.

27 years ago(Lay some groundwork for TIc80 port that will be filled in incrementally.)
Fred Fish [Sat, 28 Dec 1996 04:09:34 +0000 (04:09 +0000)]
(Lay some groundwork for TIc80 port that will be filled in incrementally.)
* TODO: Correct a misspelling.
start-sanitize-tic80
* coff-tic80.c: New file for TI TMS320C80 (MVP).
* cpu-tic80.c: New file for TI TMS320C80 (MVP).
* configure.in (case $vec): Add tic80coff_vec entry.
* configure: Regenerate with autoconf.
* archures.c (bfd_tic80_arch): Declare.
* bfd-in2.h (enum bfd_architecture): Add bfd_arch_tic80.
* config.bfd (case ${targ}): Add tic80*-*-coff* target.
* targets.c (tic80coff_vec): Add decl as extern bfd_target.
(bfd_target_vector): Add tic80coff_vec entry.
end-sanitize-tic80

27 years agoAdd large frame support
Michael Meissner [Fri, 27 Dec 1996 20:59:46 +0000 (20:59 +0000)]
Add large frame support

27 years agoWork with new compiler frame layout
Michael Meissner [Fri, 27 Dec 1996 19:58:59 +0000 (19:58 +0000)]
Work with new compiler frame layout

27 years agoAllow exit to work normally under gdb
Michael Meissner [Fri, 27 Dec 1996 19:50:03 +0000 (19:50 +0000)]
Allow exit to work normally under gdb

27 years agofix typoo in comment
Ian Lance Taylor [Fri, 27 Dec 1996 17:24:12 +0000 (17:24 +0000)]
fix typoo in comment

27 years ago * config.sub, config.guess: Merge with latest FSF sources.
Ian Lance Taylor [Fri, 27 Dec 1996 17:08:34 +0000 (17:08 +0000)]
* config.sub, config.guess: Merge with latest FSF sources.

27 years ago * elflink.h (elf_buckets): Add some more values for larger
Ian Lance Taylor [Fri, 27 Dec 1996 16:51:27 +0000 (16:51 +0000)]
* elflink.h (elf_buckets): Add some more values for larger
binaries.

27 years ago * doc/as.texinfo (M): Mention explicitly that -M changes macro
Ian Lance Taylor [Fri, 27 Dec 1996 16:43:15 +0000 (16:43 +0000)]
* doc/as.texinfo (M): Mention explicitly that -M changes macro
handling.
PR 11259.

27 years ago * configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12.
Ian Lance Taylor [Fri, 27 Dec 1996 16:20:58 +0000 (16:20 +0000)]
* configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12.
* configure: Rebuild.

27 years ago * valprint.c (print_longest): Don't lose upper bits
Mark Alexander [Fri, 27 Dec 1996 04:04:44 +0000 (04:04 +0000)]
* valprint.c (print_longest): Don't lose upper bits
of 64-bit values on Windows.
* config/i386/xm-windows.h: Leave CC_HAS_LONG_LONG defined,
undefine PRINTF_HAS_LONG_LONG, so that 64-bit values will
be printed without loss of upper bits.

27 years agoThu Dec 26 15:56:09 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 27 Dec 1996 00:03:41 +0000 (00:03 +0000)]
Thu Dec 26 15:56:09 1996  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * sparclet-stub.c: a few clean-ups, removing dead code
        * config/sparc/tm-sparclet.h: make registers ASR15, ASR19 invisible
          (they're not useful, you can't change, write or even read them)

27 years ago * Makefile.in (install): Move subdir_do out of conditional. From
Ian Lance Taylor [Thu, 26 Dec 1996 23:37:43 +0000 (23:37 +0000)]
* Makefile.in (install): Move subdir_do out of conditional. From
Fred Fish <fnf@cygnus.com>.

27 years ago * config/pa/hppahpux.mh (TERMCAP): Always link to libc before
Fred Fish [Thu, 26 Dec 1996 23:29:26 +0000 (23:29 +0000)]
* config/pa/hppahpux.mh (TERMCAP): Always link to libc before
libcurses, to avoid picking up broken select() from libcurses
on some versions of HPUX.

27 years agoThu Dec 26 15:15:21 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 26 Dec 1996 23:16:27 +0000 (23:16 +0000)]
Thu Dec 26 15:15:21 1996  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * sparclet-rom.c: Remove includes of Unix system files.
          Add function "sparclet_supply_register" so that parse_register_dump
          will not seg-fault by calling a null function pointer.
          Remove XMODEM support (unfinished work?).
          Remove flag "MO_HANDLE_NL", so monitor's output can be read by humans.
          Add fill command.
          Remove colon from getreg.resp_delim so PSR register will work.
          Remove pointer to sparclet_load (downloading SREC's doesn't work).
          Null out local register names for %g0, all %cc and all %asr regs,
          since the monitor can't report them.  Will return zero instead.
        * sparclet-stub.c: New -- remote protocol support for sparclet CPU.
        * config/sparc/tm-sparclet.h: Re-arrange REGISTER_NAMES:
          Add back %g0 and %psr, add %cc coprocessor regs, add %asr regs.
          Adjust NUM_REGS and REGISTER_BYTES accordingly

27 years agoadd flush_cache PMON routine
Angela Marie Thomas [Wed, 25 Dec 1996 06:14:26 +0000 (06:14 +0000)]
add flush_cache PMON routine

27 years agochange regexps to resemble disass output
Angela Marie Thomas [Wed, 25 Dec 1996 00:37:33 +0000 (00:37 +0000)]
change regexps to resemble disass output

27 years ago * remote-e7000.c (want_h8300h, want_nopc_h8300h): Renamed
Jeff Law [Tue, 24 Dec 1996 17:34:41 +0000 (17:34 +0000)]
    * remote-e7000.c (want_h8300h, want_nopc_h8300h): Renamed
        from want and want_nopc.
        (want_h8300s, want_nopc_h8300s): New variables for H8/S register
        lists.
        (e7000_fetch_registers): Use H8/300H or H8/S register list string
        as needed.
        (e7000_wait): Likewise.
Bringing over a change from hmse-h8s-beta branch.

27 years ago * mips-tdep.c (mips_find_saved_regs): If a frame has been
Peter Schauer [Mon, 23 Dec 1996 10:30:51 +0000 (10:30 +0000)]
* mips-tdep.c (mips_find_saved_regs):  If a frame has been
interrupted by a signal, figure out whether the registers that
the proc_desc claims are saved have been saved yet.
(mips_push_dummy_frame):  Write dummy frame register after all
registers have been saved in the dummy frame. Update comments
to reflect the fact that we are now using an AT_ENTRY_POINT
call dummy.

27 years agoSun Dec 22 15:52:25 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Sun, 22 Dec 1996 23:56:01 +0000 (23:56 +0000)]
Sun Dec 22 15:52:25 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v-tdep.c (d10v_skip_prologue): PR11287.  Fix problem where
some breakpoints weren't being set.

27 years ago * config/mips/tm-mips.h (PC_IN_CALL_DUMMY): Removed, the default
Peter Schauer [Sat, 21 Dec 1996 21:01:19 +0000 (21:01 +0000)]
* config/mips/tm-mips.h (PC_IN_CALL_DUMMY):  Removed, the default
definition in inferior.h is sufficient.

27 years ago * config/mips/tm-mips.h (PC_IN_CALL_DUMMY): Removed, the default
Peter Schauer [Sat, 21 Dec 1996 21:01:01 +0000 (21:01 +0000)]
* config/mips/tm-mips.h (PC_IN_CALL_DUMMY):  Removed, the default
definition in inferior.h is sufficient.
* mips-tdep.c (mips_pc_in_call_dummy):  Ditto.
(mips_push_arguments):  Make sure that the stack is aligned to a
multiple of 8 after the arguments are pushed.
Structures are always passed by value in the old ABI.
Adjust argument register value on big endian targets when passing
a value whose length is less than the register size.
Write stack arguments with a single write_memory call.
(mips_pop_frame):  Use frame_saved_regs instead of proc_desc to
decide which registers have to be restored.

27 years ago * irix5-nat.c (fill_gregset): Sign extend registers before
Peter Schauer [Sat, 21 Dec 1996 10:10:43 +0000 (10:10 +0000)]
* irix5-nat.c (fill_gregset):  Sign extend registers before
filling in the gregset structure.

27 years agoFri Dec 20 14:30:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Fri, 20 Dec 1996 22:32:16 +0000 (22:32 +0000)]
Fri Dec 20 14:30:19 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v-opc.c (pre_defined_registers):  Add cr[0-15], dpc, dpsw, link.

27 years ago * mswin/genmakes: Don't define _DEBUG. This breaks wingdb.
Stu Grossman [Fri, 20 Dec 1996 19:08:13 +0000 (19:08 +0000)]
* mswin/genmakes:  Don't define _DEBUG.  This breaks wingdb.

27 years ago * support.h: Use _WIN32 instead of __WIN32__. Also add defs for
Stu Grossman [Fri, 20 Dec 1996 19:05:28 +0000 (19:05 +0000)]
* support.h:  Use _WIN32 instead of __WIN32__.  Also add defs for
SIGTRAP and SIGQUIT for _WIN32.

27 years agoRecognize -mep mode when used to store the stack frame
Michael Meissner [Fri, 20 Dec 1996 00:44:15 +0000 (00:44 +0000)]
Recognize -mep mode when used to store the stack frame

27 years ago * m32r-tdep.c (m32r_frame_find_saved_regs): Fix thinko in arg def.
David Edelsohn [Fri, 20 Dec 1996 00:00:53 +0000 (00:00 +0000)]
* m32r-tdep.c (m32r_frame_find_saved_regs): Fix thinko in arg def.

27 years ago * arm.h (_LIT): Define.
Ian Lance Taylor [Thu, 19 Dec 1996 21:18:31 +0000 (21:18 +0000)]
* arm.h (_LIT): Define.
PR 11329.

27 years ago * mpw-make.sed: Use NewFolderRecursive for installation.
Stan Shebs [Thu, 19 Dec 1996 19:46:32 +0000 (19:46 +0000)]
* mpw-make.sed: Use NewFolderRecursive for installation.

27 years ago * mpw-make.sed: Use NewFolderRecursive for installation.
Stan Shebs [Thu, 19 Dec 1996 19:29:38 +0000 (19:29 +0000)]
* mpw-make.sed: Use NewFolderRecursive for installation.

27 years ago * mpw-build.in: Build ld before gcc, use NewFolderRecursive.
Stan Shebs [Thu, 19 Dec 1996 19:17:01 +0000 (19:17 +0000)]
* mpw-build.in: Build ld before gcc, use NewFolderRecursive.
* mpw-config.in: Test for NewFolderRecursive.
* mpw-install: Use symbolic name for startup filename.
* mpw-README: Add various additional details.
PR 10971

27 years ago * gencode.c (build_instruction) [MUL]: Cast operands to word64, to
Ian Lance Taylor [Thu, 19 Dec 1996 19:08:46 +0000 (19:08 +0000)]
* gencode.c (build_instruction) [MUL]: Cast operands to word64, to
force a 64 bit multiplication.
(build_instruction) [OR]: In mips16 mode, don't do anything if the
destination register is 0, since that is the default mips16 nop
instruction.

27 years ago Based on patch from Andrew J Klossner <andrew@pogo.wv.tek.com>:
Ian Lance Taylor [Thu, 19 Dec 1996 18:16:45 +0000 (18:16 +0000)]
Based on patch from Andrew J Klossner <andrew@pogo.wv.tek.com>:
* objcopy.c (OPTION_WEAKEN): Define.
(copy_options): Add "weaken".
(copy_usage): Mention --weaken.
(weaken): New static variable.
(filter_symbols): Handle weaken.
(copy_object): Call filter_symbols if weaken.
(copy_main): Handle OPTION_WEAKEN.
* binutils.texi, objcopy.1: Document --weaken.
PR 11272.

27 years ago * values.c (unpack_double): Make it compile with MSVC++ 2.x.
Mark Alexander [Thu, 19 Dec 1996 17:45:57 +0000 (17:45 +0000)]
* values.c (unpack_double): Make it compile with MSVC++ 2.x.
* remote-mips.c (S_IROTH): Define if not defined by stat.h, e.g.
when using MSVC++.
(common_open): Fix help string.

27 years ago * write.c (adjust_reloc_syms): If the fixup symbol has been
Ian Lance Taylor [Thu, 19 Dec 1996 17:07:14 +0000 (17:07 +0000)]
* write.c (adjust_reloc_syms): If the fixup symbol has been
equated to an undefined symbol, convert the fixup to being against
the target symbol.  Remove obsolete code handling a special case
for i386 PIC.

27 years agoWed Dec 18 16:00:42 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 19 Dec 1996 00:01:58 +0000 (00:01 +0000)]
Wed Dec 18 16:00:42 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c (do_assemble): Correct previous bug fix.

27 years agoWed Dec 18 15:27:40 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 18 Dec 1996 23:38:41 +0000 (23:38 +0000)]
Wed Dec 18 15:27:40 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tc-d10v.c (md_assemble): Fix bug which caused
second instruction in a line to be case sensitize. PR11312

27 years agoWed Dec 18 15:27:40 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 18 Dec 1996 23:38:22 +0000 (23:38 +0000)]
Wed Dec 18 15:27:40 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c (md_assemble): Fix bug which caused
second instruction in a line to be case sensitize. PR11312

27 years ago * configure.in (mips*-sgi-irix6*): Remove binutils from noconfigdirs.
Jim Wilson [Wed, 18 Dec 1996 21:16:03 +0000 (21:16 +0000)]
* configure.in (mips*-sgi-irix6*): Remove binutils from noconfigdirs.

27 years ago * configure.in: Do build gcc and the target libraries for
Jeff Law [Wed, 18 Dec 1996 17:33:50 +0000 (17:33 +0000)]
    * configure.in: Do build gcc and the target libraries for
        the mn10200.

27 years ago * interp.c (sim_resume): Handle 0xff as a single byte insn.
Jeff Law [Wed, 18 Dec 1996 17:15:21 +0000 (17:15 +0000)]
    * interp.c (sim_resume): Handle 0xff as a single byte insn.

        * simops.c: Fix overflow computation for "add" and "inc"
        instructions.

27 years ago * config/tc-mn10200.c (mn10200_insert_operand): Don't
Jeff Law [Wed, 18 Dec 1996 17:14:10 +0000 (17:14 +0000)]
    * config/tc-mn10200.c (mn10200_insert_operand): Don't
        range check operands with MN10200_OPERAND_NOCHECK set.
        (check_operand): Likewise.
So the assembler won't check on "and -1,dn".

27 years ago * mn10200-opc.c (mn10200_operands): Add SIMM16N.
Jeff Law [Wed, 18 Dec 1996 17:12:16 +0000 (17:12 +0000)]
    * mn10200-opc.c (mn10200_operands): Add SIMM16N.
        (mn10200_opcodes): Use it for some logicals and btst insns.
        Add "break" and "trap" instructions.

27 years ago * mn10200.h (MN10200_OPERAND_NOCHECK): Define.
Jeff Law [Wed, 18 Dec 1996 17:10:38 +0000 (17:10 +0000)]
    * mn10200.h (MN10200_OPERAND_NOCHECK): Define.

27 years ago * elf32-mn10200.c (enum reloc_type): Enable basic 8, 16, and
Jeff Law [Wed, 18 Dec 1996 17:09:59 +0000 (17:09 +0000)]
    * elf32-mn10200.c (enum reloc_type): Enable basic 8, 16, and
        32 bit relocs.
        (elf_mn10200_howto_table): Likewise.
        (mn10200_reloc_map): Likewise.
To keep the assembler quiet.

27 years ago * config/tc-mips.c: Undo part of last Friday's alignment changes.
Ian Lance Taylor [Wed, 18 Dec 1996 01:01:56 +0000 (01:01 +0000)]
* config/tc-mips.c: Undo part of last Friday's alignment changes.
  (md_begin): Always align the text section to a four byte
boundary.
(append_insn): Remove call to record_align.