]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
2006-03-05 H.J. Lu <hongjiu.lu@intel.com>
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
d4c32a81
L
12006-03-05 H.J. Lu <hongjiu.lu@intel.com>
2 Alan Modra <amodra@bigpond.net.au>
3
4 PR binutils/2338
5 * dwarf2.c (loadable_section): New struct.
6 (dwarf2_debug): Add loadable_section_count and
7 loadable_sections.
8 (new_line_sorts_after): New.
9 (add_line_info): Use new_line_sorts_after to compare line
10 addresses.
11 (check_function_name): Removed.
12 (unset_sections): New.
13 (place_sections): New.
14 (_bfd_dwarf2_find_nearest_line): Updated. Call place_sections
15 and unset_sections on relocatable files.
16 (_bfd_dwarf2_find_line): Likewise.
17
4cdc7696
NC
182006-03-03 Nick Clifton <nickc@redhat.com>
19
20 * cpu-avr.c: Update to ISO-C90 formatting.
21 * elf32-avr.c: Likewise.
22
df406460
NC
232006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
24
25 * elf32-avr.c (avr_reloc_map): Insert BFD_RELOC_AVR_MS8_LDI
26 and R_AVR_MS8_LDI
27 (bfd_elf_avr_final_write_processing): Set
28 EF_AVR_LINKRELAX_PREPARED in e_flags field.
29 (elf32_avr_relax_section): New function.
30 (elf32_avr_relax_delete_bytes): New function.
31 (elf32_avr_get_relocated_section_contents): New function.
32 (avr_pc_wrap_around): New function.
33 (avr_relative_distance_considering_wrap_around): New function.
34 (avr_final_link_relocate): Handle negative int8t_t immediate for R_AVR_LDI.
35 * reloc.c: Add BFD_RELOC_AVR_MS8_LDI and BFD_RELOC_AVR_LDI_NEG
36 * libbfd.h: Regenerate.
37 * bfd-in2.h: Regenerate.
38
a1013894
DD
392006-03-02 DJ Delorie <dj@redhat.com>
40
41 * elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
42 calculations.
43
7c492719
RS
442006-03-02 Richard Sandiford <richard@codesourcery.com>
45
46 * elf32-ppc.c (is_ppc_elf_target): Return true if the target is
47 bfd_elf32_powerpc_vxworks_vec.
48
e970df31
NC
492006-03-02 Nick Clifton <nickc@redhat.com>
50
51 * elf32-m32c.c (m32c_elf_relax_section): Initialise 'gap'.
52
711de32c
RS
532006-03-02 Richard Sandiford <richard@codesourcery.com>
54
55 * elf32-i386.c (elf_i386_create_dynamic_sections): Use
56 elf_vxworks_create_dynamic_sections.
57 (elf_i386_size_dynamic_sections): Remove VxWorks GOT and PLT
58 symbol handling.
59 * elf32-ppc.c (ppc_elf_create_dynamic_sections): Use
60 elf_vxworks_create_dynamic_sections.
61 (ppc_elf_size_dynamic_sections): Remove VxWorks GOT and PLT
62 symbol handling.
63 * elf-vxworks.c (elf_vxworks_create_dynamic_sections): New function.
64 * elf-vxworks.h (elf_vxworks_create_dynamic_sections): Declare.
65
9c72ff84
RS
662006-03-02 Richard Sandiford <richard@codesourcery.com>
67
68 * elf32-i386.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
69 (elf_backend_link_output_symbol_hook): Use
70 elf_vxworks_link_output_symbol_hook instead.
71 * elf32-ppc.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
72 (elf_backend_link_output_symbol_hook): Use
73 elf_vxworks_link_output_symbol_hook instead.
74 * elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Provide the
75 same interface as elf_backend_link_output_symbol_hook.
76 * elf-vxworks.h (elf_vxworks_link_output_symbol_hook): Update
77 prototype accordingly.
78
4a3dc543
RS
792006-03-02 Richard Sandiford <richard@codesourcery.com>
80
81 * elf32-ppc.c (ppc_elf_plt_type): New enumeration.
82 (ppc_elf_link_hash_table): Replace old_got and new_got with
83 plt_type and can_use_new_plt.
84 (ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS,
85 SEC_LOAD and SEC_READONLY to the VxWorks .plt flags.
86 (ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt.
87 Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt.
88 (ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to
89 either plt_type == PLT_OLD or plt_type == PLT_NEW. Assert that
90 this function should not be called for VxWorks targets.
91 (ppc_elf_tls_setup): Use plt_type instead of old_got.
92 (allocate_got): Likewise. Rearrange so that max_before_header
93 is only used for PLT_OLD and PLT_NEW.
94 (allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks.
95 (ppc_elf_size_dynamic_sections): Likewise.
96 (ppc_elf_relax_section): Likewise.
97 (ppc_elf_relocate_section): Likewise.
98 (ppc_elf_finish_dynamic_symbol): Likewise.
99 (ppc_elf_vxworks_link_hash_table_create): Initialize plt_type.
100
5ae0bfb6
RS
1012006-02-28 Richard Sandiford <richard@codesourcery.com>
102
103 * elf32-i386.c (elf_i386_link_hash_table): Add next_tls_desc_index.
104 (elf_i386_link_hash_table_create): Initialize it.
105 (elf_i386_compute_jump_table_size): Use it instead of
106 srelplt->reloc_count.
107 (allocate_dynrelocs): Likewise.
108 (elf_i386_size_dynamic_sections): Likewise.
109 (elf_i386_relocate_section): Likewise.
110
63752a75
JJ
1112006-02-27 Jakub Jelinek <jakub@redhat.com>
112
113 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle S flag.
114 (_bfd_elf_write_section_eh_frame): Likewise.
115
f7d9e5c3
CD
1162006-02-27 Carlos O'Donell <carlos@codesourcery.com>
117
118 * po/Make-in: Add html target.
119
22edb2f1
RS
1202006-02-27 Richard Sandiford <richard@codesourcery.com>
121
122 * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Use the
123 cached hgot entry to check for _GLOBAL_OFFSET_TABLE_.
124 * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise.
125 * elf32-bfin.c (bfin_finish_dynamic_symbol): Likewise.
126 * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
127 * elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
128 * elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise.
129 * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise.
130 * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Likewise.
131 * elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise.
132 * elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise.
133 * elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise.
134 * elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise.
135 * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likewise.
136 * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
137 * elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise. Also use
138 the cached hplt entry to check for _PROCEDURE_LINKAGE_TABLE_.
139 * elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise.
140 * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
141 * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise.
142 * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
143
7325306f
RS
1442006-02-25 Richard Sandiford <richard@codesourcery.com>
145
146 * elf-bfd.h (elf_link_hash_table): Add hplt field.
147 * elflink.c (_bfd_elf_create_dynamic_sections): Initialize it.
148 * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise.
149 * elf32-frv.c (_frv_create_got_section): Likewise.
150 * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise.
151 * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise.
152 * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.
153 * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise.
154 * elf32-i386.c (elf_i386_link_hash_table): Remove hgot and hplt.
155 (elf_i386_link_hash_table_create): Don't initialize them.
156 (elf_i386_size_dynamic_sections): Use the generic ELF hplt and
157 hgot fields.
158 (elf_i386_finish_dynamic_symbol): Likewise.
159 * elf32-ppc.c (ppc_elf_link_hash_table): Remove hplt.
160 (ppc_elf_size_dynamic_sections): Use the generic ELF hplt fields.
161 (ppc_elf_finish_dynamic_symbol): Likewise.
162
6772dd07
DD
1632006-02-24 DJ Delorie <dj@redhat.com>
164
165 * elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs.
166 (m32c_elf_relocate_section): Don't relocate them.
167 (compare_reloc): New.
168 (relax_reloc): Remove.
169 (m32c_offset_for_reloc): New.
170 (m16c_addr_encodings): New.
171 (m16c_jmpaddr_encodings): New.
172 (m32c_addr_encodings): New.
173 (m32c_elf_relax_section): Relax jumps and address displacements.
174 (m32c_elf_relax_delete_bytes): Adjust for internal syms. Fix up
175 short jumps.
176
177 * reloc.c: Add m32c relax relocs.
178 * libbfd.h: Regenerate.
179 * bfd-in2.h: Regenerate.
180
508c3946
L
1812006-02-24 H.J. Lu <hongjiu.lu@intel.com>
182
183 PR ld/2218
184 * elf-bfd.h (elf_backend_data): Add elf_backend_fixup_symbol.
185 (_bfd_elf_link_hash_fixup_symbol): New.
186
187 * elflink.c (_bfd_elf_link_hash_fixup_symbol): New.
188 (_bfd_elf_fix_symbol_flags): Call elf_backend_fixup_symbol if
189 it isn't NULL.
190
191 * elfxx-ia64.c (elf_backend_fixup_symbol): Defined.
192
193 * elfxx-target.h (elf_backend_fixup_symbol): New.
194 (elfNN_bed): Initialize elf_backend_fixup_symbol.
195
59cf82fe
L
1962006-02-23 H.J. Lu <hongjiu.lu@intel.com>
197
198 * cpu-ia64-opc.c (ins_immu5b): New.
199 (ext_immu5b): Likewise.
200 (elf64_ia64_operands): Add IMMU5b.
201
22d606e9
AM
2022006-02-21 Alan Modra <amodra@bigpond.net.au>
203
204 PR ld/2218
205 * elf32-arm.c (allocate_dynrelocs): Ensure undef weak sym in pie
206 is dynamic.
207 * elf32-hppa.c (allocate_dynrelocs): Likewise.
208 * elf32-i386.c (allocate_dynrelocs): Likewise.
209 * elf32-s390.c (allocate_dynrelocs): Likewise.
210 * elf32-sh.c (allocate_dynrelocs): Likewise.
211 * elf64-s390.c (allocate_dynrelocs): Likewise.
212 * elf64-x86-64.c (allocate_dynrelocs): Likewise.
213 * elf32-m32r.c (allocate_dynrelocs): Likewise. Discard relocs
214 on undef weak with non-default visibility too.
215 * elfxx-sparc.c (allocate_dynrelocs): Ditto.
216
3168356f
AM
2172006-02-21 Alan Modra <amodra@bigpond.net.au>
218
219 * bfd.c: (_bfd_default_error_handler): Don't call abort on
220 error, instead call _exit.
221 (_bfd_abort): Call _exit not xexit.
222
888b45b8
KB
2232006-02-17 Kevin Buettner <kevinb@redhat.com>
224
225 * elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):
226 New functions.
227 * elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.
228
d70c5fc7
NC
2292006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
230 Anil Paranjape <anilp1@kpitcummins.com>
231 Shilin Shakti <shilins@kpitcummins.com>
232
233 * Makefile.am: Add xc16x related entry
234 * Makefile.in: Regenerate
235 * archures.c: Add bfd_xc16x_arch
236 * bfd-in2.h: Regenerate
237 * config.bfd: Add xc16x-*-elf
238 * configure.in: Add bfd_elf32_xc16x_vec
239 * configure: Regenerate.
240 * targets.c: Added xc16x related information
241 * cpu-xc16x.c: New file
242 * reloc.c: Add new relocations specific to xc16x:
243 BFD_RELOC_XC16X_PAG, BFD_RELOC_XC16X_POF, BFD_RELOC_XC16X_SEG,
244 BFD_RELOC_XC16X_SOF
245 * elf32-xc16x.c: New file.
246
cab87ef9
AM
2472006-02-17 Alan Modra <amodra@bigpond.net.au>
248
249 * elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.
250 * elf64-ppc.c (allocate_dynrelocs): Likewise.
251
dfbb6ac9
AM
2522006-02-17 Alan Modra <amodra@bigpond.net.au>
253
254 PR ld/2218
255 * elf64-ppc.c (allocate_dynrelocs): Ensure undef weak sym is
256 dynamic.
257 (ppc64_elf_relocate_section): Check output reloc section size.
258 * elf32-ppc.c (allocate_dynrelocs): Simplify undef weak test.
259
cedc298e
L
2602006-02-16 H.J. Lu <hongjiu.lu@intel.com>
261
262 PR ld/2322
263 * elf.c (get_segment_type): New function.
264 (_bfd_elf_print_private_bfd_data): Use it.
265 (print_segment_map): New function.
266 (assign_file_positions_for_segments): Call print_segment_map
267 when there are not enough room for program headers.
268
aaa2ab3d
NH
2692006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
270
271 * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Use
272 traditional MIPS ELF targets.
273
35ccda9e
L
2742006-02-15 H.J. Lu <hongjiu.lu@intel.com>
275
276 PR binutils/2338
277 * dwarf2.c (check_function_name): New function.
278 (_bfd_dwarf2_find_nearest_line): Use check_function_name to
279 check if function is correct.
280
e0ae6d6f
AM
2812006-02-16 Alan Modra <amodra@bigpond.net.au>
282
283 * elflink.c (_bfd_elf_default_action_discarded): Return 0 for
284 debug sections.
285 (elf_link_input_bfd): Adjust comments.
286
d55ce4e2
L
2872006-02-10 H.J. Lu <hongjiu.lu@intel.com>
288
289 * elf.c (copy_private_bfd_data): Minor update.
290
84d1d650
L
2912006-02-10 H.J. Lu <hongjiu.lu@intel.com>
292
293 PR binutils/2258
294 * elf.c (copy_private_bfd_data): Renamed to ...
295 (rewrite_elf_program_header): This.
296 (copy_elf_program_header): New function.
297 (copy_private_bfd_data): Likewise.
298
2992006-02-07 Nathan Sidwell <nathan@codesourcery.com>
266abb8f
NS
300
301 * archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e,
302 bfd_mach_mcf5307, bfd_mach_mcf5407, bfd_mach_mcf528x,
303 bfd_mach_mcfv4e, bfd_mach_mcf521x, bfd_mach_mcf5249,
304 bfd_mach_mcf547x, bfd_mach_mcf548x): Remove.
305 (bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_div,
306 bfd_mach_mcf_isa_a_div_mac, bfd_mach_mcf_isa_a_div_emac,
307 bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
308 bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_aplus_usp,
309 bfd_mach_mcf_isa_aplus_usp_mac, bfd_mach_mcf_isa_aplus_usp_emac,
310 bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac,
311 bfd_mach_mcf_isa_b_usp_float, bfd_mach_mcf_isa_b_usp_float_mac,
312 bfd_mach_mcf_isa_b_usp_float_emac): New.
313 (bfd_default_scan): Update coldfire mapping.
314 * bfd-in.h (bfd_m68k_mach_to_features,
315 bfd_m68k_features_to_mach): Declare.
316 * bfd-in2.h: Rebuilt.
317 * cpu-m68k.c (arch_info_struct): Add new coldfire machines,
318 adjust legacy names.
319 (m68k_arch_features): New.
320 (bfd_m68k_mach_to_features,
321 bfd_m68k_features_to_mach): Define.
322 * elf32-m68k.c (elf32_m68k_object_p): New.
323 (elf32_m68k_merge_private_bfd_data): Merge the CF EF flags.
324 (elf32_m68k_print_private_bfd_data): Print the CF EF flags.
325 (elf_backend_object_p): Define.
326 * ieee.c (ieee_write_processor): Update coldfire machines.
327 * libbfd.h: Rebuilt.
328
75eb734c
SE
3292006-02-06 Steve Ellcey <sje@cup.hp.com>
330
331 * elfxx-ia64.c (elfNN_ia64_fake_sections): Set SHF_IA_64_HP_TLS
332 if SHF_TLS is set.
333
134dcee5
AM
3342006-02-05 Arnold Metselaar <arnold.metselaar@planet.nl>
335
336 * coff-z80.c (r_imm24): New howto.
337 (rtype2howto): New case R_IMM24.
338 (coff_z80_reloc_type_lookup): New case BFD_RELOC_24.
339 (extra_case): Use bfd_get_8 for R_IMM8, new case R_IMM24.
340
4005427f
RS
3412006-02-04 Richard Sandiford <richard@codesourcery.com>
342
343 * elfxx-mips.c (mips_elf_initialize_tls_index): If a TLS symbol
344 has already been assigned a GOT index, copy that index to the
345 current hash table entry.
346
bb29dfea
EB
3472006-02-01 Eric Botcazou <ebotcazou@libertysurf.fr>
348
349 * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
350 for call-to-undefweak reloc overflow.
351
dc669dc8
EB
3522006-01-31 Eric Botcazou <ebotcazou@libertysurf.fr>
353
354 * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
355 for 32-bit relocs overflow.
356
1a0eb693
PB
3572006-01-27 Paul Brook <paul@codesourcery.com>
358
359 * elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb
360 objects.
361
67a4f2b7
AO
3622006-01-18 Alexandre Oliva <aoliva@redhat.com>
363
364 Introduce TLS descriptors for i386 and x86_64.
365 * reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC,
366 BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC,
367 BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New.
368 * libbfd.h, bfd-in2.h: Rebuilt.
369 * elf32-i386.c (elf_howto_table): New relocations.
370 (R_386_tls): Adjust.
371 (elf_i386_reloc_type_lookup): Map new relocations.
372 (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
373 (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
374 (struct elf_i386_link_hash_entry): Add tlsdesc_got field.
375 (struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field.
376 (elf_i386_local_tlsdesc_gotent): New macro.
377 (struct elf_i386_link_hash_table): Add sgotplt_jump_table_size.
378 (elf_i386_compute_jump_table_size): New macro.
379 (link_hash_newfunc): Initialize tlsdesc_got.
380 (elf_i386_link_hash_table_create): Set sgotplt_jump_table_size.
381 (elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and
382 R_386_TLS_DESC_CALL.
383 (elf_i386_check_relocs): Likewise. Allocate space for
384 local_tlsdesc_gotent.
385 (elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and
386 R_386_TLS_DESC_CALL.
387 (allocate_dynrelocs): Count function PLT relocations. Reserve
388 space for TLS descriptors and relocations.
389 (elf_i386_size_dynamic_sections): Reserve space for TLS
390 descriptors and relocations. Set up sgotplt_jump_table_size.
391 Don't zero reloc_count in srelplt.
392 (elf_i386_always_size_sections): New. Set up _TLS_MODULE_BASE_.
393 (elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and
394 R_386_TLS_DESC_CALL.
395 (elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
396 (elf_backend_always_size_sections): Define.
397 * elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC,
398 R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL.
399 (R_X86_64_standard): Adjust.
400 (x86_64_reloc_map): Map new relocs.
401 (elf64_x86_64_rtype_to_howto): New, split out of...
402 (elf64_x86_64_info_to_howto): ... this function, and...
403 (elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val.
404 (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
405 (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
406 (struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field.
407 (struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field.
408 (elf64_x86_64_local_tlsdesc_gotent): New macro.
409 (struct elf64_x86_64_link_hash_table): Add tlsdesc_plt,
410 tlsdesc_got and sgotplt_jump_table_size fields.
411 (elf64_x86_64_compute_jump_table_size): New macro.
412 (link_hash_newfunc): Initialize tlsdesc_got.
413 (elf64_x86_64_link_hash_table_create): Initialize new fields.
414 (elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and
415 R_X86_64_TLSDESC_CALL.
416 (elf64_x86_64_check_relocs): Likewise. Allocate space for
417 local_tlsdesc_gotent.
418 (elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and
419 R_X86_64_TLSDESC_CALL.
420 (allocate_dynrelocs): Count function PLT relocations. Reserve
421 space for TLS descriptors and relocations.
422 (elf64_x86_64_size_dynamic_sections): Reserve space for TLS
423 descriptors and relocations. Set up sgotplt_jump_table_size,
424 tlsdesc_plt and tlsdesc_got. Make room for them. Don't zero
425 reloc_count in srelplt. Add dynamic entries for DT_TLSDESC_PLT
426 and DT_TLSDESC_GOT.
427 (elf64_x86_64_always_size_sections): New. Set up
428 _TLS_MODULE_BASE_.
429 (elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and
430 R_386_TLS_DESC_CALL.
431 (elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
432 (elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and
433 DT_TLSDESC_GOT. Set up TLS descriptor lazy resolver PLT entry.
434 (elf_backend_always_size_sections): Define.
435
6dd55cb7
L
4362006-01-17 H.J. Lu <hongjiu.lu@intel.com>
437
438 PR binutils/2096
439 * dwarf2.c (comp_unit_contains_address): Update comment.
440 (_bfd_dwarf2_find_nearest_line): Use section's vma, instead of
441 lma. Return TRUE only if both comp_unit_contains_address and
442 comp_unit_find_nearest_line return TRUE.
443 (_bfd_dwarf2_find_line): Use section's vma, instead of lma.
444
64d03ab5
AM
4452006-01-18 Alan Modra <amodra@bigpond.net.au>
446
447 * elf-bfd.h (struct elf_backend_data): Add gc_mark_dynamic_ref.
448 (bfd_elf_gc_mark_dynamic_ref_symbol): Declare.
449 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Rename from
450 elf_gc_mark_dynamic_ref_symbol. Make global.
451 (bfd_elf_gc_sections): Call bed->gc_mark_dynamic_ref.
452 * elfxx-target.h (elf_backend_gc_mark_dynamic_ref): Define.
453 (elfNN_bed): Init new field.
454 * elf64-ppc.c (elf_backend_gc_mark_dynamic_ref): Define.
455 (ppc64_elf_gc_mark_dynamic_ref): New function.
456
b56cbdb9
AM
4572006-01-17 Alan Modra <amodra@bigpond.net.au>
458
459 * elf64-ppc.c (ppc64_elf_gc_mark_hook): Don't hang forever in loop.
460
6c10990d
NC
4612006-01-17 Nick Clifton <nickc@redhat.com>
462
463 PR binutils/2159
464 * elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused
465 parameters.
466
d7f735da
NC
4672006-01-11 Nick Clifton <nickc@redhat.com>
468
469 * elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry
470 into the newly (re)allocated map array.
471
2bfd55ca
NC
4722006-01-09 Alexis Wilke <alexis_wilke@yahoo.com>
473
474 * peXXigen.c (tbl): Add comma after "HIGH3ADJ".
475
bce50a28
JJ
4762006-01-01 Jakub Jelinek <jakub@redhat.com>
477
478 * elf64-ppc.c (ppc64_elf_action_discarded): Return 0
479 for .toc1 section.
480
e88d958a 481For older changes see ChangeLog-2005
56882138
AM
482\f
483Local Variables:
484mode: change-log
485left-margin: 8
486fill-column: 74
487version-control: never
488End: