binutils-gdb.git
29 years ago * objcopy.c (copy_archive): Record all output BFD's, and close
Ian Lance Taylor [Tue, 4 Jul 1995 20:47:10 +0000 (20:47 +0000)]
* objcopy.c (copy_archive): Record all output BFD's, and close
them before unlinking them and removing the temporary directory,
to avoid NFS problems.
PR 6795.

29 years agoRename truncate to ar_truncate
Ian Lance Taylor [Tue, 4 Jul 1995 20:38:00 +0000 (20:38 +0000)]
Rename truncate to ar_truncate

29 years ago * ar.c (replace_members): In verbose messages, use 'r' when
Ian Lance Taylor [Tue, 4 Jul 1995 20:28:29 +0000 (20:28 +0000)]
* ar.c (replace_members): In verbose messages, use 'r' when
        replacing a member, and 'a' when adding one.

* ar.c (truncate): New static variable.
(normalize): Change return type to const char *.  Add abfd
argument.  Change all callers.  If truncate, chop the filename to
abfd->ar_max_namelen.
(main): For the 'f' modifier, set truncate to true.  Don't change
quick_append to replace to truncate is true.
(do_quick_append): If truncate, set BFD_TRADITIONAL_FORMAT.
(write_archive): Likewise.
* binutils.texi, ar.1: Document 'f' modifier.
PR 6888.

29 years ago * archive.c (_bfd_construct_extended_name_table): If
Ian Lance Taylor [Tue, 4 Jul 1995 20:22:43 +0000 (20:22 +0000)]
* archive.c (_bfd_construct_extended_name_table): If
BFD_TRADITIONAL_FORMAT is set, limit the length of all file names
to ar_max_namelen.
(bfd_dont_truncate_arname): If BFD_TRADITIONAL_FORMAT is set, call
bfd_bsd_truncate_arname.
PR 6888.

29 years agoSanitize arc stuff from Makefile.in.
Ian Lance Taylor [Tue, 4 Jul 1995 19:43:44 +0000 (19:43 +0000)]
Sanitize arc stuff from Makefile.in.

