deliverable/binutils-gdb.git
28 years agoLatest changes from Andrew
Michael Meissner [Mon, 22 Jan 1996 15:56:15 +0000 (15:56 +0000)] 
Latest changes from Andrew

28 years agoUpdate copyright.
David Edelsohn [Sat, 20 Jan 1996 17:35:22 +0000 (17:35 +0000)] 
Update copyright.

28 years agoUpdate copyright.
David Edelsohn [Sat, 20 Jan 1996 17:17:53 +0000 (17:17 +0000)] 
Update copyright.

28 years agoOops. Forgot sanitization.
David Edelsohn [Sat, 20 Jan 1996 17:05:56 +0000 (17:05 +0000)] 
Oops.  Forgot sanitization.

28 years ago * elf32-sparc.c (ELF_MACHINE_ALT1): Define.
David Edelsohn [Sat, 20 Jan 1996 16:53:44 +0000 (16:53 +0000)] 
* elf32-sparc.c (ELF_MACHINE_ALT1): Define.

28 years ago SCO OpenServer 5 changes from Robert Lipe <robertl@dgii.com>:
Stan Shebs [Fri, 19 Jan 1996 21:44:26 +0000 (21:44 +0000)] 
SCO OpenServer 5 changes from Robert Lipe <robertl@dgii.com>:
* configure.in (i[345]86-*-sco3.2v5*): Use mh-sysv instead of
mh-sco, since old workarounds no longer needed, and don't
build ld, since libraries have weak symbols in COFF.

28 years ago * debug.h (struct debug_write_fns): Remove ellipsis_type. Add int
Ian Lance Taylor [Fri, 19 Jan 1996 19:44:00 +0000 (19:44 +0000)] 
* debug.h (struct debug_write_fns): Remove ellipsis_type.  Add int
and boolean parameters to function_type.  Add boolean parameter to
method_type.
(debug_make_ellipsis_type): Don't declare.
(debug_make_function_type): Add debug_type * and boolean
parameters.  Change all callers.
(debug_make_method_type): Add boolean parameter.  Change all
callers.
(debug_get_parameter_types): Add boolean * parameter.  Change all
callers.
(debug_get_target_type): Declare.
* debug.c (struct debug_function_type): Add fields arg_types and
varargs.
(struct debug_method_type): Add field varargs.
(debug_ellipsis_type, ELLIPSIS_P): Remove.
(debug_make_ellipsis_type): Remove.
(debug_make_function_type): Add arg_types and varargs parameters.
(debug_make_method_type): Add varargs parameter.
(debug_get_parameter_types): Add pvarargs parameter.
(debug_get_target_type): New function.
(debug_write_type): In case DEBUG_KIND_FUNCTION, push argument
types and pass count to function_type.  In DEBUG_KIND_METHOD, use
a signed int for the count, don't call ellipsis_type, and pass
varargs to method_type.
* stabs.c (struct stab_demangle_info): Add varargs field.
(stab_demangle_argtypes): Add pvarargs parameter.  Change all
callers.
(stab_demangle_args): Likewise.
(stab_demangle_type): In case 'F', pick up argument types.
* prdbg.c (pr_ellipsis_type): Remove.
(pr_function_type): Add argcount and varargs parameters.
(pr_method_type): Add varargs parameter.
* ieee.c (ieee_ellipsis_type): Remove.
(ieee_function_type): Add argcount and varargs parameters.
(ieee_method_type): Add varargs parameter.  Remove most of
function body, and just call ieee_function_type.

28 years ago * stabs.c: Include "demangle.h". Added several new static
Ian Lance Taylor [Fri, 19 Jan 1996 18:06:59 +0000 (18:06 +0000)] 
* stabs.c: Include "demangle.h".  Added several new static
functions not listed below to demangle argument types; they are
all called via stab_demangle_argtypes.
(finish_stab): If the kind of an undefined tag is
DEBUG_KIND_ILLEGAL, use DEBUG_KIND_STRUCT instead.  Warn if there
are any pending variable.
(parse_stab): Don't close the function when the block depth goes
to zero.  Pass value to debug_end_function.
(parse_stab_string): In case 'T', pass the name to
parse_stab_type.
(parse_stab_type): In case 'x', use stab_find_tagged_type.  In
case '#', handle functions with variable numbers of arguments.
(parse_stab_struct_type): Add tagname parameter.  Change all
callers.
(parse_stab_members): Add tagname and typenums parameters.  Change
all callers.  If the type of a method is a stub, call
parse_stab_argtypes to demangle the argument types and get the
physical name of the function.
(parse_stab_argtypes): New static function.
(stab_record_variable): For a DEBUG_GLOBAL or DEBUG_STATIC
variable, call debug_record_variable immediately.
(stab_find_tagged_type): New static function.

