binutils-gdb.git
29 years ago * emultempl/miposecoff.em: New file.
Ian Lance Taylor [Fri, 2 Dec 1994 22:28:09 +0000 (22:28 +0000)]
* emultempl/miposecoff.em: New file.
* emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff.
* emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise.
* scripttempl/mips.sc: Put .rel.sdata sections in .text, and
provide __runtime_reloc_start and __runtime_reloc_stop if they are
used.   Align _fdata to a 16 byte boundary.
* Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than
generic.em.
(emipsidtl.c): Likewise.
(check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest.

29 years ago * ld.h (args_type): Add new field embedded_relocs.
Ian Lance Taylor [Fri, 2 Dec 1994 22:25:50 +0000 (22:25 +0000)]
* ld.h (args_type): Add new field embedded_relocs.
* ldemul.h (ldemul_after_open, after_open_default): Declare.
(ld_emulation_xfer_struct): Add new field after_open.
* ldemul.c (ldemul_after_open): New function.
(after_open_default): New function.
* ldlang.c (lang_process): Call ldemul_after_open.
* lexsup.c (parse_args): Handle --embedded-relocs.
* emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize
new after_open field to after_open_default.
* emultempl/generic.em, emultempl/gld960.em: Likewise.
* emultempl/gld960c.em, emultempl/hppaelf.em: Likewise.
* emultempl/linux.em, emultempl/m88kbcs.em: Likewise.
* emultempl/sunos.em, emultempl/vanilla.em: Likewise.
* ld.texinfo, ld.1: Mention -embedded-relocs.

29 years ago * parse.c (msymbol_addr_type): Replaced by
Peter Schauer [Fri, 2 Dec 1994 20:55:16 +0000 (20:55 +0000)]
* parse.c (msymbol_addr_type):  Replaced by
lookup_pointer_type (builtin_type_void).

* printcmd.c (_initialize_printcmd):  Give examine_*_type
a name for `ptype $_'.

* printcmd.c (print_formatted): Call val_print_string directly,
rather than via value_print.

29 years ago * gdb.base/a1-selftest.exp: Change initial stepping to know about
Stan Shebs [Fri, 2 Dec 1994 07:17:28 +0000 (07:17 +0000)]
* gdb.base/a1-selftest.exp: Change initial stepping to know about
additional line of code that was added.

29 years agoRemove last remnants of hpread sanitization.
Jeff Law [Fri, 2 Dec 1994 06:42:40 +0000 (06:42 +0000)]
Remove last remnants of hpread sanitization.

29 years ago * somsolib.c (som_solib_get_got_by_pc): New function.
Jeff Law [Thu, 1 Dec 1994 05:34:30 +0000 (05:34 +0000)]
* somsolib.c (som_solib_get_got_by_pc): New function.
* somsolib.h (som_solib_get_got_by_pc): Add extern decl.
* hppa-tdep.c (hppa_fix_call_dummy): Handle case where FUN is the
function's export stub or real address in a shared library.

29 years ago * gdb.disasm/hppa.s: Break the large branching tests into smaller
Jeff Law [Thu, 1 Dec 1994 04:08:29 +0000 (04:08 +0000)]
    * gdb.disasm/hppa.s: Break the large branching tests into smaller
        tests so as not to overflow expect's input buffers.
        * gdb.disasm/hppa.exp: Corresponding changes.

29 years ago * coff-sh.c: Use _bfd_dummy_target instead of no_archive.
Ian Lance Taylor [Wed, 30 Nov 1994 19:14:23 +0000 (19:14 +0000)]
* coff-sh.c: Use _bfd_dummy_target instead of no_archive.

29 years ago * gas/hppa/parse: Renamed from gas/hppa/more.parse.
Jeff Law [Wed, 30 Nov 1994 17:57:29 +0000 (17:57 +0000)]
* gas/hppa/parse: Renamed from gas/hppa/more.parse.

29 years agoMoving into a new directory
Jeff Law [Wed, 30 Nov 1994 17:47:54 +0000 (17:47 +0000)]
Moving into a new directory

29 years ago * Makefile.in: Move -fno-implicit-template from CXXFLAGS
Per Bothner [Wed, 30 Nov 1994 03:37:23 +0000 (03:37 +0000)]
* Makefile.in:  Move -fno-implicit-template from CXXFLAGS
to LIBCXXFLAGS.  Tests are better run without it.

29 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 02:48:31 +0000 (02:48 +0000)]
Initial ARC support.

29 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 02:16:54 +0000 (02:16 +0000)]
Initial ARC support.

29 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 02:06:04 +0000 (02:06 +0000)]
Initial ARC support.

29 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 01:54:43 +0000 (01:54 +0000)]
Initial ARC support.

29 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 01:45:28 +0000 (01:45 +0000)]
Initial ARC support.

29 years ago* config/arc-elf.mt: New file.
David Edelsohn [Wed, 30 Nov 1994 01:35:40 +0000 (01:35 +0000)]
* config/arc-elf.mt: New file.

29 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 01:29:26 +0000 (01:29 +0000)]
Initial ARC support.

29 years agodelete signal handler code (which has been disabled since March 93)
Ken Raeburn [Wed, 30 Nov 1994 01:01:13 +0000 (01:01 +0000)]
delete signal handler code (which has been disabled since March 93)

29 years agoswitch to libiberty version of xmalloc
Ken Raeburn [Wed, 30 Nov 1994 00:56:43 +0000 (00:56 +0000)]
switch to libiberty version of xmalloc

29 years agolog for alpha, sanitize, m68k, rce (sanitized) changes
Ken Raeburn [Tue, 29 Nov 1994 22:30:53 +0000 (22:30 +0000)]
log for alpha, sanitize, m68k, rce (sanitized) changes

29 years ago* config.bfd (i[345]86-*-freebsd*): Use i386-bsd as bfd_name.
J.T. Conklin [Tue, 29 Nov 1994 22:24:39 +0000 (22:24 +0000)]
* config.bfd (i[345]86-*-freebsd*): Use i386-bsd as bfd_name.
* configure.host (i[345]86-*-freebsd*): Use i386bsd as my_host.
CVSn:

29 years ago* config/i386/nbsd.mh (REGEX, REGEX1): No longer define.
J.T. Conklin [Tue, 29 Nov 1994 21:47:48 +0000 (21:47 +0000)]
* config/i386/nbsd.mh (REGEX, REGEX1): No longer define.

* configure.in (i[345]86-*-freebsd*): New configuration.
* config/i386/{fbsd.mh,fbsd.mt,nm-fbsd.h}: New files.

29 years ago * top.c (read_next_line): Pass annotation suffix "commands"
Stan Shebs [Tue, 29 Nov 1994 20:45:13 +0000 (20:45 +0000)]
* top.c (read_next_line): Pass annotation suffix "commands"
instead of "command", matches documentation.

29 years ago* tc-alpha.c (in_range_signed, in_range_unsigned): New routines, split from
Ken Raeburn [Tue, 29 Nov 1994 20:31:40 +0000 (20:31 +0000)]
* tc-alpha.c (in_range_signed, in_range_unsigned): New routines, split from
in_range.
(in_range): Deleted.  All calls changed to in_range_*signed.
(create_lita_section): Macro deleted.  Single use expanded in place.
(alpha_ip): Handle `t' and `8' operand types.
(md_apply_fix): Handle BFD_RELOC_12_PCREL.  Print name of unhandled relocation
types.
* alpha-opcode.h: Added HALT and DRAINA.  Disabled MOVI, since it doesn't work,
and isn't supported by the native assembler.

29 years agoRegenerate after Tiemann's change to configure.in.
Ken Raeburn [Tue, 29 Nov 1994 20:27:26 +0000 (20:27 +0000)]
Regenerate after Tiemann's change to configure.in.

29 years agocheck configure and ChangeLog for rce stuff too
Ken Raeburn [Tue, 29 Nov 1994 20:19:54 +0000 (20:19 +0000)]
check configure and ChangeLog for rce stuff too

29 years ago * config/a29k/tm-a29k.h (setup_arbitrary_frame): Replace
Stan Shebs [Tue, 29 Nov 1994 03:11:38 +0000 (03:11 +0000)]
* config/a29k/tm-a29k.h (setup_arbitrary_frame): Replace
FRAME_ADDR with CORE_ADDR in prototype.

29 years ago * pr-5984.ch, pr-5984.exp, Makefile.in: New test case.
Per Bothner [Tue, 29 Nov 1994 02:39:35 +0000 (02:39 +0000)]
* pr-5984.ch, pr-5984.exp, Makefile.in:  New test case.

29 years ago* config/m68k-nbsd.mt (DEFAULT_VECTOR): set to m68knetbsd_vec.
J.T. Conklin [Mon, 28 Nov 1994 23:43:02 +0000 (23:43 +0000)]
* config/m68k-nbsd.mt (DEFAULT_VECTOR): set to m68knetbsd_vec.
* Makefile.in: Rebuilt dependancies.
  (CFILES): Added m68knetbsd.c.
  (HFILES): Added netbsd.h.

29 years ago * top.c (command_line_input): If annotation suffix is NULL,
Stan Shebs [Mon, 28 Nov 1994 23:26:58 +0000 (23:26 +0000)]
* top.c (command_line_input): If annotation suffix is NULL,
replace it with an empty string.
(read_next_line): Pass "command" as annotation suffix to
command_line_input.

29 years ago(do_scrub_next_char): Insert missing newline at end of file
David Edelsohn [Mon, 28 Nov 1994 19:38:39 +0000 (19:38 +0000)]
(do_scrub_next_char): Insert missing newline at end of file
like warning says we do.

29 years ago* config/rs6000/tm-rs6000.h (setpgrp): move defn from here...
J.T. Conklin [Mon, 28 Nov 1994 19:14:29 +0000 (19:14 +0000)]
* config/rs6000/tm-rs6000.h (setpgrp): move defn from here...
* config/rs6000/xm-rs6000.h: ...to here.

29 years ago * gdbtk.tcl (build_framework): Fix bug with setting window titles.
Stu Grossman [Mon, 28 Nov 1994 18:20:21 +0000 (18:20 +0000)]
* gdbtk.tcl (build_framework):  Fix bug with setting window titles.

29 years ago * gdbtk.tcl (build_framework): Add "Report bug" to help menu.
Stu Grossman [Mon, 28 Nov 1994 18:01:31 +0000 (18:01 +0000)]
* gdbtk.tcl (build_framework):  Add "Report bug" to help menu.

29 years ago * gdbtk.tcl: Re-arrange windows using new, consistent layout. Clean
Stu Grossman [Mon, 28 Nov 1994 17:23:13 +0000 (17:23 +0000)]
* gdbtk.tcl:  Re-arrange windows using new, consistent layout. Clean
up lots of code and centralize framework initialization.

29 years ago * ld-bootstrap/bootstrap.exp: Pass cmp output through
Ian Lance Taylor [Mon, 28 Nov 1994 16:26:30 +0000 (16:26 +0000)]
* ld-bootstrap/bootstrap.exp: Pass cmp output through
prune_system_crud.
* ld-cdtest/cdtest.exp: Pass diff output through
prune_system_crud.
* ld-shared/shared.exp: Likewise.

* config/default.exp: Remove unused and useless proc ld_load.

29 years ago * gas/mips/ld.d: Adjust to work for both big and little endian
Ian Lance Taylor [Mon, 28 Nov 1994 16:21:59 +0000 (16:21 +0000)]
* gas/mips/ld.d: Adjust to work for both big and little endian
code.
* gas/mips/ld.s, gas/mips/lif-empic.d: Likewise.
* gas/mips/lifloat.d, gas/mips/ulh-empic.d: Likewise.
* gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d: Likewise.
* gas/mips/usw.d: Likewise.

29 years ago * gas/hppa/more.parse/parse.exp (nosubspace.s): No longer expected
Jeff Law [Mon, 28 Nov 1994 07:55:25 +0000 (07:55 +0000)]
* gas/hppa/more.parse/parse.exp (nosubspace.s): No longer expected
to fail.  Fix comments for the test.  Tweak test name.

29 years ago * config/tc-hppa.h (pa_check_eof): Declare new extern function.
Jeff Law [Mon, 28 Nov 1994 07:54:07 +0000 (07:54 +0000)]
* config/tc-hppa.h (pa_check_eof): Declare new extern function.
(tc_frob_file): Define to call pa_check_eof.

* config/tc-hppa.c (pa_check_current_space_and_subspace): New
function to verify the current space and subspace are reasonable.
Call for the appropriate pseudo-ops and before instruction parsing.
(pa_check_eof): New function to verify enter/exit and proc/procend
pairs match at EOF.
(pa_code): Simplify.

* config/obj-som.c: Delete #if 0 code.

29 years agoChanges to reflect that r3, not r0, is now the stack pointer.
Michael Tiemann [Sun, 27 Nov 1994 20:04:22 +0000 (20:04 +0000)]
Changes to reflect that r3, not r0, is now the stack pointer.

29 years agoChange r16 -> rce.
Michael Tiemann [Sun, 27 Nov 1994 19:17:46 +0000 (19:17 +0000)]
Change r16 -> rce.

29 years agoAdd shl
Steve Chamberlain [Sat, 26 Nov 1994 18:10:37 +0000 (18:10 +0000)]
Add shl

29 years ago * tm-hppa.h (skip_trampoline_code): Add extern decl.
Jeff Law [Sat, 26 Nov 1994 04:39:07 +0000 (04:39 +0000)]
* tm-hppa.h (skip_trampoline_code): Add extern decl.
* hppa-tdep.c (hppa_pop_frame): Silently restart the inferior and
allow it to execute any return path trampoline code.  Stop the
inferior and give the user control when the trampoline has
finished executing.
(in_solib_call_trampoline): Handle export stubs which also perform
parameter relocations.
(in_solib_return_trampoline): Likewise.

29 years agoAdd dummy decl for `dump_literals'.
Michael Tiemann [Sat, 26 Nov 1994 00:28:30 +0000 (00:28 +0000)]
Add dummy decl for `dump_literals'.

29 years agoAdd changes from customer since last work.
Michael Tiemann [Sat, 26 Nov 1994 00:17:52 +0000 (00:17 +0000)]
Add changes from customer since last work.

29 years ago Beginnings of template debugging tests.
Peter Schauer [Fri, 25 Nov 1994 21:48:02 +0000 (21:48 +0000)]
Beginnings of template debugging tests.
* gdb.c++/templ-info.cc:  New file to test for template
debugging capability of the compiler.
* gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
templ-info.cc.
* gdb.c++/templates.cc:  Add explicit template instantiations
to enable compiling with -fno-implicit-templates. Add destructor
and 'value' method to T5 class for template tests.
* gdb.c++/templates.exp:  Add testcases for printing of template
types, setting breakpoints on template methods and calling a
template method.

29 years ago * coffread.c, symfile.h (coff_getfilename): Make it static again.
Peter Schauer [Fri, 25 Nov 1994 21:46:52 +0000 (21:46 +0000)]
* coffread.c, symfile.h (coff_getfilename):  Make it static again.
* xcoffread.c (coff_getfilename):  Use a static copy from
coffread.c, modified for accessing the static xcoff strtbl.

29 years agoEnable ld to build for RCE. This is not tested yet!
Michael Tiemann [Fri, 25 Nov 1994 17:06:38 +0000 (17:06 +0000)]
Enable ld to build for RCE.  This is not tested yet!

29 years agoChange R16 -> RCE.
Michael Tiemann [Fri, 25 Nov 1994 16:19:34 +0000 (16:19 +0000)]
Change R16 -> RCE.

29 years agoChange R16 -> RCE.
Michael Tiemann [Fri, 25 Nov 1994 16:05:31 +0000 (16:05 +0000)]
Change R16 -> RCE.

29 years ago * hppa-tdep.c (in_solib_call_trampoline): Recognize calls through
Jeff Law [Fri, 25 Nov 1994 09:21:49 +0000 (09:21 +0000)]
* hppa-tdep.c (in_solib_call_trampoline): Recognize calls through
_sr4export and $$dyncall as trampolines.  Likewise for long-call
stubs and parameter relocation stubs.
(in_solib_return_trampoline): Recognize a return trampoline for
return value relocation stubs.

29 years ago * hpread.c: Include hp-symtab.h instead of hpux-symtab.h.
Jeff Law [Fri, 25 Nov 1994 08:06:49 +0000 (08:06 +0000)]
* hpread.c: Include hp-symtab.h instead of hpux-symtab.h.
Various name changes to match those used by hp-symtab.h.

No longer sanitize away hpread changes.  Merge ChangeLog.hpread into
ChangeLog and ChangeLog-93.

29 years ago * hp-symtab.h: New file describing the debug symbols emitted
Jeff Law [Fri, 25 Nov 1994 07:32:51 +0000 (07:32 +0000)]
* hp-symtab.h: New file describing the debug symbols emitted
by the HP C compilers.
* hpux-symtab.h: Deleted.

NOTE: hpux-symtab.h was the HP copyrighted description and data structures
for the debug symbols emitted by the various HP compilers (C, C++, Fortran,
Cobol, Pascal, Modula-2, Cobol, etc).

hp-symtab.h is my rewritten version which only describes the debug symbols
used by the HP C compiler.  hp-symtab.h is intended to be copyrighted
by the FSF as part of GDB.

29 years agoremove sh3 stuff.
Steve Chamberlain [Fri, 25 Nov 1994 06:15:19 +0000 (06:15 +0000)]
remove sh3 stuff.

29 years ago*** empty log message ***
Michael Tiemann [Fri, 25 Nov 1994 02:28:15 +0000 (02:28 +0000)]
*** empty log message ***

29 years agoClean up bitrot (such as interfaces that have changed since these
Michael Tiemann [Fri, 25 Nov 1994 02:14:11 +0000 (02:14 +0000)]
Clean up bitrot (such as interfaces that have changed since these
patches were last used).

29 years ago*** empty log message ***
Michael Tiemann [Fri, 25 Nov 1994 00:25:34 +0000 (00:25 +0000)]
*** empty log message ***

29 years agoRename r16 files to rce, and fix some more .Sanitize typos.
Michael Tiemann [Fri, 25 Nov 1994 00:01:26 +0000 (00:01 +0000)]
Rename r16 files to rce, and fix some more .Sanitize typos.

29 years agoRecognize and sanitize r16 as a target.
Michael Tiemann [Thu, 24 Nov 1994 22:02:18 +0000 (22:02 +0000)]
Recognize and sanitize r16 as a target.

29 years ago*** empty log message ***
Michael Tiemann [Thu, 24 Nov 1994 21:48:21 +0000 (21:48 +0000)]
*** empty log message ***

29 years agoFix .Sanitize scrips so that r16 is truly scrubbed out.
Michael Tiemann [Thu, 24 Nov 1994 21:36:00 +0000 (21:36 +0000)]
Fix .Sanitize scrips so that r16 is truly scrubbed out.
Also, report errors if any traces of sanitize remain after sanitizing.

29 years agoSafely check in r16 targets for binutils.
Michael Tiemann [Thu, 24 Nov 1994 20:30:11 +0000 (20:30 +0000)]
Safely check in r16 targets for binutils.

29 years ago * blockframe.c (find_pc_partial_function): Inhibit mst_trampoline
Jeff Law [Thu, 24 Nov 1994 08:02:01 +0000 (08:02 +0000)]
* blockframe.c (find_pc_partial_function): Inhibit mst_trampoline
symbol special handling when INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK
is defined.
* infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Renamed from
IN_SOLIB_TRAMPOLINE.  All callers changed.
(IN_SOLIB_RETURN_TRAMPOLINE): Provide default definition.
(wait_for_inferior): Handle single stepping through trampolines on
return paths from shared libraries.
* config/pa/tm-hppa.h (IN_SOLIB_CALL_TRAMPOLINE): Use
in_solib_call_trampoline.
(IN_SOLIB_RETURN_TRAMPOLINE): Use in_solib_return_trampoline.
(INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK): Define.
* hppa-tdep.c (in_solib_call_trampoline): New function.
(in_solib_return_trampoline): New function.

29 years ago * tm-h8300.h (REMOTE_BREAKPOINT): Define.
Steve Chamberlain [Thu, 24 Nov 1994 07:07:21 +0000 (07:07 +0000)]
* tm-h8300.h (REMOTE_BREAKPOINT): Define.
* h8300-tdep.c (h8300_pop_frame): Remove redundant call.

29 years ago * dis-asm.h (print_insn_shl): New prototype.
Steve Chamberlain [Thu, 24 Nov 1994 06:41:52 +0000 (06:41 +0000)]
* dis-asm.h (print_insn_shl): New prototype.

29 years ago * disasseble.c (disassebler): Cope with little endian SH.
Steve Chamberlain [Thu, 24 Nov 1994 06:37:05 +0000 (06:37 +0000)]
* disasseble.c (disassebler): Cope with little endian SH.

29 years ago * sh-opc.h (mov.l gbr): Get direction right.
Steve Chamberlain [Thu, 24 Nov 1994 06:36:28 +0000 (06:36 +0000)]
* sh-opc.h (mov.l gbr): Get direction right.
* sh-dis.c (print_insn_shx): New function.
(print_insn_shl, print_insn_sh): Call print_insn_shx to
print opcodes with right byte order.

29 years ago * Makefile.in: Add eshl.o.
Steve Chamberlain [Thu, 24 Nov 1994 06:06:23 +0000 (06:06 +0000)]
* Makefile.in: Add eshl.o.
* config/coff-sh.mt: Add shl emulation.

29 years ago * remote-e7000.c (HARD_BREAKPOINTS): Reenable.
Steve Chamberlain [Thu, 24 Nov 1994 05:59:34 +0000 (05:59 +0000)]
* remote-e7000.c (HARD_BREAKPOINTS): Reenable.
(BC_BREAKPOINTS): Disable.
* sh-tdep.c (print_insn): Cope with big and little endian machines.
* sh/sh.mt: Use libsim.a
* sh/tm-sh.h (TARGET_BYTE_ORDER_SELECTABLE): New
(BREAKPOINT): Changed to be byteorder independent.

29 years ago * interp.c ([wr][bwl]at): New functions.
Steve Chamberlain [Thu, 24 Nov 1994 05:33:47 +0000 (05:33 +0000)]
* interp.c ([wr][bwl]at): New functions.
(trap): Cope with both byte modes.

29 years ago * config/obj-coff.h (TARGET_FORMAT): Select between coff-shl and coff-sh.
Steve Chamberlain [Thu, 24 Nov 1994 03:42:15 +0000 (03:42 +0000)]
* config/obj-coff.h (TARGET_FORMAT): Select between coff-shl and coff-sh.
* config/sh.mh (TARG_CPU_DEPENDENTS): Get it right.
* config/tc-sh.c  (little): New function.
(md_parse_option): Notice new option.
(build_relax, build_Mytes, md_atof, md_convert_frag, md_apply_fix):
        Cope with little endian data.
* config/tc-sh.h (COFF_MAGIC, LISTING_HEADER): Endian dependent.

29 years ago * coff-sh.c (shlcoff_vec): New target vector.
Steve Chamberlain [Thu, 24 Nov 1994 03:33:48 +0000 (03:33 +0000)]
* coff-sh.c (shlcoff_vec): New target vector.
(no_archive): New function.
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Handle
little endian SH.
* configure.in: Handle shl.
* targets.c (bfd_target_vector): Add shlcoff_vec.
* config/sh-coff.mt (SELECT_VECS): Handle shl_coff_vec.

29 years ago * Makefile.in (all-ispell): Depend on all-emacs19 instead of all-emacs.
Brendan Kehoe [Wed, 23 Nov 1994 18:30:23 +0000 (18:30 +0000)]
* Makefile.in (all-ispell): Depend on all-emacs19 instead of all-emacs.

29 years ago * config/tc-hppa.c (tc_gen_reloc, ELF variant): Revert last
Jeff Law [Wed, 23 Nov 1994 17:57:00 +0000 (17:57 +0000)]
* config/tc-hppa.c (tc_gen_reloc, ELF variant): Revert last
change.  The real bug was in bfd/elfcode.h and has been fixed.

29 years ago * gas/hppa/reloc/reloc.exp: Minor tweaks to match current PA ELF
Jeff Law [Wed, 23 Nov 1994 06:39:20 +0000 (06:39 +0000)]
* gas/hppa/reloc/reloc.exp: Minor tweaks to match current PA ELF
output.

29 years ago * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Do not add
Jeff Law [Wed, 23 Nov 1994 06:36:43 +0000 (06:36 +0000)]
* elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Do not add
input_section->vma to the relocation's offset.

29 years ago * config/tc-hppa.c (tc_gen_reloc, ELF variant): Add section->vma
Jeff Law [Wed, 23 Nov 1994 06:34:13 +0000 (06:34 +0000)]
* config/tc-hppa.c (tc_gen_reloc, ELF variant): Add section->vma
to the relocation's offset.

29 years ago Maintenance commands to report time and space usage.
Stan Shebs [Wed, 23 Nov 1994 03:27:40 +0000 (03:27 +0000)]
Maintenance commands to report time and space usage.
* main.c (display_time, display_space): New globals.
(main): Add argument --statistics to enable reporting, display
time and space after startup is done.
* maint.c (maintenance_time_display, maintenance_space_display):
New commands.
* top.c (command_loop): Display time and space after command
execution.

* top.c (pre_init_ui_hook): New global.
(gdb_init): If pre_init_ui_hook set, call before all other init.

29 years ago * Makefile.in (INSTALL_XFORM): Fix typo.
Steve Chamberlain [Tue, 22 Nov 1994 23:18:24 +0000 (23:18 +0000)]
* Makefile.in (INSTALL_XFORM): Fix typo.

29 years ago * a29k-tdep.c (examine_tag): Fix a bug in stack frame size.
Kung Hsu [Tue, 22 Nov 1994 18:31:18 +0000 (18:31 +0000)]
    * a29k-tdep.c (examine_tag): Fix a bug in stack frame size.

29 years ago* config/tc-alpha.c (s_alpha_set): Ignore the .set (no)move and
J.T. Conklin [Tue, 22 Nov 1994 18:29:07 +0000 (18:29 +0000)]
* config/tc-alpha.c (s_alpha_set): Ignore the .set (no)move and
  .set (no)volatile directives.

29 years ago * scripttempl/elf.sc: Fill .text section with NOPS. From Eric
Ian Lance Taylor [Tue, 22 Nov 1994 17:19:36 +0000 (17:19 +0000)]
* scripttempl/elf.sc: Fill .text section with NOPS.  From Eric
Youngdale <eric@aib.com>.

29 years ago* configure.in (*-*-netware*): Don't configure xiberty.
J.T. Conklin [Mon, 21 Nov 1994 19:16:38 +0000 (19:16 +0000)]
* configure.in (*-*-netware*): Don't configure xiberty.

29 years ago * srec.c (srec_get_reloc_upper_bound): Define.
Ian Lance Taylor [Mon, 21 Nov 1994 17:42:04 +0000 (17:42 +0000)]
* srec.c (srec_get_reloc_upper_bound): Define.
(srec_canonicalize_reloc): Define.
(srec_bfd_reloc_type_lookup): Define.
(srec_vec, symbolsrec_vec): Use BFD_JUMP_TABLE_RELOCS (srec).
PR 5975.

29 years agoUpdate note for hpux9 dynamic executable support.
Jeff Law [Sun, 20 Nov 1994 08:11:36 +0000 (08:11 +0000)]
Update note for hpux9 dynamic executable support.

29 years ago * symfile.c (deduce_language_from_filename): Treat .c++ as a
Peter Schauer [Sat, 19 Nov 1994 11:22:30 +0000 (11:22 +0000)]
* symfile.c (deduce_language_from_filename):  Treat .c++ as a
C++ extension.

* valops.c (destructor_name_p):  Do not compare the template
part for template classes.

29 years ago * configure.host (i[345]86-*-solaris*): Use solaris2 to
Peter Schauer [Sat, 19 Nov 1994 11:14:01 +0000 (11:14 +0000)]
* configure.host (i[345]86-*-solaris*):  Use solaris2 to
enable extraction of procfs info from core file for GDB.

29 years ago * defs.h, infcmd.c (reg_names): Don't declare as constant.
Stan Shebs [Fri, 18 Nov 1994 23:03:29 +0000 (23:03 +0000)]
* defs.h, infcmd.c (reg_names): Don't declare as constant.
* remote-mips.c (mips_open): Read and set the processor type.
* mips-tdep.c (mips_set_processor_type): Always return an int.

29 years ago* nlm/alpha.c (strtol): Removed, it is provided by NetWare C library.
J.T. Conklin [Fri, 18 Nov 1994 21:57:22 +0000 (21:57 +0000)]
* nlm/alpha.c (strtol): Removed, it is provided by NetWare C library.
* nlm/gdbserve.def (strtol): Added to import list.
* nlm/fake_aio.c: Removed file, no longer used.

29 years ago* Makefile.in (LD_FOR_TARGET, NLMCONV_FOR_TARGET): Removed.
J.T. Conklin [Fri, 18 Nov 1994 18:49:56 +0000 (18:49 +0000)]
* Makefile.in (LD_FOR_TARGET, NLMCONV_FOR_TARGET): Removed.

* nlm/Makefile.in (gdbserve.O): Link with ${CC_FOR_TARGET}.
  (LD_FOR_TARGET): Removed.

29 years agoThu Nov 17 15:37:19 1994 Mark W. Eichin <eichin@cygnus.com>
Ian Lance Taylor [Fri, 18 Nov 1994 16:00:41 +0000 (16:00 +0000)]
Thu Nov 17 15:37:19 1994  Mark W. Eichin  <eichin@cygnus.com>

* objcopy.c (add_strip_symbol): New function, adds a name to an
explicit list of symbols to strip.
(is_strip_symbol): New function, reports whether the name argument
is in the explicit list.
(filter_symbols): Check against is_strip_symbol above all.
(strip_main): Recognize -N option. If used, don't default to
strip_all.
(copy_main): Recognize -N option.
(strip_usage): Document -N and --strip-symbol options.
(copy_usage): Ditto.
* objcopy.1, strip.1, binutils.texi: Document -N and
--strip-symbol options.

29 years ago * monitor.[ch], w89k-rom.c, op50n-rom.c, idp-rom.c: Add support
Rob Savoye [Fri, 18 Nov 1994 06:38:23 +0000 (06:38 +0000)]
* monitor.[ch], w89k-rom.c, op50n-rom.c, idp-rom.c: Add support
for two variables used to control the load protocol and conversion
type.

29 years ago Support for different MIPS IDT processor models.
Stan Shebs [Fri, 18 Nov 1994 02:18:09 +0000 (02:18 +0000)]
Support for different MIPS IDT processor models.
* mips-tdep.c (mips_processor_type, tmp_mips_processor_type,
mips_generic_reg_names, mips_r3041_reg_names,
mips_r3051_reg_names, mips_r3081_reg_names,
mips_processor_type_table): New globals.
(mips_do_registers_info): Don't display register if name is empty.
(mips_set_processor_type_command): New command.
(mips_show_processor_type_command): New command.
(mips_set_processor_type): New function.
(mips_read_processor_type): New function.
* config/mips/tm-idt.h (DEFAULT_MIPS_TYPE): New macro.
* config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): New macro.
(NUM_REGS): Increase to account for all CP0 registers.
(REGISTER_NAMES): Add empty names for CP0 registers.
(FIRST_EMBED_REGNUM, LAST_EMBED_REGNUM): Adjust.
(PRID_REGNUM): New macro.

29 years ago * ar.c (main): Don't call do_quick_append if any of the archive
Ian Lance Taylor [Thu, 17 Nov 1994 23:03:30 +0000 (23:03 +0000)]
* ar.c (main): Don't call do_quick_append if any of the archive
names are longer than 14 characters.
PR 5966.

29 years ago* reloc.c (bfd_reloc_code_type): Add new value BFD_RELOC_12_PCREL.
Ken Raeburn [Thu, 17 Nov 1994 22:46:22 +0000 (22:46 +0000)]
* reloc.c (bfd_reloc_code_type): Add new value BFD_RELOC_12_PCREL.
* bfd-in2.h, libbfd.h: Rebuilt.

29 years ago * bfd/elf32-hppa.c (elf32_hppa_bfd_final_link_relocated): Use the
Jeff Law [Thu, 17 Nov 1994 20:14:19 +0000 (20:14 +0000)]
    * bfd/elf32-hppa.c (elf32_hppa_bfd_final_link_relocated): Use the
        vma from the output_section containing $global$ when computing
        global_vlaue.

29 years ago * objcopy.c (main): Fix is_strip test. From
Ian Lance Taylor [Thu, 17 Nov 1994 20:12:51 +0000 (20:12 +0000)]
* objcopy.c (main): Fix is_strip test.  From
pirker@eiunix.tuwien.ac.at (Martin Pirker).

29 years ago Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker).
Ian Lance Taylor [Thu, 17 Nov 1994 20:11:15 +0000 (20:11 +0000)]
Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker).
* config/i386linux.mh: New file; set HOSTING_CRT0.
* genscripts.sh: Don't put ${libdir} in LIB_PATH if it is
/usr/lib, since that is already in LIB_PATH.

29 years ago * archive.c (_bfd_write_archive_contents): Round up the archive
Ian Lance Taylor [Thu, 17 Nov 1994 19:32:06 +0000 (19:32 +0000)]
* archive.c (_bfd_write_archive_contents): Round up the archive
header size of the extended name table to an even number.