binutils-gdb.git
19 years agoChanged
Manoj Iyer [Tue, 7 Jun 2005 06:55:16 +0000 (06:55 +0000)]
Changed

* solib-svr4.c: Change type of 'lm' to gdb_byte.
to
* solib-svr4.c (struct lm_info):  Change type of 'lm' to gdb_byte.

19 years agoSync with gcc-toplevel
Hans-Peter Nilsson [Tue, 7 Jun 2005 06:18:26 +0000 (06:18 +0000)]
Sync with gcc-toplevel

19 years ago * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Init _bfd_find_line.
Alan Modra [Tue, 7 Jun 2005 03:13:05 +0000 (03:13 +0000)]
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Init _bfd_find_line.
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise.

19 years ago * configure.in (unsupported_languages): New macro.
Hans-Peter Nilsson [Tue, 7 Jun 2005 00:04:15 +0000 (00:04 +0000)]
* configure.in (unsupported_languages): New macro.
<mmix-knuth-mmixware>: Set unsupported_languages.  Name explicit
non-ported target libraries in noconfigdirs.
<cris-*, crisv32-*> Ditto, except for non-aout, non-elf,
non-linux-gnu.  Remove libgcj_ex_libffi.
  <lang_frag loop>: Set add_this_lang=no if the language is in
unsupported_languages.
* configure: Regenerate.

19 years ago*** empty log message ***
gdbadmin [Tue, 7 Jun 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 7 Jun 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago solib-svr4.c gdb_byteised.
Manoj Iyer [Mon, 6 Jun 2005 22:24:25 +0000 (22:24 +0000)]
 solib-svr4.c gdb_byteised.

19 years agomerge from gcc
DJ Delorie [Mon, 6 Jun 2005 22:13:35 +0000 (22:13 +0000)]
merge from gcc

19 years ago* configure.in: Fix typo in handling of --with-mpfr-dir.
DJ Delorie [Mon, 6 Jun 2005 18:36:50 +0000 (18:36 +0000)]
* configure.in: Fix typo in handling of --with-mpfr-dir.
* configure: Regenerate.

19 years agobfd/
H.J. Lu [Mon, 6 Jun 2005 14:28:31 +0000 (14:28 +0000)]
bfd/

2005-06-06  H.J. Lu  <hongjiu.lu@intel.com>

PR 990
* bfd.c (bfd_find_line): New.

* dwarf2.c (comp_unit): Add variable_table.
(funcinfo): Add file, line, and sec.
(varinfo): New.
(lookup_symbol_in_function_table): New.
(lookup_symbol_in_variable_table): New.
(scan_unit_for_functions): Renamed to ...
(scan_unit_for_symbols): This. Handle DW_TAG_entry_point and
DW_TAG_variable.
(comp_unit_find_nearest_line): Updated.
(comp_unit_find_line): New.
(_bfd_dwarf2_find_line): New.

* elf-bfd.h (_bfd_elf_find_line): New.
(_bfd_generic_find_line): New. Defined.

* elf.c (_bfd_elf_find_line): New.

* libbfd-in.h (_bfd_dwarf2_find_line): New.
(_bfd_generic_find_line): New.

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

* libbfd.c (_bfd_generic_find_line): New.

* targets.c (BFD_JUMP_TABLE_SYMBOLS): Initialize _bfd_find_line
with _bfd_generic_find_line.
(bfd_target): Add _bfd_find_line.

binutils/

2005-06-06  H.J. Lu  <hongjiu.lu@intel.com>

PR 990
* nm.c (print_symbol): Call bfd_find_line before
bfd_find_nearest_line.

19 years ago2005-06-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 6 Jun 2005 14:16:45 +0000 (14:16 +0000)]
2005-06-06  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf2.c (decode_line_info): Properly set low_pc.

19 years ago * elf64-ppc.c (ppc_stub_name): Return immediately on bfd_malloc fail.
Alan Modra [Mon, 6 Jun 2005 13:16:15 +0000 (13:16 +0000)]
* elf64-ppc.c (ppc_stub_name): Return immediately on bfd_malloc fail.
(ppc64_elf_edit_opd): Ignore zero size .opd.  Check bfd_alloc
return value.

19 years agobfd/
Alan Modra [Mon, 6 Jun 2005 12:59:59 +0000 (12:59 +0000)]
bfd/
* elf64-pcc.c (ppc64_elf_gc_mark_hook): For the local sym in .opd
case, include addend when indexing .opd section map.
(ppc64_elf_edit_opd): Add no_opd_opt param.  Do nothing besides
clear opd_adjust array if no_opd_opt set.  Tidy code.
* elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
ld/
* emultempl/ppc64elf.em (ppc_before_allocation): Always run
ppc64_elf_edit_opd.

19 years ago * NEWS: Mention new powerpc ld support.
Alan Modra [Mon, 6 Jun 2005 06:53:07 +0000 (06:53 +0000)]
* NEWS: Mention new powerpc ld support.

19 years agodaily update
Alan Modra [Mon, 6 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 6 Jun 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agold/
H.J. Lu [Sun, 5 Jun 2005 15:28:36 +0000 (15:28 +0000)]
ld/

2005-06-05  H.J. Lu  <hongjiu.lu@intel.com>

* ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
section only if the symbol will be defined.

ld/testsuite/

2005-06-05  H.J. Lu  <hongjiu.lu@intel.com>

* ld-cris/hiddef1.d: Undo the last change.
* ld-cris/libdso-10.d: Likewise.
* ld-cris/libdso-2.d: Likewise.

19 years ago*** empty log message ***
gdbadmin [Sun, 5 Jun 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 5 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago2005-06-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 4 Jun 2005 18:11:07 +0000 (18:11 +0000)]
2005-06-04  H.J. Lu  <hongjiu.lu@intel.com>

* ld-cris/hiddef1.d: Updated.
* ld-cris/libdso-10.d: Likewise.
* ld-cris/libdso-2.d: Likewise.

19 years ago2005-06-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 4 Jun 2005 16:33:09 +0000 (16:33 +0000)]
2005-06-04  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf2.c (comp_unit): Fix a typo in comment.

19 years ago2005-06-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 4 Jun 2005 14:40:21 +0000 (14:40 +0000)]
2005-06-04  H.J. Lu  <hongjiu.lu@intel.com>

PR 992
* ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
section for etree_assign, etree_provide and etree_provided.
Call fold_binary on etree_binary.

* ldlang.c (lang_mark_used_section_1): Handle load base.

19 years ago(CE, C3, CM, UE, UF): Redefine without reference to their Thumb-enabled
Nick Clifton [Sat, 4 Jun 2005 14:06:01 +0000 (14:06 +0000)]
(CE, C3, CM, UE, UF): Redefine without reference to their Thumb-enabled
equivalents.

19 years ago * MAINTAINERS: Update my email address.
Richard Sandiford [Sat, 4 Jun 2005 06:29:06 +0000 (06:29 +0000)]
* MAINTAINERS: Update my email address.

