platform/upstream/binutils.git
28 years ago * configure.in (i386-*-cygwin32): Don't use bfd_gas.
Steve Chamberlain [Tue, 5 Mar 1996 05:04:56 +0000 (05:04 +0000)]
* configure.in (i386-*-cygwin32): Don't use bfd_gas.
* configure: Regenerated.

28 years ago * top.c (print_gdb_version): Update copyright year.
Stan Shebs [Tue, 5 Mar 1996 02:13:33 +0000 (02:13 +0000)]
* top.c (print_gdb_version): Update copyright year.

28 years ago * xcofflink.c (xcoff_mark): Treat undefined imported symbols as
Ian Lance Taylor [Tue, 5 Mar 1996 01:01:11 +0000 (01:01 +0000)]
* xcofflink.c (xcoff_mark): Treat undefined imported symbols as
though they are defined in a shared library.
(xcoff_build_ldsyms): Likewise.

28 years ago * coffgen.c (coff_find_nearest_line): Don't look at the line
Ian Lance Taylor [Mon, 4 Mar 1996 23:42:12 +0000 (23:42 +0000)]
* coffgen.c (coff_find_nearest_line): Don't look at the line
numbers for the section if section->lineno is NULL.

28 years ago * From Peter Schauer:
Jeff Law [Mon, 4 Mar 1996 21:50:10 +0000 (21:50 +0000)]
    * From Peter Schauer:
        * infrun.c (wait_for_inferior): Remove breakpoints and
        switch terminal settings before calling SOLIB_ADD.
        * solib.c (enable_break, SVR4 variant): Don't map in symbols
        for the dynamic linker, the namespace pollution causes real
        problems.

28 years ago * config/tc-hppa.c: Add default definitions for R_N0SEL and
Jeff Law [Mon, 4 Mar 1996 19:42:03 +0000 (19:42 +0000)]
    * config/tc-hppa.c: Add default definitions for R_N0SEL and
        R_N1SEL since they're not defined for old versions of hpux.

28 years ago * ldlang.c (wild): Handle foo.a(.text) by mapping each included
Ian Lance Taylor [Mon, 4 Mar 1996 19:12:43 +0000 (19:12 +0000)]
* ldlang.c (wild): Handle foo.a(.text) by mapping each included
member of foo.a separately.  From Jouke Numan <jnuman@bazis.nl>.

28 years ago * elf.c (_bfd_elf_symbol_from_bfd_symbol): Print a useful error
Ian Lance Taylor [Mon, 4 Mar 1996 17:50:38 +0000 (17:50 +0000)]
* elf.c (_bfd_elf_symbol_from_bfd_symbol): Print a useful error
message rather than calling BFD_ASSERT.
* elfcode.h (write_relocs): Check return value of
_bfd_elf_symbol_from_bfd_symbol.

28 years ago * config/tc-hppa.c (tc_gen_reloc): Fix typo in R_COMP2 code.
Jeff Law [Mon, 4 Mar 1996 17:15:23 +0000 (17:15 +0000)]
    * config/tc-hppa.c (tc_gen_reloc): Fix typo in R_COMP2 code.
        Set "sym_ptr_ptr" and "addend" fields to dummy values for
        R_N0SEL and R_N1SEL.
Net buglet, and something I just noticed was wrong.

28 years agoSun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Sun, 3 Mar 1996 17:20:15 +0000 (17:20 +0000)]
Sun Mar  3 17:18:57 1996  James G. Smith  <jsmith@cygnus.co.uk>

* remote-mips.c (common_breakpoint): Explicitly terminate the
  returned buffer.

28 years agoFri Mar 1 10:20:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Fri, 1 Mar 1996 15:34:47 +0000 (15:34 +0000)]
Fri Mar  1 10:20:52 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* flonum-konst.c: Add two more constants for 1e+-2048 and
1e+-4096, and correct the other constants.

28 years agoFri Mar 1 10:24:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Fri, 1 Mar 1996 15:27:57 +0000 (15:27 +0000)]
Fri Mar  1 10:24:59 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
Search trinary.cond rather than searching trinary.lhs twice.

