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