platform/upstream/binutils.git
28 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.

28 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.

28 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

28 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

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

28 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.

28 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.

28 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.

28 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.

28 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

28 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.

28 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.

28 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.

28 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.

28 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.

28 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.

28 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.

28 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.

28 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.

28 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.

28 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.

28 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.

28 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

28 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.

28 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.

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

28 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.

28 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.

28 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.

28 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.

28 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.

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

28 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.

28 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.

28 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.

28 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.

28 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.

28 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.

28 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.

28 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

28 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

28 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.

28 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.

28 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.

28 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.

28 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.

28 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.

28 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

28 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

28 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.

28 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.

28 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.

28 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.

28 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.

28 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.

28 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 '+'.

28 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.

28 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.

28 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.

28 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.

28 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.

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

28 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.

28 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.

28 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.

28 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.

28 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.

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

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

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

28 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

28 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

28 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.