]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
23 years agoPhase 1 of the ptid_t changes.
Kevin Buettner [Fri, 4 May 2001 04:15:33 +0000 (04:15 +0000)] 
Phase 1 of the ptid_t changes.

23 years ago* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
Alexandre Oliva [Thu, 3 May 2001 20:31:54 +0000 (20:31 +0000)] 
* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
libgcj.

23 years agoCompute value of _bfd_target_vector_entries based on the size of
Nick Clifton [Thu, 3 May 2001 17:49:49 +0000 (17:49 +0000)] 
Compute value of _bfd_target_vector_entries based on the size of
 _bfd_target_vector and not bfd_target_vector.

23 years ago * rdi-share/devsw.c: Include <time.h> for struct tm
Jonathan Larmour [Thu, 3 May 2001 13:42:12 +0000 (13:42 +0000)] 
    * rdi-share/devsw.c: Include <time.h> for struct tm

23 years ago * config/djgpp/fnchange.lst: Add mappings for the new
Eli Zaretskii [Thu, 3 May 2001 13:25:21 +0000 (13:25 +0000)] 
* config/djgpp/fnchange.lst: Add mappings for the new
opcodes/openrisc-* files.

23 years agoFix a typo.
Eli Zaretskii [Thu, 3 May 2001 10:24:19 +0000 (10:24 +0000)] 
Fix a typo.

23 years ago2001-05-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 3 May 2001 06:26:26 +0000 (06:26 +0000)] 
2001-05-03  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em: Include "libiberty.h".
(gld${EMULATION_NAME}_vercheck): Call basename () to get the
basename of the bfd filename.
(gld${EMULATION_NAME}_stat_needed): Likewise.
(gld${EMULATION_NAME}_try_needed): Likewise.
(gld${EMULATION_NAME}_open_dynamic_archive): Likewise.

23 years ago2001-05-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 3 May 2001 06:25:58 +0000 (06:25 +0000)] 
2001-05-03  H.J. Lu  <hjl@gnu.org>

* ld-elfvers/vers19.ver: Expect vers17.so instead of
*tmpdir/vers17.so.

23 years ago2001-05-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 3 May 2001 06:18:09 +0000 (06:18 +0000)] 
2001-05-03  H.J. Lu  <hjl@gnu.org>

* elfcode.h: Include "libiberty.h".

* elflink.h (elf_link_add_object_symbols): Set
elf_dt_name (abfd) to basename of the bfd filename.
(NAME(bfd_elf,size_dynamic_sections)): Set vn_file to basename
of the bfd filename.

23 years ago * coff-alpha.c (reloc_nil): Likewise.
Andreas Jaeger [Thu, 3 May 2001 05:08:17 +0000 (05:08 +0000)] 
    * coff-alpha.c (reloc_nil): Likewise.
        (alpha_ecoff_bad_format_hook): Likewise.
        (alpha_adjust_reloc_out): Likewise.
        (alpha_bfd_reloc_type_lookup): Likewise.
        (alpha_convert_external_reloc): Likewise.

23 years ago * elf64-gen.c (elf_generic_info_to_howto): Add unused attribute.
Andreas Jaeger [Thu, 3 May 2001 04:46:27 +0000 (04:46 +0000)] 
* elf64-gen.c (elf_generic_info_to_howto): Add unused attribute.
(elf_generic_info_to_howto_rel): Likewise.
* coff-alpha.c (reloc_nil): Likewise.
(alpha_ecoff_bad_format_hook): Likewise.
(alpha_adjust_reloc_out): Likewise.
(alpha_bfd_reloc_type_lookup): Likewise.
(alpha_convert_external_reloc): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_nil): Likewise.
(elf64_alpha_reloc_bad): Likewise.
(elf64_alpha_reloc_gpdisp): Likewise.
(elf64_alpha_bfd_reloc_type_lookup): Likewise.
(elf64_alpha_info_to_howto): Likewise.
(elf64_alpha_add_symbol_hook): Likewise.
(elf64_alpha_create_got_section): Likewise.
(elf64_alpha_is_local_label_name): Likewise.
(elf64_alpha_merge_ind_symbols): Likewise.
* elf64-mips.c (mips_elf64_reloc_type_lookup): Likewise.
(mips_elf64_get_reloc_upper_bound): Likewise.
* nlm32-alpha.c (nlm_alpha_mangle_relocs): Likewise.
(nlm_alpha_get_public_offset): Likewise.

