binutils-gdb.git
28 years ago * compile.c: #include "wait.h".
David Edelsohn [Mon, 11 Mar 1996 19:30:53 +0000 (19:30 +0000)]
* compile.c: #include "wait.h".
  (sim_resume, sleep insn): Check program exit status in r0.

28 years agoMon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Mon, 11 Mar 1996 19:08:57 +0000 (19:08 +0000)]
Mon Mar 11 11:02:47 1996  Steve Chamberlain  <sac@slash.cygnus.com>

With Michael Snyder:
* i386-tdep.c (skip_trampoline_code): Fix strncmp length.
* win32-nat.c (CHECK, DEBUG*, debug_*): New.
(handle_load_dll): Don't reload symbols.
(handle_exception):  Use the DEBUG_* names.
(child_wait): Add DEBUG_* code.
(_initialize_inftarg): Add new commands to set debug_ names.

28 years ago * as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40.
Steve Chamberlain [Mon, 11 Mar 1996 18:05:58 +0000 (18:05 +0000)]
* as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40.
(SEG_LAST): New.
* subsegs.c (MANY_SEGMENTS): Increase segment limit.
* obj-coff.c (seg_N_TYPE, seg_info_off_by_4): Likewise.
(do_relocs_for, w_symbols, obj_coff_add_segment, do_linenos_for,
crawl_symbols, coff_header_append): Loop to SEG_LAST rather than
SEG_E9.

Until BFD backend works with i386-pe.

28 years ago * compile.c (sim_resume): Watch for calls to abort.
David Edelsohn [Mon, 11 Mar 1996 17:54:45 +0000 (17:54 +0000)]
* compile.c (sim_resume): Watch for calls to abort.
* run.c: #include <signal.h>.
(main): Abort if program got SIGILL.

28 years ago * rddbg.c (read_section_stabs_debugging_info): Call save_stab for
Ian Lance Taylor [Mon, 11 Mar 1996 17:38:16 +0000 (17:38 +0000)]
* rddbg.c (read_section_stabs_debugging_info): Call save_stab for
each stab entry, call stab_context on an error, and call
free_saved_stabs before rturning.
(read_symbol_stabs_debugging_info): Likewise.
(SAVE_STABS_COUNT): Define.
(struct saved_stab): Define.
(saved_stabs, saved_stabs_index): New static variables.
(save_stab, stab_context, free_saved_stabs): New static functios.

28 years ago * objdump.c (stab_name): Remove.
Ian Lance Taylor [Mon, 11 Mar 1996 17:37:38 +0000 (17:37 +0000)]
* objdump.c (stab_name): Remove.
(struct stab_print): Remove.
(stab_print): Remove.
(dump_stabs): Don't initialize stab_name.
(print_section_stabs): Call bfd_get_stab_name rather than using
the stab_name array.

28 years ago * stab-syms.c (__define_stab_duplicate): Define.
Ian Lance Taylor [Mon, 11 Mar 1996 17:33:43 +0000 (17:33 +0000)]
* stab-syms.c (__define_stab_duplicate): Define.
(bfd_get_stab_name): Rename from aout_stab_name.  Rewrite to use a
switch.
* bfd-in.h (bfd_get_stab_name): Declare.
* bfd-in2.h: Rebuild.
* Makefile.in: Rebuild dependencies.
(BFD_LIBS): Add stab-syms.o.
(BFD_LIBS_CFILES): Add stab-syms.c.
(BFD32_BACKENDS): Remove stab-syms.o.
(BFD32_BACKENDS_CFILES): Remove stab-syms.c.
* configure.in: Don't list stab-syms.o in bfd_backends.
* configure: Rebuild.
* libaout.h (aout_stab_name): Don't declare.
* aoutx.h (NAME(aout,get_symbol_info)): Call bfd_get_stab_name,
not aout_stab_name.

28 years ago * stab.def: Use __define_stab_duplicate rather than __define_stab
Ian Lance Taylor [Mon, 11 Mar 1996 17:17:00 +0000 (17:17 +0000)]
* stab.def: Use __define_stab_duplicate rather than __define_stab
for duplicate entries N_BROWS and N_MOD2.
* stab_gnu.h (__define_stab_duplicate): Define before including
stab.def.

