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