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