binutils-gdb.git
23 years ago * solib.c (update_solib_list): Move target_resize_to_sections()
Nicholas Duffek [Sat, 26 May 2001 00:55:11 +0000 (00:55 +0000)]
* solib.c (update_solib_list): Move target_resize_to_sections()
into solib_map_sections() loop.
(info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
bfd_get_arch_size() fails.

23 years ago * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
Nicholas Duffek [Sat, 26 May 2001 00:52:15 +0000 (00:52 +0000)]
* Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
solib-osf.o.
* config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
with solib-osf.o and solib.o.
* config/alpha/alpha-osf2.mh: Likewise.
* config/alpha/alpha-osf3.mh: Likewise.
* solib-osf.c: New file, renamed and largely rewritten from
osfsolib.c.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 22:50:27 +0000 (22:50 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo.
(BFD32_BACKENDS_CFILES): Remove coff-pmac.c.
(coff-rs6000.lo): Remove the old dependency.
* Makefile.in: Rebuild.

* configure.in (pmac_xcoff_vec): Replace coff-pmac.lo with
coff-rs6000.lo.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 22:49:14 +0000 (22:49 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 22:48:14 +0000 (22:48 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
setting of output_filename after bfd_scan_arch.
* emultempl/pe.em: Likewise.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 21:23:48 +0000 (21:23 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* coff-rs6000.c (rs6000coff_vec): Use rs6000coff_core_p,
rs6000coff_core_file_matches_executable_p,
rs6000coff_core_file_failing_command and
rs6000coff_core_file_failing_signal only if AIX_CORE is
defined.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 21:19:46 +0000 (21:19 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.

* emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
instead of ${srcdir}/emultempl/stringify.sed.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 18:58:10 +0000 (18:58 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* binutils-all/readelf.exp (readelf_test): Set target_machine
to tmips for traditional mips.

* binutils-all/readelf.s: Support traditional mips.

* binutils-all/readelf.ss-tmips: New for traditional mips.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 18:39:02 +0000 (18:39 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* gas/mips/e32el-rel2.d: New for little endian mips.
* gas/mips/elfel-rel2.d: Likewise.
* gas/mips/elfel-rel.d: Likewise.
* gas/mips/mipsel16-f.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.

* gas/mips/tempic.d: New for traditional mips.
* gas/mips/tmips16-e.d: Likewise.

* gas/mips/elf-rel.d: Handle alignment padding.
* gas/mips/elf-rel2.d: Likewise.

* gas/mips/mips.exp: Support little endian and traditional
mips.

23 years ago2001-05-25 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 25 May 2001 17:46:33 +0000 (17:46 +0000)]
2001-05-25  Michael Snyder  <msnyder@redhat.com>

* remote.c (remote_write_bytes): Update 'p' packet pointer.

23 years ago* gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
Jim Blandy [Fri, 25 May 2001 17:09:48 +0000 (17:09 +0000)]
* gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
useful value, then we should fix that instead.

23 years agomonterey updates
Timothy Wall [Fri, 25 May 2001 12:42:28 +0000 (12:42 +0000)]
monterey updates

23 years ago * symbols.c (resolve_symbol_value): Always set segment, even when
Alan Modra [Fri, 25 May 2001 10:07:43 +0000 (10:07 +0000)]
* symbols.c (resolve_symbol_value): Always set segment, even when
not finalizing symbol value.

23 years ago * config/obj-ieee.c (write_object_file): Set finalize_syms.
Alan Modra [Fri, 25 May 2001 09:40:12 +0000 (09:40 +0000)]
* config/obj-ieee.c (write_object_file): Set finalize_syms.
* config/obj-coff.c (write_object_file): Likewise.
* (size_section): Remove rs_space assert as fr_symbol is no longer
removed.
(fill_section): Likewise.

23 years agos/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/
Alan Modra [Fri, 25 May 2001 07:21:01 +0000 (07:21 +0000)]
s/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 06:29:21 +0000 (06:29 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* bfd-in2.h: Regenerated.
* libcoff.h: Likewise.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 05:56:38 +0000 (05:56 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* emultempl/stringify.sed: Removed again.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 05:39:22 +0000 (05:39 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* emultempl/aix.em (OUTPUT_ARCH): Defined.
(gld${EMULATION_NAME}_before_parse): Initialize
ldfile_output_architecture, ldfile_output_machine and
ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/mipsecoff.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/sunos.em: Likewise.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 May 2001 04:31:55 +0000 (04:31 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.

23 years ago * elf32-hppa.c (elf32_hppa_relocate_section): Don't allow
Alan Modra [Fri, 25 May 2001 03:46:49 +0000 (03:46 +0000)]
* elf32-hppa.c (elf32_hppa_relocate_section): Don't allow
undefined millicode syms in shared libs.
(hppa_build_one_stub): Turn BFD_ASSERTs into aborts.
(elf32_hppa_check_relocs): Likewise.
(elf32_hppa_adjust_dynamic_symbol): Likewise.
(elf32_hppa_size_dynamic_sections): Likewise.
(elf32_hppa_relocate_section): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.
(elf32_hppa_finish_dynamic_sections): Likewise.

23 years agoRevert last patch.
Alan Modra [Fri, 25 May 2001 01:59:43 +0000 (01:59 +0000)]
Revert last patch.

23 years ago2001-05-24 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 25 May 2001 01:29:01 +0000 (01:29 +0000)]
2001-05-24  Michael Snyder  <msnyder@redhat.com>

* gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
Don't require that the main thread and the manager thread are the
first in the list.

23 years ago * solist.h (struct so_list): Document the requirement that
Nicholas Duffek [Fri, 25 May 2001 01:27:11 +0000 (01:27 +0000)]
* solist.h (struct so_list): Document the requirement that
current_sos initialize some fields to 0.

23 years ago2001-05-24 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 25 May 2001 01:10:20 +0000 (01:10 +0000)]
2001-05-24  Michael Snyder  <msnyder@redhat.com>

* gdb.threads/pthreads.exp (test_startup): Relax test for thread
debugging.  If test fails, issue an "unsupported" not a "fail".

23 years ago * expr.c (expr): Set return value to absolute_section for
Alan Modra [Fri, 25 May 2001 00:01:30 +0000 (00:01 +0000)]
* expr.c (expr): Set return value to absolute_section for
subtractive operations on symbols within a segment.
* read.c (pseudo_set): Set segment for complex expressions.

23 years agoDon't assume that short is shorter than int.
Jim Blandy [Fri, 25 May 2001 00:01:29 +0000 (00:01 +0000)]
Don't assume that short is shorter than int.
* gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
assume that shorts are smaller than ints.  On a 16-bit machine,
this isn't true.
("print unsigned char == (~0)"): Add test that verifies that ~0,
an int, is not equal to ~0 stored in an unsigned char.  This tests
the same thing that the previous test meant to, but works on
16-bit machines, too.
("print unsigned char != (~0)"): Same test, complemented.

23 years ago From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
Alan Modra [Thu, 24 May 2001 23:52:22 +0000 (23:52 +0000)]
From 2.11 branch 2001-03-30  Richard Henderson  <rth@redhat.com>
* config/tc-i386.c (md_convert_frag): Don't die on local symbols
that have been finalized.

23 years ago * symbols.c (resolve_symbol_value): Clear sy_resolving before
Alan Modra [Thu, 24 May 2001 23:44:06 +0000 (23:44 +0000)]
* symbols.c (resolve_symbol_value): Clear sy_resolving before
taking exit_dont_set_value.

23 years ago * write.c (relax_segment): Don't zap fr_symbol when relaxing.
Alan Modra [Thu, 24 May 2001 23:33:00 +0000 (23:33 +0000)]
* write.c (relax_segment): Don't zap fr_symbol when relaxing.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 24 May 2001 22:01:25 +0000 (22:01 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* binutils-all/objdump.exp (cpus_expected): Add s390.

23 years agoFix for gas seg fault and neg line numbers
Tom Rix [Thu, 24 May 2001 21:39:09 +0000 (21:39 +0000)]
Fix for gas seg fault and neg line numbers

23 years agoSupport for xcoff64, enable ld for aix
Tom Rix [Thu, 24 May 2001 21:06:16 +0000 (21:06 +0000)]
Support for xcoff64, enable ld for aix

23 years agoSupport for xcoff64
Tom Rix [Thu, 24 May 2001 20:59:23 +0000 (20:59 +0000)]
Support for xcoff64

23 years agoSupport for xcoff64
Tom Rix [Thu, 24 May 2001 20:50:50 +0000 (20:50 +0000)]
Support for xcoff64

23 years agoSupport for xcoff64
Tom Rix [Thu, 24 May 2001 20:32:58 +0000 (20:32 +0000)]
Support for xcoff64

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 24 May 2001 20:08:04 +0000 (20:08 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* gas/m68k/pcrel.d: Support 64bit BFD.

23 years ago* gnu-nat.c: Include <ctype.h>.
Mark Kettenis [Thu, 24 May 2001 20:05:07 +0000 (20:05 +0000)]
* gnu-nat.c: Include <ctype.h>.
(gnu_pid_to_exec_file): Add PID parameter.
(set_sig_thread_cmd): Use PIDGET on return value from
thread_id_to_pid.
(proc_string): Use MERGEPID to construct argument to
pid_to_thread_id.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 24 May 2001 20:02:15 +0000 (20:02 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* gas/arm/adrl.d: Support 64bit BFD.
* gas/arm/arm7t.d: Likewise.
* gas/arm/inst.d: Likewise.
* gas/arm/pic.d: Likewise.
* gas/arm/xscale.d: Likewise.

23 years ago2001-05-24 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 24 May 2001 19:54:41 +0000 (19:54 +0000)]
2001-05-24  Michael Snyder  <msnyder@redhat.com>

* gdb.threads/pthreads.exp (all_threads_running): Add an explicit
test for (full_coverage == 0).  This makes the test run faster,
and prevents dejagnu getting out of step.

23 years ago2001-05-21 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 24 May 2001 18:30:10 +0000 (18:30 +0000)]
2001-05-21  Michael Snyder  <msnyder@redhat.com>

* gdb.base/long_long.exp: Allow for targets with 4-byte short.

23 years ago * write.c (write_object_file): Set finalize_syms = 1 before
Alan Modra [Thu, 24 May 2001 08:19:32 +0000 (08:19 +0000)]
* write.c (write_object_file): Set finalize_syms = 1 before
size_seg is called.

23 years ago* emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
Alexandre Oliva [Thu, 24 May 2001 02:44:06 +0000 (02:44 +0000)]
* emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
variable to avoid non-portable shell construct.

23 years ago * gdb.base/finish.exp (finish_void): Revise pattern for
Kevin Buettner [Thu, 24 May 2001 01:14:15 +0000 (01:14 +0000)]
* gdb.base/finish.exp (finish_void): Revise pattern for
stopping on the call statement to not permit stopping at
the start of the instructions comprising the call sequence.

23 years ago* elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
Alexandre Oliva [Wed, 23 May 2001 23:56:22 +0000 (23:56 +0000)]
* elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
s/ENTIRES/ENTRIES/.

23 years ago2001-05-19 Michael Chastain <chastain@redhat.com>
Michael Chastain [Wed, 23 May 2001 19:04:13 +0000 (19:04 +0000)]
2001-05-19  Michael Chastain  <chastain@redhat.com>

* gdb.base/callfuncs.exp: Make all test names unique.
* gdb.base/commands.exp: Make all test names unique.
* gdb.base/condbreak.exp: Make all test names unique.
* gdb.base/dbx.exp: Make all test names unique.
* gdb.base/default.exp: Make all test names unique.
* gdb.base/define.exp: Make all test names unique.  Conform some FAIL
and TIMEOUT messages to their corresponding PASS message.
* gdb.base/ending-run.exp: Make all test names unique.
* gdb.base/long_long.exp: Remove duplicate test.

23 years agoAdd MIPS ELF64 relocs
Nick Clifton [Wed, 23 May 2001 17:36:38 +0000 (17:36 +0000)]
Add MIPS ELF64 relocs

23 years agoAdd MIPS r12k support
Nick Clifton [Wed, 23 May 2001 17:26:40 +0000 (17:26 +0000)]
Add MIPS r12k support

23 years agoChange PLT code to avoid using r2 - it used by GCC to return large startures
Nick Clifton [Wed, 23 May 2001 16:38:36 +0000 (16:38 +0000)]
Change PLT code to avoid using r2 - it used by GCC to return large startures

23 years ago2001-05-23 John Healy <jhealy@redhat.com>
John Healy [Wed, 23 May 2001 15:34:43 +0000 (15:34 +0000)]
2001-05-23  John Healy  <jhealy@redhat.com>

        * cgen.h: Increased CGEN_MAX_SYNTAX_ELEMENTS to 48.

23 years agoReplace sh_size/sh_entsize with NUM_SHDR_ENTRIES
Nick Clifton [Wed, 23 May 2001 08:23:27 +0000 (08:23 +0000)]
Replace sh_size/sh_entsize with NUM_SHDR_ENTRIES

23 years ago * gas/elf/ehopt0.d: Tweak for bigendian targets.
Alan Modra [Wed, 23 May 2001 05:33:31 +0000 (05:33 +0000)]
* gas/elf/ehopt0.d: Tweak for bigendian targets.

23 years agoMore whitespace fixes.
Alan Modra [Wed, 23 May 2001 03:25:03 +0000 (03:25 +0000)]
More whitespace fixes.

23 years ago * arc-opc.c: Whitespace changes.
Alan Modra [Wed, 23 May 2001 03:12:14 +0000 (03:12 +0000)]
* arc-opc.c: Whitespace changes.

23 years ago * breakpoint.c (breakpoint_address_is_meaningful): New function.
Kevin Buettner [Wed, 23 May 2001 00:52:44 +0000 (00:52 +0000)]
* breakpoint.c (breakpoint_address_is_meaningful): New function.
(check_duplicates): Don't compare non-meaningful addresses.

23 years ago2001-05-22 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 23 May 2001 00:06:15 +0000 (00:06 +0000)]
2001-05-22  Michael Snyder  <msnyder@redhat.com>

* thread-db.c: Allow for defunct zombie threads.
(attach_thread): Do not attempt to attach zombie thread.
(thread_db_thread_alive): Return false for defunct zombie thread.
(find_new_threads_callback): Don't add defunct zombie thread to list.

23 years agoAdd support for the GNU V3 C++ ABI.
Jim Blandy [Tue, 22 May 2001 21:02:41 +0000 (21:02 +0000)]
Add support for the GNU V3 C++ ABI.
(Includes changes by Dan Berlin.)

* gnu-v3-abi.c: New file.
* minsyms.c: #include "value.h" and "cp-abi.h".
(install_minimal_symbols): Check the minimal symbol table for
symbols that look mangled in the V3 style, and select the V3 ABI
if we find any.
* Makefile.in (SFILES): Add gnu-v3-abi.c.
(COMMON_OBS): Add gnu-v3-abi.o.
(gnu-v3-abi.o): Add new rule.
(minsyms.o): Depend on $(cp_abi_h) and $(value_h).

23 years agoImprove Solaris compatability
Nick Clifton [Tue, 22 May 2001 14:00:18 +0000 (14:00 +0000)]
Improve Solaris compatability

23 years ago * config/tc-arc.c (md_assemble): Use is_end_of_line instead of
Alan Modra [Tue, 22 May 2001 11:03:35 +0000 (11:03 +0000)]
* config/tc-arc.c (md_assemble): Use is_end_of_line instead of
testing for NULs.

23 years ago* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
Alexandre Oliva [Tue, 22 May 2001 10:40:29 +0000 (10:40 +0000)]
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.

23 years ago * symbols.c (resolve_symbol_value): Remove "finalize" param,
Alan Modra [Tue, 22 May 2001 10:23:50 +0000 (10:23 +0000)]
* symbols.c (resolve_symbol_value): Remove "finalize" param,
instead use finalize_syms directly.  Don't treat expressions
specially with regard to finalize_syms.  Update calls to self.
(resolve_local_symbol): Update call to resolve_symbol_value.
(S_GET_VALUE): Likewise.  Return resolve_symbol_value if
!finalize_syms.
* symbols.h (resolve_symbol_value): Update prototype.
* config/obj-aout.c (obj_crawl_symbol_chain): Update call
to resolve_symbol_value.
* config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
* config/obj-coff.c (do_relocs_for): Likewise.
(yank_symbols): Likewise.
(fixup_segment): Likewise.
* config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
* config/tc-mips.c (md_convert_frag): Likewise.
* config/tc-ppc.c (ppc_frob_symbol): Likewise.
(ppc_fix_adjustable): Likewise.
* dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
(dwarf2dbg_convert_frag): Likewise.
* ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
(eh_frame_convert_frag): Likewise.
* expr.c (make_expr_symbol): Likewise.
* write.c (adjust_reloc_syms): Likewise.
(write_object_file): Likewise.
(relax_segment): Likewise.
(fixup_segment): Likewise.
(finalize_syms): Init to zero, and update comment.
(write_object_file): Set finalize_syms to 1 rather than 2.
* doc/internals.texi (sy_value): Mention finalize_syms.
(S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.

23 years ago * config/tc-m68k.c (relaxable_symbol): Only treat external symbols
Alan Modra [Tue, 22 May 2001 09:01:55 +0000 (09:01 +0000)]
* config/tc-m68k.c (relaxable_symbol): Only treat external symbols
as relaxable if embedded system, make weak syms non-relaxable.
Move definition..
(tc_m68k_fix_adjustable): ..so it can be used here.
(md_apply_fix_2): Sign extend without conditional.

23 years agoUpdate copyright date.
Alan Modra [Tue, 22 May 2001 08:41:10 +0000 (08:41 +0000)]
Update copyright date.

23 years ago * gdb.base/finish.exp (finish_void): Allow "finish" command to
Kevin Buettner [Tue, 22 May 2001 00:25:27 +0000 (00:25 +0000)]
* gdb.base/finish.exp (finish_void): Allow "finish" command to
stop on the call statement as well as the statement after the
call.

23 years ago* values.c (value_primitive_field): If we're extracting a base
Jim Blandy [Mon, 21 May 2001 20:08:59 +0000 (20:08 +0000)]
* values.c (value_primitive_field): If we're extracting a base
class, then the type of the result should be the base class being
extracted, not the type of which it is a base class.

23 years ago* value.h (struct value): Doc fix, and rearrange members to place
Jim Blandy [Mon, 21 May 2001 20:02:22 +0000 (20:02 +0000)]
* value.h (struct value): Doc fix, and rearrange members to place
them near their explanations.

23 years ago2001-05-21 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 21 May 2001 18:48:26 +0000 (18:48 +0000)]
2001-05-21  Michael Snyder  <msnyder@redhat.com>

* remote.c (remote_async_wait): Added new variable fieldsize.
Add fieldsize (return value of hex2bin) to string pointer p.

23 years ago * dwarf2.c (decode_line_info): Fix error message.
Andreas Jaeger [Mon, 21 May 2001 11:52:42 +0000 (11:52 +0000)]
* dwarf2.c (decode_line_info): Fix error message.
(read_abbrevs): Fix test for offset as suggested by Alan Modra and
adjust error message.

23 years agoFormatting tweak.
Jim Blandy [Mon, 21 May 2001 05:30:59 +0000 (05:30 +0000)]
Formatting tweak.

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
Alexandre Oliva [Sun, 20 May 2001 19:02:56 +0000 (19:02 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254.  Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.

23 years agoImprove HC11 simulator to support HC12
Stephane Carrez [Sun, 20 May 2001 15:40:27 +0000 (15:40 +0000)]
Improve HC11 simulator to support HC12

23 years ago * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
Stephane Carrez [Sun, 20 May 2001 15:36:29 +0000 (15:36 +0000)]
* dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
pending interrupts.
* interrupts.c (interrupts_process): Keep track of the last number
of masked insn cycles.
(interrupts_initialize): Clear last number of masked insn cycles.
(interrupts_info): Report them.
(interrupts_update_pending): Compute clear and set masks of
interrupts and clear the interrupt bits before setting them
(due to SCI interrupt sharing).
* interrupts.h (struct interrupts): New members last_mask_cycles
and xirq_last_mask_cycles.

23 years ago * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
Stephane Carrez [Sun, 20 May 2001 11:53:42 +0000 (11:53 +0000)]
* m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
(m68hc11_analyze_instruction): Update the pc correctly.
(m68hc11_guess_from_prologue): Take into account the stack correction
for the saving address.

23 years ago2001-05-07 Daniel Berlin <dan@cgsoftware.com>
Daniel Berlin [Sat, 19 May 2001 15:20:14 +0000 (15:20 +0000)]
2001-05-07  Daniel Berlin  <dan@cgsoftware.com>

Changes by Jim Ingham:

* values.c (value_change_enclosing_type): New function.  If the
new enclosing type is larger than the old one, we need to allocate
more space.
* value.h: Add value_change_enclosing_type prototype.
* valops.c (value_cast): Use it.
(value_assign): Use it.
(value_addr): Use it.
(value_ind): Use it.
(value_full_object): Use it.

2001-05-07  Daniel Berlin  <dan@cgsoftware.com>

* values.c (value_static_field): Handle static fields that have a constant value.

23 years ago2001-05-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 18 May 2001 16:15:42 +0000 (16:15 +0000)]
2001-05-18  H.J. Lu  <hjl@gnu.org>

* ld-elfvers/vers.exp: Revert the last change.

* ld-elfvers/vers2.ver: Put back "tmpdir/" the version
references.
* ld-elfvers/vers3.ver: Likewise.
* ld-elfvers/vers6.ver: Likewise.
* ld-elfvers/vers18.ver: Likewise.

23 years ago2001-05-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 18 May 2001 16:06:43 +0000 (16:06 +0000)]
2001-05-18  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Revert the last
change.

23 years ago * cris-opc.c (cris_spec_regs): Add missing initializer field for
Hans-Peter Nilsson [Fri, 18 May 2001 15:21:59 +0000 (15:21 +0000)]
* cris-opc.c (cris_spec_regs): Add missing initializer field for
last element.

23 years ago * elf32-hppa.c (clobber_millicode_symbols): Temporarily set
Alan Modra [Fri, 18 May 2001 03:11:13 +0000 (03:11 +0000)]
* elf32-hppa.c (clobber_millicode_symbols): Temporarily set
ELF_LINK_FORCED_LOCAL to suit 2001-04-30 change.
(hppa_build_one_stub): Add an assert to check plt.offset.

23 years ago2001-05-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 18 May 2001 01:25:34 +0000 (01:25 +0000)]
2001-05-17  H.J. Lu  <hjl@gnu.org>

* ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19".

* ld-elfvers/vers1.ver: Remove "tmpdir/" from the version
definition.
* ld-elfvers/vers2.ver: Likewise.
* ld-elfvers/vers3.ver: Likewise.
* ld-elfvers/vers4a.ver: Likewise.
* ld-elfvers/vers6.ver: Likewise.
* ld-elfvers/vers7a.ver: Likewise.
* ld-elfvers/vers8.ver: Likewise.
* ld-elfvers/vers9.ver: Likewise.
* ld-elfvers/vers15.ver: Likewise.
* ld-elfvers/vers16a.ver: Likewise.
* ld-elfvers/vers17.ver: Likewise.
* ld-elfvers/vers18.ver: Likewise.

23 years ago2001-05-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 18 May 2001 01:20:02 +0000 (01:20 +0000)]
2001-05-17  H.J. Lu  <hjl@gnu.org>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the
version definition to basename of the output filename.

23 years ago2001-05-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 17 May 2001 20:04:46 +0000 (20:04 +0000)]
2001-05-17  Michael Snyder  <msnyder@redhat.com>

* blockframe.c (create_new_frame): Zero all the fields via memset,
rather than zeroing them one by one.

23 years ago2001-05-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 17 May 2001 19:08:46 +0000 (19:08 +0000)]
2001-05-17  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to
basename of the bfd filename.

23 years ago * top.c (user_args): Remove unused declaration.
Eli Zaretskii [Thu, 17 May 2001 15:05:32 +0000 (15:05 +0000)]
* top.c (user_args): Remove unused declaration.

23 years agoAdd a flag to asection, linker_has_input, and use it to reliably
Alan Modra [Thu, 17 May 2001 03:58:45 +0000 (03:58 +0000)]
Add a flag to asection, linker_has_input, and use it to reliably
determine whether an input section is the first one assigned to
an output section.

23 years ago2001-05-16 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 16 May 2001 23:06:02 +0000 (23:06 +0000)]
2001-05-16  Jeff Johnston  <jjohnstn@redhat.com>

        * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
        howto entry is not found.

Fix for 105023-CR-1.

23 years agomerge from gcc
DJ Delorie [Wed, 16 May 2001 21:04:30 +0000 (21:04 +0000)]
merge from gcc

23 years ago2001-05-15 John S Kallal <jskallal@home.com>
Michael Snyder [Wed, 16 May 2001 20:10:52 +0000 (20:10 +0000)]
2001-05-15  John S Kallal  <jskallal@home.com>

        * remote.c (remote_wait): Added new variable fieldsize.
        Add fieldsize (return value of hex2bin) to string pointer p.

23 years ago2001-05-16 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 16 May 2001 20:05:49 +0000 (20:05 +0000)]
2001-05-16  Michael Snyder  <msnyder@redhat.com>

* infcmd.c (do_registers_info): Move alloca outside of loop.

23 years ago * readelf.c (do_debug_frames_interp): New.
Richard Henderson [Wed, 16 May 2001 16:20:26 +0000 (16:20 +0000)]
    * readelf.c (do_debug_frames_interp): New.
        (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
        (byte_get_big_endian): Likewise.
        (parse_args) ['F']: Set do_debug_frames_interp.
        (Frame_Chunk): Make data_factor signed, add fde_encoding.
        (frame_display_row): Don't trunc pc_begin to int.
        (size_of_encoded_value): New.
        (display_debug_frames): Handle 64-bit targets.  Print raw data
        unless do_debug_frames_interp.
        (debug_displays): Remove duplicate .debug_frame.

23 years ago* gmon_io.c (gmon_io_read, gmon_io_write_vma,
Alexandre Oliva [Wed, 16 May 2001 05:26:57 +0000 (05:26 +0000)]
* gmon_io.c (gmon_io_read, gmon_io_write_vma,
gmon_io_write_32, gmon_io_write_8, gmon_io_write): Adjust
argument list for K&R C.

23 years ago* config/tc-mn10300.c (mn10300_force_relocation): Don't
Alexandre Oliva [Wed, 16 May 2001 01:48:51 +0000 (01:48 +0000)]
* config/tc-mn10300.c (mn10300_force_relocation): Don't
optimize differences between symbols in code sections to
constants.
(mn10300_fix_adjustable): Don't adjust to section+offset
relocations pointing at symbols in code sections.

23 years ago* elf-m10300.c (mn10300_elf_relax_section): Don't relax
Alexandre Oliva [Wed, 16 May 2001 01:48:13 +0000 (01:48 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Don't relax
negative 32-bit operands to 16 operands when the operand is
going to be zero-extended by the modified opcode.

23 years agoFix dwarf2_emit_insn calls when frag_var breaks things.
Alan Modra [Wed, 16 May 2001 01:08:21 +0000 (01:08 +0000)]
Fix dwarf2_emit_insn calls when frag_var breaks things.
Put back an old entry in ChangeLog-9899, deleted when ChangeLog split.

23 years ago* cgen disasm bug fix
Frank Ch. Eigler [Tue, 15 May 2001 18:10:05 +0000 (18:10 +0000)]
* cgen disasm bug fix

2001-05-15  Frank Ch. Eigler  <fche@redhat.com>

* cgen-dis.in (extract_normal): Complete support for min<base case.

23 years agoRemove definition of EM_MIPS_RS4_BE. The constant was never in active use
Nick Clifton [Tue, 15 May 2001 12:24:29 +0000 (12:24 +0000)]
Remove definition of EM_MIPS_RS4_BE.  The constant was never in active use
and is used otherwise by the ABI.

23 years agoFix MIPS disassembler so that it produces reassemblable code.
Nick Clifton [Tue, 15 May 2001 12:11:13 +0000 (12:11 +0000)]
Fix MIPS disassembler so that it produces reassemblable code.

23 years ago* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
Mark Kettenis [Tue, 15 May 2001 11:38:26 +0000 (11:38 +0000)]
* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
info.bfd_arch_info.

23 years ago * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
Richard Henderson [Tue, 15 May 2001 06:10:43 +0000 (06:10 +0000)]
    * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
        last change.

23 years agoFix warnings resulting from fact that GET_LWP() now returns a long rather
Kevin Buettner [Tue, 15 May 2001 00:13:47 +0000 (00:13 +0000)]
Fix warnings resulting from fact that GET_LWP() now returns a long rather
than an int.

23 years agoRedefine ptid_t to be a struct rather than an int.
Kevin Buettner [Tue, 15 May 2001 00:03:38 +0000 (00:03 +0000)]
Redefine ptid_t to be a struct rather than an int.

23 years ago * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
Richard Henderson [Mon, 14 May 2001 22:37:47 +0000 (22:37 +0000)]
    * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
        also collect whether to expect an FDE augmentation.
        (check_eh_frame): Rewrite as a state machine.  Track where in
        an FDE we are located, skip any augmentation.
        (eh_frame_estimate_size_before_relax): Get code alignment from
        the fragment subtype.
        (eh_frame_relax_frag, eh_frame_convert_frag): Likewise.
        * read.c (emit_leb128_expr): Call check_eh_frame.