23 years agoWarning fixes and configure/makefile tweaks by Thiemo Seufer.
Alan Modra [Thu, 3 May 2001 02:07:02 +0000 (02:07 +0000)] 
Warning fixes and configure/makefile tweaks by Thiemo Seufer.

23 years ago * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
Alan Modra [Thu, 3 May 2001 01:08:44 +0000 (01:08 +0000)] 
* config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
expressions rather than triggering an assert.

23 years ago2001-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 2 May 2001 21:01:03 +0000 (21:01 +0000)] 
2001-05-02  H.J. Lu  <hjl@gnu.org>

* emultempl/pe.em: Include <ctype.h>.

23 years agoFix indentation and parenthesis
Nick Clifton [Wed, 2 May 2001 18:40:10 +0000 (18:40 +0000)] 
Fix indentation and parenthesis

23 years agoAdd gas and ld support for openrisc
Nick Clifton [Wed, 2 May 2001 18:14:31 +0000 (18:14 +0000)] 
Add gas and ld support for openrisc

23 years ago2001-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 2 May 2001 16:42:55 +0000 (16:42 +0000)] 
2001-05-02  H.J. Lu  <hjl@gnu.org>

* ldfile.c: Include "libiberty.h".
* ldlex.l: Likewise.

* ldmisc.c (buystring): Removed.
* ldmisc.h: Likewise.

* ldfile.c: Replace buystring with xstrdup.
* ldlang.c: Likewise.
* ldlex.l: Likewise.
* ldmain.c: Likewise.
* ldmisc.c: Likewise.
* lexsup.c: Likewise.
* mpw-eppcmac.c: Likewise.

23 years agoimprrove error message
Nick Clifton [Wed, 2 May 2001 11:33:12 +0000 (11:33 +0000)] 
imprrove error message

23 years ago2001-05-01 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 1 May 2001 20:39:51 +0000 (20:39 +0000)] 
2001-05-01  Michael Snyder  <msnyder@redhat.com>

* lin-lwp.c: Change printf to fprintf_unfiltered.

23 years ago2001-05-01 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 1 May 2001 20:15:43 +0000 (20:15 +0000)] 
2001-05-01  Michael Snyder  <msnyder@redhat.com>

* Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.

23 years ago * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
Nicholas Duffek [Tue, 1 May 2001 19:36:11 +0000 (19:36 +0000)] 
* config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
(rs6000_in_solib_return_trampoline): Declare.
* rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
function.
(rs6000_skip_trampoline_code): Skip bigtoc fixup code.
* xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
check after the CSECT check rather than before it.  Allocate
separate symtabs for CSECTs whose names begin with '@'.
(scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
Activate the misc_func_recorded mechanism for whose names begin
with '@'.

23 years ago*** empty log message ***
Eli Zaretskii [Tue, 1 May 2001 08:54:08 +0000 (08:54 +0000)] 
*** empty log message ***

23 years ago * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.
Andreas Jaeger [Tue, 1 May 2001 08:07:35 +0000 (08:07 +0000)] 
    * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.

        * ld-scripts/phdrs.t: Use startaddress that's greater than any
        MAXPAGESIZE used.

23 years ago* ppcnbsd-nat.c (fetch_inferior_registers)
J.T. Conklin [Mon, 30 Apr 2001 23:57:27 +0000 (23:57 +0000)] 
* ppcnbsd-nat.c (fetch_inferior_registers)
(store_inferior_registers, fetch_core_registers): Changed to use
fpreg[] instead of r_regs[] to access floating point registers.

23 years ago2001-04-30 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 30 Apr 2001 20:57:31 +0000 (20:57 +0000)] 
2001-04-30  Elena Zannoni  <ezannoni@redhat.com>

      * sh-tdep.c: Get rid of the function prototypes.
      (sh_sh4_build_float_register_type): Move earlier in file.
      (fv_reg_base_num): Ditto.
      (dr_reg_base_num): Ditto.

23 years ago2001-04-30 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 30 Apr 2001 20:25:07 +0000 (20:25 +0000)] 
2001-04-30  Michael Snyder  <msnyder@redhat.com>

* thread-db.c: Revert 2001-04-26 change for debugging output.
* lin-lwp.c: Ditto.
* lin-lwp.c: Add set/show debug lin-lwp command.  Use this
command to turn extra debugging output on / off.

23 years ago2001-04-30 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 30 Apr 2001 18:21:17 +0000 (18:21 +0000)] 
2001-04-30  Michael Snyder  <msnyder@redhat.com>

* thread-db.c: Revert 2001-04-26 change for debugging output.
* lin-lwp.c:   Ditto.

23 years agoAlways initialize `p'.
Andrew Cagney [Mon, 30 Apr 2001 17:09:19 +0000 (17:09 +0000)] 
Always initialize `p'.

23 years ago2000-04-27 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 30 Apr 2001 16:13:26 +0000 (16:13 +0000)] 
2000-04-27  H.J. Lu  <hjl@gnu.org>

* elf.c (_bfd_elf_link_hash_hide_symbol): Set dynindx to -1
only for ELF_LINK_FORCED_LOCAL.
* elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
* elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.

* elflink.h (elf_fix_symbol_flags): Set ELF_LINK_FORCED_LOCAL
if the symbol has hidden or internal visibility.

23 years ago * elf32-hppa.c (final_link_relocate): Branch to .+8 for
Alan Modra [Mon, 30 Apr 2001 13:34:41 +0000 (13:34 +0000)] 
* elf32-hppa.c (final_link_relocate): Branch to .+8 for
calls to undefined weak symbols.

23 years ago * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
Eli Zaretskii [Mon, 30 Apr 2001 10:30:27 +0000 (10:30 +0000)] 
* buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
(top-level): #include filenames.h.

* dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
FILENAME_CMP, to DTRT on non-Posix platforms.
(top-level): #include filenames.h.

23 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for
Andreas Jaeger [Mon, 30 Apr 2001 10:30:05 +0000 (10:30 +0000)] 
* elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for
R_X86_64_GOTPCREL, don't use assignments instead of comparisons.

23 years ago * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
Andreas Jaeger [Mon, 30 Apr 2001 09:37:08 +0000 (09:37 +0000)] 
* emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.

23 years ago2001-04-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 29 Apr 2001 19:10:21 +0000 (19:10 +0000)] 
2001-04-29  H.J. Lu  <hjl@gnu.org>

* ld-shared/symbolic.dat: New.

* ld-shared/shared.exp: Also check -Bsymbolic.

23 years ago2001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
H.J. Lu [Sun, 29 Apr 2001 17:58:39 +0000 (17:58 +0000)] 
2001-04-29  Keith M Wesolowski <wesolows@foobazco.org>

* config/tc-mips.c (md_parse_option): Also accept
elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.

23 years ago * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap
Andreas Jaeger [Sun, 29 Apr 2001 13:42:45 +0000 (13:42 +0000)] 
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap
out handled entries.
(elf64_x86_64_finish_dynamic_symbol): Set up GOT entries.
(elf64_x86_64_relocate_section): Fix GOTPCREL calculation.
(elf64_x86_64_relocate_section): Merge entries for GOTPCREL and
GOT32.

23 years agoGive emulation a chance to process unrecognized file before fatal error is
Nick Clifton [Sat, 28 Apr 2001 18:00:10 +0000 (18:00 +0000)] 
Give emulation a chance to process unrecognized file before fatal error is
reported, not after.

23 years ago * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
Andreas Jaeger [Sat, 28 Apr 2001 16:14:39 +0000 (16:14 +0000)] 
* ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
special.

23 years agoRevert the last change on aclocal.m4.
H.J. Lu [Fri, 27 Apr 2001 21:25:04 +0000 (21:25 +0000)] 
Revert the last change on aclocal.m4.

