]>
Commit | Line | Data |
---|---|---|
38406048 PB |
1 | 2006-03-09 Paul Brook <[email protected]> |
2 | ||
3 | * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional | |
4 | mapping symbols. | |
5 | ||
eed62c48 NC |
6 | 2006-03-09 Khem Raj <[email protected]> |
7 | ||
8 | * elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned | |
9 | char type. | |
10 | ||
6d2cf7d8 L |
11 | 2006-03-08 H.J. Lu <[email protected]> |
12 | ||
13 | * elfxx-ia64.c (elfNN_ia64_choose_gp): Properly choose gp. | |
14 | ||
00a97672 RS |
15 | 2006-03-07 Richard Sandiford <[email protected]> |
16 | Daniel Jacobowitz <[email protected]> | |
17 | Zack Weinberg <[email protected]> | |
18 | Nathan Sidwell <[email protected]> | |
19 | Paul Brook <[email protected]> | |
20 | Ricardo Anguiano <[email protected]> | |
21 | Phil Edwards <[email protected]> | |
22 | ||
23 | * configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo. | |
24 | (bfd_elf32_bigarm_symbian_vec): Likewise. | |
25 | (bfd_elf32_bigarm_vxworks_vec): Likewise. | |
26 | (bfd_elf32_littlearm_vec): Likewise. | |
27 | (bfd_elf32_littlearm_symbian_vec): Likewise. | |
28 | (bfd_elf32_littlearm_vxworks_vec): Likewise. | |
29 | * configure: Regenerate. | |
30 | * elf32-arm.c: Include libiberty.h and elf-vxworks.h. | |
31 | (RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros. | |
32 | (elf32_arm_vxworks_bed): Add forward declaration. | |
33 | (elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12. | |
34 | (elf32_arm_vxworks_exec_plt0_entry): New table. | |
35 | (elf32_arm_vxworks_exec_plt_entry): Likewise. | |
36 | (elf32_arm_vxworks_shared_plt_entry): Likewise. | |
37 | (elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields. | |
38 | (reloc_section_p): New function. | |
39 | (create_got_section): Use RELOC_SECTION. | |
40 | (elf32_arm_create_dynamic_sections): Likewise. Call | |
41 | elf_vxworks_create_dynamic_sections for VxWorks targets. | |
42 | Choose between the two possible values of plt_header_size | |
43 | and plt_entry_size. | |
44 | (elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2. | |
45 | (elf32_arm_abs12_reloc): New function. | |
46 | (elf32_arm_final_link_relocate): Call it. Allow the creation of | |
47 | dynamic R_ARM_ABS12 relocs on VxWorks. Use reloc_section_p, | |
48 | RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION. Initialize the | |
49 | r_addend fields of relocs. On rela targets, skip any code that | |
50 | adjusts in-place addends. When using _bfd_link_final_relocate | |
51 | to perform a final relocation, pass rel->r_addend as the addend | |
52 | argument. | |
53 | (elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks | |
54 | object, ignore flags that are not standard on VxWorks. | |
55 | (elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12 | |
56 | relocs on VxWorks. Use reloc_section_p. | |
57 | (elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE. | |
58 | (allocate_dynrelocs): Use RELOC_SIZE. Account for the size of | |
59 | .rela.plt.unloaded relocs on VxWorks targets. | |
60 | (elf32_arm_size_dynamic_sections): Use RELOC_SIZE. Check for | |
61 | .rela.plt.unloaded as well as .rel(a).plt. Add DT_RELA* tags | |
62 | instead of DT_REL* tags on RELA targets. | |
63 | (elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE | |
64 | and SWAP_RELOC_OUT. Initialize r_addend fields. Handle VxWorks | |
65 | PLT entries. Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks. | |
66 | (elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE | |
67 | and SWAP_RELOC_OUT. Initialize r_addend fields. Handle DT_RELASZ | |
68 | like DT_RELSZ. Handle the VxWorks form of initial PLT entry. | |
69 | Correct the .rela.plt.unreloaded symbol indexes. | |
70 | (elf32_arm_output_symbol_hook): Call the VxWorks version of this | |
71 | hook on VxWorks targets. | |
72 | (elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true. | |
73 | Minor formatting tweak. | |
74 | (elf32_arm_vxworks_final_write_processing): New function. | |
75 | (elf_backend_add_symbol_hook): Override for VxWorks and reset | |
76 | for Symbian. | |
77 | (elf_backend_final_write_processing): Likewise. | |
78 | (elf_backend_emit_relocs): Likewise. | |
79 | (elf_backend_want_plt_sym): Likewise. | |
80 | (ELF_MAXPAGESIZE): Likewise. | |
81 | (elf_backend_may_use_rel_p): Minor formatting tweak. | |
82 | (elf_backend_may_use_rela_p): Likewise. | |
83 | (elf_backend_default_use_rela_p): Likewise. | |
84 | (elf_backend_rela_normal): Likewise. | |
85 | * Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h. | |
86 | ||
0b2e31dc NS |
87 | 2006-03-06 Nathan Sidwell <[email protected]> |
88 | ||
89 | * archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp): | |
90 | New. Adjust other variants. | |
91 | (bfd_default_scan): Update. | |
92 | * bfd-in2.h: Rebuilt. | |
93 | * cpu-m68k.c: Adjust. | |
94 | (bfd_m68k_compatible): New. Use it for architectures. | |
95 | * elf32-m68k.c (elf32_m68k_object_p): Adjust. | |
96 | (elf32_m68k_merge_private_bfd_data): Adjust. Correct isa-a/b | |
97 | mismatch. | |
98 | (elf32_m68k_print_private_bfd_data): Adjust. | |
99 | * ieee.c (ieee_write_processor): Adjust. | |
100 | ||
d8d1c398 AM |
101 | 2006-03-06 Alan Modra <[email protected]> |
102 | ||
103 | * dwarf2.c: Formatting. | |
104 | (add_line_info): Remove outer loop. | |
105 | ||
d4c32a81 L |
106 | 2006-03-05 H.J. Lu <[email protected]> |
107 | Alan Modra <[email protected]> | |
108 | ||
109 | PR binutils/2338 | |
110 | * dwarf2.c (loadable_section): New struct. | |
111 | (dwarf2_debug): Add loadable_section_count and | |
112 | loadable_sections. | |
113 | (new_line_sorts_after): New. | |
114 | (add_line_info): Use new_line_sorts_after to compare line | |
115 | addresses. | |
116 | (check_function_name): Removed. | |
117 | (unset_sections): New. | |
118 | (place_sections): New. | |
119 | (_bfd_dwarf2_find_nearest_line): Updated. Call place_sections | |
120 | and unset_sections on relocatable files. | |
121 | (_bfd_dwarf2_find_line): Likewise. | |
122 | ||
4cdc7696 NC |
123 | 2006-03-03 Nick Clifton <[email protected]> |
124 | ||
125 | * cpu-avr.c: Update to ISO-C90 formatting. | |
126 | * elf32-avr.c: Likewise. | |
127 | ||
df406460 NC |
128 | 2006-03-03 Bjoern Haase <[email protected]> |
129 | ||
130 | * elf32-avr.c (avr_reloc_map): Insert BFD_RELOC_AVR_MS8_LDI | |
131 | and R_AVR_MS8_LDI | |
132 | (bfd_elf_avr_final_write_processing): Set | |
133 | EF_AVR_LINKRELAX_PREPARED in e_flags field. | |
134 | (elf32_avr_relax_section): New function. | |
135 | (elf32_avr_relax_delete_bytes): New function. | |
136 | (elf32_avr_get_relocated_section_contents): New function. | |
137 | (avr_pc_wrap_around): New function. | |
138 | (avr_relative_distance_considering_wrap_around): New function. | |
139 | (avr_final_link_relocate): Handle negative int8t_t immediate for R_AVR_LDI. | |
140 | * reloc.c: Add BFD_RELOC_AVR_MS8_LDI and BFD_RELOC_AVR_LDI_NEG | |
141 | * libbfd.h: Regenerate. | |
142 | * bfd-in2.h: Regenerate. | |
143 | ||
a1013894 DD |
144 | 2006-03-02 DJ Delorie <[email protected]> |
145 | ||
146 | * elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol | |
147 | calculations. | |
148 | ||
7c492719 RS |
149 | 2006-03-02 Richard Sandiford <[email protected]> |
150 | ||
151 | * elf32-ppc.c (is_ppc_elf_target): Return true if the target is | |
152 | bfd_elf32_powerpc_vxworks_vec. | |
153 | ||
e970df31 NC |
154 | 2006-03-02 Nick Clifton <[email protected]> |
155 | ||
156 | * elf32-m32c.c (m32c_elf_relax_section): Initialise 'gap'. | |
157 | ||
711de32c RS |
158 | 2006-03-02 Richard Sandiford <[email protected]> |
159 | ||
160 | * elf32-i386.c (elf_i386_create_dynamic_sections): Use | |
161 | elf_vxworks_create_dynamic_sections. | |
162 | (elf_i386_size_dynamic_sections): Remove VxWorks GOT and PLT | |
163 | symbol handling. | |
164 | * elf32-ppc.c (ppc_elf_create_dynamic_sections): Use | |
165 | elf_vxworks_create_dynamic_sections. | |
166 | (ppc_elf_size_dynamic_sections): Remove VxWorks GOT and PLT | |
167 | symbol handling. | |
168 | * elf-vxworks.c (elf_vxworks_create_dynamic_sections): New function. | |
169 | * elf-vxworks.h (elf_vxworks_create_dynamic_sections): Declare. | |
170 | ||
9c72ff84 RS |
171 | 2006-03-02 Richard Sandiford <[email protected]> |
172 | ||
173 | * elf32-i386.c (elf_i386_vxworks_link_output_symbol_hook): Delete. | |
174 | (elf_backend_link_output_symbol_hook): Use | |
175 | elf_vxworks_link_output_symbol_hook instead. | |
176 | * elf32-ppc.c (elf_i386_vxworks_link_output_symbol_hook): Delete. | |
177 | (elf_backend_link_output_symbol_hook): Use | |
178 | elf_vxworks_link_output_symbol_hook instead. | |
179 | * elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Provide the | |
180 | same interface as elf_backend_link_output_symbol_hook. | |
181 | * elf-vxworks.h (elf_vxworks_link_output_symbol_hook): Update | |
182 | prototype accordingly. | |
183 | ||
4a3dc543 RS |
184 | 2006-03-02 Richard Sandiford <[email protected]> |
185 | ||
186 | * elf32-ppc.c (ppc_elf_plt_type): New enumeration. | |
187 | (ppc_elf_link_hash_table): Replace old_got and new_got with | |
188 | plt_type and can_use_new_plt. | |
189 | (ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS, | |
190 | SEC_LOAD and SEC_READONLY to the VxWorks .plt flags. | |
191 | (ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt. | |
192 | Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt. | |
193 | (ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to | |
194 | either plt_type == PLT_OLD or plt_type == PLT_NEW. Assert that | |
195 | this function should not be called for VxWorks targets. | |
196 | (ppc_elf_tls_setup): Use plt_type instead of old_got. | |
197 | (allocate_got): Likewise. Rearrange so that max_before_header | |
198 | is only used for PLT_OLD and PLT_NEW. | |
199 | (allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks. | |
200 | (ppc_elf_size_dynamic_sections): Likewise. | |
201 | (ppc_elf_relax_section): Likewise. | |
202 | (ppc_elf_relocate_section): Likewise. | |
203 | (ppc_elf_finish_dynamic_symbol): Likewise. | |
204 | (ppc_elf_vxworks_link_hash_table_create): Initialize plt_type. | |
205 | ||
5ae0bfb6 RS |
206 | 2006-02-28 Richard Sandiford <[email protected]> |
207 | ||
208 | * elf32-i386.c (elf_i386_link_hash_table): Add next_tls_desc_index. | |
209 | (elf_i386_link_hash_table_create): Initialize it. | |
210 | (elf_i386_compute_jump_table_size): Use it instead of | |
211 | srelplt->reloc_count. | |
212 | (allocate_dynrelocs): Likewise. | |
213 | (elf_i386_size_dynamic_sections): Likewise. | |
214 | (elf_i386_relocate_section): Likewise. | |
215 | ||
63752a75 JJ |
216 | 2006-02-27 Jakub Jelinek <[email protected]> |
217 | ||
218 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle S flag. | |
219 | (_bfd_elf_write_section_eh_frame): Likewise. | |
220 | ||
f7d9e5c3 CD |
221 | 2006-02-27 Carlos O'Donell <[email protected]> |
222 | ||
223 | * po/Make-in: Add html target. | |
224 | ||
22edb2f1 RS |
225 | 2006-02-27 Richard Sandiford <[email protected]> |
226 | ||
227 | * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Use the | |
228 | cached hgot entry to check for _GLOBAL_OFFSET_TABLE_. | |
229 | * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise. | |
230 | * elf32-bfin.c (bfin_finish_dynamic_symbol): Likewise. | |
231 | * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise. | |
232 | * elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise. | |
233 | * elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise. | |
234 | * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise. | |
235 | * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Likewise. | |
236 | * elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise. | |
237 | * elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise. | |
238 | * elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise. | |
239 | * elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise. | |
240 | * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likewise. | |
241 | * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise. | |
242 | * elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise. Also use | |
243 | the cached hplt entry to check for _PROCEDURE_LINKAGE_TABLE_. | |
244 | * elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise. | |
245 | * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise. | |
246 | * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise. | |
247 | * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise. | |
248 | ||
7325306f RS |
249 | 2006-02-25 Richard Sandiford <[email protected]> |
250 | ||
251 | * elf-bfd.h (elf_link_hash_table): Add hplt field. | |
252 | * elflink.c (_bfd_elf_create_dynamic_sections): Initialize it. | |
253 | * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise. | |
254 | * elf32-frv.c (_frv_create_got_section): Likewise. | |
255 | * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise. | |
256 | * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise. | |
257 | * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise. | |
258 | * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise. | |
259 | * elf32-i386.c (elf_i386_link_hash_table): Remove hgot and hplt. | |
260 | (elf_i386_link_hash_table_create): Don't initialize them. | |
261 | (elf_i386_size_dynamic_sections): Use the generic ELF hplt and | |
262 | hgot fields. | |
263 | (elf_i386_finish_dynamic_symbol): Likewise. | |
264 | * elf32-ppc.c (ppc_elf_link_hash_table): Remove hplt. | |
265 | (ppc_elf_size_dynamic_sections): Use the generic ELF hplt fields. | |
266 | (ppc_elf_finish_dynamic_symbol): Likewise. | |
267 | ||
6772dd07 DD |
268 | 2006-02-24 DJ Delorie <[email protected]> |
269 | ||
270 | * elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs. | |
271 | (m32c_elf_relocate_section): Don't relocate them. | |
272 | (compare_reloc): New. | |
273 | (relax_reloc): Remove. | |
274 | (m32c_offset_for_reloc): New. | |
275 | (m16c_addr_encodings): New. | |
276 | (m16c_jmpaddr_encodings): New. | |
277 | (m32c_addr_encodings): New. | |
278 | (m32c_elf_relax_section): Relax jumps and address displacements. | |
279 | (m32c_elf_relax_delete_bytes): Adjust for internal syms. Fix up | |
280 | short jumps. | |
281 | ||
282 | * reloc.c: Add m32c relax relocs. | |
283 | * libbfd.h: Regenerate. | |
284 | * bfd-in2.h: Regenerate. | |
285 | ||
508c3946 L |
286 | 2006-02-24 H.J. Lu <[email protected]> |
287 | ||
288 | PR ld/2218 | |
289 | * elf-bfd.h (elf_backend_data): Add elf_backend_fixup_symbol. | |
290 | (_bfd_elf_link_hash_fixup_symbol): New. | |
291 | ||
292 | * elflink.c (_bfd_elf_link_hash_fixup_symbol): New. | |
293 | (_bfd_elf_fix_symbol_flags): Call elf_backend_fixup_symbol if | |
294 | it isn't NULL. | |
295 | ||
296 | * elfxx-ia64.c (elf_backend_fixup_symbol): Defined. | |
297 | ||
298 | * elfxx-target.h (elf_backend_fixup_symbol): New. | |
299 | (elfNN_bed): Initialize elf_backend_fixup_symbol. | |
300 | ||
59cf82fe L |
301 | 2006-02-23 H.J. Lu <[email protected]> |
302 | ||
303 | * cpu-ia64-opc.c (ins_immu5b): New. | |
304 | (ext_immu5b): Likewise. | |
305 | (elf64_ia64_operands): Add IMMU5b. | |
306 | ||
22d606e9 AM |
307 | 2006-02-21 Alan Modra <[email protected]> |
308 | ||
309 | PR ld/2218 | |
310 | * elf32-arm.c (allocate_dynrelocs): Ensure undef weak sym in pie | |
311 | is dynamic. | |
312 | * elf32-hppa.c (allocate_dynrelocs): Likewise. | |
313 | * elf32-i386.c (allocate_dynrelocs): Likewise. | |
314 | * elf32-s390.c (allocate_dynrelocs): Likewise. | |
315 | * elf32-sh.c (allocate_dynrelocs): Likewise. | |
316 | * elf64-s390.c (allocate_dynrelocs): Likewise. | |
317 | * elf64-x86-64.c (allocate_dynrelocs): Likewise. | |
318 | * elf32-m32r.c (allocate_dynrelocs): Likewise. Discard relocs | |
319 | on undef weak with non-default visibility too. | |
320 | * elfxx-sparc.c (allocate_dynrelocs): Ditto. | |
321 | ||
3168356f AM |
322 | 2006-02-21 Alan Modra <[email protected]> |
323 | ||
324 | * bfd.c: (_bfd_default_error_handler): Don't call abort on | |
325 | error, instead call _exit. | |
326 | (_bfd_abort): Call _exit not xexit. | |
327 | ||
888b45b8 KB |
328 | 2006-02-17 Kevin Buettner <[email protected]> |
329 | ||
330 | * elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo): | |
331 | New functions. | |
332 | * elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define. | |
333 | ||
d70c5fc7 NC |
334 | 2006-02-17 Shrirang Khisti <[email protected]> |
335 | Anil Paranjape <[email protected]> | |
336 | Shilin Shakti <[email protected]> | |
337 | ||
338 | * Makefile.am: Add xc16x related entry | |
339 | * Makefile.in: Regenerate | |
340 | * archures.c: Add bfd_xc16x_arch | |
341 | * bfd-in2.h: Regenerate | |
342 | * config.bfd: Add xc16x-*-elf | |
343 | * configure.in: Add bfd_elf32_xc16x_vec | |
344 | * configure: Regenerate. | |
345 | * targets.c: Added xc16x related information | |
346 | * cpu-xc16x.c: New file | |
347 | * reloc.c: Add new relocations specific to xc16x: | |
348 | BFD_RELOC_XC16X_PAG, BFD_RELOC_XC16X_POF, BFD_RELOC_XC16X_SEG, | |
349 | BFD_RELOC_XC16X_SOF | |
350 | * elf32-xc16x.c: New file. | |
351 | ||
cab87ef9 AM |
352 | 2006-02-17 Alan Modra <[email protected]> |
353 | ||
354 | * elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling. | |
355 | * elf64-ppc.c (allocate_dynrelocs): Likewise. | |
356 | ||
dfbb6ac9 AM |
357 | 2006-02-17 Alan Modra <[email protected]> |
358 | ||
359 | PR ld/2218 | |
360 | * elf64-ppc.c (allocate_dynrelocs): Ensure undef weak sym is | |
361 | dynamic. | |
362 | (ppc64_elf_relocate_section): Check output reloc section size. | |
363 | * elf32-ppc.c (allocate_dynrelocs): Simplify undef weak test. | |
364 | ||
cedc298e L |
365 | 2006-02-16 H.J. Lu <[email protected]> |
366 | ||
367 | PR ld/2322 | |
368 | * elf.c (get_segment_type): New function. | |
369 | (_bfd_elf_print_private_bfd_data): Use it. | |
370 | (print_segment_map): New function. | |
371 | (assign_file_positions_for_segments): Call print_segment_map | |
372 | when there are not enough room for program headers. | |
373 | ||
aaa2ab3d NH |
374 | 2006-02-16 Nick Hudson <[email protected]> |
375 | ||
376 | * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Use | |
377 | traditional MIPS ELF targets. | |
378 | ||
35ccda9e L |
379 | 2006-02-15 H.J. Lu <[email protected]> |
380 | ||
381 | PR binutils/2338 | |
382 | * dwarf2.c (check_function_name): New function. | |
383 | (_bfd_dwarf2_find_nearest_line): Use check_function_name to | |
384 | check if function is correct. | |
385 | ||
e0ae6d6f AM |
386 | 2006-02-16 Alan Modra <[email protected]> |
387 | ||
388 | * elflink.c (_bfd_elf_default_action_discarded): Return 0 for | |
389 | debug sections. | |
390 | (elf_link_input_bfd): Adjust comments. | |
391 | ||
d55ce4e2 L |
392 | 2006-02-10 H.J. Lu <[email protected]> |
393 | ||
394 | * elf.c (copy_private_bfd_data): Minor update. | |
395 | ||
84d1d650 L |
396 | 2006-02-10 H.J. Lu <[email protected]> |
397 | ||
398 | PR binutils/2258 | |
399 | * elf.c (copy_private_bfd_data): Renamed to ... | |
400 | (rewrite_elf_program_header): This. | |
401 | (copy_elf_program_header): New function. | |
402 | (copy_private_bfd_data): Likewise. | |
403 | ||
404 | 2006-02-07 Nathan Sidwell <[email protected]> | |
266abb8f NS |
405 | |
406 | * archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e, | |
407 | bfd_mach_mcf5307, bfd_mach_mcf5407, bfd_mach_mcf528x, | |
408 | bfd_mach_mcfv4e, bfd_mach_mcf521x, bfd_mach_mcf5249, | |
409 | bfd_mach_mcf547x, bfd_mach_mcf548x): Remove. | |
410 | (bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_div, | |
411 | bfd_mach_mcf_isa_a_div_mac, bfd_mach_mcf_isa_a_div_emac, | |
412 | bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac, | |
413 | bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_aplus_usp, | |
414 | bfd_mach_mcf_isa_aplus_usp_mac, bfd_mach_mcf_isa_aplus_usp_emac, | |
415 | bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac, | |
416 | bfd_mach_mcf_isa_b_usp_float, bfd_mach_mcf_isa_b_usp_float_mac, | |
417 | bfd_mach_mcf_isa_b_usp_float_emac): New. | |
418 | (bfd_default_scan): Update coldfire mapping. | |
419 | * bfd-in.h (bfd_m68k_mach_to_features, | |
420 | bfd_m68k_features_to_mach): Declare. | |
421 | * bfd-in2.h: Rebuilt. | |
422 | * cpu-m68k.c (arch_info_struct): Add new coldfire machines, | |
423 | adjust legacy names. | |
424 | (m68k_arch_features): New. | |
425 | (bfd_m68k_mach_to_features, | |
426 | bfd_m68k_features_to_mach): Define. | |
427 | * elf32-m68k.c (elf32_m68k_object_p): New. | |
428 | (elf32_m68k_merge_private_bfd_data): Merge the CF EF flags. | |
429 | (elf32_m68k_print_private_bfd_data): Print the CF EF flags. | |
430 | (elf_backend_object_p): Define. | |
431 | * ieee.c (ieee_write_processor): Update coldfire machines. | |
432 | * libbfd.h: Rebuilt. | |
433 | ||
75eb734c SE |
434 | 2006-02-06 Steve Ellcey <[email protected]> |
435 | ||
436 | * elfxx-ia64.c (elfNN_ia64_fake_sections): Set SHF_IA_64_HP_TLS | |
437 | if SHF_TLS is set. | |
438 | ||
134dcee5 AM |
439 | 2006-02-05 Arnold Metselaar <[email protected]> |
440 | ||
441 | * coff-z80.c (r_imm24): New howto. | |
442 | (rtype2howto): New case R_IMM24. | |
443 | (coff_z80_reloc_type_lookup): New case BFD_RELOC_24. | |
444 | (extra_case): Use bfd_get_8 for R_IMM8, new case R_IMM24. | |
445 | ||
4005427f RS |
446 | 2006-02-04 Richard Sandiford <[email protected]> |
447 | ||
448 | * elfxx-mips.c (mips_elf_initialize_tls_index): If a TLS symbol | |
449 | has already been assigned a GOT index, copy that index to the | |
450 | current hash table entry. | |
451 | ||
bb29dfea EB |
452 | 2006-02-01 Eric Botcazou <[email protected]> |
453 | ||
454 | * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass | |
455 | for call-to-undefweak reloc overflow. | |
456 | ||
dc669dc8 EB |
457 | 2006-01-31 Eric Botcazou <[email protected]> |
458 | ||
459 | * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass | |
460 | for 32-bit relocs overflow. | |
461 | ||
1a0eb693 PB |
462 | 2006-01-27 Paul Brook <[email protected]> |
463 | ||
464 | * elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb | |
465 | objects. | |
466 | ||
67a4f2b7 AO |
467 | 2006-01-18 Alexandre Oliva <[email protected]> |
468 | ||
469 | Introduce TLS descriptors for i386 and x86_64. | |
470 | * reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC, | |
471 | BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC, | |
472 | BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New. | |
473 | * libbfd.h, bfd-in2.h: Rebuilt. | |
474 | * elf32-i386.c (elf_howto_table): New relocations. | |
475 | (R_386_tls): Adjust. | |
476 | (elf_i386_reloc_type_lookup): Map new relocations. | |
477 | (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros. | |
478 | (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros. | |
479 | (struct elf_i386_link_hash_entry): Add tlsdesc_got field. | |
480 | (struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field. | |
481 | (elf_i386_local_tlsdesc_gotent): New macro. | |
482 | (struct elf_i386_link_hash_table): Add sgotplt_jump_table_size. | |
483 | (elf_i386_compute_jump_table_size): New macro. | |
484 | (link_hash_newfunc): Initialize tlsdesc_got. | |
485 | (elf_i386_link_hash_table_create): Set sgotplt_jump_table_size. | |
486 | (elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and | |
487 | R_386_TLS_DESC_CALL. | |
488 | (elf_i386_check_relocs): Likewise. Allocate space for | |
489 | local_tlsdesc_gotent. | |
490 | (elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and | |
491 | R_386_TLS_DESC_CALL. | |
492 | (allocate_dynrelocs): Count function PLT relocations. Reserve | |
493 | space for TLS descriptors and relocations. | |
494 | (elf_i386_size_dynamic_sections): Reserve space for TLS | |
495 | descriptors and relocations. Set up sgotplt_jump_table_size. | |
496 | Don't zero reloc_count in srelplt. | |
497 | (elf_i386_always_size_sections): New. Set up _TLS_MODULE_BASE_. | |
498 | (elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and | |
499 | R_386_TLS_DESC_CALL. | |
500 | (elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P. | |
501 | (elf_backend_always_size_sections): Define. | |
502 | * elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC, | |
503 | R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL. | |
504 | (R_X86_64_standard): Adjust. | |
505 | (x86_64_reloc_map): Map new relocs. | |
506 | (elf64_x86_64_rtype_to_howto): New, split out of... | |
507 | (elf64_x86_64_info_to_howto): ... this function, and... | |
508 | (elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val. | |
509 | (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros. | |
510 | (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros. | |
511 | (struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field. | |
512 | (struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field. | |
513 | (elf64_x86_64_local_tlsdesc_gotent): New macro. | |
514 | (struct elf64_x86_64_link_hash_table): Add tlsdesc_plt, | |
515 | tlsdesc_got and sgotplt_jump_table_size fields. | |
516 | (elf64_x86_64_compute_jump_table_size): New macro. | |
517 | (link_hash_newfunc): Initialize tlsdesc_got. | |
518 | (elf64_x86_64_link_hash_table_create): Initialize new fields. | |
519 | (elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and | |
520 | R_X86_64_TLSDESC_CALL. | |
521 | (elf64_x86_64_check_relocs): Likewise. Allocate space for | |
522 | local_tlsdesc_gotent. | |
523 | (elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and | |
524 | R_X86_64_TLSDESC_CALL. | |
525 | (allocate_dynrelocs): Count function PLT relocations. Reserve | |
526 | space for TLS descriptors and relocations. | |
527 | (elf64_x86_64_size_dynamic_sections): Reserve space for TLS | |
528 | descriptors and relocations. Set up sgotplt_jump_table_size, | |
529 | tlsdesc_plt and tlsdesc_got. Make room for them. Don't zero | |
530 | reloc_count in srelplt. Add dynamic entries for DT_TLSDESC_PLT | |
531 | and DT_TLSDESC_GOT. | |
532 | (elf64_x86_64_always_size_sections): New. Set up | |
533 | _TLS_MODULE_BASE_. | |
534 | (elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and | |
535 | R_386_TLS_DESC_CALL. | |
536 | (elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P. | |
537 | (elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and | |
538 | DT_TLSDESC_GOT. Set up TLS descriptor lazy resolver PLT entry. | |
539 | (elf_backend_always_size_sections): Define. | |
540 | ||
6dd55cb7 L |
541 | 2006-01-17 H.J. Lu <[email protected]> |
542 | ||
543 | PR binutils/2096 | |
544 | * dwarf2.c (comp_unit_contains_address): Update comment. | |
545 | (_bfd_dwarf2_find_nearest_line): Use section's vma, instead of | |
546 | lma. Return TRUE only if both comp_unit_contains_address and | |
547 | comp_unit_find_nearest_line return TRUE. | |
548 | (_bfd_dwarf2_find_line): Use section's vma, instead of lma. | |
549 | ||
64d03ab5 AM |
550 | 2006-01-18 Alan Modra <[email protected]> |
551 | ||
552 | * elf-bfd.h (struct elf_backend_data): Add gc_mark_dynamic_ref. | |
553 | (bfd_elf_gc_mark_dynamic_ref_symbol): Declare. | |
554 | * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Rename from | |
555 | elf_gc_mark_dynamic_ref_symbol. Make global. | |
556 | (bfd_elf_gc_sections): Call bed->gc_mark_dynamic_ref. | |
557 | * elfxx-target.h (elf_backend_gc_mark_dynamic_ref): Define. | |
558 | (elfNN_bed): Init new field. | |
559 | * elf64-ppc.c (elf_backend_gc_mark_dynamic_ref): Define. | |
560 | (ppc64_elf_gc_mark_dynamic_ref): New function. | |
561 | ||
b56cbdb9 AM |
562 | 2006-01-17 Alan Modra <[email protected]> |
563 | ||
564 | * elf64-ppc.c (ppc64_elf_gc_mark_hook): Don't hang forever in loop. | |
565 | ||
6c10990d NC |
566 | 2006-01-17 Nick Clifton <[email protected]> |
567 | ||
568 | PR binutils/2159 | |
569 | * elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused | |
570 | parameters. | |
571 | ||
d7f735da NC |
572 | 2006-01-11 Nick Clifton <[email protected]> |
573 | ||
574 | * elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry | |
575 | into the newly (re)allocated map array. | |
576 | ||
2bfd55ca NC |
577 | 2006-01-09 Alexis Wilke <[email protected]> |
578 | ||
579 | * peXXigen.c (tbl): Add comma after "HIGH3ADJ". | |
580 | ||
bce50a28 JJ |
581 | 2006-01-01 Jakub Jelinek <[email protected]> |
582 | ||
583 | * elf64-ppc.c (ppc64_elf_action_discarded): Return 0 | |
584 | for .toc1 section. | |
585 | ||
e88d958a | 586 | For older changes see ChangeLog-2005 |
56882138 AM |
587 | \f |
588 | Local Variables: | |
589 | mode: change-log | |
590 | left-margin: 8 | |
591 | fill-column: 74 | |
592 | version-control: never | |
593 | End: |