28 years agoFri Mar 1 10:20:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Fri, 1 Mar 1996 15:24:19 +0000 (15:24 +0000)]
Fri Mar  1 10:20:52 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* symbols.c (resolve_symbol_value): Handle O_logical_not.

28 years agoWhen putting common items in .sdata, make sure SEC_LOAD flag is cleared
Michael Meissner [Fri, 1 Mar 1996 14:47:46 +0000 (14:47 +0000)]
When putting common items in .sdata, make sure SEC_LOAD flag is cleared

28 years agofix typo
Michael Meissner [Thu, 29 Feb 1996 23:16:24 +0000 (23:16 +0000)]
fix typo

28 years agoAll predefined sections to be of NOBITS type
Michael Meissner [Thu, 29 Feb 1996 19:04:49 +0000 (19:04 +0000)]
All predefined sections to be of NOBITS type

28 years ago From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
Stan Shebs [Thu, 29 Feb 1996 06:39:05 +0000 (06:39 +0000)]
From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
* remote.c (remote_detach): Send a command 'D' to the target
when detaching, update the function's comments.

28 years agoAdd xm-nbsd.h
Fred Fish [Thu, 29 Feb 1996 04:19:15 +0000 (04:19 +0000)]
Add xm-nbsd.h

28 years agoRemove missing file "PROBLEMS" from list of files to keep.
Fred Fish [Thu, 29 Feb 1996 03:41:50 +0000 (03:41 +0000)]
Remove missing file "PROBLEMS" from list of files to keep.

28 years ago * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
Jeff Law [Thu, 29 Feb 1996 00:51:00 +0000 (00:51 +0000)]
    * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
        reduce relocs using e_nlrsel field selectors.

28 years ago * Makefile.in (VERSION): Bump version to 4.15.2 to establish
Fred Fish [Wed, 28 Feb 1996 23:53:00 +0000 (23:53 +0000)]
* Makefile.in (VERSION): Bump version to 4.15.2 to establish
baseline for gdb 4.16 rerelease testing.

28 years ago * write.c (fix_new_exp): Don't use #elif. Some compilers
Jeff Law [Wed, 28 Feb 1996 22:39:09 +0000 (22:39 +0000)]
    * write.c (fix_new_exp): Don't use #elif.  Some compilers
        don't handle it.
Fixes build problem with certain versions of the hpux compiler.

28 years ago * somsolib.c (som_solib_create_inferior_hook): Before returning
Jeff Law [Wed, 28 Feb 1996 20:36:27 +0000 (20:36 +0000)]
    * somsolib.c (som_solib_create_inferior_hook): Before returning
        call clear_symtab_users.
Fixes minor hpux problem with 7763 patches.

28 years agoWed Feb 28 12:25:46 1996 Jason Merrill <jason@yorick.cygnus.com>
Jason Merrill [Wed, 28 Feb 1996 20:26:15 +0000 (20:26 +0000)]
Wed Feb 28 12:25:46 1996  Jason Merrill  <jason@yorick.cygnus.com>

* Makefile.in (taz): Fix quoting.

28 years ago * config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to
Jeff Law [Wed, 28 Feb 1996 18:34:32 +0000 (18:34 +0000)]
    * config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to
        the selector table.
        (pa_chk_field_selector): Handle new field selectors for SOM.
More new stuff for hpux10.

28 years ago * libhppa.h (hppa_reloc_field_selector_type): Add R_HPPA_NLSEL
Jeff Law [Wed, 28 Feb 1996 18:27:51 +0000 (18:27 +0000)]
    * libhppa.h (hppa_reloc_field_selector_type): Add R_HPPA_NLSEL
        and R_HPPA_NLRSEL.
        (e_nsel, e_nlsel, e_nlrsel): Undefine.  Add to
        hppa_reloc_field_selector_type_alt.
        (hppa_field_adjust): Handle e_nlsel, e_nlrsel.  Fix e_nsel handling.
        * som.c (hppa_som_gen_reloc_type): Handle N', NL' NLR' field
        selectors.
        (som_write_fixups): Finish handling of R_N0SEL and R_N1SEL.
More hpux10 crud.

28 years ago * elf.c (assign_file_positions_for_segments): Adjust the segment
Ian Lance Taylor [Wed, 28 Feb 1996 16:01:04 +0000 (16:01 +0000)]
* elf.c (assign_file_positions_for_segments): Adjust the segment
memory size for the alignment of a SEC_ALLOC section, not just a
SEC_LOAD section.

28 years ago * mpw-make.sed: Edit out shared library support.
Stan Shebs [Tue, 27 Feb 1996 23:21:35 +0000 (23:21 +0000)]
* mpw-make.sed: Edit out shared library support.
(@TDIRS@): Edit out, can't use genscripts.

28 years agoTue Feb 27 15:09:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Tue, 27 Feb 1996 20:46:55 +0000 (20:46 +0000)]
Tue Feb 27 15:09:21 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets.
* emulparams/m68klinux.sh: New file.
* emultempl/linux.em (gld${EMULATION_NAME}_before_allocation):
Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of
bfd_linux_size_dynamic_sections.
* Makefile.in (ALL_EMULATIONS): Add em68klinux.o.
(em68klinux.c): New target.
* configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts.

Tue Feb 27 12:55:46 1996  Ian Lance Taylor  <ian@cygnus.com>

* Makefile.in (ALL_EMULATIONS): Sort into alphabetical order.
Fill in missing entries.

28 years agoTue Feb 27 14:42:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Tue, 27 Feb 1996 20:01:48 +0000 (20:01 +0000)]
Tue Feb 27 14:42:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets.
* configure: Rebuild.
* config/te-linux.h (LOCAL_LABELS_FB): Define.
* config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to
"a.out-m68k-linux".
* config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX
is defined.

28 years ago * configure.in (sparclet-*-*): Build everything now.
David Edelsohn [Tue, 27 Feb 1996 19:35:14 +0000 (19:35 +0000)]
* configure.in (sparclet-*-*): Build everything now.

28 years agoTue Feb 27 14:31:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Tue, 27 Feb 1996 19:32:39 +0000 (19:32 +0000)]
Tue Feb 27 14:31:51 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* configure.in (m68k-*-linux*): New host.

28 years agoTue Feb 27 14:17:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Tue, 27 Feb 1996 19:31:29 +0000 (19:31 +0000)]
Tue Feb 27 14:17:31 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* m68klinux.c: New file.
* hosts/m68klinux.h: New file.
* config.bfd (m68*-*-linuxaout*, m68*-*-linux*): New targets.
* configure.in (m68*-*-linux*): New native host.
(m68klinux_vec): New vector.
* configure: Rebuild.
* targets.c (m68klinux_vec): Declare.
* i386linux.c (bfd_i386linux_size_dynamic_sections): Renamed from
bfd_linux_size_dynmic_sections to avoid clash with m68klinux.c.
* bfd-in.h (bfd_i386linux_size_dynamic_sections): Rename
declaration from bfd_linux_size_dynamic_sections.
(bfd_m68klinux_size_dynamic_sections): Declare.
* bfd-in2.h: Rebuild.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add m68klinux.o.
(BFD32_BACKENDS_CFILES): Add m68klinux.c.

28 years ago * libhppa.h (pa_arch): Add pa20.
Jeff Law [Tue, 27 Feb 1996 18:50:42 +0000 (18:50 +0000)]
    * libhppa.h (pa_arch): Add pa20.
        (hppa_reloc_field_selector_type): Add R_HPPA_NSEL.
        (e_nsel): Undefine.  Add to hppa_reloc_field_selector_type_alt.
        (hppa_field_adjust): Handle e_nsel.
        * som.c: Provide default definitions for many new relocs found only
        in hpux10 include files.
        (som_fixup_formats): Add several new relocs from hpux10.
        (som_hppa_howto_table): Add hpux10 relocs.
        (som_write_fixups): Handle R_N0SEL and R_N1SEL hpux10 relocs.
Quick stab at handling some of the new hpux10 features.

28 years agoupdate copyright
Ian Lance Taylor [Tue, 27 Feb 1996 18:06:52 +0000 (18:06 +0000)]
update copyright

