]>
Commit | Line | Data |
---|---|---|
273f4430 JK |
1 | 2009-02-01 Jan Kratochvil <[email protected]> |
2 | ||
3 | * elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove. | |
4 | (_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs. | |
5 | ||
010e5ae2 AM |
6 | 2009-01-31 Alan Modra <[email protected]> |
7 | ||
8 | * elflink.c (on_needed_list): New function. | |
9 | (elf_link_add_object_symbols): Link in --as-needed libs if they | |
10 | satisfy undefined symbols in other libs. | |
11 | ||
33a7ffc2 JM |
12 | 2009-01-30 Julian Brown <[email protected]> |
13 | ||
14 | * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with | |
15 | EXEC_P or DYNAMIC flags, and skip sections which are being linked | |
16 | with --just-symbols (-R). | |
17 | ||
13d72a14 AN |
18 | 2009-01-29 Adam Nemet <[email protected]> |
19 | ||
20 | * dwarf2.c (read_rangelist): Use read_address to read low_pc and | |
21 | high_pc in order to properly sign-extend VMAs. | |
22 | ||
d334575b JM |
23 | 2009-01-29 Daniel Jacobowitz <[email protected]> |
24 | Mark Shinwell <[email protected]> | |
25 | Catherine Moore <[email protected]> | |
26 | ||
27 | * elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments. | |
28 | ||
528aeb62 CM |
29 | 2009-01-28 Catherine Moore <[email protected]> |
30 | ||
31 | * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and | |
32 | SEC_LOAD for dynamic relocation sections. | |
33 | ||
f6f05983 HPN |
34 | 2009-01-27 Hans-Peter Nilsson <[email protected]> |
35 | ||
36 | * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table | |
37 | (info)->tls_size, not elf_hash_table (info)->tls_sec->size for | |
38 | the size of local TLS data. | |
39 | ||
27cc28f9 AS |
40 | 2009-01-27 Andreas Schwab <[email protected]> |
41 | ||
42 | * mach-o.c (bfd_mach_o_archive_p): Restrict the number of | |
43 | architectures in the archive. | |
44 | ||
b3bf42d8 HPN |
45 | 2009-01-27 Hans-Peter Nilsson <[email protected]> |
46 | ||
f551b6f0 HPN |
47 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL> |
48 | <R_CRIS_32_DTPREL>: Correct relocation value. | |
49 | ||
b3bf42d8 HPN |
50 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8> |
51 | <R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined | |
52 | symbols with non-default visibility. | |
53 | ||
9bc4e62b NS |
54 | 2009-01-26 Nathan Sidwell <[email protected]> |
55 | ||
56 | * elf32-ppc.c (ppc_elf_relax_section): Add space for relocs | |
57 | describing the trampolines. | |
58 | (ppc_elf_relocate_section): Update relocs to describe the | |
59 | trampolines. | |
60 | ||
aeaf6540 DA |
61 | 2009-01-25 John David Anglin <[email protected]> |
62 | ||
63 | * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that | |
64 | branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F | |
65 | and R_PARISC_PCREL12F relocations. | |
66 | ||
1e8fa21e AM |
67 | 2009-01-24 Alan Modra <[email protected]> |
68 | ||
69 | PR 6022 | |
70 | * elflink.c (find_version_for_sym): New function split out from, | |
71 | but without export_dynamic test, .. | |
72 | (_bfd_elf_link_assign_sym_version): ..here. | |
73 | (_bfd_elf_export_symbol): Use it. | |
74 | ||
28caa186 AM |
75 | 2009-01-23 Alan Modra <[email protected]> |
76 | ||
77 | * elf-bfd.h (struct elf_assign_sym_version_info): Delete. | |
78 | (struct elf_info_failed, struct elf_find_verdep_info): Move to.. | |
79 | * elflink.c: ..here, somewhat modified. | |
80 | * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol, | |
81 | _bfd_elf_link_find_version_dependencies, | |
82 | _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section, | |
83 | _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, | |
84 | _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't | |
85 | declare.. | |
86 | * elflink.c: ..and make static here. | |
87 | (_bfd_elf_link_find_version_dependencies): Adjust for removal | |
88 | of output_bfd from struct elf_find_verdep_info. | |
89 | (_bfd_elf_link_assign_sym_version): Similarly adjust to use | |
90 | struct elf_info_failed. | |
91 | (bfd_elf_size_dynamic_sections): Adjust. | |
92 | ||
be04437d AM |
93 | 2009-01-22 Alan Modra <[email protected]> |
94 | ||
95 | PR 6832 | |
96 | * dwarf2.c (find_line): Don't update stash->sec_info_ptr until | |
97 | after comp_unit_find_line call. | |
98 | ||
58f9615c NC |
99 | 2009-01-21 Nick Clifton <[email protected]> |
100 | ||
101 | PR 9769 | |
102 | * vmsutil.c (vms_file_stats_name): Remove use of unsupported | |
103 | tm_gmtoff field in struct tm. | |
104 | ||
fb266b8b AM |
105 | 2009-01-21 Alan Modra <[email protected]> |
106 | ||
107 | * elf32-spu.h (struct spu_elf_params): Add non_ia_text. | |
108 | * elf32-spu.c (mark_overlay_section): Only include .text.ia.* | |
109 | sections in soft-icache lines unless non_ia_text. Don't add | |
110 | rodata if doing so would exceed line size. | |
111 | ||
451ffe63 HPN |
112 | 2009-01-19 Hans-Peter Nilsson <[email protected]> |
113 | ||
114 | * elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol | |
115 | types than bfd_link_hash_indirect, before early return, call | |
116 | _bfd_elf_link_hash_copy_indirect. | |
117 | ||
5aa6ff7c AS |
118 | 2009-01-19 Andrew Stubbs <[email protected]> |
119 | ||
120 | * elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering. | |
121 | * elf-bfd.h (elf_backend_data): Add obj_attrs_order. | |
122 | * elf32-arm.c (elf32_arm_obj_attrs_order): New function. | |
123 | (elf_backend_obj_attrs_order): New define. | |
124 | * elfxx-target.h (elf_backend_obj_attrs_order): New define. | |
125 | (elfNN_bed): Add elf_backend_obj_attrs_order. | |
126 | ||
3483fe2e AS |
127 | 2009-01-19 Andrew Stubbs <[email protected]> |
128 | ||
129 | * elf-attrs.c (is_default_attr): Substitute magic numbers with macros. | |
130 | (obj_attr_size): Likewise. | |
131 | (write_obj_attribute): Likewise. | |
132 | (_bfd_elf_copy_obj_attributes): Likewise. | |
133 | (_bfd_elf_parse_attributes): Likewise. | |
134 | * elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define. | |
135 | (ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines. | |
136 | (ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines. | |
137 | (ATTR_TYPE_HAS_NO_DEFAULT): New define. | |
138 | * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers | |
139 | with macros. | |
140 | ||
2d0bb761 AS |
141 | 2009-01-19 Andrew Stubbs <[email protected]> |
142 | ||
143 | * elf-attrs.c (is_default_attr): Support defaultless attributes. | |
144 | (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type. | |
145 | (bfd_elf_add_obj_attr_string): Likewise. | |
146 | (bfd_elf_add_obj_attr_int_string): Likewise. | |
147 | (_bfd_elf_parse_attributes): Allow for unknown flag bits in type. | |
148 | * elf-bfd.h (struct obj_attribute): Document new flag bit. | |
149 | * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that | |
150 | Tag_nodefaults has no default value. | |
151 | (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults | |
152 | comment to reflect the new state. | |
153 | ||
a77e83b7 AM |
154 | 2009-01-19 Alan Modra <[email protected]> |
155 | ||
156 | PR 9695 | |
157 | * pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC. | |
158 | (some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC. | |
159 | (adjust_z_magix): Delete dead code handling QMAGIC. | |
160 | ||
f6d29e26 KT |
161 | 2009-01-16 Kai Tietz <[email protected]> |
162 | ||
163 | * coffcode.h (styp_to_sec_flags): Correct interpretation of | |
164 | IMAGE_SCN_MEM_DISCARDABLE. | |
165 | ||
29670fb9 AM |
166 | 2009-01-16 Alan Modra <[email protected]> |
167 | ||
168 | * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute | |
169 | SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS. | |
170 | * configure.in (commonbfdlib): Delete. | |
171 | (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/ | |
172 | (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such | |
173 | is available, not just for linux. | |
174 | * po/SRC-POTFILES.in: Regenerate. | |
175 | * Makefile.in: Regenerate. | |
176 | * configure: Regenerate. | |
177 | ||
91e22acd AS |
178 | 2009-01-15 Andrew Stubbs <[email protected]> |
179 | Julian Brown <[email protected]> | |
180 | ||
181 | * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known | |
182 | ARM attributes in ABI 2.07. | |
183 | * elf32-arm.c (get_secondary_compatible_arch): New function. | |
184 | (set_secondary_compatible_arch): New function. | |
185 | (tag_cpu_arch_combine): New function. | |
186 | (elf32_arm_copy_one_eabi_other_attribute): Delete function. | |
187 | (elf32_arm_copy_eabi_other_attribute_list): Delete function. | |
188 | (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to | |
189 | make it fit with order_01243. | |
190 | Add support for Tag_also_compatible_with, | |
191 | Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use, | |
192 | Tag_MPextension_use, Tag_nodefaults and Tag_conformance. | |
193 | Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name, | |
194 | Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension, | |
195 | Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed, | |
196 | Tag_VFP_arch and Tag_ABI_FP_16bit_format. | |
197 | Rework the way unknown attributes are handled. | |
198 | Defer errors until all attributes have been processed. | |
199 | ||
7b86a9fa AS |
200 | 2009-01-15 Andrew Stubbs <[email protected]> |
201 | ||
202 | * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to | |
203 | bfd_elf_add_obj_attr_int_string. | |
204 | Read Tag_compatibility from its new location in the attribute array, | |
205 | rather than the attribute list. | |
206 | (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat -> | |
207 | bfd_elf_add_obj_attr_int_string. | |
208 | (_bfd_elf_parse_attributes): Likewise. | |
209 | (_bfd_elf_merge_object_attributes): There's now only one | |
210 | Tag_compatibility, and it's in the array, not the list. | |
211 | * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include | |
212 | Tag_compatibility. | |
213 | (bfd_elf_add_obj_attr_compat): Rename to | |
214 | bfd_elf_add_obj_attr_int_string. | |
215 | (bfd_elf_add_proc_attr_compat): Rename to | |
216 | bfd_elf_add_proc_attr_int_string. | |
217 | * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle | |
218 | Tag_compatibility. | |
219 | ||
01e1a5bc NC |
220 | 2009-01-15 Douglas B Rupp <[email protected]> |
221 | ||
222 | * Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo | |
223 | (BFD32_BACKENDS_CFILES): Add new file vmsutil.c | |
224 | (vmsutil.lo): Add dependency rule. | |
225 | * Makefile.in: Regenerate. | |
226 | * config.bfd (ia64*-*-*vms*): Add case. | |
227 | * configure.in (bfd_elf64_ia64_vms_vec): Add case. | |
228 | * configure: Regenerate. | |
229 | * vmsutil.c: New file. | |
230 | * vmsutil.h: New file. | |
231 | * elf-bfd.h (struct bfd_elf_special_section): Change type of | |
232 | attr to bfd_vma. | |
233 | * elfxx-ia64.c (elfNN_vms_post_process_headers, | |
234 | elfNN_vms_section_processing, elfNN_vms_final_write_processing, | |
235 | elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr, | |
236 | elfNN_vms_object_p): New functions | |
237 | * targets.c (bfd_elf64_ia64_vms_vec): New target. | |
238 | ||
a33dafc3 L |
239 | 2009-01-14 H.J. Lu <[email protected]> |
240 | ||
241 | PR ld/9727 | |
242 | * elflink.c (elf_gc_sweep): Exclude the group section if the | |
243 | first member of the section group is excluded. | |
244 | ||
13c0e967 AM |
245 | 2009-01-14 Alan Modra <[email protected]> |
246 | ||
247 | PR 9735 | |
248 | * syms.c (_bfd_stab_section_find_nearest_line): Don't free | |
249 | saved filename, use bfd_alloc rather than bfd_malloc for it. | |
250 | ||
460e679b AM |
251 | 2009-01-13 Alan Modra <[email protected]> |
252 | ||
253 | * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute. | |
254 | ||
25076afa AM |
255 | 2009-01-13 Alan Modra <[email protected]> |
256 | ||
257 | * elf32-spu.c (remove_cycles): Always set call->max_depth. | |
258 | ||
37107878 AM |
259 | 2009-01-12 Alan Modra <[email protected]> |
260 | ||
261 | * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask. | |
262 | ||
cd4a7468 AM |
263 | 2009-01-12 Alan Modra <[email protected]> |
264 | ||
265 | * elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2, | |
266 | num_lines_log2. | |
267 | (struct got_entry): Add br_addr. | |
268 | (struct call_info): Add priority. | |
269 | (struct function_info): Add lr_store and sp_adjust. | |
270 | (spu_elf_setup): Init line_size_log2 and num_lines_log2. | |
271 | (spu_elf_find_overlays): For soft-icache, mark any section within cache | |
272 | area as an overlay, and check that no other overlays exist. Look up | |
273 | icache overlay manager entry sym. | |
274 | (BRA_STUBS, BRA, BRASL): Define. | |
275 | (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub. | |
276 | (needs_ovl_stub): Adjust for soft-icache. Return priority encoded | |
277 | in branch insn. | |
278 | (count_stub, build_stub): Support soft-icache. | |
279 | (build_spuear_stubs, process_stubs): Adjust build_stub call. | |
280 | (spu_elf_size_stubs): Size soft-icache stubs. | |
281 | (overlay_index): New function. | |
282 | (spu_elf_build_stubs): Make static. Support soft-icache. | |
283 | (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache. | |
284 | (find_function_stack_adjust): Save lr store and stack adjust insn | |
285 | offsets. | |
286 | (maybe_insert_function): Adjust find_function_stack_adjust call. | |
287 | (mark_functions_via_relocs): Retrieve priority. | |
288 | (remove_cycles): Only warn about pruned arcs when stack_analysis. | |
289 | (sort_calls): Sort by priority first. | |
290 | (mark_overlay_section): Ignore .ovl.init. | |
291 | (sum_stack): Only print when stack_analysis. | |
292 | (print_one_overlay_section): New function, extracted from.. | |
293 | (spu_elf_auto_overlay): ..here. Support soft-icache overlays. | |
294 | (spu_elf_stack_analysis): Only print when htab->stack_analysis. | |
295 | (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive | |
296 | analysis. Call spu_elf_build_stubs. | |
297 | (spu_elf_relocate_section): For soft-icache encode overlay index | |
298 | into addresses. | |
299 | (spu_elf_output_symbol_hook): Support soft-icache. | |
300 | (spu_elf_modify_program_headers: Likewise. | |
37107878 | 301 | |
cd4a7468 AM |
302 | * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename |
303 | num_regions to num_lines. Add line_size and max_branch. | |
304 | (enum _ovly_flavour): Add ovly_soft_icache. | |
305 | (spu_elf_build_stubs): Delete. | |
306 | ||
80c29487 JK |
307 | 2009-01-11 Jan Kratochvil <[email protected]> |
308 | ||
309 | * elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4 | |
310 | relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'. | |
311 | ||
1bc86aea HPN |
312 | 2009-01-07 Hans-Peter Nilsson <[email protected]> |
313 | ||
314 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD> | |
315 | <case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in | |
316 | the program, the known offset starts at the negative size of the | |
317 | TLS section. | |
318 | <case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: | |
319 | Similar. | |
320 | ||
3baa454d | 321 | 2009-01-05 Joel Sherrill <[email protected]> |
75606e85 | 322 | |
3baa454d | 323 | * config.bfd: Add lm32-*-rtems*. |
75606e85 | 324 | |
9dbe8890 L |
325 | 2009-01-03 H.J. Lu <[email protected]> |
326 | ||
327 | * coff-ppc.c: Add 2009 to Copyright. | |
328 | * elf32-cris.c: Likewise. | |
329 | * elflink.c: Likewise. | |
330 | ||
0bdf8d40 HPN |
331 | 2009-01-03 Hans-Peter Nilsson <[email protected]> |
332 | ||
333 | * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename | |
334 | gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry. | |
335 | ||
54ac0771 L |
336 | 2009-01-02 H.J. Lu <[email protected]> |
337 | ||
338 | PR ld/9679 | |
339 | * elflink.c (elf_merge_st_other): New. | |
340 | (_bfd_elf_merge_symbol): Use it on skipped weak definitions and | |
341 | hide them if needed. | |
342 | (elf_link_add_object_symbols): Updated. | |
343 | ||
d8880531 L |
344 | 2009-01-02 H.J. Lu <[email protected]> |
345 | ||
346 | PR ld/9676 | |
347 | * elflink.c (elf_link_add_object_symbols): Update def_dynamic, | |
348 | ref_dynamic and dynamic_def fields when setting def_regular | |
349 | to 1. | |
350 | ||
b70b5c14 NC |
351 | 2009-01-02 Curtis Mackie <[email protected]> |
352 | ||
353 | PR 9682 | |
354 | * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string | |
355 | literal. | |
356 | ||
d8880531 | 357 | For older changes see ChangeLog-2008 |
56882138 AM |
358 | \f |
359 | Local Variables: | |
360 | mode: change-log | |
361 | left-margin: 8 | |
362 | fill-column: 74 | |
363 | version-control: never | |
364 | End: |