binutils-gdb.git
27 years ago Based on patches from Philippe De Muyter <phdm@info.ucl.ac.be>.
Ian Lance Taylor [Thu, 20 Mar 1997 21:23:10 +0000 (21:23 +0000)]
Based on patches from Philippe De Muyter <phdm@info.ucl.ac.be>.
* coff-svm68k.c: New file.  Just defines some macros and includes
coff-m68k.c.
* coff-m68k.c: Add functions to handle common addends, moved in
from cf-m68klynx.c.  Control them using COFF_COMMON_ADDEND macro.
Control whether relocs are visible using STATIC_RELOCS.
* cf-m68klynx.c: Simplify greatly: just define macros to control
coff-m68k.c.
* coff-aux.c: Likewise.  Just leave add_one_symbol routine.
* targets. (m68ksysvcoff_vec): Declare.
(bfd_target_vector): Add m68ksysvcoff_vec.
* config.bfd (m68*-motorola-sysv*): New target.
* configure.in (m68ksysvcoff_vec): New vector.
* configure: Rebuild.
* Makefile.in: Rebuild dependencies.
  (BFD32_BACKENDS): Add coff-svm68k.o.
(BFD32_BACKENDS_CFILES): Add coff-svm68k.c.

27 years agoFix minor sanitization problems
Jeff Law [Thu, 20 Mar 1997 20:30:29 +0000 (20:30 +0000)]
Fix minor sanitization problems

27 years agoThu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org>
Ian Lance Taylor [Thu, 20 Mar 1997 19:08:35 +0000 (19:08 +0000)]
Thu Mar 20 13:42:01 1997  H.J. Lu  <hjl@lucon.org>

* frags.c (frag_var): Change offset parameter to offsetT.
(frag_variant): Likewise.
* frags.h (frag_variant, frag_var): Update declarations.
* config/tc-m68k.c (struct m68k_it): Change foff field to
offsetT.
(add_frag): Change off parameter to offsetT.
* Several files: Add casts to calls to frag_var.

27 years ago * simops.c: Fix register extraction for a two "movbu" variants.
Jeff Law [Thu, 20 Mar 1997 19:02:44 +0000 (19:02 +0000)]
    * simops.c: Fix register extraction for a two "movbu" variants.
        Somewhat simplify "sub" instructions.
        Correctly sign extend operands for "mul".  Put the correct
        half of the result in MDR for "mul" and "mulu".
        Implement remaining instructions.
        Tweak opcode for "syscall".

27 years agoThu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org>
Ian Lance Taylor [Thu, 20 Mar 1997 18:43:10 +0000 (18:43 +0000)]
Thu Mar 20 13:42:01 1997  H.J. Lu  <hjl@lucon.org>

* Makefile.in (m68k-parse.c): Depend upon itbl-parse.c, to
serialize a parallel make.
(itbl-parse.h): Split target out from itbl-parse.c.

27 years ago * binary.c (binary_set_section_contents): Don't get misled if the
Ian Lance Taylor [Thu, 20 Mar 1997 18:33:44 +0000 (18:33 +0000)]
* binary.c (binary_set_section_contents): Don't get misled if the
  first section is not loadable.  From Matthew L. Martin
  <mlm@xedia.com>.

27 years agoThu Mar 20 12:48:45 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
Ian Lance Taylor [Thu, 20 Mar 1997 17:50:41 +0000 (17:50 +0000)]
Thu Mar 20 12:48:45 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>

* config/te-delta.h (COFF_COMMON_ADDEND): Define.
* config/obj-coff.c (fixup_segment): Check COFF_COMMON_ADDEND when
storing the value of a common symbol.

27 years ago * elflink.h (elf_bfd_final_link): Set the value of a section
Ian Lance Taylor [Thu, 20 Mar 1997 17:40:06 +0000 (17:40 +0000)]
* elflink.h (elf_bfd_final_link): Set the value of a section
symbol to the section address unless doing a relocateable link.

27 years agoWed Mar 19 16:13:22 1997 Geoffrey Noer <noer@pizza.cygnus.com>
Geoffrey Noer [Thu, 20 Mar 1997 00:41:50 +0000 (00:41 +0000)]
Wed Mar 19 16:13:22 1997  Geoffrey Noer  <noer@pizza.cygnus.com>

        New UnixWare 2.1 configuration
        * config/i386/i386v42mp.mt: new
        * config/i386/i386v42mp.mh: new
        * config/i386/tm-i386v42mp.h: new
        * config/i386/nm-i386v42mp.h: new
        * configure.tgt: added new entries
        * configure.host: added new entries

27 years agoremote-sim.h moved to include directory
Andrew Cagney [Thu, 20 Mar 1997 00:18:55 +0000 (00:18 +0000)]
remote-sim.h moved to include directory

27 years agoWed Mar 19 15:16:17 1997 Martin M. Hunt <hunt@onions.cygnus.com>
Martin Hunt [Wed, 19 Mar 1997 23:39:20 +0000 (23:39 +0000)]
Wed Mar 19 15:16:17 1997  Martin M. Hunt  <hunt@onions.cygnus.com>