28 years ago * debug.h (enum debug_type_kind): Add DEBUG_KIND_ILLEGAL.
Ian Lance Taylor [Fri, 19 Jan 1996 18:03:04 +0000 (18:03 +0000)] 
* debug.h (enum debug_type_kind): Add DEBUG_KIND_ILLEGAL.
(struct debug_write_fns): Add field ellipsis_type.  Add id
parameter to start_struct_type, start_class_type, and tag_type.
(debug_make_ellipsis_type): Declare.
(debug_find_named_type): Declare.
(debug_get_type_kind): Declare.
(debug_get_return_type): Declare.
(debug_get_parameter_types): Declare.
(debug_get_fields): Declare.
(debug_get_field_type): Declare.
* debug.c (struct debug_handle): Add fields class_id and base_id.
(struct debug_class_type): Add field id.
(struct debug_method_variant): Rename argtypes to physname.
Change all uses.
(debug_ellipsis_type): New static variable.
(ELLIPSIS_P): New macro.
(debug_make_ellipsis_type): New function.
(debug_make_method_variant): Rename argtypes to physname.
(debug_make_static_method_variant): Likewise.
(debug_name_type): Always put types in the global namespace.
(debug_find_named_type): New function.
(debug_find_tagged_type): Treat DEBUG_KIND_ILLEGAL specially,
rather than DEBUG_KIND_VOID.
(debug_get_real_type): New static function.
(debug_get_type_kind): New function.
(debug_get_return_type): New function.
(debug_get_parameter_types): New function.
(debug_get_fields): New function.
(debug_get_field_type): New function.
(debug_write): Initialize base_id.
(debug_write_type): Pass new id argument to tag_type.  Handle
DEBUG_KIND_ILLEGAL.  Use id for DEBUG_KIND_STRUCT and
DEBUG_KIND_UNION.  Handle ellipsis for method arguments.
(debug_write_class_type): Don't dereference kclass if it is NULL.
Use id.
* prdbg.c (pr_fns): Add pr_ellipsis_type.
(pr_ellipsis_type): New static function.
(pr_pointer_type): If this is a pointer to an array, parenthesize
it correctly.
(pr_start_struct_type): Add id parameter.
(pr_start_class_type): Likewise.
(pr_tag_type): Likewise.
(pr_fix_visibility): Add the visibility to the top of the stack,
not the second element on the stack.
(pr_struct_field): Pop the stack before calling pr_fix_visibility.
(pr_class_static_member): Likewise.
(pr_class_start_method): Don't push a type, just set the method
name in the type on the top of the stack.
(pr_class_end_method): Don't pop the stack.
(pr_class_method_variant): Rename argtypes parameter to physname.
Append const and volatile rather than prepending them.  Add a
space after the physname.
(pr_class_static_method_variant): Likewise.
* ieee.c (ieee_fns): Add ieee_ellipsis_type.
(ieee_define_named_type): Use DEBUG_KIND_ILLEGAL rather than
DEBUG_KIND_VOID.
(write_ieee_debugging_info): Likewise.
(ieee_typdef): Likewise.
(ieee_ellipsis_type): New static function.
(ieee_start_struct_type): Add id parameter.
(ieee_start_class_type): Likewise.
(ieee_tag_type): Likewise.
(ieee_class_method_variant): Rename name to physname.
(ieee_class_static_method_variant): Likewise.

28 years ago * hp300ux-nat.c (getpagesize): Remove unused function
Fred Fish [Fri, 19 Jan 1996 15:36:24 +0000 (15:36 +0000)] 
* hp300ux-nat.c (getpagesize): Remove unused function
  fetch_core_registers.
(hp300ux_core_fns):  Remove, is unused.
(_initialize_core_hp300ux):  Remove, is unused.
(gdbcore.h):  Remove #include, no longer needed.

28 years ago * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
Jeff Law [Fri, 19 Jan 1996 08:00:39 +0000 (08:00 +0000)] 
* rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
ptrace bug in aix4.1.3 on the rs6000.
Fixes inferior function call problem on rs6000-ibm-aix4.

28 years agoNumerous PowerPC PE fixes
Kim Knuttila [Fri, 19 Jan 1996 00:16:31 +0000 (00:16 +0000)] 
Numerous PowerPC PE fixes

28 years agoChanged alignment on .pdata and .reldata
Kim Knuttila [Thu, 18 Jan 1996 23:03:48 +0000 (23:03 +0000)] 
Changed alignment on .pdata and .reldata

28 years agoChanged section orders for alignment purposes
Kim Knuttila [Thu, 18 Jan 1996 22:48:53 +0000 (22:48 +0000)] 
Changed section orders for alignment purposes

28 years ago * elfcore.h: Include <signal.h> before <sys/procfs.h>.
Ian Lance Taylor [Thu, 18 Jan 1996 22:42:41 +0000 (22:42 +0000)] 
* elfcore.h: Include <signal.h> before <sys/procfs.h>.
PR 8807.

28 years ago * demangle.h (cplus_demangle_opname): Change opname parameter to
Ian Lance Taylor [Thu, 18 Jan 1996 16:33:36 +0000 (16:33 +0000)] 
* demangle.h (cplus_demangle_opname): Change opname parameter to
const char *.
(cplus_mangle_opname): Change return type and opname parameter to
const char *.

28 years agoFix typo in comment.
Fred Fish [Wed, 17 Jan 1996 22:29:53 +0000 (22:29 +0000)] 
Fix typo in comment.

28 years ago* srconv.c (wr_du): Set du.stackfrmt to 0.
J.T. Conklin [Wed, 17 Jan 1996 22:27:12 +0000 (22:27 +0000)] 
* srconv.c (wr_du): Set du.stackfrmt to 0.
(wr_un, wr_sc): Emit all sections, even those with 0 size.

28 years ago * remote-hms.c (hms_ops): Add value for to_thread_alive.
Stan Shebs [Wed, 17 Jan 1996 21:26:28 +0000 (21:26 +0000)] 
* remote-hms.c (hms_ops): Add value for to_thread_alive.
* remote-nindy.c (nindy_ops): Ditto.
* remote-udi.c (udi_ops): Ditto.
PR 8839.