28 years ago * lexsup.c (parse_args): Recognize --no-whole-archive.
Ian Lance Taylor [Tue, 27 Feb 1996 17:59:46 +0000 (17:59 +0000)]
* lexsup.c (parse_args): Recognize --no-whole-archive.
* ldlang.h (lang_input_statement_type): Add whole_archive field.
* ldlang.c (new_afile): Set whole_archive field.
(load_symbols): Check input file specific whole_archive field
rather than global variable.
* ld.texinfo, ld.1: Document --no-whole-archive.
PR 9094.

28 years ago * mpw-make.sed: Update to handle shared library support.
Stan Shebs [Tue, 27 Feb 1996 03:03:21 +0000 (03:03 +0000)]
* mpw-make.sed: Update to handle shared library support.

28 years ago * mpw-make.sed: Update to handle shared library support.
Stan Shebs [Tue, 27 Feb 1996 02:13:37 +0000 (02:13 +0000)]
* mpw-make.sed: Update to handle shared library support.

28 years ago * mpw-make.sed: Edit out shared library support bits.
Stan Shebs [Tue, 27 Feb 1996 01:31:28 +0000 (01:31 +0000)]
   * mpw-make.sed: Edit out shared library support bits.

28 years ago * configure.in (sparc64-*): Use mh-sparcpic if --enabled-shared.
David Edelsohn [Mon, 26 Feb 1996 23:42:39 +0000 (23:42 +0000)]
* configure.in (sparc64-*): Use mh-sparcpic if --enabled-shared.

28 years ago * config.sub (sparc*frw*): Delete. Use -mflat now.
David Edelsohn [Mon, 26 Feb 1996 23:26:30 +0000 (23:26 +0000)]
* config.sub (sparc*frw*): Delete.  Use -mflat now.

28 years ago * cofflink.c (_bfd_coff_link_input_bfd): When merging, skip names
Ian Lance Taylor [Mon, 26 Feb 1996 22:27:30 +0000 (22:27 +0000)]
* cofflink.c (_bfd_coff_link_input_bfd): When merging, skip names
starting with '$' the way we skip names starting with '.'.  When
updating x_endndx, don't be fooled by an index which has been
merged.
PR 9024.

28 years ago * mpw-make.sed: Edit out recent shared library support, and
Stan Shebs [Mon, 26 Feb 1996 20:59:24 +0000 (20:59 +0000)]
* mpw-make.sed: Edit out recent shared library support, and
rules to rebuild .h files using doc/chew.

28 years agoMon Feb 26 14:48:39 1996 David Mosberger-Tang <davidm@AZStarNet.com>
Ian Lance Taylor [Mon, 26 Feb 1996 19:54:58 +0000 (19:54 +0000)]
Mon Feb 26 14:48:39 1996  David Mosberger-Tang  <davidm@AZStarNet.com>

* ecoff.c (ecoff_compute_section_file_positions): Adjust the file
size even of sections with no contents.

28 years ago * configure: Check for bison before byacc.
Ian Lance Taylor [Mon, 26 Feb 1996 19:35:01 +0000 (19:35 +0000)]
* configure: Check for bison before byacc.

28 years ago * cofflink.c (_bfd_coff_link_input_bfd): Don't try to optimize a
Ian Lance Taylor [Mon, 26 Feb 1996 19:01:53 +0000 (19:01 +0000)]
* cofflink.c (_bfd_coff_link_input_bfd): Don't try to optimize a
struct/union/enum type with no elements.
PR 9024.

28 years ago * config/tc-sparc.c (sparc_ip): Print all architectures that support
David Edelsohn [Mon, 26 Feb 1996 18:38:33 +0000 (18:38 +0000)]
* config/tc-sparc.c (sparc_ip): Print all architectures that support
the insn on mismatch.

28 years agoAlways keep mips vxworks files
Stan Shebs [Sun, 25 Feb 1996 22:05:49 +0000 (22:05 +0000)]
Always keep mips vxworks files