29 years ago * objcopy.c (enum strip_action): Define strip_unneeded.
Ian Lance Taylor [Tue, 4 Jul 1995 18:52:27 +0000 (18:52 +0000)]
* objcopy.c (enum strip_action): Define strip_unneeded.
(OPTION_STRIP_UNNEEDED): Define.
(strip_options): Add "strip-unneeded".
(copy_options): Likewise.
(copy_usage): Mention --strip-unneeded.
(strip_usage): Likewise.
(is_strip_section): Strip debugging sections if strip_unneeded.
(filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols.
(copy_object): If strip_all, discard symbols without checking
discard_locals.
(copy_object): Call filter_symbols if strip_unneeded.
(setup_section): Strip debugging sections if strip_unneeded.
(copy_section): Likewise.
(strip_main): Handle OPTION_STRIP_UNNEEDED.
(copy_main): Likewise.
* binutils.texi, objcopy.1, strip.1: Document --strip-unneeded.
PR 6684.

29 years ago * archive.c (_bfd_write_archive_contents): Revert June 1 change.
Ian Lance Taylor [Tue, 4 Jul 1995 18:07:47 +0000 (18:07 +0000)]
* archive.c (_bfd_write_archive_contents): Revert June 1 change.

29 years ago * infrun.c (wait_for_inferior): When switching from one thread to
Jeff Law [Tue, 4 Jul 1995 17:48:37 +0000 (17:48 +0000)]
    * infrun.c (wait_for_inferior): When switching from one thread to
        another, save infrun's state for the old thread and load infrun's
        previous state for the new thread.
        * thread.c (struct thread_info): Add new fields for thread specific
        state saved/restored in infrun.c.
        (add_thread): Initialize new fields.
        (load_infrun_state): New function.
        (save_infrun_state): New function.
        * thread.h (load_infrun_state): Provide external decl.
        (save_infrun_state): Likewise.

More single-stepping patches for lynx-6100.

29 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
Ian Lance Taylor [Tue, 4 Jul 1995 17:44:38 +0000 (17:44 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
Handle etree_provide.
PR 7164.

29 years ago * elfcode.h (NAME(bfd_elf,record_link_assignment)): Add provide
Ian Lance Taylor [Tue, 4 Jul 1995 17:43:05 +0000 (17:43 +0000)]
* elfcode.h (NAME(bfd_elf,record_link_assignment)): Add provide
argument.
* bfd-in.h (bfd_elf32_record_link_assignment): Update prototype.
(bfd_elf64_record_link_assignment): Likewise.
* bfd-in2.h: Rebuild.
PR 7164.

29 years ago * infrun.c (wait_for_inferior): When we hit a breakpoint for the
Jeff Law [Tue, 4 Jul 1995 17:40:41 +0000 (17:40 +0000)]
    * infrun.c (wait_for_inferior): When we hit a breakpoint for the
        wrong thread, make sure to write the fixed PC value into the thread
        that stopped.  Restart all threads after single stepping over a
        breakpoint for a different thread.
        * breakpoint.c (set_momentary_breakpoint): Make momentary
        breakpoints thread specific in a multi-threaded program.
        * lynx-nat.c (child_resume): Add some comments.  Correctly
        choose between the single and multi-threaded step and continue
        ptrace calls.

Some of the lynx-6100 single stepping fixes.

29 years ago * emultempl/elf32.em (global_needed): New static variable.
Ian Lance Taylor [Tue, 4 Jul 1995 16:57:34 +0000 (16:57 +0000)]
* emultempl/elf32.em (global_needed): New static variable.
(global_found): Likewise.
(gld${EMULATION_NAME}_after_open): New static function.
(gld${EMULATION_NAME}_search_needed): Likewise.
(gld${EMULATION_NAME}_try_needed): Likewise.
(gld${EMULATION_NAME}_check_needed): Likewise.
(ld_${EMULATION_NAME}_emulation): Replace after_open_default with
gld${EMULATION_NAME}_after_open.
PR 7083.

29 years ago * libelf.h (struct elf_link_hash_table): Add needed field. Remove
Ian Lance Taylor [Tue, 4 Jul 1995 16:54:49 +0000 (16:54 +0000)]
* libelf.h (struct elf_link_hash_table): Add needed field.  Remove
saw_needed field.
* elfcode.h (elf_link_add_object_symbols): If elf_dt_needed_name
is an empty string, don't make a DT_NEEDED entry in the output
file.  Record all DT_NEEDED entries found in input dynamic
objects.
(elf_link_output_extsym): Don't check saw_needed when issuing
warnings.
* elf.c (_bfd_elf_link_hash_table_init): Initialize needed, not
saw_needed.
(bfd_elf_get_needed_list): New function.
* bfd-in.h (struct bfd_elf_link_needed_list): Define.
(bfd_elf_get_needed_list): Define.
* bfd-in2.h: Rebuild.
PR 7083.

29 years ago * ecoff.c (_bfd_ecoff_find_nearest_line): Also initialize
Ian Lance Taylor [Tue, 4 Jul 1995 16:23:58 +0000 (16:23 +0000)]
* ecoff.c (_bfd_ecoff_find_nearest_line): Also initialize
find_buffer and fdrtab_len fields of newly allocated
find_line_info structure.

29 years ago * config/tc-hppa.h (MAX_RELOC_EXPANSION): Bump to 6.
Jeff Law [Mon, 3 Jul 1995 23:33:21 +0000 (23:33 +0000)]
* config/tc-hppa.h (MAX_RELOC_EXPANSION): Bump to 6.
* config/tc-hppa.c (tc_gen_reloc, SOM version): Handle
relocations for the difference of two (possibly external)
symbols.
(hppa_fix_adjustable): For SOM, reject reductions involving
the difference of two symbols.
(hppa_force_relocation): Force relocations for expressions
involving the difference of two symbols.

gas/bfd part of mentor-7363

29 years ago * som.c (hppa_som_gen_reloc_type): New argument "sym_diff",
Jeff Law [Mon, 3 Jul 1995 23:27:25 +0000 (23:27 +0000)]
* som.c (hppa_som_gen_reloc_type): New argument "sym_diff",
nonzero when we're generating relocations for an expression
using the difference of two symbols.  All callers changed.
Handle difference of symbols for both R_HPPA and R_COMPLEX
cases.
(som_write_fixups): Handle R_COMP1, R_COMP2 and R_CODE_EXPR
fixups.

29 years ago * ecoff.c (_bfd_ecoff_find_nearest_line): If we allocate
Ian Lance Taylor [Mon, 3 Jul 1995 22:41:51 +0000 (22:41 +0000)]
* ecoff.c (_bfd_ecoff_find_nearest_line): If we allocate
find_line_info, clear the fdrtab field.

29 years agox
Ian Lance Taylor [Mon, 3 Jul 1995 22:19:02 +0000 (22:19 +0000)]
x

29 years ago * bfd.c (enum bfd_error): Define bfd_error_no_armap.
Ian Lance Taylor [Mon, 3 Jul 1995 22:16:40 +0000 (22:16 +0000)]
* bfd.c (enum bfd_error): Define bfd_error_no_armap.
(bfd_errmsgs): Add string for bfd_error_no_armap.
* bfd-in2.h: Rebuild.
* ecoff.c (ecoff_link_add_archive_symbols): If an archive has no
armap, set bfd_error_no_armap rather than bfd_error_no_symbols.
* elfcode.h (elf_link_add_archive_symbols): Likewise.
* linker.c (_bfd_generic_link_add_archive_symbols): Likewise.

29 years ago * targets.c (enum bfd_flavour): Add bfd_target_msdos_flavour here,
Ian Lance Taylor [Mon, 3 Jul 1995 22:15:10 +0000 (22:15 +0000)]
* targets.c (enum bfd_flavour): Add bfd_target_msdos_flavour here,
rather than in bfd-in2.h.

29 years ago * Makfile.in (DLLTOOL_FOR_TARGET): New name, pass it down.
Steve Chamberlain [Mon, 3 Jul 1995 22:02:03 +0000 (22:02 +0000)]
* Makfile.in (DLLTOOL_FOR_TARGET): New name, pass it down.
* config.sub, configure.in (win32): New target and host.

29 years ago * configure.in (i386-*-win32): New target.
Steve Chamberlain [Mon, 3 Jul 1995 21:34:53 +0000 (21:34 +0000)]
* configure.in (i386-*-win32): New target.
* ld/testsuite/versados/(t1,t2).ld: End in newlines.

29 years ago * configure[.in] (i386-*-win32): New host and target.
Steve Chamberlain [Mon, 3 Jul 1995 21:25:26 +0000 (21:25 +0000)]
* configure[.in] (i386-*-win32): New host and target.

29 years agoRenamed.
Steve Chamberlain [Mon, 3 Jul 1995 21:22:00 +0000 (21:22 +0000)]
Renamed.

29 years agoMon Jul 3 14:16:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Mon, 3 Jul 1995 21:20:26 +0000 (21:20 +0000)]
Mon Jul  3 14:16:47 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* configure.in (i386-*-win32): New configuration.
* dlltool.c (killat, xlate, usage, long_options, main):
Understand and cope with -k option.

29 years agoMon Jul 3 13:55:18 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Mon, 3 Jul 1995 21:11:15 +0000 (21:11 +0000)]
Mon Jul  3 13:55:18 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* config.bfd (win32): New configuration.
* configure.host (pe): Changed to i386win32.
* config/i386pe.mh: Deleted.
* config/i386win32.mh: New file.

29 years ago * Makfile.in (DLLTOOL_FOR_TARGET): New name, pass it down.
Steve Chamberlain [Mon, 3 Jul 1995 20:47:27 +0000 (20:47 +0000)]
* Makfile.in (DLLTOOL_FOR_TARGET): New name, pass it down.
* configure.in (win32): New target and host.

29 years ago * lexsup.c (parse_args): Let -G either set the small data size or
Ian Lance Taylor [Mon, 3 Jul 1995 18:40:26 +0000 (18:40 +0000)]
* lexsup.c (parse_args): Let -G either set the small data size or
be equivalent to --shared, depending on the next argument.  Accept
and ignore -z for Solaris compatibility.
PR 7118.

29 years ago * elfcode.h (elf_link_add_object_symbols): Permit common and
Ian Lance Taylor [Mon, 3 Jul 1995 17:57:25 +0000 (17:57 +0000)]
* elfcode.h (elf_link_add_object_symbols): Permit common and
indirect symbols in weakdefs BFD_ASSERT.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Simplify
BFD_ASSERT to permit some legal, but odd, cases.
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.

29 years agoCorrect erroneous checkin, with no ChangeLog entry, of 13 May.
Ian Lance Taylor [Mon, 3 Jul 1995 17:28:14 +0000 (17:28 +0000)]
Correct erroneous checkin, with no ChangeLog entry, of 13 May.

29 years ago * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Correct
Ian Lance Taylor [Mon, 3 Jul 1995 17:05:56 +0000 (17:05 +0000)]
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Correct
BFD_ASSERT to handle __start_SECNAME symbols automatically defined
by the linker.
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.

29 years agostart-sanitize-arc
Ian Lance Taylor [Mon, 3 Jul 1995 15:55:12 +0000 (15:55 +0000)]
start-sanitize-arc
Mon Jul  3 11:54:31 1995  Ian Lance Taylor  <ian@cygnus.com>

* Makefile.in (ALL_MACHINES): Add arc-dis.o and arc-opc.o.

end-sanitize-arc

29 years ago * Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Mon, 3 Jul 1995 15:41:52 +0000 (15:41 +0000)]
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add versados.o.
(CFILES): Add pe-i386.c, pei-i386.c, and versados.c.
start-sanitize-arc
(elf32-arc.o): New target.  This should be removed when
elf32-arc.c can be added to CFILES.
end-sanitize-arc

