* annotate.h (annotate_thread_changed): Declare.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
7cfbafbc
AM
12008-06-05 Alan Modra <amodra@bigpond.net.au>
2
3 PR ld/6590
4 * elf64-ppc.c (ppc_build_one_stub): Correct reloc offsets.
5
0f0a5e58
AM
62008-06-04 Alan Modra <amodra@bigpond.net.au>
7
8 * elf.c (ignore_section_sym): Don't test section sym value here.
9 (elf_map_symbols): Instead check zero value here as was done prior
10 to 2006-05-26 change.
11
696b7ad2
NC
122008-06-04 Nick Clifton <nickc@redhat.com>
13
14 PR ld/6019
15 * elf32-avr.c (elf32_avr_relax_section): Handle the case where
16 there are no local symbols.
17
1f27ab8d
AM
182008-06-04 Alan Modra <amodra@bigpond.net.au>
19
20 * elf32-spu.c (get_sym_h): Don't attempt to read global syms.
21 (process_stubs): Likewise.
22 (discover_functions): Don't used cached symbols.
23 (maybe_insert_function): Correct condition under which function
24 array is realloc'd.
25 (mark_functions_via_relocs): Delete unused variable.
26
adfef0bd
NC
272008-05-30 Frediano Ziglio <frediano.ziglio@vodafone.com>
28 Nick Clifton <nickc@redhat.com>
29
30 PR ld/6511
31 * elf64-hppa.c (allocate_global_data_opd): Default to using the
32 dynamic symbol table for local function names in shared libraries.
33
11701589
JK
342008-05-29 Jan Kratochvil <jan.kratochvil@redhat.com>
35
36 * elf.c (assign_file_positions_for_load_sections): Adjust pre-section
37 gaps based on VMA and P_VADDR instead of LMA and P_PADDR addresses.
38
124b52c6
AM
392008-05-28 Alan Modra <amodra@bigpond.net.au>
40
41 * elf32-spu.c (spu_elf_object_p): New function.
42 (elf_backend_object_p): Define.
43 (build_stub): Correct second word of 8 byte overlay stubs.
44 (spu_elf_relocate_section): Formatting.
45
bb864ac1
CES
462008-05-24 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
47
48 * elf.c (elfcore_write_register_note): New function.
49 * elf-bfd.h (elfcore_write_register_note): New prototype.
50
da5938a2
NC
512008-05-22 Christophe Lyon <christophe.lyon@st.com>
52
53 * elf32-arm.c (arm_type_of_stub): Ignore STT_SECTION symbols.
54 (elf32_arm_stub_add_mapping_symbol): Remove.
55 (elf32_arm_add_stub): Don't generate mapping symbols. Change
56 prototype.
57 (elf32_arm_size_stubs): Use new elf32_arm_add_stub
58 prototype. Don't generate thumb to arm glue for calls.
59 (arm_map_one_stub): Define.
60 (elf32_arm_output_arch_local_syms): Generate mapping symbols for
61 long calls stubs.
62
7fb9f789
NC
632008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
64
65 Add multi-GOT support for m68k.
66 * elf32-m68k.c (struct elf_m68k_link_hash_entry: got_entry_key,
67 glist): New fields.
68 (struct elf_m68k_got_entry_key, struct elf_m68k_got_entry,
69 struct elf_m68k_got, struct elf_m68k_bfd2got_entry,
70 struct elf_m68k_multi_got): New data structures.
71 (struct elf_m68k_link_hash_table: local_gp_p, use_neg_got_offsets_p,
72 allow_multigot_p, multi_got_): New fields.
73 (elf_m68k_multi_got): New macro.
74 (elf_m68k_link_hash_newfunc): Initialize new fields of
75 struct elf_m68k_link_hash_entry.
76 (elf_m68k_link_hash_table_create): Initialize new fields of
77 struct elf_m68k_link_hash_table.
78 (elf_m68k_link_hash_table_free): New static function implementing hook.
79 (elf_m68k_init_got, elf_m68k_clear_got, elf_m68k_create_empty_got): New
80 static functions for struct elf_m68k_got.
81 (elf_m68k_init_got_entry_key, elf_m68k_got_entry_hash,
82 elf_m68k_got_entry_eq): New static functions for
83 struct elf_m68k_got_entry.
84 (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT,
85 ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): New macros.
86 (enum elf_m68k_get_entry_howto): New enum.
87 (elf_m68k_get_got_entry, elf_m68k_update_got_entry_type,
88 elf_m68k_remove_got_entry_type): New static functions for
89 struct elf_m68k_got_entry.
90 (elf_m68k_add_entry_to_got): New static function.
91 (elf_m68k_bfd2got_entry_hash, elf_m68k_bfd2got_entry_eq,
92 elf_m68k_bfd2got_entry_del, elf_m68k_get_bfd2got_entry): New static
93 functions for struct elf_m68k_bfd2got_entry.
94 (struct elf_m68k_can_merge_gots_arg, elf_m68k_can_merge_gots_1,
95 elf_m68k_can_merge_gots): New traversal.
96 (struct elf_m68k_merge_gots_arg, elf_m68k_merge_gots_1,
97 elf_m68k_merge_gots): Ditto.
98 (struct elf_m68k_finalize_got_offsets_arg,
99 elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Ditto.
100 (struct elf_m68k_partition_multi_got_arg,
101 elf_m68k_partition_multi_got_1, elf_m68k_init_symndx2h_1,
102 elf_m68k_partition_multi_got): Ditto.
103 (elf_m68k_find_got_entry_ptr, elf_m68k_remove_got_entry): New static
104 functions.
105 (elf_m68k_copy_indirect_symbol): New static function implementing
106 a hook.
107 (elf_m68k_check_relocs): Update to add entries to multi-GOT.
108 (elf_m68k_gc_sweep_hook): Update to remove entries from multi-GOT.
109 (elf_m68k_always_size_sections): Assign BFDs to GOTs.
110 (elf_m68k_relocate_section): Update to properly handle GOT relocations.
111 (elf_m68k_finish_dynamic_symbol): Update to traverse all GOT entries
112 of a global symbol.
113 (bfd_elf_m68k_set_target_options): New function.
114 (bfd_elf32_bfd_link_hash_table_free): Define hook.
115 (bfd_elf32_bfd_final_link): Change expansion to bfd_elf_final_link
116 to skip generic calculation of GOT offsets.
117 (elf_backend_copy_indirect_symbol): Define hook.
118 * bfd-in.h (bfd_elf_m68k_set_target_options): Declare function.
119 * bfd-in2.h: Regenerate.
120