Commit Graph

48430 Commits

Author SHA1 Message Date
Alan Modra 620c54b327 * Makefile.am: Run "make dep-am".
(POTFILES): Remove GAS_CFILES.
	* Makefile.in: Regenerate.
2005-06-07 16:09:36 +00:00
Andrew Cagney a9967aef6a 2005-06-07 Andrew Cagney <cagney@gnu.org>
* gdb.texinfo (Contributors): Note the original multi-arch
	contributors.
2005-06-07 15:32:38 +00:00
Alan Modra d41c820ec1 missed committing from
* elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
2005-06-07 12:12:11 +00:00
Maciej W. Rozycki 32b26a03e4 * config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k,
24kc, 24kf and 24kfx under MIPS32 release 2.
2005-06-07 12:09:26 +00:00
Hans-Peter Nilsson 5e8183185b * configure.in <cris-*, crisv32-*>: Enable target-libffi again for
*-*-linux* and *-*-elf.
	* configure: Regenerate.
2005-06-07 09:33:44 +00:00
Manoj Iyer 9039b344c2 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.
2005-06-07 06:55:16 +00:00
Hans-Peter Nilsson 165786b234 Sync with gcc-toplevel 2005-06-07 06:18:26 +00:00
Alan Modra 4575b1b508 * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Init _bfd_find_line.
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise.
2005-06-07 03:13:05 +00:00
Hans-Peter Nilsson 59f7ec4551 * 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.
2005-06-07 00:04:15 +00:00
gdbadmin 2195b765a1 *** empty log message *** 2005-06-07 00:00:06 +00:00
Alan Modra 07c7ebe390 daily update 2005-06-07 00:00:05 +00:00
Manoj Iyer 4066fc1077 solib-svr4.c gdb_byteised. 2005-06-06 22:24:25 +00:00
DJ Delorie d30d42d114 merge from gcc 2005-06-06 22:13:35 +00:00
DJ Delorie c10e9ba77d * configure.in: Fix typo in handling of --with-mpfr-dir.
* configure: Regenerate.
2005-06-06 18:36:50 +00:00
H.J. Lu 5420f73dbb 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.
2005-06-06 14:28:31 +00:00
H.J. Lu b42f9a05b6 2005-06-06 H.J. Lu <hongjiu.lu@intel.com>
* dwarf2.c (decode_line_info): Properly set low_pc.
2005-06-06 14:16:45 +00:00
Alan Modra 46de2a7c48 * 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.
2005-06-06 13:16:15 +00:00
Alan Modra b4f4e59fff 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.
2005-06-06 12:59:59 +00:00
Alan Modra b12fe8393a * NEWS: Mention new powerpc ld support. 2005-06-06 06:53:07 +00:00
Alan Modra 1daed1d500 daily update 2005-06-06 00:00:06 +00:00
gdbadmin 43c3659975 *** empty log message *** 2005-06-06 00:00:03 +00:00
H.J. Lu 18b7982923 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.
2005-06-05 15:28:36 +00:00
gdbadmin 9ee913b8a0 *** empty log message *** 2005-06-05 00:00:35 +00:00
Alan Modra a3ba164022 daily update 2005-06-05 00:00:06 +00:00
H.J. Lu 00d8e0ea3e 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.
2005-06-04 18:11:07 +00:00
H.J. Lu 2ae727ad93 2005-06-04 H.J. Lu <hongjiu.lu@intel.com>
* dwarf2.c (comp_unit): Fix a typo in comment.
2005-06-04 16:33:09 +00:00
H.J. Lu 079f985c5a 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.
2005-06-04 14:40:21 +00:00
Nick Clifton 6a86118a50 (CE, C3, CM, UE, UF): Redefine without reference to their Thumb-enabled
equivalents.
2005-06-04 14:06:01 +00:00
Richard Sandiford a5c380b8f8 * MAINTAINERS: Update my email address. 2005-06-04 06:29:06 +00:00
gdbadmin 25823e547f *** empty log message *** 2005-06-04 00:00:35 +00:00
Alan Modra 92da31229a daily update 2005-06-04 00:00:08 +00:00
Joel Brobecker 44b164c514 * symmisc.c (dump_symtab_1): Renamed from dump_symtab.
(dump_symtab): New function.
2005-06-03 23:27:28 +00:00
Jim Wilson b7d4af3a12 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.
2005-06-03 21:33:49 +00:00
Nick Clifton 82d457f64b * configure.in (ALL_LINGUAS): Add zh_TW
* configure: Regenerate.
* po/zh_TW.po: New Chinese (traditional) translation.
2005-06-03 13:22:15 +00:00
Nick Clifton 0311b7a8b2 Remove spurious blank space 2005-06-03 10:14:29 +00:00
Nick Clifton ce71b57665 Convert to ISO C90 formatting 2005-06-03 10:13:15 +00:00
Alan Modra e1fffbe6e9 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.
2005-06-03 09:52:50 +00:00
Eli Zaretskii e09f16f93f * 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.
2005-06-03 07:09:20 +00:00
Alan Modra 9635fe2972 * elf32-i386.c (elf_i386_relocate_section): Handle zero symndx
for all reloc types.
2005-06-03 03:58:13 +00:00
gdbadmin 5dc438e501 *** empty log message *** 2005-06-03 00:00:06 +00:00
Alan Modra 7084541e52 daily update 2005-06-03 00:00:05 +00:00
Jim Blandy 20deb2b813 * config.sub: Add cases for the Renesas m32c. (This patch has been
accepted into the master sources.)
2005-06-02 21:23:04 +00:00
Aldy Hernandez cdb9b172db * configure.in: Set noconfigdirs for ms1.
* configure: Regenerate.
2005-06-02 19:56:31 +00:00
Joel Brobecker e74e72b411 * exceptions.h: Include ui-out.h.
(ui_out): Remove declaration.
        * Makefile.in (exceptions_h): Add dependency on ui-out.h.
2005-06-02 16:52:04 +00:00
Alan Modra b38b1562e1 * ld-powerpc/powerpc.exp (ppcelftests): Assemble sda test with -a32. 2005-06-02 14:30:03 +00:00
Alan Modra e87d886e78 * 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.
2005-06-02 13:13:54 +00:00
Alan Modra 408082ec18 * 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.
2005-06-02 03:08:41 +00:00
DJ Delorie c2bd6e35d3 merge from gcc 2005-06-02 03:05:03 +00:00
Alan Modra 4f0aa0180c daily update 2005-06-02 00:00:06 +00:00
gdbadmin 6d81396c6a *** empty log message *** 2005-06-02 00:00:03 +00:00