29 years ago * lexsup.c (parse_args): Cast fopen result to PTR before storing
Ian Lance Taylor [Sun, 2 Jul 1995 21:53:21 +0000 (21:53 +0000)]
* lexsup.c (parse_args): Cast fopen result to PTR before storing
it in link_info.base_file.  Fix indentation.

29 years ago * cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file
Ian Lance Taylor [Sun, 2 Jul 1995 21:51:36 +0000 (21:51 +0000)]
* cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file
to FILE * before using it.
* stab-syms.c: Revert yesterday's patch.

29 years ago * bfdlink.h (struct bfd_link_info): Change type of base_file to
Ian Lance Taylor [Sun, 2 Jul 1995 21:49:21 +0000 (21:49 +0000)]
* bfdlink.h (struct bfd_link_info): Change type of base_file to
PTR.

29 years agoRemove elf32-targetd.h and elf64-targets.h. Add elfxx-target.h.
Ian Lance Taylor [Sun, 2 Jul 1995 19:23:29 +0000 (19:23 +0000)]
Remove elf32-targetd.h and elf64-targets.h.  Add elfxx-target.h.

29 years ago * ar.c: (extract_file): Change "#if POSIX_UTIME" to
Fred Fish [Sat, 1 Jul 1995 19:28:13 +0000 (19:28 +0000)]
* ar.c: (extract_file):  Change "#if POSIX_UTIME" to
"#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME
and avoid lossage when POSIX_UTIME is not defined at all.

