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

27 years ago * config/te-sco386.h: Remove; not used.
Ian Lance Taylor [Fri, 28 Feb 1997 19:42:04 +0000 (19:42 +0000)]
* config/te-sco386.h: Remove; not used.

27 years ago * emultempl/m88kbcs.em: Remove.
Ian Lance Taylor [Fri, 28 Feb 1997 04:17:50 +0000 (04:17 +0000)]
* emultempl/m88kbcs.em: Remove.
* emulparams/m88kbcs.sh (TEMPLATE_NAME): Don't set.
* Makefile.in (em88kbcs.c): Depend upon generic.em rather than
m88kbcs.em.

27 years ago * ldmain.c (main): Don't initialize link_info.lprefix or
Ian Lance Taylor [Fri, 28 Feb 1997 04:17:02 +0000 (04:17 +0000)]
* ldmain.c (main): Don't initialize link_info.lprefix or
link_info.lprefix_len.
* emultempl/hppaelf.em (hppaelf_before_parse): Likewise.

27 years ago * aoutx.h (aout_link_write_symbols): Use bfd_is_local_label_name
Ian Lance Taylor [Fri, 28 Feb 1997 04:12:07 +0000 (04:12 +0000)]
* aoutx.h (aout_link_write_symbols): Use bfd_is_local_label_name
rather than comparing against info->lprefix.
* cofflink.c (_bfd_coff_link_input_bfd): Likewise.
* elflink.h (elf_link_input_bfd): Likewise.
* linker.c (_bfd_generic_link_output_symbols): Likewise.
* xcofflink.c (xcoff_link_input_bfd): Likewise.

27 years ago * elfxx-target.h (bfd_elfNN_bfd_is_local_label_name): Define as
Ian Lance Taylor [Fri, 28 Feb 1997 04:11:09 +0000 (04:11 +0000)]
* elfxx-target.h (bfd_elfNN_bfd_is_local_label_name): Define as
_bfd_elf_is_local_label_name if not already defined.
* elf.c (_bfd_elf_is_local_label_name): New function.
* elf-bfd.h (_bfd_elf_is_local_label_name): Declare.

27 years ago * coffcode.h (coff_bfd_is_local_label_name): Define as
Ian Lance Taylor [Fri, 28 Feb 1997 04:10:14 +0000 (04:10 +0000)]
* coffcode.h (coff_bfd_is_local_label_name): Define as
_bfd_coff_is_local_label_name if not already defined.
* coffgen.c (_bfd_coff_is_local_label_name): New function.
* libcoff-in.h (_bfd_coff_is_local_label_name): Declare.
* libcoff.h: Rebuild.

27 years ago * mips-tdep.c (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR):
Mark Alexander [Fri, 28 Feb 1997 03:00:51 +0000 (03:00 +0000)]
* mips-tdep.c (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR):
New macros for testing, setting, and clearing bit 0 of addresses.
Change numerous bits of code where bit 0 was being manipulated
to use these macros.

27 years ago * targets.c (BFD_JUMP_TABLE_SYMBOLS): Change _bfd_is_local_label
Ian Lance Taylor [Fri, 28 Feb 1997 02:07:54 +0000 (02:07 +0000)]
* targets.c (BFD_JUMP_TABLE_SYMBOLS): Change _bfd_is_local_label
to _bfd_is_local_label_name.
(bfd_target): Likewise.
* syms.c (bfd_is_local_label): Define as function, not macro.
(bfd_is_local_name): Define.
* libbfd.c (bfd_generic_is_local_label_name): Rename from
bfd_generic_is_local_label, and take a string rather than a
symbol.
* libbfd-in.h (_bfd_nosymbols_bfd_is_local_label): Don't define.
(_bfd_nosymbols_bfd_is_local_label_name): Define.
  (bfd_generic_is_local_label): Don't declare.
(bfd_generic_is_local_label_name): Declare.
* bfd-in2.h, libbfd.h: Rebuild.
* All backends: Change local_label to local_label_name.

27 years ago * elf32-mips.c (struct mips_got_info): Add assigned_gotno field.
Ian Lance Taylor [Thu, 27 Feb 1997 23:38:19 +0000 (23:38 +0000)]
* elf32-mips.c (struct mips_got_info): Add assigned_gotno field.
(mips_elf_relocate_got_local): Change return type to boolean.
Don't assume that the first zero entry is unassigned; instead, use
assigned_gotno.
(mips_elf_relocate_section): Check return value of
mips_elf_relocate_got_local.
(mips_elf_create_got_section): Initialize assigned_gotno field.

27 years agoremove d10v sanitization
Ian Lance Taylor [Thu, 27 Feb 1997 23:34:14 +0000 (23:34 +0000)]
remove d10v sanitization

27 years ago * config/tc-tic80 (md_pseudo_table): Add align pseudo op to do
Fred Fish [Thu, 27 Feb 1997 22:55:12 +0000 (22:55 +0000)]
* config/tc-tic80 (md_pseudo_table): Add align pseudo op to do
byte alignment rather than power-of-two alignment that is the
GAS default.

