*** empty log message ***
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
2
3 * elf32-bfin.c (bfd_const_reloc, bfd_oper_reloc, bfin_push_reloc,
4 RELOC_STACK_SIZE, reloc_stack, reloc_stack_tos, is_reloc_stack_empty,
5 reloc_stack_push, reloc_stack_pop, reloc_stack_operate,
6 bfin_areloc_howto_table): Delete. All
7 uses deleted as well.
8 (bfin_reloc_map): Delete all stack relocs.
9 (bfin_info_to_howto, bfin_bfd_reloc_type_lookup,
10 bfin_reloc_type_lookup): Don't support them.
11 (bfin_relocate_section): Don't try to handle them.
12
13 2006-03-25 Richard Sandiford <richard@codesourcery.com>
14
15 * cpu-m68k.c (bfd_m68k_compatible): Treat ISA A+ and ISA B code as
16 incompatible. Likewise MAC and EMAC code.
17 * elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Use
18 bfd_get_compatible to set the new bfd architecture. Rely on it
19 to detect incompatibilities.
20
21 2006-03-22 Bob Wilson <bob.wilson@acm.org>
22
23 * elf32-xtensa.c (xtensa_read_table_entries): Remove assertion that
24 rel->r_addend is zero.
25
26 2006-03-22 Richard Sandiford <richard@codesourcery.com>
27
28 * elfxx-mips.c (_bfd_mips_vxworks_finish_dynamic_symbol): Fix type
29 of "loc".
30
31 2006-03-22 Richard Sandiford <richard@codesourcery.com>
32 Daniel Jacobowitz <dan@codesourcery.com>
33 Phil Edwards <phil@codesourcery.com>
34 Zack Weinberg <zack@codesourcery.com>
35 Mark Mitchell <mark@codesourcery.com>
36 Nathan Sidwell <nathan@codesourcery.com>
37
38 * bfd-in2.h: Regenerate.
39 * config.bfd (mips*-*-vxworks*, mips*el-*-vxworks*): New stanzas.
40 * configure.in (bfd_elf32_bigmips_vxworks_vec): New stanza.
41 (bfd_elf32_littlemips_vxworks_vec): Likewise.
42 (bfd_elf32_bigmips_vec): Add elf-vxworks.lo.
43 (bfd_elf32_littlemips_vec): Likewise.
44 (bfd_elf32_nbigmips_vec): Likewise.
45 (bfd_elf32_nlittlemips_vec): Likewise.
46 (bfd_elf32_ntradbigmips_vec): Likewise.
47 (bfd_elf32_ntradlittlemips_vec): Likewise.
48 (bfd_elf32_tradbigmips_vec): Likewise.
49 (bfd_elf32_tradlittlemips_vec): Likewise.
50 (bfd_elf64_bigmips_vec): Likewise.
51 (bfd_elf64_littlemips_vec): Likewise.
52 (bfd_elf64_tradbigmips_vec): Likewise.
53 (bfd_elf64_tradlittlemips_vec): Likewise.
54 * elf32-mips.c: Include elf-vxworks.h.
55 (mips_info_to_howto_rel): Use elf_backend_mips_rtype_to_howto
56 instead of calling mips_elf32_rtype_to_howto directly.
57 (mips_vxworks_copy_howto_rela): New reloc howto.
58 (mips_vxworks_jump_slot_howto_rela): Likewise.
59 (mips_vxworks_bfd_reloc_type_lookup): New function.
60 (mips_vxworks_rtype_to_howto): Likewise.
61 (mips_vxworks_final_write_processing): Likewise.
62 (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME): Override for VxWorks.
63 (TARGET_BIG_SYM, TARGET_BIG_NAME, elf_bed, ELF_MAXPAGESIZE): Likewise.
64 (elf_backend_want_got_plt): Likewise.
65 (elf_backend_want_plt_sym): Likewise.
66 (elf_backend_got_symbol_offset): Likewise.
67 (elf_backend_want_dynbss): Likewise.
68 (elf_backend_may_use_rel_p): Likewise.
69 (elf_backend_may_use_rela_p): Likewise.
70 (elf_backend_default_use_rela_p): Likewise.
71 (elf_backend_got_header_size: Likewise.
72 (elf_backend_plt_readonly): Likewise.
73 (bfd_elf32_bfd_reloc_type_lookup): Likewise.
74 (elf_backend_mips_rtype_to_howto): Likewise.
75 (elf_backend_adjust_dynamic_symbol): Likewise.
76 (elf_backend_finish_dynamic_symbol): Likewise.
77 (bfd_elf32_bfd_link_hash_table_create): Likewise.
78 (elf_backend_add_symbol_hook): Likewise.
79 (elf_backend_link_output_symbol_hook): Likewise.
80 (elf_backend_emit_relocs): Likewise.
81 (elf_backend_final_write_processing: Likewise.
82 (elf_backend_additional_program_headers): Likewise.
83 (elf_backend_modify_segment_map): Likewise.
84 (elf_backend_symbol_processing): Likewise.
85 * elfxx-mips.c: Include elf-vxworks.h.
86 (mips_elf_link_hash_entry): Add is_relocation_target and
87 is_branch_target fields.
88 (mips_elf_link_hash_table): Add is_vxworks, srelbss, sdynbss, srelplt,
89 srelplt2, sgotplt, splt, plt_header_size and plt_entry_size fields.
90 (MIPS_ELF_RELA_SIZE, MIPS_ELF_REL_DYN_NAME): New macros.
91 (MIPS_RESERVED_GOTNO): Take a mips_elf_link_hash_table argument.
92 Return 3 for VxWorks.
93 (ELF_MIPS_GP_OFFSET): Change the argument from a bfd to a
94 mips_elf_link_hash_table. Return 0 for VxWorks.
95 (MIPS_ELF_GOT_MAX_SIZE): Change the argument from a bfd to a
96 mips_elf_link_hash_table. Update the call to ELF_MIPS_GP_OFFSET.
97 (mips_vxworks_exec_plt0_entry): New variable.
98 (mips_vxworks_exec_plt_entry): Likewise.
99 (mips_vxworks_shared_plt0_entry): Likewise.
100 (mips_vxworks_shared_plt_entry): Likewise.
101 (mips_elf_link_hash_newfunc): Initialize the new hash_entry fields.
102 (mips_elf_rel_dyn_section): Change the bfd argument to a
103 mips_elf_link_hash_table. Use MIPS_ELF_REL_DYN_NAME to get
104 the name of the section.
105 (mips_elf_initialize_tls_slots): Update the call to
106 mips_elf_rel_dyn_section.
107 (mips_elf_gotplt_index): New function.
108 (mips_elf_local_got_index): Add an input_section argument.
109 Update the call to mips_elf_create_local_got_entry.
110 (mips_elf_got_page): Likewise.
111 (mips_elf_got16_entry): Likewise.
112 (mips_elf_create_local_got_entry): Add bfd_link_info and input_section
113 arguments. Create dynamic relocations for each entry on VxWorks.
114 (mips_elf_merge_gots): Update the use of MIPS_ELF_GOT_MAX_SIZE.
115 (mips_elf_multi_got): Update the uses of MIPS_ELF_GOT_MAX_SIZE
116 and MIPS_RESERVED_GOTNO.
117 (mips_elf_create_got_section): Update the uses of
118 MIPS_ELF_GOT_MAX_SIZE. Create .got.plt on VxWorks.
119 (is_gott_symbol): New function.
120 (mips_elf_calculate_relocation): Use a dynobj local variable.
121 Update the calls to mips_elf_local_got_index, mips_elf_got16_entry and
122 mips_elf_got_page_entry. Set G to the .got.plt entry when calculating
123 VxWorks R_MIPS_CALL* relocations. Calculate and use G for all GOT
124 relocations on VxWorks. Add dynamic relocations for references
125 to the VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols. Don't
126 create dynamic relocations for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64
127 in VxWorks executables.
128 (mips_elf_allocate_dynamic_relocations): Add a bfd_link_info argument.
129 Use MIPS_ELF_RELA_SIZE to calculate the size of a VxWorks entry.
130 Don't allocate a null entry on VxWorks.
131 (mips_elf_create_dynamic_relocation): Update the call to
132 mips_elf_rel_dyn_section. Use absolute rather than relative
133 relocations for VxWorks, and make them RELA rather than REL.
134 (_bfd_mips_elf_create_dynamic_sections): Don't make .dynamic
135 read-only on VxWorks. Update the call to mips_elf_rel_dyn_section.
136 Create the .plt, .rela.plt, .dynbss and .rela.bss sections on
137 VxWorks. Likewise create the _PROCEDURE_LINKAGE_TABLE symbol.
138 Call elf_vxworks_create_dynamic_sections for VxWorks and
139 initialize the plt_header_size and plt_entry_size fields.
140 (_bfd_mips_elf_check_relocs): Don't allow GOT relocations to be
141 used in VxWorks executables. Don't allocate dynamic relocations
142 for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 in VxWorks executables.
143 Set is_relocation_target for each symbol referenced by a relocation.
144 Allocate .rela.dyn entries for relocations against the special
145 VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols. Create GOT
146 entries for all VxWorks R_MIPS_GOT16 relocations. Don't allocate
147 a global GOT entry for symbols mentioned in VxWorks R_MIPS_CALL*,
148 R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 relocations. Update the calls
149 to mips_elf_rel_dyn_section and mips_elf_allocate_dynamic_relocations.
150 Set is_branch_target for symbols mentioned in R_MIPS_PC16 or R_MIPS_26
151 relocations. Don't set no_fn_stub on VxWorks.
152 (_bfd_mips_elf_adjust_dynamic_symbol): Update the call to
153 mips_elf_allocate_dynamic_relocations.
154 (_bfd_mips_vxworks_adjust_dynamic_symbol): New function.
155 (_bfd_mips_elf_always_size_sections): Do not allocate GOT page
156 entries for VxWorks, and do not create multiple GOTs.
157 (_bfd_mips_elf_size_dynamic_sections): Use MIPS_ELF_REL_DYN_NAME.
158 Handle .got specially for VxWorks. Update the uses of
159 MIPS_RESERVED_GOTNO and mips_elf_allocate_dynamic_relocations.
160 Check for sgotplt and splt. Allocate the .rel(a).dyn contents last,
161 once its final size is known. Set DF_TEXTREL for VxWorks. Add
162 DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL, DT_PLTRELSZ and DT_JMPREL
163 tags on VxWorks. Do not add the MIPS-specific tags for VxWorks.
164 (_bfd_mips_vxworks_finish_dynamic_symbol): New function.
165 (mips_vxworks_finish_exec_plt): Likewise.
166 (mips_vxworks_finish_shared_plt): Likewise.
167 (_bfd_mips_elf_finish_dynamic_sections): Remove an unncessary call
168 to mips_elf_rel_dyn_section. Use a VxWorks-specific value of
169 DT_PLTGOT. Handle DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL,
170 DT_PLTRELSZ and DT_JMPREL. Update the uses of MIPS_RESERVED_GOTNO
171 and mips_elf_rel_dyn_section. Use a different GOT header for
172 VxWorks. Don't sort .rela.dyn on VxWorks. Finish the PLT on VxWorks.
173 (_bfd_mips_elf_link_hash_table_create): Initialize the new
174 mips_elf_link_hash_table fields.
175 (_bfd_mips_vxworks_link_hash_table_create): New function.
176 (_bfd_mips_elf_final_link): Set the GP value to _GLOBAL_OFFSET_TABLE_
177 on VxWorks. Update the call to ELF_MIPS_GP_OFFSET.
178 * elfxx-mips.h (_bfd_mips_vxworks_adjust_dynamic_symbol): Declare.
179 (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
180 (_bfd_mips_vxworks_link_hash_table_create): Likewise.
181 * libbfd.h: Regenerate.
182 * Makefile.am (elfxx-mips.lo): Depend on elf-vxworks.h.
183 (elf32-mips.lo): Likewise.
184 * Makefile.in: Regenerate.
185 * reloc.c (BFD_RELOC_MIPS_COPY, BFD_RELOC_MIPS_JUMP_SLOT): Declare.
186 * targets.c (bfd_elf32_bigmips_vxworks_vec): Declare.
187 (bfd_elf32_littlemips_vxworks_vec): Likewise.
188 (_bfd_target_vector): Add entries for them.
189
190 2006-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
191
192 * elf64-hppa.c (elf64_hppa_special_sections): Change flags for .tbss
193 section from SHF_PARISC_WEAKORDER to SHF_HP_TLS.
194 (elf_backend_special_sections): Remove #undef.
195
196 2006-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
197
198 * elf64-hppa.c (allocate_global_data_opd): Don't create an OPD entry
199 for undefined weak symbols.
200
201 2006-03-17 Daniel Jacobowitz <dan@codesourcery.com>
202
203 PR ld/2462
204 * elflink.c (bfd_elf_final_link): Remove
205 bed->elf_backend_emit_relocs from emit_relocs.
206
207 2006-03-17 Alexandre Oliva <aoliva@redhat.com>
208
209 * elf32-ppc.c (ppc_elf_relocate_section): Copy addend from
210 first relocation to the second when relaxing TLS GD to LE;
211 zero it out when relaxing to IE.
212
213 2006-03-17 Alan Modra <amodra@bigpond.net.au>
214
215 PR 2434
216 * elflink.c (elf_link_add_object_symbols): Save and restore
217 warning sym's linked sym.
218
219 2006-03-16 Alan Modra <amodra@bigpond.net.au>
220
221 PR 2434
222 * elflink.c (struct elf_smash_syms_data, elf_smash_syms): Delete.
223 (elf_link_add_object_symbols): Delete unnecessary locals. Rename
224 hash_table -> htab. Formatting. Save entire symbol table
225 before loading as-needed syms, and restore afterwards if lib not
226 needed. Use bfd_hash_allocate rather than bfd_alloc for sym
227 name. Free some buffers earlier.
228 * bfd-in.h (struct bfd_hash_table): Add entsize.
229 (bfd_hash_table_init, bfd_hash_table_init_n): Adjust prototype.
230 * elf-bfd.h (_bfd_elf_link_hash_table_init): Likewise
231 * hash.c (bfd_hash_table_init_n): Add entsize param, save to
232 hash table.
233 (bfd_hash_table_init): Add param, adjust calls.
234 * aoutx.h: Adjust all hash_table_init functions and calls.
235 * bfd.c: Likewise.
236 * coff-arm.c: Likewise.
237 * coff-h8300.c: Likewise.
238 * coff-ppc.c: Likewise.
239 * cofflink.c: Likewise.
240 * ecoff.c: Likewise.
241 * ecofflink.c: Likewise.
242 * elf-m10300.c: Likewise.
243 * elf-strtab.c: Likewise.
244 * elf.c: Likewise.
245 * elf32-arm.c: Likewise.
246 * elf32-bfin.c: Likewise.
247 * elf32-cris.c: Likewise.
248 * elf32-frv.c: Likewise.
249 * elf32-hppa.c: Likewise.
250 * elf32-i386.c: Likewise.
251 * elf32-m32r.c: Likewise.
252 * elf32-m68hc1x.c: Likewise.
253 * elf32-m68k.c: Likewise.
254 * elf32-ppc.c: Likewise.
255 * elf32-s390.c: Likewise.
256 * elf32-sh.c: Likewise.
257 * elf32-vax.c: Likewise.
258 * elf64-alpha.c: Likewise.
259 * elf64-hppa.c: Likewise.
260 * elf64-ppc.c: Likewise.
261 * elf64-s390.c: Likewise.
262 * elf64-sh64.c: Likewise.
263 * elf64-x86-64.c: Likewise.
264 * elfxx-ia64.c: Likewise.
265 * elfxx-mips.c: Likewise.
266 * elfxx-sparc.c: Likewise.
267 * i386linux.c: Likewise.
268 * libaout.h: Likewise.
269 * libbfd-in.h: Likewise.
270 * libcoff-in.h: Likewise.
271 * linker.c: Likewise.
272 * m68klinux.c: Likewise.
273 * merge.c: Likewise.
274 * opncls.c: Likewise.
275 * pdp11.c: Likewise.
276 * sparclinux.c: Likewise.
277 * stabs.c: Likewise.
278 * sunos.c: Likewise.
279 * vms.c: Likewise.
280 * xcofflink.c: Likewise.
281 * section.c (struct section_hash_entry): Move to..
282 * libbfd-in.h: ..here.
283 * Makefile.am: Run "make dep-am"
284 * Makefile.in: Regenerate.
285 * bfd-in2.h: Regenerate.
286 * libbfd.h: Regenerate.
287 * libcoff.h: Regenerate.
288
289 2006-03-16 Alan Modra <amodra@bigpond.net.au>
290
291 * elf32-ppc.c (ppc_elf_check_relocs): REL24 and REL14 relocs
292 against __GLOBAL_OFFSET_TABLE__ need never be dynamic. Tweak
293 last change to REL32 relocs so that they are counted as
294 possibly dynamic as per REL24 and REL14.
295
296 2006-03-16 Alan Modra <amodra@bigpond.net.au>
297
298 * elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24
299 checks from REL32.
300
301 2006-03-15 Ben Elliston <bje@au.ibm.com>
302
303 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all
304 in_list elements, not just the first.
305
306 2006-03-14 Richard Sandiford <richard@codesourcery.com>
307
308 * elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
309 out from...
310 (_bfd_mips_elf_relocate_section): ...here. Use it to adjust r_addend
311 for final links too.
312
313 2006-03-13 Richard Sandiford <richard@codesourcery.com>
314
315 * elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
316
317 2006-03-11 H.J. Lu <hongjiu.lu@intel.com>
318
319 PR ld/2443
320 * dwarf2.c (concat_filename): Don't issue an error if file is
321 0.
322
323 2006-03-10 Paul Brook <paul@codesourcery.com>
324
325 * elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
326 (elf32_arm_print_private_bfd_data): Ditto.
327
328 2006-03-09 Paul Brook <paul@codesourcery.com>
329
330 * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
331 mapping symbols.
332
333 2006-03-09 Khem Raj <khem@mvista.com>
334
335 * elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned
336 char type.
337
338 2006-03-08 H.J. Lu <hongjiu.lu@intel.com>
339
340 * elfxx-ia64.c (elfNN_ia64_choose_gp): Properly choose gp.
341
342 2006-03-07 Richard Sandiford <richard@codesourcery.com>
343 Daniel Jacobowitz <dan@codesourcery.com>
344 Zack Weinberg <zack@codesourcery.com>
345 Nathan Sidwell <nathan@codesourcery.com>
346 Paul Brook <paul@codesourcery.com>
347 Ricardo Anguiano <anguiano@codesourcery.com>
348 Phil Edwards <phil@codesourcery.com>
349
350 * configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo.
351 (bfd_elf32_bigarm_symbian_vec): Likewise.
352 (bfd_elf32_bigarm_vxworks_vec): Likewise.
353 (bfd_elf32_littlearm_vec): Likewise.
354 (bfd_elf32_littlearm_symbian_vec): Likewise.
355 (bfd_elf32_littlearm_vxworks_vec): Likewise.
356 * configure: Regenerate.
357 * elf32-arm.c: Include libiberty.h and elf-vxworks.h.
358 (RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros.
359 (elf32_arm_vxworks_bed): Add forward declaration.
360 (elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12.
361 (elf32_arm_vxworks_exec_plt0_entry): New table.
362 (elf32_arm_vxworks_exec_plt_entry): Likewise.
363 (elf32_arm_vxworks_shared_plt_entry): Likewise.
364 (elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields.
365 (reloc_section_p): New function.
366 (create_got_section): Use RELOC_SECTION.
367 (elf32_arm_create_dynamic_sections): Likewise. Call
368 elf_vxworks_create_dynamic_sections for VxWorks targets.
369 Choose between the two possible values of plt_header_size
370 and plt_entry_size.
371 (elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2.
372 (elf32_arm_abs12_reloc): New function.
373 (elf32_arm_final_link_relocate): Call it. Allow the creation of
374 dynamic R_ARM_ABS12 relocs on VxWorks. Use reloc_section_p,
375 RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION. Initialize the
376 r_addend fields of relocs. On rela targets, skip any code that
377 adjusts in-place addends. When using _bfd_link_final_relocate
378 to perform a final relocation, pass rel->r_addend as the addend
379 argument.
380 (elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks
381 object, ignore flags that are not standard on VxWorks.
382 (elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12
383 relocs on VxWorks. Use reloc_section_p.
384 (elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE.
385 (allocate_dynrelocs): Use RELOC_SIZE. Account for the size of
386 .rela.plt.unloaded relocs on VxWorks targets.
387 (elf32_arm_size_dynamic_sections): Use RELOC_SIZE. Check for
388 .rela.plt.unloaded as well as .rel(a).plt. Add DT_RELA* tags
389 instead of DT_REL* tags on RELA targets.
390 (elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE
391 and SWAP_RELOC_OUT. Initialize r_addend fields. Handle VxWorks
392 PLT entries. Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
393 (elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE
394 and SWAP_RELOC_OUT. Initialize r_addend fields. Handle DT_RELASZ
395 like DT_RELSZ. Handle the VxWorks form of initial PLT entry.
396 Correct the .rela.plt.unreloaded symbol indexes.
397 (elf32_arm_output_symbol_hook): Call the VxWorks version of this
398 hook on VxWorks targets.
399 (elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true.
400 Minor formatting tweak.
401 (elf32_arm_vxworks_final_write_processing): New function.
402 (elf_backend_add_symbol_hook): Override for VxWorks and reset
403 for Symbian.
404 (elf_backend_final_write_processing): Likewise.
405 (elf_backend_emit_relocs): Likewise.
406 (elf_backend_want_plt_sym): Likewise.
407 (ELF_MAXPAGESIZE): Likewise.
408 (elf_backend_may_use_rel_p): Minor formatting tweak.
409 (elf_backend_may_use_rela_p): Likewise.
410 (elf_backend_default_use_rela_p): Likewise.
411 (elf_backend_rela_normal): Likewise.
412 * Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h.
413
414 2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
415
416 * archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp):
417 New. Adjust other variants.
418 (bfd_default_scan): Update.
419 * bfd-in2.h: Rebuilt.
420 * cpu-m68k.c: Adjust.
421 (bfd_m68k_compatible): New. Use it for architectures.
422 * elf32-m68k.c (elf32_m68k_object_p): Adjust.
423 (elf32_m68k_merge_private_bfd_data): Adjust. Correct isa-a/b
424 mismatch.
425 (elf32_m68k_print_private_bfd_data): Adjust.
426 * ieee.c (ieee_write_processor): Adjust.
427
428 2006-03-06 Alan Modra <amodra@bigpond.net.au>
429
430 * dwarf2.c: Formatting.
431 (add_line_info): Remove outer loop.
432
433 2006-03-05 H.J. Lu <hongjiu.lu@intel.com>
434 Alan Modra <amodra@bigpond.net.au>
435
436 PR binutils/2338
437 * dwarf2.c (loadable_section): New struct.
438 (dwarf2_debug): Add loadable_section_count and
439 loadable_sections.
440 (new_line_sorts_after): New.
441 (add_line_info): Use new_line_sorts_after to compare line
442 addresses.
443 (check_function_name): Removed.
444 (unset_sections): New.
445 (place_sections): New.
446 (_bfd_dwarf2_find_nearest_line): Updated. Call place_sections
447 and unset_sections on relocatable files.
448 (_bfd_dwarf2_find_line): Likewise.
449
450 2006-03-03 Nick Clifton <nickc@redhat.com>
451
452 * cpu-avr.c: Update to ISO-C90 formatting.
453 * elf32-avr.c: Likewise.
454
455 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
456
457 * elf32-avr.c (avr_reloc_map): Insert BFD_RELOC_AVR_MS8_LDI
458 and R_AVR_MS8_LDI
459 (bfd_elf_avr_final_write_processing): Set
460 EF_AVR_LINKRELAX_PREPARED in e_flags field.
461 (elf32_avr_relax_section): New function.
462 (elf32_avr_relax_delete_bytes): New function.
463 (elf32_avr_get_relocated_section_contents): New function.
464 (avr_pc_wrap_around): New function.
465 (avr_relative_distance_considering_wrap_around): New function.
466 (avr_final_link_relocate): Handle negative int8t_t immediate for R_AVR_LDI.
467 * reloc.c: Add BFD_RELOC_AVR_MS8_LDI and BFD_RELOC_AVR_LDI_NEG
468 * libbfd.h: Regenerate.
469 * bfd-in2.h: Regenerate.
470
471 2006-03-02 DJ Delorie <dj@redhat.com>
472
473 * elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
474 calculations.
475
476 2006-03-02 Richard Sandiford <richard@codesourcery.com>
477
478 * elf32-ppc.c (is_ppc_elf_target): Return true if the target is
479 bfd_elf32_powerpc_vxworks_vec.
480
481 2006-03-02 Nick Clifton <nickc@redhat.com>
482
483 * elf32-m32c.c (m32c_elf_relax_section): Initialise 'gap'.
484
485 2006-03-02 Richard Sandiford <richard@codesourcery.com>
486
487 * elf32-i386.c (elf_i386_create_dynamic_sections): Use
488 elf_vxworks_create_dynamic_sections.
489 (elf_i386_size_dynamic_sections): Remove VxWorks GOT and PLT
490 symbol handling.
491 * elf32-ppc.c (ppc_elf_create_dynamic_sections): Use
492 elf_vxworks_create_dynamic_sections.
493 (ppc_elf_size_dynamic_sections): Remove VxWorks GOT and PLT
494 symbol handling.
495 * elf-vxworks.c (elf_vxworks_create_dynamic_sections): New function.
496 * elf-vxworks.h (elf_vxworks_create_dynamic_sections): Declare.
497
498 2006-03-02 Richard Sandiford <richard@codesourcery.com>
499
500 * elf32-i386.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
501 (elf_backend_link_output_symbol_hook): Use
502 elf_vxworks_link_output_symbol_hook instead.
503 * elf32-ppc.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
504 (elf_backend_link_output_symbol_hook): Use
505 elf_vxworks_link_output_symbol_hook instead.
506 * elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Provide the
507 same interface as elf_backend_link_output_symbol_hook.
508 * elf-vxworks.h (elf_vxworks_link_output_symbol_hook): Update
509 prototype accordingly.
510
511 2006-03-02 Richard Sandiford <richard@codesourcery.com>
512
513 * elf32-ppc.c (ppc_elf_plt_type): New enumeration.
514 (ppc_elf_link_hash_table): Replace old_got and new_got with
515 plt_type and can_use_new_plt.
516 (ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS,
517 SEC_LOAD and SEC_READONLY to the VxWorks .plt flags.
518 (ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt.
519 Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt.
520 (ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to
521 either plt_type == PLT_OLD or plt_type == PLT_NEW. Assert that
522 this function should not be called for VxWorks targets.
523 (ppc_elf_tls_setup): Use plt_type instead of old_got.
524 (allocate_got): Likewise. Rearrange so that max_before_header
525 is only used for PLT_OLD and PLT_NEW.
526 (allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks.
527 (ppc_elf_size_dynamic_sections): Likewise.
528 (ppc_elf_relax_section): Likewise.
529 (ppc_elf_relocate_section): Likewise.
530 (ppc_elf_finish_dynamic_symbol): Likewise.
531 (ppc_elf_vxworks_link_hash_table_create): Initialize plt_type.
532
533 2006-02-28 Richard Sandiford <richard@codesourcery.com>
534
535 * elf32-i386.c (elf_i386_link_hash_table): Add next_tls_desc_index.
536 (elf_i386_link_hash_table_create): Initialize it.
537 (elf_i386_compute_jump_table_size): Use it instead of
538 srelplt->reloc_count.
539 (allocate_dynrelocs): Likewise.
540 (elf_i386_size_dynamic_sections): Likewise.
541 (elf_i386_relocate_section): Likewise.
542
543 2006-02-27 Jakub Jelinek <jakub@redhat.com>
544
545 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle S flag.
546 (_bfd_elf_write_section_eh_frame): Likewise.
547
548 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
549
550 * po/Make-in: Add html target.
551
552 2006-02-27 Richard Sandiford <richard@codesourcery.com>
553
554 * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Use the
555 cached hgot entry to check for _GLOBAL_OFFSET_TABLE_.
556 * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise.
557 * elf32-bfin.c (bfin_finish_dynamic_symbol): Likewise.
558 * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
559 * elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
560 * elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise.
561 * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise.
562 * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Likewise.
563 * elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise.
564 * elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise.
565 * elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise.
566 * elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise.
567 * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likewise.
568 * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
569 * elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise. Also use
570 the cached hplt entry to check for _PROCEDURE_LINKAGE_TABLE_.
571 * elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise.
572 * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
573 * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise.
574 * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
575
576 2006-02-25 Richard Sandiford <richard@codesourcery.com>
577
578 * elf-bfd.h (elf_link_hash_table): Add hplt field.
579 * elflink.c (_bfd_elf_create_dynamic_sections): Initialize it.
580 * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise.
581 * elf32-frv.c (_frv_create_got_section): Likewise.
582 * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise.
583 * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise.
584 * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.
585 * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise.
586 * elf32-i386.c (elf_i386_link_hash_table): Remove hgot and hplt.
587 (elf_i386_link_hash_table_create): Don't initialize them.
588 (elf_i386_size_dynamic_sections): Use the generic ELF hplt and
589 hgot fields.
590 (elf_i386_finish_dynamic_symbol): Likewise.
591 * elf32-ppc.c (ppc_elf_link_hash_table): Remove hplt.
592 (ppc_elf_size_dynamic_sections): Use the generic ELF hplt fields.
593 (ppc_elf_finish_dynamic_symbol): Likewise.
594
595 2006-02-24 DJ Delorie <dj@redhat.com>
596
597 * elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs.
598 (m32c_elf_relocate_section): Don't relocate them.
599 (compare_reloc): New.
600 (relax_reloc): Remove.
601 (m32c_offset_for_reloc): New.
602 (m16c_addr_encodings): New.
603 (m16c_jmpaddr_encodings): New.
604 (m32c_addr_encodings): New.
605 (m32c_elf_relax_section): Relax jumps and address displacements.
606 (m32c_elf_relax_delete_bytes): Adjust for internal syms. Fix up
607 short jumps.
608
609 * reloc.c: Add m32c relax relocs.
610 * libbfd.h: Regenerate.
611 * bfd-in2.h: Regenerate.
612
613 2006-02-24 H.J. Lu <hongjiu.lu@intel.com>
614
615 PR ld/2218
616 * elf-bfd.h (elf_backend_data): Add elf_backend_fixup_symbol.
617 (_bfd_elf_link_hash_fixup_symbol): New.
618
619 * elflink.c (_bfd_elf_link_hash_fixup_symbol): New.
620 (_bfd_elf_fix_symbol_flags): Call elf_backend_fixup_symbol if
621 it isn't NULL.
622
623 * elfxx-ia64.c (elf_backend_fixup_symbol): Defined.
624
625 * elfxx-target.h (elf_backend_fixup_symbol): New.
626 (elfNN_bed): Initialize elf_backend_fixup_symbol.
627
628 2006-02-23 H.J. Lu <hongjiu.lu@intel.com>
629
630 * cpu-ia64-opc.c (ins_immu5b): New.
631 (ext_immu5b): Likewise.
632 (elf64_ia64_operands): Add IMMU5b.
633
634 2006-02-21 Alan Modra <amodra@bigpond.net.au>
635
636 PR ld/2218
637 * elf32-arm.c (allocate_dynrelocs): Ensure undef weak sym in pie
638 is dynamic.
639 * elf32-hppa.c (allocate_dynrelocs): Likewise.
640 * elf32-i386.c (allocate_dynrelocs): Likewise.
641 * elf32-s390.c (allocate_dynrelocs): Likewise.
642 * elf32-sh.c (allocate_dynrelocs): Likewise.
643 * elf64-s390.c (allocate_dynrelocs): Likewise.
644 * elf64-x86-64.c (allocate_dynrelocs): Likewise.
645 * elf32-m32r.c (allocate_dynrelocs): Likewise. Discard relocs
646 on undef weak with non-default visibility too.
647 * elfxx-sparc.c (allocate_dynrelocs): Ditto.
648
649 2006-02-21 Alan Modra <amodra@bigpond.net.au>
650
651 * bfd.c: (_bfd_default_error_handler): Don't call abort on
652 error, instead call _exit.
653 (_bfd_abort): Call _exit not xexit.
654
655 2006-02-17 Kevin Buettner <kevinb@redhat.com>
656
657 * elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):
658 New functions.
659 * elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.
660
661 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
662 Anil Paranjape <anilp1@kpitcummins.com>
663 Shilin Shakti <shilins@kpitcummins.com>
664
665 * Makefile.am: Add xc16x related entry
666 * Makefile.in: Regenerate
667 * archures.c: Add bfd_xc16x_arch
668 * bfd-in2.h: Regenerate
669 * config.bfd: Add xc16x-*-elf
670 * configure.in: Add bfd_elf32_xc16x_vec
671 * configure: Regenerate.
672 * targets.c: Added xc16x related information
673 * cpu-xc16x.c: New file
674 * reloc.c: Add new relocations specific to xc16x:
675 BFD_RELOC_XC16X_PAG, BFD_RELOC_XC16X_POF, BFD_RELOC_XC16X_SEG,
676 BFD_RELOC_XC16X_SOF
677 * elf32-xc16x.c: New file.
678
679 2006-02-17 Alan Modra <amodra@bigpond.net.au>
680
681 * elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.
682 * elf64-ppc.c (allocate_dynrelocs): Likewise.
683
684 2006-02-17 Alan Modra <amodra@bigpond.net.au>
685
686 PR ld/2218
687 * elf64-ppc.c (allocate_dynrelocs): Ensure undef weak sym is
688 dynamic.
689 (ppc64_elf_relocate_section): Check output reloc section size.
690 * elf32-ppc.c (allocate_dynrelocs): Simplify undef weak test.
691
692 2006-02-16 H.J. Lu <hongjiu.lu@intel.com>
693
694 PR ld/2322
695 * elf.c (get_segment_type): New function.
696 (_bfd_elf_print_private_bfd_data): Use it.
697 (print_segment_map): New function.
698 (assign_file_positions_for_segments): Call print_segment_map
699 when there are not enough room for program headers.
700
701 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
702
703 * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Use
704 traditional MIPS ELF targets.
705
706 2006-02-15 H.J. Lu <hongjiu.lu@intel.com>
707
708 PR binutils/2338
709 * dwarf2.c (check_function_name): New function.
710 (_bfd_dwarf2_find_nearest_line): Use check_function_name to
711 check if function is correct.
712
713 2006-02-16 Alan Modra <amodra@bigpond.net.au>
714
715 * elflink.c (_bfd_elf_default_action_discarded): Return 0 for
716 debug sections.
717 (elf_link_input_bfd): Adjust comments.
718
719 2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
720
721 * elf.c (copy_private_bfd_data): Minor update.
722
723 2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
724
725 PR binutils/2258
726 * elf.c (copy_private_bfd_data): Renamed to ...
727 (rewrite_elf_program_header): This.
728 (copy_elf_program_header): New function.
729 (copy_private_bfd_data): Likewise.
730
731 2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
732
733 * archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e,
734 bfd_mach_mcf5307, bfd_mach_mcf5407, bfd_mach_mcf528x,
735 bfd_mach_mcfv4e, bfd_mach_mcf521x, bfd_mach_mcf5249,
736 bfd_mach_mcf547x, bfd_mach_mcf548x): Remove.
737 (bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_div,
738 bfd_mach_mcf_isa_a_div_mac, bfd_mach_mcf_isa_a_div_emac,
739 bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
740 bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_aplus_usp,
741 bfd_mach_mcf_isa_aplus_usp_mac, bfd_mach_mcf_isa_aplus_usp_emac,
742 bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac,
743 bfd_mach_mcf_isa_b_usp_float, bfd_mach_mcf_isa_b_usp_float_mac,
744 bfd_mach_mcf_isa_b_usp_float_emac): New.
745 (bfd_default_scan): Update coldfire mapping.
746 * bfd-in.h (bfd_m68k_mach_to_features,
747 bfd_m68k_features_to_mach): Declare.
748 * bfd-in2.h: Rebuilt.
749 * cpu-m68k.c (arch_info_struct): Add new coldfire machines,
750 adjust legacy names.
751 (m68k_arch_features): New.
752 (bfd_m68k_mach_to_features,
753 bfd_m68k_features_to_mach): Define.
754 * elf32-m68k.c (elf32_m68k_object_p): New.
755 (elf32_m68k_merge_private_bfd_data): Merge the CF EF flags.
756 (elf32_m68k_print_private_bfd_data): Print the CF EF flags.
757 (elf_backend_object_p): Define.
758 * ieee.c (ieee_write_processor): Update coldfire machines.
759 * libbfd.h: Rebuilt.
760
761 2006-02-06 Steve Ellcey <sje@cup.hp.com>
762
763 * elfxx-ia64.c (elfNN_ia64_fake_sections): Set SHF_IA_64_HP_TLS
764 if SHF_TLS is set.
765
766 2006-02-05 Arnold Metselaar <arnold.metselaar@planet.nl>
767
768 * coff-z80.c (r_imm24): New howto.
769 (rtype2howto): New case R_IMM24.
770 (coff_z80_reloc_type_lookup): New case BFD_RELOC_24.
771 (extra_case): Use bfd_get_8 for R_IMM8, new case R_IMM24.
772
773 2006-02-04 Richard Sandiford <richard@codesourcery.com>
774
775 * elfxx-mips.c (mips_elf_initialize_tls_index): If a TLS symbol
776 has already been assigned a GOT index, copy that index to the
777 current hash table entry.
778
779 2006-02-01 Eric Botcazou <ebotcazou@libertysurf.fr>
780
781 * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
782 for call-to-undefweak reloc overflow.
783
784 2006-01-31 Eric Botcazou <ebotcazou@libertysurf.fr>
785
786 * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
787 for 32-bit relocs overflow.
788
789 2006-01-27 Paul Brook <paul@codesourcery.com>
790
791 * elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb
792 objects.
793
794 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
795
796 Introduce TLS descriptors for i386 and x86_64.
797 * reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC,
798 BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC,
799 BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New.
800 * libbfd.h, bfd-in2.h: Rebuilt.
801 * elf32-i386.c (elf_howto_table): New relocations.
802 (R_386_tls): Adjust.
803 (elf_i386_reloc_type_lookup): Map new relocations.
804 (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
805 (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
806 (struct elf_i386_link_hash_entry): Add tlsdesc_got field.
807 (struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field.
808 (elf_i386_local_tlsdesc_gotent): New macro.
809 (struct elf_i386_link_hash_table): Add sgotplt_jump_table_size.
810 (elf_i386_compute_jump_table_size): New macro.
811 (link_hash_newfunc): Initialize tlsdesc_got.
812 (elf_i386_link_hash_table_create): Set sgotplt_jump_table_size.
813 (elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and
814 R_386_TLS_DESC_CALL.
815 (elf_i386_check_relocs): Likewise. Allocate space for
816 local_tlsdesc_gotent.
817 (elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and
818 R_386_TLS_DESC_CALL.
819 (allocate_dynrelocs): Count function PLT relocations. Reserve
820 space for TLS descriptors and relocations.
821 (elf_i386_size_dynamic_sections): Reserve space for TLS
822 descriptors and relocations. Set up sgotplt_jump_table_size.
823 Don't zero reloc_count in srelplt.
824 (elf_i386_always_size_sections): New. Set up _TLS_MODULE_BASE_.
825 (elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and
826 R_386_TLS_DESC_CALL.
827 (elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
828 (elf_backend_always_size_sections): Define.
829 * elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC,
830 R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL.
831 (R_X86_64_standard): Adjust.
832 (x86_64_reloc_map): Map new relocs.
833 (elf64_x86_64_rtype_to_howto): New, split out of...
834 (elf64_x86_64_info_to_howto): ... this function, and...
835 (elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val.
836 (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
837 (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
838 (struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field.
839 (struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field.
840 (elf64_x86_64_local_tlsdesc_gotent): New macro.
841 (struct elf64_x86_64_link_hash_table): Add tlsdesc_plt,
842 tlsdesc_got and sgotplt_jump_table_size fields.
843 (elf64_x86_64_compute_jump_table_size): New macro.
844 (link_hash_newfunc): Initialize tlsdesc_got.
845 (elf64_x86_64_link_hash_table_create): Initialize new fields.
846 (elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and
847 R_X86_64_TLSDESC_CALL.
848 (elf64_x86_64_check_relocs): Likewise. Allocate space for
849 local_tlsdesc_gotent.
850 (elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and
851 R_X86_64_TLSDESC_CALL.
852 (allocate_dynrelocs): Count function PLT relocations. Reserve
853 space for TLS descriptors and relocations.
854 (elf64_x86_64_size_dynamic_sections): Reserve space for TLS
855 descriptors and relocations. Set up sgotplt_jump_table_size,
856 tlsdesc_plt and tlsdesc_got. Make room for them. Don't zero
857 reloc_count in srelplt. Add dynamic entries for DT_TLSDESC_PLT
858 and DT_TLSDESC_GOT.
859 (elf64_x86_64_always_size_sections): New. Set up
860 _TLS_MODULE_BASE_.
861 (elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and
862 R_386_TLS_DESC_CALL.
863 (elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
864 (elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and
865 DT_TLSDESC_GOT. Set up TLS descriptor lazy resolver PLT entry.
866 (elf_backend_always_size_sections): Define.
867
868 2006-01-17 H.J. Lu <hongjiu.lu@intel.com>
869
870 PR binutils/2096
871 * dwarf2.c (comp_unit_contains_address): Update comment.
872 (_bfd_dwarf2_find_nearest_line): Use section's vma, instead of
873 lma. Return TRUE only if both comp_unit_contains_address and
874 comp_unit_find_nearest_line return TRUE.
875 (_bfd_dwarf2_find_line): Use section's vma, instead of lma.
876
877 2006-01-18 Alan Modra <amodra@bigpond.net.au>
878
879 * elf-bfd.h (struct elf_backend_data): Add gc_mark_dynamic_ref.
880 (bfd_elf_gc_mark_dynamic_ref_symbol): Declare.
881 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Rename from
882 elf_gc_mark_dynamic_ref_symbol. Make global.
883 (bfd_elf_gc_sections): Call bed->gc_mark_dynamic_ref.
884 * elfxx-target.h (elf_backend_gc_mark_dynamic_ref): Define.
885 (elfNN_bed): Init new field.
886 * elf64-ppc.c (elf_backend_gc_mark_dynamic_ref): Define.
887 (ppc64_elf_gc_mark_dynamic_ref): New function.
888
889 2006-01-17 Alan Modra <amodra@bigpond.net.au>
890
891 * elf64-ppc.c (ppc64_elf_gc_mark_hook): Don't hang forever in loop.
892
893 2006-01-17 Nick Clifton <nickc@redhat.com>
894
895 PR binutils/2159
896 * elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused
897 parameters.
898
899 2006-01-11 Nick Clifton <nickc@redhat.com>
900
901 * elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry
902 into the newly (re)allocated map array.
903
904 2006-01-09 Alexis Wilke <alexis_wilke@yahoo.com>
905
906 * peXXigen.c (tbl): Add comma after "HIGH3ADJ".
907
908 2006-01-01 Jakub Jelinek <jakub@redhat.com>
909
910 * elf64-ppc.c (ppc64_elf_action_discarded): Return 0
911 for .toc1 section.
912
913 For older changes see ChangeLog-2005
914 \f
915 Local Variables:
916 mode: change-log
917 left-margin: 8
918 fill-column: 74
919 version-control: never
920 End:
This page took 0.049117 seconds and 4 git commands to generate.