2009-01-16 Kai Tietz <kai.tietz@onevision.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2009-01-16 Kai Tietz <kai.tietz@onevision.com>
2
3 * coffcode.h (styp_to_sec_flags): Correct interpretation of
4 IMAGE_SCN_MEM_DISCARDABLE.
5
6 2009-01-16 Alan Modra <amodra@bigpond.net.au>
7
8 * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute
9 SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS.
10 * configure.in (commonbfdlib): Delete.
11 (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/
12 (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such
13 is available, not just for linux.
14 * po/SRC-POTFILES.in: Regenerate.
15 * Makefile.in: Regenerate.
16 * configure: Regenerate.
17
18 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
19 Julian Brown <julian@codesourcery.com>
20
21 * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known
22 ARM attributes in ABI 2.07.
23 * elf32-arm.c (get_secondary_compatible_arch): New function.
24 (set_secondary_compatible_arch): New function.
25 (tag_cpu_arch_combine): New function.
26 (elf32_arm_copy_one_eabi_other_attribute): Delete function.
27 (elf32_arm_copy_eabi_other_attribute_list): Delete function.
28 (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to
29 make it fit with order_01243.
30 Add support for Tag_also_compatible_with,
31 Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use,
32 Tag_MPextension_use, Tag_nodefaults and Tag_conformance.
33 Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name,
34 Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension,
35 Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed,
36 Tag_VFP_arch and Tag_ABI_FP_16bit_format.
37 Rework the way unknown attributes are handled.
38 Defer errors until all attributes have been processed.
39
40 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
41
42 * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to
43 bfd_elf_add_obj_attr_int_string.
44 Read Tag_compatibility from its new location in the attribute array,
45 rather than the attribute list.
46 (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat ->
47 bfd_elf_add_obj_attr_int_string.
48 (_bfd_elf_parse_attributes): Likewise.
49 (_bfd_elf_merge_object_attributes): There's now only one
50 Tag_compatibility, and it's in the array, not the list.
51 * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include
52 Tag_compatibility.
53 (bfd_elf_add_obj_attr_compat): Rename to
54 bfd_elf_add_obj_attr_int_string.
55 (bfd_elf_add_proc_attr_compat): Rename to
56 bfd_elf_add_proc_attr_int_string.
57 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle
58 Tag_compatibility.
59
60 2009-01-15 Douglas B Rupp <rupp@gnat.com>
61
62 * Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo
63 (BFD32_BACKENDS_CFILES): Add new file vmsutil.c
64 (vmsutil.lo): Add dependency rule.
65 * Makefile.in: Regenerate.
66 * config.bfd (ia64*-*-*vms*): Add case.
67 * configure.in (bfd_elf64_ia64_vms_vec): Add case.
68 * configure: Regenerate.
69 * vmsutil.c: New file.
70 * vmsutil.h: New file.
71 * elf-bfd.h (struct bfd_elf_special_section): Change type of
72 attr to bfd_vma.
73 * elfxx-ia64.c (elfNN_vms_post_process_headers,
74 elfNN_vms_section_processing, elfNN_vms_final_write_processing,
75 elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr,
76 elfNN_vms_object_p): New functions
77 * targets.c (bfd_elf64_ia64_vms_vec): New target.
78
79 2009-01-14 H.J. Lu <hongjiu.lu@intel.com>
80
81 PR ld/9727
82 * elflink.c (elf_gc_sweep): Exclude the group section if the
83 first member of the section group is excluded.
84
85 2009-01-14 Alan Modra <amodra@bigpond.net.au>
86
87 PR 9735
88 * syms.c (_bfd_stab_section_find_nearest_line): Don't free
89 saved filename, use bfd_alloc rather than bfd_malloc for it.
90
91 2009-01-13 Alan Modra <amodra@bigpond.net.au>
92
93 * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.
94
95 2009-01-13 Alan Modra <amodra@bigpond.net.au>
96
97 * elf32-spu.c (remove_cycles): Always set call->max_depth.
98
99 2009-01-12 Alan Modra <amodra@bigpond.net.au>
100
101 * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
102
103 2009-01-12 Alan Modra <amodra@bigpond.net.au>
104
105 * elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
106 num_lines_log2.
107 (struct got_entry): Add br_addr.
108 (struct call_info): Add priority.
109 (struct function_info): Add lr_store and sp_adjust.
110 (spu_elf_setup): Init line_size_log2 and num_lines_log2.
111 (spu_elf_find_overlays): For soft-icache, mark any section within cache
112 area as an overlay, and check that no other overlays exist. Look up
113 icache overlay manager entry sym.
114 (BRA_STUBS, BRA, BRASL): Define.
115 (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
116 (needs_ovl_stub): Adjust for soft-icache. Return priority encoded
117 in branch insn.
118 (count_stub, build_stub): Support soft-icache.
119 (build_spuear_stubs, process_stubs): Adjust build_stub call.
120 (spu_elf_size_stubs): Size soft-icache stubs.
121 (overlay_index): New function.
122 (spu_elf_build_stubs): Make static. Support soft-icache.
123 (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
124 (find_function_stack_adjust): Save lr store and stack adjust insn
125 offsets.
126 (maybe_insert_function): Adjust find_function_stack_adjust call.
127 (mark_functions_via_relocs): Retrieve priority.
128 (remove_cycles): Only warn about pruned arcs when stack_analysis.
129 (sort_calls): Sort by priority first.
130 (mark_overlay_section): Ignore .ovl.init.
131 (sum_stack): Only print when stack_analysis.
132 (print_one_overlay_section): New function, extracted from..
133 (spu_elf_auto_overlay): ..here. Support soft-icache overlays.
134 (spu_elf_stack_analysis): Only print when htab->stack_analysis.
135 (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
136 analysis. Call spu_elf_build_stubs.
137 (spu_elf_relocate_section): For soft-icache encode overlay index
138 into addresses.
139 (spu_elf_output_symbol_hook): Support soft-icache.
140 (spu_elf_modify_program_headers: Likewise.
141
142 * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename
143 num_regions to num_lines. Add line_size and max_branch.
144 (enum _ovly_flavour): Add ovly_soft_icache.
145 (spu_elf_build_stubs): Delete.
146
147 2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
148
149 * elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4
150 relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'.
151
152 2009-01-07 Hans-Peter Nilsson <hp@axis.com>
153
154 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
155 <case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in
156 the program, the known offset starts at the negative size of the
157 TLS section.
158 <case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>:
159 Similar.
160
161 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
162
163 * config.bfd: Add lm32-*-rtems*.
164
165 2009-01-03 H.J. Lu <hongjiu.lu@intel.com>
166
167 * coff-ppc.c: Add 2009 to Copyright.
168 * elf32-cris.c: Likewise.
169 * elflink.c: Likewise.
170
171 2009-01-03 Hans-Peter Nilsson <hp@axis.com>
172
173 * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename
174 gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry.
175
176 2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
177
178 PR ld/9679
179 * elflink.c (elf_merge_st_other): New.
180 (_bfd_elf_merge_symbol): Use it on skipped weak definitions and
181 hide them if needed.
182 (elf_link_add_object_symbols): Updated.
183
184 2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
185
186 PR ld/9676
187 * elflink.c (elf_link_add_object_symbols): Update def_dynamic,
188 ref_dynamic and dynamic_def fields when setting def_regular
189 to 1.
190
191 2009-01-02 Curtis Mackie <curtmackevo@gmail.com>
192
193 PR 9682
194 * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string
195 literal.
196
197 For older changes see ChangeLog-2008
198 \f
199 Local Variables:
200 mode: change-log
201 left-margin: 8
202 fill-column: 74
203 version-control: never
204 End:
This page took 0.035715 seconds and 4 git commands to generate.