* Makefile.in:  Install gdbtcl dir instead of gdbtk.tcl.

* gdbtk.c: Added some ifdefs for Windows.  Changed GDBTK_FILENAME
to GDBTK_LIBRARY, which is now a path to search.
(gdb_path_conv): New function.  Convert Cygwin32 pathname to
DOS-style pathname.

* aclocal.m4, configure.in: Changes for Windows builds.

* configure: Rebuilt.

27 years agoWed Mar 19 11:37:57 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
Ian Lance Taylor [Wed, 19 Mar 1997 17:07:23 +0000 (17:07 +0000)]
Wed Mar 19 11:37:57 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>

* config/obj-coff.c (glue_symbols): Unused variable symbolP
removed.
(crawl_symbols): Do not modify symbol_rootP and symbol_lastP here;
that is done by symbol_remove and symbol_insert.

* config/obj-coff.h (S_IS_LOCAL): Return 0 for a debugging
symbol.

27 years ago * config/tc-mips.c (load_register): In 32 bit mode, when not
Ian Lance Taylor [Wed, 19 Mar 1997 16:28:19 +0000 (16:28 +0000)]
* config/tc-mips.c (load_register): In 32 bit mode, when not
dealing with a 64 bit number, permit the upper 32 bits to be set
even if bit 31 is not set.
This lets `and $2,~0x80000000' succeed.

27 years ago* m68k-opc.c (m68k_opcodes): Provide coldfire division module
J.T. Conklin [Wed, 19 Mar 1997 14:56:05 +0000 (14:56 +0000)]
* m68k-opc.c (m68k_opcodes): Provide coldfire division module
instructions.

27 years ago* m68k.h (mcfmac, mcfdiv): New macros.
J.T. Conklin [Wed, 19 Mar 1997 14:27:26 +0000 (14:27 +0000)]
* m68k.h (mcfmac, mcfdiv): New macros.

27 years ago * read.c (potable): Add "equiv".
Ian Lance Taylor [Wed, 19 Mar 1997 04:32:56 +0000 (04:32 +0000)]
* read.c (potable): Add "equiv".
(s_set): Handle .equiv based on argument.
* doc/as.texinfo (Equiv): New node to document .equiv.
(Err): New node to document .err.
PR 11787.

27 years ago * Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Wed, 19 Mar 1997 04:02:00 +0000 (04:02 +0000)]
* Makefile.in: Rebuild dependencies.

27 years agoTue Mar 18 22:40:09 1997 H.J. Lu <hjl@lucon.org>
Ian Lance Taylor [Wed, 19 Mar 1997 03:58:45 +0000 (03:58 +0000)]
Tue Mar 18 22:40:09 1997  H.J. Lu  <hjl@lucon.org>

* Many files: Add function prototypes.
* cpu-m68k.c (bfd_default_scan_num_mach): Don't declare.
* ecofflink.c: Include "libcoff.h" and "libecoff.h".
* elf32-ppc.c (ppc_elf_fake_sections): Make static.
* opncls.c (bfd_openstreamr): Change stream parameter to PTR.
* peicode.h: Change several void * parameters to PTR.
* srec.c (srec_get_symbol_info): Make static.
* syms.c (bfd_symbol_is_absolute): Remove.

27 years agostart-sanitize-m32r
Ian Lance Taylor [Wed, 19 Mar 1997 03:01:27 +0000 (03:01 +0000)]
start-sanitize-m32r
* elf32-m32r.c (m32r_elf_is_local_label_name): Remove.
(bfd_elf32_bfd_is_local_label): Don't define.

end-sanitize-m32r

27 years agoTweak "syscall" opcode.
Jeff Law [Tue, 18 Mar 1997 23:16:44 +0000 (23:16 +0000)]
Tweak "syscall" opcode.

27 years agoTue Mar 18 16:39:55 1997 H.J. Lu <hjl@lucon.org>
Ian Lance Taylor [Tue, 18 Mar 1997 21:51:04 +0000 (21:51 +0000)]
Tue Mar 18 16:39:55 1997  H.J. Lu  <hjl@lucon.org>

* Many files: Add function prototypes.
* ar.c (mri_emul, get_pos_bfd): Make static.
* arlex.l: Include "libiberty.h".  Don't declare strdup.  Use
xstrdup rather than strdup.
* arparse.y (yyerror): Make argument const.  Correct typo.
* arsup.c (strdup): Don't declare.
(ar_save): Use xstrdup rather than strdup.
* filemode.c: Include "bucomm.h".
* nm.c (usage): Make static.
(print_symname): Make format and name const.
* objcopy.c (cat): Remove.
(copy_archive): Make output_target const.  Use concat, not cat.
(copy_file, simple_copy, smart_rename): Make arguments const.
* objdump.c (read_section_stabs): Likewise.
(print_section_stabs): Likewise.
(display_target_tables): Don't declare getenv.
* strings.c (strings_object_file): Change file to const.
(print_strings): Change filename to const.
* Makefile.in: Rebuild dependencies.

Tue Mar 18 11:37:24 1997  Ian Lance Taylor  <ian@cygnus.com>

* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* nlmconv.c (getenv): Don't declare.

27 years ago * simops.c: Do syscall emulation in "syscall" instruction. Add
Jeff Law [Tue, 18 Mar 1997 21:24:38 +0000 (21:24 +0000)]
    * simops.c: Do syscall emulation in "syscall" instruction.  Add
        dummy "trap" instruction.
Cleanups for the beta release.

27 years ago * mn10200-opc.c: Change "trap" to "syscall".
Jeff Law [Tue, 18 Mar 1997 21:20:29 +0000 (21:20 +0000)]
    * mn10200-opc.c: Change "trap" to "syscall".
        * mn10300-opc.c: Add new "syscall" instruction.
Cleanups for beta release.

27 years agoTue Mar 18 15:50:13 1997 H.J. Lu <hjl@lucon.org>
Ian Lance Taylor [Tue, 18 Mar 1997 21:04:18 +0000 (21:04 +0000)]
Tue Mar 18 15:50:13 1997  H.J. Lu  <hjl@lucon.org>

* Many files: Add function prototypes.
* as.c (show_usage, parse_args): Make static.
* frags.h (frag_alloc): Declare.
* subsegs.c (subseg_set_rest): Don't declare frag_alloc.
* symbols.c (dollar_label_instance): Change return type to long.
* symbols.h (print_symbol_value): Declare.
(print_expr, print_expr_1, print_symbol_value_1): Declare.
* write.c (fix_new_exp): Don't declare make_expr_symbol.
(remove_subsegs, relax_frag): Make static.
* config/atof-vax.c (atof_vax_sizeof): Change letter to int.
(what_kind_of_float): Likewise.
(atof_vax): Make static.  Change what_kind to int.
(md_atof): Change what_statement_type to int.
* config/obj-ecoff.h (obj_ecoff_set_ext): Declare.
* config/tc-alpha.c (vax_md_atof): Declare.
(md_atof): Don't declare atof_ieee and vax_md_atof.
* config/tc-i386.c (set_16bit_code_flag): Make static.
* config/tc-i386.h (tc_i386_fix_adjustable): Declare.
* config/tc-m68k.c (add_fix): Change width to int.
(insert_reg): Change regname to const.
(md_atof): Don't declare atof_ieee.
(demand_empty_rest_of_line): Don't declare.
* config/tc-m88k.c (md_atof): Don't declare atof_ieee.
* config/tc-sparc.c (cmp_reg_entry): Change args to const PTR.
(parse_keyword_arg): Change lookup_fn to take const arg.
(md_atof): Don't declare atof_ieee.
* config/tc-sparc.h: Add ifdef for multiple inclusion.
(tc_aout_pre_write_hook): Don't declare.

27 years ago * xcofflink.c (_bfd_xcoff_bfd_final_link): Call bfd_malloc rather
Ian Lance Taylor [Tue, 18 Mar 1997 17:58:48 +0000 (17:58 +0000)]
* xcofflink.c (_bfd_xcoff_bfd_final_link): Call bfd_malloc rather
than malloc.

27 years agofix tipo in comment
Ian Lance Taylor [Tue, 18 Mar 1997 16:39:38 +0000 (16:39 +0000)]
fix tipo in comment

27 years ago * Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Tue, 18 Mar 1997 16:37:42 +0000 (16:37 +0000)]
* Makefile.in: Rebuild dependencies.

27 years ago * emultempl/aix.em: Include "obstack.h".
Ian Lance Taylor [Tue, 18 Mar 1997 16:16:50 +0000 (16:16 +0000)]
* emultempl/aix.em: Include "obstack.h".

27 years agoMove SIM_AC_OPTION_ macros out of SIM_AC_COMMON macro - was trashing
Andrew Cagney [Tue, 18 Mar 1997 14:28:34 +0000 (14:28 +0000)]
Move SIM_AC_OPTION_ macros out of SIM_AC_COMMON macro - was trashing
optional arguments.
* Regenerate all configure scripts.

27 years ago * sim-alu.h: Include sim-xcat.h.
Andrew Cagney [Tue, 18 Mar 1997 10:10:10 +0000 (10:10 +0000)]
    * sim-alu.h: Include sim-xcat.h.
        * d30v-insn (do_sat*): Pass all necessary args.

27 years agoInclude new files sim-assert.h sim-xcat.h sim-state.h
Andrew Cagney [Tue, 18 Mar 1997 08:45:44 +0000 (08:45 +0000)]
Include new files sim-assert.h sim-xcat.h sim-state.h

27 years agoNew files added during rename/cleanup of engine -> sim_state.
Andrew Cagney [Tue, 18 Mar 1997 07:44:40 +0000 (07:44 +0000)]
New files added during rename/cleanup of engine -> sim_state.

27 years agoRename `struct _engine' to new `struct sim_state'.
Andrew Cagney [Tue, 18 Mar 1997 07:43:22 +0000 (07:43 +0000)]
Rename `struct _engine' to new `struct sim_state'.

