external/binutils.git
29 years ago* Makefile.in, configure.in: converted to autoconf.
J.T. Conklin [Wed, 5 Jul 1995 22:54:10 +0000 (22:54 +0000)]
* Makefile.in, configure.in: converted to autoconf.
* configure: New file, generated with autconf 2.4.

29 years ago * defs.h: if __GO32__ or WIN32 the directory separating symbol should
Kung Hsu [Wed, 5 Jul 1995 22:35:30 +0000 (22:35 +0000)]
    * defs.h: if __GO32__ or WIN32 the directory separating symbol should
        be '\' not '/'.

29 years ago * config/tc-sparc.c (md_shortopts): Add "K:" if OBJ_ELF.
Ian Lance Taylor [Wed, 5 Jul 1995 21:52:10 +0000 (21:52 +0000)]
* config/tc-sparc.c (md_shortopts): Add "K:" if OBJ_ELF.
(md_parse_option): If OBJ_ELF, check for -K.  Die if -K PIC, since
PIC code is not currently supported.

* as.c (parse_args): Change std_shortopts to be an array rather
than a constant string.  Only include 'K' if WORKING_DOT_WORD is
not defined.  Only check for 'K' in that case as well.
* as.h (flag_warn_displacement): Only declare if WORKING_DOT_WORD
is not defined.
PR 7131.

29 years ago * conf.in: Add undef of HAVE_SBRK.
Ian Lance Taylor [Wed, 5 Jul 1995 21:47:07 +0000 (21:47 +0000)]
* conf.in: Add undef of HAVE_SBRK.

29 years ago * elf32-mips.c (mips_elf_object_p): Unconditionally set
Ian Lance Taylor [Wed, 5 Jul 1995 20:54:57 +0000 (20:54 +0000)]
* elf32-mips.c (mips_elf_object_p): Unconditionally set
elf_bad_symtab, since sometimes the symbol table is messed up and
the last symbol is global.
PR 6921.

29 years ago * config/obj-coff.c (obj_coff_line): Call listing_source_line, in
Ian Lance Taylor [Wed, 5 Jul 1995 20:31:31 +0000 (20:31 +0000)]
* config/obj-coff.c (obj_coff_line): Call listing_source_line, in
both BFD_ASSEMBLER and non BFD_ASSEMBLER versions of the function.
PR 7006.

29 years ago * symbols.c (S_SET_EXTERNAL): Warn if symbol is weak.
Ian Lance Taylor [Wed, 5 Jul 1995 19:59:07 +0000 (19:59 +0000)]
* symbols.c (S_SET_EXTERNAL): Warn if symbol is weak.
(S_CLEAR_EXTERNAL): Likewise.
(S_SET_WEAK): Warn if symbol is global.
PR 6750.

29 years ago * config/obj-aout.c (obj_aout_frob_symbol): Warn about an attempt
Ian Lance Taylor [Wed, 5 Jul 1995 19:04:58 +0000 (19:04 +0000)]
* config/obj-aout.c (obj_aout_frob_symbol): Warn about an attempt
to put an undefined symbol into a set.
PR 6340.

29 years ago * remote-nindy (nindy_wait): Use infinite timeout reading after
Kung Hsu [Wed, 5 Jul 1995 18:41:40 +0000 (18:41 +0000)]
    * remote-nindy (nindy_wait): Use infinite timeout reading after
        esacpe character.

29 years ago * Makefile.in: Remove @configure_input@; it's not needed in
Ian Lance Taylor [Wed, 5 Jul 1995 17:56:52 +0000 (17:56 +0000)]
* Makefile.in: Remove @configure_input@; it's not needed in
files named Makefile.

29 years ago * config/tc-m88k.c (md_pseudo_table): Add ".set" so that the
Ian Lance Taylor [Wed, 5 Jul 1995 17:13:16 +0000 (17:13 +0000)]
* config/tc-m88k.c (md_pseudo_table): Add ".set" so that the
explicit pseudo-op works, while continuing to treat "set" as an
instruction.
PR 5199.

29 years ago * ecoff.c (_bfd_ecoff_bfd_is_local_label): New function.
Ian Lance Taylor [Wed, 5 Jul 1995 16:31:07 +0000 (16:31 +0000)]
* ecoff.c (_bfd_ecoff_bfd_is_local_label): New function.
* libecoff.h (_bfd_ecoff_bfd_is_local_label): Declare.
* elf32-mips.c (mips_elf_is_local_label): New static function.
(bfd_elf32_bfd_is_local_label): Define.
PR 6978.

29 years agoCorrect last change
Ian Lance Taylor [Wed, 5 Jul 1995 16:25:44 +0000 (16:25 +0000)]
Correct last change

29 years ago * ecoff.c (ecoff_debugging_seen): New global variable.
Ian Lance Taylor [Wed, 5 Jul 1995 16:10:50 +0000 (16:10 +0000)]
* ecoff.c (ecoff_debugging_seen): New global variable.
(ecoff_directive_def): Set ecoff_debugging_seen.
(ecoff_stab): Likewise.
* ecoff.h: Make idempotent.
(ecoff_debugging_seen): Declare.
* config/tc-mips.c: Include ecoff.h.
(mips_debug): New static variable.
(s_stringer, s_mips_space): Remove unneeded declarations.
(md_parse_option): In case 'g', set mips_debug to debugging level.
(mips_local_label): New function.
* tc-mips.h (LOCAL_LABEL): Call mips_local_label.
(mips_local_label): Declare.
PR 6978.

29 years ago * configure.in: Use $ac_config_sub, not $configsub.
Ian Lance Taylor [Wed, 5 Jul 1995 14:34:12 +0000 (14:34 +0000)]
* configure.in: Use $ac_config_sub, not $configsub.
* configure: Likewise.

29 years agodon't define FASCIST_FDOPEN for i386aix host
Ken Raeburn [Wed, 5 Jul 1995 09:47:20 +0000 (09:47 +0000)]
don't define FASCIST_FDOPEN for i386aix host

29 years agofix usage message on --enable options
Ken Raeburn [Wed, 5 Jul 1995 09:38:09 +0000 (09:38 +0000)]
fix usage message on --enable options

29 years agoautoconfiscation
Ken Raeburn [Wed, 5 Jul 1995 09:32:47 +0000 (09:32 +0000)]
autoconfiscation

29 years ago * as.c (main): Only use sbrk when HAVE_SBRK defined.
Fred Fish [Wed, 5 Jul 1995 08:04:28 +0000 (08:04 +0000)]
* as.c (main):  Only use sbrk when HAVE_SBRK defined.
* configure.in:  Add test for sbrk.
* configure:  Regenerate using autoconf 2.4.

29 years ago * ldmain.c (HAVE_SBRK): Define for everything except
Fred Fish [Wed, 5 Jul 1995 07:47:43 +0000 (07:47 +0000)]
* ldmain.c (HAVE_SBRK):  Define for everything except
specific systems that are known to not support sbrk.
(main):  Use HAVE_SBRK to decide whether or not to use sbrk.

29 years ago * nm.c (size_forward): Check yf against yn, not xn.
Ian Lance Taylor [Tue, 4 Jul 1995 21:05:23 +0000 (21:05 +0000)]
* nm.c (size_forward): Check yf against yn, not xn.
PR 7276.

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