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
Eli Zaretskii
d87ba7eeda
* gdb.texinfo (Set Watchpoints): Remove @vindex entry for
...
can-use-hw-watchpoints.
2005-06-01 20:38:44 +00:00
Maciej W. Rozycki
d0d3b2e89e
* emulparams/elf32btsmip.sh: Unset DATA_ADDR.
2005-06-01 19:26:25 +00:00
Maciej W. Rozycki
20e1fcfd31
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.
2005-06-01 19:23:58 +00:00
Nick Clifton
1887dd2272
(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.
2005-06-01 08:18:42 +00:00
Jim Blandy
b2b0991329
* Makefile.am: Regenerate dependencies with 'make dep-am'.
...
* Makefile.in: Regenerate.
2005-06-01 05:36:05 +00:00
Zack Weinberg
a359509ed3
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.
2005-06-01 04:04:19 +00:00
gdbadmin
7b8f476a17
*** empty log message ***
2005-06-01 00:00:10 +00:00
Alan Modra
921ba454ec
daily update
2005-06-01 00:00:09 +00:00
Richard Henderson
8288a39e24
* 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.
2005-05-31 22:53:44 +00:00
Richard Henderson
04fe8f58ae
* 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.
2005-05-31 22:53:11 +00:00
Richard Henderson
7ace3541ba
* readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
2005-05-31 22:52:50 +00:00
Richard Henderson
2acf634e2d
* alpha.h (LITUSE_ALPHA_JSRDIRECT): New.
2005-05-31 22:52:31 +00:00
Zack Weinberg
f1c71a597b
* elf32-arm.c (elf32_arm_reloc_type_lookup)
...
(elf32_arm_nabi_grok_prstatus, elf32_arm_nabi_grok_psinfo):
Use ISO C90 function declaration style.
2005-05-31 22:09:51 +00:00
Jim Wilson
653bb2ded0
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.
2005-05-31 19:32:29 +00:00