bfd/
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
670562e9
RS
12009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
2
3 * xcofflink.c (xcoff_build_ldsyms): Give imported descriptors
4 class XMC_DS rather than XMC_UA.
5
b64232cc
RS
62009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
7
8 * bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the
9 bfd_boolean export_defineds parameter with an unsigned int
10 auto_export_flags parameter.
11 * bfd-in2.h: Regenerate.
12 * xcofflink.c (xcoff_archive_contains_shared_object_p): New function,
13 split out from xcoff_build_ldsyms.
14 (xcoff_covered_by_expall_p): New function.
15 (xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms
16 but with extra code to handle -bexpfull and -bexpall.
17 (xcoff_mark_auto_exports): New function.
18 (xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether
19 a function should be automatically exported.
20 (bfd_xcoff_size_dynamic_sections): Replace the export_defineds
21 parameter with an auto_export_flags parameter. Update ldinfo
22 accordingly. Use xcoff_mark_auto_exports to mark all automatically-
23 exported symbols.
24
7d504122
RS
252009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
26
27 * xcofflink.c (xcoff_mark_symbol_by_name): New function.
28 (bfd_xcoff_size_dynamic_sections): Use it to mark the entry,
29 init and fini functions. Do garbage collection for objects
30 without an entry point too.
31
8602d4fe
RS
322009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
33
34 * coffcode.h (coff_pointerize_aux_hook): Update CSECT_SYM_P to
35 check whether a symbol has csect information.
36 (coff_print_aux): Likewise.
37 * coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxillary csect
38 information for C_AIX_WEAKEXT too.
39 (_bfd_xcoff_swap_aux_out): Likewise.
40 (xcoff_reloc_type_br): Handle defweak symbols too.
41 * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxillary csect
42 information for C_AIX_WEAKEXT too.
43 (_bfd_xcoff64_swap_aux_out): Likewise.
44 (xcoff64_reloc_type_br): Handle defweak symbols too.
45 * coffgen.c (coff_print_symbol): Handle auxillary function
46 information for C_AIX_WEAKEXT too.
47 * xcofflink.c (_bfd_xcoff_canonicalize_dynamic_symtab): Set BSF_WEAK
48 instead of BSF_GLOBAL if the L_WEAK flag is set.
49 (xcoff_dynamic_definition_p): New function.
50 (xcoff_link_add_dynamic_symbols): Use it to decide whether ldsym
51 defines h. Don't change h if ldsym isn't the definition. Otherwise,
52 always take the symbol class from the ldsym. Use weak bfd symbol
53 types for weak ldsyms.
54 (xcoff_link_add_symbols): Use CSECT_SYM_P and EXTERN_SYM_P.
55 Fix the check for whether a definition is from a shared object.
56 Allow redefinitions of weak symbols.
57 (xcoff_link_check_ar_symbols): Use EXTERN_SYM_P.
58 (xcoff_keep_symbol_p): Likewise.
59 (bfd_xcoff_size_dynamic_sections): Use CSECT_SYM_P.
60 (xcoff_link_input_bfd): Use CSECT_SYM_P and EXTERN_SYM_P.
61 Add .loader entries for C_AIX_WEAKEXT as well as C_EXT symbols,
62 but mark them as L_WEAK.
63 (xcoff_write_global_symbol): Treat weak symbols as C_AIX_WEAKEXT
64 instead of C_EXT if C_AIX_WEAKEXT == C_WEAKEXT.
65
5b49f6dc
RS
662009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
67
68 * xcofflink.c (xcoff_mark): When walking the relocations,
69 only mark the target symbol or the target section, not both.
70 (xcoff_final_definition_p): New function.
71 (xcoff_keep_symbol_p): Use it to check whether an external XCOFF
72 symbol is a valid definition of the associated output symbol.
73 Use XCOFF_ALLOCATED to stop the same hash table entry having
74 two output symbols.
75 (bfd_xcoff_size_dynamic_sections): Set XCOFF_ALLOCATED when
76 keeping a symbol.
77 (xcoff_link_input_bfd): Use xcoff_final_definition_p.
78
c4037431
RS
792009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
80
81 * xcofflink.c (bfd_xcoff_import_symbol): Treat imported absolute
82 symbols as XMC_XO.
83
3df13c4a
RS
842009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
85
86 * libcoff-in.h (xcoff_tdata): Add a lineno_counts field.
87 * libcoff.h: Regenerate.
88 * xcofflink.c (xcoff_link_add_symbols): Record per-symbol
89 line-number counts in the bfd's lineno_counts field.
90 Don't keep per-csect line-number counts.
91 (xcoff_sweep): Don't update per-csect line-number counts.
92 (bfd_xcoff_size_dynamic_sections): Count the number of line-number
93 entries in each output section.
94 (xcoff_link_input_bfd): Get the number of line numbers from
95 the bfd's lineno_counts field, rather than recalculating it
96 from scratch. Fix the range check when updating C_BINCL and
97 C_EINCL symbols.
98 (_bfd_xcoff_bfd_final_link): Don't count the output line numbers
99 here. Don't expect csects to have line-number counts.
100
e450936a
RS
1012009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
102
103 * libcoff-in.h (xcoff_tdata): Change debug_indices to a signed long.
104 * libcoff.h: Regenerate.
105 * xcofflink.c (xcoff_keep_symbol_p): New function, using the
106 "skip" logic from xcoff_link_input_bfd.
107 (bfd_xcoff_size_dynamic_sections): Explicitly skip dynamic
108 objects in a dynamic link, rather than checking whether csectpp
109 is null. Always allocate debug_index for other objects,
110 and always go through the loop. Update the type of debug_index
111 after the change above. Read the auxillary csect information
112 and use xcoff_keep_symbol_p to decide whether a symbol should
113 be kept. Set its debug_index to -2 if not.
114 (xcoff_link_input_bfd): Update the type of debug_index after
115 the change above and always expect it to be nonnull. Use it to
116 test whether a symbol should be stripped, rather than making the
117 decision here. Postpone all symbol creation to the second pass.
118
47dfb2ca
RS
1192009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
120
121 * xcofflink.c: (xcoff_mark_symbol): Mark the TOC section when
122 creating a descriptor.
123 (xcoff_sweep): Don't mark toc_section unless it's needed.
124 (bfd_xcoff_size_dynamic_sections): Skip the toc_section
125 when marking every bfd.
126 (xcoff_link_input_bfd): Skip all TOC anchors.
127 (xcoff_toc_section_p, xcoff_find_tc0): New functions.
128 (_bfd_xcoff_bfd_final_link): Don't set the output bfd's TOC anchor
129 to -1; call xcoff_find_tc0 instead.
130
4cc02a02
RS
1312009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
132
133 * libcoff-in.h (xcoff_section_tdata): Update commentary.
134 * libcoff.h: Regenerate.
135 * xcofflink.c (xcoff_link_add_symbols): Set the csect of XTY_ER
136 symbols to bfd_und_section_ptr or bfd_abs_section_ptr, rather than
137 the previous symbol's csect. Treat last_symndx as an inclusive value
138 and simplify its handling.
139 (xcoff_mark): Treat last_symndx as an inclusive value. Only mark
140 symbols with the right csect. Don't mark rsec when processing
141 relocations against undefined or absolute sections.
142 (bfd_xcoff_size_dynamic_sections): Don't check the SEC_MARK flag
143 of bfd_und_section_ptr.
144 (xcoff_link_input_bfd): Likewise.
145
858ef0ce
RS
1462009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
147
148 * coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations
149 against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED
150 flag is set. Assert that all undefined symbols are either
151 imported or defined by a dynamic object.
152 * coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
153 * xcofflink.c (xcoff_link_add_symbols): Extend function-symbol
154 handling to all relocations. Only set XCOFF_CALLED for function
155 symbols.
156 (xcoff_find_function): New function, split out from...
157 (bfd_xcoff_export_symbol) ...here.
158 (xcoff_set_import_path): New function, split out from...
159 (bfd_xcoff_import_symbol): ...here. Remove assertion for old
160 meaning of XCOFF_CALLED.
161 (xcoff_mark_symbol): If we mark an undefined and unimported
162 symbol, find some way of defining it. If the symbol is a function
163 descriptor, fill in its definition automatically. If the symbol
164 is a function, mark its descriptor and allocate room for global
165 linkage code. Otherwise mark the symbol as implicitly imported.
166 Move the code for creating function descriptors from...
167 (xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to
168 check for symbols that were implicitly defined.
169 (xcoff_mark): Don't count any dynamic relocations against
170 function symbols.
171 (bfd_xcoff_size_dynamic_sections): Save the rtld parameter
172 in the xcoff link info.
173 (xcoff_link_input_bfd): Remove handling of undefined and
174 unexported symbols.
175
12b2cce9
RS
1762009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
177
178 * coff-rs6000.c (xcoff_reloc_type_br): Make the branch absolute
179 if the target is absolute. Fix comment typo.
180 (xcoff_ppc_relocate_section): Remove FIXME.
181 * coff64-rs6000.c (xcoff64_reloc_type_br): Make the branch absolute
182 if the target is absolute.
183
0e3212ad
RS
1842009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
185
186 * xcofflink.c (xcoff_mark, xcoff_link_input_bfd): Don't copy
187 R_POS and R_NEG relocations against absolute symbols to the
188 .loader section.
189
d19d97e9
RS
1902009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
191
192 * coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype
193 to 2 for bfd_mach_ppc_620.
194
e5231592
RS
1952009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
196
197 * config.bfd: Treat AIX 6+ in the same way as AIX 5.
198 * configure.in: Likewise.
199 * configure: Regenerate.
200
3516e984
L
2012009-03-13 H.J. Lu <hongjiu.lu@intel.com>
202
203 PR binutils/9945
204 * elf.c (assign_section_numbers): Generate symbol table if there
205 is any relocation in output.
206 (_bfd_elf_compute_section_file_positions): Likewise.
207
ce98a316
NC
2082009-03-13 Nick Clifton <nickc@redhat.com>
209
210 PR 9934
211 * elf-bfd.h (NUM_SHDR_ENTRIES): Cope with an empty section.
212 * elflink.c (elf_link_read_relocs_from_section): Use
213 NUM_SHDR_ENTRIES. Gracefully handle the case where there are
214 relocs but no symbol table.
215 * elf32-arm.c (elf32_arm_check_relocs): Likewise.
216
c4fb387b
L
2172009-03-12 H.J. Lu <hongjiu.lu@intel.com>
218
219 PR ld/9938
220 * elf32-i386.c (elf_i386_check_tls_transition): Use strncmp
221 to check ___tls_get_addr.
222
223 * elf64-x86-64.c (elf64_x86_64_check_tls_transition): Use
224 strncmp to check __tls_get_addr.
225
53638231
AS
2262009-03-12 Andrew Stubbs <ams@codesourcery.com>
227
228 * dwarf2.c (read_section): Always check the offset, even when the
229 section has been read before.
230
09e8c3bf
L
2312009-03-11 H.J. Lu <hongjiu.lu@intel.com>
232
233 * elf32-i386.c (elf_i386_check_tls_transition): Fix a typo in
234 comments.
235
36e4dce6
CD
2362009-03-11 Chris Demetriou <cgd@google.com>
237
238 * bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag.
239 * bfd-in2.h: Regenerate.
240 * archive.c (bfd_ar_hdr_from_filesystem): If BFD_DETERMINISTIC_OUTPUT
241 flag is set, use 0 for uid, gid, and timestamp, and use 0644 for file
242 mode.
243 (bsd_write_armap): Likewise.
244 (_bfd_archive_bsd_update_armap_timestamp): If BFD_DETERMINISTIC_OUTPUT
245 flag is set, do nothing.
246 (coff_write_armap): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0
247 for timestamp.
248
9b175a76
UW
2492009-03-11 Ulrich Weigand <uweigand@de.ibm.com>
250
251 * elf32-spu.c (find_function_stack_adjust): Handle sf instruction
252 used to update stack pointer.
253
f501de17
DA
2542009-03-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
255
256 PR binutils/9921
257 * som.c (som_bfd_derive_misc_symbol_info): Set symbol type ST_ABSOLUTE
258 for unknown symbols in absolute section.
259
d11fd249
NC
2602009-03-06 Nick Clifton <nickc@redhat.com>
261
262 * po/es.po: Updated Spanish translation.
263
8cd931b7
CL
2642009-03-05 Christophe Lyon <christophe.lyon@st.com>
265
266 * elf32-arm.c (group_sections): Take next section size into
267 account before accepting to group it.
268
5fa9e92f
CL
2692009-03-05 Christophe Lyon <christophe.lyon@st.com>
270
271 * elf32-arm.c (arm_type_of_stub): Handle long branches targetting
272 PLT entries.
273 (elf32_arm_final_link_relocate): Likewise.
274
b92997d6
AM
2752009-03-05 Moritz Kroll <Moritz.Kroll@gmx.de>
276
277 PR 9923
278 * peXXigen.c (_bfd_XXi_final_link_postscript): Check h->root.type.
279
727fc41e
AM
2802009-03-04 Alan Modra <amodra@bigpond.net.au>
281
282 * reloc.c (BFD_RELOC_PPC_TLSGD, BFD_RELOC_PPC_TLSLD): New.
283 * section.c (struct bfd_section): Add has_tls_get_addr_call.
284 (BFD_FAKE_SECTION): Init new flag.
285 * ecoff.c (bfd_debug_section): Likewise.
286 * bfd-in2.h: Regenerate.
287 * libbfd.h: Regenerate.
288 * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_TLSGD and R_PPC_TLSLD.
289 (ppc_elf_reloc_type_lookup): Handle new relocs.
290 (ppc_elf_check_relocs): Set has_tls_get_addr_call on finding such
291 without marker relocs.
292 (ppc_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
293 if section has no old-style calls.
294 (ppc_elf_relocate_section): Set tls_mask for non-tls relocs too.
295 Don't try to optimize new-style __tls_get_addr call when handling
296 arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
297 relocs.
298 * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_TLSGD, R_PPC64_TLSLD.
299 (ppc64_elf_reloc_type_lookup): Handle new relocs.
300 (ppc64_elf_check_relocs): Set has_tls_get_addr_call on finding such
301 without marker relocs.
302 (ppc64_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
303 if section has no old-style calls. Set toc_ref for new relocs as
304 appropriate.
305 (ppc64_elf_relocate_section): Set tls_mask for non-tls relocs too.
306 Don't try to optimize new-style __tls_get_addr call when handling
307 arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
308 relocs.
309
51dec227
AM
3102009-03-04 Alan Modra <amodra@bigpond.net.au>
311
312 PR 6768
313 * configure.in: Test for ld --as-needed support. Link shared
314 libbfd against libm.
315 * configure: Regenerate.
316
a1f7ca36
AM
3172009-03-03 Alan Modra <amodra@bigpond.net.au>
318
319 * Makefile.am: Run "make dep-am".
320 * Makefile.in: Regenerate.
321
c3b7224a
NC
3222009-03-02 Qinwei <qinwei@sunnorth.com.cn>
323
324 * elf32-score7.c: New file.
325 * elf32-score.h: New file.
326 * elf32-score.c: Add code to support score 7. Set score7 as the
327 default.
328 * cpu-score.c: Add score7 architecure.
329 (compatibile): New function.
330 * Makefile.am: Add rules for building elf32-score7 object.
331 * Makefile.in: Regenerate.
332 * configure.in: Add elf32-score7 object to score vectors.
333 * configure: Regenerate.
334 * reloc.c: Add score7 relocs.
335 * archures.c: Add score3 and score7 machine numbers.
336 * bfd-in2.h: Regenerate.
337 * libbfd.h: Regenerate.
338
58e24671
RW
3392009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
340
341 * configure: Regenerate.
342
5887528b
DA
3432009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
344
d45b7d74
DA
345 * elf32-hppa.c (hppa32_elf_local_refcounts): New function.
346 (elf32_hppa_check_relocs): Use it.
347
5887528b
DA
348 * elf_hppa_add_symbol_hook (elf_hppa_add_symbol_hook): Move to
349 elf64-hppa.c.
350 (elf_hppa_unmark_useless_dynamic_symbols): Likewise.
351 (elf_hppa_remark_useless_dynamic_symbols): Likewise.
352 (elf_hppa_is_dynamic_loader_symbol): Likewise.
353 (elf_hppa_record_segment_addrs): Likewise.
354 (elf_hppa_final_link): Likewise.
355 (elf_hppa_relocate_insn): Likewise.
356 (elf_hppa_final_link_relocate): Likewise.
357 (elf64_hppa_relocate_section): Likewise.
358 * elf64-hppa.c: Insert above.
359
a03bd320
DA
3602009-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
361
362 * elf-hppa.h (elf_hppa_final_link): Use elf_hppa_final_link.
363 (elf_hppa_final_link_relocate ): Rewrite eliminating dynamic hash table.
364 (elf_hppa_relocate_section): Likewise.
365 * elf64-hppa.c (struct elf64_hppa_link_hash_entry): Change to derive
366 from struct elf_link_hash_entry. Add count field.
367 (struct elf64_hppa_dyn_hash_table): Delete.
368 (struct elf64_hppa_link_hash_table): Delete dyn_hash_table field.
369 (elf64_hppa_hash_table): Rename to hppa_link_hash_table.
370 (hppa_elf_hash_entry, eh_name): Define.
371 (elf64_hppa_new_dyn_hash_entry): Delete.
372 (elf64_hppa_dyn_hash_lookup): Delete.
373 (elf64_hppa_dyn_hash_traverse): Delete.
374 (get_dyn_name): Delete.
375 (elf64_hppa_finalize_opd): Use struct elf_link_hash_entry * instead
376 of struct elf64_hppa_dyn_hash_entry *.
377 (elf64_hppa_finalize_dlt, llocate_global_data_dlt,
378 allocate_global_data_plt, allocate_global_data_stub,
379 allocate_global_data_opd, count_dyn_reloc, allocate_dynrel_entries):
380 Likewise.
381 (hppa64_link_hash_newfunc): New.
382 (elf64_hppa_hash_table_create): Rework.
383 (count_dyn_reloc): Likewise.
384 (hppa64_elf_local_refcounts): New.
385 (elf64_hppa_check_relocs): Rework using standard technique for recording
386 local DLT, PLT and OPD reference counts.
387 (elf64_hppa_dynamic_symbol_p): Revise using "eh" for struct
388 elf_link_hash_entry *.
389 (elf64_hppa_mark_exported_functions, allocate_global_data_dlt,
390 allocate_global_data_plt, allocate_global_data_stub,
391 allocate_global_data_opd, allocate_dynrel_entries,
392 elf64_hppa_adjust_dynamic_symbol,
393 elf64_hppa_mark_milli_and_exported_functions): Likewise.
394 (elf64_hppa_create_dynamic_sections, elf64_hppa_size_dynamic_sections):
395 Use hppa_link_hash_table. Rework.
396 (elf64_hppa_link_output_symbol_hook): Rework.
397 (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd,
398 elf64_hppa_finalize_dlt, elf64_hppa_finalize_dynreloc,
399 elf64_hppa_finish_dynamic_sections): Likewise.
400
ebe24dd4
CL
4012009-02-26 Christophe Lyon <christophe.lyon@st.com>
402
403 * elf32-arm.c (stub_reloc_type): Removed.
404 (insn_sequence): Renamed reloc_type field to r_type.
405 (elf32_arm_stub_long_branch_v4t_arm_thumb_pic): New stub.
406 (elf32_arm_stub_long_branch_v4t_thumb_arm_pic): Likewise.
407 (elf32_arm_stub_long_branch_thumb_only_pic): Likewise.
408 (elf32_arm_stub_type): Add new enum entries for the new stubs.
409 (arm_stub_is_thumb): Catch new stubs.
410 (arm_type_of_stub): Handle new stubs.
411 (arm_size_one_stub): Use ARRAY_SIZE. Handle new stubs.
412 (bfd_elf32_arm_process_before_allocation): Remove useless
413 condition.
414
b9d678e0
L
4152009-02-25 H.J. Lu <hongjiu.lu@intel.com>
416
417 * elf.c (elf_find_function): Use is_function_type to check
418 function symbol.
419
56fb3749
SA
4202009-02-24 Sterling Augustine <sterling@jaw.hq.tensilica.com>
421
422 * xtensa-modules.c: Revert to previous version 1.11 due
423 to inadvertant commit.
424
658ff993
SA
4252009-02-24 Sterling Augustine <sterling@tensilica.com>
426
427 * elf32-xtensa.c (text_action_add): Separate test for action
428 type. Break if saved action is ta_widen_insn at same offset.
429
cf3eccff
DJ
4302009-02-24 Daniel Jacobowitz <dan@codesourcery.com>
431
432 * elf32-arm.c (elf32_arm_stub_long_branch_any_any_pic): Rename
433 to elf32_arm_stub_long_branch_any_arm_pic.
434 (elf32_arm_stub_long_branch_any_thumb_pic): New.
435 (enum elf32_arm_stub_type, arm_type_of_stub)
436 (arm_size_one_stub): Handle any to ARM PIC and any to Thumb PIC
437 separately.
438
07d72278
DJ
4392009-02-24 Joseph Myers <joseph@codesourcery.com>
440
441 * elf32-arm.c (PREV_SEC): Update comment.
442 (group_sections): Rename argument to stubs_always_after_branch.
443 Reverse the list and place stubs at the end of input sections.
444 Undefine NEXT_SEC.
445 (elf32_arm_size_stubs): Update to use stubs_always_after_branch.
446
4e31c731
DJ
4472009-02-23 Daniel Jacobowitz <dan@codesourcery.com>
448
449 * elf32-arm.c (arm_build_one_stub): Initialize stub_reloc_offset.
450 Fix formatting.
451 (arm_size_one_stub): Remove unnecessary break.
452 (arm_map_one_stub): Fix formatting. Return after BFD_FAIL.
453
4542009-02-23 Christophe Lyon <christophe.lyon@st.com>
461a49ca
DJ
455
456 * elf32-arm.c (stub_insn_type): New type.
457 (stub_reloc_type): Likewise.
458 (insn_sequence): Likewise.
459 (elf32_arm_stub_long_branch_any_any): Encode using insn_sequence.
460 (elf32_arm_stub_long_branch_v4t_arm_thumb): Likewise.
461 (elf32_arm_stub_long_branch_thumb_only): Likewise.
462 (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise.
463 (elf32_arm_stub_short_branch_v4t_thumb_arm): Likewise.
464 (elf32_arm_stub_long_branch_any_any_pic): Likewise.
465 (elf32_arm_stub_hash_entry): Add new helper fields.
466 (stub_hash_newfunc): Initialize these new fields.
467 (arm_build_one_stub): Encode Arm and Thumb instructions separately
468 to take endianness into account.
469 (arm_size_one_stub): Compute size of stubs using insn_sequence.
470 (arm_map_one_stub): Code is now more generic, thanks to
471 insn_sequence.
472
c2b4a39d
CL
4732009-02-23 Christophe Lyon <christophe.lyon@st.com>
474
475 * elf32-arm.c (elf32_arm_stub_long_branch_thumb_only): Fix stub
476 code.
477 (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise.
478 (arm_type_of_stub): Use Thumb-only long branch stub (non-PIC) when
479 BLX is not available. Fix typo in warning message. Add comments
480 and improve formatting.
481 (arm_build_one_stub): Adjust to new
482 elf32_arm_stub_long_branch_v4t_thumb_arm stub.
483 (arm_map_one_stub): Likewise.
484
0c376465 4852009-02-23 Tristan Gingold <gingold@adacore.com>
a60a89d6
TG
486 Eric Botcazou <ebotcazou@adacore.com>
487 Douglas B Rupp <rupp@gnat.com>
0c376465
TG
488
489 * vms.h: Update copyright year, fix comments, reorder declarations.
490 (_bfd_save_vms_section): Remove the prototype.
491 (EGPS_S_V_NO_SHIFT): New constant.
492 (bfd_vms_set_section_flags): New prototype.
493 (EGPS_S_B_ALIGN, EGPS_S_W_FLAGS, EGPS_S_L_ALLOC, EGPS_S_B_NAMLNG): New
494 constants.
495 (EGSY_S_W_FLAGS): Ditto.
496 (EGSY_S_V_QUAD_VAL): Ditto.
497 (ESDF_S_L_VALUE, ESDF_S_L_PSINDX, ESDF_S_B_NAMLNG): Ditto.
498 (EGST_S_W_FLAGS, EGST_S_Q_LP_1, EGST_S_Q_LP_2, EGST_S_L_PSINDX,
499 EGST_S_B_NAMLNG): Ditto.
500 (ESRF_S_B_NAMLNG): Ditto.
501 (ETIR_S_C_HEADER_SIZE): Ditto.
502 (EGPS_S_V_ALLOC_64BIT): Ditto.
503 (DST_S_C_EPILOG): Ditto.
504 (DST_S_C_SRC_SETLNUM_L, DST_S_C_SRC_SETLNUM_W) : Ditto.
505 (DST_S_C_SRC_INCRLNUM_B): Ditto.
506 (DST_S_B_PCLINE_UNSBYTE, DST_S_W_PCLINE_UNSWORD): Ditto.
507 (DST_S_L_PCLINE_UNSLONG): Ditto.
508 (DST_S_B_MODBEG_NAME, DST_S_L_RTNBEG_ADDRESS) : Ditto
509 (DST_S_B_RTNBEG_NAME, DST_S_L_RTNEND_SIZE): Ditto
510 (DST_S_C_SOURCE_HEADER_SIZE): Ditto.
511 (DST_S_B_SRC_DF_LENGTH, DST_S_W_SRC_DF_FILEID): Ditto.
512 (DST_S_B_SRC_DF_FILENAME, DST_S_B_SRC_UNSBYTE): Ditto.
513 (DST_S_B_SRC_UNSBYTE): Ditto.
514 (DST_S_W_SRC_UNSWORD, DST_S_L_SRC_UNSLONG): Ditto.
515 Add prototypes.
516 (vms_section, vms_reloc): Remove types.
517 (hdr_struc): Replaced by ...
518 (hdr_struct): ... new type.
519 (EMH_S_W_HDRTYP, EMH_S_B_STRLVL, EMH_S_L_ARCH1): New constants.
520 (EMH_S_L_ARCH2, EMH_S_L_RECSIZ, EMH_S_B_NAMLNG): Ditto.
521 (EMH_DATE_LENGTH): Ditto.
522 (eom_struc): Replaced by ...
523 (eom_struct): ... new type.
524 (EEOM_S_L_TOTAL_LPS, EEOM_S_W_COMCOD, EEOM_S_B_TFRFLG): New constants.
525 (EEOM_S_L_PSINDX, EEOM_S_L_TFRADR): Ditto.
526 (EIHD_S_K_MAJORID, EIHD_S_K_MINORID, EIHD_S_K_EXE): Ditto.
527 (EIHD_S_L_SIZE, EIHD_S_L_ISDOFF, EIHD_S_L_SYMDBGOFF): Ditto.
528 (EIHD_S_Q_SYMVVA, EIHD_S_L_IMGTYPE): Ditto.
529 (EISD_S_L_EISDSIZE, EISD_S_L_SECSIZE, EISD_S_Q_VIR_ADDR): Ditto.
530 (EISD_S_L_FLAGS, EISD_S_L_VBN, EISD_S_R_CONTROL): Ditto.
531 (EISD_S_L_IDENT, EISD_S_T_GBLNAM): Ditto.
532 (EISD_S_M_GBL, EISD_S_M_CRF, EISD_S_M_DZRO, EISD_S_M_WRT): Ditto.
533 (EISD_S_M_INITALCODE, EISD_S_M_BASED, EISD_S_M_FIXUPVEC): Ditto.
534 (EISD_S_M_RESIDENT, EISD_S_M_VECTOR, EISD_S_M_PROTECT): Ditto.
535 (EISD_S_M_LASTCLU, EISD_S_M_EXE, EISD_S_M_NONSHRADR): Ditto.
536 (EISD_S_M_QUAD_LENGTH, EISD_S_M_ALLOC_64BIT): Ditto.
537 (EIHS_S_L_DSTVBN, EIHS_S_L_DSTSIZE, EIHS_S_L_GSTVBN): Ditto.
538 (EIHS_S_L_GSTSIZE, EIHS_S_L_DMTVBN, EIHS_S_L_DMTBYTES): Ditto.
539 (DBG_S_L_DMT_MODBEG, DBG_S_L_DST_SIZE): Ditto.
540 (DBG_S_W_DMT_PSECT_COUNT, DBG_S_C_DMT_HEADER_SIZE): Ditto.
541 (DBG_S_L_DMT_PSECT_START, DBG_S_L_DMT_PSECT_LENGTH)
542 (DBG_S_C_DMT_PSECT_SIZE): Ditto.
543 (enum file_type_enum): New type.
544 (struct location_struct): Removed.
545 (struct fileinfo, struct srecinfo, struct lineinfo): New types.
546 (struct funcinfo, struct module): Ditto.
547 (struct vms_private_data_struct): Update fields.
548 (struct vms_section_data_struct): New type.
549
550 * vms.c: Update copyright year, fix comments,
551 Fix includes for DECC, add prototypes.
552 (vms_initialize): Use bfd_alloc instead of bfd_zalloc and remove
553 some initializers.
554 Use flavour to set is_vax, location_stack is removed.
555 (struct pair): Declare.
556 (fill_section_ptr): Initialize variables at declaration.
557 Add guard to set SECTION_SYM flag, handlde und section.
558 (vms_fixup_sections): Use struct pair for fill_section_ptr argument.
559 (_bfd_vms_slurp_object_records): New function, replaces previous
560 vms_object_p.
561 (vms_slurp_module): New function.
562 (vms_slurp_image): Ditto.
563 (vms_object_p): Complete rewrite.
564 (vms_mkobject): Use is_vax field to slect architecture.
565 (free_reloc_stream): New function.
566 (vms_convert_to_var): Ditto.
567 (vms_convert_to_var_1): Ditto.
568 (vms_convert_to_var_unix_filename): Ditto.
569 (vms_close_and_cleanup): Call free_reloc_stream, convert file to
570 VAR format on VMS.
571 (vms_new_section_hook): Set alignment to 0, allocate private data.
572 (vms_get_section_contents): Load content.
573 (vms_get_symbol_info): Handle undefined section.
574 (vms_find_nearest_line): Handle.
575 (alloc_reloc_stream): New function.
576 (vms_slurp_reloc_table): Ditto.
577 (vms_get_reloc_upper_bound): Make it real.
578 (vms_canonicalize_reloc): Do the real work.
579 (alpha_howto_table): Add ALPHA_R_NOP, ALPHA_R_BSR, ALPHA_R_LDA,
580 ALPHA_R_BOH.
581 (vms_bfd_reloc_type_lookup): Handle NOP, BSR, LDA and BOH.
582 (vms_set_arch_mach): Check arch.
583 (vms_set_section_contents): Copy the content after allocation.
584 (vms_alpha_vec): Update object flags.
585
586 * vms-tir.c: Update copyright year, fix comments,
587 add prototypes for new functions.
588 (dst_define_location): New function.
589 (dst_restore_location): New function.
590 (dst_retrieve_location): New function.
591 (dst_check_allocation): New function.
592 (image_dump): Call dst_check_allocation.
593 (image_write_b): Ditto.
594 (image_write_w): Ditto.
595 (image_write_l): Ditto.
596 (image_write_q): Ditto.
597 (cmd_name): Handle STA_LW, STA_QW, STO_OFF, STO_IMM, STO_IMMR, STO_LW,
598 STO_QW, OPR_ADD, CTL_SETRB, STC_LP_PSB, CTL_DFLOC, CTL_STLOC,
599 CTL_STKDL.
600 Call error handler instead of abort if name is not known.
601 (etir_sta): Add quarter_relocs argument and set it.
602 Fix cast.
603 (etir_sto): Ditto.
604 (etir_opr): Ditto, return FALSE in case of error.
605 (etir_ctl): Add quarter_relocs argument and set it, fix cast.
606 Fix CTL_DFLOC, CTL_STLOC, CTL_STKDL.
607 (etir_stc): Add quarter_relocs argument and set it, fix cast.
608 Fix STC_LP, STC_LP_PSB, STC_GBL and STC_CGA.
609 Handle STC_LP_PSB, STC_BSR_GBL, STC_LDA_GBL, STC_BOH_GBL.
610 Move STC_NOP_PS, STC_BSR_PS, STC_LDA_PS, STC_BOH_PS, STC_NBH_PS.
611 Return FALSE in case of error.
612 (tir_sta): Change sign of psect.
613 (tir_ctl): Ditto.
614 (tir_cmd): Fix cast. Makes tir_table static const.
615 (etir_cmd): Add quarter_relocs argument, makes etir_table const,
616 add argument to explain.
617 (analyze_etir): Initialize maxptr, add quarter_relocs
618 declaration, move some declarations into inner scopes.
619 Handle quarter_relocs and STO_IMM.
620 (_bfd_vms_slurp_tir): Use constant instead of hard-coded values.
621 (_bfd_vms_slurp_relocs): New function.
622 (_bfd_vms_decode_relocs): New function.
623 (sto_imm): Rewritten.
624 (start_first_etbt_record): New function.
625 (start_another_etbt_record): Ditto.
626 (etir_output_check): Ditto.
627 (defer_reloc_p): Ditto.
628 (_bfd_vms_write_tir): Remove nextoffset, convert a while-loop to
629 a for-loop. Correctly deals with contents, deals with .vmsdebug,
630 rewritte relocations handling.
631 (_bfd_vms_write_tbt): Removed.
632 (_bfd_vms_write_dbg): Ditto.
633
634 * vms-misc.c: Update copyright year, Fix comments.
635 (_bfd_vms_get_header_values): Use 'size' instead of 'length'.
636 (maybe_adjust_record_pointer_for_object): New function.
637 (_bfd_vms_get_first_record): New function, replaces ...
638 (_bfd_vms_get_record): .. removed.
639 (_bfd_vms_get_object_record): New function.
640 (_bfd_vms_get_object_record): New function.
641 (vms_get_remaining_object_record): New function, replaces ...
642 (_bfd_vms_get_next_record): ... removed.
643 (add_new_contents): Removed.
644 (_bfd_save_vms_section): Removed.
645 (_bfd_get_vms_section): Removed.
646 (_bfd_vms_output_flush): Write in VAR format.
647 (new_symbol): Don't make UND section.
648
649 * vms-hdr.c: Update copyright year, update list of record handled.
650 (_bfd_vms_slurp_hdr): rec_length renamed to rec_size.
651 (_bfd_vms_write_hdr): Strip vms and unix patches,
652 add comments, truncate module name at 31 characters,
653 use constants instead of hard-coded value,
654 write BFD version instead of a fixed string.
655 (_bfd_vms_slurp_ihd): New function.
656 (_bfd_vms_slurp_isd): Ditto.
657 (_bfd_vms_slurp_ihs): Ditto.
658 (new_module): Ditto.
659 (parse_module): Ditto
660 (build_module_list): Ditto.
661 (module_find_nearest_line): Ditto.
662 (_bfd_vms_find_nearest_dst_line): Ditto.
663 (vms_slurp_debug): Ditto.
664 (_bfd_vms_slurp_dbg): Ditto.
665 (_bfd_vms_slurp_tbt): Ditto.
666 (_bfd_vms_write_dbg): Ditto.
667 (_bfd_vms_write_tbt): Ditto.
668
669 * vms-gsd.c: Update copyright year, update list of records handled.
670 (EVAX_LITERALS_NAME): New macro.
671 (evax_section_flags): Add an entry for EVAX_LITERALS_NAME.
672 (gpsflagdesc, gsyflagdesc): Moved out of _bfd_vms_slurp_gsd.
673 (register_universal_symbol): New function and prototype.
674 (_bfd_vms_slurp_gsd): Fix indentations and casts,
675 improve debug messages,
676 use constants instead of hard-coded value,
677 fix missing endianness conversion,
678 handle global symbol (SYMG).
679 (bfd_vms_set_section_flags): New function.
680 (_bfd_vms_write_gsd): Don't write .vmsdebug section,
681 handle section literals,
682 fix indentation,
683 handle section bfd and vms flags,
684 don't output LIB$INITIALIZE symbol,
685 fix handling of weak symbols,
686 fix evax vs vax procedure descriptor,
687 handle absolute symbols.
688
689 * reloc.c (BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_BSR,
690 BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BOH): New relocations.
691
692 * makefile.vms (DEFS): Fix flags for VMS.
693
694 * bfdio.c (real_fopen): Handle multiple VMS fopen attributes.
695
696 * bfd-in2.h: Regenerated.
697 * libbfd.h: Regenerated.
698
47149254
CC
6992009-02-20 Cary Coutant <ccoutant@google.com>
700
701 * vmsutil.c (vms_file_stats_name): Fix incorrect use of st_mtime
702 in struct stat.
703
6b1cecf3
DK
7042009-18-02 Dave Korn <dave.korn.cygwin@gmail.com>
705
706 PR gas/7059
707 * coffcode.h (coff_write_object_contents): Don't let the string
708 table offset overflow the s_name field when using long section names.
709
88183869
DK
7102009-18-02 Dave Korn <dave.korn.cygwin@gmail.com>
711
712 * coff-alpha.c (alpha_ecoff_backend_data): Initialise fields which
713 control long section name handling with ECOFF_NO_LONG_SECTION_NAMES.
714 * coff-mips.c (mips_ecoff_backend_data): Likewise.
715 * coff-rs6000.c (bfd_xcoff_backend_data): Initialise fields which
716 control long section name handling with XCOFF_NO_LONG_SECTION_NAMES.
717 (bfd_pmac_xcoff_backend_data): Likewise.
718 * coff64-rs6000.c (bfd_xcoff_backend_data): Likewise.
719 (bfd_xcoff_aix5_backend_data): Likewise.
720 (xcoff64_write_object_contents): Delete unused long_section_names
721 local variable.
722 * coff-sh.c (bfd_coff_small_swap_table): Initialise long section
723 name members using COFF_DEFAULT_LONG_SECTION_NAMES and make entire
724 struct non-const.
725 * coffcode.h (documentation): Update to describe long section names.
726 (COFFLONGSECTIONCATHELPER): New helper macro.
727 (BLANKOR1TOODD): Likewise.
728 (COFF_ENABLE_LONG_SECTION_NAMES): Likewise.
729 (COFF_LONG_SECTION_NAMES_SETTER): Likewise.
730 (COFF_DEFAULT_LONG_SECTION_NAMES): Likewise.
731 (bfd_coff_set_long_section_names_allowed): New function.
732 (bfd_coff_set_long_section_names_disallowed): Likewise.
733 (struct bfd_coff_backend_data): Add new backend hook function
734 pointer _bfd_coff_set_long_section_names.
735 (bfd_coff_set_long_section_names): New backend hook.
736 (coff_write_object_contents): Only generate long section names if
737 bfd_coff_long_section_names() indicates they are currently enabled.
738 (bfd_coff_std_swap_table): Make non-const, and initialise long
739 section name fields using COFF_DEFAULT_LONG_SECTION_NAMES.
740 (ticoff0_swap_table): Likewise to both.
741 (ticoff1_swap_table): Again, likewise to both.
742 * coffgen.c (make_a_section_from_file): Allow long section names
743 as inputs even if not currently allowed for outputs.
744 * ecoff.c (_bfd_ecoff_no_long_sections): New function.
745 * efi-app-ia32.c (COFF_LONG_SECTION_NAMES): Define to 0, not blank.
746 * efi-app-ia64.c (COFF_LONG_SECTION_NAMES): Likewise.
747 * efi-app-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise.
748 * efi-bsdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise.
749 * efi-bsdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise.
750 * efi-bsdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise.
751 * efi-rtdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise.
752 * efi-rtdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise.
753 * efi-rtdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise.
754 * pei-arm.c (COFF_LONG_SECTION_NAMES): Likewise.
755 * pei-i386.c (COFF_LONG_SECTION_NAMES): Likewise.
756 * pei-mcore.c (COFF_LONG_SECTION_NAMES): Likewise.
757 * pei-mips.c (COFF_LONG_SECTION_NAMES): Likewise.
758 * pei-ppc.c (COFF_LONG_SECTION_NAMES): Likewise.
759 * pei-sh.c (COFF_LONG_SECTION_NAMES): Likewise.
760 * pei-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise.
761 * libcoff-in.h: Update copyright year to cause updated copyright
762 year in generated libcoff.h, and fix typo.
763 * libcoff.h: Regenerated.
764 * libecoff.h (ECOFF_NO_LONG_SECTION_NAMES): New macro.
765 (_bfd_ecoff_no_long_sections): Add prototype.
766 * libxcoff.h (XCOFF_NO_LONG_SECTION_NAMES): New macro.
767 * pe-mips.c (COFF_LONG_SECTION_NAMES): Define empty if not already
768 defined by an including .c file.
769 * ticoff.h (ticoff0_swap_table): Make non-const, and initialise
770 long section name fields using COFF_DEFAULT_LONG_SECTION_NAMES.
771 (ticoff1_swap_table): Likewise to both.
772
90d8a22c
CL
7732009-02-18 Christophe Lyon <christophe.lyon@st.com>
774
775 * elf32-arm.c (arm_build_one_stub): Fix relocation target for pic
776 stub. Catch default case error.
777 (arm_map_one_stub): Add missing Thumb mapping symbol.
778
12123067
NC
7792009-02-18 Bjoern Haase <bjoern.m.haase@web.de>
780
781 PR 9841
782 * elf32-avr.c: Handle case where no local symbos exist correctly.
783
fea2b4d6
CL
7842009-02-16 Christophe Lyon <christophe.lyon@st.com>
785
786 bfd/
787 * elf32-arm.c (arm_long_branch_stub,
788 arm_thumb_v4t_long_branch_stub,
789 arm_thumb_thumb_long_branch_stub,
790 arm_thumb_arm_v4t_long_branch_stub,
791 arm_thumb_arm_v4t_short_branch_stub,
792 arm_pic_long_branch_stub):
793 Renamed to elf32_arm_stub_long_branch_any_any,
794 elf32_arm_stub_long_branch_v4t_arm_thumb,
795 elf32_arm_stub_long_branch_thumb_only,
796 elf32_arm_stub_long_branch_v4t_thumb_arm,
797 elf32_arm_stub_short_branch_v4t_thumb_arm,
798 elf32_arm_stub_long_branch_any_any_pic.
799 (arm_stub_long_branch, arm_thumb_v4t_stub_long_branch,
800 arm_thumb_thumb_stub_long_branch,
801 arm_thumb_arm_v4t_stub_long_branch,
802 arm_thumb_arm_v4t_stub_short_branch, arm_stub_pic_long_branch):
803 Renamed to arm_stub_long_branch_any_any,
804 arm_stub_long_branch_v4t_arm_thumb,
805 arm_stub_long_branch_thumb_only,
806 arm_stub_long_branch_v4t_thumb_arm,
807 arm_stub_short_branch_v4t_thumb_arm,
808 arm_stub_long_branch_any_any_pic.
809
13e0a874
DA
8102009-02-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
811
812 * elf-hppa.h (elf_hppa_final_link_relocate): Correct addend value used
813 in branch offset check.
814
3a71aa26
AM
8152009-02-15 Alan Modra <amodra@bigpond.net.au>
816
817 * elf64-ppc.c (struct _ppc64_elf_section_data): Delete t_symndx,
818 add toc.symndx and toc.add.
819 (ppc64_elf_check_relocs): Don't set htab->tls_get_addr here.
820 Set up toc.add.
821 (get_tls_mask): Add toc_addend param, set from toc.add. Adjust all
822 callers.
823 (ppc64_elf_tls_setup): Set htab->tls_get_addr and tls_get_addr_fd.
824 (branch_reloc_hash_match): New function, extracted from..
825 (ppc64_elf_tls_optimize): ..here.
826 (ppc64_elf_relocate_section): Properly set addends when optimizing
827 tls sequences. Avoid unnecessary reading and writing of insns.
828 Only redo reloc when symbol changed. Bypass symbol checks when
829 using tlsld_got.
830 * elf32-ppc.c (ppc_elf_tls_setup): Correct comment.
831 (branch_reloc_hash_match): New function, extracted from..
832 (ppc_elf_tls_optimize): ..here.
833 (ppc_elf_relocate_section): Avoid unnecessary reading of insns.
834 Don't clear addend on zapped __tls_get_addr reloc.
835
2c2b4ed4
NC
8362009-02-12 Nick Clifton <nickc@redhat.com>
837
838 PR 9827
839 * elflink.c (bfd_elf_final_link): When counting the relocations,
840 if the header size has not been set yet then assume that it will
841 match the output section's reloc type.
842
453f5985
NS
8432009-02-12 Nathan Sidwell <nathan@codesourcery.com>
844
845 * elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for
846 relocatable link.
847
3209bffa
AM
8482009-02-09 Alan Modra <amodra@bigpond.net.au>
849
850 * elf32-spu.c (spu_elf_find_overlays): Call bfd_set_error on errors.
851 (find_function): Likewise.
852 (pasted_function): Don't error if no prior function found.
853 (discover_functions): Revert 2008-12-10 change. Extend first
854 function range to start of section.
855
813c8a3c
DA
8562009-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
857
858 * elf64-hppa.c: Remove PARAMS macro. Replace PTR with void *. Convert
859 functions to C90.
860 * elf64-hppa.h: Likewise.
861
2d0f9ad9
JM
8622009-02-06 Joseph Myers <joseph@codesourcery.com>
863
864 * elfxx-mips.c (_bfd_mips_elf_section_processing): Remove special
865 .sbss handling.
866
50e00962
AM
8672009-02-04 Alan Modra <amodra@bigpond.net.au>
868
869 * elf32-spu.c (spu_elf_build_stubs): Define __icache_neg_log2_linesize.
870 Define __icache_ptr_handler*, not __icache_ptr___icache_bi_handler*.
871
52b6b6b9
JM
8722009-02-03 Sandip Matte <sandip@rmicorp.com>
873
874 * aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr.
875 * archures.c (bfd_mach_mips_xlr): Define.
876 * bfd-in2.h: Regenerate.
877 * cpu-mips.c (I_xlr): Define.
878 (arch_info_struct): Add XLR entry.
879 * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR.
880 (mips_set_isa_flags): Handle bfd_mach_mips_xlr
881 (mips_mach_extensions): Add XLR entry.
882
654c3c9f
EW
8832009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
884
885 * elf32-avr.c (avr_final_link_relocate): Allow avr25 to wraparound.
886
31dd3154
JM
8872009-02-03 Carlos O'Donell <carlos@codesourcery.com>
888
889 * configure.in: AC_SUBST pdfdir.
890 * Makefile.am: Add install-pdf, install-pdf-am
891 and install-pdf-recursive targets. Define pdfdir.
892 * doc/Makefile.am: Define pdf__strip_dir. Add
893 install-pdf and install-pdf-am targets.
894 * po/Make-in: Add install-pdf target.
895 * configure: Regenerate.
896 * Makefile.in: Regenerate
897 * doc/Makefile.in: Regenerate.
898
cf869cce
NC
8992009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
900
901 * bfd-in2.h: Regenerate.
902 * elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and
903 fields from n_entries to n_slots where appropriate, update comments.
904 (HOWTO): Add TLS relocations.
905 (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*.
906 (enum elf_m68k_got_offset_size): New enum.
907 (struct elf_m68k_got_entry.type): Move field to ...
908 (struct elf_m68k_got_entry_key): ... here. Update all uses.
909 (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static
910 functions.
911 (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static
912 functions.
913 (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries
914 fields into n_entries array. Update comments.
915 (elf_m68k_init_got): Simplify, update all uses.
916 (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update.
917 (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot
918 GOT entries; update name, update all uses.
919 (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto.
920 (elf_m68k_get_got_entry): Update.
921 (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries,
922 simplify.
923 (elf_m68k_remove_got_entry_type): Simplify.
924 (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update.
925 (elf_m68k_can_merge_gots): Update.
926 (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update.
927 (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot
928 GOT entries, simplify.
929 (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same.
930 (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff
931 field, remove obsoleted local_n_entries field.
932 (elf_m68k_partition_multi_got_2): New static function.
933 (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it;
934 update.
935 (elf_m68k_remove_got_entry_type): Update.
936 (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
937 (elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary
938 update of sgot->size and srelgot->size.
939 (elf_m68k_gc_sweep_hook): Update.
940 (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
941 (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle
942 TLS relocations.
943 * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations.
944 * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.
945
c1a0a41f
DD
9462009-02-02 DJ Delorie <dj@redhat.com>
947
948 * elf32-mep.c (config_names): Regenerate configuration.
949
72a80a16
AM
9502009-02-02 Alan Modra <amodra@bigpond.net.au>
951
952 * elf-bfd.h (bfd_elf_get_str_section): Don't declare.
953 (bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise.
954 * elf.c (bfd_elf_get_str_section): Make static.
955 (bfd_elf_find_section): Delete.
956 * libbfd.h: Regenerate.
957
273f4430
JK
9582009-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
959
960 * elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove.
961 (_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs.
962
010e5ae2
AM
9632009-01-31 Alan Modra <amodra@bigpond.net.au>
964
965 * elflink.c (on_needed_list): New function.
966 (elf_link_add_object_symbols): Link in --as-needed libs if they
967 satisfy undefined symbols in other libs.
968
33a7ffc2
JM
9692009-01-30 Julian Brown <julian@codesourcery.com>
970
971 * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with
972 EXEC_P or DYNAMIC flags, and skip sections which are being linked
973 with --just-symbols (-R).
974
13d72a14
AN
9752009-01-29 Adam Nemet <anemet@caviumnetworks.com>
976
977 * dwarf2.c (read_rangelist): Use read_address to read low_pc and
978 high_pc in order to properly sign-extend VMAs.
979
d334575b
JM
9802009-01-29 Daniel Jacobowitz <dan@codesourcery.com>
981 Mark Shinwell <shinwell@codesourcery.com>
982 Catherine Moore <clm@codesourcery.com>
983
984 * elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments.
985
528aeb62
CM
9862009-01-28 Catherine Moore <clm@codesourcery.com>
987
988 * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and
989 SEC_LOAD for dynamic relocation sections.
990
f6f05983
HPN
9912009-01-27 Hans-Peter Nilsson <hp@axis.com>
992
993 * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table
994 (info)->tls_size, not elf_hash_table (info)->tls_sec->size for
995 the size of local TLS data.
996
27cc28f9
AS
9972009-01-27 Andreas Schwab <schwab@suse.de>
998
999 * mach-o.c (bfd_mach_o_archive_p): Restrict the number of
1000 architectures in the archive.
1001
b3bf42d8
HPN
10022009-01-27 Hans-Peter Nilsson <hp@axis.com>
1003
f551b6f0
HPN
1004 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL>
1005 <R_CRIS_32_DTPREL>: Correct relocation value.
1006
b3bf42d8
HPN
1007 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8>
1008 <R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined
1009 symbols with non-default visibility.
1010
9bc4e62b
NS
10112009-01-26 Nathan Sidwell <nathan@codesourcery.com>
1012
1013 * elf32-ppc.c (ppc_elf_relax_section): Add space for relocs
1014 describing the trampolines.
1015 (ppc_elf_relocate_section): Update relocs to describe the
1016 trampolines.
1017
aeaf6540
DA
10182009-01-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1019
1020 * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that
1021 branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F
1022 and R_PARISC_PCREL12F relocations.
1023
1e8fa21e
AM
10242009-01-24 Alan Modra <amodra@bigpond.net.au>
1025
1026 PR 6022
1027 * elflink.c (find_version_for_sym): New function split out from,
1028 but without export_dynamic test, ..
1029 (_bfd_elf_link_assign_sym_version): ..here.
1030 (_bfd_elf_export_symbol): Use it.
1031
28caa186
AM
10322009-01-23 Alan Modra <amodra@bigpond.net.au>
1033
1034 * elf-bfd.h (struct elf_assign_sym_version_info): Delete.
1035 (struct elf_info_failed, struct elf_find_verdep_info): Move to..
1036 * elflink.c: ..here, somewhat modified.
1037 * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol,
1038 _bfd_elf_link_find_version_dependencies,
1039 _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section,
1040 _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol,
1041 _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't
1042 declare..
1043 * elflink.c: ..and make static here.
1044 (_bfd_elf_link_find_version_dependencies): Adjust for removal
1045 of output_bfd from struct elf_find_verdep_info.
1046 (_bfd_elf_link_assign_sym_version): Similarly adjust to use
1047 struct elf_info_failed.
1048 (bfd_elf_size_dynamic_sections): Adjust.
1049
be04437d
AM
10502009-01-22 Alan Modra <amodra@bigpond.net.au>
1051
1052 PR 6832
1053 * dwarf2.c (find_line): Don't update stash->sec_info_ptr until
1054 after comp_unit_find_line call.
1055
58f9615c
NC
10562009-01-21 Nick Clifton <nickc@redhat.com>
1057
1058 PR 9769
1059 * vmsutil.c (vms_file_stats_name): Remove use of unsupported
1060 tm_gmtoff field in struct tm.
1061
fb266b8b
AM
10622009-01-21 Alan Modra <amodra@bigpond.net.au>
1063
1064 * elf32-spu.h (struct spu_elf_params): Add non_ia_text.
1065 * elf32-spu.c (mark_overlay_section): Only include .text.ia.*
1066 sections in soft-icache lines unless non_ia_text. Don't add
1067 rodata if doing so would exceed line size.
1068
451ffe63
HPN
10692009-01-19 Hans-Peter Nilsson <hp@axis.com>
1070
1071 * elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol
1072 types than bfd_link_hash_indirect, before early return, call
1073 _bfd_elf_link_hash_copy_indirect.
1074
5aa6ff7c
AS
10752009-01-19 Andrew Stubbs <ams@codesourcery.com>
1076
1077 * elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering.
1078 * elf-bfd.h (elf_backend_data): Add obj_attrs_order.
1079 * elf32-arm.c (elf32_arm_obj_attrs_order): New function.
1080 (elf_backend_obj_attrs_order): New define.
1081 * elfxx-target.h (elf_backend_obj_attrs_order): New define.
1082 (elfNN_bed): Add elf_backend_obj_attrs_order.
1083
3483fe2e
AS
10842009-01-19 Andrew Stubbs <ams@codesourcery.com>
1085
1086 * elf-attrs.c (is_default_attr): Substitute magic numbers with macros.
1087 (obj_attr_size): Likewise.
1088 (write_obj_attribute): Likewise.
1089 (_bfd_elf_copy_obj_attributes): Likewise.
1090 (_bfd_elf_parse_attributes): Likewise.
1091 * elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define.
1092 (ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines.
1093 (ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines.
1094 (ATTR_TYPE_HAS_NO_DEFAULT): New define.
1095 * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers
1096 with macros.
1097
2d0bb761
AS
10982009-01-19 Andrew Stubbs <ams@codesourcery.com>
1099
1100 * elf-attrs.c (is_default_attr): Support defaultless attributes.
1101 (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type.
1102 (bfd_elf_add_obj_attr_string): Likewise.
1103 (bfd_elf_add_obj_attr_int_string): Likewise.
1104 (_bfd_elf_parse_attributes): Allow for unknown flag bits in type.
1105 * elf-bfd.h (struct obj_attribute): Document new flag bit.
1106 * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that
1107 Tag_nodefaults has no default value.
1108 (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults
1109 comment to reflect the new state.
1110
a77e83b7
AM
11112009-01-19 Alan Modra <amodra@bigpond.net.au>
1112
1113 PR 9695
1114 * pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC.
1115 (some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC.
1116 (adjust_z_magix): Delete dead code handling QMAGIC.
1117
f6d29e26
KT
11182009-01-16 Kai Tietz <kai.tietz@onevision.com>
1119
1120 * coffcode.h (styp_to_sec_flags): Correct interpretation of
1121 IMAGE_SCN_MEM_DISCARDABLE.
1122
29670fb9
AM
11232009-01-16 Alan Modra <amodra@bigpond.net.au>
1124
1125 * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute
1126 SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS.
1127 * configure.in (commonbfdlib): Delete.
1128 (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/
1129 (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such
1130 is available, not just for linux.
1131 * po/SRC-POTFILES.in: Regenerate.
1132 * Makefile.in: Regenerate.
1133 * configure: Regenerate.
1134
91e22acd
AS
11352009-01-15 Andrew Stubbs <ams@codesourcery.com>
1136 Julian Brown <julian@codesourcery.com>
1137
1138 * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known
1139 ARM attributes in ABI 2.07.
1140 * elf32-arm.c (get_secondary_compatible_arch): New function.
1141 (set_secondary_compatible_arch): New function.
1142 (tag_cpu_arch_combine): New function.
1143 (elf32_arm_copy_one_eabi_other_attribute): Delete function.
1144 (elf32_arm_copy_eabi_other_attribute_list): Delete function.
1145 (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to
1146 make it fit with order_01243.
1147 Add support for Tag_also_compatible_with,
1148 Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use,
1149 Tag_MPextension_use, Tag_nodefaults and Tag_conformance.
1150 Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name,
1151 Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension,
1152 Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed,
1153 Tag_VFP_arch and Tag_ABI_FP_16bit_format.
1154 Rework the way unknown attributes are handled.
1155 Defer errors until all attributes have been processed.
1156
7b86a9fa
AS
11572009-01-15 Andrew Stubbs <ams@codesourcery.com>
1158
1159 * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to
1160 bfd_elf_add_obj_attr_int_string.
1161 Read Tag_compatibility from its new location in the attribute array,
1162 rather than the attribute list.
1163 (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat ->
1164 bfd_elf_add_obj_attr_int_string.
1165 (_bfd_elf_parse_attributes): Likewise.
1166 (_bfd_elf_merge_object_attributes): There's now only one
1167 Tag_compatibility, and it's in the array, not the list.
1168 * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include
1169 Tag_compatibility.
1170 (bfd_elf_add_obj_attr_compat): Rename to
1171 bfd_elf_add_obj_attr_int_string.
1172 (bfd_elf_add_proc_attr_compat): Rename to
1173 bfd_elf_add_proc_attr_int_string.
1174 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle
1175 Tag_compatibility.
1176
01e1a5bc
NC
11772009-01-15 Douglas B Rupp <rupp@gnat.com>
1178
1179 * Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo
1180 (BFD32_BACKENDS_CFILES): Add new file vmsutil.c
1181 (vmsutil.lo): Add dependency rule.
1182 * Makefile.in: Regenerate.
1183 * config.bfd (ia64*-*-*vms*): Add case.
1184 * configure.in (bfd_elf64_ia64_vms_vec): Add case.
1185 * configure: Regenerate.
1186 * vmsutil.c: New file.
1187 * vmsutil.h: New file.
1188 * elf-bfd.h (struct bfd_elf_special_section): Change type of
1189 attr to bfd_vma.
1190 * elfxx-ia64.c (elfNN_vms_post_process_headers,
1191 elfNN_vms_section_processing, elfNN_vms_final_write_processing,
1192 elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr,
1193 elfNN_vms_object_p): New functions
1194 * targets.c (bfd_elf64_ia64_vms_vec): New target.
1195
a33dafc3
L
11962009-01-14 H.J. Lu <hongjiu.lu@intel.com>
1197
1198 PR ld/9727
1199 * elflink.c (elf_gc_sweep): Exclude the group section if the
1200 first member of the section group is excluded.
1201
13c0e967
AM
12022009-01-14 Alan Modra <amodra@bigpond.net.au>
1203
1204 PR 9735
1205 * syms.c (_bfd_stab_section_find_nearest_line): Don't free
1206 saved filename, use bfd_alloc rather than bfd_malloc for it.
1207
460e679b
AM
12082009-01-13 Alan Modra <amodra@bigpond.net.au>
1209
1210 * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.
1211
25076afa
AM
12122009-01-13 Alan Modra <amodra@bigpond.net.au>
1213
1214 * elf32-spu.c (remove_cycles): Always set call->max_depth.
1215
37107878
AM
12162009-01-12 Alan Modra <amodra@bigpond.net.au>
1217
1218 * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
1219
cd4a7468
AM
12202009-01-12 Alan Modra <amodra@bigpond.net.au>
1221
1222 * elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
1223 num_lines_log2.
1224 (struct got_entry): Add br_addr.
1225 (struct call_info): Add priority.
1226 (struct function_info): Add lr_store and sp_adjust.
1227 (spu_elf_setup): Init line_size_log2 and num_lines_log2.
1228 (spu_elf_find_overlays): For soft-icache, mark any section within cache
1229 area as an overlay, and check that no other overlays exist. Look up
1230 icache overlay manager entry sym.
1231 (BRA_STUBS, BRA, BRASL): Define.
1232 (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
1233 (needs_ovl_stub): Adjust for soft-icache. Return priority encoded
1234 in branch insn.
1235 (count_stub, build_stub): Support soft-icache.
1236 (build_spuear_stubs, process_stubs): Adjust build_stub call.
1237 (spu_elf_size_stubs): Size soft-icache stubs.
1238 (overlay_index): New function.
1239 (spu_elf_build_stubs): Make static. Support soft-icache.
1240 (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
1241 (find_function_stack_adjust): Save lr store and stack adjust insn
1242 offsets.
1243 (maybe_insert_function): Adjust find_function_stack_adjust call.
1244 (mark_functions_via_relocs): Retrieve priority.
1245 (remove_cycles): Only warn about pruned arcs when stack_analysis.
1246 (sort_calls): Sort by priority first.
1247 (mark_overlay_section): Ignore .ovl.init.
1248 (sum_stack): Only print when stack_analysis.
1249 (print_one_overlay_section): New function, extracted from..
1250 (spu_elf_auto_overlay): ..here. Support soft-icache overlays.
1251 (spu_elf_stack_analysis): Only print when htab->stack_analysis.
1252 (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
1253 analysis. Call spu_elf_build_stubs.
1254 (spu_elf_relocate_section): For soft-icache encode overlay index
1255 into addresses.
1256 (spu_elf_output_symbol_hook): Support soft-icache.
1257 (spu_elf_modify_program_headers: Likewise.
37107878 1258
cd4a7468
AM
1259 * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename
1260 num_regions to num_lines. Add line_size and max_branch.
1261 (enum _ovly_flavour): Add ovly_soft_icache.
1262 (spu_elf_build_stubs): Delete.
1263
80c29487
JK
12642009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1265
1266 * elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4
1267 relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'.
1268
1bc86aea
HPN
12692009-01-07 Hans-Peter Nilsson <hp@axis.com>
1270
1271 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
1272 <case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in
1273 the program, the known offset starts at the negative size of the
1274 TLS section.
1275 <case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>:
1276 Similar.
1277
3baa454d 12782009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
75606e85 1279
3baa454d 1280 * config.bfd: Add lm32-*-rtems*.
75606e85 1281
9dbe8890
L
12822009-01-03 H.J. Lu <hongjiu.lu@intel.com>
1283
1284 * coff-ppc.c: Add 2009 to Copyright.
1285 * elf32-cris.c: Likewise.
1286 * elflink.c: Likewise.
1287
0bdf8d40
HPN
12882009-01-03 Hans-Peter Nilsson <hp@axis.com>
1289
1290 * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename
1291 gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry.
1292
54ac0771
L
12932009-01-02 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 PR ld/9679
1296 * elflink.c (elf_merge_st_other): New.
1297 (_bfd_elf_merge_symbol): Use it on skipped weak definitions and
1298 hide them if needed.
1299 (elf_link_add_object_symbols): Updated.
1300
d8880531
L
13012009-01-02 H.J. Lu <hongjiu.lu@intel.com>
1302
1303 PR ld/9676
1304 * elflink.c (elf_link_add_object_symbols): Update def_dynamic,
1305 ref_dynamic and dynamic_def fields when setting def_regular
1306 to 1.
1307
b70b5c14
NC
13082009-01-02 Curtis Mackie <curtmackevo@gmail.com>
1309
1310 PR 9682
1311 * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string
1312 literal.
1313
d8880531 1314For older changes see ChangeLog-2008
56882138
AM
1315\f
1316Local Variables:
1317mode: change-log
1318left-margin: 8
1319fill-column: 74
1320version-control: never
1321End:
This page took 0.511352 seconds and 4 git commands to generate.