29 years ago * stab-syms.c (stdio.h): Include prior to libaout.h, which
Fred Fish [Sat, 1 Jul 1995 19:14:29 +0000 (19:14 +0000)]
* stab-syms.c (stdio.h):  Include prior to libaout.h, which
includes bfdlink.h, which now uses FILE.

29 years agoremoved unused elf_64_p field
Ken Raeburn [Sat, 1 Jul 1995 04:20:05 +0000 (04:20 +0000)]
removed unused elf_64_p field

29 years agogenerate elf*-target.h from common elfxx-target.h source
Ken Raeburn [Sat, 1 Jul 1995 04:16:03 +0000 (04:16 +0000)]
generate elf*-target.h from common elfxx-target.h source

29 years agoReflect comings and goings of files.
Stan Shebs [Sat, 1 Jul 1995 00:38:35 +0000 (00:38 +0000)]
Reflect comings and goings of files.

29 years ago * config/h8300/h8300.mt: Renamed from h8300hms.mt.
Stan Shebs [Sat, 1 Jul 1995 00:22:57 +0000 (00:22 +0000)]
* config/h8300/h8300.mt: Renamed from h8300hms.mt.
* config/h8500/h8500.mt: Renamed from h8500hms.mt.
* config/z8k/z8k.mt: Renamed from z8ksim.mt.
* configure, configure.in: Update to reflect renamings.

* remote-sim.c (sim): New command, passes commands to simulator.
(simulator_command): New function.
(gdbsim_ops): Clean up.
* remote-sim.h (sim_do_command): Declare.
* sh-tdep.c (memory_size): Remove command.

* Makefile.in (SIM, SIM_OBS): New variables.
(CLIBS, CDEPS): Add value of SIM.
(DEPFILES): Add value of SIM_OBS