28 years ago * configure.in (mips*-*-vxworks*): New config.
Stan Shebs [Sun, 25 Feb 1996 22:05:00 +0000 (22:05 +0000)]
* configure.in (mips*-*-vxworks*): New config.
* configure: Regenerated.

* config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
* remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
Remove, never used.

28 years ago * bfd.c (bfd_errmsg): Handle a NULL return from strerror.
Ian Lance Taylor [Sat, 24 Feb 1996 23:58:44 +0000 (23:58 +0000)]
* bfd.c (bfd_errmsg): Handle a NULL return from strerror.

28 years ago * archive.c (bfd_generic_archive_p): If the first file in the
Ian Lance Taylor [Sat, 24 Feb 1996 20:45:20 +0000 (20:45 +0000)]
* archive.c (bfd_generic_archive_p): If the first file in the
archive can not be recognized as an object, don't assume that this
is the wrong format.
PR 9082.

28 years ago * partial-stab.h (case N_FUN): Function symbols generated
Peter Schauer [Sat, 24 Feb 1996 20:32:48 +0000 (20:32 +0000)]
* partial-stab.h (case N_FUN):  Function symbols generated
by SPARCworks cc have a meaningless zero value, do not update
pst->textlow if the function symbol value is zero.

* stabsread.c (define_symbol):  Initialize SYMBOL_TYPE field
for function prototype declaration symbols.

28 years ago * elf.c (bfd_elf_set_dt_needed_name): Don't do anything if the
Ian Lance Taylor [Sat, 24 Feb 1996 20:03:55 +0000 (20:03 +0000)]
* elf.c (bfd_elf_set_dt_needed_name): Don't do anything if the
format is not bfd_object.
(bfd_elf_get_dt_soname): Likewise.

28 years agoSat Feb 24 11:21:49 1996 Alan Modra <alan@spri.levels.unisa.edu.au>:
Ian Lance Taylor [Sat, 24 Feb 1996 19:22:35 +0000 (19:22 +0000)]
Sat Feb 24 11:21:49 1996  Alan Modra  <alan@spri.levels.unisa.edu.au>:

* Makefile.in ($(OBJDUMP_PROG)): Search $(BFDLIB) before
$(OPCODES).

28 years agoUpdate to 1.0.1
Michael Meissner [Sat, 24 Feb 1996 14:36:59 +0000 (14:36 +0000)]
Update to 1.0.1

28 years ago * remote-e7000.c (e7000_load): New routine to download via the
Stu Grossman [Sat, 24 Feb 1996 06:39:44 +0000 (06:39 +0000)]
* remote-e7000.c (e7000_load):  New routine to download via the
network.
* (e7000_wait):  Don't backup PC when we hit a breakpoint.
Apparantly new sh2 pods get this right...
* (e7000_ops):  Add call to e7000_load.

28 years ago * configure.in: Add support for a29-coff.
Rob Savoye [Sat, 24 Feb 1996 04:46:41 +0000 (04:46 +0000)]
* configure.in: Add support for a29-coff.
* configure: Rebuild.

28 years ago * config/tc-sh.c (sh_coff_frob_file): Don't consider the address
Ian Lance Taylor [Fri, 23 Feb 1996 01:15:39 +0000 (01:15 +0000)]
* config/tc-sh.c (sh_coff_frob_file): Don't consider the address
of the section when looking for the R_SH_USES fixup, because the
frag addresses have not yet been adjusted.
PR 9072.

28 years ago * gdbinit.in: Set a breakpoint on as_warn_where.
Ian Lance Taylor [Fri, 23 Feb 1996 01:09:38 +0000 (01:09 +0000)]
* gdbinit.in: Set a breakpoint on as_warn_where.

28 years ago * gas/mips/lb-xgot.d: Correct.
Ian Lance Taylor [Fri, 23 Feb 1996 00:47:32 +0000 (00:47 +0000)]
* gas/mips/lb-xgot.d: Correct.

28 years ago * config/tc-mips.c (macro): Add missing arguments to macro_build
Ian Lance Taylor [Fri, 23 Feb 1996 00:41:09 +0000 (00:41 +0000)]
* config/tc-mips.c (macro): Add missing arguments to macro_build
omitted in last change.  From Jim Wilson <wilson@cygnus.com>.

