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