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.
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.
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.
Ian Lance Taylor [Thu, 13 Mar 1997 19:11:06 +0000 (19:11 +0000)]
* cisco-core.c (SIGEMT): Define if not defined.
David Edelsohn [Thu, 13 Mar 1997 17:13:15 +0000 (17:13 +0000)]
Add copyright, tweak some comments.
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.
Michael Meissner [Thu, 13 Mar 1997 16:04:50 +0000 (16:04 +0000)]
Fix os_printf_filtered; Flush stdout after calling printf_filtered
Andrew Cagney [Thu, 13 Mar 1997 04:22:38 +0000 (04:22 +0000)]
New directory, devo/sim/testsuite - loose (sanitize) it for the moment.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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>.
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.
Bob Manson [Tue, 11 Mar 1997 19:45:29 +0000 (19:45 +0000)]
Removed, no longer used.
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.
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.
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.
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.
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.
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.
Tom Tromey [Mon, 10 Mar 1997 20:41:04 +0000 (20:41 +0000)]
* Makefile.in (CHECK_X11_MODULES): Don't run check-tk.
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.
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.
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.
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 '{'.
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".
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.
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.
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.
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.
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.
Jeff Law [Fri, 7 Mar 1997 16:11:48 +0000 (16:11 +0000)]
Update copyrights.
Ian Lance Taylor [Fri, 7 Mar 1997 15:51:28 +0000 (15:51 +0000)]
x
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.
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.
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).
Andrew Cagney [Fri, 7 Mar 1997 09:08:07 +0000 (09:08 +0000)]
Extend bit and endian operators.
Andrew Cagney [Fri, 7 Mar 1997 08:57:02 +0000 (08:57 +0000)]
Clean up.
Andrew Cagney [Fri, 7 Mar 1997 07:34:19 +0000 (07:34 +0000)]
Loose the bugs file.
Jeff Law [Fri, 7 Mar 1997 01:20:29 +0000 (01:20 +0000)]
update copyrights.
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%.
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.
Jeff Law [Fri, 7 Mar 1997 00:00:09 +0000 (00:00 +0000)]
Update copyright dates.
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.
Jeff Law [Thu, 6 Mar 1997 23:13:31 +0000 (23:13 +0000)]
Fix typo in last change.
Bob Manson [Thu, 6 Mar 1997 22:32:25 +0000 (22:32 +0000)]
Added and updated copyright notices to testsuite expect
scripts.
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.
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.
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.
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.
Martin Hunt [Thu, 6 Mar 1997 19:58:37 +0000 (19:58 +0000)]
Add d30v to cpus.
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.
Bob Manson [Thu, 6 Mar 1997 07:29:40 +0000 (07:29 +0000)]
More .Sanitize.
Bob Manson [Thu, 6 Mar 1997 07:12:21 +0000 (07:12 +0000)]
* config/vr5000.exp: New file.
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.
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.
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.
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
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.
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.
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.
Jeff Law [Wed, 5 Mar 1997 20:02:27 +0000 (20:02 +0000)]
* gas/all/gas.exp: xfail a couple tests for the mn10300.
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.
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.
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.
Michael Meissner [Tue, 4 Mar 1997 22:24:00 +0000 (22:24 +0000)]
Allow --target=tic80 without the -coff
Jim Wilson [Tue, 4 Mar 1997 02:28:23 +0000 (02:28 +0000)]
Correct sparclet sanitize errors.
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.
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.
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.
Jeff Law [Mon, 3 Mar 1997 20:08:19 +0000 (20:08 +0000)]
* configure.in: Add mn10200 configure lines accidentally
removed.
* configure: Regenerated.
Opps.
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.
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.
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.
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.
Jim Wilson [Mon, 3 Mar 1997 00:55:03 +0000 (00:55 +0000)]
Delete obsolete rce sanitization.
Jim Wilson [Mon, 3 Mar 1997 00:46:11 +0000 (00:46 +0000)]
Correct d10v sanitization errors.
Jim Wilson [Mon, 3 Mar 1997 00:35:40 +0000 (00:35 +0000)]
Correct d10v sanitization errors.
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.
Jim Wilson [Mon, 3 Mar 1997 00:22:35 +0000 (00:22 +0000)]
Correct d10v sanitization errors.
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.
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.
Fred Fish [Sat, 1 Mar 1997 01:21:31 +0000 (01:21 +0000)]
* configure.in (tic80-*-*): Remove ld from noconfigdirs.
Fred Fish [Fri, 28 Feb 1997 23:59:26 +0000 (23:59 +0000)]
* coffcode.h (coff_set_flags): Add case for TIC80_ARCH_MAGIC.
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.
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.
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.
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.
Ian Lance Taylor [Fri, 28 Feb 1997 19:42:04 +0000 (19:42 +0000)]
* config/te-sco386.h: Remove; not used.
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.
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.
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.
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.
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.