27 years agoFix bugs in d30v sat and mul instructions.
Andrew Cagney [Tue, 18 Mar 1997 02:41:21 +0000 (02:41 +0000)]
Fix bugs in d30v sat and mul instructions.

27 years ago* dsrec.c (load_srec): Print leading zeroes when printing section
J.T. Conklin [Tue, 18 Mar 1997 01:54:50 +0000 (01:54 +0000)]
* dsrec.c (load_srec): Print leading zeroes when printing section
addresses.

27 years ago * bfd-in.h: Don't include obstack.h.
Ian Lance Taylor [Tue, 18 Mar 1997 00:47:04 +0000 (00:47 +0000)]
* bfd-in.h: Don't include obstack.h.
(struct bfd_hash_table): Change memory field to PTR.
* bfd.c (struct _bfd): Change memory field to PTR.
* bfd-in2.h: Rebuild.
* libbfd-in.h (bfd_release): Declare as function, don't define as
macro.
* libbfd.h: Rebuild.
* opncls.c: Include "objalloc.h" rather than "obstack.h".  Use
objalloc routines rather than obstack routines.
(obstack_chunk_alloc, obstack_chunk_free): Don't define.
(getpagesize): Don't define.
(_bfd_new_bfd): Don't set _bfd_chunksize.
(bfd_openr): Free new bfd and objalloc on failure.
(bfd_fdopenr, bfd_openstreamr, bfd_openw): Likewise.
(bfd_alloc_size): Remove.
(bfd_release): New function.
* hash.c: Include "objalloc.h" rather than "obstack.h".  Use
objalloc routines rather than obstack routines.
(obstack_chunk_alloc, obstack_chunk_free): Don't define.
* ecofflink.c: Include "objalloc.h" rather than "obstack.h".  Use
objalloc routines rather than obstack routines.
(obstack_chunk_alloc, obstack_chunk_free): Don't define.
(struct accumulate): Change memory to struct objalloc *.
* liboasys.h (oasys_data_type): Remove oasys_obstack field.
* dep-in.sed: Don't remove obstack.h from dependency list.
* Makefile.in: Rebuild dependencies.
(BFD_H_DEPS): Remove obstack.h.
(install): Don't install obstack.h.
* Many files: Don't include "obstack.h".
* VERSION: Bump.