* config/arm/arm.mt, config/h8300/h8300.mt, config/h8500/h8500.mt,
config/sh/sh.mt, config/sparc/sp64sim.mt, config/w65/w65.mt,
config/z8k/z8k.mt: Remove simulator files from TDEPFILES,
define in SIM_OBS and SIM.
config/sparc/sp64sim.mt (SIMFILES): Remove.

* remote-z8k.c: Remove, was superseded by remote-sim.c
* Makefile.in, mpw-make.in: Remove references to remote-z8k.c.

29 years ago * interp.c (sim_open): If argument supplied, interpret as
Stan Shebs [Sat, 1 Jul 1995 00:01:19 +0000 (00:01 +0000)]
* interp.c (sim_open): If argument supplied, interpret as
desired memory size.
(parse_and_set_memory_size): New function.
(sim_do_command): New function.

29 years ago * compile.c (sim_do_command): New function.
Stan Shebs [Sat, 1 Jul 1995 00:00:12 +0000 (00:00 +0000)]
* compile.c (sim_do_command): New function.

29 years ago * wrapper.c (sim_do_command): New function.
Stan Shebs [Fri, 30 Jun 1995 23:59:46 +0000 (23:59 +0000)]
* wrapper.c (sim_do_command): New function.

29 years ago Fri Jun 30 16:07:18 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Fri, 30 Jun 1995 23:19:57 +0000 (23:19 +0000)]
Fri Jun 30 16:07:18 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* cofflink.c (_bfd_coff_generic_relocate_section): Compare
the full text of .reloc or .edata section names.

29 years ago * cofflink.c (_bfd_coff_generic_relocate_section):
Fred Fish [Fri, 30 Jun 1995 22:53:13 +0000 (22:53 +0000)]
* cofflink.c (_bfd_coff_generic_relocate_section):
Remove extra '+'.

29 years ago Support for long filenames non-bfd coff. bfd/7288
Steve Chamberlain [Fri, 30 Jun 1995 00:53:37 +0000 (00:53 +0000)]
Support for long filenames non-bfd coff. bfd/7288
* config/obj-coff.c (filename_list_head, filename_list_tail): New.
(yank_symbols): Notice and record filenames which are too long.
(w_strings): Write out filename strings.
(c_dot_file_symbols): Put long filenames onto list.

29 years ago * coff-h8300.c (COFF_LONG_FILENAMES): Define.
Steve Chamberlain [Fri, 30 Jun 1995 00:26:53 +0000 (00:26 +0000)]
* coff-h8300.c (COFF_LONG_FILENAMES): Define.

29 years ago * interp.c: (SYS_wait): Define as SYS_wait4 if available and
Fred Fish [Thu, 29 Jun 1995 17:15:30 +0000 (17:15 +0000)]
* interp.c: (SYS_wait): Define as SYS_wait4 if available and
SYS_wait is not already defined (SunOS 4.1.3 for example).
(SYS_utime): Define as SYS_utimes if available and
SYS_utime is not already defined.

29 years ago * configure.in: Add i386-pe configuration.
Steve Chamberlain [Thu, 29 Jun 1995 07:08:00 +0000 (07:08 +0000)]
* configure.in: Add i386-pe configuration.

29 years ago * bfdlink.h (struct bfd_link_info): Added base_file member.
Steve Chamberlain [Thu, 29 Jun 1995 07:03:35 +0000 (07:03 +0000)]
* bfdlink.h (struct bfd_link_info): Added base_file member.

29 years agoNew files.
Steve Chamberlain [Thu, 29 Jun 1995 06:59:07 +0000 (06:59 +0000)]
New files.

29 years ago * configure.in: Add i386-pe configuration.
Steve Chamberlain [Thu, 29 Jun 1995 06:58:11 +0000 (06:58 +0000)]
* configure.in: Add i386-pe configuration.

29 years agoWed Jun 28 18:04:42 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 29 Jun 1995 01:17:58 +0000 (01:17 +0000)]
Wed Jun 28 18:04:42 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* Makefile.in: versados.o is now conditionally built.
* coffcode.h (add_data_entry): New function.
(coff_write_object_contents): Clean up. Calculate
data entries.
* cofflink.c (_bfd_coff_generic_relocate_section):
.reloc and .edata sections are IMAGE_BASED too.
If there's a base_file then write out base information.
* configure.host (i386-*-pe): New.
* syms.c (coff_section_type): Only scan prefixes.
* targets.c (bfd_target_vector): Versados is now conditionally
built.
* config/m68k-coff.mt: Build versados.o
* hosts/i386pe.h: New file.