23 years ago2001-04-27 David Mosberger <davidm@hpl.hp.com>
H.J. Lu [Fri, 27 Apr 2001 20:42:55 +0000 (20:42 +0000)] 
2001-04-27  David Mosberger  <davidm@hpl.hp.com>

* config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
argument passing order: predicate goes last, not first.

23 years agoAdd support for arm-vxworks target
Nick Clifton [Fri, 27 Apr 2001 17:12:18 +0000 (17:12 +0000)] 
Add support for arm-vxworks target

23 years agoZap romp host.
Andrew Cagney [Fri, 27 Apr 2001 16:40:29 +0000 (16:40 +0000)] 
Zap romp host.

23 years agoAll 5.1 obsolete targets are done.
Andrew Cagney [Fri, 27 Apr 2001 16:20:51 +0000 (16:20 +0000)] 
All 5.1 obsolete targets are done.

23 years ago (Changes from Kevin Buettner, with minor update by Don Howard.)
Don Howard [Fri, 27 Apr 2001 16:06:53 +0000 (16:06 +0000)] 
(Changes from Kevin Buettner, with minor update by Don Howard.)

* i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
typos in which hexadecimal constants were really intended to be
binary constants.
(i387_tag): Swap logic regarding zero vs non-zero exponents.

23 years agoAdded myself to the write-after-approval list.
Don Howard [Fri, 27 Apr 2001 15:53:06 +0000 (15:53 +0000)] 
Added myself to the write-after-approval list.

23 years agoAdded myself to the write-after-approval list.
Don Howard [Fri, 27 Apr 2001 15:45:15 +0000 (15:45 +0000)] 
Added myself to the write-after-approval list.

23 years agoSupport printable characters outside of the ASCII range
Nick Clifton [Fri, 27 Apr 2001 15:42:21 +0000 (15:42 +0000)] 
Support printable characters outside of the ASCII range

23 years agoAdd openRISC support in opcodes
Nick Clifton [Fri, 27 Apr 2001 13:34:20 +0000 (13:34 +0000)] 
Add openRISC support in opcodes

23 years ago(Changes from Daniel Berlin, with revisions by Jim Blandy.)
Jim Blandy [Fri, 27 Apr 2001 00:19:09 +0000 (00:19 +0000)] 
(Changes from Daniel Berlin, with revisions by Jim Blandy.)

Abstract out operations specific to particular C++ ABI's, and
invoke them through a function table.  This removes the C++ ABI
dependencies scattered throughout the code, and allows us to
cleanly add support for new C++ ABI's.
* cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
* c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
#include "cp-abi.h".  These files all use functions now declared
there.
* symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
Deleted.  These services are now provided by functions declared in
cp-abi.h.
* value.h (value_rtti_type, value_virtual_fn_field): Same.
* values.c (value_virtual_fn_field): Same, for this definition.
* valops.c (value_rtti_type): Same.
* c-typeprint.c (c_type_print_base): Use the functions from
"cp-abi.h", instead of the old macros, or hard-coded ABI-specific
tests.
* dbxread.c (record_minimal_symbol): Same.
* gdbtypes.c (get_destructor_fn_field, virtual_base_index,
virtual_base_index_skip_primaries): Same.
* jv-typeprint.c (java_type_print_base): Same.
* linespec.c (find_methods, decode_line_1): Same.
* symtab.c (gdb_mangle_name): Same.
* Makefile.in (SFILES): Add the new .c files mentioned above.
(cp_abi_h): New variable.
(COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
(cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
(c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
dependency on $(cp_abi_h).

23 years ago2001-04-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 26 Apr 2001 23:14:20 +0000 (23:14 +0000)] 
2001-04-26  Michael Snyder  <msnyder@redhat.com>

* thread-db.c (_initialize_thread_db): Add set/show command
"debug-linux-threads" for debugging output.
* lin-lwp.c (various): Use global "debug_linux_threads to
turn on extra debugging output.

23 years ago2001-04-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 26 Apr 2001 22:35:08 +0000 (22:35 +0000)] 
2001-04-26  Michael Snyder  <msnyder@redhat.com>

* lin-lwp.c: Minor cleanups in comments.

23 years ago2001-04-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 26 Apr 2001 22:10:42 +0000 (22:10 +0000)] 
2001-04-26  Michael Snyder  <msnyder@redhat.com>