19 years ago*** empty log message ***
gdbadmin [Sat, 4 Jun 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 4 Jun 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago * symmisc.c (dump_symtab_1): Renamed from dump_symtab.
Joel Brobecker [Fri, 3 Jun 2005 23:27:28 +0000 (23:27 +0000)]
    * symmisc.c (dump_symtab_1): Renamed from dump_symtab.
        (dump_symtab): New function.

19 years agoPatch from Steve Ellcey for hpux build failure.
Jim Wilson [Fri, 3 Jun 2005 21:33:49 +0000 (21:33 +0000)]
Patch from Steve Ellcey for hpux build failure.
* configure.in: Check for getc_unlocked prototype.
* configure: Regenerate.
* config.in: Regenerate.
* strings.c (get_char): Only call getc_unlocked if we have seen a
prototype.

19 years ago* configure.in (ALL_LINGUAS): Add zh_TW
Nick Clifton [Fri, 3 Jun 2005 13:22:15 +0000 (13:22 +0000)]
* configure.in (ALL_LINGUAS): Add zh_TW
* configure: Regenerate.
* po/zh_TW.po: New Chinese (traditional) translation.

19 years agoRemove spurious blank space
Nick Clifton [Fri, 3 Jun 2005 10:14:29 +0000 (10:14 +0000)]
Remove spurious blank space

19 years agoConvert to ISO C90 formatting
Nick Clifton [Fri, 3 Jun 2005 10:13:15 +0000 (10:13 +0000)]
Convert to ISO C90 formatting

19 years agoinclude/
Alan Modra [Fri, 3 Jun 2005 09:52:50 +0000 (09:52 +0000)]
include/
* bfdlink.h (struct bfd_link_callbacks): Add einfo.
bfd/
* configure.in: Bump version
* configure: Regenerate.
* elflink.c (elf_link_input_bfd): Use einfo linker callback to print
discarded section sym refs and kill linker output.
* simple.c (simple_dummy_einfo): New function.
(bfd_simple_get_relocated_section_contents): Init callbacks.einfo.
ld/
* ldmain.c (link_callbacks): Add einfo.
(add_archive_element): Use passed info, not link_info.
(constructor_callback): Likewise.
(reloc_overflow): Don't handle null bfd specially.
(reloc_dangerous, unattached_reloc): Likewise.
* ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd.
(vfinfo <C, D, G>): Handle null bfd.  Wrap comments.

19 years ago * gdb.texinfo (Registers): Add index entries for the standard
Eli Zaretskii [Fri, 3 Jun 2005 07:09:20 +0000 (07:09 +0000)]
* gdb.texinfo (Registers): Add index entries for the standard
registers.
(Frames): Add cross-reference from frame pointer description to
the Registers node.
(Annotations Overview): Fix the reference to GDB name.

19 years ago * elf32-i386.c (elf_i386_relocate_section): Handle zero symndx
Alan Modra [Fri, 3 Jun 2005 03:58:13 +0000 (03:58 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Handle zero symndx
for all reloc types.

19 years ago*** empty log message ***
gdbadmin [Fri, 3 Jun 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 3 Jun 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago* config.sub: Add cases for the Renesas m32c. (This patch has been
Jim Blandy [Thu, 2 Jun 2005 21:23:04 +0000 (21:23 +0000)]
* config.sub: Add cases for the Renesas m32c.  (This patch has been
accepted into the master sources.)

19 years ago * configure.in: Set noconfigdirs for ms1.
Aldy Hernandez [Thu, 2 Jun 2005 19:56:31 +0000 (19:56 +0000)]
    * configure.in: Set noconfigdirs for ms1.

        * configure: Regenerate.

19 years ago * exceptions.h: Include ui-out.h.
Joel Brobecker [Thu, 2 Jun 2005 16:52:04 +0000 (16:52 +0000)]
    * exceptions.h: Include ui-out.h.
        (ui_out): Remove declaration.
        * Makefile.in (exceptions_h): Add dependency on ui-out.h.

19 years ago * ld-powerpc/powerpc.exp (ppcelftests): Assemble sda test with -a32.
Alan Modra [Thu, 2 Jun 2005 14:30:03 +0000 (14:30 +0000)]
* ld-powerpc/powerpc.exp (ppcelftests): Assemble sda test with -a32.

19 years ago * elf64-ppc.c (add_symbol_adjust): Set sym visibility to most
Alan Modra [Thu, 2 Jun 2005 13:13:54 +0000 (13:13 +0000)]
* elf64-ppc.c (add_symbol_adjust): Set sym visibility to most
restrictive of func code and func descr for undefined syms as well
as defined.

19 years ago * ldexp.h (etree_value_type): Use "asection *" in place of
Alan Modra [Thu, 2 Jun 2005 03:08:41 +0000 (03:08 +0000)]
* ldexp.h (etree_value_type): Use "asection *" in place of
"struct lang_output_section_statement_struct *" for "section".
(exp_fold_tree): Likewise.
(exp_mark_used_section): Likewise.
* ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary,
fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree,
exp_mark_used_section): Likewise for "current_section" param.
(make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill,
exp_get_abs_int): Adjust for above changes.
* ldlang.c (lang_mark_used_section_1, print_assignment,
lang_size_sections_1, lang_do_assignments_1): Likewise.
* ldexp.c (fold_name): Init entire result struct.

19 years agomerge from gcc
DJ Delorie [Thu, 2 Jun 2005 03:05:03 +0000 (03:05 +0000)]
merge from gcc

19 years agodaily update
Alan Modra [Thu, 2 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 2 Jun 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * gdb.texinfo (Set Watchpoints): Remove @vindex entry for
Eli Zaretskii [Wed, 1 Jun 2005 20:38:44 +0000 (20:38 +0000)]
* gdb.texinfo (Set Watchpoints): Remove @vindex entry for
can-use-hw-watchpoints.

19 years ago* emulparams/elf32btsmip.sh: Unset DATA_ADDR.
Maciej W. Rozycki [Wed, 1 Jun 2005 19:26:25 +0000 (19:26 +0000)]
* emulparams/elf32btsmip.sh: Unset DATA_ADDR.

19 years agogas/:
Maciej W. Rozycki [Wed, 1 Jun 2005 19:23:58 +0000 (19:23 +0000)]
gas/:
* config/tc-mips.c (load_register): Add leading "0x" to the
output of sprintf_vma().
(macro): Likewise.

gas/testsuite/:
* gas/mips/ldstla-32-1.l: Update to handle leading zeroes.
* gas/mips/ldstla-32-mips3-1.l: Likewise.

19 years ago(TxCE, TxC3, TxCM, TUE, TUF): Remove redundant test for the presence of thumb
Nick Clifton [Wed, 1 Jun 2005 08:18:42 +0000 (08:18 +0000)]
(TxCE, TxC3, TxCM, TUE, TUF): Remove redundant test for the presence of thumb
version of the parsing functions since they must always exist and the test
generates a compile time warning message.

19 years ago* Makefile.am: Regenerate dependencies with 'make dep-am'.
Jim Blandy [Wed, 1 Jun 2005 05:36:05 +0000 (05:36 +0000)]
* Makefile.am: Regenerate dependencies with 'make dep-am'.
* Makefile.in: Regenerate.

19 years agold:
Zack Weinberg [Wed, 1 Jun 2005 04:04:19 +0000 (04:04 +0000)]
ld:
* ldlang.c (entry_symbol_default): New file-scope global.
(lang_finish): Use it, not a hardwired "start".
(lang_default_entry): Set it.
* ldlang.h: Declare lang_default_entry.
* emultempl/beos.em, emultempl/pe.em: Use lang_default_entry,
not lang_add_entry, to override default entry point symbol.

ld/testsuite:
* ld-scripts/align.exp: Mark align1 XFAIL on PECOFF targets.
* ld-scripts/data.exp: Mark data UNSUPPORTED on a.out targets.
* ld-scripts/provide.exp, ld-scripts/size.exp: Mark all tests
UNSUPPORTED on a.out targets.  Tidy.

19 years ago*** empty log message ***
gdbadmin [Wed, 1 Jun 2005 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 1 Jun 2005 00:00:09 +0000 (00:00 +0000)]
daily update

19 years ago * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_JSRDIRECT): New.
Richard Henderson [Tue, 31 May 2005 22:53:44 +0000 (22:53 +0000)]
    * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_JSRDIRECT): New.
        (ALPHA_ELF_LINK_HASH_TLS_IE): Renumber to 0x80.
        (ALPHA_ELF_LINK_HASH_LU_PLT): Rename from ALPHA_ELF_LINK_HASH_LU_FUNC.
        (elf64_alpha_want_plt): Update to match.
        (elf64_alpha_check_relocs): Collect JSRDIRECT in gotent_flags.
        (elf64_alpha_relax_with_lituse): Likewise.  Handle JSRDIRECT.

19 years ago * config/tc-alpha.c (O_lituse_jsrdirect): New.
Richard Henderson [Tue, 31 May 2005 22:53:11 +0000 (22:53 +0000)]
    * config/tc-alpha.c (O_lituse_jsrdirect): New.
        (alpha_reloc_op): Add it.
        (debug_exp): Handle it.
        (DUMMY_RELOC_LITUSE_JSRDIRECT): New.
        (emit_insn): Handle it.
        * doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect.

19 years ago * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
Richard Henderson [Tue, 31 May 2005 22:52:50 +0000 (22:52 +0000)]
    * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.

19 years ago * alpha.h (LITUSE_ALPHA_JSRDIRECT): New.
Richard Henderson [Tue, 31 May 2005 22:52:31 +0000 (22:52 +0000)]
    * alpha.h (LITUSE_ALPHA_JSRDIRECT): New.

19 years ago * elf32-arm.c (elf32_arm_reloc_type_lookup)
Zack Weinberg [Tue, 31 May 2005 22:09:51 +0000 (22:09 +0000)]
* elf32-arm.c (elf32_arm_reloc_type_lookup)
(elf32_arm_nabi_grok_prstatus, elf32_arm_nabi_grok_psinfo):
Use ISO C90 function declaration style.

19 years agoFix for IA-64 gdb backtrace of threads in syscalls, reported by Jeff Johnson.
Jim Wilson [Tue, 31 May 2005 19:32:29 +0000 (19:32 +0000)]
Fix for IA-64 gdb backtrace of threads in syscalls, reported by Jeff Johnson.
* elfcode.h (NAME(bfd_elf,bfd_from_remote_memory)): Check for program
header PF_R flag on PT_LOAD segments.

19 years ago2005-05-31 Christian Groessler <chris@groessler.org>
Christian Groessler [Tue, 31 May 2005 18:36:28 +0000 (18:36 +0000)]
2005-05-31  Christian Groessler  <chris@groessler.org>

* write.c (dump_section_relocs): Convert to ISO-C.
(write_relocs): Avoid signed/unsigned and fprintf argument
warnings in debug code.

19 years ago*** empty log message ***
gdbadmin [Tue, 31 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 31 May 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * elf64-alpha.c (elf64_alpha_relocate_section): Use dtp_base for
Richard Henderson [Mon, 30 May 2005 21:22:40 +0000 (21:22 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section): Use dtp_base for
        the zero index relocs produced by elf64_alpha_relax_tls_get_addr.

19 years ago2005-05-30 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 30 May 2005 20:00:57 +0000 (20:00 +0000)]
2005-05-30  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS (Can Commit Without Approval): New section,
previously burried under "Target Instruction Set Architectures".
Note that cagney "can commit" changes to powerpc-linux.

19 years ago2005-05-30 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 30 May 2005 18:35:12 +0000 (18:35 +0000)]
2005-05-30  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: Drop architecture and target vectors.

19 years agomerge from gcc
DJ Delorie [Mon, 30 May 2005 01:12:16 +0000 (01:12 +0000)]
merge from gcc

19 years ago*** empty log message ***
gdbadmin [Mon, 30 May 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Mon, 30 May 2005 00:00:27 +0000 (00:00 +0000)]
daily update

19 years ago * readelf.c (get_alpha_dynamic_type): New.
Richard Henderson [Sun, 29 May 2005 23:18:51 +0000 (23:18 +0000)]
    * readelf.c (get_alpha_dynamic_type): New.
        (get_dynamic_type): Call it.

19 years ago * alpha.h (DT_ALPHA_PLTRO): New.
Richard Henderson [Sun, 29 May 2005 23:18:26 +0000 (23:18 +0000)]
    * alpha.h (DT_ALPHA_PLTRO): New.

19 years ago * emulparams/elf64alpha.sh (PLT): New.
Richard Henderson [Sun, 29 May 2005 23:16:09 +0000 (23:16 +0000)]
    * emulparams/elf64alpha.sh (PLT): New.
        (TEXT_PLT): New.
        * emultempl/alphaelf.em (disable_relaxation): New.
        (limit_32bit): Rename from elf64alpha_32bit; update all users.
        (elf64_alpha_use_secureplt): Declare.
        (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare.
        (alpha_after_open): New.
        (alpha_before_allocation): New.
        (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New.
        (PARSE_AND_LIST_LONGOPTS): Include them.
        (PARSE_AND_LIST_OPTIONS): Likewise.
        (PARSE_AND_LIST_ARGS_CASES): Likewise.
        (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New.
        * scripttempl/elf.sc (TEXT_PLT): New.
        (PLT): Use it.

19 years ago * configure.in (--enable-secureplt): New.
Richard Henderson [Sun, 29 May 2005 23:13:39 +0000 (23:13 +0000)]
    * configure.in (--enable-secureplt): New.
        * elf64-alpha.c (INSN_LDA, INSN_LDAH, INSN_LDQ, INSN_BR): New.
        (INSN_SUBQ, INSN_S4SUBQ, INSN_JMP): New.
        (INSN_A, INSN_AB, INSN_ABC, INSN_ABO, INSN_AD): New.
        (elf64_alpha_use_secureplt): New.
        (OLD_PLT_HEADER_SIZE, OLD_PLT_ENTRY_SIZE): New.
        (NEW_PLT_HEADER_SIZE, NEW_PLT_ENTRY_SIZE): New.
        (PLT_HEADER_SIZE, PLT_ENTRY_SIZE): Conditionalize on secureplt.
        (ALPHA_ELF_LINK_HASH_PLT_LOC): Remove.
        (struct alpha_elf_link_hash_entry): Add plt_offset.
        (PLT_HEADER_WORD1, PLT_HEADER_WORD2, PLT_HEADER_WORD3): Remove.
        (PLT_HEADER_WORD4, PLT_ENTRY_WORD1, PLT_ENTRY_WORD2): Remove.
        (PLT_ENTRY_WORD3): Remove.
        (elf64_alpha_create_dynamic_sections): If secureplt, set SEC_READONLY
        on .plt and create .got.plt.
        (elf64_alpha_output_extsym): Remove .plt frobbing for symbol values.
        (get_got_entry): Initialize plt_offset.
        (elf64_alpha_want_plt): New.
        (elf64_alpha_check_relocs): Use it.
        (elf64_alpha_adjust_dynamic_symbol): Likewise.  Don't allocate
        plt entries here.
        (elf64_alpha_calc_got_offsets_for_symbol): Don't report internal
        error as user error.
        (elf64_alpha_size_plt_section_1): Allocate one plt entry per
        got subsection.
        (elf64_alpha_size_plt_section): Size .got.plt section.
        (elf64_alpha_size_rela_got_1): Don't allocate relocations if
        plt entries used.
        (elf64_alpha_size_dynamic_sections): Call elf64_alpha_size_plt_section.
        Add PLTRO DYNAMIC entry.
        (elf64_alpha_finish_dynamic_symbol): Generate secureplt format.
        (elf64_alpha_finish_dynamic_sections): Likewise.

19 years ago * config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c and
Eli Zaretskii [Sun, 29 May 2005 07:36:10 +0000 (07:36 +0000)]
* config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c and
linux-ppc64-low.c.

19 years agoThis is a cleanup change. It is the beggining of allowing GDB/MI to be
Bob Rossi [Sun, 29 May 2005 03:13:19 +0000 (03:13 +0000)]
This is a cleanup change. It is the beggining of allowing GDB/MI to be
better understood (internally).

19 years ago * gdb.arch/alpha-step.c: New file.
Joel Brobecker [Sun, 29 May 2005 01:58:53 +0000 (01:58 +0000)]
    * gdb.arch/alpha-step.c: New file.
        * gdb.arch/alpha-step.exp: New testcase.

19 years ago * alpha-tdep.c (alpha_next_pc): Use correct register number
Joel Brobecker [Sun, 29 May 2005 01:54:44 +0000 (01:54 +0000)]
    * alpha-tdep.c (alpha_next_pc): Use correct register number
        for floating-point branch instructions.

19 years ago*** empty log message ***
gdbadmin [Sun, 29 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 29 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago PR backtrace/1760
Daniel Jacobowitz [Sat, 28 May 2005 22:51:37 +0000 (22:51 +0000)]
PR backtrace/1760
* frame.c (backtrace_limit): Change type to int.
(get_prev_frame): Update backtrace limit support.
(_initialize_frame): Use add_setshow_integer_cmd for backtrace_limit.

19 years agogdb/
Daniel Jacobowitz [Sat, 28 May 2005 22:09:04 +0000 (22:09 +0000)]
gdb/
* configure.tgt (powerpc64-*-linux*): Enable gdbserver.
* regformats/reg-ppc64.dat: New file.
gdbserver/
* Makefile.in (SFILES): Add linux-ppc64-low.c.
(linux-ppc64-low.o, reg-ppc64.c, reg-ppc64.o): New targets.
* configure.srv: Add powerpc64-*-linux*.
* linux-ppc64-low.c: New file.

19 years ago2005-05-28 David Daney <ddaney@avtrex.com>
Daniel Jacobowitz [Sat, 28 May 2005 22:00:27 +0000 (22:00 +0000)]
2005-05-28  David Daney  <ddaney@avtrex.com>

* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections):  Move
calculation of DT_RELSZ to occur after all dynamic relocations
are created.

19 years agomerge from gcc
DJ Delorie [Sat, 28 May 2005 19:49:24 +0000 (19:49 +0000)]
merge from gcc

19 years ago From Wu Zhou <woodzltc@cn.ibm.com>:
Daniel Jacobowitz [Sat, 28 May 2005 18:57:13 +0000 (18:57 +0000)]
From Wu Zhou <woodzltc@cn.ibm.com>:
* remote.c (struct gdb_ext_thread_info): Fix a comment typo.
(remote_unpack_thread_info_response): Likewise.

19 years ago * cli/cli-setshow.c (do_setshow_command): Partially revert previous
Daniel Jacobowitz [Sat, 28 May 2005 18:27:28 +0000 (18:27 +0000)]
* cli/cli-setshow.c (do_setshow_command): Partially revert previous
change.  Cast to "char **" for var_string.

19 years ago * cp-name-parser.y (parse_escape): Revert previous change. Return
Daniel Jacobowitz [Sat, 28 May 2005 16:48:58 +0000 (16:48 +0000)]
* cp-name-parser.y (parse_escape): Revert previous change.  Return
the input character by default.

19 years ago * dwarf2-frame.c (dwarf2_frame_prev_register): Use gdb_byte.
Daniel Jacobowitz [Sat, 28 May 2005 16:44:29 +0000 (16:44 +0000)]
* dwarf2-frame.c (dwarf2_frame_prev_register): Use gdb_byte.
* i386-linux-nat.c (fetch_register, store_register, supply_gregset)
(fill_gregset): Likewise.
* i386-tdep.c (i386_frame_prev_register)
(i386_sigtramp_frame_prev_register): Likewise.
* linux-nat.c (linux_nat_xfer_memory, linux_nat_make_corefile_notes):
Likewise.
* linux-thread-db.c (thread_db_xfer_memory): Likewise.
* remote.c (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint):
Likewise.
* target.c (debug_to_insert_hw_breakpoint)
(debug_to_remove_hw_breakpoint, update_current_target): Likewise.

19 years ago2005-05-28 Eli Zaretskii <eliz@gnu.org>
Andreas Jaeger [Sat, 28 May 2005 11:44:49 +0000 (11:44 +0000)]
2005-05-28  Eli Zaretskii  <eliz@gnu.org>

* configure.in: Add snprintf and vsnprintf to AC_CHECK_DECLS.
* config.in, configure: Regenerate.

19 years ago * MAINTAINERS: Change cris-elf state to non-broken.
Hans-Peter Nilsson [Sat, 28 May 2005 08:49:13 +0000 (08:49 +0000)]
* MAINTAINERS: Change cris-elf state to non-broken.
* cp-name-parser.y (parse_escape): Initialize target_char to zero.

19 years ago * cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
Hans-Peter Nilsson [Sat, 28 May 2005 08:47:30 +0000 (08:47 +0000)]
* cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.

19 years agodaily update
Alan Modra [Sat, 28 May 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 28 May 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * config/default.exp (CC): Use find_gcc.
Mark Mitchell [Fri, 27 May 2005 17:27:03 +0000 (17:27 +0000)]
* config/default.exp (CC): Use find_gcc.
(CFLAGS): Define, if no definition is provided.
(CXX): Likewise.
(CXXFLAGS): Likewise.

19 years ago2005-05-27 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 27 May 2005 14:36:13 +0000 (14:36 +0000)]
2005-05-27  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (crisv32_scan_prologue): Add.
(cris_frame_unwind_cache, cris_skip_prologue): Call
crisv32_scan_prologue when debugging CRISv32.

19 years ago* Tweaked last ChangeLog entry.
Orjan Friberg [Fri, 27 May 2005 13:51:06 +0000 (13:51 +0000)]
* Tweaked last ChangeLog entry.

19 years ago2005-05-27 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 27 May 2005 13:47:59 +0000 (13:47 +0000)]
2005-05-27  Orjan Friberg <orjanf@axis.com>

* cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start)
(cris_frame_prev_register, cris_sigtramp_frame_prev_register)
(cris_return_value): Use gdb_byte for byte buffers.
(struct cris_frame_unwind, struct cris_frame_base): Fix formatting.

19 years ago * config/tc-arm.h (TC_FIX_TYPE): Change to int.
Zack Weinberg [Fri, 27 May 2005 07:11:45 +0000 (07:11 +0000)]
* config/tc-arm.h (TC_FIX_TYPE): Change to int.
(TC_INIT_FIX_DATA): Initialize to 0, not NULL.
* config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast.
(md_apply_fix3): Delete fix_is_thumb variable; refer to
fixP->tc_fix_data directly in the sole place it was used.
Explicitly truncate value, *valP, fixP->fx_addnumber, and
fixP->fx_offset to 32 bits, for consistent behavior between 32-
and 64-bit hosts.

19 years agogas/
Jan Beulich [Fri, 27 May 2005 06:28:04 +0000 (06:28 +0000)]
gas/
2005-05-27  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (struct proc_pending): New.
(unwind): Replace proc_start with proc_pending.
(unwind_diagnostic): Check unwind.proc_pending.sym.
(dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym.
Check if previous proc not closed. Record all entry points.
(dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym.
Set symbol sizes for entry points recorded in dot_proc. Check
arguments for consistency with respective .proc's.
(md_assemble): Replace unwind.proc_start with
unwind.proc_pending.sym.

gas/testsuite/
2005-05-27  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/proc.l: Adjust.

19 years agogas/
Jan Beulich [Fri, 27 May 2005 06:25:22 +0000 (06:25 +0000)]
gas/
2005-05-27  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr,
and last_ptr. Check all in-use slots for first one with non-NULL
unwind_record. Don't reload end_ptr before second update round.

19 years ago2005-05-26 Chris Demetriou <cgd@netbsd.org>
Chris Demetriou [Fri, 27 May 2005 04:51:52 +0000 (04:51 +0000)]
2005-05-26  Chris Demetriou  <cgd@netbsd.org>

        * MAINTAINERS (Write After Approval): Remove myself.

19 years ago2005-05-27 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 27 May 2005 04:39:33 +0000 (04:39 +0000)]
2005-05-27  Andrew Cagney  <cagney@gnu.org>

* jv-lang.c (get_java_utf8_name): Add cast.
(evaluate_subexp_java): Use gdb_byte for buffers.
* jv-valprint.c (java_value_print, java_value_print): Use gdb_byte
for buffers.
* scm-lang.c (scm_get_field, scm_unpack)
(scm_evaluate_string): Use gdb_byte for buffers.
(scm_lookup_name): Add cast.
* scm-valprint.c (scm_scmval_print, scm_scmval_print): Use
gdb_byte for buffers.
* tui/tui.h (tui_get_command_dimension): Make parameters unsigned.
* tui/tui.c (tui_get_command_dimension): Make parameters unsigned.
* value.h (check_field): Change "name" to a string.
* valops.c (check_field): Change "name" to a string.
* scm-lang.h (scm_parse): Use gdb_byte for buffers.
* source.c (get_current_source_symtab_and_line)
(set_current_source_symtab_and_line): Initialize all fields of sal
structures.
* cli/cli-cmds.c (list_command): Use gdb_byte for buffers.