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