* target.c (normal_pid_to_str): Get rid of an ancient hack.
* remote.c (remote_pid_to_str): New function for remote target.

23 years ago* Makefile.in (idecode.o, op_utils.o, semantics.o, simops.o):
Alexandre Oliva [Thu, 26 Apr 2001 19:23:16 +0000 (19:23 +0000)] 
* Makefile.in (idecode.o, op_utils.o, semantics.o, simops.o):
Depend on targ-vals.h.

23 years ago2001-04-26 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 26 Apr 2001 19:09:20 +0000 (19:09 +0000)] 
2001-04-26  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is
valid.

23 years agoAdd ability to pad code alignment frags with no-ops.
Nick Clifton [Thu, 26 Apr 2001 15:19:21 +0000 (15:19 +0000)] 
Add ability to pad code alignment frags with no-ops.

23 years ago* configure.in (noconfigdirs): Don't reset it from scratch in the
Alexandre Oliva [Thu, 26 Apr 2001 05:42:15 +0000 (05:42 +0000)] 
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.

23 years ago* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
Alexandre Oliva [Thu, 26 Apr 2001 05:32:29 +0000 (05:32 +0000)] 
* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
sparc-*-solaris2.8]: Disable ${libgcj}.

23 years ago* configure.in (libgcj_saved): Copy from $libgcj.
Alexandre Oliva [Wed, 25 Apr 2001 21:41:21 +0000 (21:41 +0000)] 
* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is
--disable-libgcj.

23 years ago* thanks, nickc
Frank Ch. Eigler [Wed, 25 Apr 2001 21:14:28 +0000 (21:14 +0000)] 
* thanks, nickc

2001-04-25  Frank Ch. Eigler  <fche@redhat.com>

* sim-load.c (sim_load_file): Put it back [...]

23 years ago* externalize a function
Frank Ch. Eigler [Wed, 25 Apr 2001 21:08:02 +0000 (21:08 +0000)] 
* externalize a function

2001-04-25  Frank Ch. Eigler  <fche@redhat.com>

* bfd-in.h (bfd_cache_close): Declare newly exported function.
* bfd-in2.h: Regenerated.

23 years agoFix autoconf breakage + commit target.c, omitted in previous delta
Nick Clifton [Wed, 25 Apr 2001 19:09:30 +0000 (19:09 +0000)] 
Fix autoconf breakage + commit target.c, omitted in previous delta

23 years agoCheck to see if the filename symbol has been initialised before extracting
Nick Clifton [Wed, 25 Apr 2001 09:11:31 +0000 (09:11 +0000)] 
Check to see if the filename symbol has been initialised before extracting
its symbol index.

23 years ago2001-04-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 25 Apr 2001 00:18:35 +0000 (00:18 +0000)] 
2001-04-24  H.J. Lu  <hjl@gnu.org>

* configure: Regenerated with the right version of autoconf.

23 years ago* c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
Jim Blandy [Tue, 24 Apr 2001 23:12:50 +0000 (23:12 +0000)] 
* c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
qualifier on C++ references; all references are innately const.

23 years ago* sparc.h: Fix typo.
DJ Delorie [Tue, 24 Apr 2001 18:32:27 +0000 (18:32 +0000)] 
* sparc.h: Fix typo.

23 years ago * merge.c (struct sec_merge_hash_entry): Add alignment field.
Jakub Jelinek [Tue, 24 Apr 2001 17:55:57 +0000 (17:55 +0000)] 
* merge.c (struct sec_merge_hash_entry): Add alignment field.
(struct sec_merge_hash): Remove alignment_power.
(sec_merge_hash_newfunc): Clear alignment.
(sec_merge_hash_lookup): Pass alignment as argument.
Use hashp->root.next, not hashp->next to walk the hash chain.
If a string already in the hashtable does not have required
alignment, create a new hashtable entry.
(sec_merge_init): Remove alignment_power argument.
(sec_merge_add): Add alignment argument.
(sec_merge_emit): Alignment is now a per-entity thing, not per
section.
(_bfd_merge_section): Sanity check even non-SEC_STRINGS sections
for proper alignment.
Pass alignment information to sec_merge_add.

