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