28 years agoRemove temporary file when finished.
Jeff Law [Wed, 17 Jan 1996 21:16:59 +0000 (21:16 +0000)] 
Remove temporary file when finished.

28 years agoThere's some question as to whether this stuff is NDA'd in the Ultrasparc
David Edelsohn [Wed, 17 Jan 1996 20:50:32 +0000 (20:50 +0000)] 
There's some question as to whether this stuff is NDA'd in the Ultrasparc
Early Access Program agreement.  Sanitize v8plus stuff out for now.

28 years ago * cpu-powerpc.c (arch_info_struct): Change last entry to not point
Ian Lance Taylor [Wed, 17 Jan 1996 17:48:30 +0000 (17:48 +0000)] 
* cpu-powerpc.c (arch_info_struct): Change last entry to not point
back to first.
(bfd_powerpc_arch): Point at first entry in arch_info_struct.

28 years ago(EM_SPARC32PLUS): Define.
David Edelsohn [Wed, 17 Jan 1996 17:13:25 +0000 (17:13 +0000)] 
(EM_SPARC32PLUS): Define.
I have a question outstanding to Sun regarding EM_SPARC64.

28 years agoNew file.
David Edelsohn [Wed, 17 Jan 1996 17:10:32 +0000 (17:10 +0000)] 
New file.
(Also delete arc.h ChangeLog entry, it's still sanitized).

28 years ago* srconv.c (wr_hd): Space size within segment was being
J.T. Conklin [Wed, 17 Jan 1996 00:17:13 +0000 (00:17 +0000)] 
* srconv.c (wr_hd): Space size within segment was being
stored in segment identifier field.

28 years agoFix sanitize problems with new file ChangeLog-95.
Jim Wilson [Tue, 16 Jan 1996 22:40:45 +0000 (22:40 +0000)] 
Fix sanitize problems with new file ChangeLog-95.

28 years ago * elf.c (assign_file_positions_for_segments): Don't increment file
Ian Lance Taylor [Tue, 16 Jan 1996 20:53:04 +0000 (20:53 +0000)] 
* elf.c (assign_file_positions_for_segments): Don't increment file
offset for a segment which contains no loadable sections.

28 years ago * ldgram.y (%union): Add phdr field.
Ian Lance Taylor [Tue, 16 Jan 1996 20:51:22 +0000 (20:51 +0000)] 
* ldgram.y (%union): Add phdr field.
(phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at.
(phdr_qualifiers): New nonterminal.  Add support for FLAGS.
(opt_hdrs, hdr): Remove.
(phdr_val): New nonterminal.
* ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr
and phdrs parameters.  Add flags parameter.
(lang_record_phdrs): Update for changes to lang_phdr.  Pass flags
to bfd_record_phdr.
* ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and
phdrs fields.  Add flags field.
(LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove.
(lang_new_phdr): Update declaration.
* ld.texinfo: Document FLAGS.

28 years agoRemove SH3e sanitization.
Jim Wilson [Tue, 16 Jan 1996 20:18:32 +0000 (20:18 +0000)] 
Remove SH3e sanitization.

28 years agoRemove sh3e sanitization. Keep sh3e files.
Jim Wilson [Tue, 16 Jan 1996 20:16:41 +0000 (20:16 +0000)] 
Remove sh3e sanitization.  Keep sh3e files.

28 years agoRemove SH3e sanitization.
Jim Wilson [Tue, 16 Jan 1996 20:13:27 +0000 (20:13 +0000)] 
Remove SH3e sanitization.

28 years agoKeep SH3e testsuite.
Jim Wilson [Tue, 16 Jan 1996 20:12:24 +0000 (20:12 +0000)] 
Keep SH3e testsuite.

28 years ago * mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG,
Stan Shebs [Tue, 16 Jan 1996 20:12:17 +0000 (20:12 +0000)] 
* mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG,
BUILD_DLLTOOL): Put definitions for these into makefile when
configuring, instead of always clearing in mpw-make.sed.
* mpw-make.sed: Edit out any host_alias or target_alias settings,
fix pathname to BFD internal include files, remove dependency
calculation rules.

28 years agoRemove sh3e sanitization.
Jim Wilson [Tue, 16 Jan 1996 19:59:48 +0000 (19:59 +0000)] 
Remove sh3e sanitization.

28 years agoDelete obsolete SH3e sanitization.
Jim Wilson [Tue, 16 Jan 1996 19:55:27 +0000 (19:55 +0000)] 
Delete obsolete SH3e sanitization.

28 years ago * Makefile.in (CLIBS): Add LIBS to allow libraries to be
Stu Grossman [Tue, 16 Jan 1996 19:53:13 +0000 (19:53 +0000)] 
* Makefile.in (CLIBS):  Add LIBS to allow libraries to be
specified on the make command line (via make LIBS=xxx).
start-sanitize-gm
* configure.in (enable-gm):  magic.o -> gmagic.o.
end-sanitize-gm

28 years agoTue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Tue, 16 Jan 1996 18:24:44 +0000 (18:24 +0000)] 
Tue Jan 16 18:00:35 1996  James G. Smith  <jsmith@cygnus.co.uk>

* remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
  pmon_checkset, pmon_make_fastrec, pmon_check_ack,
pmon_load_fast): New functions. Support for the PMON monitor world.
(common_open): New function to merge support for different monitors.
(mips_open): Use common_open().
(mips_send_command): New function.
(mips_send_packet): Scan out-of-sequence packets.
(mips_enter_debug, mips_exit_debug): New functions.
(pmon_ops): New target definition structure.