23 years ago* gdb.c++/templates.exp: If we see the prompt for the overload
Jim Blandy [Tue, 24 Apr 2001 17:47:42 +0000 (17:47 +0000)] 
* gdb.c++/templates.exp: If we see the prompt for the overload
list, but we haven't recognized any of the longer patterns,
arrange for this test to fail, not hang.

23 years ago* gdb.c++/classes.exp (ptype class A): Tolerate whitespace
Jim Blandy [Tue, 24 Apr 2001 17:39:14 +0000 (17:39 +0000)] 
* gdb.c++/classes.exp (ptype class A): Tolerate whitespace
variations.

23 years agoz8k fixes
Nick Clifton [Tue, 24 Apr 2001 15:22:25 +0000 (15:22 +0000)] 
z8k fixes

23 years agoAdd OpenRISC support
Nick Clifton [Tue, 24 Apr 2001 15:08:16 +0000 (15:08 +0000)] 
Add OpenRISC support

23 years ago2001-04-22 Michael Chastain <chastain@redhat.com>
Michael Chastain [Mon, 23 Apr 2001 17:02:05 +0000 (17:02 +0000)] 
2001-04-22  Michael Chastain  <chastain@redhat.com>

* gdb.c++/local.exp: Use the 'runto' library function.
* gdb.c++/namespace.exp: Likewise.
* gdb.c++/overload.exp: Likewise.

23 years ago2001-04-23 Bo Thorsen <bo@suse.de>
Andreas Jaeger [Mon, 23 Apr 2001 08:00:14 +0000 (08:00 +0000)] 
2001-04-23  Bo Thorsen  <bo@suse.de>

* x86-64.h: Add vtable support.

2001-04-23  Bo Thorsen  <bo@suse.de>

* elf64-x86-64.c: Add c++ vtable hack.
Small whitespace and comment changes.

23 years agoRevert call to bfd_cache_close().
Andrew Cagney [Sat, 21 Apr 2001 22:50:55 +0000 (22:50 +0000)] 
Revert call to bfd_cache_close().

23 years ago2000-04-20 Jason Eckhardt <jle@redhat.com>
Jason Eckhardt [Fri, 20 Apr 2001 23:38:37 +0000 (23:38 +0000)] 
2000-04-20  Jason Eckhardt  <jle@redhat.com>

* config/tc-d10v.h (tc_frob_label): Update the symbol's frag
since frag_now can change after d10v_cleanup is called.

23 years ago* event-top.h: Fix formatting.
Mark Kettenis [Fri, 20 Apr 2001 14:25:59 +0000 (14:25 +0000)] 
* event-top.h: Fix formatting.

23 years ago* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
Alexandre Oliva [Fri, 20 Apr 2001 09:28:05 +0000 (09:28 +0000)] 
* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
1.641.2.228.

23 years agoObsolete MPW as host.
Andrew Cagney [Thu, 19 Apr 2001 23:56:14 +0000 (23:56 +0000)] 
Obsolete MPW as host.

23 years ago* bug fix
Frank Ch. Eigler [Thu, 19 Apr 2001 20:59:30 +0000 (20:59 +0000)] 
* bug fix

2001-04-19  Frank Ch. Eigler  <fche@redhat.com>

* sim-utils.c (sim_analyze_program): Call bfd_cache_close after
we're finished with its immediate use.
* sim-load.c (sim_load_file): Ditto.

23 years ago* i386-tdep.c (i386_frameless_function_invocation): New function.
Mark Kettenis [Thu, 19 Apr 2001 11:39:48 +0000 (11:39 +0000)] 
* i386-tdep.c (i386_frameless_function_invocation): New function.
* config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
in terms of i386_frameless_function_invocation.  Adjust comment.
(i386_frameless_function_invocation): New prototype.

