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