27 years ago * ldlang.c: Include "obstack.h".
Ian Lance Taylor [Tue, 18 Mar 1997 00:26:19 +0000 (00:26 +0000)]
* ldlang.c: Include "obstack.h".

27 years agofix last patch
Ian Lance Taylor [Tue, 18 Mar 1997 00:24:50 +0000 (00:24 +0000)]
fix last patch

27 years ago * objalloc.h: New file.
Ian Lance Taylor [Tue, 18 Mar 1997 00:22:33 +0000 (00:22 +0000)]
* objalloc.h: New file.

27 years ago * srec.c (srec_scan): Rewrite to not use obstack_1grow.
Ian Lance Taylor [Mon, 17 Mar 1997 20:14:55 +0000 (20:14 +0000)]
* srec.c (srec_scan): Rewrite to not use obstack_1grow.

27 years ago * opncls.c (bfd_alloc_grow, bfd_alloc_finish): Remove.
Ian Lance Taylor [Mon, 17 Mar 1997 17:51:20 +0000 (17:51 +0000)]
* opncls.c (bfd_alloc_grow, bfd_alloc_finish): Remove.
* libbfd-in.h (bfd_alloc_grow, bfd_alloc_finish): Don't declare.
* libbfd.h: Rebuild.
* ieee.c (ieee_archive_p): Rewrite to not use bfd_alloc_grow.
* sunos.c (sunos_add_dynamic_symbols): Likewise.

27 years ago* m68k-opc.c (m68k_opcodes): Provide correct entries for mulsl and
J.T. Conklin [Mon, 17 Mar 1997 16:50:51 +0000 (16:50 +0000)]
* m68k-opc.c (m68k_opcodes): Provide correct entries for mulsl and
mulul insns on the coldfire.

27 years ago * opncls.c (bfd_alloc): Rename from bfd_alloc_by_size_t. Remove
Ian Lance Taylor [Mon, 17 Mar 1997 16:36:08 +0000 (16:36 +0000)]
* opncls.c (bfd_alloc): Rename from bfd_alloc_by_size_t.  Remove
old version of bfd_alloc.
* libbfd-in.h (bfd_alloc_by_size_t): Don't declare.
* libbfd.h: Rebuild.
* Several files: Call bfd_alloc rather than bfd_alloc_by_size_t.

27 years ago * as.h (bfd_alloc_by_size_t): Don't declare.
Ian Lance Taylor [Mon, 17 Mar 1997 16:29:29 +0000 (16:29 +0000)]
* as.h (bfd_alloc_by_size_t): Don't declare.
* Many files: Use xmalloc rather than bfd_alloc_by_size_t.

27 years ago * sim-inline.h: Add definitions for sim-types.
Andrew Cagney [Mon, 17 Mar 1997 16:29:21 +0000 (16:29 +0000)]
* sim-inline.h: Add definitions for sim-types.
(ALL_BY_MODULE): New macro, encapsulate full inlining by the
  module.