23 years ago2001-04-19 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Thu, 19 Apr 2001 09:39:28 +0000 (09:39 +0000)] 
2001-04-19  Andreas Jaeger  <aj@suse.de>

* elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions.
(elf64_x86_64_plt_entry): Likewise.
(elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation.
(elf64_x86_64_finish_dynamic_symbol): Fix PLT generation.

23 years ago2001-04-18 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 19 Apr 2001 05:28:12 +0000 (05:28 +0000)] 
2001-04-18  Martin M. Hunt  <hunt@redhat.com>

* top.c (gdb_init): Don't call cli_out_new() to
create global uiout if init_ui_hook is set.  uiout will
have to be initialized there.

23 years ago#include "regcache.h".
Andrew Cagney [Thu, 19 Apr 2001 00:37:24 +0000 (00:37 +0000)] 
#include "regcache.h".

23 years ago* XScale coprocessor support.
Matthew Green [Wed, 18 Apr 2001 16:39:37 +0000 (16:39 +0000)] 
* XScale coprocessor support.

2001-04-18  matthew green  <mrg@redhat.com>

* armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
(read_cp15_reg): Make non-static.
(XScale_cp15_LDC): Update for write_cp15_reg() change.
(XScale_cp15_MCR): Likewise.
(XScale_cp15_write_reg): Likewise.
(XScale_check_memacc): New function. Check for breakpoints being
activated by memory accesses.  Does not support the Branch Target
Buffer.
(XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
(XScale_debug_moe): New function. Set the debug Method Of Entry,
if configured.
(write_cp14_reg): Reset count counter if requested.
* armdefs.h (struct ARMul_State): New members `LastTime' and
`CP14R0_CCD' used for the timer/counters.
(ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
defines for XScale registers.
(XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
(ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
(ARMul_Emulate32): Handle the clock counter and hardware instruction
breakpoints.  Call XScale_set_fsr_far() for software breakpoints and
software interrupts.
(LoadMult): Call XScale_set_fsr_far() for data aborts.
(LoadSMult): Likewise.
(StoreMult): Likewise.
(StoreSMult): Likewise.
* armemu.h (write_cp15_reg): Update prototype.
* arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
(ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
register 0.
* armvirt.c (GetWord): Call XScale_check_memacc().
(PutWord): Likewise.

23 years ago2001-04-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 18 Apr 2001 00:37:49 +0000 (00:37 +0000)] 
2001-04-17  Michael Snyder  <msnyder@redhat.com>

        * i386-nat.c: Fix typo in comment.

23 years ago* dlltool.c (do_default_excludes): Initialise to true.
DJ Delorie [Tue, 17 Apr 2001 23:28:38 +0000 (23:28 +0000)] 
* dlltool.c (do_default_excludes): Initialise to true.

23 years agoFix thinko.
Michael Snyder [Tue, 17 Apr 2001 23:22:52 +0000 (23:22 +0000)] 
Fix thinko.

23 years ago2001-04-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 17 Apr 2001 23:21:48 +0000 (23:21 +0000)] 
2001-04-17  Michael Snyder  <msnyder@redhat.com>

* solib.c (no_shared_libraries): New function.  Discard all symbols
from shared libraries.
(_initialize_solib): Add command "nosharedlibrary" as complement
to the command "sharedlibrary".  Unloads symbols for all solibs.

23 years ago* i386-tdep.c (i386_saved_pc_after_call): New function.
Mark Kettenis [Tue, 17 Apr 2001 23:20:55 +0000 (23:20 +0000)] 
* i386-tdep.c (i386_saved_pc_after_call): New function.
* config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
of i386_saved_pc_after_call.
(i386_saved_pc_after_call): New prototype.

23 years agoObsolete NEWS and ISI systems (along with a few redundant m68k targets).
Andrew Cagney [Tue, 17 Apr 2001 21:20:49 +0000 (21:20 +0000)] 
Obsolete NEWS and ISI systems (along with a few redundant m68k targets).

23 years ago2001-04-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 17 Apr 2001 20:31:00 +0000 (20:31 +0000)] 
2001-04-17  Michael Snyder  <msnyder@redhat.com>

* remote.c (remote_open_1): On opening the remote target, activate
the solib_create_inferior_hook, so that it can detect when the
target loads shared libraries.
(remote_async_open_1): Ditto.

23 years ago2001-04-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 17 Apr 2001 20:16:31 +0000 (20:16 +0000)] 
2001-04-17  Michael Snyder  <msnyder@redhat.com>

        * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
* tracepoint.c (tracepoints_info): Handle 64-bit addresses.
        * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
* testsuite/gdb.trace/infotrace.exp: Ditto.
        * testsuite/gdb.trace/passcount.exp: Ditto.
* testsuite/gdb.trace/while-stepping.exp: Ditto.

23 years ago2001-04-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 17 Apr 2001 19:14:54 +0000 (19:14 +0000)] 
2001-04-17  Michael Snyder  <msnyder@redhat.com>