27 years ago * stabs.texinfo (String Field): Document type number pairs here,
Ian Lance Taylor [Thu, 27 Feb 1997 22:48:47 +0000 (22:48 +0000)]
* stabs.texinfo (String Field): Document type number pairs here,
instead of in the Sun specific section.
(Include Files): The GNU linker supports the N_BINCL
optimization.  Clarify the N_BINCL value, and what it is used
for.
(Procedures): Document N_FUN with an empty string to mark the end
of a function.
(Typedefs): Mention that Sun compilers may use N_GSYM for a type.
(Sun Differences): Remove this node, as the information is now
elsewhere in the main document.
(Stab Section Basics): Mention that the GNU linker may optimize
stabs and remove the leading N_UNDF symbol.

27 years ago * gas/tic80/{align.d, align.lst, align.s} New test for the
Fred Fish [Thu, 27 Feb 1997 22:29:33 +0000 (22:29 +0000)]
* gas/tic80/{align.d, align.lst, align.s} New test for the
".align" pseudop.
* gas/tic80/tic80.exp: Run the align test.

27 years ago * remote-mips.c: Put back the form feeds.
Mark Alexander [Thu, 27 Feb 1997 22:14:22 +0000 (22:14 +0000)]
* remote-mips.c: Put back the form feeds.

27 years ago * remote-mips.c: Remove form feeds (^L) from source.
Mark Alexander [Thu, 27 Feb 1997 21:45:29 +0000 (21:45 +0000)]
* remote-mips.c: Remove form feeds (^L) from source.
(mips_initialize): LSI PMON doesn't support 'set regsize' command.
(pmon_wait): Don't need to exit and re-enter debug mode on LSI
PMON after a continue; it causes target program misbehavior.
(mips_fetch_register): Don't fetch unsupported registers; this
cuts down on wasted serial traffic.

27 years ago* Makefile.in (GAS_SUPPORT_DIRS, BINUTILS_SUPPORT_DIRS): Remove make-all.com, use...
Ken Raeburn [Thu, 27 Feb 1997 20:02:24 +0000 (20:02 +0000)]
* Makefile.in (GAS_SUPPORT_DIRS, BINUTILS_SUPPORT_DIRS): Remove make-all.com, use makefile.vms instead.

27 years ago * config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'.n
Ian Lance Taylor [Thu, 27 Feb 1997 19:57:10 +0000 (19:57 +0000)]
* config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'.n

27 years agoThu Feb 27 14:04:32 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
Ian Lance Taylor [Thu, 27 Feb 1997 19:06:15 +0000 (19:06 +0000)]
Thu Feb 27 14:04:32 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>

* m68k-opc.c (m68k_opcodes): Added swbegl pseudo-instruction.

27 years agofix random missing Sanitize bits
Angela Marie Thomas [Thu, 27 Feb 1997 18:59:07 +0000 (18:59 +0000)]
fix random missing Sanitize bits

27 years agoUse change-log-mode, not indented-text-mode
Michael Meissner [Thu, 27 Feb 1997 18:45:17 +0000 (18:45 +0000)]
Use change-log-mode, not indented-text-mode

27 years ago * gasp.c (hash_add_to_string_table): Correct misspelling in error
Ian Lance Taylor [Thu, 27 Feb 1997 18:30:47 +0000 (18:30 +0000)]
* gasp.c (hash_add_to_string_table): Correct misspelling in error
message, and add newline.
(process_file): Don't process assignments in the label if this is
a equ or assign pseudo-op.
(process_pseudo_op): Swap first argument to do_assign for K_ASSIGN
and K_EQU, to match documentation.

27 years ago * configure.in configure (HPUX/OSF thread support): Enable this
Stu Grossman [Thu, 27 Feb 1997 18:09:22 +0000 (18:09 +0000)]
* configure.in configure (HPUX/OSF thread support):  Enable this
only when running GCC, since HP's thread header files use ANSI C
which is not supported by their default compiler.

27 years ago * configure.in: Define BSD44_FORMAT if the target looks like a
Ian Lance Taylor [Thu, 27 Feb 1997 17:49:00 +0000 (17:49 +0000)]
* configure.in: Define BSD44_FORMAT if the target looks like a
BSD4.4 derived system.
* configure: Rebuild.
* Makefile.in (.c.o): Add @DEFS@.
* gmon_io.c (gmon_out_read): In BSD44_FORMAT code, get profrate
from profrate field, not version field.

27 years agocomment change
Ian Lance Taylor [Thu, 27 Feb 1997 17:48:16 +0000 (17:48 +0000)]
comment change

27 years ago * configure.host (i[3456]86-*-windows): Disable long long
Stu Grossman [Thu, 27 Feb 1997 17:46:18 +0000 (17:46 +0000)]
* configure.host (i[3456]86-*-windows):  Disable long long
support for WinGDB.  Add mswin to configdirs.
* configure.in configure:  Move calls to configure.host and
configure.tgt to the top of configure.in to allow them to set
config variables before they are referenced.

27 years agoFIxing Sanitize problems found by Marilyn.
Jeff Law [Thu, 27 Feb 1997 17:05:25 +0000 (17:05 +0000)]
FIxing Sanitize problems found by Marilyn.