bfd:
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2010-03-25 Joseph Myers <joseph@codesourcery.com>
2
3 * Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo.
4 (ALL_MACHINES_CFILES): Add cpu-tic6x.c.
5 (BFD32_BACKENDS): Add elf32-tic6x.lo.
6 (BFD32_BACKENDS_CFILES): Add elf32-tic6x.c.
7 * Makefile.in: Regenerate.
8 * archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New.
9 (bfd_archures_list): Update.
10 * config.bfd (tic6x-*-elf): New.
11 * configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec):
12 New.
13 * configure: Regenerate.
14 * cpu-tic6x.c, elf32-tic6x.c: New.
15 * reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12,
16 BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7,
17 BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16,
18 BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B,
19 BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W,
20 BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B,
21 BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W,
22 BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H,
23 BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W,
24 BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W,
25 BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31,
26 BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN,
27 BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New.
28 * targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New.
29 (_bfd_target_vector): Update.
30 * bfd-in2.h, libbfd.h: Regenerate.
31
32 2010-03-24 H.J. Lu <hongjiu.lu@intel.com>
33
34 * aout-target.h: Update copyright year.
35 * aout-tic30.c: Likewise.
36 * coff-alpha.c: Likewise.
37 * coff-rs6000.c: Likewise.
38 * coff64-rs6000.c: Likewise.
39 * elf64-mips.c: Likewise.
40 * ieee.c: Likewise.
41 * libecoff.h: Likewise.
42 * mach-o-target.c: Likewise.
43 * mach-o.c: Likewise.
44 * oasys.c: Likewise.
45 * targets.c: Likewise.
46
47 2010-03-24 H.J. Lu <hongjiu.lu@intel.com>
48
49 * libbfd-in.h: Update copyright year.
50
51 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
52
53 PR ld/11413
54 * elflink.c (_bfd_elf_add_default_symbol): Check !executable
55 instead of shared.
56
57 2010-03-19 Jie Zhang <jie@codesourcery.com>
58
59 * elf32-arm.c (struct section_list): Remove.
60 (section_list): Remove typedef.
61 (record_section_with_arm_elf_section_data): Remove.
62 (find_arm_elf_section_entry): Remove.
63 (get_arm_elf_section_data): Use is_arm_elf.
64 (unrecord_section_with_arm_elf_section_data): Remove.
65 (elf32_arm_new_section_hook): Don't call
66 record_section_with_arm_elf_section_data.
67 (elf32_arm_write_section): Set mapcount to -1 when
68 the map has been used. Don't call
69 unrecord_section_with_arm_elf_section_data.
70 (unrecord_section_via_map_over_sections): Remove.
71 (elf32_arm_close_and_cleanup): Remove.
72 (elf32_arm_bfd_free_cached_info): Remove.
73 (bfd_elf32_close_and_cleanup): Don't define.
74 (bfd_elf32_bfd_free_cached_info): Don't define.
75
76 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
77
78 PR binutils/11396
79 * libcoff-in.h (pe_tdata): Add dont_strip_reloc.
80 * libcoff.h: Regenerated.
81
82 * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Clear F_RELFLG
83 if dont_strip_reloc is set.
84 (_bfd_XX_bfd_copy_private_bfd_data_common): Set
85 dont_strip_reloc on output if there is no .reloc and
86 IMAGE_FILE_RELOCS_STRIPPED isn't set in input.
87
88 2010-03-18 Wei Guozhi <carrot@google.com>
89
90 PR gas/11323
91 * elf32-arm.c (elf32_arm_reloc_map): Map BFD_RELOC_ARM_GOT_PREL to
92 R_ARM_GOT_PREL.
93 * reloc.c (BFD_RELOC_ARM_GOT_PREL): New ARM relocation.
94 * bfd-in2.h: Regenerate.
95 * libbfd.h: Regenerate.
96
97 2010-03-17 H.J. Lu <hongjiu.lu@intel.com>
98
99 * reloc.c (BFD_RELOC_SPU_PIC18): Removed.
100 (BFD_RELOC_SPU_STUB): Likewise.
101
102 2010-03-17 Jie Zhang <jie@codesourcery.com>
103
104 * elf.c (assign_file_positions_for_load_sections): Avoid
105 overflow.
106
107 2010-03-17 Alan Modra <amodra@gmail.com>
108
109 * plugin.c (bfd_plugin_object_p): Pass iostream to fileno using
110 proper type.
111
112 2010-03-17 Alan Modra <amodra@gmail.com>
113
114 * elf32-arm.c (cortex_a8_erratum_scan): Warning fix.
115
116 2010-03-16 Alan Modra <amodra@gmail.com>
117
118 * elf64-ppc.c (struct ppc_link_hash_table): Add do_toc_opt.
119 (ppc64_elf_edit_toc): Set it here.
120 (ha_reloc_match): New function.
121 (ppc64_elf_relocate_section): Optimize bigtoc insn sequences.
122
123 2010-03-15 Alan Modra <amodra@gmail.com>
124
125 * elf64-ppc.c (ppc64_elf_has_small_toc_reloc): New function.
126 * elf64-ppc.h (ppc64_elf_has_small_toc_reloc): Declare.
127
128 2010-03-14 Alan Modra <amodra@gmail.com>
129
130 PR ld/11378
131 * elf64-ppc.h (ppc64_elf_check_init_fini): Declare.
132 * elf64-ppc.c (call_check_done): Define.
133 (ppc64_elf_add_symbol_hook): Substitute bfd_get_section_name macro.
134 (ppc64_elf_check_relocs, ppc64_elf_size_dynamic_sections): Likewise.
135 (ppc64_elf_finish_multitoc_partition): Remove unnecessary check.
136 (toc_adjusting_stub_needed): Use call_check_done rather than toc_off.
137 Simplify return logic. Iterate over all .init and .fini fragments
138 by recursion. Set makes_toc_func_call here..
139 (ppc64_elf_next_input_section): ..rather than here.
140 (check_pasted_section, ppc64_elf_check_init_fini): New functions.
141
142 2010-03-13 Alan Modra <amodra@gmail.com>
143
144 PR ld/11375
145 * elf64-ppc.c (ppc_type_of_stub): Always set *hash to the
146 function descriptor symbol if there is one, not just for plt stubs.
147 (ppc64_elf_relocate_section): Use fdh on all ppc_get_stub_entry calls.
148
149 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
150
151 * elflink.c (bfd_elf_size_dynamic_sections): Don't emit base
152 version twice.
153 Skip it when constructing def.vd_next.
154
155 * elf32-i386.c (TARGET_LITTLE_SYM): Redefine to
156 bfd_elf32_i386_sol2_vec.
157 (TARGET_LITTLE_NAME): Redefine to elf32-i386-sol2.
158 (elf32_bed): Redefine to elf32_i386_sol2_bed.
159 (elf_backend_want_plt_sym): Redefine to 1.
160
161 * elf64-x86-64.c (TARGET_LITTLE_SYM): Redefine to
162 bfd_elf64_x86_64_sol2_vec.
163 (TARGET_LITTLE_NAME): Redefine to elf64-x86-64-sol2.
164 (elf64_bed): Redefine to elf64_x86_64_sol2_bed.
165 (elf_backend_want_plt_sym): Redefine to 1.
166
167 * config.bfd (i[3-7]86-*-solaris2*): Set targ_defvec to
168 bfd_elf32_i386_sol2_vec.
169 Replace bfd_elf64_x86_64_vec by bfd_elf64_x86_64_sol2_vec in
170 targ64_selvecs.
171 (x86_64-*-solaris2*): Set targ_defvec to bfd_elf32_i386_sol2_vec.
172 Replace bfd_elf64_x86_64_vec by bfd_elf64_x86_64_sol2_vec in
173 targ_selvecs.
174
175 * configure.in: Handle bfd_elf32_i386_sol2_vec,
176 bfd_elf64_x86_64_sol2_vec.
177 * configure: Regenerate.
178
179 * targets.c (bfd_elf32_i386_sol2_vec): Declare.
180 (bfd_elf64_x86_64_sol2_vec): Declare.
181 (_bfd_target_vector): Add bfd_elf32_i386_sol2_vec,
182 bfd_elf64_x86_64_sol2_vec.
183
184 2010-03-04 Daniel Jacobowitz <dan@codesourcery.com>
185
186 * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip non-program
187 sections.
188
189 2010-03-04 Alan Modra <amodra@gmail.com>
190
191 PR 11302
192 * dwarf2.c (read_abbrevs): Return NULL on alloc failures.
193 (read_attribute_value, decode_line_info): Likewise.
194 (add_line_info, read_rangelist): Return FALSE on alloc failures.
195 (arange_add, sort_line_sequences): Likewise.
196 (find_abstract_instance_name): Handle failures from called funcs.
197 (scan_unit_for_symbols, parse_comp_unit, decode_line_info): Likewise.
198 (find_line): Realloc to a temp, and handle alloc fail.
199
200 2010-03-03 Daniel Jacobowitz <dan@codesourcery.com>
201
202 * elf32-arm.c (elf32_arm_output_arch_local_syms): Do not add
203 a mapping symbol to an empty section.
204
205 2010-03-02 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
206
207 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add a check of the
208 return value from the call to _bfd_elf_merge_object_attributes.
209
210 2010-03-02 Christophe Lyon <christophe.lyon@st.com>
211 Alan Modra <amodra@gmail.com>
212
213 * elf32-arm.c (a8_erratum_fix): Add st_type field to record the
214 destination mode of the a8 stub.
215 (elf32_arm_link_hash_table): Add top_id field.
216 (elf32_arm_link_hash_table_create): Initialize top_id.
217 (arm_type_of_stub): Update prototype, st_type can now be updated
218 by this function. Actual destination address in case of PLT is
219 computed here, to help factorizing code.
220 (elf32_arm_stub_name): Update prototype, use stub_type additional
221 parameter to build stub name.
222 (elf32_arm_get_stub_entry): Update prototype, use stub_type
223 additional parameter to build stub entry.
224 (arm_build_one_stub): Use bfd_put_16/bfd_put_32 instead of
225 put_thumb_insn/put_arm_insn as BE8 encoding is now handled later.
226 Call elf32_arm_final_link_relocate to process all in-stub
227 relocations.
228 (elf32_arm_setup_section_lists): Update top_id.
229 (cortex_a8_erratum_scan): Record stub destination mode.
230 (elf32_arm_size_stubs): Update call to arm_type_of_stub according
231 to new prototype.
232 (elf32_arm_final_link_relocate): Enable processing of in-stub
233 REL32 relocations. Rely on arm_type_of_stub to detect if a stub is
234 needed, enabling code factorization.
235 (elf32_arm_final_link): Process stub sections.
236 (elf32_arm_output_map_sym): Add entry to code/data map.
237
238 2010-03-01 David S. Miller <davem@davemloft.net>
239
240 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): When STT_GNU_IFUNC and
241 h->def_regular, set h->ref_regular.
242 (allocate_dynrelocs): Only force output of STT_GNU_IFUNC plt entries
243 and dynamic relocations if h->ref_regular.
244
245 * elfxx-sparc.c (struct elf_reloc_map): Delete.
246 (sparc_reloc_map): Delete.
247 (_bfd_sparc_elf_reloc_type_lookup): Explicitly handle each
248 relocation type in switch statements.
249
250 2010-02-25 Alan Modra <amodra@gmail.com>
251
252 PR ld/11304
253 * elf.c (_bfd_elf_init_private_section_data): Rename need_group
254 to final_link and invert. For final link allow some flags to
255 differ. Don't specially allow flags to be all zero.
256
257 2010-02-24 Alan Modra <amodra@gmail.com>
258
259 PR binutils/10858
260 * elfxx-mips.c (mips_elf_create_dynamic_relocation): Ise
261 SYMBOL_REFERENCES_LOCAL to exclude entries from the dynamic symbol
262 table.
263
264 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
265
266 PR binutils/11297
267 * elf32-avr.c (elf_avr_howto_table): Add R_AVR_8.
268 (avr_reloc_map): Map BFD_RELOC_8 to R_AVR_8.
269
270 2010-02-22 Alan Modra <amodra@gmail.com>
271
272 * reloc.c (bfd_check_overflow): When forming addrmask, shift
273 fieldmask left by rightshift.
274 (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all
275 overflow checks.
276
277 2010-02-20 H.J. Lu <hongjiu.lu@intel.com>
278
279 * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check
280 STT_GNU_IFUNC on large common symbol.
281
282 2010-02-18 H.J. Lu <hongjiu.lu@intel.com>
283
284 * elf32-i386.c (elf_i386_add_symbol_hook): Don't set
285 has_ifunc_symbols if the symbol comes from a shared library.
286 * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
287 * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
288 * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
289 * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
290 * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Likewise.
291
292 2010-02-19 Alan Modra <amodra@gmail.com>
293
294 * elf.c (_bfd_elf_fixup_group_sections): New function, split out from..
295 (_bfd_elf_copy_private_header_data): ..here.
296 * elflink.c (_bfd_elf_size_group_sections): New function.
297 (bfd_elf_size_dynamic_sections): Call it.
298 * elf-bfd.h (_bfd_elf_size_group_sections): Declare.
299 (_bfd_elf_fixup_group_sections): Declare.
300
301 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
302
303 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for
304 merging Tag_DIV_use, Tag_MPextension_use, and
305 Tag_MPextension_use_legacy tags.
306
307 2010-02-18 Alan Modra <amodra@gmail.com>
308
309 * elf.c (bfd_elf_set_group_contents): Revert accidental 2009-01-15
310 commit. Don't write zeros for removed group members.
311 (_bfd_elf_copy_private_header_data): Adjust size of group section
312 when group members are removed by objcopy.
313
314 2010-02-15 Dave Korn <dave.korn.cygwin@gmail.com>
315
316 PR binutils/11280
317 * configure.host (*-*-solaris2.11): Add host define to select
318 valid default code page for windres/windmc on solaris.
319
320 2010-02-15 Nick Clifton <nickc@redhat.com>
321
322 * po/vi.po: Updated Vietnamese translation.
323
324 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
325
326 * elf32-arm.c (elf32_arm_output_arch_local_syms): add
327 missing mapping symbol to data only sections.
328
329 2010-02-11 David S. Miller <davem@davemloft.net>
330
331 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): For R_SPARC_GOTDATA_OP_HIX22
332 and R_SPARC_GOTDATA_OP_LOX10, only bump the GOT refcount for global
333 symbols.
334 (_bfd_sparc_elf_gc_sweep_hook): Likewise only decrement the GOT count for
335 these relocs on global symbols.
336 (gdopoff): New.
337 (_bfd_sparc_elf_relocate_section): Perform GOTDATA optimizations on
338 local symbol references which are not STT_GNU_IFUNC. Handle
339 relocation of them like R_SPARC_HIX22 and R_SPARC_LOX10 respectively,
340 and deal with negative vs. non-negative values properly.
341
342 2010-02-09 Tristan Gingold <gingold@adacore.com>
343
344 * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Adjust addend for
345 non-external relocation.
346
347 2010-02-09 Alan Modra <amodra@gmail.com>
348
349 * elf64-ppc.c (merge_got_entries): Move earlier in file.
350 (allocate_dynrelocs): Merge got entries here if not doing multi-toc.
351 (ppc64_elf_size_dynamic_sections): Similarly merge tlsld_got.
352 (ppc64_elf_layout_multitoc): Don't resize if we have already
353 merged got entries.
354
355 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
356
357 * elf-bfd.h (elfcore_write_s390_timer, elfcore_write_s390_todcmp,
358 elfcore_write_s390_todpreg, elfcore_write_s390_ctrs,
359 elfcore_write_s390_prefix): New.
360 * elf.c (elfcore_write_s390_timer, elfcore_write_s390_todcmp,
361 elfcore_write_s390_todpreg, elfcore_write_s390_ctrs,
362 elfcore_write_s390_prefix): New.
363 (elfcore_grok_note): Handle NT_S390_TIMER, NT_S390_TODCMP,
364 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
365 (elfcore_write_register_note): Handle .reg-s390-timer,
366 .reg-s390-todcmp, .reg-s390-todpreg, .reg-s390-ctrs,
367 .reg-s390-prefix section.
368
369 2010-02-09 Alan Modra <amodra@gmail.com>
370
371 * elf64-ppc.c (struct got_entry): Make tls_type and is_indirect
372 unsigned char. Update variables and code using them throughout file.
373 (struct ppc_link_hash_entry): Likewise for tls_mask.
374
375 * elf64-ppc.c (ppc64_elf_layout_multitoc): Don't merge local got ents.
376
377 * elf64-ppc.c (has_small_toc_reloc): Don't define.
378 (makes_toc_func_call, call_check_in_progress): Shuffle flags.
379 (struct ppc64_elf_obj_tdata): Add has_small_toc_reloc. Update
380 code setting the flag.
381 (ppc64_elf_next_toc_section): Group big-toc sections in
382 0x80008000 chunks.
383
384 2010-02-08 David S. Miller <davem@davemloft.net>
385
386 * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove sgot,
387 srelgot, splt, srelplt, and sgotplt members in favor of generic copies.
388
389 * elfxx-sparc.c (create_got_section): Delete.
390 (_bfd_sparc_elf_create_dynamic_sections): Don't call, the dynamic
391 section creator does that work for us. Use ->elf.foo instead of
392 ->foo where applicable.
393 (_bfd_sparc_elf_check_relocs): Use ->elf.foo instead of ->foo
394 where applicable.
395 (allocate_dynrelocs): Likewise.
396 (_bfd_sparc_elf_size_dynamic_sections): Likewise.
397 (_bfd_sparc_elf_relocate_section): Likewise.
398 (sparc_vxworks_build_plt_entry): Likewise.
399 (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
400 (sparc_finish_dyn): Likewise.
401 (sparc_vxworks_finish_exec_plt): Likewise.
402 (sparc_vxworks_finish_shared_plt): Likewise.
403 (_bfd_sparc_elf_finish_dynamic_sections): Likewise.
404
405 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use the SYMBOL_*
406 macros for visibilty and locality checks.
407 (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
408 (allocate_dynrelocs): Likewise.
409 (_bfd_sparc_elf_relocate_section): Likewise.
410 (_bfd_sparc_elf_finish_dynamic_symbol):Likewise.
411
412 * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Remove set
413 but never used local var 'dynobj'.
414
415 * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Handle
416 nocopyreloc.
417
418 * reloc.c (BFD_RELOC_SPARC_JMP_IREL): New.
419 (BFD_RELOC_SPARC_IRELATIVE): Likewise.
420 * bfd-in2.h: Regenerate.
421 * libbfd.h: Regenerate.
422
423 * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add loc_hash_table
424 and loc_hash_memory.
425 (_bfd_sparc_elf_link_hash_table_free): Declare.
426 * elf32-sparc.c (elf32_sparc_add_symbol_hook): New.
427 (elf_backend_add_symbol_hook, elf_backend_post_process_headers,
428 bfd_elf32_bfd_link_hash_table_free): Define.
429 * elf64-sparc.c (elf64_sparc_add_symbol_hook): Set
430 has_ifunc_symbols if STT_GNU_IFUNC.
431 (bfd_elf64_bfd_link_hash_table_free): Define.
432 (elf_backend_post_process_headers): Define always.
433 * elfxx-sparc.c (sparc_jmp_irel_howto, sparc_irelative_howto): New.
434 (sparc_reloc_map): Add entries for new IFUNC relocs.
435 (_bfd_sparc_elf_reloc_type_lookup): Handle new IFUNC relocs.
436 (_bfd_sparc_elf_info_to_howto_ptr): Likewise.
437 (elf_sparc_local_htab_hash, elf_sparc_local_htab_eq,
438 elf_sparc_get_local_sym_hash): New.
439 (_bfd_sparc_elf_create_dynamic_sections): Move PLT ops initialization
440 from here...
441 (_bfd_sparc_elf_link_hash_table_create): ... to here. Allocate
442 local hash table.
443 (_bfd_sparc_elf_link_hash_table_free): New.
444 (create_ifunc_sections): New.
445 (_bfd_sparc_elf_check_relocs): Unconditionally assign htab->elf.dynobj
446 and call create_ifunc_sections(). For local STT_GNU_IFUNC symbols
447 cons up a fake local hash table entry for it. Unconditionally add
448 a PLT refcount for STT_GNU_IFUNC symbols when h->def_regular. Count
449 dyn relocs for ifunc.
450 (_bfd_sparc_elf_adjust_dynamic_symbol): Handle ifunc.
451 (allocate_dynrelocs): Unconditionally emit a PLT entry when
452 STT_GNU_IFUNC and h->def_regular. Count GOT dyn relocs for ifunc.
453 (allocate_local_dynrelocs): New function.
454 (_bfd_sparc_elf_size_dynamic_sections): Invoke it over the local hash
455 table. Emit dynamic relocs to irelplt when not shared. Treat iplt
456 like splt.
457 (_bfd_sparc_elf_relocate_section): Handle ifunc relocations by hand.
458 (_bfd_sparc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc
459 plt in iplt/irelplt.
460
461 2010-02-08 Richard Sandiford <r.sandiford@uk.ibm.com>
462
463 * xcofflink.c (_bfd_xcoff_bfd_final_link): When calculating
464 max_contents_size, only consider sections whose contents must
465 be swapped in.
466
467 2010-02-09 Alan Modra <amodra@gmail.com>
468
469 * elf64-ppc.c (allocate_dynrelocs): Remove unused got structs here..
470 (ppc64_elf_size_dynamic_sections): ..and here..
471 (merge_got_entries): ..rather than here.
472
473 2010-02-09 Alan Modra <amodra@gmail.com>
474
475 * elf64-ppc.c (struct ppc_link_hash_table): Add do_multi_toc.
476 (has_small_toc_reloc): Define.
477 (ppc64_elf_check_relocs): Set the above flags.
478 (ppc64_elf_edit_opd): Delete obfd param.
479 (ppc64_elf_tls_optimize): Likewise.
480 (ppc64_elf_edit_toc): Likewise.
481 (ppc64_elf_tls_setup): Likewise. Add no_multi_toc param.
482 * elf64-ppc.h: Update prototypes.
483
484 2010-02-08 Alan Modra <amodra@gmail.com>
485
486 * section.c (struct bfd_section): Delete has_tls_reloc,
487 has_tls_get_addr_call, has_gp_reloc, need_finalize_relax, reloc_done.
488 Add sec_flg0 thru sec_flg5.
489 (BFD_FAKE_SECTION): Update for changed flags.
490 * ecoff.c (bfd_debug_section): Likewise.
491 * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
492 * elf64-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
493 (has_toc_reloc, makes_toc_func_call, call_check_in_progress): Update.
494 * elf32-xtensa.c (reloc_done): Define.
495 * elfxx-ia64.c (skip_relax_pass_0, skip_relax_pass_1): Update.
496 * bfd-in2.h: Regenerate.
497
498 2010-02-08 Tristan Gingold <gingold@adacore.com>
499
500 * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Set reloc.r_extern
501 for non-scattered relocations.
502
503 2010-02-08 Nathan Sidwell <nathan@codesourcery.com>
504
505 * elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty
506 apuinfo sections, only scan input sections once and reuse the
507 buffer.
508
509 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
510
511 * archures.c (bfd_mach_ppc_titan): Define.
512 * bfd-in2.h: Regenerate.
513 * cpu-powerpc.c (bfd_powerpc_archs): Add titan entry.
514
515 2010-02-08 Alan Modra <amodra@gmail.com>
516
517 * elf32-ppc.c (ppc_elf_check_relocs): Remove dead ifunc code.
518
519 2010-02-05 Sterling Augustine <sterling@tensilica.com>
520
521 * elf.c (assign_file_positions_for_load_sections) Update lma of
522 section if necessary. Fixes Bugzilla 11219.
523
524 2010-02-05 H.J. Lu <hongjiu.lu@intel.com>
525
526 * elf32-i386.c: Remove trailing white spaces.
527 * elf64-x86-64.c: Likewise.
528
529 2010-02-03 Nick Clifton <nickc@redhat.com>
530
531 * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add
532 entries for other architectures.
533 (struct elf_link_hash_table): Add hash_table_id field.
534 (elf_hash_table_id): New accessor macro.
535 * elflink.c (_bfd_elf_link_hash_table_init): Add target_id
536 parameter.
537 * elf-m10300.c (elf32_mn10300_hash_table): Check table id before
538 returning cast pointer.
539 (elf32_mn10300_link_hash_table_create): Identify new table as
540 containing MN10300 extensions.
541 (mn10300_elf_relax_section): Check pointer returned by
542 elf32_mn10300_hash_table.
543 * elf32-arm.c: Likewise, except using ARM extensions.
544 * elf32-avr.c: Likewise, except using AVR extensions.
545 * elf32-bfin.c: Likewise, except using BFIN extensions.
546 * elf32-cris.c: Likewise, except using CRIS extensions.
547 * elf32-frv.c: Likewise, except using FRV extensions.
548 * elf32-hppa.c: Likewise, except using HPPA32 extensions.
549 * elf32-i386.c: Likewise, except using I386 extensions.
550 * elf32-lm32.c: Likewise, except using LM32 extensions.
551 * elf32-m32r.c: Likewise, except using M32RM extensions.
552 * elf32-m68hc11.c: Likewise, except using M68HC11 extensions.
553 * elf32-m68hc1x.c: Likewise, except using M68HC11 extensions.
554 * elf32-m68hc1x.h: Likewise, except using M68HC11 extensions.
555 * elf32-m68k.c: Likewise, except using M68K extensions.
556 * elf32-microblaze.c: Likewise, except using MICROBLAZE extensions.
557 * elf32-ppc.c: Likewise, except using PPC32 extensions.
558 * elf32-s390.c: Likewise, except using S390 extensions.
559 * elf32-sh.c: Likewise, except using SH extensions.
560 * elf32-spu.c: Likewise, except using SPU extensions.
561 * elf32-xtensa.c: Likewise, except using XTENSA extensions.
562 * elf64-alpha.c: Likewise, except using ALPHA extensions.
563 * elf64-hppa.c: Likewise, except using HPPA64 extensions.
564 * elf64-ppc.c: Likewise, except using PPC64 extensions.
565 * elf64-s390.c: Likewise, except using S390 extensions.
566 * elf64-x86-64.c: Likewise, except using X86_64 extensions.
567 * elfxx-ia64.c: Likewise, except using IA64 extensions.
568 * elfxx-mips.c: Likewise, except using MIPS extensions.
569 * elfxx-sparc.c: Likewise, except using SPARC extensions.
570 * elfxx-sparc.h: Likewise, except using SPARC extensions.
571 * elf32-cr16.c (struct elf32_cr16_link_hash_table): Delete
572 redundant structure.
573 (elf32_cr16_hash_table): Delete unused macro.
574 (elf32_cr16_link_hash_traverse): Delete unused macro.
575 * elf32-score.c: Likewise.
576 * elf32-score7.c: Likewise.
577 * elf32-vax.c: Likewise.
578 * elf64-sh64.c: Likewise.
579
580 2010-02-03 Alan Modra <amodra@gmail.com>
581
582 * elf64-ppc.c (struct plt_entry): Move earlier in file.
583 (struct got_entry): Likewise. Add is_indirect and got.ent fields.
584 (struct ppc64_elf_obj_tdata): Change tlsld_got to be a struct got_entry.
585 Update all uses.
586 (struct ppc_link_hash_table): Add got_reli_size and second_toc_pass.
587 Remove no_multi_toc.
588 (update_local_sym_info, ppc64_elf_check_relocs): Clear is_indirect
589 when allocating a new struct got_entry.
590 (allocate_got): New function, extracted from..
591 (allocate_dynrelocs): ..here. Abort on got entry in non-ppc64 bfd.
592 (ppc64_elf_size_dynamic_sections): Track got relocs allocated in
593 .reliplt by got_reli_size. Set owner on ppc64_tlsld_got entries.
594 (ppc64_elf_setup_section_lists): Remove output_bfd param and
595 no_multi_toc, add add_stub_section and layout_sections_again. Stash
596 new params in htab. Extract some code to..
597 (ppc64_elf_start_multitoc_partition): ..here. New function.
598 (ppc64_elf_next_toc_section): Check for linker script errors. Handle
599 second pass toc scan.
600 (merge_got_entries, merge_global_got, reallocate_got): New functions.
601 (ppc64_elf_reinit_toc): Rename to..
602 (ppc64_elf_finish_multitoc_partition): ..this.
603 (ppc64_elf_layout_multitoc): New function.
604 (ppc64_elf_size_stubs): Delete output_bfd, add_stub_section and
605 layout_sections_again params.
606 (ppc64_elf_relocate_section): Handle indirect got entries.
607 * elf64-ppc.h: Update prototypes. Declare new functions.
608
609 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
610
611 * elf-bfd.h (elfcore_write_xstatereg): New.
612
613 * elf.c (elfcore_grok_xstatereg): New.
614 (elfcore_write_xstatereg): Likewise.
615 (elfcore_grok_note): Handle NT_X86_XSTATE.
616 (elfcore_write_register_note): Handle .reg-xstate section.
617
618 2010-02-01 Tristan Gingold <gingold@adacore.com>
619
620 * som.c (som_write_ar_hdr): Define this macro.
621
622 2010-01-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
623
624 * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L,
625 R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations that use the
626 linkage table pointer to use the global table pointer if not doing
627 a shared link.
628
629 2010-01-29 Joel Brobecker <brobecker@adacore.com>
630
631 * elf.c (elfcore_grok_lwpstatus): Do not overwrite the core signal
632 if it has already been set.
633
634 2010-01-27 Tristan Gingold <gingold@adacore.com>
635
636 * vms.h: Remove trailing spaces.
637 (struct hdr_struct): Remove unused hdr_c_cpr field.
638 (enum file_format_enum): Add comments.
639 * vms.c (vms_bfd_print_private_bfd_data): New function that
640 replaces the macro.
641 Remove trailing spaces.
642 * vms-misc.c: Improve comments.
643 (_bfd_vms_get_object_record): Also handle files without pads.
644 * vms-hdr.c (_bfd_vms_write_dbg): Fix format string.
645 * vms-gsd.c (struct flagdescstruct): Make name field const.
646 (gsyflagdesc): Fix typo.
647
648 2010-01-27 Alan Modra <amodra@gmail.com>
649
650 PR ld/11217
651 * elf64-ppc.c (struct ppc_link_hash_table): Add toc_bfd, toc_first_sec.
652 (ppc64_elf_setup_section_lists): Init them.
653 (ppc64_elf_next_toc_section): Don't partition multi-toc between .got
654 and .toc on the same input file.
655 (ppc64_elf_relocate_section): Correct GOT entry offset.
656
657 2010-01-26 Tristan Gingold <gingold@adacore.com>
658
659 * targets.c (BFD_JUMP_TABLE_ARCHIVE): Add initializer for write_ar_hdr.
660 (bfd_target): Add _bfd_write_ar_hdr_fn field.
661 * archive.c (is_bsd44_extended_name): New macro.
662 (_bfd_generic_read_ar_hdr_mag): Use it. Add extra_size.
663 (bfd_slurp_armap): Also check for "__.SYMDEF" as a BSD4.4 extended
664 name.
665 (_bfd_archive_bsd44_construct_extended_name_table): New function.
666 (_bfd_generic_write_ar_hdr): Ditto.
667 (_bfd_bsd44_write_ar_hdr): Ditto.
668 (_bfd_write_archive_contents): Call _bfd_write_ar_hdr.
669 (bsd_write_armap): Adjust firstreal computation.
670 * libbfd-in.h (struct areltdata): Add extra_size field.
671 (_bfd_generic_write_ar_hdr): Add prototype.
672 (_bfd_bsd44_write_ar_hdr): Ditto.
673 (_bfd_write_ar_hdr): Define.
674 (_bfd_noarchive_write_ar_hdr): Ditto.
675 (_bfd_archive_bsd_write_ar_hdr): Ditto.
676 (_bfd_archive_coff_write_ar_hdr): Ditto.
677 (_bfd_archive_bsd44_slurp_armap): Ditto.
678 (_bfd_archive_bsd44_slurp_extended_name_table): Ditto.
679 (_bfd_archive_bsd44_construct_extended_name_table): New prototype.
680 (_bfd_archive_bsd44_truncate_arname): Ditto.
681 (_bfd_archive_bsd44_write_armap): Ditto.
682 (_bfd_archive_bsd44_read_ar_hdr): Ditto.
683 (_bfd_archive_bsd44_write_ar_hdr): Ditto.
684 (_bfd_archive_bsd44_openr_next_archived_file): Ditto.
685 (_bfd_archive_bsd44_get_elt_at_index): Ditto.
686 (_bfd_archive_bsd44_generic_stat_arch_elt): Ditto.
687 (_bfd_archive_bsd44_update_armap_timestamp): Ditto.
688 * libbfd.h: Regenerate.
689 * oasys.c (oasys_write_ar_hdr): Define.
690 * libecoff.h (_bfd_ecoff_write_ar_hdr): Define.
691 * ieee.c (ieee_write_ar_hdr): Define.
692 * elf64-mips.c (bfd_elf64_archive_write_ar_hdr): Define.
693 * coff-rs6000.c (rs6000coff_vec): Adjust for write_ar_hdr field.
694 (bfd_pmac_xcoff_backend_data): Ditto.
695 * coff64-rs6000.c (rs6000coff64_vec): Ditto.
696 (bfd_xcoff_aix5_backend_data): Ditto.
697 * coff-alpha.c (alpha_ecoff_write_ar_hdr): Define.
698 * aout-target.h (MY_write_ar_hdr): Define it if not defined.
699 * aout-tic30.c (MY_write_ar_hdr): Ditto.
700 * mach-o-target.c (TARGET_NAME): Use _bfd_archive_bsd44 archive.
701 (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
702 (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
703 (bfd_mach_o_construct_extended_name_table)
704 (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
705 (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
706 (bfd_mach_o_update_armap_timestamp): Moved to mach-o.c
707 * mach-o.c (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
708 (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
709 (bfd_mach_o_construct_extended_name_table)
710 (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
711 (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
712 (bfd_mach_o_update_armap_timestamp): Moved from mach-o-target.c
713 * bfd-in2.h: Regenerate.
714
715 2010-01-26 Alan Modra <amodra@gmail.com>
716 H.J. Lu <hongjiu.lu@intel.com>
717
718 PR ld/11218
719 * elflink.c (elf_link_output_extsym): Do not ignore undefined
720 symbols with ref_regular set when gc_sections is active.
721
722 2010-01-25 Alan Modra <amodra@gmail.com>
723
724 PR ld/11217
725 * elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences
726 with relocations against undefined weak symbols.
727 (ppc64_elf_relocate_section): Don't optimize calls to undefined
728 weak functions if the symbol is dynamic.
729 (ppc64_elf_relocate_section): Edit tprel tls sequences.
730 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
731 (_bfd_elf_ppc_at_tprel_transform): New function.
732 * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare.
733 * bfd-in2.h: Regenerate.
734
735 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
736
737 * coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1.
738 (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_NONE.
739 * coff64-rs6000.c (xcoff64_howto_table): Change size to 0 and
740 bitsize to 1.
741 (xcoff64_reloc_type_lookup): Handle BFD_RELOC_NONE.
742
743 2010-01-21 Nick Clifton <nickc@redhat.com>
744
745 * elflink.c (elf_link_add_object_symbols): Look up name of
746 undefined symbol both before and after versioning has been
747 applied. Do not bother with symbols that are weakly undefined.
748
749 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
750
751 * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function.
752 (bfd_elf32_bfd_merge_private_bfd_data): New macro definition.
753
754 2010-01-19 Cary Coutant <ccoutant@google.com>
755
756 * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8.
757
758 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
759 Alan Modra <amodra@gmail.com>
760
761 * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff.
762 (elf_object_p): Read e_phnum extension.
763 (elf_write_shdrs_and_ehdr): Write e_phnum extension.
764 * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check
765 that we can read last program header.
766
767 2010-01-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
768
769 * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of
770 R_ARM_THM_CALL entry.
771 (elf32_arm_final_link_relocate): Correct calculation of
772 reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22,
773 or R_ARM_THM_JUMP24 relocation.
774
775 2010-01-18 Alan Modra <amodra@gmail.com>
776
777 PR 11168
778 * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C
779 block past vars in COFF_IMAGE_WITH_PE block. Report error on more
780 than 32k sections.
781
782 2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
783
784 Fix compilation warning on gcc-3.4.
785 * vms-tir.c (start_etir_record, sto_imm): Rename the prototype
786 parameter index to sec_index according to the function definition.
787
788 2010-01-13 Chao-ying Fu <fu@mips.com>
789
790 * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B.
791 It is true for all CPUs.
792 (jal_reloc_p): New function.
793 (mips_elf_calculate_relocation): Rename require_jalxp to
794 cross_mode_jump_p.
795 Update comment for CROSS_MODE_JUMP_P.
796 Set up cross_mode_jump_p based on the mode change.
797 (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p.
798 Update comment for CROSS_MODE_JUMP_P.
799 Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx.
800 Use !cross_mode_jump_p to guard conversion.
801 Convert "jr t9" to "b", if possible.
802 (_bfd_mips_elf_relocate_section): Rename require_jalx to
803 cross_mode_jump_p.
804 Pass &cross_mode_jump_p to call mips_elf_calculate_relocation.
805 Pass cross_mode_jump_p to call mips_elf_perform_relocation.
806
807 2010-01-13 Nick Clifton <nickc@redhat.com>
808
809 * cpu-m32c.c (m32c_scan): New function. Ensures that a scan for
810 "m32c" returns the m32c arch_info_struct and not the m16c
811 arch_info_struct.
812 (arch_info_struct): Use the new scan function.
813 (bfd_m32c_arch): Likewise.
814
815 2010-01-13 Tristan Gingold <gingold@adacore.com>
816
817 * config.bfd: Remove duplicated target vector for i386-*-darwin.
818 Appends new arch instead of overriding.
819 Use mach_o_x86_64_vec for x86_64-*-darwin.
820 * configure.in: Add mach_o_x86_64_vec.
821 * configure: Regenerate.
822 * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector.
823 * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo
824 (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c
825 * Makefile.in: Regenerate.
826 * mach-o-x86-64.c: New file.
827
828 2010-01-13 Tristan Gingold <gingold@adacore.com>
829
830 * reloc.c: Add MACH_O_X86_64 relocations.
831 * bfd-in2.h: Regenerate.
832 * libbfd.h: Regenerate.
833
834 2010-01-13 Tristan Gingold <gingold@adacore.com>
835
836 * archive.c (normalize): Use lbasename.
837 (bfd_bsd_truncate_arname): Ditto.
838 (bfd_gnu_truncate_arname): Ditto.
839
840 2010-01-12 Tristan Gingold <gingold@adacore.com>
841
842 * makefile.vms (CFLAGS): Turns warnings into informational messages.
843
844 2010-01-11 Tristan Gingold <gingold@adacore.com>
845
846 * mach-o.h: Add x86-64 relocation types.
847
848 2010-01-11 Tristan Gingold <gingold@adacore.com>
849
850 * mach-o.h (bfd_mach_o_backend_data): Add arch field.
851 (bfd_mach_o_set_arch_mach): New prototype.
852 * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject.
853 (bfd_mach_o_set_arch_mach): New function.
854 (bfd_mach_o_gen_mkobject): New function.
855 Set TARGET_ARCHITECTURE for the generic back-ends.
856 * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define.
857 Check that TARGET_ARCHITECTURE is defined.
858 Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure.
859 * mach-o-i386.c (TARGET_ARCHITECTURE): Define.
860
861 2010-01-11 Tristan Gingold <gingold@adacore.com>
862
863 * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.
864
865 2010-01-11 Nick Clifton <nickc@redhat.com>
866
867 * elf32-v850.c (v850_elf_perform_relocation): Fix overflow
868 handling of R_V850_HI16_S relocation.
869
870 2010-01-11 Alan Modra <amodra@gmail.com>
871
872 PR 11103
873 * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.
874
875 2010-01-11 Alan Modra <amodra@gmail.com>
876
877 PR 6832
878 * dwarf2.c (struct comp_unit): Add sec_info_ptr.
879 (find_abstract_instance_name): Use it.
880 (parse_comp_unit): Set it.
881
882 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
883
884 * Makefile.in: Regenerate.
885 * configure: Regenerate.
886
887 2010-01-08 Tristan Gingold <gingold@adacore.com>
888
889 * archive.c: Remove bfd_special_undocumented_glue.
890
891 2010-01-08 Alan Modra <amodra@gmail.com>
892
893 PR ld/11133
894 * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook.
895 * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise.
896 * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
897
898 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
899
900 PR ld/11138
901 * elflink.c (elf_link_check_versioned_symbol): Don't abort if
902 a symbol referenced by DSO is is defined in a non-shared object
903 and forced local.
904
905 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
906
907 PR ld/11133
908 * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for
909 undefined __start_XXX/__stop_XXX in all input files and set
910 SEC_KEEP.
911
912 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
913
914 PR ld/11143
915 * elflink.c (elf_gc_sweep): Keep SHT_NOTE section.
916
917 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
918
919 * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC
920 before including procfs.h.
921 (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise.
922 * configure.in: Added autoconf probe for the pr_fpreg member.
923 * configure: Regenerated.
924 * config.in: Regenerated.
925 * elf.c: Define _STRUCTURE_PROC before including procfs.h.
926
927 2010-01-04 Joel Brobecker <brobecker@adacore.com>
928
929 Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64).
930 * dwarf2.c (concat_filename): Rename dirname with dir_name
931 to void shadowing the dirname function.
932 Rename subdirname with subdir_name to stay consistent with
933 the new dir_name variable name.
934
935 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
936
937 * archures.c: Add bfd_mach_ppc_e500mc64.
938 * bfd-in2.h: Regenerate.
939 * cpu-powerpc.c (bfd_powerpc_archs): Add entry for
940 bfd_mach_ppc_e500mc64.
941
942 2010-01-01 Joel Brobecker <brobecker@adacore.com>
943
944 Fix -Wshadow warnings (seen on ppc-aix)
945 * xcofflink.c: Replace finfo by flinfo throughout.
946
947 For older changes see ChangeLog-2009
948 \f
949 Local Variables:
950 mode: change-log
951 left-margin: 8
952 fill-column: 74
953 version-control: never
954 End:
This page took 0.075249 seconds and 5 git commands to generate.