28 years agoAdd input support; at end of user writes, call fflush
Michael Meissner [Thu, 22 Feb 1996 20:11:41 +0000 (20:11 +0000)]
Add input support; at end of user writes, call fflush

28 years agofix typo
Michael Meissner [Thu, 22 Feb 1996 16:32:31 +0000 (16:32 +0000)]
fix typo

28 years ago* config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
J.T. Conklin [Thu, 22 Feb 1996 09:11:16 +0000 (09:11 +0000)]
* config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
m68knbsd-nat.c: New files, support for NetBSD/m68k.

* configure.in (m68k-*-netbsd*): New config.
* configure: Regenerated.

28 years ago * standalone.c (open, _initialize_standalone): Fix obvious typos
Fred Fish [Thu, 22 Feb 1996 01:58:53 +0000 (01:58 +0000)]
* standalone.c (open, _initialize_standalone): Fix obvious typos
reported by Martin Pool <martin@citr.uq.oz.au>.

28 years agoBack out change to signals.exp (test_handle_all_print): Add setup_xfail for "alpha...
Fred Fish [Wed, 21 Feb 1996 23:23:38 +0000 (23:23 +0000)]
Back out change to signals.exp (test_handle_all_print): Add setup_xfail for "alpha-dec-osf2*"
This problem appears to be random, possibly a dejagnu problem.

28 years ago * config/tc-h8300.c (tc_reloc_mangle): Change reloc based on size
Ian Lance Taylor [Wed, 21 Feb 1996 22:02:54 +0000 (22:02 +0000)]
* config/tc-h8300.c (tc_reloc_mangle): Change reloc based on size
if it is TC_CONS_RELOC.  Set a size of 4 to R_RELLONG.
PR 5166.

28 years agoAdd more write system calls; Add system call tracing
Michael Meissner [Wed, 21 Feb 1996 21:58:43 +0000 (21:58 +0000)]
Add more write system calls; Add system call tracing

28 years ago * solib.c (solib_create_inferior_hook): Fix thinko.
Jeff Law [Wed, 21 Feb 1996 21:27:08 +0000 (21:27 +0000)]
    * solib.c (solib_create_inferior_hook): Fix thinko.
Don't screw sunos4 with 7763 fixes..

28 years ago * coff-sh.c (sh_relax_delete_bytes): Correct range of R_SH_USES
Ian Lance Taylor [Wed, 21 Feb 1996 18:59:56 +0000 (18:59 +0000)]
* coff-sh.c (sh_relax_delete_bytes): Correct range of R_SH_USES
reloc.
PR 9043.

28 years agoFix -m switch
Michael Meissner [Wed, 21 Feb 1996 18:58:31 +0000 (18:58 +0000)]
Fix -m switch

28 years agoremove extraneous comment characters
Ian Lance Taylor [Wed, 21 Feb 1996 17:38:36 +0000 (17:38 +0000)]
remove extraneous comment characters

28 years ago * config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8.
David Edelsohn [Wed, 21 Feb 1996 17:26:21 +0000 (17:26 +0000)]
* config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8.

28 years ago(sparc_ip): Recognize %asr0.
David Edelsohn [Wed, 21 Feb 1996 17:25:13 +0000 (17:25 +0000)]
(sparc_ip): Recognize %asr0.
Yes, matra really wants this.

28 years agoregenerate configure scripts with autoconf 2.7
Ian Lance Taylor [Wed, 21 Feb 1996 17:18:42 +0000 (17:18 +0000)]
regenerate configure scripts with autoconf 2.7

28 years ago * Makefile.in (all): Simplify.
Ian Lance Taylor [Wed, 21 Feb 1996 17:02:23 +0000 (17:02 +0000)]
* Makefile.in (all): Simplify.
(clean, mostlyclean): SUBDIRS may contain whitespace; fix the loop
as in the all target.
(distclean, maintainer-clean, realclean): Likewise.
(install): Likewise.

28 years agoUpdate to 1995-02-20 release
Michael Meissner [Wed, 21 Feb 1996 16:47:06 +0000 (16:47 +0000)]
Update to 1995-02-20 release