These changes provide the initial support for the PMON (3.0.83)
monitor that appears on the Cogent (CMA101) Vr4300 development
board. The changes do not affect the IDT monitor support, other than
in the area of dealing with out-of-sequence packets.

28 years agoMake {add to,subtract from} minus one; Make -t alu work better
Michael Meissner [Tue, 16 Jan 1996 16:21:17 +0000 (16:21 +0000)] 
Make {add to,subtract from} minus one; Make -t alu work better

28 years ago * binutils-all/objcopy.exp: Use the lma, not the vma, when testing
Ian Lance Taylor [Mon, 15 Jan 1996 23:14:52 +0000 (23:14 +0000)] 
* binutils-all/objcopy.exp: Use the lma, not the vma, when testing
address adjustments.

28 years agoAdd new PPC relocations
Michael Meissner [Mon, 15 Jan 1996 22:50:07 +0000 (22:50 +0000)] 
Add new PPC relocations

28 years agoAdd more relocation suffixes
Michael Meissner [Mon, 15 Jan 1996 22:46:10 +0000 (22:46 +0000)] 
Add more relocation suffixes

28 years ago * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation):
Ian Lance Taylor [Mon, 15 Jan 1996 22:38:22 +0000 (22:38 +0000)] 
* emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation):
Don't make a shared library because of an undefined reference to
__GLOBAL_OFFSET_TABLE_.

28 years ago * aoutx.h (howto_table_ext): Fix RELOC_BASE10 and RELOC_BASE22
Ian Lance Taylor [Mon, 15 Jan 1996 22:37:16 +0000 (22:37 +0000)] 
* aoutx.h (howto_table_ext): Fix RELOC_BASE10 and RELOC_BASE22
entries.

28 years ago * sunos.c (sunos_scan_ext_relocs): Don't fail assert if
Ian Lance Taylor [Mon, 15 Jan 1996 22:00:38 +0000 (22:00 +0000)] 
* sunos.c (sunos_scan_ext_relocs): Don't fail assert if
        info->shared.

28 years agoupdate copyrights
Ian Lance Taylor [Mon, 15 Jan 1996 21:06:31 +0000 (21:06 +0000)] 
update copyrights

28 years ago * coffgen.c (coff_find_nearest_line): Don't try to cache
Ian Lance Taylor [Mon, 15 Jan 1996 20:47:32 +0000 (20:47 +0000)] 
* coffgen.c (coff_find_nearest_line): Don't try to cache
information in sections that are not owned by a BFD.  From Richard
Henderson <richard@atheist.tamu.edu>.

28 years ago * elf32-mips.c: Numerous changes to dynamic linking code, mostly
Ian Lance Taylor [Mon, 15 Jan 1996 20:25:53 +0000 (20:25 +0000)] 
* elf32-mips.c: Numerous changes to dynamic linking code, mostly
from Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>.
* elflink.h (elf_link_output_extsym): Remove special check for
_rld_new_interface.

28 years ago Add some Irix 5 support, mostly from Kazumoto Kojima
Ian Lance Taylor [Mon, 15 Jan 1996 20:13:04 +0000 (20:13 +0000)] 
Add some Irix 5 support, mostly from Kazumoto Kojima
        <kkojima@info.kanagawa-u.ac.jp>:
* emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips.
(SHLIB_TEXT_START_ADDR): Define.
(OTHER_GOT_SYMBOLS): Define.
(OTHER_READWRITE_SECTIONS): Remove initialization of _gp.
(EXECUTABLE_SYMBOLS): Don't define.
(DYNAMIC_LINK): Don't define.
* emulparams/elf32lmip.sh: Same changes as elf32bmip.sh.
* scripttempl/elfmips.sc: New file.
* configure.host (mips*-dec-bsd*): Change mips to mips*.
(mips*-sgi-irix4*): Likewise.
(mips*-sgi-irix5*): New entry.
* Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than
elf.sc.
(eelf32lmip.c): Likewise.

28 years ago * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
Ian Lance Taylor [Mon, 15 Jan 1996 20:06:43 +0000 (20:06 +0000)] 
* ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
when doing the --static test.
* ld-shared/shared.exp: Run tests on mips*-*-irix5*.

28 years ago * ecoffswap.h: Add prototypes for static functions.
Ian Lance Taylor [Mon, 15 Jan 1996 19:32:08 +0000 (19:32 +0000)] 
* ecoffswap.h: Add prototypes for static functions.

28 years ago * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
Fred Fish [Mon, 15 Jan 1996 18:34:28 +0000 (18:34 +0000)] 
* gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
[] tests with "test" and enclose string in quotes.
* gdb.stabs/configure: Rebuild

28 years ago * gdb.stabs/configure (alpha-*-*,mips-*-*): Add missing
Fred Fish [Mon, 15 Jan 1996 17:35:05 +0000 (17:35 +0000)] 
* gdb.stabs/configure (alpha-*-*,mips-*-*): Add missing
"test" and enclose string in quotes.

28 years ago * Makefile.in (CONFIGURE_TARGET_MODULES): Add missing ';'.
Fred Fish [Mon, 15 Jan 1996 07:04:36 +0000 (07:04 +0000)] 
* Makefile.in (CONFIGURE_TARGET_MODULES): Add missing ';'.

28 years agoRedo unknown reloc support. Do not allow symbols in .sdata/.sbss to satify a TOC16...
Michael Meissner [Mon, 15 Jan 1996 02:41:58 +0000 (02:41 +0000)] 
Redo unknown reloc support.  Do not allow symbols in .sdata/.sbss to satify a TOC16 relocation.  Begin support R_PPC_SDA{2,}REL relocation.