27 years agoremove defunct variable from event struct
Andrew Cagney [Mon, 17 Mar 1997 16:26:35 +0000 (16:26 +0000)]
remove defunct variable from event struct

27 years agoCorrectly validate 64bit instructions
Andrew Cagney [Mon, 17 Mar 1997 16:14:47 +0000 (16:14 +0000)]
Correctly validate 64bit instructions

27 years agoAdd/use pr_uword64 for SIM_ADDR independent values.
Gavin Romig-Koch [Mon, 17 Mar 1997 16:02:13 +0000 (16:02 +0000)]
Add/use pr_uword64 for SIM_ADDR independent values.

27 years agoMon Mar 17 10:54:47 1997 David Mosberger-Tang <davidm@azstarnet.com>
Ian Lance Taylor [Mon, 17 Mar 1997 15:55:41 +0000 (15:55 +0000)]
Mon Mar 17 10:54:47 1997  David Mosberger-Tang  <davidm@azstarnet.com>

* cg_arcs.c (arc_add): memset() newly alloced arc to ensure
all fields are initialized with 0.

27 years ago * configure: Re-generate.
Andrew Cagney [Mon, 17 Mar 1997 15:29:29 +0000 (15:29 +0000)]
    * configure: Re-generate.
        * Make-common.in (CSEARCH): Do not include the gdb directory in
        the search path.
        * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
        SIM_WARNING): Drop, requiring the simulator specific Makefile.in
        to explicitly incorporate these.

        * aclocal.m4 (--enable-sim-alignment); New option. Strongly
        specify the alignment restrictions of the target architecture -
        without this option all alignment restrictions are accomodated.
        (--enable-sim-assert): New option.  Conditionally compile in
        assertion statements.
        (--enable-sim-float): New option. Strongly specify the target's
        floating point support.
        (--enable-sim-hardware): New option.  Specify the hardware devices
        included in the simulation.
        (--enable-sim-packages): New option.  Specify the hardware
        packages included in the simulation.
        (--enable-sim-regparm): New option.  Specify that parameters be
        passed in registers instead of on the stack.
        (--enable-sim-reserved-bits): New option. Specify that reserved
        bits within an instruction are are correctly set.
        (--enable-sim-smp): New option. Specify the level of SMP support
        to be included in the simulator.
        (--enable-sim-stdcall): New option.  Specify an alternative
        function call convention.
        (--enable-sim-xor-endian): New option.  Configure xor-endian
        support used by some targets to implement bi-endian support.

27 years agoPart of previous move of remote-sim.h to ../include
Andrew Cagney [Mon, 17 Mar 1997 14:40:22 +0000 (14:40 +0000)]
Part of previous move of remote-sim.h to ../include

27 years ago* remote-sim.h: Delete - moved to ../include/remote-sim.h.
Andrew Cagney [Mon, 17 Mar 1997 14:23:31 +0000 (14:23 +0000)]
* remote-sim.h: Delete - moved to ../include/remote-sim.h.
* Makefile.in (remote_utils_h): Update path to remote-sim.h.
* remote-sim.c (flush_stdout, write_stderr, flush_stderr,
vprintf_filtered, evprintf_filtered): Callbacks that accept
varargs.

27 years ago* remote-sim.h: New file, copied in from gdb/remote-sim.h. One
Andrew Cagney [Mon, 17 Mar 1997 14:19:23 +0000 (14:19 +0000)]
* remote-sim.h: New file, copied in from gdb/remote-sim.h.  One
day this will be placed in a directory of its own.

27 years agox
Ian Lance Taylor [Sun, 16 Mar 1997 18:52:01 +0000 (18:52 +0000)]
x

27 years ago * symbols.c (symbol_new): Don't call debug_verify_symchain.
Ian Lance Taylor [Sun, 16 Mar 1997 18:50:27 +0000 (18:50 +0000)]
* symbols.c (symbol_new): Don't call debug_verify_symchain.
(symbol_append): Set sy_next and sy_previous when adding a single
symbol to an empty list.  Call debug_verify_symchain.
(verify_symbol_chain): Use assert, not know.

27 years agoSun Mar 16 01:34:55 1997 Martin Hunt <hunt@cygnus.com>
Martin Hunt [Sun, 16 Mar 1997 09:38:51 +0000 (09:38 +0000)]
Sun Mar 16 01:34:55 1997  Martin Hunt <hunt@cygnus.com>

* config.sub: Remove misplaced comment that broke Linux.

27 years ago * configure.tgt (powerpc-*-beos*): Use aixppc for targ_emul.
Fred Fish [Sun, 16 Mar 1997 06:26:35 +0000 (06:26 +0000)]
    * configure.tgt (powerpc-*-beos*): Use aixppc for targ_emul.

27 years ago * config.sub: Add BeOS support.
Fred Fish [Sun, 16 Mar 1997 05:55:28 +0000 (05:55 +0000)]
* config.sub: Add BeOS support.

27 years agoChangeLog
Fred Fish [Sun, 16 Mar 1997 05:54:50 +0000 (05:54 +0000)]
ChangeLog