28 years agoMinor tweak.
Jeff Law [Wed, 21 Feb 1996 08:22:42 +0000 (08:22 +0000)]
Minor tweak.

28 years ago * solib.c (solib_break_names): Define for Solaris and Linux.
Jeff Law [Wed, 21 Feb 1996 07:04:03 +0000 (07:04 +0000)]
    * solib.c (solib_break_names): Define for Solaris and Linux.
        (enable_break): For SVR4 systems, first try to use the debugger
        interfaces in the dynamic linker to track shared library events
        as they happen, then fall back to BKPT_AT_SYMBOL code.  Convert
        BKPT_AT_SYMBOL code to use shared library event breakpoints.
        (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
        it no longer needs to restart/wait on the inferior.
        * symfile.c (find_lowest_section): No longer static.
        * symfile.h (find_lowest_section): Corresponding changes.
Wraps up 7763 work, simplifies BKPT_AT_SYMBOL code somewhat, and allows
debugging of startup code.

28 years agoCommit misplaced ChangeLog entry.
Jeff Law [Wed, 21 Feb 1996 06:41:25 +0000 (06:41 +0000)]
Commit misplaced ChangeLog entry.

28 years ago * config/tc-sparc.c (parse_keyword_arg): Accept leading '%'.
David Edelsohn [Wed, 21 Feb 1996 05:50:22 +0000 (05:50 +0000)]
* config/tc-sparc.c (parse_keyword_arg): Accept leading '%'.
(sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9.
Recognize [uU] format args as sparclet cpregs.

28 years ago * config/tc-sparc.c (parse_keyword_arg): Accept leadling '%'.
David Edelsohn [Wed, 21 Feb 1996 05:50:03 +0000 (05:50 +0000)]
* config/tc-sparc.c (parse_keyword_arg): Accept leadling '%'.
(sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9.
Recognize [uU] format args as sparclet cpregs.

28 years ago * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
David Edelsohn [Wed, 21 Feb 1996 05:47:27 +0000 (05:47 +0000)]
* sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
(sparc_opcode_archs): Add MASK_V8 to sparclet entry.
(sparc_opcodes): Add sparclet insns.
(sparclet_cpreg_table): New static local.
(sparc_{encode,decode}_sparclet_cpreg): New functions.
* sparc-dis.c (print_insn_sparc): Handle sparclet cpregs.

28 years ago * sparc.h (sparc_{encode,decode}_sparclet_cpreg): Declare.
David Edelsohn [Wed, 21 Feb 1996 04:47:16 +0000 (04:47 +0000)]
* sparc.h (sparc_{encode,decode}_sparclet_cpreg): Declare.
Mark operand letters uU as in use.

28 years ago * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
Fred Fish [Wed, 21 Feb 1996 03:40:05 +0000 (03:40 +0000)]
* gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
to "alpha-*-osf2*" and add comment.
* gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
  setup_xfail for "step over execarg initialization" and
  "step over corearg initialization".
* gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
* gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
  gcc compiled for "print coremaker_bss", "print coremaker_ro",
"print func2::coremaker_local", and "backtrace in corefile.exp".
* gdb.base/signals.exp: Build and source signals.ci.
(test_handle_all_print): Add setup_xfail for "alpha-dec-osf2*".
Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
to be for gcc only.
* lib/gdb.exp: Move verbose statements outside conditionals.

28 years ago * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
Fred Fish [Wed, 21 Feb 1996 03:38:45 +0000 (03:38 +0000)]
* config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
* config/mips/tm-mips.h: Ditto.
* config/pa/tm-hppa.h: Ditto.
* config/rs6000/tm-rs6000.h: Ditto.
* config/sparc/tm-sparc.h: Ditto.

28 years ago * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
Fred Fish [Wed, 21 Feb 1996 03:36:07 +0000 (03:36 +0000)]
* valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
(value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.

28 years ago * config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs
Ian Lance Taylor [Wed, 21 Feb 1996 03:30:01 +0000 (03:30 +0000)]
* config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs
in bss_section.
PR 9044.

28 years ago * sunos.c (SUNOS_CONSTRUCTOR): Define.
Ian Lance Taylor [Wed, 21 Feb 1996 02:51:02 +0000 (02:51 +0000)]
* sunos.c (SUNOS_CONSTRUCTOR): Define.
(sunos_add_one_symbol): Don't let a symbol from a dynamic object
override a constructor symbol.  Set SUNOS_CONSTRUCTOR when
appropriate.

28 years ago* config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
J.T. Conklin [Wed, 21 Feb 1996 02:00:10 +0000 (02:00 +0000)]
* config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.

28 years ago* config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
J.T. Conklin [Wed, 21 Feb 1996 01:52:37 +0000 (01:52 +0000)]
* config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
* config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
#ifdef'd out definitions ---  Causes serious gdb failures on
the i386.  Need to investigate further before enabling.

* i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
fetch_core_registers): New functions.  These functions are defined
if FETCH_INFERIOR_REGISTERS is set.  Registers are fetched/stored
with ptrace PT_GETREGS/PT_SETREGS.

28 years ago* config.in: Regenerated.
J.T. Conklin [Wed, 21 Feb 1996 01:02:10 +0000 (01:02 +0000)]
* config.in: Regenerated.

28 years ago * findvar.c (extract_floating store_floating): Replace `long
Stu Grossman [Wed, 21 Feb 1996 00:57:10 +0000 (00:57 +0000)]
* findvar.c (extract_floating store_floating):  Replace `long
double' with `DOUBLEST'.

28 years ago* bfd.c (tdata): Add netbsd_core_data.
J.T. Conklin [Wed, 21 Feb 1996 00:29:38 +0000 (00:29 +0000)]
* bfd.c (tdata): Add netbsd_core_data.
* bfd-in2.h: Regenerated.

28 years ago * gdb.c++/misc.cc: Add test code from Mike Stump.
Fred Fish [Tue, 20 Feb 1996 23:51:27 +0000 (23:51 +0000)]
* gdb.c++/misc.cc: Add test code from Mike Stump.
* gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.

28 years ago * configure.tgt: Correct gldi960 to gld960.
Ian Lance Taylor [Tue, 20 Feb 1996 21:12:02 +0000 (21:12 +0000)]
* configure.tgt: Correct gldi960 to gld960.

28 years ago * coff-alpha.c (alpha_ecoff_get_relocated_section_contents):
Fred Fish [Tue, 20 Feb 1996 16:31:32 +0000 (16:31 +0000)]
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents):
Remove duplicate definition of gp.

28 years ago* config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
J.T. Conklin [Tue, 20 Feb 1996 07:11:38 +0000 (07:11 +0000)]
* config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
Define.

28 years agoAdd bcache.c and bcache.h
Fred Fish [Tue, 20 Feb 1996 07:00:40 +0000 (07:00 +0000)]
Add bcache.c and bcache.h

28 years ago * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Don't
Ian Lance Taylor [Mon, 19 Feb 1996 21:12:48 +0000 (21:12 +0000)]
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Don't
assume that we can set the GP value and then get the same value,
since it won't be true if the output file is neither ELF nor
ECOFF.
* coff-mips.c (mips_adjust_reloc_in): Don't bother to use
_bfd_get_gp_value here.
(mips_gprel_reloc): Don't assume we can set and get the GP value.
* elf32-mips.c (mips_elf_hi16_reloc): Get gp value from
mips_elf_final_gp.
(mips_elf_lo16_reloc): Likewise.
(mips_elf_final_gp): Add pgp parameter.  Set it to the GP value.
Don't require that the BFD be ELF.
(mips_elf_gprel16_reloc): Get gp value from mips_elf_final_gp.
(mips_elf_gprel32_reloc): Likewise.
(mips_elf_relocate_section): Don't assume we can set and get the
GP value.
(mips_elf_finish_dynamic_symbol): Don't bother to use
_bfd_get_gp_value here.

* elf32-mips.c (mips_elf_create_procedure_table): Initialize sv.
Don't change epdr between malloc and free.  Be careful not to free
NULL pointers.  Zero out the first RPDR.