29 years ago * ar.c: (print_contents.c, extract_file, do_quick_append):
Steve Chamberlain [Thu, 29 Jun 1995 00:59:07 +0000 (00:59 +0000)]
* ar.c: (print_contents.c, extract_file, do_quick_append):
Malloc buffers rather than allocate on stack (so it works
on NT).
* deflex.l: Names can have an @ in them.
* dlltool.c: Loads of stuff. Can now generate .imp files which
work with NT .dlls.

29 years ago * config/obj-coff.c (fixup_segment): PE doens't use
Steve Chamberlain [Thu, 29 Jun 1995 00:41:02 +0000 (00:41 +0000)]
* config/obj-coff.c (fixup_segment): PE doens't use
the strange common symbol format that other 386s formats
do.
* config/tc-i386.c (md_begin): If LEX_AT defined then
'@' is in the set of identifiers.
(i386_operand): If LEX_AT, then don't look for @goto stuff.
* config/te-pe.h: Define LEX_AT.

29 years agoWed Jun 28 17:11:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 29 Jun 1995 00:21:00 +0000 (00:21 +0000)]
Wed Jun 28 17:11:25 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* ldmain.c (main): Always initialize PE info in link_info.
* lexsup.c (OPTION_BASE_FILE): New option.
(parse_args): Handle new option.
* emulparams/armpe.sh: Output pei.
* emultempl/i386pe.em: Add newline to end.
* scripttempl/armpe.sc: Change output and quote the $s.
* scripttempl/i386pe.sc: Change output and quote the $s.

29 years agodoc update
Ken Raeburn [Wed, 28 Jun 1995 23:39:54 +0000 (23:39 +0000)]
doc update

29 years agodescribe --emulation option
Ken Raeburn [Wed, 28 Jun 1995 23:10:41 +0000 (23:10 +0000)]
describe --emulation option

29 years agodoc updates
Ken Raeburn [Wed, 28 Jun 1995 21:50:42 +0000 (21:50 +0000)]
doc updates

29 years agofix description of h8/500, sh floating point
Ken Raeburn [Wed, 28 Jun 1995 21:49:26 +0000 (21:49 +0000)]
fix description of h8/500, sh floating point

29 years agoget rid of unused m4 files
Ken Raeburn [Wed, 28 Jun 1995 21:35:38 +0000 (21:35 +0000)]
get rid of unused m4 files

29 years agoMove various files that are only checked out for certain modules into
Ken Raeburn [Tue, 27 Jun 1995 21:22:30 +0000 (21:22 +0000)]
Move various files that are only checked out for certain modules into
the *_these_too lists before the check for existence of the items of those
lists.

Apply "sort -u" to the *_these_too lists to keep Sanitize from complaining
when it can't delete COPYING.NEWLIB twice.

I'm not convinced the right thing will be done with COPYING.NEWLIB when
keep-cygnus or keep-newlib (but not both) is supplied; that's unchanged.

29 years ago * elf32-hpa.c (elf32_hppa_relocate_section): Close comment before
Jeff Law [Mon, 26 Jun 1995 19:55:27 +0000 (19:55 +0000)]
* elf32-hpa.c (elf32_hppa_relocate_section): Close comment before
R_PARISC_DPREL21L handling.

29 years ago * remote.c (remote_read_bytes, remote_write_bytes): Second arg
Stan Shebs [Sun, 25 Jun 1995 23:23:06 +0000 (23:23 +0000)]
* remote.c (remote_read_bytes, remote_write_bytes): Second arg
should be char *, not unsigned char *.
* dcache.h (memxferfunc): Ditto.
* monitor.c (monitor_write_memory, monitor_read_memory_single):
Ditto.
(monitor_make_srec): Let compiler figure size of hextab.

29 years ago * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
Jeff Law [Sun, 25 Jun 1995 18:56:52 +0000 (18:56 +0000)]
    * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.

29 years agoFix pathnames right..
Steve Chamberlain [Sun, 25 Jun 1995 14:52:42 +0000 (14:52 +0000)]
Fix pathnames right..

29 years ago * lynx-nat.c (child_wait): Don't restart new threads and loop
Jeff Law [Sun, 25 Jun 1995 02:33:33 +0000 (02:33 +0000)]
    * lynx-nat.c (child_wait): Don't restart new threads and loop
        to the top of child_wait; let the machine independent code in
        wait_for_inferior deal with new thread notifications.