28 years agoAllow .gcc_except_table to have unfixed pointers with -mrelocatable
Michael Meissner [Mon, 15 Jan 1996 02:34:07 +0000 (02:34 +0000)] 
Allow .gcc_except_table to have unfixed pointers with -mrelocatable

28 years agoMake elf section functions ELF specific
Michael Meissner [Sat, 13 Jan 1996 16:10:33 +0000 (16:10 +0000)] 
Make elf section functions ELF specific

28 years agoAdd .rela.got.neg section; remove .rel.* sections
Michael Meissner [Sat, 13 Jan 1996 14:44:48 +0000 (14:44 +0000)] 
Add .rela.got.neg section; remove .rel.* sections

28 years agoWarn about relocations we do not yet support
Michael Meissner [Sat, 13 Jan 1996 14:40:50 +0000 (14:40 +0000)] 
Warn about relocations we do not yet support

28 years ago * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
Jeff Law [Sat, 13 Jan 1996 04:43:38 +0000 (04:43 +0000)] 
    * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
        is set but there are no psymtabs.

28 years ago * dsrec.c (load_srec): Remove unused variable.
Steve Chamberlain [Sat, 13 Jan 1996 00:21:55 +0000 (00:21 +0000)] 
* dsrec.c (load_srec): Remove unused variable.
monitor.c (monitor_expect): Don't expect a ^C to echo.
* serial.c (serial_open): Add parallel interface.
* sh3-rom.c (parallel, parallel_in_use): New.
(sh3_load): If parallel_in_use, download though the
parallel port.
(sh3_open): Open parallel port if specified.
(sh3_close): New function.
(_inititalize_sh3): Add sh3_close hook and documentation.
* monitor.c (monitor_close): Export.
* monitor.h (monitor_close): Add prototype.

28 years ago * scripttempl/sh.sc: Only build constructors when CONSTRUCTING.
Ian Lance Taylor [Fri, 12 Jan 1996 23:43:24 +0000 (23:43 +0000)] 
* scripttempl/sh.sc: Only build constructors when CONSTRUCTING.

28 years ago From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
Stan Shebs [Fri, 12 Jan 1996 23:31:13 +0000 (23:31 +0000)] 
From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
* remote.c (remotetimeout): New GDB variable, use to set the
remote timeout for reading.
PR 8791.

28 years ago * elf.c (assign_file_positions_for_segments): If a segment
Ian Lance Taylor [Fri, 12 Jan 1996 22:47:04 +0000 (22:47 +0000)] 
* elf.c (assign_file_positions_for_segments): If a segment
contains no sections, don't mark it as readable.

28 years ago * subsegs.c (section_symbol): Don't try to look up the section
Ian Lance Taylor [Fri, 12 Jan 1996 21:11:43 +0000 (21:11 +0000)] 
* subsegs.c (section_symbol): Don't try to look up the section
symbol in the hash table.  It should be possible to have a symbol
with the same name as a section, but no connection to it.

28 years ago * elf-bfd.h (_bfd_elf_section_from_bfd_section): Declare.
Ian Lance Taylor [Fri, 12 Jan 1996 20:48:14 +0000 (20:48 +0000)] 
* elf-bfd.h (_bfd_elf_section_from_bfd_section): Declare.
* elfcode.h (_bfd_elf_section_from_bfd_section): Don't declare.

28 years agotweak last change
Ian Lance Taylor [Fri, 12 Jan 1996 20:46:22 +0000 (20:46 +0000)] 
tweak last change

28 years agoAdd support for exclude section flag and ordered section type
Michael Meissner [Fri, 12 Jan 1996 20:35:38 +0000 (20:35 +0000)] 
Add support for exclude section flag and ordered section type

28 years agoAdd PowerPC support for SHF_EXCLUDE, SHT_ORDERED
Michael Meissner [Fri, 12 Jan 1996 20:31:05 +0000 (20:31 +0000)] 
Add PowerPC support for SHF_EXCLUDE, SHT_ORDERED

28 years ago * configure.in: Make sure that ${CC} can be used to compile an
Ian Lance Taylor [Fri, 12 Jan 1996 20:26:05 +0000 (20:26 +0000)] 
* configure.in: Make sure that ${CC} can be used to compile an
executable.

28 years ago * ldmisc.c: Include <stdarg.h> rather than <varargs.h> if
Ian Lance Taylor [Fri, 12 Jan 1996 20:01:17 +0000 (20:01 +0000)] 
* ldmisc.c: Include <stdarg.h> rather than <varargs.h> if
ANSI_PROTOTYPES is defined.  Remove special handling of
WINDOWS_NT.  Various indendation fixes.
(vfinfo): Change fmt parameter to const char *.
(info_msg): Write <stdarg.h> version.
(einfo, minfo, finfo): Likewise.
(info_assert): Change file parameter to const char *.
* ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is
defined, use a real prototype.
(info_assert): Change first parameter to be const char *.

28 years agoFri Jan 12 14:35:58 1996 David Mosberger-Tang <davidm@AZStarNet.com>
Ian Lance Taylor [Fri, 12 Jan 1996 19:37:58 +0000 (19:37 +0000)] 
Fri Jan 12 14:35:58 1996  David Mosberger-Tang  <davidm@AZStarNet.com>

* alpha-opc.h (alpha_insn_set): VAX floating point opcode was
  incorrectly defined as 0x16 when it should be 0x15.
(FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits!
(alpha_insn_set): added cvtst and cvttq float ops.  Also added
  excb (exception barrier) which is defined in the Alpha
  Architecture Handbook version 2.
* alpha-dis.c (print_insn_alpha): Fixed special-case decoding for
  OPERATE_FORMAT_CODE type instructions.  The bug caused mulq to be
  disassembled as or, for example.

28 years ago * elf.c (_bfd_elf_print_private_bfd_data): Dump contents of
Ian Lance Taylor [Fri, 12 Jan 1996 19:13:49 +0000 (19:13 +0000)] 
* elf.c (_bfd_elf_print_private_bfd_data): Dump contents of
dynamic section, if there is one.
* elf-bfd.h (struct elf_size_info): Add swap_dyn_in field.
(bfd_elf32_swap_dyn_in): Change type of second parameter to PTR.
(bfd_elf64_swap_dyn_in): Likewise.
* elfcode.h (elf_swap_dyn_in): Change type of second parameter to
PTR.
(NAME(_bfd_elf,size_info)): Initialize swap_dyn_in field.

28 years ago * elf32-i386.c (elf_i386_size_dynamic_sections): Don't create a
Ian Lance Taylor [Fri, 12 Jan 1996 19:00:18 +0000 (19:00 +0000)] 
* elf32-i386.c (elf_i386_size_dynamic_sections): Don't create a
DT_TEXTREL entry because of .rel.plt.  From Martin Pirker
<pirker@eiunix.tuwien.ac.at>.

28 years agoAdd support for .sdata2/.sbss2 and old 2.7.2 compiler; Make text start at 64k; make...
Michael Meissner [Fri, 12 Jan 1996 18:37:47 +0000 (18:37 +0000)] 
Add support for .sdata2/.sbss2 and old 2.7.2 compiler; Make text start at 64k; make data follow on next 64k page after text

28 years ago * read.c (cons_worker): Only call mri_comment_end from flag_mri.
Ian Lance Taylor [Fri, 12 Jan 1996 17:10:24 +0000 (17:10 +0000)] 
* read.c (cons_worker): Only call mri_comment_end from flag_mri.
From James Carlson <carlson@xylogics.com>.

28 years ago * expr.c (operand): Skip whitespace after a close parenthesis.
Ian Lance Taylor [Fri, 12 Jan 1996 17:07:04 +0000 (17:07 +0000)] 
* expr.c (operand): Skip whitespace after a close parenthesis.
From James Carlson <carlson@xylogics.com>.

28 years ago * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
Fred Fish [Fri, 12 Jan 1996 16:01:29 +0000 (16:01 +0000)] 
* lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
to get "struct core_fns" defined.
* Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
  Are dependant upon gdbcore_h.

28 years ago * symfile.c (decrement_reading_symtab): New function.
Per Bothner [Fri, 12 Jan 1996 07:16:20 +0000 (07:16 +0000)] 
* symfile.c (decrement_reading_symtab):  New function.
* symfile.c, symtab.h (currently_reading_symtab):  New variable.
* symfile.c (psymtab_to_symtab):  Adjust currently_reading_symtab.
* gdbtypes.c (check_typedef):  Don't call lookup_symbol if
currently_reading_symtab (since that could infinitely recurse).
This fixes PR chill/8793.

28 years ago * stabsread.c (read_struct_type): Trivial simplification.
Per Bothner [Fri, 12 Jan 1996 07:12:42 +0000 (07:12 +0000)] 
* stabsread.c (read_struct_type):  Trivial simplification.

* valops.c (call_function_by_hand):  Use invisible references
for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.

28 years ago * xcofflink.c (xcoff_link_add_symbols): Create the special
Ian Lance Taylor [Fri, 12 Jan 1996 04:29:59 +0000 (04:29 +0000)] 
* xcofflink.c (xcoff_link_add_symbols): Create the special
sections if we see a DYNAMIC object, in case that is the only
XCOFF input object we see.
PR 8788.

28 years ago * Makefile.in (PROGS): Removed.
Per Bothner [Fri, 12 Jan 1996 01:37:28 +0000 (01:37 +0000)] 
* Makefile.in (PROGS):  Removed.
(clean mostlyclean):  Remove *.exe rather than ${PROGS}.

28 years ago * pr-8742.ch, pr-8742.exp: New test case.
Per Bothner [Fri, 12 Jan 1996 01:35:30 +0000 (01:35 +0000)] 
* pr-8742.ch, pr-8742.exp:  New test case.

28 years ago * stabsread.c (define-symbol): Use invisible references
Per Bothner [Fri, 12 Jan 1996 01:31:37 +0000 (01:31 +0000)] 
* stabsread.c (define-symbol):  Use invisible references
for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
* eval.c (evaluate_subexp_standard):  When known, use the formal
parameter type as the expected type when evaluating arg expressions.
* ch-lang.c (evaluate_subexp_chill):  Likewise (for MULTI_SUBSCRIPT).
This (with a fix to gcc/config/sparc/sparc.h) fixes PR chill/8742.

28 years agoupdate copyright
Michael Meissner [Thu, 11 Jan 1996 22:50:52 +0000 (22:50 +0000)] 
update copyright

28 years agoAdd support for SHT_ORDERED and SHF_EXCLUDE
Michael Meissner [Thu, 11 Jan 1996 22:47:04 +0000 (22:47 +0000)] 
Add support for SHT_ORDERED and SHF_EXCLUDE

28 years agofix crinfo swapping
Ian Lance Taylor [Thu, 11 Jan 1996 21:42:22 +0000 (21:42 +0000)] 
fix crinfo swapping

28 years agoAdd new V.4 flags
Michael Meissner [Thu, 11 Jan 1996 21:41:01 +0000 (21:41 +0000)] 
Add new V.4 flags

28 years ago * elf32-mips.c: Extensive changes for a start at dynamic linking
Ian Lance Taylor [Thu, 11 Jan 1996 21:06:42 +0000 (21:06 +0000)] 
* elf32-mips.c: Extensive changes for a start at dynamic linking
support, from Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>.

* elf-bfd.h (struct elf_backend_data): Add type_change_ok field.
(struct elf_backend_data): Remove
elf_backend_create_program_headers field.  Add
elf_backend_additional_program_headers and
elf_backend_modify_segment_map fields.
* elfxx-target.h (elf_backend_type_change_ok): Define if not
defined.
(elf_backend_additional_program_headers): Likewise.
(elf_backend_modify_segment_map): Likewise.
(elf_backend_create_program_headers): Don't define.
(elfNN_bed): Change to account for field changes.
* elf.c (assign_file_positions_for_segments): Call new
modify_segment_map backend function.  Don't call old
create_program_headers backend function.
(get_program_header_size): Call additional_program_headers rather
than create_program_headers.
* elflink.h (elf_link_add_object_symbols): Initialize
type_change_ok from new backend field.
(elf_link_output_extsym): Don't warn if _rld_new_interface is
defined.
(elf_reloc_link_order): Treat a reloc against a defined symbol as
a reloc against the appropriate section.

28 years agoForget to add low-linux.c during recent checkins.
Fred Fish [Thu, 11 Jan 1996 20:10:24 +0000 (20:10 +0000)] 
Forget to add low-linux.c during recent checkins.

28 years ago * coredep.c: Renamed to core-aout.c
Fred Fish [Thu, 11 Jan 1996 20:08:15 +0000 (20:08 +0000)] 
* coredep.c: Renamed to core-aout.c
* core-svr4.c: Renamed to core-regset.c
* Makefile.in (ALLDEPFILES): Account for renamings.
* corelow.c (core_file_fns): Add, points to chain of structs.
(add_core_fns): New function to build chain of structs.
(get_core_registers): Modify to search core functions chain and call
  appropriate fetch_core_registers function based on core file flavour.
* gdbcore.h (fetch_core_registers):  Remove declaration.
(struct core_fns): Define struct for core function info.
* i386m3-nat.c: Update comment for filename change (coredep->core-aout)
* a68v-nat.c (fetch_core_registers): Remove stub, not needed now.
* alpha-nat.c (fetch_core_registers): Make static.
(alpha_core_fns, _initialize_core_alpha): New struct and func.
* core-aout.c (fetch_core_registers): Make static
(aout_core_fns, _initialize_core_aout): New struct and func.
* core-regset.c (fetch_core_registers): Make static.
(regset_core_fns, _initialize_core_regset): New struct and func.
* core-sol2.c (fetch_core_registers): Make static.
(solaris_core_fns, _initialize_core_solaris): New struct and func.
* hp300ux-nat.c (fetch_core_registers): Make static.
(hp300ux_core_fns, _initialize_core_hp300ux): New struct and func.
* i386aix-nat.c (fetch_core_registers): Make static.
(i386aix_core_fns, _initialize_core_i386aix): New struct and func.
* i386mach-nat.c (fetch_core_registers: Make static.
(i386mach_core_fns, _initialize_core_i386mach): New struct and func.
* irix4-nat.c (fetch_core_registers): Make static.
(irix4_core_fns, _initialize_core_irix4): New struct and func.
* irix5-nat.c (fetch_core_registers):
(irix5_core_fns, _initialize_core_irix5): New struct and func.
* lynx-nat.c (fetch_core_registers): Make static.
(lynx_core_fns, _initialize_core_lynx): New struct and func.
* mips-nat.c (fetch_core_registers): Make static.
(mips_core_fns, _initialize_core_mips): New struct and func.
* ns32km3-nat.c (fetch_core_registers): Remove stub.
* rs6000-nat.c (fetch_core_registers): Make static.
(rs6000_core_fns, _initialize_core_rs6000): New struct and func.
* sparc-nat.c (fetch_core_registers): Make static.
(sparc_core_fns, _initialize_core_sparc): New struct and func.
* sun3-nat.c (fetch_core_registers):
(sun3_core_fns, _initialize_core_sun3): New struct and func.
* sun386-nat.c (fetch_core_registers): Remove stub.
* ultra3-nat.c (fetch_core_registers): Make static.
(ultra3_core_fns, _initialize_core_ultra3): New struct and func.
* config/gould/pn.mh (XDEPFILES),
  config/i386/fbsd.mh (NATDEPFILES),
config/i386/i386bsd.mh (NATDEPFILES),
  config/i386/i386m3.mh (XDEPFILES),
config/i386/i386sco.mh (NATDEPFILES),
config/i386/i386sco4.mh (NATDEPFILES),
config/i386/i386v.mh (NATDEPFILES),
config/i386/i386v32.mh (NATDEPFILES),
config/i386/nbsd.mh (NATDEPFILES),
config/i386/ptx.mh (XDEPFILES),
config/i386/ptx4.mh (XDEPFILES),
config/i386/symmetry.mh (NATDEPFILES),
config/m68k/3b1.mh (XDEPFILES),
config/m68k/cisco.mt (TDEPFILES),
config/m68k/delta68.mh (NATDEPFILES),
config/m68k/dpx2.mh (NATDEPFILES),
config/m68k/hp300bsd.mh (NATDEPFILES),
config/m68k/hp300hpux.mh (NATDEPFILES),
config/m68k/isi.mh (XDEPFILES),
config/m68k/news.mh (NATDEPFILES),
config/m68k/news1000.mh (XDEPFILES),
config/m88k/cxux.mh (NATDEPFILES),
config/m88k/delta88.mh (NATDEPFILES),
config/mips/littlemips.mh (XDEPFILES),
config/mips/mipsm3.mh (XDEPFILES),
config/ns32k/merlin.mh (XDEPFILES),
config/ns32k/nbsd.mh (NATDEPFILES),
config/ns32k/ns32km3.mh (NATDEPFILES),
config/pa/hppabsd.mh (NATDEPFILES),
config/pa/hppahpux.mh (NATDEPFILES),
config/romp/rtbsd.mh (XDEPFILES),
config/tahoe/tahoe.mh (XDEPFILES),
config/vax/vaxbsd.mh (XDEPFILES),
config/vax/vaxult.mh (NATDEPFILES),
config/vax/vaxult2.mh (NATDEPFILES),
Account for coredep.o to core-aout.o name change.
* config/i386/i386dgux (NATDEPFILES),
config/i386/i386sol2.mh (NATDEPFILES),
config/i386/i386v4.mh (NATDEPFILES),
config/i386/linux.mh (NATDEPFILES),
config/i386/ncr3000.mh (NATDEPFILES),
config/m68k/m68kv4.mh (NATDEPFILES),
config/m88k/delta88v4.mh (NATDEPFILES),
config/mips/mipsv4.mh (NATDEPFILES),
Account for core-svr4.o to core-regset.o name change.

28 years agooops, forgot the sanitize files for the aix4* changes
Brendan Kehoe [Thu, 11 Jan 1996 18:07:03 +0000 (18:07 +0000)] 
oops, forgot the sanitize files for the aix4* changes

28 years ago * objcopy.c (filter_symbols): NULL terminate the output symbols.
Ian Lance Taylor [Thu, 11 Jan 1996 17:34:12 +0000 (17:34 +0000)] 
* objcopy.c (filter_symbols): NULL terminate the output symbols.
(copy_object): Allocate space for a possible extra NULL pointer.

28 years ago * ieee.c (ieee_enum_type): Handle an undefined enum.
Ian Lance Taylor [Thu, 11 Jan 1996 17:33:47 +0000 (17:33 +0000)] 
* ieee.c (ieee_enum_type): Handle an undefined enum.

28 years ago * debug.c (debug_make_undefined_tagged_type): Make sure we are
Ian Lance Taylor [Thu, 11 Jan 1996 16:47:10 +0000 (16:47 +0000)] 
* debug.c (debug_make_undefined_tagged_type): Make sure we are
given a kind of type we can handle.
(debug_write_type): Handle undefined enums and structs.
(debug_write_class_type): Handle undefined classes.
* prdbg.c (pr_enum_type): Handle an undefined enum.
Also comment changes to debug.h.

28 years ago * elf-bfd.h (struct bfd_elf_section_data): Add tdata field.
Ian Lance Taylor [Thu, 11 Jan 1996 16:27:24 +0000 (16:27 +0000)] 
* elf-bfd.h (struct bfd_elf_section_data): Add tdata field.
(struct elf_obj_tdata): Rename ppc_flags_init field to flags_init.
(elf_flags_init): Rename from elf_ppc_flags_init.
* elf32-ppc.c (ppc_elf_set_private_flags): Use elf_flags_init, not
elf_ppc_flags_init.
(ppc_elf_copy_private_bfd_data): Likewise.
(ppc_elf_merge_private_bfd_data): Likewise.

28 years ago * elf32-m68k.c (howto_table): Change src_mask to 0 for all
Ian Lance Taylor [Thu, 11 Jan 1996 16:24:39 +0000 (16:24 +0000)] 
* elf32-m68k.c (howto_table): Change src_mask to 0 for all
relocation entries.

28 years ago Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
Brendan Kehoe [Thu, 11 Jan 1996 00:16:56 +0000 (00:16 +0000)] 
Wed Jan 10 16:08:49 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>

* configure.in, configure: Recognize rs6000-*-aix4*.
* config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
* config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
* config/rs6000/xm-aix4.h: New file.
* config/xm-aix4.h: New file.

 From the Mentor work...enable configure & build on rs6000-ibm-aix4.1.*.
Note this is an unbelievably buggy debugger on this host.

28 years ago * Makefile.in: (ALLOCA, MALLOC): Remove variables.
Ian Lance Taylor [Wed, 10 Jan 1996 20:43:39 +0000 (20:43 +0000)] 
* Makefile.in: (ALLOCA, MALLOC): Remove variables.
(ADDL_LIBS): Remove $(MALLOC) from definition.
* alloca.c, gmalloc.c: Remove.

28 years agoLatest changes from Andrew
Michael Meissner [Wed, 10 Jan 1996 20:42:29 +0000 (20:42 +0000)] 
Latest changes from Andrew

28 years ago * Makefile.in: Updated dependencies.
Ian Lance Taylor [Wed, 10 Jan 1996 20:33:36 +0000 (20:33 +0000)] 
* Makefile.in: Updated dependencies.

This page took 0.041082 seconds and 4 git commands to generate.