28 years ago * From Peter Schauer:
Jeff Law [Mon, 11 Mar 1996 16:21:51 +0000 (16:21 +0000)]
    * From Peter Schauer:
        * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
        (bpstat_stop_status): Likewise.
        (remove_solib_event_breakpoints): Likewise.
        (clear_momentary_breakpoints): Likewise.
        (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
        if we still can't read the memory for that breakpoint.
        (mention): Add bp_shlib_event case to keep gcc quiet.

28 years ago * configure: Restore Canadian Cross handling of BISON and LEX,
Ian Lance Taylor [Sun, 10 Mar 1996 18:23:57 +0000 (18:23 +0000)]
* configure: Restore Canadian Cross handling of BISON and LEX,
removed in Feb 20 change.

28 years ago * Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there is a
Ian Lance Taylor [Fri, 8 Mar 1996 22:55:13 +0000 (22:55 +0000)]
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there is a
Makefile after running symlink-tree, then run `make distclean' to
avoid clobbering any generated files in srcdir.

28 years ago * breakpoint.h (enum enable): New enum shlib_disabled for
Jeff Law [Fri, 8 Mar 1996 19:16:33 +0000 (19:16 +0000)]
    * breakpoint.h (enum enable): New enum shlib_disabled for
        shared library breakpoints that have been temporarily disabled.
        * breakpoint.c: Handle temporarily disabled shared library
        breakpoints like disabled breakpoints in most places.
        (insert_breakpoints): Use shlib_disabled to indicate
        that an unsettable breakpoint is only temporarily disabled.
        (re_enable_breakpoints_in_shlibs): New function.
        * corelow.c (solib_add_stub): After adding shared libraries,
        try to reenable any temporarily disabled breakpoints.
        * infcmd.c (attach_command): Likewise.
        * infrun.c (wait_for_inferior): Likewise.
Hopefully the last 7763 related patches for a while.

28 years ago * defs.h (extract_long_unsigned_integer): Declare.
Ian Lance Taylor [Fri, 8 Mar 1996 16:43:02 +0000 (16:43 +0000)]
* defs.h (extract_long_unsigned_integer): Declare.
* findvar.c (extract_long_unsigned_integer): New function.
* printcmd.c (print_scalar_formatted): Use it.
* valprint.c (val_print_type_code_int): Likewise.

28 years ago * infcmd.c (do_registers_info): Ignore anonymous registers.
Stan Shebs [Fri, 8 Mar 1996 02:04:19 +0000 (02:04 +0000)]
* infcmd.c (do_registers_info): Ignore anonymous registers.
* sh-tdep.c (set processor): New command to set specific
processor type.
(sh_reg_names, sh3_reg_names): Arrays of register names for
SH and SH3 processors.
(sh_set_processor_type): New function.
* sh3-rom.c (sh3_open): Call it.
(sh3_regname): Add names of all the bank registers.
(sh3_supply_register): Clean up formatting.
* config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
  bank registers.
(REGISTER_NAMES): Add names of bank registers.
(FP15_REGNUM): Define.
(REGISTER_VIRTUAL_TYPE): Use it.
* monitor.c: Clean up some comments.

28 years agoMake psim build on AIX 4.1
Michael Meissner [Fri, 8 Mar 1996 01:24:01 +0000 (01:24 +0000)]
Make psim build on AIX 4.1

28 years agoTest common synthetic insns (applicable to v8 or v9).
David Edelsohn [Thu, 7 Mar 1996 22:50:09 +0000 (22:50 +0000)]
Test common synthetic insns (applicable to v8 or v9).

28 years agoAdd missing arc sanitization (oops).
David Edelsohn [Thu, 7 Mar 1996 22:48:51 +0000 (22:48 +0000)]
Add missing arc sanitization (oops).

28 years ago* i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
J.T. Conklin [Thu, 7 Mar 1996 20:13:45 +0000 (20:13 +0000)]
* i386b-nat.c: Revert part of Mar 5 change.  FreeBSD collapsed the
s* and t* symbols too.

28 years ago * config/tc-hppa.c (SUBSEG_MILLI): Define.
Jeff Law [Thu, 7 Mar 1996 16:19:23 +0000 (16:19 +0000)]
    * config/tc-hppa.c (SUBSEG_MILLI): Define.
        (pa_def_subspaces): Add $MILLICODE$.
        (pa_spaces_begin): Set section flags for $MILLICODE$.

28 years agoThu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Thu, 7 Mar 1996 15:25:33 +0000 (15:25 +0000)]
Thu Mar  7 15:18:51 1996  James G. Smith  <jsmith@cygnus.co.uk>

* symfile.c (generic_load): Avoid division by zero.

28 years agoThu Mar 7 11:19:33 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Thu, 7 Mar 1996 11:25:15 +0000 (11:25 +0000)]
Thu Mar  7 11:19:33 1996  James G. Smith  <jsmith@cygnus.co.uk>

* gencode.c, interp.c: Replaced explicit long long references with
  WORD64HI, WORD64LO, SET64HI and SET64LO macro calls.
* support.h (SET64LO, SET64HI): Macros added.

This is an intermediate checkin. The work of removing "long long"
usage is not yet finished. These changes are clean, and have been
sitting on my machine for a while (whilst doing other work), and it is
safer for them to be checked in.

28 years ago * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
Jeff Law [Thu, 7 Mar 1996 01:00:04 +0000 (01:00 +0000)]
    * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
        not just those with HANDLE_SVR4_EXEC_EMULATORS.
Fixes linux native build problem.

28 years ago* scripttmpl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change
J.T. Conklin [Thu, 7 Mar 1996 00:12:34 +0000 (00:12 +0000)]
* scripttmpl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change
in a different manner to work around differences in shell variable
expansion.

28 years ago * ldemul.h (ldemul_unrecognized_file): Declare.
Ian Lance Taylor [Wed, 6 Mar 1996 23:12:41 +0000 (23:12 +0000)]
* ldemul.h (ldemul_unrecognized_file): Declare.
(ldemulation_xfer_type): Add unrecognized_file field.
* ldemul.c (ldemul_unrecognized_file): New function.
* ldlang.c (load_symbols): If a file can not be recognized, call
ldemul_unrecognized_file before trying it as a linker script.
* aix.em (gld${EMULATION_NAME}_unrecognized_file): New static
function.
(gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r".
(ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file.

28 years ago * config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is
Ian Lance Taylor [Wed, 6 Mar 1996 22:19:22 +0000 (22:19 +0000)]
* config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is
not SHT_NOBITS.  Don't tamper with flags based on type if a
special section was found (revert Feb 29 change).

28 years ago * config/tc-sh.c (sh_do_align): Only align using the nop pattern
Ian Lance Taylor [Wed, 6 Mar 1996 19:16:17 +0000 (19:16 +0000)]
* config/tc-sh.c (sh_do_align): Only align using the nop pattern
if aligning to a longword boundary or greater.

28 years ago * tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.
Jim Wilson [Wed, 6 Mar 1996 18:50:20 +0000 (18:50 +0000)]
* tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.

28 years ago * From Peter Schauer:
Jeff Law [Wed, 6 Mar 1996 16:36:13 +0000 (16:36 +0000)]
    * From Peter Schauer:
        * breakpoint.c (internal_breakpoint_number): Move to file scope.
        (create_solib_event_breakpoint): Use an internal breakpoint number.

28 years ago * valarith.c (value_in): Change builtin_type_chill_bool to
Wilfried Moser [Wed, 6 Mar 1996 08:35:05 +0000 (08:35 +0000)]
    * valarith.c (value_in): Change builtin_type_chill_bool to
        LA_BOOL_TYPE.

28 years ago * powerset.exp: Add test.
Wilfried Moser [Wed, 6 Mar 1996 08:30:40 +0000 (08:30 +0000)]
    * powerset.exp: Add test.

28 years ago * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
Wilfried Moser [Wed, 6 Mar 1996 08:02:45 +0000 (08:02 +0000)]
    * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
        (match_string_literal): Handle control sequence.
        (match_character_literal): Deto.

        * ch-lang.c (chill_printchar): Change formating of nonprintable
        characters from C'xx' to ^(num).
        (chill_printstr): Deto.
        (value_chill_card, value_chill_max_min): New functions to process
        Chill's CARD, MAX, MIN.
        (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.

        * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
        for Chill's CARD, MAX, MIN.

        * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
        and change return type from builtin_type_int to
        builtin_type_chill_bool.

28 years ago * gch922.{ch,exp}, powerset.{ch,exp}: New test cases.
Wilfried Moser [Wed, 6 Mar 1996 07:44:46 +0000 (07:44 +0000)]
    * gch922.{ch,exp}, powerset.{ch,exp}: New test cases.

        * builtins.exp, chillvars.exp, misc.exp, tests1.exp: Updated
        due to new format of nonprintable characters (control sequence
        instead of C'xx').

28 years ago * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
Stan Shebs [Wed, 6 Mar 1996 04:01:02 +0000 (04:01 +0000)]
* config/nm-nbsd.h (link_object, lo_name, etc): Move to here
  from config/nm-nbsd.h.
* config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
from config/sparc/tm-nbsd.h.

28 years ago * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
Stan Shebs [Wed, 6 Mar 1996 02:58:19 +0000 (02:58 +0000)]
* config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
instead of in config/m68k/xm-hp300hpux.h.

28 years ago * */Makefile.in (maintainer-clean): Remove config.log.
Stan Shebs [Tue, 5 Mar 1996 22:42:17 +0000 (22:42 +0000)]
* */Makefile.in (maintainer-clean): Remove config.log.
* gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
* gdb.c++/Makefile.in (PROGS): Add inherit.
(clean): Remove *.ci.

28 years ago * configure.in: Don't set SHLIB or SHLINK to an empty string,
Ian Lance Taylor [Tue, 5 Mar 1996 20:52:52 +0000 (20:52 +0000)]
* configure.in: Don't set SHLIB or SHLINK to an empty string,
since they appear as targets in Makefile.in.
* configure: Rebuild.

28 years ago* i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
J.T. Conklin [Tue, 5 Mar 1996 20:09:21 +0000 (20:09 +0000)]
* i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
implementation for NetBSD systems.

28 years ago * sunos.c (sunos_scan_ext_relocs): If not making a shared library,
Ian Lance Taylor [Tue, 5 Mar 1996 17:03:18 +0000 (17:03 +0000)]
* sunos.c (sunos_scan_ext_relocs): If not making a shared library,
don't fiddle with a symbol which is not defined anywhere.

28 years ago* configure.in (m68k-*-netbsd*): Build everything now.
J.T. Conklin [Tue, 5 Mar 1996 16:24:35 +0000 (16:24 +0000)]
* configure.in (m68k-*-netbsd*): Build everything now.

28 years ago * string.ch, string.exp: Add tests (from Cygnus PR chill/9078).
Per Bothner [Tue, 5 Mar 1996 08:21:49 +0000 (08:21 +0000)]
 * string.ch, string.exp:  Add tests (from Cygnus PR chill/9078).

28 years ago * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
Per Bothner [Tue, 5 Mar 1996 08:20:22 +0000 (08:20 +0000)]
* valarith.c (binop_user_defined_p):  Return 0 for BINOP_CONCAT.
(value_concat):  Handle varying strings (add COERCE_VARYING_ARRAY).
This fixes PR chill/9078.

28 years ago * pr-9095.ch, pr-9095.exp: New test case.
Per Bothner [Tue, 5 Mar 1996 08:12:53 +0000 (08:12 +0000)]
* pr-9095.ch, pr-9095.exp:  New test case.

28 years ago * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
Per Bothner [Tue, 5 Mar 1996 07:48:20 +0000 (07:48 +0000)]
* ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT):  Error
if "function" is pointer to non-function.
Fixes PR chill/9095.

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.