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