binutils-gdb.git
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

27 years ago * remote-sim.h (sim_state, SIM_DESC): New types.
David Edelsohn [Thu, 13 Mar 1997 20:28:26 +0000 (20:28 +0000)]
* remote-sim.h (sim_state, SIM_DESC): New types.
(sim_open): Return a `descriptor' as result.
(*): New argument of descriptor result from sim_open.
* remote-sim.c (gdbsim_desc): Renamed from gdbsim_open_p.
(gdbsim_open): Record result of sim_open in gdbsim_desc.
Pass argv list to sim_open, argv[0] = pseudo program name.
(*): Pass gdbsim_desc to sim_foo fns.

27 years ago * read.c (read_a_source_file): Call LISTING_NEWLINE before
Ian Lance Taylor [Thu, 13 Mar 1997 20:19:43 +0000 (20:19 +0000)]
* read.c (read_a_source_file): Call LISTING_NEWLINE before
HANDLE_CONDITIONAL_ASSEMBLY when handling an MRI line label.
PR 11746.

27 years ago * elflink.h (elf_link_add_object_symbols): Don't warn about type
Ian Lance Taylor [Thu, 13 Mar 1997 19:24:20 +0000 (19:24 +0000)]
* elflink.h (elf_link_add_object_symbols): Don't warn about type
or size changes because of a weak symbol.
PR 11827.

27 years ago * cisco-core.c (SIGEMT): Define if not defined.
Ian Lance Taylor [Thu, 13 Mar 1997 19:11:06 +0000 (19:11 +0000)]
* cisco-core.c (SIGEMT): Define if not defined.

27 years agoAdd copyright, tweak some comments.
David Edelsohn [Thu, 13 Mar 1997 17:13:15 +0000 (17:13 +0000)]
Add copyright, tweak some comments.

27 years ago * config/obj-elf.c (obj_elf_data): Call md_flush_pending_output
Ian Lance Taylor [Thu, 13 Mar 1997 16:21:34 +0000 (16:21 +0000)]
* config/obj-elf.c (obj_elf_data): Call md_flush_pending_output
and md_elf_section_change_hook if they are defined.
(obj_elf_text, obj_elf_previous): Likewise.

27 years agoFix os_printf_filtered; Flush stdout after calling printf_filtered
Michael Meissner [Thu, 13 Mar 1997 16:04:50 +0000 (16:04 +0000)]
Fix os_printf_filtered; Flush stdout after calling printf_filtered

27 years agoNew directory, devo/sim/testsuite - loose (sanitize) it for the moment.
Andrew Cagney [Thu, 13 Mar 1997 04:22:38 +0000 (04:22 +0000)]
New directory, devo/sim/testsuite - loose (sanitize) it for the moment.

27 years agoWed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
Ian Lance Taylor [Thu, 13 Mar 1997 02:46:09 +0000 (02:46 +0000)]
Wed Mar 12 21:44:19 1997  Eric Youngdale  <eric@andante.jic.com>

* ld-elfvers/vers.exp, *: New tests for symbol versioning.
* config/default.exp: Set ar and strip.

27 years ago * elflink.h (elf_link_add_object_symbols): Use extsymoff when
Ian Lance Taylor [Thu, 13 Mar 1997 02:41:44 +0000 (02:41 +0000)]
* elflink.h (elf_link_add_object_symbols): Use extsymoff when
setting ever.  Sanity check the version number.  Sort out copying
flags and other information when adding an indirect symbol.
(NAME(bfd_elf,size_dynamic_sections)): Preserve any dynamic
symbols added by the backend.  Clear the entire contents of the
versym section.
(elf_export_symbol): Ignore indirect symbols.
(elf_link_output_extsym): Accept a section without an owner in an
assert.
* elfcode.h (elf_slurp_symbol_table): Add a sanity check on the
version count.  Correct the allocation of x_versymp.

27 years ago * elf32-mips.c (mips_elf_add_symbol_hook): Don't set the owner of
Ian Lance Taylor [Thu, 13 Mar 1997 02:41:08 +0000 (02:41 +0000)]
* elf32-mips.c (mips_elf_add_symbol_hook): Don't set the owner of
the magic sections used for SHN_MIPS_TEXT and SHN_MIPS_DATA.
Don't return bfd_und_section_ptr when info->shared.
(mips_elf_final_link): Set the alignment of .rtproc to 4, not 12.
(mips_elf_create_dynamic_sections): Correct type: ^= for &=.
(mips_elf_check_relocs): Resolve an indirect symbol in
sym_hashes.
(mips_elf_finish_dynamic_symbol): Don't change SHN_ABS into
SHN_MIPS_TEXT or SHN_MIPS_DATA.

27 years ago * ldmain.c (multiple_definition): Only skip the warning if the
Ian Lance Taylor [Thu, 13 Mar 1997 02:34:33 +0000 (02:34 +0000)]
* ldmain.c (multiple_definition): Only skip the warning if the
output section is absolute when the input section is not
absolute.

* ldlex.l: Accept whitespace in VERS_START state.  Warn about
invalid characters in VERS_* states.

27 years ago * simops.c: Fix carry bit computation for "add" instructions.
Jeff Law [Wed, 12 Mar 1997 22:20:13 +0000 (22:20 +0000)]
    * simops.c: Fix carry bit computation for "add" instructions.
More bugs exposed by new mn10300 compiler optimizations.

27 years ago * simops.c: Fix typos in bset insns. Fix arguments to store_mem
Jeff Law [Wed, 12 Mar 1997 22:05:49 +0000 (22:05 +0000)]
    * simops.c: Fix typos in bset insns.  Fix arguments to store_mem
        for bset imm8,(d8,an) and bclr imm8,(d8,an).
Bugs exposed by new compiler optimizations.

27 years ago * doc/as.texinfo (bss): Improve description of .bss section. In
Ian Lance Taylor [Wed, 12 Mar 1997 16:41:26 +0000 (16:41 +0000)]
* doc/as.texinfo (bss): Improve description of .bss section.  In
ELF or COFF, you are permitted to switch into the section.
(Comm): Rewrite description of common symbols.
(Lcomm): Mention that some targets permit a third argument.

27 years agoExtend callback interface to support vprintf, flush and error printing.
Andrew Cagney [Wed, 12 Mar 1997 12:27:30 +0000 (12:27 +0000)]
Extend callback interface to support vprintf, flush and error printing.
Corresponding change for gdb directory can be checked in later.

27 years ago * config/tc-ppc.c (ppc_elf_lcomm): Don't call S_CLEAR_EXTERNAL.
Ian Lance Taylor [Wed, 12 Mar 1997 01:39:00 +0000 (01:39 +0000)]
* config/tc-ppc.c (ppc_elf_lcomm): Don't call S_CLEAR_EXTERNAL.
PR 11847.

27 years ago * symbols.c (colon): Change type of local to int. From Alan Modra
Ian Lance Taylor [Tue, 11 Mar 1997 20:12:37 +0000 (20:12 +0000)]
* symbols.c (colon): Change type of local to int.  From Alan Modra
<alan@spri.levels.unisa.edu.au>.

27 years ago * config/tc-m88k.c (m88k_do_align): Don't use a special nop
Ian Lance Taylor [Tue, 11 Mar 1997 20:10:20 +0000 (20:10 +0000)]
* config/tc-m88k.c (m88k_do_align): Don't use a special nop
alignment if a zero fill pattern was explicitly specified.
* config/tc-sh.c (sh_do_align): Likewise.

27 years ago Removed, no longer used.
Bob Manson [Tue, 11 Mar 1997 19:45:29 +0000 (19:45 +0000)]
Removed, no longer used.

27 years ago * config/monitor.exp: Make sure we disconnect from the target.
Bob Manson [Tue, 11 Mar 1997 19:45:02 +0000 (19:45 +0000)]
* config/monitor.exp: Make sure we disconnect from the target.
Also, try a reboot/reload cycle instead of failing if the
load fails.

27 years ago * read.c (equals): Always permit register names to be redefined.
Ian Lance Taylor [Tue, 11 Mar 1997 18:30:11 +0000 (18:30 +0000)]
* read.c (equals): Always permit register names to be redefined.
PR 11787.

27 years ago * config/tc-mips.c (mips_fix_adjustable): Permit a reloc against a
Ian Lance Taylor [Tue, 11 Mar 1997 18:16:59 +0000 (18:16 +0000)]
* config/tc-mips.c (mips_fix_adjustable): Permit a reloc against a
mips16 symbol to be adjusted if a symbol is being subtracted from
it.

27 years agoFirst cut at supporting simulators in gdbserver:
Mark Alexander [Tue, 11 Mar 1997 15:49:20 +0000 (15:49 +0000)]
First cut at supporting simulators in gdbserver:

* configure, configure.in: Allow gdbserver to be configured
for cross-target environments.
* gdbserver/Makefile.in: Add simulator support.
* gdbserver/configure.in: Eliminate assumption that host == target.
Simplify using gdb/configure.tgt and gdb/configure.host.
Fix other minor configuration errors.
* gdbserver/low-sparc.c: Fix compile error.
* gdbserver/remote-utils.c: Eliminate assumption that registers
and addresses are four bytes.  Fix minor compile errors and warnings.
* gdbserver/server.c: Rewrite numerous instances of identical code
for starting inferior processes to call new function start_inferior.
Eliminate assumption that registers and addresses are four bytes.
* gdbserver/server.h: Add missing prototypes to eliminate compiler
warnings.
* gdbserver/low-sim.c: New file to mate gdbserver with simulators.
* config/mips/vr5000.mt: Add Vr5000 simulator support to gdbserver.
* config/i386/linux.mh: Eliminate gdbserver support as a first step
in moving such support from host to target makefile fragments.
* config/i386/linux.mt: Move gdbserver support here from linux.mh.

27 years ago From Eric Youngdale <eric@andante.jic.com>:
Ian Lance Taylor [Tue, 11 Mar 1997 06:46:46 +0000 (06:46 +0000)]
From Eric Youngdale <eric@andante.jic.com>:
* elf-bfd.h (ELF_LINK_FORCED_LOCAL): Define.
* elf.c (bfd_elf_print_symbol): Correct errors in last change.
* elflink.h (elf_link_add_object_symbols): Handle cases in which a
versioned symbol appears in both a regular and a shared object.
(elf_link_assign_sym_version): Set ELF_LINK_FORCED_LOCAL when
appropriate.  Improve error message.
(struct elf_outext_info): Rename from elf_finfo_failed.  Change
all uses.  Add localsyms field.
(elf_bfd_final_link): When generating a shared library, call
elf_link_output_extsym to output all local symbols.
(elf_link_output_extsym): Handle symbols which were forced to
become local.

27 years ago From Eric Youngdale <eric@andante.jic.com>:
Ian Lance Taylor [Tue, 11 Mar 1997 06:14:44 +0000 (06:14 +0000)]
From Eric Youngdale <eric@andante.jic.com>:
* config/obj-elf.c (obj_elf_symver): Check for duplicate or
illegal symbol version names.
(elf_frob_symbol): Check for external default versions.

27 years ago * Makefile.in (CHECK_X11_MODULES): Don't run check-tk.
Tom Tromey [Mon, 10 Mar 1997 20:41:04 +0000 (20:41 +0000)]
* Makefile.in (CHECK_X11_MODULES): Don't run check-tk.

27 years agoMon Mar 10 12:27:47 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 10 Mar 1997 20:33:35 +0000 (20:33 +0000)]
Mon Mar 10 12:27:47 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>

* symtab.h (INIT_SAL): New macro to initialize symtab_and_line,
to insure consistant initialization of unused fields to zero.
* symtab.c: replace initializations of sals with new macro INIT_SAL.
* breakpoint.c: ditto.
* infrun.c: ditto.
* infcmd.c: ditto.
* source.c: add call to INIT_SAL macro.

27 years ago From Eric Youngdale <eric@andante.jic.com>:
Ian Lance Taylor [Mon, 10 Mar 1997 04:53:55 +0000 (04:53 +0000)]
From Eric Youngdale <eric@andante.jic.com>:
* config/obj-elf.h (struct elf_obj_sy): Define.
(OBJ_SYMFIELD_TYPE): Define to elf_obj_sy struct.  Change all
users.
* config/obj-elf.c (obj_elf_symver): Just record the name.
(obj_symbol_new_hook): Initialized versioned_name field.
(elf_frob_symbol): If there is a versioned_name, either rename the
symbol, or add an alias with that name.

27 years ago From Eric Youngdale <eric@andante.jic.com>:
Ian Lance Taylor [Mon, 10 Mar 1997 04:43:42 +0000 (04:43 +0000)]
From Eric Youngdale <eric@andante.jic.com>:
* elf-bfd.h (elf_symbol_type): Add version field.
* elfcode.h (elf_slurp_symbol_table): Set version field.
* elflink.h (elf_link_add_object_symbols): When creating an
  indirect symbol for a default version symbol, set DEF_DYNAMIC if
  appropriate.  Set up an indirection from the nondefault version of
the symbol as well.
(NAME(bfd_elf,size_dynamic_sections)): Call
elf_link_assign_sym_version before checking whether there are any
versions.  Always record the version name as a dynamic symbol.
Initialize counters.
(elf_link_assign_sym_version): After finding a version, see if a
symbol should be forced to local scope.  Create a new version
definition if appropriate.
(elf_link_output_extsym): Correct indirect symbol handling.
* elf.c (bfd_elf_print_symbol): Print version information.
(bfd_section_from_shdr): Turn version sections into BFD sections.
(elf_fake_sections): Only copy cverdefs and cverrefs into sh_info
if sh_info is not already set.
(_bfd_elf_copy_private_section_data): Copy sh_info for version
sections.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Tell
_bfd_stringtab_add to copy the name into permanent memory if
appropriate.

27 years agoSun Mar 9 23:06:35 1997 Eric Youngdale <eric@andante.jic.com>
Ian Lance Taylor [Mon, 10 Mar 1997 04:07:24 +0000 (04:07 +0000)]
Sun Mar  9 23:06:35 1997  Eric Youngdale  <eric@andante.jic.com>

* ldgram.y (vers_node): Correct typo of '('  for '{'.

27 years ago * scripttempl/tic80coff.sc (ENTRY): Entry symbol is __start
Fred Fish [Sat, 8 Mar 1997 16:23:57 +0000 (16:23 +0000)]
* scripttempl/tic80coff.sc (ENTRY): Entry symbol is __start
rather than _start.
(__edata): Define this rather than "edata".
(__end): Define this rather than "end".

27 years ago * sparc-tdep.c (isbranch): Always handle v9 branch instructions,
Peter Schauer [Sat, 8 Mar 1997 08:18:02 +0000 (08:18 +0000)]
* sparc-tdep.c (isbranch):  Always handle v9 branch instructions,
they might get used on 32 bit targets as well.

27 years ago * gdb.base/default.exp: Don't set match_max.
Bob Manson [Fri, 7 Mar 1997 22:00:02 +0000 (22:00 +0000)]
* gdb.base/default.exp: Don't set match_max.
* gdb.base/help.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/signals.exp: Ditto.

* config/monitor.exp(gdb_load): If gdb,use_standard_load is
set, use remote_ld to download the testcase instead of
the GDB loader.

27 years ago * coffcode.h (bfd_coff_backend_data): Change
Ian Lance Taylor [Fri, 7 Mar 1997 17:45:43 +0000 (17:45 +0000)]
* coffcode.h (bfd_coff_backend_data): Change
_bfd_coff_compute_section_file_positions to return a boolean
value.  Change all callers.
(coff_compute_section_file_positions): Change return type to
boolean.  If the size of the last section changed, then output a
zero byte at the end of the file.
* libcoff.h: Rebuild.
PR 11806.

27 years agoFri Mar 7 11:55:31 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Fri, 7 Mar 1997 16:57:21 +0000 (16:57 +0000)]
Fri Mar  7 11:55:31 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* elf64-alpha.c (alpha_elf_dynamic_symbol_p): Fully parenthesize.

27 years ago * xcofflink.c (_bfd_xcoff_bfd_final_link): Always allocate space
Ian Lance Taylor [Fri, 7 Mar 1997 16:50:22 +0000 (16:50 +0000)]
* xcofflink.c (_bfd_xcoff_bfd_final_link): Always allocate space
for at least 6 output symbols.
(xcoff_write_global_symbol): When emitting TOC entry relocs, also
emit a TC csect to represent the space they take up.  For an XO
symbol, just emit a reference, not a csect.
PR 11793.

27 years agoUpdate copyrights.
Jeff Law [Fri, 7 Mar 1997 16:11:48 +0000 (16:11 +0000)]
Update copyrights.

27 years agox
Ian Lance Taylor [Fri, 7 Mar 1997 15:51:28 +0000 (15:51 +0000)]
x

27 years ago * Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since
Ian Lance Taylor [Fri, 7 Mar 1997 15:50:33 +0000 (15:50 +0000)]
* Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since
Solaris doesn't like the combined options, and the -f is
unnecessary.

27 years ago * elf32-mips.c (mips_elf_relocate_section): Correct R_MIPS16_26
Ian Lance Taylor [Fri, 7 Mar 1997 15:38:12 +0000 (15:38 +0000)]
* elf32-mips.c (mips_elf_relocate_section): Correct R_MIPS16_26
handling when little endian.

27 years agoNew files:
Andrew Cagney [Fri, 7 Mar 1997 09:15:56 +0000 (09:15 +0000)]
New files:
sim-io - interface to external IO
sim-events - event queue management
sim-core - hardware memory model (device
support optional but comming
soon).

27 years agoExtend bit and endian operators.
Andrew Cagney [Fri, 7 Mar 1997 09:08:07 +0000 (09:08 +0000)]
Extend bit and endian operators.

27 years agoClean up.
Andrew Cagney [Fri, 7 Mar 1997 08:57:02 +0000 (08:57 +0000)]
Clean up.

27 years agoLoose the bugs file.
Andrew Cagney [Fri, 7 Mar 1997 07:34:19 +0000 (07:34 +0000)]
Loose the bugs file.

27 years agoupdate copyrights.
Jeff Law [Fri, 7 Mar 1997 01:20:29 +0000 (01:20 +0000)]
update copyrights.

27 years ago * config/tc-mn10300.c (md_relax_table): Define.
Jeff Law [Fri, 7 Mar 1997 01:16:33 +0000 (01:16 +0000)]
    * config/tc-mn10300.c (md_relax_table): Define.
        (md_convert_frag): Implement.
        (md_assemble): Handle relaxable operands/instructions correctly.
        (md_estimate_size_before_relax): Implement.
        * config/tc-mn10300.h (TC_GENERIC_RELAX_TABLE): Define.
Branch relaxing for the mn10300.  Reduces the code size of our libraries by
about 11%.

27 years ago * config/tc-mn10200.c (md_relax_table): Fix typos.
Jeff Law [Fri, 7 Mar 1997 00:04:57 +0000 (00:04 +0000)]
    * config/tc-mn10200.c (md_relax_table): Fix typos.
Somthing I noticed while working on mn10300 relaxing code.

27 years agoUpdate copyright dates.
Jeff Law [Fri, 7 Mar 1997 00:00:09 +0000 (00:00 +0000)]
Update copyright dates.

27 years ago * mn10300-opc.c (IMM16_PCREL, SD8N_PCREL, D16_SHIFT): Mark these
Jeff Law [Thu, 6 Mar 1997 23:52:48 +0000 (23:52 +0000)]
    * mn10300-opc.c (IMM16_PCREL, SD8N_PCREL, D16_SHIFT): Mark these
        as relaxable.
For the relaxing assembler.

27 years agoFix typo in last change.
Jeff Law [Thu, 6 Mar 1997 23:13:31 +0000 (23:13 +0000)]
Fix typo in last change.

27 years ago Added and updated copyright notices to testsuite expect
Bob Manson [Thu, 6 Mar 1997 22:32:25 +0000 (22:32 +0000)]
Added and updated copyright notices to testsuite expect
scripts.

27 years ago * mn10300.h (MN10300_OPERAND_RELAX): Define.
Jeff Law [Thu, 6 Mar 1997 21:19:51 +0000 (21:19 +0000)]
    * mn10300.h (MN10300_OPERAND_RELAX): Define.
Bringing over changes from the mn10200 port.  Getting ready to start on
the relaxing assembler.

27 years ago * elf32-mn10300.c (mn10300_elf_final_link_relocate): New function.
Jeff Law [Thu, 6 Mar 1997 21:17:49 +0000 (21:17 +0000)]
    * elf32-mn10300.c (mn10300_elf_final_link_relocate): New function.
        (mn10300_elf_relocate_section): Likewise.
        (elf_backend_relocate_section): Define.
New style linker for the mn10300.

27 years ago * config/tc-mn10300.c (md_assemble): Don't use any MN10300 specific
Jeff Law [Thu, 6 Mar 1997 20:58:22 +0000 (20:58 +0000)]
    * config/tc-mn10300.c (md_assemble): Don't use any MN10300 specific
        relocs anymore.  Tweak fx_offset for pc-relative relocs.
Cleanup/simplification of mn10300 port.  Bring over changes from mn10200 port.

27 years ago * elf32-mn10300.c (reloc_type): Remove PCREL{8,16,32}_{1,2}BYTE
Jeff Law [Thu, 6 Mar 1997 20:55:44 +0000 (20:55 +0000)]
    * elf32-mn10300.c (reloc_type): Remove PCREL{8,16,32}_{1,2}BYTE
        relocs.  Replace them with generic PCREL_{8,16,32} relocs.
        (elf32_mn10300_howto_table): Likewise.
        (elf32_mn10300_reloc_map): Likewise.
        (bfd_elf32_mn10300_reloc): Delete unused function.
Simplify the mn10300 port.  Stuff I noticed while working on the mn10200.

27 years agoAdd d30v to cpus.
Martin Hunt [Thu, 6 Mar 1997 19:58:37 +0000 (19:58 +0000)]
Add d30v to cpus.

27 years agostart-sanitize-tic80
Fred Fish [Thu, 6 Mar 1997 19:53:29 +0000 (19:53 +0000)]
start-sanitize-tic80
* coff-tic80.c (rtype2howto): If passed a relocation type we don't
understand, just set the howto field to NULL, and the caller will
print an appropriate error message.
end-sanitize-tic80
* coffcode.h (coff_slurp_reloc_table): Pull duplicate declarations and
code fragment out of both legs of #ifdef RELOC_PROCESSING ... #endif
block.  Use NULL for initializations of "ptr" rather than bare 0.
* coff-h8300.c: Fix typo in comment.
* coff-h8500.c: Ditto.
* coff-w65.c: Ditto
* coff-z8k.c: Ditto.

27 years ago More .Sanitize.
Bob Manson [Thu, 6 Mar 1997 07:29:40 +0000 (07:29 +0000)]
More .Sanitize.

27 years ago * config/vr5000.exp: New file.
Bob Manson [Thu, 6 Mar 1997 07:12:21 +0000 (07:12 +0000)]
* config/vr5000.exp: New file.

27 years ago * config/monitor.exp(gdb_target_monitor): Add pattern for
Bob Manson [Thu, 6 Mar 1997 05:30:54 +0000 (05:30 +0000)]
* config/monitor.exp(gdb_target_monitor): Add pattern for
"Ending remote" to detect errors in connecting.

* gdb.base/setshow.exp: Add .* within auto language test.

27 years ago * remote-mips.c (mips_exit_debug): Some IDT boards don't
Bob Manson [Thu, 6 Mar 1997 03:36:05 +0000 (03:36 +0000)]
* remote-mips.c (mips_exit_debug): Some IDT boards don't
send the full exit string.

Fixes a bug when trying to load to our mips IDT boards.

27 years ago * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
Bob Manson [Thu, 6 Mar 1997 01:51:44 +0000 (01:51 +0000)]
* lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
target feature.

27 years ago * cond.c (s_ifc): Call mri_comment_field and mri_comment_end when
Ian Lance Taylor [Wed, 5 Mar 1997 23:48:08 +0000 (23:48 +0000)]
* cond.c (s_ifc): Call mri_comment_field and mri_comment_end when
in MRI mode.
PR 11788

27 years ago * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc): Fix overflow calc.
David Edelsohn [Wed, 5 Mar 1997 22:13:46 +0000 (22:13 +0000)]
* elf32-m32r.c (m32r_elf_do_10_pcrel_reloc): Fix overflow calc.
(m32r_elf_relax_section, m32r_elf_relax_delete_bytes,
m32r_elf_get_relocated_section_contents): First pass at relax support.

27 years ago * simops.c: Fix register references when computing Z and N bits
Jeff Law [Wed, 5 Mar 1997 22:04:31 +0000 (22:04 +0000)]
    * simops.c: Fix register references when computing Z and N bits
        for lsr imm8,dn.
Bug exposed by c-torture testing of the mn10300.

27 years agoWed Mar 5 12:09:29 1997 Martin <hunt@cygnus.com>
Martin Hunt [Wed, 5 Mar 1997 20:18:43 +0000 (20:18 +0000)]
Wed Mar  5 12:09:29 1997  Martin  <hunt@cygnus.com>

* configure.in (noconfigdirs): Remove tcl and tk from
noconfigdirs for cygwin32 builds.

27 years ago * gas/all/gas.exp: xfail a couple tests for the mn10300.
Jeff Law [Wed, 5 Mar 1997 20:02:27 +0000 (20:02 +0000)]
    * gas/all/gas.exp: xfail a couple tests for the mn10300.

27 years ago * mn10200-tdep.c (mn10200_push_arguments): Handle new calling
Jeff Law [Wed, 5 Mar 1997 20:01:04 +0000 (20:01 +0000)]
    * mn10200-tdep.c (mn10200_push_arguments): Handle new calling
        conventions.
        (mn10200_store_struct_return): Likewise.

27 years ago * config/tc-tic80.c (md_pseudo_table): Add "sect" and "section"
Fred Fish [Wed, 5 Mar 1997 06:18:28 +0000 (06:18 +0000)]
* config/tc-tic80.c (md_pseudo_table): Add "sect" and "section"
pseudo-ops.

27 years ago * config/tc-tic80.c (md_begin): Declare external variable
Fred Fish [Wed, 5 Mar 1997 02:35:36 +0000 (02:35 +0000)]
* config/tc-tic80.c (md_begin): Declare external variable
coff_flags and insert an F_AR32WR bit into it.

27 years agoAllow --target=tic80 without the -coff
Michael Meissner [Tue, 4 Mar 1997 22:24:00 +0000 (22:24 +0000)]
Allow --target=tic80 without the -coff

27 years agoCorrect sparclet sanitize errors.
Jim Wilson [Tue, 4 Mar 1997 02:28:23 +0000 (02:28 +0000)]
Correct sparclet sanitize errors.

27 years ago * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
Bob Manson [Tue, 4 Mar 1997 00:49:59 +0000 (00:49 +0000)]
* gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
refer to gdb_spawn_id.

* config/m32r-stub.exp: Remove references to gdb_spawn_id, no
longer used.
* config/sparclet.exp: Ditto.
* config/sparclet-old.exp: Ditto.
* config/slite.exp: Ditto.
* config/sim.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.

* lib/gdb.exp:Remove references to gdb_spawn_id.
(gdb_expect): Move to remote.exp.

27 years ago(elf_link_add_object_symbols): Use correct sh_size
Ulrich Drepper [Mon, 3 Mar 1997 21:32:39 +0000 (21:32 +0000)]
(elf_link_add_object_symbols): Use correct sh_size
entry for reading verdef records.
Use correct braces for computing increments of extverdaux and
exteverdef record pointers.

27 years ago * defs.h (LONGEST): Move #ifndef LONGEST to outside.
David Edelsohn [Mon, 3 Mar 1997 20:29:39 +0000 (20:29 +0000)]
* defs.h (LONGEST): Move #ifndef LONGEST to outside.
Try BFD_HOST_64_BIT if ! CC_HAS_LONG_LONG.

27 years ago * configure.in: Add mn10200 configure lines accidentally
Jeff Law [Mon, 3 Mar 1997 20:08:19 +0000 (20:08 +0000)]
    * configure.in: Add mn10200 configure lines accidentally
        removed.
        * configure: Regenerated.
Opps.

27 years ago * gas/tic80/{add.d, float.d, regops2.d, relocs1.d, relocs1b.d,
Fred Fish [Mon, 3 Mar 1997 18:41:28 +0000 (18:41 +0000)]
* gas/tic80/{add.d, float.d, regops2.d, relocs1.d, relocs1b.d,
relocs2.d, relocs2b.d}: Adjust to objdump format tweaks.

27 years ago* m68k-opc.c (m68k_opcodes): Added entries for the tst insns on
J.T. Conklin [Mon, 3 Mar 1997 15:49:49 +0000 (15:49 +0000)]
* m68k-opc.c (m68k_opcodes): Added entries for the tst insns on
the mc68000.

27 years ago * coff-tic80.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set this to 2
Fred Fish [Mon, 3 Mar 1997 05:51:52 +0000 (05:51 +0000)]
* coff-tic80.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set this to 2
instead of 4.

27 years ago* configure.in (noconfigdirs): Disable target-newlib,
Andrew Cagney [Mon, 3 Mar 1997 03:44:48 +0000 (03:44 +0000)]
* configure.in (noconfigdirs): Disable target-newlib,
target-examples and target-libiberty for d30v.

27 years agoDelete obsolete rce sanitization.
Jim Wilson [Mon, 3 Mar 1997 00:55:03 +0000 (00:55 +0000)]
Delete obsolete rce sanitization.

27 years agoCorrect d10v sanitization errors.
Jim Wilson [Mon, 3 Mar 1997 00:46:11 +0000 (00:46 +0000)]
Correct d10v sanitization errors.

27 years agoCorrect d10v sanitization errors.
Jim Wilson [Mon, 3 Mar 1997 00:35:40 +0000 (00:35 +0000)]
Correct d10v sanitization errors.

27 years ago * elflink.h (elf_link_find_version_dependencies): Check that
Ian Lance Taylor [Mon, 3 Mar 1997 00:27:52 +0000 (00:27 +0000)]
* elflink.h (elf_link_find_version_dependencies): Check that
DEF_REGULAR is not set as well as checking that DEF_DYNAMIC is
set.

27 years agoCorrect d10v sanitization errors.
Jim Wilson [Mon, 3 Mar 1997 00:22:35 +0000 (00:22 +0000)]
Correct d10v sanitization errors.

27 years ago * config/tc-mips.c (mips16_extended_frag): Don't assume that we
Ian Lance Taylor [Sat, 1 Mar 1997 06:10:58 +0000 (06:10 +0000)]
* config/tc-mips.c (mips16_extended_frag): Don't assume that we
can rely on the frag address to determine whether a frag is
earlier or later.

27 years ago * config/monitor.exp: Detect the "Couldn't establish connection"
Bob Manson [Sat, 1 Mar 1997 04:50:01 +0000 (04:50 +0000)]
* config/monitor.exp: Detect the "Couldn't establish connection"
message from GDB.

one of many, presumably.

27 years ago * configure.in (tic80-*-*): Remove ld from noconfigdirs.
Fred Fish [Sat, 1 Mar 1997 01:21:31 +0000 (01:21 +0000)]
* configure.in (tic80-*-*): Remove ld from noconfigdirs.

27 years ago * coffcode.h (coff_set_flags): Add case for TIC80_ARCH_MAGIC.
Fred Fish [Fri, 28 Feb 1997 23:59:26 +0000 (23:59 +0000)]
* coffcode.h (coff_set_flags): Add case for TIC80_ARCH_MAGIC.

27 years ago * ldmain.c (main): Call bfd_set_default_target.
Ian Lance Taylor [Fri, 28 Feb 1997 22:43:35 +0000 (22:43 +0000)]
* ldmain.c (main): Call bfd_set_default_target.
* Makefile.in (ldmain.o): Define TARGET when compiling.

27 years ago * targets.c (bfd_default_vector): Make non-const.
Ian Lance Taylor [Fri, 28 Feb 1997 22:16:45 +0000 (22:16 +0000)]
* targets.c (bfd_default_vector): Make non-const.
(find_target): New static function, broken out of
bfd_find_target.
(bfd_set_default_target): New function.
(bfd_find_target): Call find_target.  When defaulting, use
bfd_default_vector[0] if it is not NULL.
* libbfd-in.h (bfd_default_vector): Adjust declaration.
* bfd-in2.h, libbfd.h: Rebuild.

27 years ago * syms.c (bfd_is_local_label): Return false if the symbol has no
Ian Lance Taylor [Fri, 28 Feb 1997 20:10:49 +0000 (20:10 +0000)]
* syms.c (bfd_is_local_label): Return false if the symbol has no
name.
* coff-i960.c (coff_i960_is_local_label_name): New function.
(coff_bfd_is_local_label_name): Define.
* coff-m68k.c (m68k_coff_is_local_label_name): New function.
(coff_bfd_is_local_label_name): Define.
* coff-rs6000.c (xcoff_is_local_label_name): New function.
(coff_bfd_is_local_label_name): Define.
* elf.c (_bfd_elf_is_local_label_name): Treat symbols beginning
with .. or _.L_ as local.
* elf32-i386.c (elf_i386_is_local_label_name): New function.
(bfd_elf32_bfd_is_local_label_name): Define.
* evax-alpha.c (evax_bfd_is_local_label_name): Treat symbols
beginning with $ as local.

27 years ago * write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER.
Ian Lance Taylor [Fri, 28 Feb 1997 20:04:39 +0000 (20:04 +0000)]
* write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER.
(S_LOCAL_NAME): Likewise.
(FAKE_LABEL_NAME): Define unconditionally.
* symbols.c (colon): Call bfd_is_local_label, not LOCAL_LABEL, if
BFD_ASSEMBLER.
(S_IS_LOCAL): Call bfd_is_local_label_name, not LOCAL_LABEL.
* config/tc-*.h: Only define LOCAL_LABEL if not BFD_ASSEMBLER.
Don't define FAKE_LABEL_NAME.
* config/te-ic960.h: Likewise.
* config/tc-mips.h (tc_frob_file_before_adjust): Define.
(mips_frob_file_before_adjust): Declare.
* config/tc-mips.c (mips_frob_file_before_adjust): New function.
(mips_local_label): Remove.