* thread-db.c (check_thread_signals): When looping over all
signals, ignore signal zero.
(disable_thread_signals): Ditto.

23 years ago2001-04-17 Eirik Fuller <eirik@netapp.com>
Michael Snyder [Tue, 17 Apr 2001 19:01:35 +0000 (19:01 +0000)] 
2001-04-17  Eirik Fuller <eirik@netapp.com>

* thread.c (do_captured_thread_select): Allow the argument to the
thread command to be an expression rather than a literal integer.

23 years ago * elf32-cris.c: Tweak comments related to dynamic linking.
Hans-Peter Nilsson [Tue, 17 Apr 2001 12:32:30 +0000 (12:32 +0000)] 
* elf32-cris.c: Tweak comments related to dynamic linking.
(cris_elf_relocate_section): When not creating shared object, fill
in the .got table for any symbol not in the dynamic symbol table.
(elf_cris_finish_dynamic_symbol): When not creating shared object,
only emit a .got.rela reloc if the symbol is in the dynamic symbol
table.
(cris_elf_check_relocs): Use variable r_type in all places rather
than the original expression.  Add default case in switch for
reloc types.
(elf_cris_size_dynamic_sections): Iterate over
elf_cris_discard_excess_program_dynamics when not creating shared
library.
  (elf_cris_discard_excess_dso_dynamics): Renamed from
elf_cris_discard_copies.  Correct typo, s/Rel/Rela/.
(elf_cris_discard_excess_program_dynamics): New.

23 years ago* i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
Mark Kettenis [Tue, 17 Apr 2001 09:38:52 +0000 (09:38 +0000)] 
* i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
read_memory_unsigned_integer instead of read_memory_integer.

23 years ago * solib-aix5.c (map_index_vs_section_name_okay): New function.
Kevin Buettner [Tue, 17 Apr 2001 02:29:23 +0000 (02:29 +0000)] 
* solib-aix5.c (map_index_vs_section_name_okay): New function.
(aix5_relocate_main_executable): Don't use file offsets for
determining corresponding sections and map file entries.  Call
map_index_vs_section_name_okay() to do this instead.

23 years ago2001-04-16 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Tue, 17 Apr 2001 01:36:23 +0000 (01:36 +0000)] 
2001-04-16  David O'Brien  <obrien@FreeBSD.org>
* configure.in: Add the em type for FreeBSD targets.
* configure: Regenerate.

Approved by:  Alan Modra <amodra@one.net.au>
              <20010414192409.C16364@squeak.one.net.au>
  Philip Blundell <philb@gnu.org>
  <E14o06W-0002IT-00@kings-cross.london.uk.eu.org>

23 years agoAdd code to retry certain open()s.
Kevin Buettner [Tue, 17 Apr 2001 01:24:49 +0000 (01:24 +0000)] 
Add code to retry certain open()s.

23 years agoFix date on previous commit.
Kevin Buettner [Mon, 16 Apr 2001 21:40:48 +0000 (21:40 +0000)] 
Fix date on previous commit.

23 years agoMake hw watchpoints work with both the 2.4.2 kernel and the 2.4.3 kernel.
Kevin Buettner [Mon, 16 Apr 2001 21:26:46 +0000 (21:26 +0000)] 
Make hw watchpoints work with both the 2.4.2 kernel and the 2.4.3 kernel.