27 years ago * NEWS: Note BeOS support.
Fred Fish [Sun, 16 Mar 1997 03:28:53 +0000 (03:28 +0000)]
* NEWS: Note BeOS support.
* configure.in: (ppc-*-beos): New target, use coff as object format.
* configure: Regenerate with autoconf.

27 years agoSat Mar 15 19:17:31 1997 H.J. Lu <hjl@lucon.org>
Ian Lance Taylor [Sun, 16 Mar 1997 00:18:26 +0000 (00:18 +0000)]
Sat Mar 15 19:17:31 1997  H.J. Lu  <hjl@lucon.org>

* symtab.h (find_call): Declare.
* cg_arcs.c (cg_assemble): Don't declare find_call.
* hist.c (scale_and_align_entries): Declare.

27 years ago * config/tc-mips.c (md_apply_fix): Improve error message for out
Ian Lance Taylor [Sun, 16 Mar 1997 00:16:52 +0000 (00:16 +0000)]
* config/tc-mips.c (md_apply_fix): Improve error message for out
of range branch.

27 years ago * Makefile.in: Add dependencies on obstack.h where needed.
Ian Lance Taylor [Sun, 16 Mar 1997 00:15:01 +0000 (00:15 +0000)]
* Makefile.in: Add dependencies on obstack.h where needed.

27 years agox
Ian Lance Taylor [Sun, 16 Mar 1997 00:05:49 +0000 (00:05 +0000)]
x

27 years ago * obstack.h: Update to current FSF version.
Ian Lance Taylor [Sun, 16 Mar 1997 00:00:59 +0000 (00:00 +0000)]
* obstack.h: Update to current FSF version.

27 years agoSat Mar 15 18:10:38 1997 H.J. Lu <hjl@lucon.org>
Ian Lance Taylor [Sat, 15 Mar 1997 23:17:46 +0000 (23:17 +0000)]
Sat Mar 15 18:10:38 1997  H.J. Lu  <hjl@lucon.org>

* ldemul.h (ldemul_list_emulations): Use full prototype.
* ldlang.c (print_one_symbol): Add declaration.
* ldlang.h (dprint_statements): Declare.
* ldmain.c (remove_output): Declare.
* ldmisc.c (vfinfo): Declare.
* ldwrite.c (clone_section): Declare.
(split_sections): Make static.  Declare.
* mri.c: Include libiberty.h.
(strdup): Don't declare.
(mri_alias): Use xstrdup rather than strdup.

27 years ago * arm-dis.c (print_insn_arm): Don't print instruction bytes.
Ian Lance Taylor [Sat, 15 Mar 1997 22:15:00 +0000 (22:15 +0000)]
* arm-dis.c (print_insn_arm): Don't print instruction bytes.
(print_insn_big_arm): Set bytes_per_chunk and display_endian.
(print_insn_little_arm): Likewise.

27 years ago Based on patches from Jamie Lokier <jamie@rebellion.co.uk>:
Ian Lance Taylor [Sat, 15 Mar 1997 21:50:56 +0000 (21:50 +0000)]
Based on patches from Jamie Lokier <jamie@rebellion.co.uk>:
* objdump.c: Include "demangle.h".
(do_demangle): New static variable.
(usage): Mention -C/--demangle.
(long_options): Add "demangle".
(objdump_print_symname): New static function.
(objdump_print_addr_with_sym): Use objdump_print_symname.
(disassemble_bytes): Likewise.
(dump_reloc_set): Likewise.
(dump_symbols): Demangle symbol name.
(main): Handle -C.
* binutils.texi, objdump.1: Document -C/--demangle.

27 years ago * objdump.c (usage): Mention --no-show-raw-insn.
Ian Lance Taylor [Sat, 15 Mar 1997 20:37:45 +0000 (20:37 +0000)]
* objdump.c (usage): Mention --no-show-raw-insn.
(long_options): Add "no-show-raw-insn".
(disassemble_bytes): Handle --no-show-raw-insn.
* binutils.texi, objdump.1: Document --no-show-raw-insn.

27 years ago * elf32-mips.c (mips_elf_is_local_label_name): Accept the generic
Ian Lance Taylor [Sat, 15 Mar 1997 20:27:16 +0000 (20:27 +0000)]
* elf32-mips.c (mips_elf_is_local_label_name): Accept the generic
ELF local label syntax as well.

27 years ago * config.bfd (powerpc-*-beos*): New target.
Fred Fish [Sat, 15 Mar 1997 17:27:45 +0000 (17:27 +0000)]
* config.bfd (powerpc-*-beos*): New target.
* configure.in (powerpc-*-beos*): Add case that explicitly
does not set COREFILE for now.  A future BeOS version is
expected to support core files.
* configure: Regenerate with autoconf.