lynx-6100 (partial)
Fixes SEGV when multi-threaded program hits a breakpoint in a new
thread.

29 years agoFix filenames with two dots.
Steve Chamberlain [Sat, 24 Jun 1995 02:48:48 +0000 (02:48 +0000)]
Fix filenames with two dots.

29 years ago * remote-nindy (nindy_load): Put in target specific load, it's
Kung Hsu [Fri, 23 Jun 1995 18:54:56 +0000 (18:54 +0000)]
* remote-nindy (nindy_load): Put in target specific load, it's
20 times faster.

29 years ago * utils.c (error): Move local `args' outside conditional,
Stan Shebs [Fri, 23 Jun 1995 04:41:37 +0000 (04:41 +0000)]
* utils.c (error): Move local `args' outside conditional,
move local `string1' inside, declare function as void if
non-ANSI compiler, dereference error_hook when calling.

29 years ago * mac-xdep.c (stdarg.h): Don't include.
Stan Shebs [Fri, 23 Jun 1995 03:37:58 +0000 (03:37 +0000)]
* mac-xdep.c (stdarg.h): Don't include.

29 years ago * mpw-make.in (demangle.c.o): Remove.
Stan Shebs [Fri, 23 Jun 1995 03:02:53 +0000 (03:02 +0000)]
* mpw-make.in (demangle.c.o): Remove.
(arparse.h): Depend on arparse.c instead of arparse.y.

29 years agomsdos and moss code from Bryan Ford
Ken Raeburn [Fri, 23 Jun 1995 02:05:04 +0000 (02:05 +0000)]
msdos and moss code from Bryan Ford

29 years ago * mpw-mh-mpw (CC): Define ANSI_PROTOTYPES.
Stan Shebs [Fri, 23 Jun 1995 01:55:47 +0000 (01:55 +0000)]
* mpw-mh-mpw (CC): Define ANSI_PROTOTYPES.

29 years ago * mpw-config.in (elf/mips.h): Always forward-include, needed
Stan Shebs [Fri, 23 Jun 1995 01:52:24 +0000 (01:52 +0000)]
* mpw-config.in (elf/mips.h): Always forward-include, needed
for GDB to build.

29 years ago * interp.c: Don't include sys/times.h or sys/param.h
Steve Chamberlain [Fri, 23 Jun 1995 00:26:40 +0000 (00:26 +0000)]
* interp.c: Don't include sys/times.h or sys/param.h

29 years ago(newlib.tar.gz): Configure newlib subdir so .info files are made.
David Edelsohn [Fri, 23 Jun 1995 00:25:15 +0000 (00:25 +0000)]
(newlib.tar.gz): Configure newlib subdir so .info files are made.

29 years ago inc-hist.texi: gdb manual up to date for 95q3
Victoria Mixon [Thu, 22 Jun 1995 21:30:02 +0000 (21:30 +0000)]
inc-hist.texi:  gdb manual up to date for 95q3
rluser.texinfo:

29 years ago gdb.texinfo: gdb manual up to date for 95q3
Victoria Mixon [Thu, 22 Jun 1995 21:28:02 +0000 (21:28 +0000)]
gdb.texinfo: gdb manual up to date for 95q3
remote.texi:

29 years ago * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
Kung Hsu [Thu, 22 Jun 1995 20:16:56 +0000 (20:16 +0000)]
* remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.

29 years agoAdd .fixup section
Michael Meissner [Thu, 22 Jun 1995 19:08:18 +0000 (19:08 +0000)]
Add .fixup section

29 years agoFix warning
Michael Meissner [Thu, 22 Jun 1995 18:44:36 +0000 (18:44 +0000)]
Fix warning

29 years agoSanitize seems to care about trailing spaces.
Steve Chamberlain [Thu, 22 Jun 1995 16:30:19 +0000 (16:30 +0000)]
Sanitize seems to care about trailing spaces.

29 years ago * reloc.c (bfd_perform_relocation): Add case for -ve words.
Steve Chamberlain [Thu, 22 Jun 1995 15:59:14 +0000 (15:59 +0000)]
* reloc.c (bfd_perform_relocation): Add case for -ve words.

29 years agoremove rcs id string
Ken Raeburn [Thu, 22 Jun 1995 01:31:02 +0000 (01:31 +0000)]
remove rcs id string

29 years agonew test from Andreas Schwab
Ken Raeburn [Thu, 22 Jun 1995 01:29:50 +0000 (01:29 +0000)]
new test from Andreas Schwab

29 years ago * gdb.base/return.exp: Xfail `return double' test failure
Fred Fish [Thu, 22 Jun 1995 00:51:47 +0000 (00:51 +0000)]
* gdb.base/return.exp:  Xfail `return double' test failure
on at least Solaris 2.3 and handle future/past versions on
a case by case basis as appropriate.  Also update message
to include i*86 failures.

29 years agom68k fixes from Andreas Schwab, with minor changes
Ken Raeburn [Wed, 21 Jun 1995 22:43:13 +0000 (22:43 +0000)]
m68k fixes from Andreas Schwab, with minor changes

29 years ago* config/tc-sparc.c (sparc_ip, case 'A'): If ASI is not a "#" value, don't
Ken Raeburn [Wed, 21 Jun 1995 22:09:45 +0000 (22:09 +0000)]
* config/tc-sparc.c (sparc_ip, case 'A'): If ASI is not a "#" value, don't
shift it an extra time.

29 years ago * interp.c: (SIGBUS, SIGTERM): Define if not.
Steve Chamberlain [Wed, 21 Jun 1995 22:05:47 +0000 (22:05 +0000)]
*  interp.c: (SIGBUS, SIGTERM): Define if not.
(sim_memory_size): default to 2^19 on PCs.
(sim_resume): Poll for quits on win32.

29 years agofix diststuff/realclean handling of info files
Ken Raeburn [Wed, 21 Jun 1995 21:48:03 +0000 (21:48 +0000)]
fix diststuff/realclean handling of info files

29 years agoHmm.. The ChangeLog went in, but not the code....
Steve Chamberlain [Wed, 21 Jun 1995 21:47:06 +0000 (21:47 +0000)]
Hmm.. The ChangeLog went in, but not the code....

* monitor.c: Turn on caching.
(monitor_printf): If a ^C was sent, don't expect to see its
echo.
(monitor_open): Enable caching.
(monitor_resume, monitor_load): Flush cache.
(monitor_xfer_memory): Call cache routine.
(monitor_dump_regs): New.
(monitor_fetch_registers):  If monitor_dump_regs available
then use it.
(monitor_load): Don't ref exec_bfd if it's NULL.
(monitor_load_srec): Use new monitor_make_srec calling convention.
(monitor_make_srec): Rewrite to cope with two, three and four byte
addresses.
* remote-hms.c (hms_cmds): Initialze end-of-command delim.
* dcache.h, dcache.h: Rewritten.
* remote.c: Reenable caching.
(getpkt): Reduce MAX_TRIES to 3.
(remote_xfer_memory): Use dcache_xfer_memory.
* defs.h (error_hook): New.
* top.c (error_hook): New definition.
* utils.c (error): Use error_hook if initialized.
* sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use
HAVE_SOCKETS in place of #ifndef GO32.

29 years ago* objdump.c (compare_relocs): If relocation entries have the same address, keep them...
Ken Raeburn [Wed, 21 Jun 1995 21:44:06 +0000 (21:44 +0000)]
* objdump.c (compare_relocs): If relocation entries have the same address, keep them in file order.

29 years ago * gasp.c (do_print, do_form, buffer_and_nest): Use case insensitive
Steve Chamberlain [Wed, 21 Jun 1995 21:37:13 +0000 (21:37 +0000)]
* gasp.c (do_print, do_form, buffer_and_nest): Use case insensitive
string compares. gas/7274.

29 years ago"Lose" the new testsuite directory for now.
Rob Savoye [Wed, 21 Jun 1995 21:28:24 +0000 (21:28 +0000)]
"Lose" the new testsuite directory for now.

29 years ago * testsuite: New directory for customer acceptance and whole tool
Rob Savoye [Wed, 21 Jun 1995 21:25:10 +0000 (21:25 +0000)]
* testsuite: New directory for customer acceptance and whole tool
chain tests.
* configure: Set build_{cpu,vendor,os,alias} to host values when
--build isn't specified

29 years agoHandle autoconfiscated directories by running the correct configure script.
Ken Raeburn [Wed, 21 Jun 1995 20:57:03 +0000 (20:57 +0000)]
Handle autoconfiscated directories by running the correct configure script.