27 years ago * breakpoint.c (insert_breakpoints, watchpoint_check,
Peter Schauer [Sat, 15 Mar 1997 08:53:41 +0000 (08:53 +0000)]
* breakpoint.c (insert_breakpoints, watchpoint_check,
bpstat_stop_status):  Do not disable watchpoints going out of scope.
(insert_breakpoints):  Make sure that the current frame is valid
before calling find_frame_addr_in_frame_chain.

* top.c (setup_user_args):  Handle quotes and backslashes.
(print_gdb_version):  Update copyright year.

27 years ago * scripttempl/elfmips.sc: Change handling of data area when
Ian Lance Taylor [Sat, 15 Mar 1997 02:31:01 +0000 (02:31 +0000)]
* scripttempl/elfmips.sc: Change handling of data area when
generating a shared library to not skip a large block of memory.
From Per Fogelstrom <pefo@cvs.openbsd.org>.

27 years ago * elf32-mips.c (mips_elf_check_relocs): Give an error if CALL16 is
Ian Lance Taylor [Sat, 15 Mar 1997 02:16:30 +0000 (02:16 +0000)]
* elf32-mips.c (mips_elf_check_relocs): Give an error if CALL16 is
  seen with a local symbol, rather than crashing.

27 years ago * config/tc-mips.c (md_estimate_size_before_relax): Handle the
Ian Lance Taylor [Sat, 15 Mar 1997 02:14:44 +0000 (02:14 +0000)]
* config/tc-mips.c (md_estimate_size_before_relax): Handle the
case of a symbol equated to another symbol when using SVR4_PIC.

27 years ago * elfcode.h (elf_slurp_symbol_table): Don't try to read the
Ian Lance Taylor [Fri, 14 Mar 1997 21:46:39 +0000 (21:46 +0000)]
* elfcode.h (elf_slurp_symbol_table): Don't try to read the
version symbols if there aren't any.

27 years ago * Makefile.in (elfread.o): Depend upon elf-bfd.h and elf/mips.h.
Ian Lance Taylor [Fri, 14 Mar 1997 20:44:51 +0000 (20:44 +0000)]
* Makefile.in (elfread.o): Depend upon elf-bfd.h and elf/mips.h.

27 years ago * Makefile.in (TARG_CPU_DEP_sparc): Add opcode/sparc.h.
Ian Lance Taylor [Fri, 14 Mar 1997 20:34:08 +0000 (20:34 +0000)]
* Makefile.in (TARG_CPU_DEP_sparc): Add opcode/sparc.h.

27 years ago * sparc.h: Include <ansidecl.h>. Update function declarations to
Ian Lance Taylor [Fri, 14 Mar 1997 20:22:46 +0000 (20:22 +0000)]
* sparc.h: Include <ansidecl.h>.  Update function declarations to
use prototypes, and to use const when appropriate.

27 years ago Based on patches from H.J. Lu <hjl@lucon.org>:
Ian Lance Taylor [Fri, 14 Mar 1997 20:21:19 +0000 (20:21 +0000)]
Based on patches from H.J. Lu <hjl@lucon.org>:
* i386-dis.c (fetch_data): Add prototype.
* m68k-dis.c (fetch_data): Add prototype.
(dummy_print_address): Add prototype.  Make static.
* ppc-opc.c (valid_bo): Add prototype.
* sparc-dis.c (build_hash_table): Add prototype.
(is_delayed_branch, compute_arch_mask): Add prototypes.
(print_insn_sparc): Make several local variables const.
(compare_opcodes): Change arguments to const PTR.  Add prototype.
* sparc-opc.c (arg): Change name field to be const.
(lookup_name, lookup_value): Add prototypes.  Change table and
name parameters to be const.
(sparc_encode_asi): Change name parameter to be const.
(sparc_encode_membar, sparc_encode_prefetch): Likewise.
(sparc_encode_sparclet_cpreg): Likewise.
(sparc_decode_asi): Change return type to be const.
(sparc_decode_membar, sparc_decode_prefetch): Likewise.
(sparc_decode_sparclet_cpreg): Likewise.

27 years ago * configure: Regenerated.
Tom Tromey [Fri, 14 Mar 1997 17:16:43 +0000 (17:16 +0000)]
    * configure: Regenerated.
        * configure.in (LIBS): Re-reverse order of TCL_LIBS and TK_LIBS.

27 years agoUpdate names
Andrew Cagney [Fri, 14 Mar 1997 16:51:21 +0000 (16:51 +0000)]
Update names

27 years agoForgot to update *-n.h to sim-n*.h
Andrew Cagney [Fri, 14 Mar 1997 16:48:11 +0000 (16:48 +0000)]
Forgot to update *-n.h to sim-n*.h

27 years agoAdd comment to changelog
Michael Meissner [Fri, 14 Mar 1997 16:24:02 +0000 (16:24 +0000)]
Add comment to changelog

27 years agoRegenerate simulator configure scripts; Remove d10v traps 1-3, Make 15 the system...
Michael Meissner [Fri, 14 Mar 1997 16:21:57 +0000 (16:21 +0000)]
Regenerate simulator configure scripts; Remove d10v traps 1-3, Make 15 the system call trap, keeping 0 temporarily

27 years agoAdd a number of per-simulator options: hostendian, endian, inline, warnings.
Andrew Cagney [Fri, 14 Mar 1997 15:13:58 +0000 (15:13 +0000)]
Add a number of per-simulator options: hostendian, endian, inline, warnings.
Rename *-n.h files to be dos compatible

27 years ago * utils.c(pollquit, notice_quit): If _WIN32, limit test for cntl-C
Dawn Perchik [Fri, 14 Mar 1997 06:05:04 +0000 (06:05 +0000)]
* utils.c(pollquit, notice_quit): If _WIN32, limit test for cntl-C
to wingdb.
(initialize_utils): If _WIN32, don't call ScreenRows and ScreenCols
except under wingdb.  (Contributed by Martin Hunt).

27 years ago* ld-insn.c (parse_insn_format): Accept '*' as an alternative of
Andrew Cagney [Fri, 14 Mar 1997 02:00:07 +0000 (02:00 +0000)]
* ld-insn.c (parse_insn_format): Accept '*' as an alternative of
`/' in bit fields.  `/' denotes a wild bit.

27 years ago * coff-tic80.c (coff_rtype_to_howto): Define
Fred Fish [Thu, 13 Mar 1997 23:40:30 +0000 (23:40 +0000)]
* coff-tic80.c (coff_rtype_to_howto): Define
(coff_tic80_rtype_to_howto): Clone generic coff version and
add code to handle the funky TI "internal relocations".

27 years agoAdd some more comments.
David Edelsohn [Thu, 13 Mar 1997 21:12:22 +0000 (21:12 +0000)]
Add some more comments.

27 years ago * interp.c (sim_open): New SIM_DESC result. Argument is now
David Edelsohn [Thu, 13 Mar 1997 21:01:38 +0000 (21:01 +0000)]
* interp.c (sim_open): New SIM_DESC result.  Argument is now
in argv form.
(other sim_*): New SIM_DESC argument.

27 years ago * sim_calls.c (sim_open): New SIM_DESC result. Argument is now
David Edelsohn [Thu, 13 Mar 1997 20:59:29 +0000 (20:59 +0000)]
* sim_calls.c (sim_open): New SIM_DESC result.  Argument is now
in argv form.
(other sim_*): New SIM_DESC argument.

27 years ago * interp.c (sim_open): New SIM_DESC result. Argument is now
David Edelsohn [Thu, 13 Mar 1997 20:55:26 +0000 (20:55 +0000)]
* interp.c (sim_open): New SIM_DESC result.  Argument is now
in argv form.
(other sim_*): New SIM_DESC argument.

27 years ago * compile.c (sim_open): New SIM_DESC result. Argument is now in
David Edelsohn [Thu, 13 Mar 1997 20:49:39 +0000 (20:49 +0000)]
* compile.c (sim_open): New SIM_DESC result.  Argument is now in
argv form.
(other sim_*): New SIM_DESC argument.

27 years ago * interf.c (sim_open): New SIM_DESC result. Argument is now in
David Edelsohn [Thu, 13 Mar 1997 20:47:43 +0000 (20:47 +0000)]
* interf.c (sim_open): New SIM_DESC result.  Argument is now in
argv form.
(other sim_*): New SIM_DESC argument.

27 years ago * interp.c: Delete redundant prototypes of sim_foo fns.
David Edelsohn [Thu, 13 Mar 1997 20:44:07 +0000 (20:44 +0000)]
* interp.c: Delete redundant prototypes of sim_foo fns.
(sim_open): New SIM_DESC result.  Argument is now in argv form.
(other sim_*): New SIM_DESC argument.

27 years ago * wrapper.c (sim_open): Has result now.
David Edelsohn [Thu, 13 Mar 1997 20:40:53 +0000 (20:40 +0000)]
* wrapper.c (sim_open): Has result now.
(sim_*): New SIM_DESC argument.

27 years ago * configure: Regenerated.
Tom Tromey [Thu, 13 Mar 1997 20:39:56 +0000 (20:39 +0000)]
* configure: Regenerated.
* configure.in: Run AC_CONFIG_AUX_DIR before AC_CANONICAL_SYSTEM.

* config.in: Regenerated.

* acconfig.h (START_INFERIOR_TRAPS_EXPECTED, sys_quotactl,
HAVE_HPUX_THREAD_SUPPORT): Define.

* gdbtk.c (x_event): Use Tcl_DoOneEvent, TCL_DONT_WAIT,
TCL_ALL_EVENTS.

* configure: Regenerated.
* configure.in (ENABLE_GDBTK): Put TCL_LIBS after TK_LIBS in
LIBS.

27 years ago * run.c: #include "libiberty.h".
David Edelsohn [Thu, 13 Mar 1997 20:37:15 +0000 (20:37 +0000)]
* run.c: #include "libiberty.h".
(main): New locals sd,no_args,sim_argv.
Run buildargv on -a option.  Pass argv to sim_open, argv[0]
is program name.  Update call to sim_set_callbacks.
Record result of sim_open, pass to other sim_foo routines.

27 years agoFix problems in setting the carry bit
Michael Meissner [Thu, 13 Mar 1997 20:30:50 +0000 (20:30 +0000)]
Fix problems in setting the carry bit