ChangeLog-2009 revision 1.1 1 1.1 christos 2009-12-31 Cary Coutant <ccoutant (a] google.com>
2 1.1 christos
3 1.1 christos * dwarf2.c (struct line_sequence): New struct.
4 1.1 christos (struct line_info_table): Add num_sequences, remove last_line,
5 1.1 christos add sequences.
6 1.1 christos (add_line_info): Add new sequences as necessary.
7 1.1 christos (compare_sequences): New function.
8 1.1 christos (sort_line_sequences): New function.
9 1.1 christos (decode_line_info): Initialize new fields in line table.
10 1.1 christos Call sort_line_sequences.
11 1.1 christos (lookup_address_in_line_info_table): Binary search for proper
12 1.1 christos sequence.
13 1.1 christos
14 1.1 christos 2009-12-28 Daniel Gutson <dgutson (a] codesourcery.com>
15 1.1 christos
16 1.1 christos * elf32-arm.c (elf32_arm_final_link_relocate): limits
17 1.1 christos fixed.
18 1.1 christos
19 1.1 christos 2009-12-28 Daniel Gutson <dgutson (a] codesourcery.com>
20 1.1 christos
21 1.1 christos * elf-attrs.c (_bfd_elf_merge_object_attributes): Error
22 1.1 christos message rephrased.
23 1.1 christos
24 1.1 christos 2009-12-21 Alan Modra <amodra (a] gmail.com>
25 1.1 christos
26 1.1 christos * elf64-ppc.c: Delete my email address.
27 1.1 christos
28 1.1 christos 2009-12-18 Ulrich Weigand <uweigand (a] de.ibm.com>
29 1.1 christos
30 1.1 christos * elf.c (elfcore_grok_s390_high_gprs): New function.
31 1.1 christos (elfcore_grok_note): Handle NT_S390_HIGH_GPRS notes.
32 1.1 christos (elfcore_write_s390_high_gprs): New function.
33 1.1 christos (elfcore_write_register_note): Call it.
34 1.1 christos
35 1.1 christos 2009-12-17 Alan Modra <amodra (a] bigpond.net.au>
36 1.1 christos
37 1.1 christos PR ld/11088
38 1.1 christos * elf32-ppc.c (update_plt_info): Clear sec here when addend is
39 1.1 christos less than 32768..
40 1.1 christos (ppc_elf_check_relocs): ..rather than doing so here. Ignore new
41 1.1 christos relax relocs.
42 1.1 christos (ppc_elf_gc_sweep_hook): Don't segfault when symbol hiding has
43 1.1 christos removed plt_entry records.
44 1.1 christos (ppc_elf_tls_setup): Handle PIE calls to __tls_get_addr correctly.
45 1.1 christos (ppc_elf_tls_optimize): Likewise. Also dec __tls_get_addr refcount
46 1.1 christos when optimizing code using new tlsgd and tlsld marker relocs.
47 1.1 christos (ppc_elf_relax_section): Differentiate relaxed PLTREL24 relocs
48 1.1 christos from ADDR24 relocs using plt or glink. Don't clear the addend
49 1.1 christos for R_PPC_RELAX_PLTREL24.
50 1.1 christos (ppc_elf_relocate_section): Correctly handle addends on relaxed
51 1.1 christos PLTREL24 relocs.
52 1.1 christos
53 1.1 christos 2009-12-17 Alan Modra <amodra (a] bigpond.net.au>
54 1.1 christos
55 1.1 christos PR ld/11088
56 1.1 christos * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Don't abort if symbol
57 1.1 christos hiding has nulled out plt.plist.
58 1.1 christos
59 1.1 christos 2009-12-15 H.J. Lu <hongjiu.lu (a] intel.com>
60 1.1 christos
61 1.1 christos * opncls.c (bfd_opnr_iovec): Replace _XXX with XXX_P in
62 1.1 christos parameters.
63 1.1 christos
64 1.1 christos * tekhex.c (pass_over): Replace eof with is_eof.
65 1.1 christos
66 1.1 christos 2009-12-15 Tristan Gingold <gingold (a] adacore.com>
67 1.1 christos
68 1.1 christos * mach-o.h (bfd_mach_o_uuid_command): Remove section field.
69 1.1 christos * mach-o.c (bfd_mach_o_scan_read_uuid): Do not create a section
70 1.1 christos from this command.
71 1.1 christos
72 1.1 christos 2009-12-15 Tristan Gingold <gingold (a] adacore.com>
73 1.1 christos
74 1.1 christos * mach-o.c (struct mach_o_section_name_xlat): Add flags field.
75 1.1 christos (dwarf_section_names_xlat): Add section flags.
76 1.1 christos (text_section_names_xlat): Ditto.
77 1.1 christos (data_section_names_xlat): Ditto.
78 1.1 christos (bfd_mach_o_convert_section_name_to_bfd): Now return name and section
79 1.1 christos flags by reference.
80 1.1 christos (bfd_mach_o_make_bfd_section): Use section flags when know, otherwise
81 1.1 christos try to guess.
82 1.1 christos
83 1.1 christos 2009-12-14 Doug Kwan <dougkwan (a] google.com>
84 1.1 christos
85 1.1 christos * opncls.c (bfd_opnr_iovec): Rename parameters to avoid shawdowed
86 1.1 christos variable warnings.
87 1.1 christos * bfd-in2.h: Regnenerate.
88 1.1 christos
89 1.1 christos 2009-12-12 Nick Clifton <nickc (a] redhat.com>
90 1.1 christos
91 1.1 christos * coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variable
92 1.1 christos warning.
93 1.1 christos
94 1.1 christos 2009-12-11 Tristan Gingold <gingold (a] adacore.com>
95 1.1 christos
96 1.1 christos * som.c (bfd_som_set_subsection_attributes)
97 1.1 christos (bfd_section_from_som_symbol, som_reloc_queue_fix): Fix shadowed
98 1.1 christos variable warnings.
99 1.1 christos * cache.c (close_one): Likewise.
100 1.1 christos
101 1.1 christos 2009-12-11 Nick Clifton <nickc (a] redhat.com>
102 1.1 christos
103 1.1 christos * warning.m4 (GCC_WARN_CFLAGS): Add -Wshadow.
104 1.1 christos * configure: Regenerate.
105 1.1 christos * Makefile.in: Regenerate.
106 1.1 christos * doc/Makefile.in: Regenerate.
107 1.1 christos * aout-arm.c: Fix shadowed variable warnings.
108 1.1 christos * aout-tic30.c: Likewise.
109 1.1 christos * aoutx.h: Likewise.
110 1.1 christos * archive.c: Likewise.
111 1.1 christos * coff-alpha.c: Likewise.
112 1.1 christos * coff-i386.c: Likewise.
113 1.1 christos * coff-x86_64.c: Likewise.
114 1.1 christos * coffgen.c: Likewise.
115 1.1 christos * dwarf2.c: Likewise.
116 1.1 christos * ecoff.c: Likewise.
117 1.1 christos * elf-eh-frame.c: Likewise.
118 1.1 christos * elf-m10300.c: Likewise.
119 1.1 christos * elf.c: Likewise.
120 1.1 christos * elf32-arm.c: Likewise.
121 1.1 christos * elf32-avr.c: Likewise.
122 1.1 christos * elf32-bfin.c: Likewise.
123 1.1 christos * elf32-cr16.c: Likewise.
124 1.1 christos * elf32-i386.c: Likewise.
125 1.1 christos * elf32-ip2k.c: Likewise.
126 1.1 christos * elf32-lm32.c: Likewise.
127 1.1 christos * elf32-m68hc1x.c: Likewise.
128 1.1 christos * elf32-microblaze.c: Likewise.
129 1.1 christos * elf32-ppc.c: Likewise.
130 1.1 christos * elf32-rx.c: Likewise.
131 1.1 christos * elf32-score.c: Likewise.
132 1.1 christos * elf32-score7.c: Likewise.
133 1.1 christos * elf32-sh.c: Likewise.
134 1.1 christos * elf32-spu.c: Likewise.
135 1.1 christos * elf32-v850.c: Likewise.
136 1.1 christos * elf32-xtensa.c: Likewise.
137 1.1 christos * elf64-hppa.c: Likewise.
138 1.1 christos * elf64-ppc.c: Likewise.
139 1.1 christos * elf64-x86-64.c: Likewise.
140 1.1 christos * elflink.c: Likewise.
141 1.1 christos * elfxx-ia64.c: Likewise.
142 1.1 christos * elfxx-mips.c: Likewise.
143 1.1 christos * elfxx-sparc.c: Likewise.
144 1.1 christos * hash.c: Likewise.
145 1.1 christos * ieee.c: Likewise.
146 1.1 christos * libbfd.c: Likewise.
147 1.1 christos * mach-o.c: Likewise.
148 1.1 christos * merge.c: Likewise.
149 1.1 christos * nlm32-sparc.c: Likewise.
150 1.1 christos * oasys.c: Likewise.
151 1.1 christos * opncls.c: Likewise.
152 1.1 christos * pdp11.c: Likewise.
153 1.1 christos * peXXigen.c: Likewise.
154 1.1 christos * pef.c: Likewise.
155 1.1 christos * versados.c: Likewise.
156 1.1 christos * vms-gsd.c: Likewise.
157 1.1 christos * vms-hdr.c: Likewise.
158 1.1 christos * vms-tir.c: Likewise.
159 1.1 christos * vms.c: Likewise.
160 1.1 christos * xcofflink.c: Likewise.
161 1.1 christos * xsym.c: Likewise.
162 1.1 christos * xtensa-isa.c: Likewise.
163 1.1 christos
164 1.1 christos 2009-12-10 Maciej W. Rozycki <macro (a] codesourcery.com>
165 1.1 christos
166 1.1 christos * elfxx-mips.c (mips_elf_calculate_relocation): Correct handling
167 1.1 christos of undefined symbols.
168 1.1 christos
169 1.1 christos 2009-12-09 Daniel Jacobowitz <dan (a] codesourcery.com>
170 1.1 christos
171 1.1 christos * elf32-arm.c (elf32_arm_next_input_section): Skip sections without
172 1.1 christos SEC_CODE.
173 1.1 christos
174 1.1 christos 2009-12-08 Alan Modra <amodra (a] bigpond.net.au>
175 1.1 christos
176 1.1 christos * elf.c (write_zeros): New function.
177 1.1 christos (assign_file_positions_for_load_sections): Allocate file space for
178 1.1 christos NOBITS sections that are followed by PROGBITS sections in a segment.
179 1.1 christos
180 1.1 christos 2009-12-03 Tristan Gingold <gingold (a] adacore.com>
181 1.1 christos
182 1.1 christos * mach-o.c (bfd_mach_o_make_bfd_section): Force debug flags for
183 1.1 christos all sections of the __DWARF segment.
184 1.1 christos
185 1.1 christos 2009-12-03 Alan Modra <amodra (a] bigpond.net.au>
186 1.1 christos
187 1.1 christos PR ld/11047
188 1.1 christos * elf32-ppc.c (ppc_elf_relocate_section): Delete __tls_get_addr
189 1.1 christos symbol reference from relocs belonging to calls that are
190 1.1 christos optimized away.
191 1.1 christos * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
192 1.1 christos
193 1.1 christos 2009-12-02 Jerker Bck <jerker.back (a] gmail.com>
194 1.1 christos
195 1.1 christos PR binutils/11017
196 1.1 christos * coff-i386.h (COFF_PAGE_SIZE): Definition moved to coff/i386.h
197 1.1 christos
198 1.1 christos 2009-11-30 Joseph Myers <joseph (a] codesourcery.com>
199 1.1 christos
200 1.1 christos * configure: Regenerate.
201 1.1 christos
202 1.1 christos 2009-11-26 Per yvind Karlsen <peroyvind (a] mandriva.org>
203 1.1 christos
204 1.1 christos * plugin.c (bfd_plugin_bfd_copy_link_hash_symbol_type): Define.
205 1.1 christos
206 1.1 christos 2009-11-24 Joel Brobecker <brobecker (a] adacore.com>
207 1.1 christos
208 1.1 christos * acinclude.m4: Add include of ../config/zlib.m4.
209 1.1 christos * configure.in: AM_ZLIB to check for zlib support.
210 1.1 christos * configure: Regenerate.
211 1.1 christos
212 1.1 christos 2009-11-23 Paul Brook <paul (a] codesourcery.com>
213 1.1 christos
214 1.1 christos * libbfd-in.h (_bfd_generic_copy_link_hash_symbol_type): Add
215 1.1 christos prototype.
216 1.1 christos * elf-bfd.h (_bfd_elf_copy_link_hash_symbol_type): Add prototype.
217 1.1 christos * linker.c (_bfd_generic_copy_link_hash_symbol_type): New function.
218 1.1 christos * elflink.c (_bfd_elf_copy_link_hash_symbol_type): New function.
219 1.1 christos * targets.c (BFD_JUMP_TABLE_LINK, struct bfd_target): Add
220 1.1 christos _copy_link_hash_symbol_type.
221 1.1 christos * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Add
222 1.1 christos _bfd_generic_copy_link_hash_symbol_type.
223 1.1 christos * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add
224 1.1 christos _bfd_generic_copy_link_hash_symbol_type.
225 1.1 christos * aout-adobe.c (aout_32_bfd_copy_link_hash_symbol_type): Define.
226 1.1 christos * aout-target.h (MY_bfd_copy_link_hash_symbol_type): Define.
227 1.1 christos * aout-tic30.c (MY_bfd_copy_link_hash_symbol_type): Define.
228 1.1 christos * binary.c (binary_bfd_copy_link_hash_symbol_type): Define.
229 1.1 christos * bout.c (b_out_bfd_copy_link_hash_symbol_type): Define.
230 1.1 christos * coffcode.h (coff_bfd_copy_link_hash_symbol_type): Define.
231 1.1 christos * elfxx-target.h (bfd_elfNN_bfd_copy_link_hash_symbol_type): Define.
232 1.1 christos * i386msdos.c (msdos_bfd_copy_link_hash_symbol_type): Define.
233 1.1 christos * i386os9k.c (os9k_bfd_copy_link_hash_symbol_type): Define.
234 1.1 christos * ieee.c (ieee_bfd_copy_link_hash_symbol_type): Define.
235 1.1 christos * ihex.c (ihex_bfd_copy_link_hash_symbol_type): Define.
236 1.1 christos * libecoff.h (_bfd_ecoff_bfd_copy_link_hash_symbol_type): Define.
237 1.1 christos * mach-o.c (bfd_mach_o_bfd_copy_link_hash_symbol_type): Define.
238 1.1 christos * mmo.c (mmo_bfd_copy_link_hash_symbol_type): Define.
239 1.1 christos * nlm-target.h (nlm_bfd_copy_link_hash_symbol_type): Define.
240 1.1 christos * oasys.c (oasys_bfd_copy_link_hash_symbol_type): Define.
241 1.1 christos * pef.c (bfd_pef_bfd_copy_link_hash_symbol_type): Define.
242 1.1 christos * ppcboot.c (ppcboot_bfd_copy_link_hash_symbol_type): Define.
243 1.1 christos * som.c (som_bfd_copy_link_hash_symbol_type): Define.
244 1.1 christos * srec.c (srec_bfd_copy_link_hash_symbol_type): Define.
245 1.1 christos * tekhex.c (tekhex_bfd_copy_link_hash_symbol_type): Define.
246 1.1 christos * versados.c (versados_bfd_copy_link_hash_symbol_type): Define.
247 1.1 christos * vms.c (vms_bfd_copy_link_hash_symbol_type): Define.
248 1.1 christos * xsym.c (bfd_sym_bfd_copy_link_hash_symbol_type): Define.
249 1.1 christos * bfd-in2.h: Regenerate.
250 1.1 christos * libbfd.h: Regenerate.
251 1.1 christos
252 1.1 christos 2009-11-19 Tristan Gingold <gingold (a] adacore.com>
253 1.1 christos
254 1.1 christos * coff-rs6000.c (rs6000coff_vec): Use generic routines instead of
255 1.1 christos hard-coded casts.
256 1.1 christos (pmac_xcoff_vec): Ditto.
257 1.1 christos * coff64-rs6000.c (rs6000coff64_vec): Ditto.
258 1.1 christos (aix5coff64_vec): Ditto.
259 1.1 christos
260 1.1 christos 2009-11-18 Alan Modra <amodra (a] bigpond.net.au>
261 1.1 christos
262 1.1 christos * bfd-in.h (_bfd_elf_ppc_at_tls_transform): Declare.
263 1.1 christos * bfd-in2.h: Regenerate.
264 1.1 christos * elf64-ppc.c (ppc64_elf_relocate_section): Move code for R_PPC64_TLS
265 1.1 christos insn optimisation to..
266 1.1 christos * elf32-ppc.c (_bfd_elf_ppc_at_tls_transform): ..here. New function.
267 1.1 christos (ppc_elf_relocate_section): Use it.
268 1.1 christos
269 1.1 christos 2009-11-18 Alan Modra <amodra (a] bigpond.net.au>
270 1.1 christos
271 1.1 christos * targets.c: Don't include alloca-conf.h.
272 1.1 christos (bfd_get_target_info): Don't use alloca.
273 1.1 christos
274 1.1 christos 2009-11-17 H.J. Lu <hongjiu.lu (a] intel.com>
275 1.1 christos
276 1.1 christos PR ld/10955
277 1.1 christos * elfxx-ia64.c (elfNN_ia64_update_short_info): Also skip ABS
278 1.1 christos sections.
279 1.1 christos
280 1.1 christos 2009-11-17 H.J. Lu <hongjiu.lu (a] intel.com>
281 1.1 christos
282 1.1 christos PR ld/10955
283 1.1 christos * elfxx-ia64.c (elfNN_ia64_link_hash_table): Update comments.
284 1.1 christos (elfNN_ia64_update_short_info): Remove "->output_section" from
285 1.1 christos ia64_info->max_short_sec and ia64_info->min_short_sec.
286 1.1 christos (elfNN_ia64_choose_gp): Likewise.
287 1.1 christos (elfNN_ia64_relax_section): Pass tsec->output_section to
288 1.1 christos elfNN_ia64_update_short_info.
289 1.1 christos
290 1.1 christos 2009-11-17 H.J. Lu <hongjiu.lu (a] intel.com>
291 1.1 christos
292 1.1 christos PR ld/10955
293 1.1 christos * elfxx-ia64.c (elfNN_ia64_link_hash_table): Add max_short_sec,
294 1.1 christos max_short_offset, min_short_sec and min_short_offset.
295 1.1 christos (elfNN_ia64_update_short_info): New.
296 1.1 christos (elfNN_ia64_relax_section): Update max_short_sec,
297 1.1 christos max_short_offset, min_short_sec and min_short_offset.
298 1.1 christos (elfNN_ia64_choose_gp): Use min_short_sec/max_short_sec if
299 1.1 christos they are set.
300 1.1 christos
301 1.1 christos 2009-11-17 Paul Brook <paul (a] codesourcery.com>
302 1.1 christos Daniel Jacobowitz <dan (a] codesourcery.com>
303 1.1 christos
304 1.1 christos * elf32-arm.c (using_thumb_only, arch_has_arm_nop,
305 1.1 christos arch_has_thumb2_nop): Handle TAG_CPU_ARCH_V7E_M.
306 1.1 christos (tag_cpu_arch_combine): Ditto. Correct MAX_TAG_CPU_ARCH test.
307 1.1 christos
308 1.1 christos 2009-11-17 Ulrich Weigand <uweigand (a] de.ibm.com>
309 1.1 christos
310 1.1 christos * elf32-spu.c (struct spu_link_hash_table): Remove overlay_fixed,
311 1.1 christos reserved, and extra_stack_space members.
312 1.1 christos (spu_elf_auto_overlay): Use auto_overlay_fixed, auto_overlay_reserved,
313 1.1 christos and extra_stack_space members of htab->params instead.
314 1.1 christos
315 1.1 christos 2009-11-17 Tristan Gingold <gingold (a] adacore.com>
316 1.1 christos
317 1.1 christos * targets.c: Include alloca-conf.h
318 1.1 christos
319 1.1 christos 2009-11-16 Kai Tietz <kai.tietz (a] onevision.com>
320 1.1 christos
321 1.1 christos * targets.c (bfd_get_target_info): New function.
322 1.1 christos (_bfd_find_arch_match): New function.
323 1.1 christos * bfd-in2.h: Regenerated.
324 1.1 christos
325 1.1 christos 2009-11-12 Nick Clifton <nickc (a] redhat.com>
326 1.1 christos
327 1.1 christos * po/ru.po: Updates Russian translation.
328 1.1 christos
329 1.1 christos 2009-11-11 Nick Clifton <nickc (a] redhat.com>
330 1.1 christos
331 1.1 christos * po/id.po: Updated Indonesian translation.
332 1.1 christos
333 1.1 christos 2009-11-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
334 1.1 christos
335 1.1 christos * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS,
336 1.1 christos AC_SYS_LARGEFILE and checking the Solaris largefile exception.
337 1.1 christos * aclocal.m4: Regenerate.
338 1.1 christos * configure: Regenerate.
339 1.1 christos
340 1.1 christos 2009-11-09 H.J. Lu <hongjiu.lu (a] intel.com>
341 1.1 christos
342 1.1 christos PR ld/10911
343 1.1 christos * elflink.c (elf_link_output_extsym): Don't return on
344 1.1 christos STT_GNU_IFUNC symbol when stripping.
345 1.1 christos
346 1.1 christos 2009-11-08 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
347 1.1 christos
348 1.1 christos * elf32-hppa.c (elf32_hppa_final_link): Don't sort unwind information
349 1.1 christos in a relocatable link.
350 1.1 christos * elf64-hppa.c (elf_hppa_final_link): Likewise.
351 1.1 christos
352 1.1 christos 2009-11-05 Nick Clifton <nickc (a] redhat.com>
353 1.1 christos
354 1.1 christos * elflink.c (elf_link_add_object_symbols): Improve error
355 1.1 christos message generated when a symbol is left unresolved because a
356 1.1 christos --no-add-needed command line option has prevented the
357 1.1 christos inclusion of the DSO defining it.
358 1.1 christos
359 1.1 christos 2009-11-03 Alan Modra <amodra (a] bigpond.net.au>
360 1.1 christos Ulrich Weigand <uweigand (a] de.ibm.com>
361 1.1 christos
362 1.1 christos * elf32-spu.c (mark_functions_via_relocs): Handle non-branch relocs
363 1.1 christos (jump tables or other references to code labels) as well.
364 1.1 christos
365 1.1 christos 2009-11-02 Paul Brook <paul (a] codesourcery.com>
366 1.1 christos
367 1.1 christos * elf32-arm.c (elf32_arm_merge_eabi_attributes): Handle VFPv4
368 1.1 christos attributes.
369 1.1 christos
370 1.1 christos 2009-11-02 Alan Modra <amodra (a] bigpond.net.au>
371 1.1 christos
372 1.1 christos * elflink.c (elf_link_add_object_symbols): Don't force debug
373 1.1 christos symbols local.
374 1.1 christos
375 1.1 christos 2009-10-29 Johan Kristell <johankri (a] axis.com>
376 1.1 christos
377 1.1 christos * elf32-cris.c (cris_elf_plt_sym_val): New function.
378 1.1 christos (elf_backend_plt_sym_val): Define.
379 1.1 christos
380 1.1 christos 2009-10-27 Kai Tietz <kai.tietz (a] onevision.com>
381 1.1 christos
382 1.1 christos * peXXigen.c (bfdver.h): Add include.
383 1.1 christos (LINKER_VERSION): Do calculation based on BFD_VERSION.
384 1.1 christos
385 1.1 christos 2009-10-25 Maciej W. Rozycki <macro (a] linux-mips.org>
386 1.1 christos
387 1.1 christos * elf32-vax.c (elf_vax_relocate_section): Correct assertion.
388 1.1 christos
389 1.1 christos 2009-10-25 Maciej W. Rozycki <macro (a] linux-mips.org>
390 1.1 christos
391 1.1 christos * elf32-vax.c (elf_vax_plt_entry): Fix formatting.
392 1.1 christos
393 1.1 christos 2009-10-25 Maciej W. Rozycki <macro (a] linux-mips.org>
394 1.1 christos
395 1.1 christos * elf32-vax.c (elf_vax_relocate_section): Fix a typo.
396 1.1 christos
397 1.1 christos 2009-10-23 Kai Tietz <kai.tietz (a] onevision.com>
398 1.1 christos
399 1.1 christos * coff-x86_64.c (coff_amd64_rtype_to_howto): Subtract offset
400 1.1 christos of R_AMD64_PCRLONG_<X> relocations from addend.
401 1.1 christos
402 1.1 christos 2009-10-23 Alan Modra <amodra (a] bigpond.net.au>
403 1.1 christos
404 1.1 christos * plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS.
405 1.1 christos
406 1.1 christos 2009-10-20 Alan Modra <amodra (a] bigpond.net.au>
407 1.1 christos
408 1.1 christos PR binutils/10802
409 1.1 christos * opncls.c (_maybe_make_executable): Make DYNAMIC files executable.
410 1.1 christos
411 1.1 christos 2009-10-19 Hans-Peter Nilsson <hp (a] axis.com>
412 1.1 christos
413 1.1 christos * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_DTPREL>:
414 1.1 christos Don't subtract the size of the TLS block for non-shared objects
415 1.1 christos from the relocation.
416 1.1 christos
417 1.1 christos 2009-10-17 Arnold Metselaar <arnold.metselaar (a] planet.nl>
418 1.1 christos
419 1.1 christos * coff-z80.c (z80coff_vec): Allow sections to be of type
420 1.1 christos SEC_CODE or SEC_DATA
421 1.1 christos
422 1.1 christos 2009-10-16 Alan Modra <amodra (a] bigpond.net.au>
423 1.1 christos
424 1.1 christos PR binutils/10785
425 1.1 christos * coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Don't bfd_alloc
426 1.1 christos bim and bim->buffer. bfd_malloc instead.
427 1.1 christos * peicode.h (pe_ILF_build_a_bfd): Similarly.
428 1.1 christos (ILF_DATA_SIZE): Don't include bim.
429 1.1 christos * opncls.c (bfd_close): Test bim->buffer non-NULL before freeing.
430 1.1 christos
431 1.1 christos 2009-10-14 Alan Modra <amodra (a] bigpond.net.au>
432 1.1 christos
433 1.1 christos * aoutx.h (aout_link_check_ar_symbols): Typo fix.
434 1.1 christos
435 1.1 christos 2009-10-13 H.J. Lu <hongjiu.lu (a] intel.com>
436 1.1 christos
437 1.1 christos PR binutils/10763
438 1.1 christos * elf32-i386.c (elf_i386_finish_dynamic_symbol): Declare plt
439 1.1 christos earlier.
440 1.1 christos
441 1.1 christos 2009-10-13 Alan Modra <amodra (a] bigpond.net.au>
442 1.1 christos
443 1.1 christos * elflink.c (_bfd_elf_merge_symbol): Revert previous patch.
444 1.1 christos
445 1.1 christos 2009-10-12 Roland McGrath <roland (a] frob.com>
446 1.1 christos
447 1.1 christos * elflink.c (elf_link_add_object_symbols, _bfd_elf_merge_symbol):
448 1.1 christos Fix %s that should be %B in several message formats.
449 1.1 christos
450 1.1 christos 2009-10-10 Alan Modra <amodra (a] bigpond.net.au>
451 1.1 christos
452 1.1 christos * cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols for
453 1.1 christos excluded output sections.
454 1.1 christos
455 1.1 christos 2009-10-09 Tristan Gingold <gingold (a] adacore.com>
456 1.1 christos
457 1.1 christos * mach-o.c (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_RPATH.
458 1.1 christos (bfd_mach_o_bfd_print_private_bfd_data): Ditto.
459 1.1 christos
460 1.1 christos 2009-10-09 Tristan Gingold <gingold (a] adacore.com>
461 1.1 christos
462 1.1 christos * mach-o.c (bfd_mach_o_scan_read_symtab_symbols): Rename to
463 1.1 christos bfd_mach_o_read_symtab_symbols.
464 1.1 christos (bfd_mach_o_scan_write_thread): Rename to bfd_mach_o_write_thread.
465 1.1 christos (bfd_mach_o_scan_write_relocs): Rename to bfd_mach_o_write_relocs.
466 1.1 christos (bfd_mach_o_scan_write_section_32): Rename to
467 1.1 christos bfd_mach_o_write_section_32.
468 1.1 christos (bfd_mach_o_scan_write_section_64): Rename to
469 1.1 christos bfd_mach_o_write_section_64.
470 1.1 christos (bfd_mach_o_scan_write_segment_32): Rename to
471 1.1 christos bfd_mach_o_write_segment_32.
472 1.1 christos (bfd_mach_o_scan_write_segment_64): Rename to
473 1.1 christos bfd_mach_o_write_segment_64.
474 1.1 christos (bfd_mach_o_scan_write_symtab): Rename to bfd_mach_o_write_symtab.
475 1.1 christos (bfd_mach_o_scan_read_section_32): Rename to
476 1.1 christos bfd_mach_o_read_section_32.
477 1.1 christos (bfd_mach_o_scan_read_section_64): Rename to
478 1.1 christos bfd_mach_o_read_section_64.
479 1.1 christos (bfd_mach_o_scan_read_section): Rename to bfd_mach_o_read_section.
480 1.1 christos (bfd_mach_o_scan_read_symtab_strtab): Rename to
481 1.1 christos bfd_mach_o_read_symtab_strtab.
482 1.1 christos (bfd_mach_o_scan_read_symtab_symbol): Rename to
483 1.1 christos bfd_mach_o_read_symtab_symbol.
484 1.1 christos (bfd_mach_o_scan_read_dysymtab_symbol): Rename to
485 1.1 christos bfd_mach_o_read_dysymtab_symbol.
486 1.1 christos (bfd_mach_o_scan_read_dylinker): Rename to bfd_mach_o_read_dylinker.
487 1.1 christos (bfd_mach_o_scan_read_dylib): Rename to bfd_mach_o_read_dylib.
488 1.1 christos (bfd_mach_o_scan_read_prebound_dylib): Rename to
489 1.1 christos bfd_mach_o_read_prebound_dylib.
490 1.1 christos (bfd_mach_o_scan_read_thread): Rename to bfd_mach_o_read_thread.
491 1.1 christos (bfd_mach_o_scan_read_dysymtab): Rename to bfd_mach_o_read_dysymtab.
492 1.1 christos (bfd_mach_o_scan_read_symtab): Rename to bfd_mach_o_read_symtab.
493 1.1 christos (bfd_mach_o_scan_read_uuid): Rename to bfd_mach_o_read_uuid.
494 1.1 christos (bfd_mach_o_scan_read_linkedit): Rename to bfd_mach_o_read_linkedit.
495 1.1 christos (bfd_mach_o_scan_read_str): Rename to bfd_mach_o_read_str.
496 1.1 christos (bfd_mach_o_scan_read_dyld_info): Rename to bfd_mach_o_read_dyld_info.
497 1.1 christos (bfd_mach_o_scan_read_segment): Rename to bfd_mach_o_read_segment.
498 1.1 christos (bfd_mach_o_scan_read_segment_32): Rename to
499 1.1 christos bfd_mach_o_read_segment_32.
500 1.1 christos (bfd_mach_o_scan_read_segment_64): Rename to
501 1.1 christos bfd_mach_o_read_segment_64.
502 1.1 christos (bfd_mach_o_scan_read_command): Rename to bfd_mach_o_read_command.
503 1.1 christos * mach-o.h (bfd_mach_o_scan_read_dysymtab_symbol): Rename to
504 1.1 christos bfd_mach_o_read_dysymtab_symbol.
505 1.1 christos
506 1.1 christos 2009-10-09 Tristan Gingold <gingold (a] adacore.com>
507 1.1 christos
508 1.1 christos * mach-o.c (bfd_mach_o_section_get_entry_size): Moved.
509 1.1 christos (bfd_mach_o_section_get_nbr_indirect): Ditto.
510 1.1 christos (bfd_mach_o_get_synthetic_symtab): New function.
511 1.1 christos (bfd_mach_o_print_private_header): Print the number of commands
512 1.1 christos in decimal.
513 1.1 christos * mach-o.h (bfd_mach_o_get_synthetic_symtab): Add prototype.
514 1.1 christos * mach-o-target.c: Do not defined bfd_mach_o_get_synthetic_symtab.
515 1.1 christos
516 1.1 christos 2009-10-08 Tristan Gingold <gingold (a] adacore.com>
517 1.1 christos
518 1.1 christos * config.bfd: Add bfd_mach_o_i386_vec in x86_64-darwin targ_selvecs.
519 1.1 christos
520 1.1 christos 2009-10-06 H.J. Lu <hongjiu.lu (a] intel.com>
521 1.1 christos
522 1.1 christos * bfd-in2.h: Regenerated.
523 1.1 christos
524 1.1 christos 2009-10-02 Alan Modra <amodra (a] bigpond.net.au>
525 1.1 christos
526 1.1 christos * aout-cris.c (N_SHARED_LIB): Don't define.
527 1.1 christos * hp300bsd.c (N_SHARED_LIB): Don't define.
528 1.1 christos * i386bsd.c (N_SHARED_LIB): Don't define.
529 1.1 christos * i386linux.c (N_SHARED_LIB): Don't define.
530 1.1 christos * i386lynx.c (N_SHARED_LIB): Don't define.
531 1.1 christos * m68klinux.c (N_SHARED_LIB): Don't define.
532 1.1 christos * m88kmach3.c (N_SHARED_LIB): Don't define.
533 1.1 christos * mipsbsd.c (N_SHARED_LIB): Don't define.
534 1.1 christos * newsos3.c (N_SHARED_LIB): Don't define.
535 1.1 christos * pc532-mach.c (N_SHARED_LIB): Don't define.
536 1.1 christos * pdp11.c (N_SHARED_LIB): Don't define.
537 1.1 christos * sparclinux.c (N_SHARED_LIB): Don't define.
538 1.1 christos * vaxbsd.c (N_SHARED_LIB): Don't define.
539 1.1 christos
540 1.1 christos 2009-10-01 Dave Korn <dave.korn.cygwin (a] gmail.com>
541 1.1 christos
542 1.1 christos * cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux
543 1.1 christos symbol for a weak undef in the auxbfd, not the input bfd.
544 1.1 christos
545 1.1 christos 2009-10-01 Ulrich Weigand <uweigand (a] de.ibm.com>
546 1.1 christos
547 1.1 christos * elf32-spu.c (spu_elf_auto_overlay): Insert icache linker script
548 1.1 christos after .toe instead of before .text section. Set the LMA of all
549 1.1 christos overlay sections to their icache IA address.
550 1.1 christos (spu_elf_find_overlays): Determine icache set id without reference
551 1.1 christos to the LMA.
552 1.1 christos
553 1.1 christos 2009-09-30 Tristan Gingold <gingold (a] adacore.com>
554 1.1 christos
555 1.1 christos * configure.com: Use hosts/alphavms.h on both alpha and ia64 VMS.
556 1.1 christos
557 1.1 christos 2009-09-29 H.J. Lu <hongjiu.lu (a] intel.com>
558 1.1 christos
559 1.1 christos * elf64-x86-64.c (elf64_x86_64_append_rela): New.
560 1.1 christos (elf64_x86_64_relocate_section): Use it.
561 1.1 christos (elf64_x86_64_finish_dynamic_symbol): Likewise.
562 1.1 christos
563 1.1 christos 2009-09-29 DJ Delorie <dj (a] redhat.com>
564 1.1 christos
565 1.1 christos * Makefile.am (ALL_MACHINES): Add cpu-rx.lo.
566 1.1 christos (ALL_MACHINES_CFILES): Add cpu-rx.c.
567 1.1 christos (BFD32_BACKENDS): Add elf32-rx.lo.
568 1.1 christos (BFD32_BACKENDS_CFILES): Add elf32-rx.c.
569 1.1 christos * archures.c (bfd_architecture): Add bfd_arch_rx and bfd_mach_rx.
570 1.1 christos Export bfd_rx_arch.
571 1.1 christos (bfd_archures_list): Add bfd_rx_arch.
572 1.1 christos * config.bfd: Add entry for rx-*-elf.
573 1.1 christos * configure.in: Add entries for bfd_elf32_rx_le_vec and
574 1.1 christos bfd_elf32_rx_be_vec.
575 1.1 christos * reloc.c: Add RX relocations.
576 1.1 christos * targets.c: Add RX target vectors.
577 1.1 christos * Makefile.in: Regenerate.
578 1.1 christos * bfd-in2.h: Regenerate.
579 1.1 christos * configure: Regenerate.
580 1.1 christos * libbfd.h: Regenerate.
581 1.1 christos * cpu-rx.c: New file.
582 1.1 christos * elf32-rx.c: New file.
583 1.1 christos
584 1.1 christos 2009-09-29 M R Swami Reddy <MR.Swami.Reddy (a] nsc.com>
585 1.1 christos
586 1.1 christos * elf32-cr16.c (elf32_cr16_relocate_section): Removed
587 1.1 christos info->relocatable to fix the ld/testsuites/ld-elf/linkonce1 test case.
588 1.1 christos
589 1.1 christos 2009-09-28 Nick Clifton <nickc (a] redhat.com>
590 1.1 christos
591 1.1 christos PR 10478: Accepting Solaris binaries.
592 1.1 christos * elf.c (bfd_section_from_shdr): Allow SHN_BEFORE and SHN_AFTER
593 1.1 christos section link values in x86 binaries.
594 1.1 christos * elfcode.h (elf_object_p): Likewise.
595 1.1 christos
596 1.1 christos 2009-09-28 Philippe De Muyter <phdm (a] macqel.be>
597 1.1 christos
598 1.1 christos * elf32-m68k.c (elf_m68k_final_write_processing): New function.
599 1.1 christos (elf_backend_final_write_processing): Macro defined as above function.
600 1.1 christos
601 1.1 christos 2009-09-25 Martin Thuresson <martint (a] google.com>
602 1.1 christos
603 1.1 christos Update sources to make alpha and arm targets compile cleanly with
604 1.1 christos -Wc++-compat:
605 1.1 christos * ecoff.c: Add casts.
606 1.1 christos * ecofflink.c: Add casts.
607 1.1 christos * elf64-alpha.c: Add casts.
608 1.1 christos (struct alpha_elf_got_entry, struct alpha_elf_reloc_entry): Move
609 1.1 christos to top level.
610 1.1 christos (SKIP_HOWTO): Use enum name.
611 1.1 christos * elf32-arm.c: Add casts.
612 1.1 christos (elf32_arm_vxworks_bed): Update code to avoid multiple
613 1.1 christos declarations.
614 1.1 christos (struct map_stub): Move to top level.
615 1.1 christos
616 1.1 christos 2009-09-24 H.J. Lu <hongjiu.lu (a] intel.com>
617 1.1 christos
618 1.1 christos PR ld/10630
619 1.1 christos * elflink.c (elf_link_output_extsym): Turn off visibility on
620 1.1 christos local symbol.
621 1.1 christos (bfd_elf_final_link): Turn off visibility on dynamic local
622 1.1 christos symbol.
623 1.1 christos
624 1.1 christos 2009-09-24 Alan Modra <amodra (a] bigpond.net.au>
625 1.1 christos
626 1.1 christos PR binutils/10654
627 1.1 christos * dwarf2.c (lookup_address_in_line_info_table): Remove workaround
628 1.1 christos for invalid location lists generated by gcc-2.95 and Intel 6.0 C++.
629 1.1 christos Remove "function" parm, adjust caller.
630 1.1 christos
631 1.1 christos 2009-09-23 Matt Rice <ratmice (a] gmail.com>
632 1.1 christos
633 1.1 christos * bfd-in.h (bfd_elf_size_dynamic_sections): Add audit and depaudit
634 1.1 christos arguments.
635 1.1 christos * elflink.c (bfd_elf_size_dynamic_sections): Generate DT_AUDIT,
636 1.1 christos DT_DEPAUDIT from audit/depaudit arguments.
637 1.1 christos (elf_finalize_dynstr): Finalize DT_AUDIT and DT_DEPAUDIT strtab entries.
638 1.1 christos (elf_link_add_object_symbols): Set dt_audit target data when finding a
639 1.1 christos DT_AUDIT.
640 1.1 christos * bfd-in2.h: Regenerate.
641 1.1 christos * bfd-elf.h: Add dt_audit to elf_obj_tdata, and elf_dt_audit macro.
642 1.1 christos
643 1.1 christos 2009-09-23 Jie Zhang <jie.zhang (a] analog.com>
644 1.1 christos
645 1.1 christos * elf32-bfin.c (_bfinfdpic_size_got_plt): Make sure empty
646 1.1 christos .rel.plt and .plt sections are removed.
647 1.1 christos (elf32_bfinfdpic_size_dynamic_sections): Remove empty .dynbss
648 1.1 christos section. Remove the duplicated removing of empty .rel.plt
649 1.1 christos section.
650 1.1 christos
651 1.1 christos 2009-09-21 Richard Sandiford <rdsandiford (a] googlemail.com>
652 1.1 christos
653 1.1 christos * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Extend previous
654 1.1 christos patch to handle the new personality relaxation.
655 1.1 christos
656 1.1 christos 2009-09-21 Richard Sandiford <rdsandiford (a] googlemail.com>
657 1.1 christos
658 1.1 christos * elf-eh-frame.c (make_pc_relative): New function.
659 1.1 christos (_bfd_elf_write_section_eh_frame): Use it.
660 1.1 christos
661 1.1 christos 2009-09-21 Alan Modra <amodra (a] bigpond.net.au>
662 1.1 christos
663 1.1 christos * elf32-ppc.c (TLS_GET_ADDR_GLINK_SIZE): Define.
664 1.1 christos (ADD_3_12_2, BEQLR, CMPWI_11_0, LWZ_11_3, LWZ_12_3): Define.
665 1.1 christos (MR_0_3, MR_3_0): Define.
666 1.1 christos (struct ppc_elf_link_hash_table): Add no_tls_get_addr_opt.
667 1.1 christos (ppc_elf_select_plt_layout): Save emit_stub_syms param earlier.
668 1.1 christos (ppc_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
669 1.1 christos table. Check for presense of __tls_get_addr_opt
670 1.1 christos (allocate_dynrelocs): Increase glink entry size for __tls_get_addr.
671 1.1 christos (ppc_elf_size_dynamic_sections): Add DT_PPC_TLS_OPT tag.
672 1.1 christos (write_glink_stub): Add param p.
673 1.1 christos (ppc_elf_relocate_section): Adjust write_glink_stub call.
674 1.1 christos (ppc_elf_finish_dynamic_symbol): Emit special glink call stub for
675 1.1 christos __tls_get_addr.
676 1.1 christos * elf32-ppc.h (ppc_elf_tls_setup): Update prototype.
677 1.1 christos * elf64-ppc.c (struct ppc_link_hash_table): Add no_tls_get_addr_opt.
678 1.1 christos (ppc64_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
679 1.1 christos table. Check for presense of __tls_get_addr_opt.
680 1.1 christos (ppc64_elf_size_dynamic_sections): Add DT_PPC64_TLS_OPT tag.
681 1.1 christos (LD_R11_0R3, LD_R12_0R3, MR_R0_R3, CMPDI_R11_0, ADD_R3_R12_R13,
682 1.1 christos BEQLR, MR_R3_R0, MFLR_R11, STD_R11_0R1, BCTRL, LD_R11_0R1,
683 1.1 christos LD_R2_0R1, MTLR_R11): Define.
684 1.1 christos (build_tls_get_addr_stub): New function.
685 1.1 christos (ppc_build_one_stub): Call it.
686 1.1 christos (ppc_size_one_stub): Add extra size for __tls_get_addr stub.
687 1.1 christos (ppc64_elf_relocate_section): Don't change nop to ld 2,40(1) for
688 1.1 christos __tls_get_addr plt call.
689 1.1 christos * elf64-ppc.h (ppc64_elf_tls_setup): Update prototype.
690 1.1 christos
691 1.1 christos 2009-09-19 Richard Sandiford <rdsandiford (a] googlemail.com>
692 1.1 christos
693 1.1 christos * elf-bfd.h (eh_cie_fde): Add personality_offset and
694 1.1 christos make_per_encoding_relative to the CIE structure. Add a padding field.
695 1.1 christos * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Use 0x70
696 1.1 christos rather than 0xf0 when masking out the base address encoding
697 1.1 christos Record the offset of personality data from the start of the CIE.
698 1.1 christos Remove a repeated elf_backend_can_make_relative_eh_frame check.
699 1.1 christos (find_merged_cie): Take an info argument. If the personality
700 1.1 christos binds locally, try converting an absolute personality into
701 1.1 christos a local one.
702 1.1 christos (_bfd_elf_discard_section_eh_frame): Use 0x70 rather than 0xf0
703 1.1 christos when masking out the base address encoding. Update the call to
704 1.1 christos find_merged_cie.
705 1.1 christos (_bfd_elf_eh_frame_section_offset): Discard relocations against
706 1.1 christos the personality data if we are converting into PC-relative form.
707 1.1 christos (_bfd_elf_write_section_eh_frame): Use 0x70 rather than 0xf0
708 1.1 christos when masking out the base address encoding. Handle
709 1.1 christos make_per_encoding_relative.
710 1.1 christos
711 1.1 christos 2009-09-18 Alan Modra <amodra (a] bigpond.net.au>
712 1.1 christos
713 1.1 christos PR ld/10406
714 1.1 christos * elf32-ppc.c (ppc_elf_howto_raw): Make R_PPC_EMB_SDAI16 and
715 1.1 christos R_PPC_EMB_SDA2I16 complain_overflow_signed.
716 1.1 christos (create_sdata_sym): Pass info rather than htab.
717 1.1 christos Update all callers. Ensure symbols are hidden.
718 1.1 christos (ppc_elf_check_relocs): Allow SDAREL16 when shared.
719 1.1 christos (ppc_elf_size_dynamic_sections): When shared, equate _SDA_BASE_ to
720 1.1 christos _GLOBAL_OFFSET_TABLE_.
721 1.1 christos (elf_finish_pointer_linker_section): Don't assume that sdata base
722 1.1 christos symbol is always at 0x8000 offset. Don't subtract the addend here.
723 1.1 christos (is_static_defined): New function.
724 1.1 christos (ppc_elf_relocate_section): Verify symbol base used in SDA relocs
725 1.1 christos is statically defined. Clear addend for EMB_SDAI16 and EMB_SDA2I16
726 1.1 christos relocs. Downgrade error on unexpected section for EMB_SDA2REL
727 1.1 christos reloc symbols to a warning.
728 1.1 christos
729 1.1 christos 2009-09-18 Nick Clifton <nickc (a] redhat.com>
730 1.1 christos
731 1.1 christos * po/es.po: Updated Spanish translation.
732 1.1 christos * po/vi.po: Updated Vietnamese translation.
733 1.1 christos
734 1.1 christos 2009-09-18 Alan Modra <amodra (a] bigpond.net.au>
735 1.1 christos
736 1.1 christos * elf64-ppc.c (follow_link, elf_follow_link, ppc_follow_link): New
737 1.1 christos functions. Use throughout.
738 1.1 christos (ppc64_elf_copy_indirect_symbol): Set direct symbol "oh" field
739 1.1 christos from indirect symbol.
740 1.1 christos (lookup_fdh): Rename from get_fdh. Follow indirect sym links.
741 1.1 christos (add_symbol_adjust): Simplify.
742 1.1 christos (defined_code_entry, defined_func_desc): New functions.
743 1.1 christos (ppc64_elf_gc_keep): Follow indirect sym links. Use defined_code_entry.
744 1.1 christos (ppc64_elf_gc_mark_dynamic_ref): Use defined_func_desc and
745 1.1 christos defined_code_entry to follow indirect sym links.
746 1.1 christos (ppc64_elf_gc_mark_hook, func_desc_adjust): Likewise.
747 1.1 christos (ppc_type_of_stub): Follow indirect sym links.
748 1.1 christos (toc_adjusting_stub_needed): Likewise.
749 1.1 christos (ppc_build_one_stub): Likewise. Make undefined dot-symbols weak
750 1.1 christos rather than defining them at stub.
751 1.1 christos (ppc64_elf_relocate_section): Rewrite call test to avoid multiple
752 1.1 christos assignments in test.
753 1.1 christos
754 1.1 christos 2009-09-16 Tristan Gingold <gingold (a] adacore.com>
755 1.1 christos
756 1.1 christos * mach-o.h (bfd_mach_o_filetype): Add new constants from darwin10.
757 1.1 christos Reindent.
758 1.1 christos * mach-o.c (bfd_mach_o_cpu_name): Reindent.
759 1.1 christos (bfd_mach_o_filetype_name): Complete with new constants. Reindent.
760 1.1 christos (bfd_mach_o_print_private_header): Use fputs instead of fprintf
761 1.1 christos when possible to avoid warnings.
762 1.1 christos (bfd_mach_o_print_section_map): Ditto.
763 1.1 christos (bfd_mach_o_section_get_entry_size): New function.
764 1.1 christos (bfd_mach_o_section_get_nbr_indirect): Simplify using the newly
765 1.1 christos added function.
766 1.1 christos (bfd_mach_o_print_dysymtab): Print address of indirect symbols.
767 1.1 christos
768 1.1 christos 2009-09-14 Nick Clifton <nickc (a] redhat.com>
769 1.1 christos
770 1.1 christos * po/fi.po: Updated Finnish translation.
771 1.1 christos
772 1.1 christos 2009-09-11 Nick Clifton <nickc (a] redhat.com>
773 1.1 christos
774 1.1 christos * po/bfd.pot: Updated by the Translation project.
775 1.1 christos
776 1.1 christos 2009-09-11 Philippe De Muyter <phdm (a] macqel.be>
777 1.1 christos
778 1.1 christos * binary.c (binary_object_p): Remove bfd_external_binary_architecture
779 1.1 christos hack. objcopy `-B' (`--binary-architecture') option is now handled
780 1.1 christos in a generic way.
781 1.1 christos
782 1.1 christos 2009-09-11 Nick Clifton <nickc (a] redhat.com>
783 1.1 christos
784 1.1 christos * rs6000-core.c (read_hdr): Fix typo in recent C++ compatibility
785 1.1 christos changes.
786 1.1 christos
787 1.1 christos 2009-09-11 Jie Zhang <jie.zhang (a] analog.com>
788 1.1 christos
789 1.1 christos * elf32-bfin.c (bfinfdpic_relocs_info_find): Just return
790 1.1 christos NULL if `ht' is NULL.
791 1.1 christos
792 1.1 christos 2009-09-09 Martin Thuresson <martin (a] mtme.org>
793 1.1 christos
794 1.1 christos Update sources to compile cleanly with -Wc++-compat:
795 1.1 christos * aoutx.h: Add casts.
796 1.1 christos * archive.c: Add casts.
797 1.1 christos * archive64.c: Add casts.
798 1.1 christos * archures.c: Add casts.
799 1.1 christos * bfd-in2.h: Regenerated.
800 1.1 christos * bfd.c: Add casts. (enum bfd_direction): Move out to top level.
801 1.1 christos * bfdio.c: Add casts.
802 1.1 christos * binary.c: Add casts.
803 1.1 christos * cache.c (cache_bseek,cache_bread_1,cache_bwrite): Updated
804 1.1 christos parameter to use enum value instead of int.
805 1.1 christos * coffcode.h: Add casts.
806 1.1 christos * coffgen.c: Add casts.
807 1.1 christos * cofflink.c: Add casts.
808 1.1 christos * compress.c: Add casts.
809 1.1 christos * dwarf1.c: Add casts.
810 1.1 christos * dwarf2.c: Add casts. (struct dwarf2_debug): Rename member bfd to
811 1.1 christos bfd_ptr. Update code to use new name.
812 1.1 christos * elf-attrs.c: Add casts.
813 1.1 christos * elf-bfd.h (elf_link_virtual_table_entry): Gives name to
814 1.1 christos anonymous struct. (union gotplt_union, struct
815 1.1 christos elf_link_virtual_table_entry): Move to top level.
816 1.1 christos * elf-eh-frame.c: Add casts.
817 1.1 christos * elf-strtab.c: Add casts.
818 1.1 christos * elf.c: Add casts. (_bfd_elm_make_Section_from_phdr): Change
819 1.1 christos argument name from typename to type_name.
820 1.1 christos * elf32-i386.c: Add casts.
821 1.1 christos * elf64-x86-64.c: Add casts.
822 1.1 christos * elfcode.h: Add casts.
823 1.1 christos * elfcore.h: Add casts.
824 1.1 christos * elflink.c: Add casts.
825 1.1 christos * format.c: Add casts.
826 1.1 christos * hash.c: Add casts.
827 1.1 christos * ihex.c: Add casts.
828 1.1 christos * libaout.h (enum aout_subformat, enum aout_magic): Move to top
829 1.1 christos level.
830 1.1 christos * libbfd.c: Add casts.
831 1.1 christos * linker.c: Add casts.
832 1.1 christos * merge.c: Add casts.
833 1.1 christos * opncls.c: Add casts.
834 1.1 christos * peXXigen.c: Add casts.
835 1.1 christos * peicode.h: Add casts.
836 1.1 christos * reloc.c: Add casts.
837 1.1 christos * section.c: Add casts.
838 1.1 christos * simple.c: Add casts.
839 1.1 christos * srec.c: Add casts.
840 1.1 christos * stabs.c: Add casts.
841 1.1 christos * syms.c: Add casts.
842 1.1 christos * targets.c: Add casts.
843 1.1 christos * tekhex.c: Add casts.
844 1.1 christos * verilog.c: Add casts.
845 1.1 christos
846 1.1 christos 2009-09-09 Paolo Bonzini <bonzini (a] gnu.org>
847 1.1 christos
848 1.1 christos * configure: Regenerate.
849 1.1 christos
850 1.1 christos 2009-09-09 Daniel Jacobowitz <dan (a] codesourcery.com>
851 1.1 christos
852 1.1 christos * elf32-arm.c (elf32_arm_final_link_relocate): Set sym_flags
853 1.1 christos for the mode of target PLT entries.
854 1.1 christos (allocate_dynrelocs): Only adjust symbol type if setting its
855 1.1 christos value.
856 1.1 christos
857 1.1 christos 2009-09-09 Paolo Bonzini <bonzini (a] gnu.org>
858 1.1 christos
859 1.1 christos * configure: Regenerate.
860 1.1 christos
861 1.1 christos 2009-09-09 Nick Clifton <nickc (a] redhat.com>
862 1.1 christos
863 1.1 christos PR 10478:
864 1.1 christos * elf.c (bfd_section_from_shdr): Do not reject sparc binaries with
865 1.1 christos section headers containing sh_link values of SHN_BEFORE or
866 1.1 christos SHN_AFTER.
867 1.1 christos * elfcode.h (elf_object_p): Likewise.
868 1.1 christos
869 1.1 christos 2009-09-09 Tristan Gingold <gingold (a] adacore.com>
870 1.1 christos
871 1.1 christos Handle DYLD_INFO introduced by Darwin10.
872 1.1 christos * mach-o.h (bfd_mach_o_load_command_type): Add
873 1.1 christos BFD_MACH_O_LC_DYLD_INFO.
874 1.1 christos (bfd_mach_o_dyld_info_command): New type.
875 1.1 christos (bfd_mach_o_load_command): Add dyld_info field.
876 1.1 christos * mach-o.c (bfd_mach_o_scan_read_str): Reduce size of buf.
877 1.1 christos (bfd_mach_o_scan_read_dyld_info): New function.
878 1.1 christos (bfd_mach_o_scan_read_command): Handle BFD_MACH_O_LC_DYLD_INFO.
879 1.1 christos (bfd_mach_o_bfd_print_private_bfd_data): Ditto.
880 1.1 christos (bfd_mach_o_load_command_name): AddB FD_MACH_O_LC_DYLD_INFO.
881 1.1 christos (bfd_mach_o_print_dyld_info): New function.
882 1.1 christos
883 1.1 christos 2009-09-09 M R Swami Reddy <MR.Swami.Reddy (a] nsc.com>
884 1.1 christos
885 1.1 christos * elf32-cr16.c (elf32_cr16_relocate_section): Add code to discard the
886 1.1 christos linkonce or linker script discarded section.
887 1.1 christos
888 1.1 christos 2009-09-09 Alan Modra <amodra (a] bigpond.net.au>
889 1.1 christos
890 1.1 christos * elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.
891 1.1 christos
892 1.1 christos 2009-09-07 Andreas Schwab <schwab (a] linux-m68k.org>
893 1.1 christos
894 1.1 christos * elf32-m68k.c (rtype_to_howto): If the reloc index is out of
895 1.1 christos range call the bfd error hander and use R_68K_NONE instead.
896 1.1 christos
897 1.1 christos 2009-09-07 Tristan Gingold <gingold (a] adacore.com>
898 1.1 christos
899 1.1 christos * po/SRC-POTFILES.in: Regenerate.
900 1.1 christos * po/bfd.pot: Regenerate.
901 1.1 christos
902 1.1 christos * bfd.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
903 1.1 christos BFD_HAVE_SYS_STAT_TYPE_MEMBER): Moved to gas/acinclude.m4
904 1.1 christos * configure.in: Move tests for tm_gmtoff, st_mtim.tv_sec and
905 1.1 christos st_mtim.tv_nsec to gas/configure.in
906 1.1 christos (bfd_elf64_ia64_vms_vec): Remove vmsutil.lo
907 1.1 christos * configure: Regenerate.
908 1.1 christos * config.in: Regenerate.
909 1.1 christos * vmsutil.c: Moved to gas/config/te-vms.c
910 1.1 christos * vmsutil.h: Removed.
911 1.1 christos * Makefile.am (BFD32_BACKENDS_CFILES): Remove vmsutil.c
912 1.1 christos (BFD32_BACKENDS): Remove vmsutil.lo
913 1.1 christos * Makefile.in: Regenerate.
914 1.1 christos
915 1.1 christos 2009-09-05 Eli Zaretskii <eliz (a] gnu.org>
916 1.1 christos
917 1.1 christos * coffcode.h: Include libiberty.h.
918 1.1 christos
919 1.1 christos 2009-09-05 Martin Thuresson <martin (a] mtme.org>
920 1.1 christos
921 1.1 christos * coff-arm.c (coff_arm_relocate_section)
922 1.1 christos (record_thumb_to_arm_glue, bfd_arm_process_before_allocation):
923 1.1 christos Change member name class to symbol_class.
924 1.1 christos * coff-i960.c (coff_i960_relocate_section) Rename variable
925 1.1 christos class to class_val. Change member name class to symbol_class.
926 1.1 christos * coff-rs6000.c (_bfd_xcoff_swap_aux_in)
927 1.1 christos (_bfd_xcoff_swap_aux_out): Rename arguments class to in_class.
928 1.1 christos * coff-stgo32.c (adjust_aux_in_post)
929 1.1 christos (adjust_aux_out_pre, adjust_aux_out_post): Rename arguments class
930 1.1 christos to in_class.
931 1.1 christos * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in)
932 1.1 christos (_bfd_xcoff64_swap_aux_out): Rename arguments class to in_class.
933 1.1 christos * coffcode.h (coff_pointerize_aux_hook): Rename variable class
934 1.1 christos to n_sclass.
935 1.1 christos * coffgen.c (coff_write_symbol, coff_pointerize_aux): Rename
936 1.1 christos variables named class to n_sclass. (coff_write_symbols): Rename
937 1.1 christos variable class to sym_class. (bfd_coff_set_symbol_class): Rename
938 1.1 christos argument class to symbol_class.
939 1.1 christos * cofflink.c (_bfd_coff_link_hash_newfunc)
940 1.1 christos (coff_link_add_symbols, _bfd_coff_link_input_bfd)
941 1.1 christos (_bfd_coff_write_global_sym, _bfd_coff_generic_relocate_section):
942 1.1 christos Update code to use renamed members.
943 1.1 christos * coffswap.h (coff_swap_aux_in, coff_swap_aux_out): Rename
944 1.1 christos argument class to in_class.
945 1.1 christos * libcoff-in.h (struct coff_link_hash_entry, struct
946 1.1 christos coff_debug_merge_type) Renamed members class to symbol_class and
947 1.1 christos type_class.
948 1.1 christos * libcoff.h Regenerated.
949 1.1 christos * peXXigen.c: (_bfd_XXi_swap_aux_in, _bfd_XXi_swap_aux_out):
950 1.1 christos Rename argument class to in_class.
951 1.1 christos * pef.c (bfd_pef_parse_imported_symbol): Update code to use
952 1.1 christos renamed members.
953 1.1 christos * pef.h (struct bfd_pef_imported_symbol): Changed name of
954 1.1 christos member class to symbol_class.
955 1.1 christos
956 1.1 christos 2009-09-04 H.J. Lu <hongjiu.lu (a] intel.com>
957 1.1 christos
958 1.1 christos * configure: Regenerated.
959 1.1 christos
960 1.1 christos 2009-09-04 Tristan Gingold <gingold (a] adacore.com>
961 1.1 christos
962 1.1 christos * configure.in: Bump version to 2.20.51
963 1.1 christos
964 1.1 christos 2009-09-04 Alan Modra <amodra (a] bigpond.net.au>
965 1.1 christos
966 1.1 christos * elf32-spu.c (spu_elf_relocate_section): Correct 2009-07-24 logic.
967 1.1 christos
968 1.1 christos 2009-09-04 Jie Zhang <jie.zhang (a] analog.com>
969 1.1 christos
970 1.1 christos * elf32-bfin.c (elf32_bfinfdpic_create_dynamic_sections): Always
971 1.1 christos create .rela.bss.
972 1.1 christos (elf32_bfinfdpic_size_dynamic_sections): Set SEC_EXCLUDE flag
973 1.1 christos for empty .rela.bss and .rel.plt sections.
974 1.1 christos
975 1.1 christos 2009-09-03 Adam Nemet <anemet (a] caviumnetworks.com>
976 1.1 christos
977 1.1 christos * elfxx-mips.c (mips_elf_calculate_relocation): Don't relocate
978 1.1 christos R_MIPS_JALR unless symbol resolves locally.
979 1.1 christos
980 1.1 christos 2009-09-03 Adam Nemet <anemet (a] caviumnetworks.com>
981 1.1 christos
982 1.1 christos * elfxx-mips.c (_bfd_mips_elf_check_relocs): Don't set
983 1.1 christos has_static_relocs for R_MIPS_JALR.
984 1.1 christos
985 1.1 christos 2009-09-03 Maciej W. Rozycki <macro (a] codesourcery.com>
986 1.1 christos
987 1.1 christos * elf64-mips.c (mips_elf64_howto_table_rela): Add support for
988 1.1 christos R_MIPS_TLS_DTPMOD64 and R_MIPS_TLS_TPREL64, replacing the
989 1.1 christos respective stubs.
990 1.1 christos
991 1.1 christos 2009-09-01 H.J. Lu <hongjiu.lu (a] intel.com>
992 1.1 christos
993 1.1 christos * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Declare
994 1.1 christos plt earlier.
995 1.1 christos
996 1.1 christos 2009-09-01 Tristan Gingold <gingold (a] adacore.com>
997 1.1 christos
998 1.1 christos * makefile.vms: Ported to Itanium VMS. Remove useless variable and
999 1.1 christos dependencies. Reindent.
1000 1.1 christos * configure.com: Ported to Itanium VMS. Now generates a build.com
1001 1.1 christos to build without make. Add messages but make edit silent.
1002 1.1 christos * hosts/alphavms.h: Add a prototype for stpcpy.
1003 1.1 christos * vms.c: Add a missing include for Alpha VMS.
1004 1.1 christos * elfxx-ia64.c (ELF_OSABI): Define for OpenVMS.
1005 1.1 christos
1006 1.1 christos 2009-08-31 Jan Beulich <jbeulich (a] novell.com>
1007 1.1 christos
1008 1.1 christos * elf-bfd.h (bfd_elf_get_default_section_type): Declare.
1009 1.1 christos * elf.c (bfd_elf_get_default_section_type): New.
1010 1.1 christos (elf_fake_sections): Use bfd_elf_get_default_section_type.
1011 1.1 christos
1012 1.1 christos 2009-08-30 H.J. Lu <hongjiu.lu (a] intel.com>
1013 1.1 christos
1014 1.1 christos * elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert the
1015 1.1 christos accidental checkin.
1016 1.1 christos * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likwise.
1017 1.1 christos
1018 1.1 christos 2009-08-30 Alan Modra <amodra (a] bigpond.net.au>
1019 1.1 christos
1020 1.1 christos PR ld/10569
1021 1.1 christos * bfd.c (bfd_emul_get_maxpagesize): Don't abort.
1022 1.1 christos (bfd_emul_get_commonpagesize): Likewise.
1023 1.1 christos
1024 1.1 christos 2009-08-29 Martin Thuresson <martin (a] mtme.org>
1025 1.1 christos
1026 1.1 christos * elf32-arm.c (struct stub_def): Rename member template to
1027 1.1 christos template_sequence. (arm_build_one_stub,
1028 1.1 christos find_stub_size_and_template, arm_size_one_stub, arm_map_one_stub):
1029 1.1 christos Rename variable template to template_sequence.
1030 1.1 christos * elfxx-ia64.c (elfNN_ia64_relax_br, elfNN_ia64_relax_brl):
1031 1.1 christos Rename variable template to template_val.
1032 1.1 christos * aoutx.h (NAME (aout, make_empty_symbol)): Rename variable
1033 1.1 christos new to new_symbol.
1034 1.1 christos * coffgen.c (coff_make_empty_symbol)
1035 1.1 christos (coff_bfd_make_debug_symbol): Rename variable new to new_symbol.
1036 1.1 christos * cpu-ia64-opc.c (ext_reg, ins_imms_scaled): Rename variable
1037 1.1 christos new to new_insn.
1038 1.1 christos * ecoff.c (_bfd_ecoff_make_empty_symbol): Rename variable new
1039 1.1 christos to new_symbol.
1040 1.1 christos * elf32-m68k.c (elf_m68k_get_got_entry_type): Rename argument
1041 1.1 christos new to new_reloc.
1042 1.1 christos * hash.c (bfd_hash_lookup): Rename variable new to new_string.
1043 1.1 christos * ieee.c (ieee_make_empty_symbol): Rename variable new to
1044 1.1 christos new_symbol.
1045 1.1 christos * linker.c (bfd_new_link_order): Rename variable new to
1046 1.1 christos new_lo.
1047 1.1 christos * mach-o.c (bfd_mach_o_sizeof_headers): Rename variable new to
1048 1.1 christos symbol.
1049 1.1 christos * oasys.c (oasys_make_empty_symbol): Rename variable new to
1050 1.1 christos new_symbol_type.
1051 1.1 christos * pdp11.c (NAME (aout, make_empty_symbol)): Rename variable
1052 1.1 christos new to new_symbol_type.
1053 1.1 christos * plugin.c (bfd_plugin_make_empty_symbol): Rename variable new
1054 1.1 christos to new_symbol.
1055 1.1 christos * rs6000-core.c (CoreHdr, VmInfo): Rename union member new to
1056 1.1 christos new_dump.
1057 1.1 christos (read_hdr, rs6000coff_core_p)
1058 1.1 christos (rs6000coff_core_file_matches_executable_p)
1059 1.1 christos (rs6000coff_core_file_failing_command)
1060 1.1 christos (rs6000coff_core_file_failing_signal): Updated function to use new
1061 1.1 christos union member name.
1062 1.1 christos * som.c (som_make_empty_symbol): Rename variable new to
1063 1.1 christos new_symbol_type.
1064 1.1 christos * syms.c (_bfd_generic_make_empty_symbol): Rename variable new
1065 1.1 christos to new_symbol.
1066 1.1 christos * tekhex.c (first_phase, tekhex_make_empty_symbol): Rename
1067 1.1 christos variable new to new_symbol.
1068 1.1 christos
1069 1.1 christos 2009-08-27 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
1070 1.1 christos
1071 1.1 christos * acinclude.m4 (AM_INSTALL_LIBBFD): Call AM_SUBST_NOTMAKE for
1072 1.1 christos bfdlibdir and bfdincludedir.
1073 1.1 christos * Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
1074 1.1 christos [INSTALL_LIBBFD]: ... here, ...
1075 1.1 christos [INSTALL_LIBBFD]: ... and empty overrides here.
1076 1.1 christos [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
1077 1.1 christos [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
1078 1.1 christos * Makefile.in: Regenerate.
1079 1.1 christos * configure: Regenerate.
1080 1.1 christos
1081 1.1 christos 2009-08-26 Maxim Kuvyrkov <maxim (a] codesourcery.com>
1082 1.1 christos
1083 1.1 christos * elf32-m68k.c: Rewrite initialization of GOT entries for TLS
1084 1.1 christos relocations. Rewrite output of dynamic TLS relocations.
1085 1.1 christos (DTP_OFFSET, TP_OFFSET): New constants.
1086 1.1 christos (dtpoff_base): Update.
1087 1.1 christos (tpoff): Rename to tpoff_base, update.
1088 1.1 christos (elf_m68k_init_got_entry_static, elf_m68k_init_got_entry_local_shared):
1089 1.1 christos New functions. Move code from elf_m68k_relocate_section here.
1090 1.1 christos (elf_m68k_relocate_section): Update.
1091 1.1 christos (elf_m68k_finish_dynamic_symbol): Fix handling of local TLS symbols.
1092 1.1 christos
1093 1.1 christos 2009-08-26 Maxim Kuvyrkov <maxim (a] codesourcery.com>
1094 1.1 christos
1095 1.1 christos * elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate
1096 1.1 christos non_got_ref value.
1097 1.1 christos (elf_m68k_check_relocs): Handle dynamic TLS relocations.
1098 1.1 christos Handle non_got_ref field.
1099 1.1 christos (elf_m68k_adjust_dynamic_symbol): Handle non_got_ref field.
1100 1.1 christos
1101 1.1 christos 2009-08-26 Alan Modra <amodra (a] bigpond.net.au>
1102 1.1 christos
1103 1.1 christos PR ld/10518
1104 1.1 christos * linker.c (bfd_find_version_for_sym): Revert warning.
1105 1.1 christos
1106 1.1 christos 2009-08-26 Alan Modra <amodra (a] bigpond.net.au>
1107 1.1 christos
1108 1.1 christos PR ld/10518
1109 1.1 christos * linker.c (bfd_find_version_for_sym): Override a "*" match by any
1110 1.1 christos other wildcard match. Warn on multiple wildcard matches.
1111 1.1 christos
1112 1.1 christos 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
1113 1.1 christos
1114 1.1 christos * Makefile.am (libbfd_la_LDFLAGS): Initialize early, to allow
1115 1.1 christos appending.
1116 1.1 christos [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES, bfdinclude_HEADERS): Set
1117 1.1 christos only in this condition.
1118 1.1 christos [!INSTALL_LIBBFD] (noinst_LTLIBRARIES, libbfd_la_LDFLAGS): New,
1119 1.1 christos to build but not install libbfd.la in this condition.
1120 1.1 christos (install-bfdlibLTLIBRARIES, uninstall-bfdlibLTLIBRARIES)
1121 1.1 christos (install_libbfd, install_libbfd): Remove.
1122 1.1 christos * Makefile.in: Regenerate.
1123 1.1 christos * doc/Makefile.am (AM_CPPFLAGS): Renamed from ...
1124 1.1 christos (INCLUDES): ... this.
1125 1.1 christos ($(MKDOC)): Adjust.
1126 1.1 christos * doc/Makefile.in: Regenerate.
1127 1.1 christos
1128 1.1 christos * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, instead use
1129 1.1 christos no-dist and foreign.
1130 1.1 christos (EXTRA_libbfd_la_SOURCES): New, list $(CFILES) to allow
1131 1.1 christos dependency tracking to work for them.
1132 1.1 christos (targets.lo, archures.lo, dwarf.lo): Rewrite to
1133 1.1 christos use automake dependency tracking mechanism.
1134 1.1 christos (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
1135 1.1 christos (mkdep section): Remove.
1136 1.1 christos (BUILT_SOURCES): New, list $(BUILD_HFILES).
1137 1.1 christos * Makefile.in: Regenerate.
1138 1.1 christos * po/SRC-POTFILES.in, po/bfd.pot: Regenerate.
1139 1.1 christos
1140 1.1 christos * Makefile.am (datarootdir, docdir, htmldor, pdfdir)
1141 1.1 christos (install-pdf, install-pdf-recursive, install-html)
1142 1.1 christos (install-html-recursive): Remove.
1143 1.1 christos * Makefile.in: Regenerate.
1144 1.1 christos
1145 1.1 christos * Makefile.in: Regenerate.
1146 1.1 christos * aclocal.m4: Likewise.
1147 1.1 christos * config.in: Likewise.
1148 1.1 christos * configure: Likewise.
1149 1.1 christos
1150 1.1 christos 2009-08-21 Daniel Gutson <dgutson (a] codesourcery.com>
1151 1.1 christos
1152 1.1 christos * elf32-arm.c (arch_has_thumb2_nop): New function.
1153 1.1 christos (arch_has_arm_nop): New function.
1154 1.1 christos (elf32_arm_final_link_relocate): NOP opcodes changed.
1155 1.1 christos
1156 1.1 christos 2009-08-16 Doug Evans <dje (a] google.com>
1157 1.1 christos
1158 1.1 christos * opncls.c (bfd_close): Until BFD_IN_MEMORY has an iovec,
1159 1.1 christos at least don't leak memory.
1160 1.1 christos
1161 1.1 christos 2009-08-13 DJ Delorie <dj (a] redhat.com>
1162 1.1 christos
1163 1.1 christos * elf32-m32c.c (m32c_elf_relax_delete_bytes): Adjust symbol sizes
1164 1.1 christos if needed.
1165 1.1 christos
1166 1.1 christos 2009-08-12 Nick Clifton <nickc (a] redhat.com>
1167 1.1 christos
1168 1.1 christos * po/fi.po: Updated Finnish translation.
1169 1.1 christos
1170 1.1 christos 2009-08-11 Bernd Schmidt <bernd.schmidt (a] analog.com>
1171 1.1 christos
1172 1.1 christos Merge some FRV FDPIC changes into the Blackfin code.
1173 1.1 christos * elf32-bfin.c (struct bfinfdpic_elf_link_hash_table): Add pointer to
1174 1.1 christos summary reloc information.
1175 1.1 christos (bfinfdpic_dynamic_got_plt_info): New.
1176 1.1 christos (_bfin_create_got_section): Create the PLT section here.
1177 1.1 christos (elf32_bfinfdpic_create_dynamic_sections): Not here.
1178 1.1 christos (_bfinfdpic_count_nontls_entries): Move out of...
1179 1.1 christos (_bfinfdpic_count_got_plt_entries): ... here.
1180 1.1 christos (_bfinfdpic_count_relocs_fixups): Likewise.
1181 1.1 christos (_bfinfdpic_reset_got_plt_entries): New.
1182 1.1 christos (_bfinfdpic_size_got_plt): Move out of...
1183 1.1 christos (elf32_bfinfdpic_size_dynamic_sections): ... here.
1184 1.1 christos (bfinfdpic_relocate_section): Be careful not to call
1185 1.1 christos _bfinfdpic_add_rofixup or _bfinfdpic_add_dyn_reloc for deleted relocs.
1186 1.1 christos (bfinfdpic_check_discarded_relocs, bfinfdpic_elf_discard_info):
1187 1.1 christos New functions.
1188 1.1 christos (elf_backend_discard_info): Define for FD-PIC.
1189 1.1 christos
1190 1.1 christos 2009-08-11 Alan Modra <amodra (a] bigpond.net.au>
1191 1.1 christos
1192 1.1 christos * elflink.c: Add FIXMEs for some places that require octets_per_byte
1193 1.1 christos adjustments.
1194 1.1 christos * elf-eh-frame.c: Likewise.
1195 1.1 christos * merge.c: Likewise.
1196 1.1 christos
1197 1.1 christos 2009-08-11 Alan Modra <amodra (a] bigpond.net.au>
1198 1.1 christos
1199 1.1 christos * configure.in: Remove elf-ifunc.lo from common ELF files. Add
1200 1.1 christos to x86 and x86_64 configurations.
1201 1.1 christos * configure: Regenerate.
1202 1.1 christos
1203 1.1 christos 2009-08-10 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1204 1.1 christos
1205 1.1 christos Stop using bfd_usrdata in libbfd.
1206 1.1 christos * coff-stgo32.c (bfd_coff_go32stub): Remove.
1207 1.1 christos (stub_bytes, comment): Replace STUBSIZE by GO32_STUBSIZE.
1208 1.1 christos (adjust_filehdr_in_post): Declare the abfd parameter as unused.
1209 1.1 christos Replace STUBSIZE by GO32_STUBSIZE. Save now the stub in
1210 1.1 christos filehdr_dst->u.go32.stub. New comment with the reason.
1211 1.1 christos (adjust_filehdr_out_pre): Replace STUBSIZE by GO32_STUBSIZE.
1212 1.1 christos Substitute the removed macro bfd_coff_go32stub.
1213 1.1 christos (adjust_filehdr_out_post, adjust_scnhdr_in_post, adjust_scnhdr_out_pre)
1214 1.1 christos (adjust_scnhdr_out_post, adjust_aux_in_post, adjust_aux_out_pre)
1215 1.1 christos (adjust_aux_out_post): Replace STUBSIZE by GO32_STUBSIZE.
1216 1.1 christos (create_go32_stub, go32_stubbed_coff_bfd_copy_private_bfd_data):
1217 1.1 christos Replace STUBSIZE by GO32_STUBSIZE. Substitute the removed macro
1218 1.1 christos bfd_coff_go32stub.
1219 1.1 christos * coffcode.h (coff_mkobject_hook): Initialize coff->go32stub.
1220 1.1 christos * libcoff-in.h (coff_data_type): New field go32stub.
1221 1.1 christos * libcoff.h: Regenerated.
1222 1.1 christos
1223 1.1 christos 2009-08-10 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1224 1.1 christos
1225 1.1 christos Fix go32 stub preservation by objcopy.
1226 1.1 christos * coff-stgo32.c (adjust_filehdr_in_post): Use bfd_malloc.
1227 1.1 christos (go32_stubbed_coff_bfd_copy_private_bfd_data): Optionally allocate OBFD
1228 1.1 christos go32stub.
1229 1.1 christos
1230 1.1 christos 2009-08-10 Nathan Sidwell <nathan (a] codesourcery.com>
1231 1.1 christos
1232 1.1 christos * elf32-arm.c (elf32_arm_size_stubs): Don't die on undefined local
1233 1.1 christos symbols.
1234 1.1 christos (elf32_arm_final_link_relocate): Treat local undefined symbols the
1235 1.1 christos same as global undefined symbols.
1236 1.1 christos (elf32_arm_relocate_section): Give an error for local undefined
1237 1.1 christos non-weak symbols, unless the reloc will not use the symbol.
1238 1.1 christos
1239 1.1 christos 2009-08-10 Nathan Sidwell <nathan (a] codesourcery.com>
1240 1.1 christos
1241 1.1 christos * elf32-ppc.c (shared_stub_entry, stub_entry): Use r12, not r11.
1242 1.1 christos (ppc_elf_relax_section): Use symbol index to distinguish
1243 1.1 christos relocatable stubs.
1244 1.1 christos
1245 1.1 christos 2009-08-10 Alan Modra <amodra (a] bigpond.net.au>
1246 1.1 christos
1247 1.1 christos * elf32-ppc.c (ppc_elf_relax_section): Ignore non-code sections.
1248 1.1 christos
1249 1.1 christos 2009-08-10 Alan Modra <amodra (a] bigpond.net.au>
1250 1.1 christos
1251 1.1 christos * elflink.c (_bfd_elf_adjust_dynamic_symbol): Don't clear plt
1252 1.1 christos info for STT_GNU_IFUNC.
1253 1.1 christos * elf32-ppc.c (ppc_elf_check_relocs): Count a needed plt entry
1254 1.1 christos on got refs in case the symbol turns out to be ifunc.
1255 1.1 christos (ppc_elf_gc_sweep_hook): Similarly.
1256 1.1 christos (ppc_elf_adjust_dynamic_symbol): Adjust assertion.
1257 1.1 christos (allocate_dynrelocs): Don't specially allocate got relocs for ifunc.
1258 1.1 christos (ppc_elf_size_dynamic_sections): Likewise.
1259 1.1 christos (ppc_elf_relocate_section): Likewise.
1260 1.1 christos
1261 1.1 christos 2009-08-09 Bernd Schmidt <bernd.schmidt (a] analog.com>
1262 1.1 christos
1263 1.1 christos From Mike Frysinger <michael.frysinger (a] analog.com>
1264 1.1 christos * elf32-bfin.c (bfin_howto_table, bfin_reloc_map, bfin_check_relocs,
1265 1.1 christos bfin_final_link_relocate, bfin_relocate_section, bfin_gc_sweep_hook,
1266 1.1 christos _bfinfdpic_emit_got_relocs_plt_entries, bfinfdpic_relocate_section,
1267 1.1 christos bfinfdpic_gc_sweep_hook, bfinfdpic_check_relocs,
1268 1.1 christos bfin_finish_dynamic_symbol, bfd_bfin_elf32_create_embedded_relocs):
1269 1.1 christos Adjust to match the renamed reloc definitions.
1270 1.1 christos
1271 1.1 christos 2009-08-08 Alan Modra <amodra (a] bigpond.net.au>
1272 1.1 christos
1273 1.1 christos PR 10494
1274 1.1 christos * elf.c (_bfd_elf_make_section_from_shdr): When setting up section
1275 1.1 christos LMAs, use ELF_IS_SECTION_IN_SEGMENT to match sections with headers.
1276 1.1 christos
1277 1.1 christos 2009-08-07 Tom Tromey <tromey (a] redhat.com>
1278 1.1 christos
1279 1.1 christos * elf32-microblaze.c (microblaze_elf_check_relocs): Avoid strict
1280 1.1 christos aliasing error.
1281 1.1 christos
1282 1.1 christos 2009-08-06 Michael Eager <eager (a] eagercon.com>
1283 1.1 christos
1284 1.1 christos * Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}.
1285 1.1 christos * Makefile.in: Regenerate.
1286 1.1 christos * archures.c: Add bfd_arch_microblaze.
1287 1.1 christos * bfd-in2.h: Regenerate.
1288 1.1 christos * config.bfd: Add microblaze target.
1289 1.1 christos * configure.in: Add bfd_elf32_microblaze_vec target.
1290 1.1 christos * configure: Regenerate.
1291 1.1 christos * cpu-microblaze.c: New.
1292 1.1 christos * elf32-microblaze.c: New.
1293 1.1 christos * libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc().
1294 1.1 christos * libbfd.h: Regenerate.
1295 1.1 christos * reloc.c: Add MICROBLAZE relocations.
1296 1.1 christos * section.c: Add struct relax_table and relax_count to section.
1297 1.1 christos * targets.c: Add bfd_elf32_microblaze_vec.
1298 1.1 christos
1299 1.1 christos 2009-08-06 Jakub Jelinek <jakub (a] redhat.com>
1300 1.1 christos Alan Modra <amodra (a] bigpond.net.au>
1301 1.1 christos
1302 1.1 christos PR binutils/10492
1303 1.1 christos * elf.c (sym_is_global): Return true even for BSF_GNU_UNIQUE
1304 1.1 christos symbols.
1305 1.1 christos * elf32-mips.c (mips_elf_sym_is_global): Likewise.
1306 1.1 christos * elfn32-mips.c (mips_elf_sym_is_global): Likewise.
1307 1.1 christos
1308 1.1 christos 2009-08-06 Nathan Sidwell <nathan (a] codesourcery.com>
1309 1.1 christos
1310 1.1 christos * elf32-arm.c (elf32_arm_size_stubs): Call layout_sections_again
1311 1.1 christos at least once when fixing cortex-a8.
1312 1.1 christos
1313 1.1 christos 2009-08-05 Chao-ying Fu <fu (a] mips.com>
1314 1.1 christos
1315 1.1 christos * elf32-mips.c (mips_reloc_map): Add BFD_RELOC_MIPS_JALR.
1316 1.1 christos * elfxx-mips.c (JAL_TO_BAL_P): New define to transform JAL to BAL
1317 1.1 christos for CPUs. It is true for RM9000.
1318 1.1 christos (JALR_TO_BAL_P): New define to transform JALR to BAL. It is true
1319 1.1 christos for all CPUs.
1320 1.1 christos (mips_elf_perform_relocation): Use JAL_TO_BAL_P and JALR_TO_BAL_P
1321 1.1 christos to guard the transformation.
1322 1.1 christos
1323 1.1 christos 2009-08-05 Trevor Smigiel <Trevor_Smigiel (a] playstation.sony.com>
1324 1.1 christos
1325 1.1 christos * elf32-spu.h (spu_elf_params): Add member emit_fixups.
1326 1.1 christos (spu_elf_size_sections): Declare prototype.
1327 1.1 christos * elf32-spu.c (spu_link_hash_table): Add member sfixup.
1328 1.1 christos (FIXUP_RECORD_SIZE, FIXUP_GET, FIXUP_PUT): New macros.
1329 1.1 christos (spu_elf_emit_fixup): New function.
1330 1.1 christos (spu_elf_relocate_section): Emit fixup for each SPU_ADDR32.
1331 1.1 christos (spu_elf_size_sections): New function.
1332 1.1 christos
1333 1.1 christos 2009-08-05 Nathan Sidwell <nathan (a] codesourcery.com>
1334 1.1 christos
1335 1.1 christos * elf32-arm.c (elf32_arm_stub_type): Add arm_stub_a8_veneer_lwm.
1336 1.1 christos (arm_build_one_stub): Build a8 veneers as a separate pass.
1337 1.1 christos (cortex_a8_erratum_scan): Add prev_num_a8_fixes and stub_changed_p
1338 1.1 christos parameters. Use them to check if we create a different a8 fixup
1339 1.1 christos than the previous pass.
1340 1.1 christos (elf32_arm_size_stubs): Move scope of stub_changed and
1341 1.1 christos prev_num_a8_fixes into main loop.
1342 1.1 christos (elf32_arm_build_stubs): Build a8 veneers in a second pass.
1343 1.1 christos
1344 1.1 christos 2009-08-04 Alan Modra <amodra (a] bigpond.net.au>
1345 1.1 christos
1346 1.1 christos * elf32-ppc.c (ppc_elf_relax_section): Correct conditions under
1347 1.1 christos which find_plt_ent is called. Delete redundant code.
1348 1.1 christos
1349 1.1 christos 2009-08-03 H.J. Lu <hongjiu.lu (a] intel.com>
1350 1.1 christos
1351 1.1 christos PR binutils/10363
1352 1.1 christos * elf.c (bfd_elf_string_from_elf_section): Return NULL on
1353 1.1 christos invalid string offset.
1354 1.1 christos
1355 1.1 christos 2009-08-03 H.J. Lu <hongjiu.lu (a] intel.com>
1356 1.1 christos
1357 1.1 christos PR ld/10433
1358 1.1 christos * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Set got
1359 1.1 christos to htab->init_got_offset and plt to htab->init_plt_offset
1360 1.1 christos when discarding space for dynamic relocations.
1361 1.1 christos
1362 1.1 christos 2009-08-03 Alan Modra <amodra (a] bigpond.net.au>
1363 1.1 christos
1364 1.1 christos * elf32-ppc.c (struct plt_entry): Revise comments.
1365 1.1 christos (ppc_elf_check_relocs): Don't create needless plt_entry info
1366 1.1 christos for non-pie executables. Don't test info->pie when info->shared
1367 1.1 christos already covers that case.
1368 1.1 christos (ppc_elf_gc_sweep_hook): Adjust for above change.
1369 1.1 christos (add_stub_sym): Don't test info->pie when info->shared tested.
1370 1.1 christos (allocate_dynrelocs, ppc_elf_size_dynamic_sections): Likewise.
1371 1.1 christos (write_glink_stub, ppc_elf_finish_dynamic_symbol): Likewise.
1372 1.1 christos (ppc_elf_relax_section): Adjust find_plt_ent arguments.
1373 1.1 christos (ppc_elf_relocate_section): Likewise.
1374 1.1 christos
1375 1.1 christos 2009-08-03 Alan Modra <amodra (a] bigpond.net.au>
1376 1.1 christos
1377 1.1 christos * elf32-ppc.c (ppc_elf_check_relocs): Always add a plt ref count
1378 1.1 christos for local ifunc symbols in non-pie executables, regardless of
1379 1.1 christos reloc type. Don't specially create ifunc dyn relocs. Tidy ifunc
1380 1.1 christos code so that it's obvious that we only do anything special for
1381 1.1 christos local ifunc syms.
1382 1.1 christos (ppc_elf_gc_sweep_hook): Adjust to suit check_relocs changes.
1383 1.1 christos (allocate_dynrelocs): Correct comment for syms defined in plt.
1384 1.1 christos Don't specially allocate ifunc dyn relocs.
1385 1.1 christos (ppc_elf_relax_section): Relax branches to ifunc plt entries too.
1386 1.1 christos (ppc_elf_relocate_section): Set "relocation" value for ifunc
1387 1.1 christos syms in non-pie executables. No specially allocated dyn relocs
1388 1.1 christos for ifunc to write. Allow for local sym on R_PPC_RELAX32_PLT.
1389 1.1 christos (ppc_elf_finish_dynamic_symbol): Set value of ifunc symbols in
1390 1.1 christos a non-pie executable.
1391 1.1 christos
1392 1.1 christos 2009-08-02 H.J. Lu <hongjiu.lu (a] intel.com>
1393 1.1 christos Jakub Jelinek <jakub (a] redhat.com>
1394 1.1 christos
1395 1.1 christos PR ld/6443
1396 1.1 christos * elf32-i386.c (elf_i386_tls_transition): Check executable
1397 1.1 christos instead of shared for TLS when building PIE.
1398 1.1 christos (elf_i386_check_relocs): Likewise.
1399 1.1 christos (elf_i386_allocate_dynrelocs): Likewise.
1400 1.1 christos (elf_i386_relocate_section): Likewise.
1401 1.1 christos
1402 1.1 christos * elf64-x86-64.c (elf64_x86_64_tls_transition): Check executable
1403 1.1 christos instead of shared for TLS when building PIE.
1404 1.1 christos (elf64_x86_64_check_relocs): Likewise.
1405 1.1 christos (elf64_x86_64_allocate_dynrelocs): Likewise.
1406 1.1 christos (elf64_x86_64_relocate_section): Likewise.
1407 1.1 christos
1408 1.1 christos 2009-07-31 Anthony Green <green (a] moxielogic.com>
1409 1.1 christos
1410 1.1 christos * config.bfd (targ_cpu): Add moxie-uclinux support.
1411 1.1 christos
1412 1.1 christos 2009-07-31 Hans-Peter Nilsson <hp (a] bitrange.com>
1413 1.1 christos
1414 1.1 christos * linker.c (fix_syms): Consider SEC_LOAD when choosing section.
1415 1.1 christos
1416 1.1 christos 2009-07-30 Alan Modra <amodra (a] bigpond.net.au>
1417 1.1 christos
1418 1.1 christos * elf32-ppc.c (ppc_elf_check_relocs): Always set up sections
1419 1.1 christos used by indirect function support. Count dynamic relocs for
1420 1.1 christos ifunc syms.
1421 1.1 christos (ppc_elf_adjust_dynamic_symbol): Tweak for ifunc.
1422 1.1 christos (allocate_dynrelocs): Allocate all non-dynamic ifunc plt entries
1423 1.1 christos in iplt and their relocs in reliplt. Don't make ifunc syms
1424 1.1 christos dynamic. Allocate got entry relocs for non-dynamic ifunc in
1425 1.1 christos reliplt. Handle other dynamic relocs for ifunc.
1426 1.1 christos (ppc_elf_size_dynamic_sections): Alloc dyn relocs for static
1427 1.1 christos ifunc in reliplt, likewise relocs for got against local ifunc.
1428 1.1 christos Typo fix on reliplt size adjust.
1429 1.1 christos (ppc_elf_relocate_section): Don't use plt scheme of allocating
1430 1.1 christos relocs 1-1 with entries for iplt, instead just add using
1431 1.1 christos reloc_count. Write got relocs and dyn relocs for ifunc to reliplt.
1432 1.1 christos Error on invalid ifunc dyn relocs.
1433 1.1 christos (ppc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc plt
1434 1.1 christos in iplt/reliplt.
1435 1.1 christos * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_JMP_IREL,
1436 1.1 christos R_PPC64_REL16, R_PPC64_REL16_LO, R_PPC64_REL16_HI, R_PPC64_REL16_HA.
1437 1.1 christos (ppc64_elf_reloc_type_lookup): Handle new relocs.
1438 1.1 christos (ppc64_elf_check_relocs): Likewise. Count dyn relocs for ifunc.
1439 1.1 christos (allocate_dynrelocs): As for elf32-ppc.c above.
1440 1.1 christos (ppc64_elf_size_dynamic_sections): Likewise.
1441 1.1 christos (ppc_build_one_stub): Put non-dynamic ifunc plt call stubs in iplt,
1442 1.1 christos and their relocs in reliplt. Use R_PPC64_JMP_IREL.
1443 1.1 christos (ppc_size_one_stub): Similarly.
1444 1.1 christos (ppc64_elf_relocate_section): As for elf32-ppc.c above. Handle new
1445 1.1 christos relocs too.
1446 1.1 christos (ppc64_elf_finish_dynamic_symbol): As for elf32-ppc.c above.
1447 1.1 christos
1448 1.1 christos 2009-07-29 Hans-Peter Nilsson <hp (a] bitrange.com>
1449 1.1 christos
1450 1.1 christos * elf64-mmix.c (mmix_elf_relax_section): Revert 2009-05-27
1451 1.1 christos change. Add note to head comment.
1452 1.1 christos
1453 1.1 christos 2009-07-28 Jan Beulich <jbeulich (a] novell.com>
1454 1.1 christos
1455 1.1 christos * archive.c (get_extended_arelt_filename): Remove redundant
1456 1.1 christos range check on index.
1457 1.1 christos
1458 1.1 christos 2009-07-27 Doug Kwan <dougkwan (a] google.com>
1459 1.1 christos
1460 1.1 christos * elf32-arm.c (stub_hash_newfunc): Initialize field output_name.
1461 1.1 christos
1462 1.1 christos 2009-07-27 H.J. Lu <hongjiu.lu (a] intel.com>
1463 1.1 christos
1464 1.1 christos * archures.c bfd_*_arch): Sorted.
1465 1.1 christos (bfd_archures_list): Likewise.
1466 1.1 christos
1467 1.1 christos 2009-07-27 M R Swami Reddy <MR.Swami.Reddy (a] nsc.com>
1468 1.1 christos
1469 1.1 christos * elf32-cr16.c (elf_cr16_final_link_relocate): Add code to handle
1470 1.1 christos to R_cr16_NUM32 relocation.
1471 1.1 christos
1472 1.1 christos 2009-07-26 Michael Eager <eager (a] eagercon.com>
1473 1.1 christos
1474 1.1 christos * archures.c: Add bfd_mach_ppc_405
1475 1.1 christos * bfd-in2.h: Same.
1476 1.1 christos
1477 1.1 christos 2009-07-25 H.J. Lu <hongjiu.lu (a] intel.com>
1478 1.1 christos
1479 1.1 christos * cpu-i386.c (bfd_x86_64_arch): Fix comment typos.
1480 1.1 christos * cpu-l1om.c (bfd_l1om_arch): Likewise.
1481 1.1 christos
1482 1.1 christos 2009-07-25 H.J. Lu <hongjiu.lu (a] intel.com>
1483 1.1 christos
1484 1.1 christos * archures.c (bfd_architecture): Add bfd_arch_l1om.
1485 1.1 christos (bfd_l1om_arch): New.
1486 1.1 christos (bfd_archures_list): Add &bfd_l1om_arch.
1487 1.1 christos * bfd-in2.h: Regenerated.
1488 1.1 christos
1489 1.1 christos * config.bfd (targ64_selvecs): Add bfd_elf64_l1om_vec if
1490 1.1 christos bfd_elf64_x86_64_vec is supported. Add bfd_elf64_l1om_freebsd_vec
1491 1.1 christos if bfd_elf64_x86_64_freebsd_vec is supported.
1492 1.1 christos (targ_selvecs): Likewise.
1493 1.1 christos
1494 1.1 christos * configure.in: Support bfd_elf64_l1om_vec and
1495 1.1 christos bfd_elf64_l1om_freebsd_vec.
1496 1.1 christos * configure: Regenerated.
1497 1.1 christos
1498 1.1 christos * cpu-l1om.c: New.
1499 1.1 christos
1500 1.1 christos * elf64-x86-64.c (elf64_l1om_elf_object_p): New.
1501 1.1 christos (bfd_elf64_l1om_vec): Likewise.
1502 1.1 christos (bfd_elf64_l1om_freebsd_vec): Likewise.
1503 1.1 christos
1504 1.1 christos * Makefile.am (ALL_MACHINES): Add cpu-l1om.lo.
1505 1.1 christos (ALL_MACHINES_CFILES): Add cpu-l1om.c.
1506 1.1 christos * Makefile.in: Regenerated.
1507 1.1 christos
1508 1.1 christos * targets.c (bfd_elf64_l1om_vec): New.
1509 1.1 christos (bfd_elf64_l1om_freebsd_vec): Likewise.
1510 1.1 christos (_bfd_target_vector): Add bfd_elf64_l1om_vec and
1511 1.1 christos bfd_elf64_l1om_freebsd_vec.
1512 1.1 christos
1513 1.1 christos 2009-07-24 Trevor Smigiel <Trevor_Smigiel (a] playstation.sony.com>
1514 1.1 christos Alan Modra <amodra (a] bigpond.net.au>
1515 1.1 christos
1516 1.1 christos * reloc.c (BFD_RELOC_SPU_ADD_PIC): Define.
1517 1.1 christos * bfd-in2.h: Regenerate.
1518 1.1 christos * libbfd.h: Regenerate.
1519 1.1 christos * elf32-spu.c (elf_howto_table): Add entries SPU_ADD_PIC.
1520 1.1 christos (spu_elf_bfd_to_reloc_type): Handle SPU_ADD_PIC.
1521 1.1 christos (spu_elf_relocate_section): Patch instructions marked by SPU_ADD_PIC.
1522 1.1 christos
1523 1.1 christos 2009-07-23 H.J. Lu <hongjiu.lu (a] intel.com>
1524 1.1 christos
1525 1.1 christos PR ld/10434
1526 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_relocs): Check executable
1527 1.1 christos instead of shared for R_X86_64_TPOFF32.
1528 1.1 christos (elf64_x86_64_relocate_section): Likewise.
1529 1.1 christos
1530 1.1 christos 2009-07-23 Ulrich Drepper <drepper (a] redhat.com>
1531 1.1 christos
1532 1.1 christos * elf-bfd.h (struct elf_link_hash_entry): Add unique_global field.
1533 1.1 christos * elf.c (swap_out_syms): Set binding to STB_GNU_UNIQUE for symbols
1534 1.1 christos with the BSF_GNU_UNIQUE flag bit set.
1535 1.1 christos * elfcode.h (elf_slurp_symbol_table): Set the BSF_GNU_UNIQUE flag
1536 1.1 christos for symbols with STB_GNU_UNIQUE binding.
1537 1.1 christos * elflink.c (_bfd_elf_merge_symbol): Set unique_global for symbols
1538 1.1 christos with the STB_GNU_UNIQUE binding.
1539 1.1 christos (elf_link_add_object_symbols): Set the BSF_GNU_UNIQUE flag for
1540 1.1 christos symbols with STB_GNU_UNIQUE binding. Set STB_GNU_UNIQUE for
1541 1.1 christos symbols with the unique_global field set.
1542 1.1 christos (elf_link_output_extsym): Set unique_global field for symbols with
1543 1.1 christos the STB_GNU_UNIQUE binding.
1544 1.1 christos * syms.c (struct bfd_symbol): Define BSF_GNU_UNIQUE flag bit.
1545 1.1 christos (bfd_print_symbol_vandf): Print a 'u' character for BSF_GNU_UNIQUE
1546 1.1 christos symbols.
1547 1.1 christos (bfd_decode_symclass): Return a 'u' character for BSF_GNU_UNIQUE
1548 1.1 christos symbols.
1549 1.1 christos * bfd-in2.h: Regenerate.
1550 1.1 christos
1551 1.1 christos 2009-07-22 H.J. Lu <hongjiu.lu (a] intel.com>
1552 1.1 christos
1553 1.1 christos * elflink.c (elf_link_output_extsym): Revert the last change.
1554 1.1 christos
1555 1.1 christos 2009-07-22 H.J. Lu <hongjiu.lu (a] intel.com>
1556 1.1 christos
1557 1.1 christos PR ld/10433
1558 1.1 christos * elflink.c (elf_link_output_extsym): Special case ifunc syms
1559 1.1 christos when ref_regular, not def_regular.
1560 1.1 christos
1561 1.1 christos 2009-07-21 H.J. Lu <hongjiu.lu (a] intel.com>
1562 1.1 christos
1563 1.1 christos PR ld/10426
1564 1.1 christos * elflink.c (elf_link_add_object_symbols): Turn an IFUNC symbol
1565 1.1 christos from a DSO into a normal FUNC symbol.
1566 1.1 christos (elf_link_output_extsym): Turn an undefined IFUNC symbol into
1567 1.1 christos a normal FUNC symbol.
1568 1.1 christos
1569 1.1 christos 2009-07-17 Chao-ying Fu <fu (a] mips.com>
1570 1.1 christos
1571 1.1 christos * elfxx-mips.c (LOAD_INTERLOCKS_P): New define.
1572 1.1 christos (_bfd_mips_elf_size_dynamic_sections): For CPUs without load
1573 1.1 christos interlocking, the last PLT entry needs a nop in the branch delay slot.
1574 1.1 christos (_bfd_mips_elf_finish_dynamic_symbol): For CPUs with load itnerlocking,
1575 1.1 christos output the last two PLT entries in reverse order.
1576 1.1 christos
1577 1.1 christos 2009-07-16 H.J. Lu <hongjiu.lu (a] intel.com>
1578 1.1 christos
1579 1.1 christos * elf32-i386.c (elf_i386_relocate_section): Don't get local
1580 1.1 christos STT_GNU_IFUNC symbol for relocatable link.
1581 1.1 christos * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
1582 1.1 christos
1583 1.1 christos 2009-07-10 H.J. Lu <hongjiu.lu (a] intel.com>
1584 1.1 christos
1585 1.1 christos * bfdio.c (bfd_iovec): Add comments for bmmap.
1586 1.1 christos * bfd-in2.h: Regenerated.
1587 1.1 christos
1588 1.1 christos 2009-07-10 H.J. Lu <hongjiu.lu (a] intel.com>
1589 1.1 christos
1590 1.1 christos * Makefile.am: Run "make dep-am".
1591 1.1 christos * Makefile.in: Regenerated.
1592 1.1 christos
1593 1.1 christos 2009-07-10 Doug Kwan <dougkwan (a] google.com>
1594 1.1 christos
1595 1.1 christos * elf32-arm.c (stub_hash_newfunc): Initialize fields
1596 1.1 christos target_addend and orig_insn.
1597 1.1 christos
1598 1.1 christos 2009-07-10 Tom Tromey <tromey (a] redhat.com>
1599 1.1 christos
1600 1.1 christos * Makefile.am (dwarf2.lo): Use dwarf2.h, not elf/dwarf2.h.
1601 1.1 christos (elf-eh-frame.lo): Likewise.
1602 1.1 christos (elf32-bfin.lo): Likewise.
1603 1.1 christos (elf32-frv.lo): Likewise.
1604 1.1 christos (elf32-xc16x.lo): Likewise.
1605 1.1 christos * Makefile.in: Rebuild.
1606 1.1 christos * dwarf2.c: Included dwarf.h, not elf/dwarf2.h.
1607 1.1 christos * elf-eh-frame.c: Likewise.
1608 1.1 christos * elf32-bfin.c: Likewise.
1609 1.1 christos * elf32-frv.c: Likewise.
1610 1.1 christos * elf32-xc16x.c: Likewise.
1611 1.1 christos
1612 1.1 christos 2009-07-10 Julian Brown <julian (a] codesourcery.com>
1613 1.1 christos
1614 1.1 christos * elf32-arm.c (arm_build_one_stub): Use the hash entry of the
1615 1.1 christos symbol a stub entry is derived from, not the entry for the stub
1616 1.1 christos itself, in call to elf32_arm_final_link_relocate.
1617 1.1 christos
1618 1.1 christos 2009-07-10 H.J. Lu <hongjiu.lu (a] intel.com>
1619 1.1 christos
1620 1.1 christos * elf.c (_bfd_elf_get_synthetic_symtab): Remove leading zeros
1621 1.1 christos when reporting addends.
1622 1.1 christos
1623 1.1 christos 2009-07-10 Alan Modra <amodra (a] bigpond.net.au>
1624 1.1 christos
1625 1.1 christos * elf32-spu.c (spu_elf_size_stubs): Do set up soft-icache manager
1626 1.1 christos data even when no stubs.
1627 1.1 christos (spu_elf_place_overlay_data, spu_elf_build_stubs): Adjust.
1628 1.1 christos
1629 1.1 christos 2009-07-10 Alan Modra <amodra (a] bigpond.net.au>
1630 1.1 christos
1631 1.1 christos * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_IRELATIVE.
1632 1.1 christos (ppc_elf_get_synthetic_symtab): Report addend.
1633 1.1 christos (PLT_IFUNC): Define.
1634 1.1 christos (struct ppc_elf_link_hash_table): Add iplt and reliplt.
1635 1.1 christos (ppc_elf_create_glink): New function.
1636 1.1 christos (ppc_elf_create_dynamic_sections): Use it.
1637 1.1 christos (ppc_elf_add_symbol_hook): Set has_ifunc_symbols.
1638 1.1 christos (update_local_sym_info): Allocate space for local_plt array.
1639 1.1 christos Don't bump local_got_refcounts for PLT_IFUNC. Return local_plt
1640 1.1 christos entry pointer.
1641 1.1 christos (is_branch_reloc): New function.
1642 1.1 christos (ppc_elf_check_relocs): Handle STT_GNU_IFUNC symbols.
1643 1.1 christos (ppc_elf_gc_sweep_hook): Likewise.
1644 1.1 christos (ppc_elf_adjust_dynamic_symbol): Likewise.
1645 1.1 christos (allocate_dynrelocs): Likewise.
1646 1.1 christos (ppc_elf_size_dynamic_sections): Likewise.
1647 1.1 christos (ppc_elf_relocate_section): Likewise.
1648 1.1 christos (branch_reloc_hash_match): Use is_branch_reloc.
1649 1.1 christos (ppc_elf_tls_optimize): Adjust for local_plt.
1650 1.1 christos (write_glink_stub): New function, extracted from..
1651 1.1 christos (ppc_elf_finish_dynamic_symbol): ..here. Handle STT_GNU_IFUNC.
1652 1.1 christos (ppc_elf_finish_dynamic_sections): Only write plt resolver and
1653 1.1 christos branch table when dynamic.
1654 1.1 christos (elf_backend_post_process_headers): Define.
1655 1.1 christos * elf64-ppc.c (elf_backend_post_process_headers): Define.
1656 1.1 christos (ppc64_elf_howto_raw): Add R_PPC64_IRELATIVE.
1657 1.1 christos (ppc64_elf_get_synthetic_symtab): Report addend.
1658 1.1 christos (struct ppc_stub_hash_entry): Add plt_ent.
1659 1.1 christos (PLT_IFUNC): Define.
1660 1.1 christos (struct ppc_link_hash_table): Add iplt and reliplt.
1661 1.1 christos (create_linkage_sections): Make .iplt and .rela.iplt sections.
1662 1.1 christos (ppc64_elf_add_symbol_hook): Set has_ifunc_symbols.
1663 1.1 christos (update_local_sym_info): Allocate space for local_plt array.
1664 1.1 christos Don't bump local_got_ents for PLT_IFUNC. Return local_plt
1665 1.1 christos entry pointer.
1666 1.1 christos (update_plt_info): Pass pointer to plt_entry rather than sym hash,
1667 1.1 christos and don't change hash flags here.
1668 1.1 christos (is_branch_reloc): New function.
1669 1.1 christos (ppc64_elf_check_relocs): Handle STT_GNU_IFUNC.
1670 1.1 christos (ppc64_elf_gc_sweep_hook): Likewise.
1671 1.1 christos (ppc64_elf_adjust_dynamic_symbol): Likewise.
1672 1.1 christos (allocate_dynrelocs): Likewise.
1673 1.1 christos (ppc64_elf_size_dynamic_sections): Likewise.
1674 1.1 christos (ppc_build_one_stub, ppc_size_one_stub): Likewise.
1675 1.1 christos (ppc64_elf_size_stubs): Likewise.
1676 1.1 christos (ppc64_elf_relocate_section): Likewise.
1677 1.1 christos (get_sym_h): Adjust for local_plt.
1678 1.1 christos (branch_reloc_hash_match): Use is_branch_reloc.
1679 1.1 christos (ppc_type_of_stub): Pass plt_entry pointer and handle ifunc.
1680 1.1 christos (ppc64_elf_toc): Ignore SEC_EXCLUDE sections.
1681 1.1 christos
1682 1.1 christos 2009-07-10 Alan Modra <amodra (a] bigpond.net.au>
1683 1.1 christos
1684 1.1 christos * elf.c (_bfd_elf_get_synthetic_symtab): Report addends.
1685 1.1 christos
1686 1.1 christos 2009-07-10 Alan Modra <amodra (a] bigpond.net.au>
1687 1.1 christos
1688 1.1 christos * elf-bfd.h (struct elf_link_hash_entry): Clarify ref_regular
1689 1.1 christos and ref_regular_nonweak comment.
1690 1.1 christos * elflink.c (elf_link_output_extsym): Special case ifunc syms
1691 1.1 christos when def_regular, not ref_regular.
1692 1.1 christos (elf_link_add_object_symbols): Don't set needs_plt on ifunc syms,..
1693 1.1 christos * elf32-i386.c (elf_i386_check_relocs): ..set it here instead..
1694 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_relocs): ..and here.
1695 1.1 christos
1696 1.1 christos 2009-07-09 Alan Modra <amodra (a] bigpond.net.au>
1697 1.1 christos
1698 1.1 christos * elf32-spu.c (mark_functions_via_relocs): Init broken_cycle field
1699 1.1 christos of malloc'd struct call_info.
1700 1.1 christos (pasted_function): Likewise, priority too.
1701 1.1 christos
1702 1.1 christos 2009-07-07 Alan Modra <amodra (a] bigpond.net.au>
1703 1.1 christos
1704 1.1 christos * elf32-spu.c (spu_elf_auto_overlay): Take into account section
1705 1.1 christos alignment when packing sections into overlays.
1706 1.1 christos
1707 1.1 christos 2009-07-03 Cary Coutant <ccoutant (a] google.com>
1708 1.1 christos
1709 1.1 christos * dwarf2.c (decode_line_info): Ignore DW_LNE_set_discriminator.
1710 1.1 christos
1711 1.1 christos 2009-07-03 Dave Korn <dave.korn.cygwin (a] gmail.com>
1712 1.1 christos
1713 1.1 christos * coffcode.h (sec_to_styp_flags): Partially revert (functional
1714 1.1 christos changes only) earlier patch:-
1715 1.1 christos
1716 1.1 christos 2009-06-25 Kai Tietz <kai.tietz (a] onevision.com>
1717 1.1 christos
1718 1.1 christos * coffcode.h (sec_to_styp_flags): Set discardable for .reloc and
1719 1.1 christos give .debug and .reloc data characteristics.
1720 1.1 christos (DOT_RELOC): New define for .reloc section string.
1721 1.1 christos (coff_write_object_contents): Use DOT_RELOC instead of string.
1722 1.1 christos
1723 1.1 christos 2009-07-02 Tom Tromey <tromey (a] redhat.com>
1724 1.1 christos
1725 1.1 christos * aoutx.h (aout_get_external_symbols): Declare 'amt' locally.
1726 1.1 christos * bfdwin.c (bfd_free_window): Cast to unsigned long.
1727 1.1 christos
1728 1.1 christos 2009-07-01 Nick Clifton <nickc (a] redhat.com>
1729 1.1 christos
1730 1.1 christos * elf-m10300.c: Remove trailing white space.
1731 1.1 christos * reloc.c: Likewise.
1732 1.1 christos
1733 1.1 christos 2009-07-01 Douglas B Rupp <rupp (a] gnat.com>
1734 1.1 christos
1735 1.1 christos * bfd.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
1736 1.1 christos BFD_HAVE_SYS_STAT_TYPE_MEMBER): New config functions.
1737 1.1 christos * configure.in: Use them.
1738 1.1 christos * configure: Regenerate.
1739 1.1 christos * config.in: Regenerate.
1740 1.1 christos * vmsutil.c: Include sysdep.h, remove ansidecl.h.
1741 1.1 christos #define _BSD_SOURCE. Add comments.
1742 1.1 christos (vms_file_stats_name): Calculate creation date based on available
1743 1.1 christos runtime data. Return 1 for version instead of 0.
1744 1.1 christos
1745 1.1 christos 2009-07-01 Nick Clifton <nickc (a] redhat.com>
1746 1.1 christos
1747 1.1 christos PR 10072
1748 1.1 christos * elf32-arm.c (elf32_arm_final_link_relocate): Add code to handle
1749 1.1 christos to R_ARM_THM_PC8 relocation.
1750 1.1 christos
1751 1.1 christos 2009-06-29 Nick Clifton <nickc (a] redhat.com>
1752 1.1 christos
1753 1.1 christos * elf-m10300.c (mn10300_elf_relax_section): Allow for the
1754 1.1 christos different uses of the relocations addend when a symbol is in a
1755 1.1 christos merged section.
1756 1.1 christos
1757 1.1 christos 2009-06-27 H.J. Lu <hongjiu.lu (a] intel.com>
1758 1.1 christos
1759 1.1 christos PR ld/10337
1760 1.1 christos * elf.c (bfd_section_from_shdr): Don't change sh_link for
1761 1.1 christos SHT_REL/SHT_RELA sections on executable nor shared library.
1762 1.1 christos Treat SHT_REL/SHT_RELA sections with sh_link set to SHN_UNDEF
1763 1.1 christos as a normal section.
1764 1.1 christos
1765 1.1 christos 2009-06-25 Nick Clifton <nickc (a] redhat.com>
1766 1.1 christos
1767 1.1 christos * elf-m10300.c (mn10300_elf_relax_section): Handle non-section
1768 1.1 christos symbols with SEC_MERGE flag.
1769 1.1 christos
1770 1.1 christos 2009-06-25 Kai Tietz <kai.tietz (a] onevision.com>
1771 1.1 christos
1772 1.1 christos * coffcode.h (sec_to_styp_flags): Set discardable for .reloc and
1773 1.1 christos give .debug and .reloc data characteristics.
1774 1.1 christos (DOT_RELOC): New define for .reloc section string.
1775 1.1 christos (coff_write_object_contents): Use DOT_RELOC instead of string.
1776 1.1 christos
1777 1.1 christos 2009-06-25 Tristan Gingold <gingold (a] adacore.com>
1778 1.1 christos
1779 1.1 christos * mach-o-target.c (bfd_mach_o_get_dynamic_symtab_upper_bound)
1780 1.1 christos (bfd_mach_o_canonicalize_dynamic_symtab)
1781 1.1 christos (bfd_mach_o_get_synthetic_symtab): Defines.
1782 1.1 christos (TARGET_NAME_BACKEND): Add bfd_mach_o_print_thread entry.
1783 1.1 christos (TARGET_NAME): Use Mach-O specific functions for dynamic.
1784 1.1 christos
1785 1.1 christos * mach-o-i386.c (bfd_mach_o_i386_swap_reloc_in): Fix howto indexes
1786 1.1 christos for scattered relocations.
1787 1.1 christos (bfd_mach_o_i386_print_thread): New function.
1788 1.1 christos (bfd_mach_o_print_thread): Define.
1789 1.1 christos
1790 1.1 christos * mach-o.c (text_section_names_xlat): Add an entry for __const.
1791 1.1 christos (bfd_mach_o_canonicalize_one_reloc, bfd_mach_o_canonicalize_relocs):
1792 1.1 christos New functions extracted from ...
1793 1.1 christos (bfd_mach_o_canonicalize_reloc): ... This. Simplified.
1794 1.1 christos (bfd_mach_o_get_dynamic_reloc_upper_bound): New function.
1795 1.1 christos (bfd_mach_o_canonicalize_dynamic_reloc): New function.
1796 1.1 christos (bfd_mach_o_i386_flavour_string): Adjusted after enum renaming.
1797 1.1 christos (bfd_mach_o_ppc_flavour_string): Reindentation. Add 64 bits cases.
1798 1.1 christos (bfd_mach_o_scan_read_dylinker): Do not create a section anymore.
1799 1.1 christos Set name_str field.
1800 1.1 christos (bfd_mach_o_scan_read_dylib): Ditto.
1801 1.1 christos (bfd_mach_o_scan_read_thread): Set mdata at declaration. Add comments,
1802 1.1 christos reindent.
1803 1.1 christos (bfd_mach_o_scan_read_dysymtab): Set mdata at declaration. Correctly
1804 1.1 christos decode isym and flags on little endian targets. Set dysymtab field.
1805 1.1 christos (bfd_mach_o_scan_start_address): Adjust for enum names.
1806 1.1 christos (bfd_mach_o_lookup_section): Do not look for segments anymore.
1807 1.1 christos (bfd_mach_o_print_section): Display bfd section name.
1808 1.1 christos (bfd_mach_o_print_segment): Display none if no name.
1809 1.1 christos (bfd_mach_o_print_dysymtab): Display next index for local, external
1810 1.1 christos and undefined symbols.
1811 1.1 christos (bfd_mach_o_bfd_print_private_bfd_data): Adjust code by using name_str.
1812 1.1 christos Display dylinker name. Display thread and unixthread commands content.
1813 1.1 christos (bfd_mach_o_print_thread): New macro.
1814 1.1 christos
1815 1.1 christos * mach-o.h (bfd_mach_o_mach_header_magic): Align numbers.
1816 1.1 christos (bfd_mach_o_ppc_thread_flavour): Ditto.
1817 1.1 christos (bfd_mach_o_i386_thread_flavour): Ditto.
1818 1.1 christos (BFD_MACH_O_PPC_THREAD_STATE_NONE): New enum.
1819 1.1 christos (BFD_MACH_O_x86_THREAD_STATE_NONE): Replaces
1820 1.1 christos BFD_MACH_O_THREAD_STATE_NONE.
1821 1.1 christos (bfd_mach_o_segment_command): Remove segment field.
1822 1.1 christos (bfd_mach_o_thread_flavour): Field offset is now unsigned long.
1823 1.1 christos (bfd_mach_o_dylinker_command): Remove section field, add name_str.
1824 1.1 christos (bfd_mach_o_prebound_dylib_command): Ditto.
1825 1.1 christos (bfd_mach_o_dylib_command): Ditto.
1826 1.1 christos (bfd_mach_o_prebound_dylib_command): Remove section field.
1827 1.1 christos (mach_o_data_struct): Add dysymtab field.
1828 1.1 christos (bfd_mach_o_backend_data): Add _bfd_mach_o_print_thread field.
1829 1.1 christos (bfd_mach_o_get_reloc_upper_bound, bfd_mach_o_canonicalize_reloc)
1830 1.1 christos (bfd_mach_o_build_commands): Remove parameter names and attributes.
1831 1.1 christos (bfd_mach_o_get_dynamic_reloc_upper_bound)
1832 1.1 christos (bfd_mach_o_canonicalize_dynamic_reloc): New prototypes.
1833 1.1 christos
1834 1.1 christos 2009-06-25 Rafael Avila de Espindola <espindola (a] google.com>
1835 1.1 christos
1836 1.1 christos * plugin.c (load_plugin): Use stat and S_ISREG instead of the d_type
1837 1.1 christos field of struct dirent.
1838 1.1 christos
1839 1.1 christos 2009-06-23 Tristan Gingold <gingold (a] adacore.com>
1840 1.1 christos
1841 1.1 christos * vms.c (vms_get_synthetic_symtab): Remove duplicate definition
1842 1.1 christos of this macro. Fix indentation.
1843 1.1 christos
1844 1.1 christos 2009-06-22 Christophe Lyon <christophe.lyon (a] st.com>
1845 1.1 christos
1846 1.1 christos * elf32-arm.c (elf32_arm_size_stubs): Use PLT address as
1847 1.1 christos destination for defined dynamic symbols when deciding whether to
1848 1.1 christos insert a stub or not.
1849 1.1 christos (allocate_dynrelocs): Make sure functions are not marked as Thumb
1850 1.1 christos when actually accessed through a PLT, even when generating a
1851 1.1 christos shared lib.
1852 1.1 christos
1853 1.1 christos 2009-06-22 Tristan Gingold <gingold (a] adacore.com>
1854 1.1 christos
1855 1.1 christos * mach-o.c (bfd_mach_o_canonicalize_reloc): Append a sentinel to
1856 1.1 christos the relocs array.
1857 1.1 christos
1858 1.1 christos 2009-06-22 Alan Modra <amodra (a] bigpond.net.au>
1859 1.1 christos
1860 1.1 christos * elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch.
1861 1.1 christos * elf32-v850.c (v850_elf_relocate_section): Warning fix.
1862 1.1 christos
1863 1.1 christos 2009-06-22 Alan Modra <amodra (a] bigpond.net.au>
1864 1.1 christos
1865 1.1 christos * elf64-ppc.c (ppc64_elf_edit_opd): Avoid gcc warning.
1866 1.1 christos
1867 1.1 christos 2009-06-19 H.J. Lu <hongjiu.lu (a] intel.com>
1868 1.1 christos
1869 1.1 christos * elflink.c (elf_link_add_object_symbols): Avoid warning
1870 1.1 christos from -Wjump-misses-init in gcc 4.5.0.
1871 1.1 christos
1872 1.1 christos 2009-06-19 H.J. Lu <hongjiu.lu (a] intel.com>
1873 1.1 christos
1874 1.1 christos * elf32-i386.c (elf_i386_check_relocs): Properly check local
1875 1.1 christos symbol on error.
1876 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
1877 1.1 christos
1878 1.1 christos 2009-06-19 H.J. Lu <hongjiu.lu (a] intel.com>
1879 1.1 christos
1880 1.1 christos * elf32-i386.c (elf_i386_tls_transition): Add a parameter,
1881 1.1 christos r_symndx. Report local symbol name on error.
1882 1.1 christos (elf_i386_check_relocs): Updated. Report local symbol name on
1883 1.1 christos error.
1884 1.1 christos (elf_i386_gc_sweep_hook): Updated.
1885 1.1 christos (elf_i386_relocate_section): Likewise.
1886 1.1 christos
1887 1.1 christos * elf64-x86-64.c (elf64_x86_64_tls_transition): Add a parameter,
1888 1.1 christos r_symndx. Report local symbol name on error.
1889 1.1 christos (elf64_x86_64_check_relocs): Updated. Report local symbol name
1890 1.1 christos on error.
1891 1.1 christos (elf64_x86_64_gc_sweep_hook): Updated.
1892 1.1 christos (elf64_x86_64_relocate_section): Likewise.
1893 1.1 christos
1894 1.1 christos 2009-06-19 Tristan Gingold <gingold (a] adacore.com>
1895 1.1 christos
1896 1.1 christos * mach-o.c (bfd_mach_o_print_private_header): Fix format character.
1897 1.1 christos
1898 1.1 christos 2009-06-19 Tristan Gingold <gingold (a] adacore.com>
1899 1.1 christos
1900 1.1 christos * mach-o.c (bfd_mach_o_scan_read_symtab_symbols): Add prototype.
1901 1.1 christos (bfd_mach_o_version): Use bfd_mach_o_get_data instead of direct access.
1902 1.1 christos (bfd_mach_o_valid): Ditto.
1903 1.1 christos (bfd_mach_o_wide_p): Ditto.
1904 1.1 christos (bfd_mach_o_canonicalize_reloc): Ditto.
1905 1.1 christos (bfd_mach_o_build_commands): Ditto.
1906 1.1 christos (bfd_mach_o_scan_read_thread): Ditto.
1907 1.1 christos (bfd_mach_o_flatten_sections): Ditto.
1908 1.1 christos (bfd_mach_o_scan_start_address): Ditto.
1909 1.1 christos (bfd_mach_o_lookup_section): Ditto.
1910 1.1 christos (bfd_mach_o_core_fetch_environment): Ditto.
1911 1.1 christos (bfd_mach_o_write_contents): Ditto. Handle reexport_dylib.
1912 1.1 christos (bfd_mach_o_scan_write_relocs): Adjust for bfd_mach_o_get_data.
1913 1.1 christos (bfd_mach_o_scan_write_symtab): Ditto.
1914 1.1 christos Use macros instead of hard-coded values.
1915 1.1 christos (bfd_mach_o_scan_read_symtab_symbol): Make the function static.
1916 1.1 christos Use bfd_mach_o_get_data instead of direct access. Use macros
1917 1.1 christos instead of hard-coded values.
1918 1.1 christos (bfd_mach_o_scan_read_symtab_strtab): Make the function static.
1919 1.1 christos Remove sym argument and get section from mdata.
1920 1.1 christos Move code into the else branch.
1921 1.1 christos (bfd_mach_o_scan_read_symtab_symbols): Make the function static.
1922 1.1 christos Remove sym argument and get section from mdata. Adjust code.
1923 1.1 christos (bfd_mach_o_scan_read_dylib): Move assertion into the created
1924 1.1 christos switch (which replaces consecutive if statements).
1925 1.1 christos (bfd_mach_o_scan_read_dysymtab): Rename seg to cmd. Load
1926 1.1 christos module table, table of content, indirect symbols and external
1927 1.1 christos referenced symbols.
1928 1.1 christos (bfd_mach_o_scan_read_symtab): Renames seg to symtab. Set symtab
1929 1.1 christos field.
1930 1.1 christos (bfd_mach_o_scan_read_linkedit): New function.
1931 1.1 christos (bfd_mach_o_scan_read_str): Ditto.
1932 1.1 christos (bfd_mach_o_count_symbols): Simplify the code by using the symtab
1933 1.1 christos field of mdata.
1934 1.1 christos (bfd_mach_o_get_symtab_upper_bound): Remove check as
1935 1.1 christos bfd_mach_o_count_symbols never returns an error.
1936 1.1 christos (bfd_mach_o_canonicalize_symtab): Simplify the code by using the
1937 1.1 christos symtab field (there might be only one symtab).
1938 1.1 christos (bfd_mach_o_scan_read_command): Handle reexported dylib.
1939 1.1 christos Handle sub frameworks, sub umbrella, sub library and sub client.
1940 1.1 christos Read code signature and segment split info commands.
1941 1.1 christos (bfd_mach_o_scan): Reindent.
1942 1.1 christos (bfd_mach_o_xlat_name): New type.
1943 1.1 christos (bfd_mach_o_print_flags): New function.
1944 1.1 christos (bfd_mach_o_get_name): Ditto.
1945 1.1 christos (bfd_mach_o_cpu_name): New variable.
1946 1.1 christos (bfd_mach_o_filetype_name, bfd_mach_o_header_flags_name)
1947 1.1 christos (bfd_mach_o_section_type_name)
1948 1.1 christos (bfd_mach_o_section_attribute_name)
1949 1.1 christos (bfd_mach_o_load_command_name): New variables.
1950 1.1 christos (bfd_mach_o_print_private_header): New function.
1951 1.1 christos (bfd_mach_o_print_section_map): New function extracted from
1952 1.1 christos bfd_mach_o_print_private_bfd_data.
1953 1.1 christos (bfd_mach_o_print_section): Ditto. Print more infos.
1954 1.1 christos (bfd_mach_o_print_segment): Ditto.
1955 1.1 christos (bfd_mach_o_print_dysymtab): Ditto.
1956 1.1 christos (bfd_mach_o_bfd_print_private_bfd_data): Reworked. Handle
1957 1.1 christos load weak dylib, reexport dylib and id dylib.
1958 1.1 christos Handle code signature and segment_split info.
1959 1.1 christos Handle sub frameworks, sub umbrella, sub library and sub client.
1960 1.1 christos (bfd_mach_o_section_get_nbr_indirect): New function.
1961 1.1 christos
1962 1.1 christos * mach-o.h (BFD_MACH_O_REFERENCE_MASK): New macro. Add comment.
1963 1.1 christos (bfd_mach_o_header_flags): New enum to define header flags.
1964 1.1 christos (bfd_mach_o_section_attribute): New enum to replace ...
1965 1.1 christos (BFD_MACH_O_S_ATTR_LOC_RELOC, BFD_MACH_O_S_ATTR_EXT_RELOC,
1966 1.1 christos BFD_MACH_O_S_ATTR_SOME_INSTRUCTIONS, BFD_MACH_O_S_ATTR_DEBUG,
1967 1.1 christos BFD_MACH_O_S_SELF_MODIFYING_CODE, BFD_MACH_O_S_ATTR_LIVE_SUPPORT,
1968 1.1 christos BFD_MACH_O_S_ATTR_NO_DEAD_STRIP, BFD_MACH_O_S_ATTR_STRIP_STATIC_SYMS,
1969 1.1 christos BFD_MACH_O_S_ATTR_NO_TOC, BFD_MACH_O_S_ATTR_PURE_INSTRUCTIONS): ...
1970 1.1 christos these removed macros.
1971 1.1 christos (BFD_MACH_O_NLIST_SIZE, BFD_MACH_O_NLIST_64_SIZE): New macros.
1972 1.1 christos (bfd_mach_o_dylib_module): New type.
1973 1.1 christos (BFD_MACH_O_DYLIB_MODULE_SIZE, BFD_MACH_O_DYLIB_MODULE_64_SIZE): New
1974 1.1 christos macros.
1975 1.1 christos (bfd_mach_o_dylib_table_of_content): New type.
1976 1.1 christos (BFD_MACH_O_TABLE_OF_CONTENT_SIZE): New macro.
1977 1.1 christos (bfd_mach_o_dylib_reference): New type.
1978 1.1 christos (BFD_MACH_O_REFERENCE_SIZE): New macro.
1979 1.1 christos (bfd_mach_o_dysymtab_command): Add fields for loaded and decoded
1980 1.1 christos modules, toc, references and indirect syms.
1981 1.1 christos (BFD_MACH_O_INDIRECT_SYMBOL_SIZE): New macro.
1982 1.1 christos (bfd_mach_o_dylinker_command): Remove cmd and cmdsize fields (were
1983 1.1 christos unused). Add comment.
1984 1.1 christos (bfd_mach_o_dylib_command): Ditto.
1985 1.1 christos (bfd_mach_o_prebound_dylib_command): Ditto.
1986 1.1 christos (bfd_mach_o_linkedit_command): New type.
1987 1.1 christos (bfd_mach_o_str_command): New type.
1988 1.1 christos (bfd_mach_o_load_command): Add linkedit and str fields.
1989 1.1 christos (mach_o_data_struct): Add symtab field.
1990 1.1 christos (bfd_get_mach_o_data): Renamed to ...
1991 1.1 christos (bfd_mach_o_get_data): ... this new macro.
1992 1.1 christos (bfd_mach_o_scan_read_symtab_symbol,
1993 1.1 christos bfd_mach_o_scan_read_symtab_strtab,
1994 1.1 christos bfd_mach_o_scan_read_symtab_symbols): Prototypes removed.
1995 1.1 christos
1996 1.1 christos * mach-o-i386.c (bfd_mach_o_i386_mkobject): Use bfd_mach_o_get_data
1997 1.1 christos instead of direct access.
1998 1.1 christos
1999 1.1 christos 2009-06-19 Alan Modra <amodra (a] bigpond.net.au>
2000 1.1 christos
2001 1.1 christos * elf32-ppc.c (ppc_elf_check_relocs): Allow local symbols for
2002 1.1 christos R_PPC_PLTREL24 relocs.
2003 1.1 christos (ppc_elf_relocate_section): Likewise.
2004 1.1 christos
2005 1.1 christos 2009-06-19 Alan Modra <amodra (a] bigpond.net.au>
2006 1.1 christos
2007 1.1 christos * elf32-ppc.c (find_plt_ent): Pass pointer to plist rather than
2008 1.1 christos pointer to sym hash. Update all uses.
2009 1.1 christos (update_plt_info): Likewise. Don't check addend here.
2010 1.1 christos
2011 1.1 christos 2009-06-18 H.J. Lu <hongjiu.lu (a] intel.com>
2012 1.1 christos
2013 1.1 christos * elf32-i386.c (elf_i386_check_relocs): Remove isymbuf and use
2014 1.1 christos bfd_sym_from_r_symndx.
2015 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
2016 1.1 christos
2017 1.1 christos 2009-06-18 Alan Modra <amodra (a] bigpond.net.au>
2018 1.1 christos
2019 1.1 christos * elf-bfd.h (struct sym_sec_cache): Delete.
2020 1.1 christos (struct sym_cache): New.
2021 1.1 christos (bfd_section_from_r_symndx): Delete prototype.
2022 1.1 christos (bfd_sym_from_r_symndx): Define prototype.
2023 1.1 christos * elf.c (bfd_section_from_r_symndx): Delete, replace with..
2024 1.1 christos (bfd_sym_from_r_symndx): ..new function.
2025 1.1 christos * elf32-arm.c: Update all uses of struct sym_sec_cache and
2026 1.1 christos bfd_section_from_r_symndx to new struct and function.
2027 1.1 christos * elf32-bfin.c: Likewise.
2028 1.1 christos * elf32-hppa.c: Likewise.
2029 1.1 christos * elf32-i386.c: Likewise.
2030 1.1 christos * elf32-m32r.c: Likewise.
2031 1.1 christos * elf32-m68hc1x.c: Likewise.
2032 1.1 christos * elf32-m68hc1x.h: Likewise.
2033 1.1 christos * elf32-m68k.c: Likewise.
2034 1.1 christos * elf32-ppc.c: Likewise.
2035 1.1 christos * elf32-s390.c: Likewise.
2036 1.1 christos * elf32-sh.c: Likewise.
2037 1.1 christos * elf64-ppc.c: Likewise.
2038 1.1 christos * elf64-s390.c: Likewise.
2039 1.1 christos * elf64-x86-64.c: Likewise.
2040 1.1 christos * elfxx-sparc.c: Likewise.
2041 1.1 christos * elfxx-sparc.h: Likewise.
2042 1.1 christos
2043 1.1 christos 2009-06-18 H.J. Lu <hongjiu.lu (a] intel.com>
2044 1.1 christos
2045 1.1 christos * elf32-i386.c (elf_i386_check_relocs): Cache or free isymbuf.
2046 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
2047 1.1 christos
2048 1.1 christos 2009-06-18 Nick Clifton <nickc (a] redhat.com>
2049 1.1 christos
2050 1.1 christos * elflink.c (elf_link_sort_relocs): Return early if there are no
2051 1.1 christos relocs to sort.
2052 1.1 christos
2053 1.1 christos 2009-06-18 Dave Korn <dave.korn.cygwin (a] gmail.com>
2054 1.1 christos
2055 1.1 christos Merge cegcc and mingw32ce target name changes from
2056 1.1 christos CeGCC project:
2057 1.1 christos
2058 1.1 christos 2007-12-25 Pedro Alves <pedro_alves (a] portugalmail.pt>
2059 1.1 christos
2060 1.1 christos * config.bfd: Add arm*-*-cegcc* target.
2061 1.1 christos
2062 1.1 christos 2007-12-17 Pedro Alves <pedro_alves (a] portugalmail.pt>
2063 1.1 christos
2064 1.1 christos * config.bfd: Add arm-*-mingw32ce* target.
2065 1.1 christos
2066 1.1 christos 2009-06-17 H.J. Lu <hongjiu.lu (a] intel.com>
2067 1.1 christos
2068 1.1 christos * elf-bfd.h (_bfd_elf_allocate_ifunc_dyn_relocs): New.
2069 1.1 christos * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Likewise.
2070 1.1 christos * elf32-i386.c (elf_i386_allocate_dynrelocs): Use it.
2071 1.1 christos * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.
2072 1.1 christos
2073 1.1 christos 2009-06-17 H.J. Lu <hongjiu.lu (a] intel.com>
2074 1.1 christos
2075 1.1 christos * elf-bfd.h (_bfd_elf_create_ifunc_dyn_reloc): New.
2076 1.1 christos * elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Likewise.
2077 1.1 christos * elf32-i386.c (elf_i386_check_relocs): Use it.
2078 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
2079 1.1 christos
2080 1.1 christos 2009-06-17 H.J. Lu <hongjiu.lu (a] intel.com>
2081 1.1 christos
2082 1.1 christos * elf-bfd.h (elf_dyn_relocs): New.
2083 1.1 christos
2084 1.1 christos * elf32-i386.c (elf_i386_dyn_relocs): Removed.
2085 1.1 christos (elf_i386_link_hash_entry): Replace elf_i386_dyn_relocs with
2086 1.1 christos elf_dyn_relocs.
2087 1.1 christos (elf_i386_copy_indirect_symbol): Likewise.
2088 1.1 christos (elf_i386_check_relocs): Likewise.
2089 1.1 christos (elf_i386_gc_sweep_hook): Likewise.
2090 1.1 christos (elf_i386_allocate_dynrelocs): Likewise.
2091 1.1 christos (elf_i386_readonly_dynrelocs): Likewise.
2092 1.1 christos (elf_i386_size_dynamic_sections): Likewise.
2093 1.1 christos
2094 1.1 christos * elf64-x86-64.c (elf64_x86_64_dyn_relocs): Removed.
2095 1.1 christos (elf64_x86_64_link_hash_entry): Replace elf64_x86_64_dyn_relocs
2096 1.1 christos with elf_dyn_relocs.
2097 1.1 christos (elf64_x86_64_copy_indirect_symbol): Updated.
2098 1.1 christos (elf64_x86_64_check_relocs): Likewise.
2099 1.1 christos (elf64_x86_64_gc_sweep_hook): Likewise.
2100 1.1 christos (elf64_x86_64_adjust_dynamic_symbol): Likewise.
2101 1.1 christos (elf64_x86_64_allocate_dynrelocs): Likewise.
2102 1.1 christos (elf64_x86_64_readonly_dynrelocs): Likewise.
2103 1.1 christos (elf64_x86_64_size_dynamic_sections): Likewise.
2104 1.1 christos
2105 1.1 christos 2009-06-17 H.J. Lu <hongjiu.lu (a] intel.com>
2106 1.1 christos
2107 1.1 christos * elf32-arm.c (create_got_section): Get existing .rela.got
2108 1.1 christos section.
2109 1.1 christos * elf32-hppa.c (elf32_hppa_create_dynamic_sections): Likewise.
2110 1.1 christos * elf32-lm32.c (create_got_section): Likewise.
2111 1.1 christos * elf32-m32r.c (create_got_section): Likewise.
2112 1.1 christos * elf32-ppc.c (ppc_elf_create_got): Likewise.
2113 1.1 christos * elf32-s390.c (create_got_section): Likewise.
2114 1.1 christos * elf32-sh.c (create_got_section): Likewise.
2115 1.1 christos * elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Likewise.
2116 1.1 christos * elf64-s390.c (create_got_section): Likewise.
2117 1.1 christos * elfxx-sparc.c (create_got_section): Likewise.
2118 1.1 christos
2119 1.1 christos * elflink.c (_bfd_elf_create_got_section): Properly initialize
2120 1.1 christos the GOT size.
2121 1.1 christos
2122 1.1 christos 2009-06-16 H.J. Lu <hongjiu.lu (a] intel.com>
2123 1.1 christos
2124 1.1 christos * elf-bfd.h (ELF_LOCAL_SYMBOL_HASH): New.
2125 1.1 christos
2126 1.1 christos * elf32-i386.c (elf_i386_local_hash): Removed.
2127 1.1 christos (elf_i386_local_htab_hash): Use ELF_LOCAL_SYMBOL_HASH.
2128 1.1 christos (elf_i386_get_local_sym_hash): Likewise.
2129 1.1 christos
2130 1.1 christos * elf64-x86-64.c (elf64_x86_64_local_hash): Removed.
2131 1.1 christos (elf64_x86_64_local_htab_hash): Use ELF_LOCAL_SYMBOL_HASH.
2132 1.1 christos (elf64_x86_64_get_local_sym_hash): Likewise.
2133 1.1 christos * elfxx-ia64.c (elfNN_ia64_local_htab_hash): Likewise.
2134 1.1 christos (get_local_sym_hash): Likewise.
2135 1.1 christos
2136 1.1 christos 2009-06-16 H.J. Lu <hongjiu.lu (a] intel.com>
2137 1.1 christos
2138 1.1 christos * elfxx-ia64.c (elfNN_ia64_link_hash_table): Remove got_sec,
2139 1.1 christos rel_got_sec and plt_sec.
2140 1.1 christos (elfNN_ia64_relax_section): Updated.
2141 1.1 christos (elfNN_ia64_create_dynamic_sections): Likewise.
2142 1.1 christos (get_got): Likewise.
2143 1.1 christos (allocate_dynrel_entries): Likewise.
2144 1.1 christos (elfNN_ia64_size_dynamic_sections): Likewise.
2145 1.1 christos (set_got_entry): Likewise.
2146 1.1 christos (elfNN_ia64_choose_gp): Likewise.
2147 1.1 christos (elfNN_ia64_relocate_section): Likewise.
2148 1.1 christos (elfNN_ia64_finish_dynamic_symbol): Likewise.
2149 1.1 christos (elfNN_ia64_finish_dynamic_sections): Likewise.
2150 1.1 christos
2151 1.1 christos 2009-06-16 Ulrich Weigand <uweigand (a] de.ibm.com>
2152 1.1 christos
2153 1.1 christos * elf32-spu.c (needs_ovl_stub): Respect .brinfo lrlive bits
2154 1.1 christos also for calls.
2155 1.1 christos
2156 1.1 christos 2009-06-16 H.J. Lu <hongjiu.lu (a] intel.com>
2157 1.1 christos
2158 1.1 christos * configure.in (elf): Add elf-ifunc.lo.
2159 1.1 christos
2160 1.1 christos * configure: Regenerated.
2161 1.1 christos * Makefile.in: Likewise.
2162 1.1 christos
2163 1.1 christos * elf-bfd.h (elf_link_hash_table): Add sgot, sgotplt,
2164 1.1 christos srelgot, splt, srelplt, igotplt, iplt, irelplt and irelifunc.
2165 1.1 christos
2166 1.1 christos * elf32-i386.c (elf_i386_link_hash_table): Remove sgot,
2167 1.1 christos sgotplt, srelgot, splt, srelplt, igotplt, iplt, irelplt and
2168 1.1 christos irelifunc.
2169 1.1 christos (elf_i386_link_hash_table_create): Likewise.
2170 1.1 christos (elf_i386_create_dynamic_sections): Likewise.
2171 1.1 christos (elf_i386_check_relocs): Likewise.
2172 1.1 christos (elf_i386_allocate_dynrelocs): Likewise.
2173 1.1 christos (elf_i386_size_dynamic_sections): Likewise.
2174 1.1 christos (elf_i386_relocate_section): Likewise.
2175 1.1 christos (elf_i386_finish_dynamic_symbol): Likewise.
2176 1.1 christos (elf_i386_finish_dynamic_sections): Likewise.
2177 1.1 christos (elf_i386_create_got_section): Removed.
2178 1.1 christos
2179 1.1 christos * elf64-x86-64.c (elf64_x86_64_link_hash_table): Remove sgot,
2180 1.1 christos sgotplt, srelgot, splt, srelplt, igotplt, iplt, irelplt and
2181 1.1 christos irelifunc.
2182 1.1 christos (elf64_x86_64_compute_jump_table_size): Updated.
2183 1.1 christos (elf64_x86_64_link_hash_table_create): Likewise.
2184 1.1 christos (elf64_x86_64_create_dynamic_sections): Likewise.
2185 1.1 christos (elf64_x86_64_check_relocs): Likewise.
2186 1.1 christos (elf64_x86_64_allocate_dynrelocs): Likewise.
2187 1.1 christos (elf64_x86_64_size_dynamic_sections): Likewise.
2188 1.1 christos (elf64_x86_64_relocate_section): Likewise.
2189 1.1 christos (elf64_x86_64_finish_dynamic_symbol): Likewise.
2190 1.1 christos (elf64_x86_64_finish_dynamic_sections): Likewise.
2191 1.1 christos (elf64_x86_64_create_got_section): Removed.
2192 1.1 christos
2193 1.1 christos * elflink.c (_bfd_elf_create_got_section): Use log_file_align
2194 1.1 christos for pointer alignment. Set up section pointers.
2195 1.1 christos (_bfd_elf_create_dynamic_sections): Likewise.
2196 1.1 christos (_bfd_elf_create_ifunc_sections): Moved to ...
2197 1.1 christos * elf-ifunc.c: Here. New.
2198 1.1 christos
2199 1.1 christos * Makefile.am (BFD32_BACKENDS): Add elf-ifunc.lo.
2200 1.1 christos (BFD32_BACKENDS_CFILES): Add elf-ifunc.c.
2201 1.1 christos Run "make dep-am".
2202 1.1 christos
2203 1.1 christos 2009-06-16 Doug Kwan <dougkwan (a] google.com>
2204 1.1 christos
2205 1.1 christos * elf32-arm.c (cortex_a8_erratum_scan): Change type of offset
2206 1.1 christos to bfd_signed_vma. Cast constant operands which are used in
2207 1.1 christos offset related expressions to bfd_signed_vma type as appropriate.
2208 1.1 christos
2209 1.1 christos 2009-06-16 Maciej W. Rozycki <macro (a] linux-mips.org>
2210 1.1 christos
2211 1.1 christos * elf32-vax.c (elf_vax_plt_sym_val): New function.
2212 1.1 christos (elf_backend_plt_sym_val): Define.
2213 1.1 christos
2214 1.1 christos 2009-06-16 Maciej W. Rozycki <macro (a] linux-mips.org>
2215 1.1 christos
2216 1.1 christos * elf32-vax.c (elf_vax_reloc_type_class): New function.
2217 1.1 christos (elf_backend_reloc_type_class): Define.
2218 1.1 christos
2219 1.1 christos 2009-06-16 Maciej W. Rozycki <macro (a] linux-mips.org>
2220 1.1 christos
2221 1.1 christos * elf32-vax.c (elf_vax_relocate_section): For symbol references
2222 1.1 christos from an executable to a shared library treat R_VAX_PC32
2223 1.1 christos relocations as R_VAX_PLT32 ones.
2224 1.1 christos
2225 1.1 christos 2009-06-16 Maciej W. Rozycki <macro (a] linux-mips.org>
2226 1.1 christos
2227 1.1 christos * elf32-vax.c (elf_vax_instantiate_got_entries): Skip local
2228 1.1 christos symbols in GOT space calculation.
2229 1.1 christos (elf_vax_relocate_section): Adjust accordingly.
2230 1.1 christos
2231 1.1 christos 2009-06-16 Maciej W. Rozycki <macro (a] linux-mips.org>
2232 1.1 christos
2233 1.1 christos * elf32-vax.c (elf_vax_plt_entry): Set the entry mask to
2234 1.1 christos include <R11:R2>.
2235 1.1 christos
2236 1.1 christos 2009-06-16 Maciej W. Rozycki <macro (a] linux-mips.org>
2237 1.1 christos
2238 1.1 christos * elf32-vax.c (elf_vax_check_relocs): Handle the visibility
2239 1.1 christos attribute.
2240 1.1 christos (elf_vax_relocate_section): Likewise.
2241 1.1 christos
2242 1.1 christos 2009-06-15 H.J. Lu <hongjiu.lu (a] intel.com>
2243 1.1 christos
2244 1.1 christos * elf32-i386.c (elf_i386_allocate_dynrelocs): Update comments.
2245 1.1 christos * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.
2246 1.1 christos
2247 1.1 christos 2009-06-15 H.J. Lu <hongjiu.lu (a] intel.com>
2248 1.1 christos
2249 1.1 christos * elf32-i386.c (elf_i386_check_relocs): Reformat.
2250 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
2251 1.1 christos
2252 1.1 christos 2009-06-15 H.J. Lu <hongjiu.lu (a] intel.com>
2253 1.1 christos
2254 1.1 christos * Makefile.am: Run "make dep-am".
2255 1.1 christos * Makefile.in: Regenerated.
2256 1.1 christos
2257 1.1 christos 2009-06-15 H.J. Lu <hongjiu.lu (a] intel.com>
2258 1.1 christos
2259 1.1 christos * elf32-i386.c (elf_i386_allocate_dynrelocs): Fix a typo.
2260 1.1 christos * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.
2261 1.1 christos
2262 1.1 christos 2009-06-15 Nick Clifton <nickc (a] redhat.com>
2263 1.1 christos
2264 1.1 christos * po/ru.po: New Russian translation.
2265 1.1 christos * configure.in (ALL_LINGUAS): Add ru.
2266 1.1 christos * configure: Regenerate.
2267 1.1 christos
2268 1.1 christos 2009-06-14 H.J. Lu <hongjiu.lu (a] intel.com>
2269 1.1 christos
2270 1.1 christos * elf32-i386.c: Remove duplicated comments.
2271 1.1 christos
2272 1.1 christos 2009-06-14 H.J. Lu <hongjiu.lu (a] intel.com>
2273 1.1 christos
2274 1.1 christos PR ld/10270
2275 1.1 christos * elf32-i386.c (elf_i386_allocate_dynrelocs): Disallow
2276 1.1 christos dynamic IFUNC pointer in non-shared object. Use .got.plt
2277 1.1 christos for IFUNC definition in PIE.
2278 1.1 christos (elf_i386_allocate_dynrelocs): Resolve IFUNC definition in
2279 1.1 christos PIE locally.
2280 1.1 christos
2281 1.1 christos * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Disallow
2282 1.1 christos dynamic IFUNC pointer in non-shared object. Use .got.plt
2283 1.1 christos for IFUNC definition in PIE.
2284 1.1 christos (elf64_x86_64_relocate_section): Resolve IFUNC definition in
2285 1.1 christos PIE locally.
2286 1.1 christos
2287 1.1 christos 2009-06-13 H.J. Lu <hongjiu.lu (a] intel.com>
2288 1.1 christos
2289 1.1 christos * elf32-i386.c (elf_i386_check_relocs): Properly report
2290 1.1 christos local symbol for unhandled relocation against STT_GNU_IFUNC
2291 1.1 christos symbol.
2292 1.1 christos (elf_i386_relocate_section): Likewise.
2293 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
2294 1.1 christos (elf64_x86_64_relocate_section): Likewise.
2295 1.1 christos
2296 1.1 christos 2009-06-13 H.J. Lu <hongjiu.lu (a] intel.com>
2297 1.1 christos
2298 1.1 christos PR ld/10269
2299 1.1 christos * elf32-i386.c: Include "objalloc.h" and "hashtab.h".
2300 1.1 christos (elf_i386_link_hash_table): Add loc_hash_table and
2301 1.1 christos loc_hash_memory.
2302 1.1 christos (elf_i386_local_hash): New.
2303 1.1 christos (elf_i386_local_htab_hash): Likewise.
2304 1.1 christos (elf_i386_local_htab_eq): Likewise.
2305 1.1 christos (elf_i386_get_local_sym_hash): Likewise.
2306 1.1 christos (elf_i386_link_hash_table_free): Likewise.
2307 1.1 christos (elf_i386_allocate_local_dynrelocs): Likewise.
2308 1.1 christos (elf_i386_finish_local_dynamic_symbol): Likewise.
2309 1.1 christos (bfd_elf64_bfd_link_hash_table_free): Likewise.
2310 1.1 christos (elf_i386_link_hash_table_create): Create loc_hash_table and
2311 1.1 christos loc_hash_memory.
2312 1.1 christos (elf_i386_check_relocs): Handle local STT_GNU_IFUNC symbols.
2313 1.1 christos (elf_i386_size_dynamic_sections): Likewise.
2314 1.1 christos (elf_i386_relocate_section): Likewise.
2315 1.1 christos (elf_i386_finish_dynamic_sections): Likewise.
2316 1.1 christos (elf_i386_finish_dynamic_symbol): Check _DYNAMIC only if sym
2317 1.1 christos isn't NULL.
2318 1.1 christos
2319 1.1 christos * elf64-x86-64.c: Include "objalloc.h" and "hashtab.h".
2320 1.1 christos (elf64_x86_64_link_hash_table): Add loc_hash_table and
2321 1.1 christos loc_hash_memory.
2322 1.1 christos (elf64_x86_64_local_hash): New.
2323 1.1 christos (elf64_x86_64_local_htab_hash): Likewise.
2324 1.1 christos (elf64_x86_64_local_htab_eq): Likewise.
2325 1.1 christos (elf64_x86_64_get_local_sym_hash): Likewise.
2326 1.1 christos (elf64_x86_64_link_hash_table_free): Likewise.
2327 1.1 christos (elf64_x86_64_allocate_local_dynrelocs): Likewise.
2328 1.1 christos (elf64_x86_64_finish_local_dynamic_symbol): Likewise.
2329 1.1 christos (bfd_elf64_bfd_link_hash_table_free): Likewise.
2330 1.1 christos (elf64_x86_64_link_hash_table_create): Create loc_hash_table
2331 1.1 christos and loc_hash_memory.
2332 1.1 christos (elf64_x86_64_check_relocs): Handle local STT_GNU_IFUNC
2333 1.1 christos symbols.
2334 1.1 christos (elf64_x86_64_size_dynamic_sections): Likewise.
2335 1.1 christos (elf64_x86_64_relocate_section): Likewise.
2336 1.1 christos (elf64_x86_64_finish_dynamic_sections): Likewise.
2337 1.1 christos (elf64_x86_64_finish_dynamic_symbol): Check _DYNAMIC only if
2338 1.1 christos sym isn't NULL.
2339 1.1 christos
2340 1.1 christos 2009-06-10 Philip Blundell <philb (a] gnu.org>
2341 1.1 christos
2342 1.1 christos * elf32-arm.c (elf32_arm_fix_exidx_coverage): Avoid crash if
2343 1.1 christos elf_sec->this_hdr == NULL.
2344 1.1 christos
2345 1.1 christos 2009-06-12 Tristan Gingold <gingold (a] adacore.com>
2346 1.1 christos
2347 1.1 christos * reloc.c: Add BFD_RELOC_MACH_O_SECTDIFF and BFD_RELOC_MACH_O_PAIR.
2348 1.1 christos * bfd-in2.h: Regenerated.
2349 1.1 christos * libbfd.h: Regenerated.
2350 1.1 christos
2351 1.1 christos * mach-o.c (FILE_ALIGN): New macro.
2352 1.1 christos (bfd_mach_o_canonicalize_symtab): Adjust for bfd_mach_o_asymbol.
2353 1.1 christos (bfd_mach_o_print_symbol): Ditto.
2354 1.1 christos (bfd_mach_o_scan_write_thread): Adjust type of variable offset.
2355 1.1 christos (bfd_mach_o_get_reloc_upper_bound): New function.
2356 1.1 christos (bfd_mach_o_canonicalize_reloc): Ditto.
2357 1.1 christos (bfd_mach_o_scan_write_relocs): Ditto.
2358 1.1 christos (bfd_mach_o_scan_write_section_32): Remove offset argument.
2359 1.1 christos (bfd_mach_o_scan_write_section_64): Ditto.
2360 1.1 christos (bfd_mach_o_scan_write_segment_32): Write relocs. Fix size of data
2361 1.1 christos written for load command. Do not compute section file offset.
2362 1.1 christos (bfd_mach_o_scan_write_segment_64): Ditto.
2363 1.1 christos (bfd_mach_o_scan_write_symtab): Compute file offset first.
2364 1.1 christos Adjust for bfd_mach_o_asymbol. Move code to convert from BFD to
2365 1.1 christos Mach-O to ...
2366 1.1 christos (bfd_mach_o_mangle_symbols): ... this new function.
2367 1.1 christos (bfd_mach_o_write_contents): Be sure to have load commands built.
2368 1.1 christos Call bfd_mach_o_mangle_symbols.
2369 1.1 christos (bfd_mach_o_build_commands): Adjust for filelen field.
2370 1.1 christos Use FILE_ALIGN macro. Clear section file offset if section is empty.
2371 1.1 christos Do not set symtab file offset anymore here.
2372 1.1 christos (bfd_mach_o_make_empty_symbol): Allocate a bfd_mach_o_asymbol.
2373 1.1 christos (bfd_mach_o_make_bfd_section): Set SEC_RELOC if has reloc.
2374 1.1 christos Set reloc_count and rel_filepos section fields.
2375 1.1 christos (bfd_mach_o_scan_read_section_32): Type of argument offset is now
2376 1.1 christos unsigned int.
2377 1.1 christos (bfd_mach_o_scan_read_section_64): Ditto.
2378 1.1 christos (bfd_mach_o_scan_read_section): Ditto.
2379 1.1 christos (bfd_mach_o_scan_read_symtab_symbol): Typr of argument s is now
2380 1.1 christos bfd_mach_o_asymbol. Use unsigned int for file offset type.
2381 1.1 christos (bfd_mach_o_scan_read_symtab_symbol): Adjust for bfd_mach_o_asymbol.
2382 1.1 christos Handle weak-ref symbols.
2383 1.1 christos (bfd_mach_o_scan_read_symtab_symbols): Adjust for bfd_mach_o_asymbol.
2384 1.1 christos (bfd_mach_o_scan_read_dysymtab_symbol): Ditto.
2385 1.1 christos (bfd_mach_o_scan): Remove assignment to removed field.
2386 1.1 christos (bfd_mach_o_mkobject_init): Ditto.
2387 1.1 christos (bfd_mach_o_bfd_print_private_bfd_data): Adjust printf formatter.
2388 1.1 christos (bfd_mach_o_bfd_reloc_type_lookup): New macro.
2389 1.1 christos (bfd_mach_o_bfd_reloc_name_lookup): Ditto.
2390 1.1 christos (bfd_mach_o_swap_reloc_in): Ditto.
2391 1.1 christos (bfd_mach_o_swap_reloc_out): Ditto.
2392 1.1 christos
2393 1.1 christos * mach-o.h (BFD_MACH_O_REFERENCE_FLAG_UNDEFINED_NON_LAZY)
2394 1.1 christos (BFD_MACH_O_REFERENCE_FLAG_UNDEFINED_LAZY)
2395 1.1 christos (BFD_MACH_O_REFERENCE_FLAG_DEFINED)
2396 1.1 christos (BFD_MACH_O_REFERENCE_FLAG_PRIVATE_DEFINED)
2397 1.1 christos (BFD_MACH_O_REFERENCE_FLAG_PRIVATE_UNDEFINED_NON_LAZY)
2398 1.1 christos (BFD_MACH_O_REFERENCE_FLAG_PRIVATE_UNDEFINED_LAZY)
2399 1.1 christos (BFD_MACH_O_REFERENCED_DYNAMICALLY, BFD_MACH_O_N_DESC_DISCARDED)
2400 1.1 christos (BFD_MACH_O_N_NO_DEAD_STRIP, BFD_MACH_O_N_WEAK_REF)
2401 1.1 christos (BFD_MACH_O_N_WEAK_DEF): New macros.
2402 1.1 christos Add comments.
2403 1.1 christos (bfd_mach_o_section_type): Add new enumeration values.
2404 1.1 christos (BFD_MACH_O_S_SELF_MODIFYING_CODE)
2405 1.1 christos (BFD_MACH_O_S_ATTR_LIVE_SUPPORT)
2406 1.1 christos (BFD_MACH_O_S_ATTR_NO_DEAD_STRIP)
2407 1.1 christos (BFD_MACH_O_S_ATTR_STRIP_STATIC_SYMS, BFD_MACH_O_S_ATTR_NO_TOC): New
2408 1.1 christos macros.
2409 1.1 christos (BFD_MACH_O_GENERIC_RELOC_VANILLA)
2410 1.1 christos (BFD_MACH_O_GENERIC_RELOC_PAIR)
2411 1.1 christos (BFD_MACH_O_GENERIC_RELOC_SECTDIFF)
2412 1.1 christos (BFD_MACH_O_GENERIC_RELOC_PB_LA_PTR)
2413 1.1 christos (BFD_MACH_O_GENERIC_RELOC_LOCAL_SECTDIFF): Ditto.
2414 1.1 christos (BFD_MACH_O_RELENT_SIZE): Ditto.
2415 1.1 christos (BFD_MACH_O_R_PCREL, BFD_MACH_O_GET_R_LENGTH)
2416 1.1 christos (BFD_MACH_O_R_EXTERN, BFD_MACH_O_GET_R_TYPE)
2417 1.1 christos (BFD_MACH_O_GET_R_SYMBOLNUM, BFD_MACH_O_SET_R_LENGTH)
2418 1.1 christos (BFD_MACH_O_SET_R_TYPE, BFD_MACH_O_SET_R_SYMBOLNUM): Ditto.
2419 1.1 christos (BFD_MACH_O_SR_SCATTERED, BFD_MACH_O_SR_PCREL)
2420 1.1 christos (BFD_MACH_O_GET_SR_LENGTH, BFD_MACH_O_GET_SR_TYPE)
2421 1.1 christos (BFD_MACH_O_GET_SR_ADDRESS, BFD_MACH_O_SET_SR_LENGTH)
2422 1.1 christos (BFD_MACH_O_SET_SR_TYPE, BFD_MACH_O_SET_SR_ADDRESS): Ditto.
2423 1.1 christos (bfd_mach_o_reloc_info): New struct.
2424 1.1 christos (bfd_mach_o_asymbol): New struct.
2425 1.1 christos (bfd_mach_o_symtab_command): The symbols field is now of type
2426 1.1 christos bfd_mach_o_asymbol.
2427 1.1 christos (bfd_mach_o_load_command): The offset and len fields are now of type
2428 1.1 christos unsigned int.
2429 1.1 christos (mach_o_data_struct): Remove symbols, nsymbols and ibfd fields.
2430 1.1 christos Add a filelen field. Add comments.
2431 1.1 christos (bfd_mach_o_backend_data): New struct.
2432 1.1 christos (bfd_mach_o_get_backend_data): New macro.
2433 1.1 christos (bfd_mach_o_scan_read_symtab_symbol): Parameter symbol now of type
2434 1.1 christos bfd_mach_o_asymbol.
2435 1.1 christos (bfd_mach_o_scan_read_dysymtab_symbol): Ditto.
2436 1.1 christos (bfd_mach_o_get_reloc_upper_bound): New prototype.
2437 1.1 christos (bfd_mach_o_canonicalize_reloc): Ditto.
2438 1.1 christos
2439 1.1 christos * mach-o-target.c (bfd_mach_o_bfd_is_local_label_name): Remove
2440 1.1 christos duplicated macro. Now defined to _bfd_generic_is_local_label.
2441 1.1 christos (TARGET_NAME_BACKEND): New macro...
2442 1.1 christos (TARGET_NAME_BACKEND): ... used to name a new variable.
2443 1.1 christos (TARGET_NAME): Define relocs table using bfd_mach_o, reference
2444 1.1 christos Mach-O backend data.
2445 1.1 christos
2446 1.1 christos * mach-o-i386.c (i386_howto_table): New variable.
2447 1.1 christos (bfd_mach_o_i386_swap_reloc_in): New function.
2448 1.1 christos (bfd_mach_o_i386_swap_reloc_out): Ditto.
2449 1.1 christos (bfd_mach_o_i386_bfd_reloc_type_lookup): Ditto.
2450 1.1 christos (bfd_mach_o_i386_bfd_reloc_name_lookup): Ditto.
2451 1.1 christos (bfd_mach_o_swap_reloc_in, bfd_mach_o_swap_reloc_out): New macros.
2452 1.1 christos (bfd_mach_o_bfd_reloc_type_lookup)
2453 1.1 christos (bfd_mach_o_bfd_reloc_name_lookup): Ditto.
2454 1.1 christos
2455 1.1 christos 2009-06-11 Eric Paris <eparis (a] redhat.com>
2456 1.1 christos Nick Clifton <nickc (a] redhat.com>
2457 1.1 christos
2458 1.1 christos * opncls.c (_maybe_make_executable): New function. Gives execute
2459 1.1 christos permission to an executable bfd that was opened for writing
2460 1.1 christos provided that it is a regular file. Replaces common code found in...
2461 1.1 christos (bfd_close): here and ...
2462 1.1 christos (bfd_close_all_done): here.
2463 1.1 christos
2464 1.1 christos 2009-06-11 Anthony Green <green (a] moxielogic.com>
2465 1.1 christos
2466 1.1 christos * reloc.c: Add BFD_RELOC_MOXIE_10_PCREL.
2467 1.1 christos * bfd-in2.h: Rebuilt.
2468 1.1 christos * libbfd.h: Rebuilt.
2469 1.1 christos * elf32-moxie.c (moxie_elf_howto_table): Add R_MOXIE_PCREL10
2470 1.1 christos relocation support.
2471 1.1 christos (moxie_reloc_map): Ditto.
2472 1.1 christos Clean up copyright notice.
2473 1.1 christos
2474 1.1 christos 2009-06-10 Paul Pluzhnikov <ppluzhnikov (a] google.com>
2475 1.1 christos
2476 1.1 christos * bfd-in2.h: bfd_mmap prototype.
2477 1.1 christos * bfdio.c (bfd_mmap): New function.
2478 1.1 christos * libbfd.h (bfd_iovec): Add bmmap.
2479 1.1 christos * cache.c (cache_bmmap): New function.
2480 1.1 christos (cache_iovec): Initialize bmmap member.
2481 1.1 christos * opencls.c (opncls_bmmap): New function.
2482 1.1 christos (opncls_iovec): Initialize bmmap member.
2483 1.1 christos
2484 1.1 christos 2009-06-09 Tristan Gingold <gingold (a] adacore.com>
2485 1.1 christos
2486 1.1 christos * mach-o.h (bfd_mach_o_symtab_command): Remove stabs_segment
2487 1.1 christos and stabstr_segment fields.
2488 1.1 christos (mach_o_be_vec, mach_o_le_vec): Removed
2489 1.1 christos (bfd_mach_o_version): New prototype.
2490 1.1 christos
2491 1.1 christos * mach-o.c (bfd_mach_o_version): Make this function public.
2492 1.1 christos (mach_o_wide_p): New function.
2493 1.1 christos (bfd_mach_o_wide_p): Ditto.
2494 1.1 christos (bfd_mach_o_convert_section_name_to_bfd): Add prefix only for
2495 1.1 christos weird names.
2496 1.1 christos (bfd_mach_o_convert_section_name_to_mach_o): Fix typo in comment.
2497 1.1 christos Search in the list only if the name starts with a dot.
2498 1.1 christos (bfd_mach_o_write_header): Use mach_o_wide_p instead of hard-coded
2499 1.1 christos test. Check bfd_seek status.
2500 1.1 christos (bfd_mach_o_scan_write_thread): Check bfd_seek status.
2501 1.1 christos (bfd_mach_o_scan_write_section_32): Ditto.
2502 1.1 christos (bfd_mach_o_scan_write_section_64): Ditto.
2503 1.1 christos (bfd_mach_o_scan_write_section): Removed.
2504 1.1 christos (bfd_mach_o_scan_write_segment): Split into ...
2505 1.1 christos (bfd_mach_o_scan_write_segment_32): ... this and ...
2506 1.1 christos (bfd_mach_o_scan_write_segment_64): ... this. Check bfd_seek status.
2507 1.1 christos (bfd_mach_o_scan_write_symtab_symbols): Moved into ...
2508 1.1 christos (bfd_mach_o_scan_write_symtab): ... this. Write symtab from BFD
2509 1.1 christos symbol table. Now returns a boolean.
2510 1.1 christos (bfd_mach_o_write_contents): Set filetype. Check bfd_seek status.
2511 1.1 christos Adjust for status type.
2512 1.1 christos (bfd_mach_o_build_commands): Use mach_o_wide_p instead of hard-coded
2513 1.1 christos test. Write symbol table. Numbers the sections.
2514 1.1 christos (bfd_mach_o_read_header): Check bfd_seek status.
2515 1.1 christos Use mach_o_wide_p instead of hard-coded test.
2516 1.1 christos (bfd_mach_o_scan_read_section_32): Check bfd_seek status.
2517 1.1 christos (bfd_mach_o_scan_read_section_64): Ditto.
2518 1.1 christos (bfd_mach_o_scan_read_symtab_symbol): Ditto. Check bfd_seek status.
2519 1.1 christos Use BFD_MACH_O_N_TYPE instead of hard-coded value. Correctly
2520 1.1 christos handled common symbols.
2521 1.1 christos (bfd_mach_o_scan_read_symtab_strtab): Check bfd_seek status.
2522 1.1 christos (bfd_mach_o_scan_read_dysymtab_symbol): Ditto.
2523 1.1 christos (bfd_mach_o_scan_read_dylinker): Ditto.
2524 1.1 christos (bfd_mach_o_scan_read_dylib): Ditto.
2525 1.1 christos (bfd_mach_o_scan_read_thread): Ditto.
2526 1.1 christos (bfd_mach_o_scan_read_symtab): Ditto.
2527 1.1 christos Do not create a section for the stabs.
2528 1.1 christos (bfd_mach_o_scan_read_uuid): Check bfd_seek status.
2529 1.1 christos (bfd_mach_o_scan_read_segment): Ditto.
2530 1.1 christos (bfd_mach_o_scan_read_command): Ditto.
2531 1.1 christos (bfd_mach_o_scan_start_address): Ditto.
2532 1.1 christos (bfd_mach_o_scan): Use mach_o_wide_p instead of hard-coded test.
2533 1.1 christos (bfd_mach_o_archive_p): Check bfd_seek status.
2534 1.1 christos (bfd_mach_o_core_fetch_environment): Ditto.
2535 1.1 christos
2536 1.1 christos * mach-o-i386.c (bfd_mach_o_i386_mkobject): Don't set filetype.
2537 1.1 christos
2538 1.1 christos 2009-06-06 H.J. Lu <hongjiu.lu (a] intel.com>
2539 1.1 christos
2540 1.1 christos * elf32-i386.c (elf_i386_link_hash_table): Add irelifunc.
2541 1.1 christos (elf_i386_link_hash_table_create): Initialize irelifunc.
2542 1.1 christos (elf_i386_check_relocs): Updated. Set up irelifunc for
2543 1.1 christos shared objects.
2544 1.1 christos (elf_i386_allocate_dynrelocs): Use irelifunc for dynamic
2545 1.1 christos relocation for non-GOT reference of STT_GNU_IFUNC symbol in
2546 1.1 christos shared objects.
2547 1.1 christos (elf_i386_relocate_section): Likewise.
2548 1.1 christos
2549 1.1 christos * elf64-x86-64.c (elf64_x86_64_link_hash_table): Add irelifunc.
2550 1.1 christos (elf64_x86_64_link_hash_table_create): Initialize irelifunc.
2551 1.1 christos (elf64_x86_64_check_relocs): Updated. Set up irelifunc for
2552 1.1 christos shared objects.
2553 1.1 christos (elf64_x86_64_allocate_dynrelocs): Use irelifunc for dynamic
2554 1.1 christos relocation for non-GOT reference of STT_GNU_IFUNC symbol in
2555 1.1 christos shared objects.
2556 1.1 christos (elf64_x86_64_relocate_section): Likewise.
2557 1.1 christos
2558 1.1 christos * elf-bfd.h (_bfd_elf_create_static_ifunc_sections): Renamed to
2559 1.1 christos ...
2560 1.1 christos (_bfd_elf_create_ifunc_sections): This.
2561 1.1 christos
2562 1.1 christos * elflink.c (_bfd_elf_create_static_ifunc_sections): Renamed to
2563 1.1 christos ...
2564 1.1 christos (_bfd_elf_create_ifunc_sections): This. Create .rel[a].ifunc
2565 1.1 christos for shared objects.
2566 1.1 christos
2567 1.1 christos 2009-06-06 H.J. Lu <hongjiu.lu (a] intel.com>
2568 1.1 christos
2569 1.1 christos * elf32-i386.c (elf_i386_check_relocs): Make room for dynamic
2570 1.1 christos relocation for R_386_32 against STT_GNU_IFUNC symbol when
2571 1.1 christos building shared object. Check info->executable instead of
2572 1.1 christos !info->shared when setting non_got_ref.
2573 1.1 christos (elf_i386_allocate_dynrelocs): Allocate dynamic relocation
2574 1.1 christos for non-GOT reference of STT_GNU_IFUNC symbol in shared
2575 1.1 christos object. Allocate GOT relocation agsinst STT_GNU_IFUNC
2576 1.1 christos symbol if needed.
2577 1.1 christos (elf_i386_relocate_section): Output dynamic relocation for
2578 1.1 christos R_386_32 against STT_GNU_IFUNC symbol to get the real
2579 1.1 christos function address when building shared object.
2580 1.1 christos (elf_i386_finish_dynamic_symbol): Output R_386_GLOB_DAT
2581 1.1 christos relocation for STT_GNU_IFUNC symbol in shared object.
2582 1.1 christos
2583 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_relocs): Make room for
2584 1.1 christos dynamic relocation for R_X86_64_64 against STT_GNU_IFUNC
2585 1.1 christos symbol when building shared object. Check info->executable
2586 1.1 christos instead of !info->shared when setting non_got_ref.
2587 1.1 christos (elf64_x86_64_allocate_dynrelocs): Allocate dynamic relocation
2588 1.1 christos for non-GOT reference of STT_GNU_IFUNC symbol in shared
2589 1.1 christos library. Allocate GOT relocation agsinst STT_GNU_IFUNC symbol
2590 1.1 christos if needed.
2591 1.1 christos (elf64_x86_64_relocate_section): Output dynamic relocation
2592 1.1 christos for R_X86_64_64 against STT_GNU_IFUNC symbol to get the real
2593 1.1 christos function address when building shared object.
2594 1.1 christos (elf64_x86_64_finish_dynamic_symbol): Output R_X86_64_GLOB_DAT
2595 1.1 christos relocation for STT_GNU_IFUNC symbol in shared object.
2596 1.1 christos
2597 1.1 christos 2009-06-06 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2598 1.1 christos
2599 1.1 christos * Makefile.am: Run "make dep-am".
2600 1.1 christos (BFD32_BACKENDS): Add mach-o-i386.lo.
2601 1.1 christos (BFD32_BACKENDS_CFILES): Add mach-o-i386.c.
2602 1.1 christos * Makefile.in: Regenerate.
2603 1.1 christos
2604 1.1 christos 2009-06-06 Alan Modra <amodra (a] bigpond.net.au>
2605 1.1 christos
2606 1.1 christos * elf32-spu.c (spu_elf_relocate_section): Match overlay number
2607 1.1 christos when looking for soft-icache stubs.
2608 1.1 christos
2609 1.1 christos 2009-06-05 Tristan Gingold <gingold (a] adacore.com>
2610 1.1 christos
2611 1.1 christos * mach-o.h: Update copyright year.
2612 1.1 christos (bfd_mach_o_mach_header_magic): New enum.
2613 1.1 christos (bfd_mach_o_cpu_subtype): Now an enum.
2614 1.1 christos (BFD_MACH_O_HEADER_SIZE, BFD_MACH_O_HEADER_64_SIZE): New macros.
2615 1.1 christos (BFD_MACH_O_SECTION_SIZE, BFD_MACH_O_SECTION_64_SIZE): Ditto.
2616 1.1 christos (BFD_MACH_O_LC_SEGMENT_SIZE, BFD_MACH_O_LC_SEGMENT_64_SIZE): Ditto.
2617 1.1 christos (bfd_mach_o_load_command): Field type_required is now a boolean.
2618 1.1 christos Reindent prototypes.
2619 1.1 christos (bfd_mach_o_object_p, bfd_mach_o_core_p): Remove.
2620 1.1 christos (bfd_mach_o_bfd_copy_private_symbol_data): Add a prototype.
2621 1.1 christos (bfd_mach_o_bfd_copy_private_section_data): Ditto.
2622 1.1 christos (bfd_mach_o_bfd_copy_private_bfd_data): Ditto.
2623 1.1 christos (bfd_mach_o_get_symtab_upper_bound): Ditto.
2624 1.1 christos (bfd_mach_o_canonicalize_symtab): Ditto.
2625 1.1 christos (bfd_mach_o_get_symbol_info): Ditto.
2626 1.1 christos (bfd_mach_o_print_symbol): Ditto.
2627 1.1 christos (bfd_mach_o_bfd_print_private_bfd_data): Ditto.
2628 1.1 christos (bfd_mach_o_make_empty_symbol): Ditto.
2629 1.1 christos (bfd_mach_o_write_contents): Ditto.
2630 1.1 christos
2631 1.1 christos * mach-o.c (bfd_mach_o_object_p, bfd_mach_o_core_p,
2632 1.1 christos bfd_mach_o_mkobject): Defines.
2633 1.1 christos (bfd_mach_o_valid): Returns FALSE/TRUE instead of 0/1.
2634 1.1 christos Do not check with target vector but with flavour.
2635 1.1 christos (struct mach_o_section_name_xlat): New declaration.
2636 1.1 christos (dwarf_section_names_xlat): Ditto.
2637 1.1 christos (text_section_names_xlat): Ditto.
2638 1.1 christos (data_section_names_xlat): Ditto.
2639 1.1 christos (struct mach_o_segment_name_xlat): Ditto.
2640 1.1 christos (segsec_names_xlat): Ditto.
2641 1.1 christos (bfd_mach_o_convert_section_name_to_bfd): New function.
2642 1.1 christos (bfd_mach_o_convert_section_name_to_mach_o): Ditto.
2643 1.1 christos (bfd_mach_o_bfd_copy_private_symbol_data): Make it public.
2644 1.1 christos (bfd_mach_o_bfd_copy_private_section_data): Ditto.
2645 1.1 christos (bfd_mach_o_bfd_copy_private_bfd_data): Ditto.
2646 1.1 christos Accept any input and output flavour. Do not share private data
2647 1.1 christos anymore.
2648 1.1 christos (bfd_mach_o_count_symbols): Add a comment.
2649 1.1 christos (bfd_mach_o_get_symtab_upper_bound): Make it public.
2650 1.1 christos (bfd_mach_o_canonicalize_symtab): Ditto.
2651 1.1 christos (bfd_mach_o_get_symbol_info): Ditto.
2652 1.1 christos (bfd_mach_o_print_symbol): Ditto.
2653 1.1 christos (bfd_mach_o_write_header): Now returns a boolean instead of an int.
2654 1.1 christos Use constants instead of hard-coded values.
2655 1.1 christos (bfd_mach_o_scan_write_section_32): Use constants instead of hard-coded
2656 1.1 christos values.
2657 1.1 christos (bfd_mach_o_scan_write_section_64): Ditto.
2658 1.1 christos (bfd_mach_o_scan_write_segment): Ditto.
2659 1.1 christos Do not copy sections anymore.
2660 1.1 christos (bfd_mach_o_write_contents): Make it public.
2661 1.1 christos Remove dead code. Rewrite typeflag assignment.
2662 1.1 christos (bfd_mach_o_build_commands): New function.
2663 1.1 christos (bfd_mach_o_set_section_contents): Ditto.
2664 1.1 christos (bfd_mach_o_make_empty_symbol): Make it public.
2665 1.1 christos (bfd_mach_o_read_header): Make it static.
2666 1.1 christos Convert to bfd_boolean.
2667 1.1 christos Use constants instead of hard-coded values.
2668 1.1 christos (bfd_mach_o_make_bfd_section): Call
2669 1.1 christos bfd_mach_o_convert_section_name_to_bfd to create name.
2670 1.1 christos (bfd_mach_o_scan_read_section_32): Use constants instead of hard-coded
2671 1.1 christos values.
2672 1.1 christos (bfd_mach_o_scan_read_section_64): Ditto.
2673 1.1 christos (bfd_mach_o_scan_read_segment): Do not create a bfd section for
2674 1.1 christos a segment anymore. Use constants instead of hard-coded values.
2675 1.1 christos (bfd_mach_o_scan_read_command): Fix style.
2676 1.1 christos (bfd_mach_o_scan): Use constants instead of hard-coded values.
2677 1.1 christos Get rid of BFD_IO_FUNCS.
2678 1.1 christos (bfd_mach_o_mkobject_init): Renamed from bfd_mach_o_mkobject.
2679 1.1 christos (bfd_mach_o_header_p): Created from bfd_mach_o_object_p.
2680 1.1 christos (bfd_mach_o_gen_object_p): New function, replaces bfd_mach_o_object_p.
2681 1.1 christos (bfd_mach_o_object_p): Removed.
2682 1.1 christos (bfd_mach_o_gen_core_p): New function, replaces ...
2683 1.1 christos (bfd_mach_o_core_p): ... deleted.
2684 1.1 christos (bfd_mach_o_bfd_print_private_bfd_data): Make it public.
2685 1.1 christos
2686 1.1 christos * mach-o-i386.c: New file.
2687 1.1 christos * config.bfd: Use mach_o_i386_vec as targ_defvec for ix86-darwin.
2688 1.1 christos * configure.in (TDEFINES): Add mach_o_i386_vec.
2689 1.1 christos * configure: Regenerated.
2690 1.1 christos * targets.c: Add mach_o_i386_vec.
2691 1.1 christos
2692 1.1 christos * mach-o.c: Update copyright years.
2693 1.1 christos (BFD_IO_FUNCS): Remove (was not used).
2694 1.1 christos (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr, bfd_mach_o_slurp_armap
2695 1.1 christos bfd_mach_o_slurp_extended_name_table,
2696 1.1 christos bfd_mach_o_construct_extended_name_table,
2697 1.1 christos bfd_mach_o_truncate_arname, bfd_mach_o_write_armap,
2698 1.1 christos bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt,
2699 1.1 christos bfd_mach_o_update_armap_timestamp, bfd_mach_o_close_and_cleanup,
2700 1.1 christos bfd_mach_o_bfd_free_cached_info, bfd_mach_o_new_section_hook,
2701 1.1 christos bfd_mach_o_get_section_contents_in_window,
2702 1.1 christos bfd_mach_o_bfd_is_local_label_name,
2703 1.1 christos bfd_mach_o_bfd_is_target_special_symbol,
2704 1.1 christos bfd_mach_o_bfd_is_local_label_name, bfd_mach_o_get_lineno,
2705 1.1 christos bfd_mach_o_find_nearest_line, bfd_mach_o_find_inliner_info,
2706 1.1 christos bfd_mach_o_bfd_make_debug_symbol, bfd_mach_o_read_minisymbols,
2707 1.1 christos bfd_mach_o_minisymbol_to_symbol,
2708 1.1 christos bfd_mach_o_bfd_get_relocated_section_contents,
2709 1.1 christos bfd_mach_o_bfd_relax_section, bfd_mach_o_bfd_link_hash_table_create,
2710 1.1 christos bfd_mach_o_bfd_link_hash_table_free, bfd_mach_o_bfd_link_add_symbols,
2711 1.1 christos bfd_mach_o_bfd_link_just_syms, bfd_mach_o_bfd_final_link,
2712 1.1 christos bfd_mach_o_bfd_link_split_section, bfd_mach_o_set_arch_mach,
2713 1.1 christos bfd_mach_o_bfd_merge_private_bfd_data,
2714 1.1 christos bfd_mach_o_bfd_set_private_flags, bfd_mach_o_get_section_contents,
2715 1.1 christos bfd_mach_o_bfd_gc_sections, bfd_mach_o_bfd_merge_sections,
2716 1.1 christos bfd_mach_o_bfd_is_group_section, bfd_mach_o_bfd_discard_group,
2717 1.1 christos bfd_mach_o_section_already_linked, bfd_mach_o_bfd_define_common_symbol,
2718 1.1 christos bfd_mach_o_bfd_copy_private_header_data,
2719 1.1 christos bfd_mach_o_core_file_matches_executable_p): Move these defines ...
2720 1.1 christos * mach-o-target.c: ... here.
2721 1.1 christos Update copyright years.
2722 1.1 christos
2723 1.1 christos 2009-06-04 Alan Modra <amodra (a] bigpond.net.au>
2724 1.1 christos
2725 1.1 christos * dep-in.sed: Don't use \n in replacement part of s command.
2726 1.1 christos * Makefile.am (DEP1): LC_ALL for uniq.
2727 1.1 christos Run "make dep-am".
2728 1.1 christos * Makefile.in: Regenerate.
2729 1.1 christos
2730 1.1 christos 2009-06-03 H.J. Lu <hongjiu.lu (a] intel.com>
2731 1.1 christos
2732 1.1 christos * elf32-i386.c (elf_i386_allocate_dynrelocs): Remove check of
2733 1.1 christos h->plt.refcount > 0 on STT_GNU_IFUNC symbol.
2734 1.1 christos * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.
2735 1.1 christos
2736 1.1 christos 2009-06-03 H.J. Lu <hongjiu.lu (a] intel.com>
2737 1.1 christos
2738 1.1 christos * elf32-i386.c (elf_i386_allocate_dynrelocs): Allocate
2739 1.1 christos GOT entry for STT_GNU_IFUNC symbol with pointer equality.
2740 1.1 christos (elf_i386_relocate_section): Adjust R_386_GOT32 relocation
2741 1.1 christos against STT_GNU_IFUNC symbols for static executables.
2742 1.1 christos (elf_i386_finish_dynamic_symbol): Load GOT entry with
2743 1.1 christos PLT entry for STT_GNU_IFUNC symbol with pointer equality.
2744 1.1 christos
2745 1.1 christos * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Allocate
2746 1.1 christos GOT entry for STT_GNU_IFUNC symbol with pointer equality.
2747 1.1 christos (elf64_x86_64_finish_dynamic_symbol): Load GOT entry with
2748 1.1 christos PLT entry for STT_GNU_IFUNC symbol with pointer equality.
2749 1.1 christos
2750 1.1 christos 2009-06-02 Richard Sandiford <r.sandiford (a] uk.ibm.com>
2751 1.1 christos
2752 1.1 christos * coff-rs6000.c (xcoff_ppc_relocate_section): Allow undefined
2753 1.1 christos symbols to be left unimported when linking statically.
2754 1.1 christos * xcofflink.c (xcoff_link_add_symbols): Ignore global linkage
2755 1.1 christos code when linking statically.
2756 1.1 christos
2757 1.1 christos 2009-06-02 H.J. Lu <hongjiu.lu (a] intel.com>
2758 1.1 christos
2759 1.1 christos * elf32-i386.c (elf_i386_check_relocs): Increment
2760 1.1 christos got.refcount for R_386_GOT32/R_386_GOTOFF relocations
2761 1.1 christos against STT_GNU_IFUNC symbol.
2762 1.1 christos (elf_i386_allocate_dynrelocs): Set got.refcount to 0 if
2763 1.1 christos local STT_GNU_IFUNC definition is used.
2764 1.1 christos (elf_i386_relocate_section): Handle got.offset != -1 for
2765 1.1 christos R_386_GOT32/R_386_GOTOFF relocations against STT_GNU_IFUNC
2766 1.1 christos symbol.
2767 1.1 christos
2768 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_relocs): Increment
2769 1.1 christos got.refcount for R_X86_64_GOTPCREL/R_X86_64_GOTPCREL64
2770 1.1 christos relocations against STT_GNU_IFUNC symbol.
2771 1.1 christos (elf64_x86_64_allocate_dynrelocs): Set got.refcount to 0 if
2772 1.1 christos local STT_GNU_IFUNC definition is used.
2773 1.1 christos (elf64_x86_64_relocate_section): Handle got.offset != -1
2774 1.1 christos for R_X86_64_GOTPCREL/R_X86_64_GOTPCREL64 relocations against
2775 1.1 christos STT_GNU_IFUNC symbol.
2776 1.1 christos
2777 1.1 christos 2009-06-01 H.J. Lu <hongjiu.lu (a] intel.com>
2778 1.1 christos
2779 1.1 christos PR ld/10205
2780 1.1 christos * elf32-i386.c (elf_howto_table): Add R_386_IRELATIVE.
2781 1.1 christos (elf_i386_reloc_type_lookup): Likewise.
2782 1.1 christos (R_386_tls): Removed.
2783 1.1 christos (R_386_irelative): New.
2784 1.1 christos (R_386_vt_offset): Updated.
2785 1.1 christos (elf_i386_rtype_to_howto): Likewise.
2786 1.1 christos (elf_i386_link_hash_table): Add igotplt, iplt and irelplt.
2787 1.1 christos (elf_i386_link_hash_table_create): Initialize igotplt,
2788 1.1 christos iplt and irelplt.
2789 1.1 christos (elf_i386_check_relocs): Handle STT_GNU_IFUNC symbol first.
2790 1.1 christos (elf_i386_adjust_dynamic_symbol): Likewise.
2791 1.1 christos (elf_i386_allocate_dynrelocs): Likewise.
2792 1.1 christos (elf_i386_relocate_section): Likewise.
2793 1.1 christos (elf_i386_size_dynamic_sections): Set up .iplt and .igot.plt
2794 1.1 christos sections.
2795 1.1 christos (elf_i386_finish_dynamic_symbol): When building a static
2796 1.1 christos executable, use .iplt, .igot.plt and .rel.iplt sections for
2797 1.1 christos STT_GNU_IFUNC symbols. Generate R_386_IRELATIVE relocation for
2798 1.1 christos locally defined STT_GNU_IFUNC symbol.
2799 1.1 christos
2800 1.1 christos * elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_IRELATIVE.
2801 1.1 christos (x86_64_reloc_map): Likewise.
2802 1.1 christos (R_X86_64_standard): Updated.
2803 1.1 christos (elf64_x86_64_link_hash_table): Add igotplt, iplt and irelplt.
2804 1.1 christos (elf64_x86_64_link_hash_table_create): Initialize igotplt,
2805 1.1 christos iplt and irelplt.
2806 1.1 christos (elf64_x86_64_check_relocs): Handle STT_GNU_IFUNC symbol first.
2807 1.1 christos (elf64_x86_64_adjust_dynamic_symbol): Likewise.
2808 1.1 christos (elf64_x86_64_allocate_dynrelocs): Likewise.
2809 1.1 christos (elf64_x86_64_relocate_section): Likewise.
2810 1.1 christos (elf64_x86_64_size_dynamic_sections): Set up .iplt and .igot.plt
2811 1.1 christos sections.
2812 1.1 christos (elf64_x86_64_finish_dynamic_symbol): When building a static
2813 1.1 christos executable, use .iplt, .igot.plt and .rela.iplt sections for
2814 1.1 christos STT_GNU_IFUNC symbols. Generate R_X86_64_IRELATIVE relocation
2815 1.1 christos for locally defined STT_GNU_IFUNC symbol.
2816 1.1 christos
2817 1.1 christos * reloc.c (BFD_RELOC_386_IRELATIVE): New.
2818 1.1 christos (BFD_RELOC_X86_64_IRELATIVE): Likewise.
2819 1.1 christos
2820 1.1 christos * bfd-in2.h: Regenerated.
2821 1.1 christos * libbfd.h: Likewise.
2822 1.1 christos
2823 1.1 christos 2009-06-01 H.J. Lu <hongjiu.lu (a] intel.com>
2824 1.1 christos
2825 1.1 christos * elf-bfd.h (struct bfd_elf_section_data): Remove indirect_relocs.
2826 1.1 christos (_bfd_elf_make_ifunc_reloc_section): Removed.
2827 1.1 christos (_bfd_elf_is_ifunc_symbol): Likewise.
2828 1.1 christos (_bfd_elf_create_static_ifunc_sections): New.
2829 1.1 christos
2830 1.1 christos * elflink.c (_bfd_elf_adjust_dynamic_symbol): Move STT_GNU_IFUNC
2831 1.1 christos symbol check to ...
2832 1.1 christos (elf_link_add_object_symbols): Here.
2833 1.1 christos (_bfd_elf_link_hash_hide_symbol): Don't clean plt on
2834 1.1 christos STT_GNU_IFUNC symbol.
2835 1.1 christos (elf_link_output_extsym): Call elf_backend_finish_dynamic_symbol
2836 1.1 christos if a STT_GNU_IFUNC symbol is referenced in a non-shared object.
2837 1.1 christos (IFUNC_INFIX): Removed.
2838 1.1 christos (get_ifunc_reloc_section_name): Likewise.
2839 1.1 christos (_bfd_elf_make_ifunc_reloc_section): Likewise.
2840 1.1 christos (_bfd_elf_is_ifunc_symbol): Likewise.
2841 1.1 christos (_bfd_elf_create_static_ifunc_sections): New.
2842 1.1 christos
2843 1.1 christos 2009-05-29 H.J. Lu <hongjiu.lu (a] intel.com>
2844 1.1 christos
2845 1.1 christos * elf32-i386.c (link_hash_newfunc): Add elf_i386_ prefix.
2846 1.1 christos (create_got_section): Likewise.
2847 1.1 christos (allocate_dynrelocs): Likewise.
2848 1.1 christos (readonly_dynrelocs): Likewise.
2849 1.1 christos (set_tls_module_base): Likewise.
2850 1.1 christos (dtpoff_base): Likewise.
2851 1.1 christos (tpoff): Likewise.
2852 1.1 christos (elf_i386_link_hash_table_create): Updated.
2853 1.1 christos (elf_i386_create_dynamic_sections): Likewise.
2854 1.1 christos (elf_i386_check_relocs): Likewise.
2855 1.1 christos (elf_i386_size_dynamic_sections): Likewise.
2856 1.1 christos (elf_i386_relocate_section): Likewise.
2857 1.1 christos
2858 1.1 christos * elf64-x86-64.c (link_hash_newfunc): Add elf64_x86_64_ prefix.
2859 1.1 christos (create_got_section): Likewise.
2860 1.1 christos (allocate_dynrelocs): Likewise.
2861 1.1 christos (readonly_dynrelocs): Likewise.
2862 1.1 christos (set_tls_module_base): Likewise.
2863 1.1 christos (dtpoff_base): Likewise.
2864 1.1 christos (tpoff): Likewise.
2865 1.1 christos (elf64_x86_64_link_hash_table_create): Updated.
2866 1.1 christos (elf64_x86_64_create_dynamic_sections): Likewise.
2867 1.1 christos (elf64_x86_64_check_relocs): Likewise.
2868 1.1 christos (elf64_x86_64_size_dynamic_sections): Likewise.
2869 1.1 christos (elf64_x86_64_relocate_section): Likewise.
2870 1.1 christos
2871 1.1 christos 2009-05-28 Nick Clifton <nickc (a] redhat.com>
2872 1.1 christos
2873 1.1 christos * targets.c (_bfd_target_vector): Only include plugin target in
2874 1.1 christos all-targets build if BFD_SUPPORTS_PLUGINS is non-zero.
2875 1.1 christos
2876 1.1 christos 2009-05-28 Ulrich Weigand <uweigand (a] de.ibm.com>
2877 1.1 christos
2878 1.1 christos * elf32-spu.c (struct call_info): New member broken_cycle.
2879 1.1 christos (remove_cycle): Instead of physically removing call_info structures
2880 1.1 christos to break call graph cycles, mark them using the broken_cycle flag.
2881 1.1 christos (mark_overlay_section): Respect broken_cycle flag.
2882 1.1 christos (unmark_overlay_section): Likewise.
2883 1.1 christos (collect_lib_sections): Likewise.
2884 1.1 christos (collect_overlays): Likewise.
2885 1.1 christos (sum_stack): Likewise.
2886 1.1 christos
2887 1.1 christos 2009-05-28 Ulrich Weigand <uweigand (a] de.ibm.com>
2888 1.1 christos
2889 1.1 christos * elf32-spu.c (insert_callee): Accumulate incoming callee->count.
2890 1.1 christos (mark_functions_via_relocs): Initialize callee->count to 1.
2891 1.1 christos (pasted_function): Likewise.
2892 1.1 christos (spu_elf_auto_overlay): Honor call counts when determining number
2893 1.1 christos of stubs required in software i-cache mode.
2894 1.1 christos
2895 1.1 christos 2009-05-27 Rafael Avila de Espindola <espindola (a] google.com>
2896 1.1 christos
2897 1.1 christos * plugin.c (program_name): Remove.
2898 1.1 christos (plugin_program_name): New.
2899 1.1 christos (bfd_plugin_set_program_name): New.
2900 1.1 christos (try_load_plugin): Use plugin_program_name.
2901 1.1 christos * plugin.h (bfd_plugin_set_program_name): New.
2902 1.1 christos
2903 1.1 christos 2009-05-27 Rafael Avila de Espindola <espindola (a] google.com>
2904 1.1 christos
2905 1.1 christos * aclocal.m4: Include ../config/plugins.m4.
2906 1.1 christos * configure.in: Use AC_PLUGINS.
2907 1.1 christos * configure: Regenerate.
2908 1.1 christos * Makefile.in: Regenerate.
2909 1.1 christos * doc/Makefile.in: Regenerate.
2910 1.1 christos
2911 1.1 christos 2009-05-27 Nathan Sidwell <nathan (a] codesourcery.com>
2912 1.1 christos
2913 1.1 christos * elf32-ppc.c (ppc_elf_relax_section): Work with a partial
2914 1.1 christos link.
2915 1.1 christos * bout.c (b_out_bfd_relax_section): Reject relocatable links.
2916 1.1 christos * elf32-m10300.c (mn10300_elf_relax_section): Likewise.
2917 1.1 christos * elf32-avr.c (elf32_avr_relax_section): Likewise.
2918 1.1 christos * elf32-frv.c (elf32_avr_relax_section): Likewise.
2919 1.1 christos * elf32-xtensa.c (elf_xtensa_relax_section): Likewise.
2920 1.1 christos * elf64-mmix.c (mmix_elf_relax_section): Likewise.
2921 1.1 christos * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
2922 1.1 christos * elfxx-sparc.c (_bfd_sparc_elf_relax_section): Likewise.
2923 1.1 christos * reloc.c (bfd_generic_relax_section): Likewise.
2924 1.1 christos * reloc16.c (bfd_coff_reloc16_relax_section): Likewise.
2925 1.1 christos * vms.c (vms_bfd_relax_section): Likewise.
2926 1.1 christos
2927 1.1 christos 2009-05-26 H.J. Lu <hongjiu.lu (a] intel.com>
2928 1.1 christos
2929 1.1 christos * elf-bfd.h (_bfd_elf_is_ifunc_symbol): New.
2930 1.1 christos
2931 1.1 christos * elf32-i386.c (is_indirect_symbol): Renamed to ...
2932 1.1 christos * elflink.c (_bfd_elf_is_ifunc_symbol): This.
2933 1.1 christos
2934 1.1 christos * elf32-i386.c (allocate_dynrelocs): Updated.
2935 1.1 christos (elf_i386_relocate_section): Likewise.
2936 1.1 christos * elf64-x86-64.c (allocate_dynrelocs): Likewise.
2937 1.1 christos (elf64_x86_64_relocate_section): Likewise.
2938 1.1 christos
2939 1.1 christos * elf64-x86-64.c (is_indirect_symbol): Removed.
2940 1.1 christos
2941 1.1 christos 2009-05-26 Nick Clifton <nickc (a] redhat.com>
2942 1.1 christos
2943 1.1 christos * po/id.po: Updated Indonesian translation.
2944 1.1 christos
2945 1.1 christos 2009-05-26 Rafael Avila de Espindola <espindola (a] google.com>
2946 1.1 christos
2947 1.1 christos * Makefile.am: Run "make dep-am".
2948 1.1 christos (AM_CPPFLAGS): New.
2949 1.1 christos (LIBDL): New.
2950 1.1 christos (ALL_MACHINES): Add cpu-plugin.lo.
2951 1.1 christos (ALL_MACHINES_CFILES): Add cpu-plugin.c.
2952 1.1 christos (BFD32_BACKENDS): Add plugin.lo.
2953 1.1 christos (BFD32_BACKENDS_CFILES): Add plugin.c.
2954 1.1 christos (libbfd_la_LIBADD): Add LIBDL
2955 1.1 christos * archures.c (bfd_architecture): Add bfd_arch_plugin.
2956 1.1 christos (bfd_plugin_arch): Declare.
2957 1.1 christos * bfd-in.h (BFD_SUPPORTS_PLUGINS): New.
2958 1.1 christos * bfd.c (bfd): Add plugin_data.
2959 1.1 christos * config.bfd: Handle the plugin target.
2960 1.1 christos * configure.in: Check for --enable-plugins.
2961 1.1 christos (LT_INIT): Use the dlopen option.
2962 1.1 christos * cpu-plugin.c: New.
2963 1.1 christos * plugin.c: New.
2964 1.1 christos * plugin.h: New.
2965 1.1 christos * targets.c (plugin_vec): Declare.
2966 1.1 christos (_bfd_target_vector): Add plugin_vec.
2967 1.1 christos * Makefile.in: Regenerate.
2968 1.1 christos * bfd-in2.h: Regenerate.
2969 1.1 christos * configure: Regenerate.
2970 1.1 christos
2971 1.1 christos 2009-05-26 Alan Modra <amodra (a] bigpond.net.au>
2972 1.1 christos
2973 1.1 christos * dep-in.sed: Don't modify .o to .lo here. Output one filename
2974 1.1 christos per line with all lines having continuation backslash. Prefix
2975 1.1 christos first line with "A", following lines with "B".
2976 1.1 christos * Makefile.am (DEP): Don't use dep.sed here.
2977 1.1 christos (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
2978 1.1 christos dep.sed here on dependencies, sort and uniq.
2979 1.1 christos * Makefile.in: Regenerate.
2980 1.1 christos
2981 1.1 christos 2009-05-25 Tristan Gingold <gingold (a] adacore.com>
2982 1.1 christos
2983 1.1 christos * makefile.vms: Add verilog.obj to object list OBJS.
2984 1.1 christos
2985 1.1 christos 2009-05-24 Alan Modra <amodra (a] bigpond.net.au>
2986 1.1 christos
2987 1.1 christos * bfdio.c (bfd_seek): Formatting. Ensure newly allocated memory
2988 1.1 christos for BFD_IN_MEMORY is cleared.
2989 1.1 christos (bfd_bwrite): Zero excess memory allocated.
2990 1.1 christos
2991 1.1 christos 2009-05-22 Julian Brown <julian (a] codesourcery.com>
2992 1.1 christos
2993 1.1 christos * elf32-arm.c (THUMB16_BCOND_INSN, THUMB32_INSN, THUMB32_B_INSN): New
2994 1.1 christos macros.
2995 1.1 christos (elf32_arm_stub_a8_veneer_b_cond, elf32_arm_stub_a8_veneer_b)
2996 1.1 christos (elf32_arm_stub_a8_veneer_blx): New stub sequences.
2997 1.1 christos (elf32_arm_stub_type): Add arm_stub_a8_veneer_b_cond,
2998 1.1 christos arm_stub_a8_veneer_b and arm_stub_a8_veneer_blx.
2999 1.1 christos (elf32_arm_stub_hash_entry): Add target_addend, orig_insn fields.
3000 1.1 christos (a8_erratum_fix, a8_erratum_reloc): New structs.
3001 1.1 christos (elf32_arm_link_hash_table): Add a8_erratum_fixes,
3002 1.1 christos num_a8_erratum_fixes, fix_cortex_a8 fields.
3003 1.1 christos (elf32_arm_link_hash_table_create): Zero fix_cortex_a8.
3004 1.1 christos (elf32_arm_add_stub): Split into two parts, creating...
3005 1.1 christos (elf32_arm_create_or_find_stub_sec): New function.
3006 1.1 christos (elf32_arm_final_link_relocate): Add forward declaration.
3007 1.1 christos (arm_build_one_stub): Add support for THUMB32_TYPE, Thumb-2
3008 1.1 christos relocations, multiple relocations per stub.
3009 1.1 christos (find_stub_size_and_template): New (using parts of arm_size_one_stub).
3010 1.1 christos (arm_size_one_stub): Use find_stub_size_and_template.
3011 1.1 christos (a8_reloc_compare): New.
3012 1.1 christos (find_thumb_glue): Add forward declaration.
3013 1.1 christos (cortex_a8_erratum_scan): New.
3014 1.1 christos (elf32_arm_size_stubs): Add Cortex-A8 erratum workaround support.
3015 1.1 christos (bfd_elf32_arm_set_cortex_a8_fix): New.
3016 1.1 christos (bfd_elf32_arm_set_target_relocs): Add fix_cortex_a8 argument.
3017 1.1 christos (arm_map_one_stub): Add THUMB32_TYPE support.
3018 1.1 christos (a8_branch_to_stub_data): New.
3019 1.1 christos (make_branch_to_a8_stub): New.
3020 1.1 christos (elf32_arm_write_section): Add Cortex-A8 erratum workaround support.
3021 1.1 christos * bfd-in.h (bfd_elf32_arm_set_cortex_a8_fix): New.
3022 1.1 christos (bfd_elf32_arm_set_target_relocs): Add argument for controlling
3023 1.1 christos Cortex-A8 erratum workaround.
3024 1.1 christos * bfd-in2.h: Regenerate.
3025 1.1 christos
3026 1.1 christos 2009-05-22 Alan Modra <amodra (a] bigpond.net.au>
3027 1.1 christos
3028 1.1 christos * Makefile.am: Run "make dep-am".
3029 1.1 christos * Makefile.in: Regenerate.
3030 1.1 christos * po/SRC-POTFILES.in: Regenerate.
3031 1.1 christos
3032 1.1 christos 2009-05-21 Alan Modra <amodra (a] bigpond.net.au>
3033 1.1 christos
3034 1.1 christos * elflink.c (elf_link_input_bfd): Correct *pindex change in last
3035 1.1 christos commit.
3036 1.1 christos
3037 1.1 christos 2009-05-21 Alan Modra <amodra (a] bigpond.net.au>
3038 1.1 christos
3039 1.1 christos * elf-bfd.h (struct elf_backend_data
3040 1.1 christos <elf_backend_link_output_symbol_hook>): Return an int.
3041 1.1 christos * elf64-ppc.c (ppc64_elf_output_symbol_hook): Return 2 to drop
3042 1.1 christos symbols on deleted .opd entries.
3043 1.1 christos * elflink.c (elf_link_output_sym): Return without outputting sym
3044 1.1 christos if output_symbol_hook returns 2.
3045 1.1 christos (elf_link_output_extsym): Don't assign h->indx when symbol discarded.
3046 1.1 christos Abort if we must not discard sym.
3047 1.1 christos (elf_link_input_bfd): Similarly, don't set finfo->indices for
3048 1.1 christos local syms.
3049 1.1 christos (bfd_elf_final_link): Adjust elf_link_output_sym calls.
3050 1.1 christos * elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Adjust for
3051 1.1 christos elf_backend_link_output_symbol_hook return type change.
3052 1.1 christos * elf32-arm.c (output_arch_syminfo): Likewise.
3053 1.1 christos (elf32_arm_output_map_sym, elf32_arm_output_stub_sym): Likewise.
3054 1.1 christos (elf32_arm_output_arch_local_syms): Likewise.
3055 1.1 christos * elf32-cr16c.c (elf32_cr16c_link_output_symbol_hook): Likewise.
3056 1.1 christos * elf32-score.c (s3_bfd_score_elf_link_output_symbol_hook): Likewise.
3057 1.1 christos (bfd_score_elf_link_output_symbol_hook): Likewise.
3058 1.1 christos * elf32-score.h (s7_bfd_score_elf_link_output_symbol_hook): Likewise.
3059 1.1 christos * elf32-score7.c (s7_bfd_score_elf_link_output_symbol_hook): Likewise.
3060 1.1 christos * elf32-sh64.c (sh64_elf_link_output_symbol_hook): Likewise.
3061 1.1 christos * elf32-spu.c (spu_elf_output_symbol_hook): Likewise.
3062 1.1 christos * elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise.
3063 1.1 christos * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise.
3064 1.1 christos * elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise.
3065 1.1 christos * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise.
3066 1.1 christos * elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise.
3067 1.1 christos * elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise.
3068 1.1 christos * elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise.
3069 1.1 christos
3070 1.1 christos 2009-05-21 Alan Modra <amodra (a] bigpond.net.au>
3071 1.1 christos
3072 1.1 christos * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't segfault on
3073 1.1 christos out of range .opd symbols.
3074 1.1 christos
3075 1.1 christos 2009-05-21 Dave Korn <dave.korn.cygwin (a] gmail.com>
3076 1.1 christos
3077 1.1 christos * coffgen.c (coff_print_symbol): Use bfd_fprintf_vma, not
3078 1.1 christos fprintf_vma directly.
3079 1.1 christos * peXXigen.c (pe_print_edata): Likewise.
3080 1.1 christos (pe_print_pdata): Likewise.
3081 1.1 christos (_bfd_XX_print_ce_compressed_pdata): Likewise.
3082 1.1 christos (_bfd_XX_print_private_bfd_data_common): Likewise.
3083 1.1 christos
3084 1.1 christos 2009-05-19 Dave Korn <dave.korn.cygwin (a] gmail.com>
3085 1.1 christos
3086 1.1 christos * cofflink.c (process_embedded_commands): Ignore "-aligncomm".
3087 1.1 christos
3088 1.1 christos 2009-05-15 Andrew Stubbs <ams (a] codesourcery.com>
3089 1.1 christos Paul Brook <paul (a] codesourcery.com>
3090 1.1 christos
3091 1.1 christos * elf32-arm.c (elf32_arm_fix_exidx_coverage): Don't attempt to
3092 1.1 christos fix discarded sections.
3093 1.1 christos
3094 1.1 christos 2009-05-14 Ulrich Weigand <uweigand (a] de.ibm.com>
3095 1.1 christos
3096 1.1 christos * elf32-spu.c (mark_overlay_section): Move .init and .fini
3097 1.1 christos sections into the software icache.
3098 1.1 christos
3099 1.1 christos 2009-05-14 Ulrich Weigand <uweigand (a] de.ibm.com>
3100 1.1 christos
3101 1.1 christos * elf32-spu.c (build_stub): Always build "compact" sofware
3102 1.1 christos i-cache stubs.
3103 1.1 christos
3104 1.1 christos 2009-05-14 Ulrich Weigand <uweigand (a] de.ibm.com>
3105 1.1 christos
3106 1.1 christos * elf32-spu.c (struct spu_link_hash_table): Add fromelem_size_log2.
3107 1.1 christos (spu_elf_setup): Initialize it.
3108 1.1 christos (spu_elf_size_stubs): Move .ovtab into .bss for software i-cache.
3109 1.1 christos Update to new-sytle cache manager data structures.
3110 1.1 christos (spu_elf_build_stubs): Generate new-style cache manager data
3111 1.1 christos structures and symbols.
3112 1.1 christos (spu_elf_auto_overlay): Update size computation.
3113 1.1 christos
3114 1.1 christos 2009-05-14 Ulrich Weigand <uweigand (a] de.ibm.com>
3115 1.1 christos
3116 1.1 christos * elf32-spu.c (spu_elf_modify_segment_map): Move all PF_OVERLAY
3117 1.1 christos segments first amongst the program headers.
3118 1.1 christos
3119 1.1 christos 2009-05-14 Ulrich Weigand <uweigand (a] de.ibm.com>
3120 1.1 christos
3121 1.1 christos * elf32-spu.c (spu_elf_relocate_section): Only encode overlay index
3122 1.1 christos into addresses for relocation types that look at high bits. Remove
3123 1.1 christos special handling of relocation overflow warnings.
3124 1.1 christos
3125 1.1 christos 2009-05-14 Ulrich Weigand <uweigand (a] de.ibm.com>
3126 1.1 christos
3127 1.1 christos * elf32-spu.c (mark_functions_via_relocs): Handle cycles in the
3128 1.1 christos control flow graph between fragments of a function.
3129 1.1 christos
3130 1.1 christos 2009-05-14 Ulrich Weigand <uweigand (a] de.ibm.com>
3131 1.1 christos
3132 1.1 christos * elf32-spu.c (spu_elf_size_stubs): Even in software i-cache mode,
3133 1.1 christos generate only a 16-byte .toe section.
3134 1.1 christos (spu_elf_build_stubs, spu_elf_auto_overlay): Likewise.
3135 1.1 christos
3136 1.1 christos 2009-05-14 Alan Modra <amodra (a] bigpond.net.au>
3137 1.1 christos
3138 1.1 christos * elf32-spu.c (spu_elf_size_stubs): Split out section placement to..
3139 1.1 christos (spu_elf_place_overlay_data): ..here. New function.
3140 1.1 christos * elf32-spu.h (spu_elf_place_overlay_data): Declare.
3141 1.1 christos
3142 1.1 christos 2009-05-13 Andrew Jenner <andrew (a] codesourcery.com>
3143 1.1 christos
3144 1.1 christos * elf32-arm.c: Move sysdep.h to start of file.
3145 1.1 christos
3146 1.1 christos 2009-05-11 Ulrich Weigand <uweigand (a] de.ibm.com>
3147 1.1 christos
3148 1.1 christos * elf32-spu.c (spu_elf_find_overlays): Don't use .ovl.init lma as
3149 1.1 christos start of overlays.
3150 1.1 christos (spu_elf_build_stubs): Don't define __icache_tagbase. Define
3151 1.1 christos __icache_tag_array and __icache_tag_array_size.
3152 1.1 christos
3153 1.1 christos 2009-05-11 Masaki Muranaka <monaka (a] monami-software.com>
3154 1.1 christos
3155 1.1 christos * elf32-bfin.c (bfin_bfd_reloc_type_lookup): Remove unnecessary
3156 1.1 christos ATTRIBUTE_UNUSED.
3157 1.1 christos (bfinfdpic_link_omit_section_dynsym): Likewise.
3158 1.1 christos (elf32_bfinfdpic_finish_dynamic_sections): Likewise.
3159 1.1 christos
3160 1.1 christos 2009-05-05 Paul Brook <paul (a] codesourcery.com>
3161 1.1 christos
3162 1.1 christos * bfd-in.h (elf32_arm_fix_exidx_coverage): Add prototype.
3163 1.1 christos * bfd-in2.h: Regenerate.
3164 1.1 christos * elf32-arm.c (arm_unwind_edit_type, arm_unwind_table_edit): Define.
3165 1.1 christos (_arm_elf_section_data): Add text and exidx fields.
3166 1.1 christos (add_unwind_table_edit, get_arm_elf_section_data, adjust_exidx_size,
3167 1.1 christos insert_cantunwind_after, elf32_arm_fix_exidx_coverage, offset_prel31,
3168 1.1 christos copy_exidx_entry): New functions.
3169 1.1 christos (elf32_arm_write_section): Fixup .ARM.exidx contents.
3170 1.1 christos
3171 1.1 christos 2009-05-05 Christophe lyon <christophe.lyon (a] st.com>
3172 1.1 christos
3173 1.1 christos * elf32-arm.c (DEF_STUBS): New helper define.
3174 1.1 christos (DEF_STUB): Likewise.
3175 1.1 christos (stub_def): New type.
3176 1.1 christos (stub_definitions): New array, containing stub template pointers
3177 1.1 christos and sizes.
3178 1.1 christos (arm_size_one_stub): Make use of stub_definitions.
3179 1.1 christos
3180 1.1 christos 2009-05-04 Dave Korn <dave.korn.cygwin (a] gmail.com>
3181 1.1 christos
3182 1.1 christos * elflink.c (find_version_for_sym): Remove from here, ...
3183 1.1 christos * linker.c (bfd_find_version_for_sym): ... rename, replace
3184 1.1 christos here, make public and update all callers.
3185 1.1 christos * bfd-in2.h: Regenerate.
3186 1.1 christos
3187 1.1 christos 2009-04-30 Nick Clifton <nickc (a] redhat.com>
3188 1.1 christos
3189 1.1 christos * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs
3190 1.1 christos section pointer.
3191 1.1 christos (struct elf_obj_data): Add has_ifunc_symbols boolean.
3192 1.1 christos * elf.c (swap_out_syms): Convert BSF_GNU_INDIRECT_FUNCTION flags
3193 1.1 christos into a STT_GNU_IFUNC symbol type.
3194 1.1 christos (_bfd_elf_is_function_type): Accept STT_GNU_IFUNC as a function
3195 1.1 christos type.
3196 1.1 christos (_bfd_elf_set_osabi): Set the osasbi field to ELFOSABI_LINUX if
3197 1.1 christos the binary contains ifunc symbols.
3198 1.1 christos * elfcode.h (elf_slurp_symbol_table): Translate the STT_GNU_IFUNC
3199 1.1 christos symbol type into a BSF_GNU_INDIRECT_FUNCTION flag.
3200 1.1 christos * elf32-i386.c (is_indirect_function): New function.
3201 1.1 christos (elf_i386_check_relocs): Create an ifunc output section.
3202 1.1 christos (allocate_dynrelocs): Create dynamic relocs in the ifunc output
3203 1.1 christos section if necessary.
3204 1.1 christos (elf_i386_relocate_section): Emit a reloc against an ifunc symbol
3205 1.1 christos if necessary.
3206 1.1 christos (elf_i386_add_symbol_hook): New function. Set the
3207 1.1 christos has_ifunc_symbols field of the elf_obj_data structure if an ifunc
3208 1.1 christos symbol is encountered.
3209 1.1 christos (elf_backend_post_process_headers): Define.
3210 1.1 christos (elf_backend_add_symbol_hook): Define.
3211 1.1 christos (elf_i386_post_process_headers): Rename to
3212 1.1 christos elf_i388_fbsd_post_process_headers.
3213 1.1 christos * elf64-x86_64.c (IS_X86_64_PCREL_TYPE): New macro.
3214 1.1 christos (is_indirect_function): New function.
3215 1.1 christos (elf64_x86_64_check_relocs): Create an ifunc output section.
3216 1.1 christos (allocate_dynrelocs): Create dynamic relocs in the ifunc output
3217 1.1 christos section if necessary.
3218 1.1 christos (elf64_x86_64_relocate_section): Emit a reloc against an ifunc
3219 1.1 christos symbol if necessary.
3220 1.1 christos (elf_i386_add_symbol_hook): Set the has_ifunc_symbols field of the
3221 1.1 christos elf_obj_data structure if an ifunc symbol is encountered.
3222 1.1 christos (elf_backend_post_process_headers): Define.
3223 1.1 christos * elflink.c (_bfd_elf_adjust_dynamic_symbol): Always create a PLT
3224 1.1 christos if we have ifunc symbols to handle.
3225 1.1 christos (get_ifunc_reloc_section_name): New function. Computes the name
3226 1.1 christos for an ifunc section.
3227 1.1 christos (_bfd_elf_make_ifunc_reloc_section): New function. Creates a
3228 1.1 christos section to hold ifunc relocs.
3229 1.1 christos * syms.c (BSF_GNU_INDIRECT_FUNCTION): Define.
3230 1.1 christos (bfd_print_symbol_vandf): Handle ifunc symbols.
3231 1.1 christos (bfd_decode_symclass): Likewise.
3232 1.1 christos * bfd-in2.h: Regenerate.
3233 1.1 christos
3234 1.1 christos 2009-04-30 Joseph Myers <joseph (a] codesourcery.com>
3235 1.1 christos
3236 1.1 christos * elf32-arm.c (elf32_arm_check_relocs): Give errors for absolute
3237 1.1 christos MOVW and MOVT relocations in a shared library link.
3238 1.1 christos
3239 1.1 christos 2009-04-27 Anthony Green <green (a] moxielogic.com>
3240 1.1 christos
3241 1.1 christos * verilog.c: New file.
3242 1.1 christos * Makefile.am (BFD32_LIBS): Add verilog.c.
3243 1.1 christos (BFD32_LIBS_CFILES): Add verilog.c.
3244 1.1 christos (verilog.lo): New build rule.
3245 1.1 christos * Makefile.in: Rebuilt.
3246 1.1 christos * targets.c: Add verilog support.
3247 1.1 christos * bfd.c (tdata union): Add Verilog private data field.
3248 1.1 christos * bfd-in2.h: Regenerate.
3249 1.1 christos
3250 1.1 christos 2009-04-27 H.J. Lu <hongjiu.lu (a] intel.com>
3251 1.1 christos
3252 1.1 christos * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't
3253 1.1 christos copy pe_opthdr.
3254 1.1 christos
3255 1.1 christos 2009-04-23 Matthias Klose <doko (a] ubuntu.com>
3256 1.1 christos
3257 1.1 christos * peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'.
3258 1.1 christos
3259 1.1 christos 2009-04-22 Christophe Lyon <christophe.lyon (a] st.com>
3260 1.1 christos
3261 1.1 christos PR9743
3262 1.1 christos * elf32-arm.c (arm_type_of_stub): Handle R_ARM_THM_JUMP24,
3263 1.1 christos R_ARM_JUMP24 and R_ARM_PLT32 relocations.
3264 1.1 christos (elf32_arm_size_stubs): Likewise.
3265 1.1 christos (record_thumb_to_arm_glue): Deleted unused function.
3266 1.1 christos (bfd_elf32_arm_process_before_allocation): No longer handle
3267 1.1 christos R_ARM_THM_JUMP24, R_ARM_JUMP24 and R_ARM_PLT32 relocations here.
3268 1.1 christos (elf32_arm_final_link_relocate): Handle R_ARM_THM_JUMP24,
3269 1.1 christos R_ARM_JUMP24 and R_ARM_PLT32 relocations.
3270 1.1 christos
3271 1.1 christos 2009-04-21 Daniel Jacobowitz <dan (a] codesourcery.com>
3272 1.1 christos
3273 1.1 christos * elf32-arm.c (INTERWORK_FLAG): Check BFD_LINKER_CREATED.
3274 1.1 christos (elf32_arm_write_section): Declare early.
3275 1.1 christos (elf32_arm_size_stubs): Skip non-stub sections in the stub BFD.
3276 1.1 christos (arm_allocate_glue_section_space): Exclude empty sections.
3277 1.1 christos (ARM_GLUE_SECTION_FLAGS): Add SEC_LINKER_CREATED.
3278 1.1 christos (bfd_elf32_arm_add_glue_sections_to_bfd): Do not skip the stub
3279 1.1 christos BFD.
3280 1.1 christos (elf32_arm_output_glue_section, elf32_arm_final_link): New.
3281 1.1 christos (elf32_arm_merge_eabi_attributes): Skip the stub BFD.
3282 1.1 christos (elf32_arm_size_dynamic_sections): Allocate interworking
3283 1.1 christos sections here.
3284 1.1 christos (bfd_elf32_bfd_final_link): Define.
3285 1.1 christos
3286 1.1 christos 2009-04-21 H.J. Lu <hongjiu.lu (a] intel.com>
3287 1.1 christos
3288 1.1 christos * coff-ia64.c (COFF_PAGE_SIZE): Changed to 8K.
3289 1.1 christos
3290 1.1 christos * coffcode.h (coff_compute_section_file_positions): Clear
3291 1.1 christos D_PAGED if PE section alignment is smaller than COFF_PAGE_SIZE.
3292 1.1 christos
3293 1.1 christos * libcoff-in.h (pe_tdata): Remove force_minimum_alignment and
3294 1.1 christos force_minimum_alignment.
3295 1.1 christos
3296 1.1 christos * libcoff.h: Regenerated.
3297 1.1 christos
3298 1.1 christos * pei-ia64.c (PEI_TARGET_SUBSYSTEM): Removed.
3299 1.1 christos (PEI_FORCE_MINIMUM_ALIGNMENT): Likewise.
3300 1.1 christos
3301 1.1 christos * peicode.h (pe_mkobject): Don't set force_minimum_alignment
3302 1.1 christos nor target_subsystem.
3303 1.1 christos
3304 1.1 christos * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't check
3305 1.1 christos force_minimum_alignment nor target_subsystem.
3306 1.1 christos
3307 1.1 christos 2009-04-21 Kai Tietz <kai.tietz (a] onevision.com>
3308 1.1 christos
3309 1.1 christos * coff-x86_64.c (PEI_HEADERS): Protect includes.
3310 1.1 christos (bfd_pe_print_pdata): Remove #ifdef PE variation.
3311 1.1 christos * pei-x86_64.c (PEI_HEADERS): Define to prevent double
3312 1.1 christos include in coff-x86_64.c of headers.
3313 1.1 christos (PDATA_ROW_SIZE): New define.
3314 1.1 christos (pex_regs[]): New static array.
3315 1.1 christos (pex64_get_runtime_function): New static function.
3316 1.1 christos (pex64_get_unwind_info): Likewise.
3317 1.1 christos (pex64_get_scope_entry): Likewise.
3318 1.1 christos (pex64_xdata_print_uwd_codes): Likewise.
3319 1.1 christos (pex64_get_section_by_rva): Likewise.
3320 1.1 christos (pex64_dump_xdata): Likewise.
3321 1.1 christos (pex64_bfd_print_pdata): Likewise.
3322 1.1 christos (bfd_pe_print_pdata): Define as pex64_bfd_print_pdata.
3323 1.1 christos * peXXigen.c (_bfd_pex64_print_pdata): Removed implementation.
3324 1.1 christos * libpei.h (_bfd_pex64_print_pdata): Removed declaration.
3325 1.1 christos
3326 1.1 christos 2009-04-19 Peter O'Gorman <binutils (a] mlists.thewrittenword.com>
3327 1.1 christos Alan Modra <amodra (a] bigpond.net.au>
3328 1.1 christos Dave Korn <dave.korn.cygwin (a] gmail.com>
3329 1.1 christos
3330 1.1 christos * peXXigen.c (_bfd_XXi_swap_sym_in): Fix name handling w.r.t
3331 1.1 christos long names and non-NUL-terminated strings.
3332 1.1 christos
3333 1.1 christos 2009-04-17 H.J. Lu <hongjiu.lu (a] intel.com>
3334 1.1 christos
3335 1.1 christos * bfd-in2.h: Regenerated.
3336 1.1 christos
3337 1.1 christos 2009-04-17 H.J. Lu <hongjiu.lu (a] intel.com>
3338 1.1 christos
3339 1.1 christos * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Replace
3340 1.1 christos IMAGE_SUBSYSTEM_EFI_ROM with IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER.
3341 1.1 christos
3342 1.1 christos 2009-04-17 H.J. Lu <hongjiu.lu (a] intel.com>
3343 1.1 christos
3344 1.1 christos PR binutils/10074
3345 1.1 christos * coffcode.h (bfd_pei_p): New.
3346 1.1 christos
3347 1.1 christos * config.bfd: Remove bfd_efi_bsdrv_ia32_vec,
3348 1.1 christos bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec,
3349 1.1 christos bfd_efi_rtdrv_x86_64_vec, bfd_efi_bsdrv_ia64_vec and
3350 1.1 christos bfd_efi_rtdrv_ia64_vec. Replace bfd_efi_app_ia32_vec,
3351 1.1 christos bfd_efi_app_x86_64_vec and bfd_efi_app_ia64_vec with
3352 1.1 christos i386pei_vec, x86_64pei_vec and bfd_pei_ia64_vec, respectively.
3353 1.1 christos
3354 1.1 christos * configure.in: Remove bfd_efi_bsdrv_ia32_vec,
3355 1.1 christos bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec,
3356 1.1 christos bfd_efi_rtdrv_x86_64_vec,
3357 1.1 christos bfd_efi_bsdrv_ia64_vec and bfd_efi_rtdrv_ia64_vec. Replace
3358 1.1 christos bfd_efi_ia64_vec with bfd_pei_ia64_vec.
3359 1.1 christos * targets.c: Likewise.
3360 1.1 christos
3361 1.1 christos * configure: Regenerated.
3362 1.1 christos * libcoff.h: Likewise.
3363 1.1 christos * Makefile.in: Likewise.
3364 1.1 christos
3365 1.1 christos * efi-app-ia32.c: Removed.
3366 1.1 christos * efi-app-x86_64.c: Likewise.
3367 1.1 christos * efi-bsdrv-ia32.c: Likewise.
3368 1.1 christos * efi-bsdrv-ia64.c: Likewise.
3369 1.1 christos * efi-bsdrv-x86_64.c: Likewise.
3370 1.1 christos * efi-rtdrv-ia32.c: Likewise.
3371 1.1 christos * efi-rtdrv-ia64.c: Likewise.
3372 1.1 christos * efi-rtdrv-x86_64.c: Likewise.
3373 1.1 christos * efi-rtdrv-ia32.c: Likewise.
3374 1.1 christos
3375 1.1 christos * efi-app-ia64.c: Moved to ...
3376 1.1 christos * pei-ia64.c: This.
3377 1.1 christos (TARGET_SYM): Set to bfd_pei_ia64_vec.
3378 1.1 christos (TARGET_NAME): Set to pei-ia64.
3379 1.1 christos
3380 1.1 christos * libpei.h (bfd_target_pei_p): Removed.
3381 1.1 christos (bfd_target_pei_arch): Likewise.
3382 1.1 christos (bfd_target_efi_app_p): Likewise.
3383 1.1 christos (bfd_target_efi_app_arch): Likewise.
3384 1.1 christos (bfd_target_efi_bsdrv_p): Likewise.
3385 1.1 christos (bfd_target_efi_bsdrv_arch): Likewise.
3386 1.1 christos (bfd_target_efi_rtdrv_p): Likewise.
3387 1.1 christos (bfd_target_efi_rtdrv_arch): Likewise.
3388 1.1 christos (bfd_pe_executable_p): Likewise.
3389 1.1 christos
3390 1.1 christos * Makefile.am (BFD32_BACKENDS): Remove efi-app-ia32.lo,
3391 1.1 christos efi-bsdrv-ia32.lo and efi-rtdrv-ia32.lo.
3392 1.1 christos (BFD32_BACKENDS_CFILES): Remove efi-app-ia32.c, efi-bsdrv-ia32.c
3393 1.1 christos and efi-rtdrv-ia32.c.
3394 1.1 christos (BFD64_BACKENDS): Remove efi-app-ia64.lo, efi-bsdrv-ia64.lo,
3395 1.1 christos efi-rtdrv-ia64.lo, efi-app-x86_64.lo, efi-bsdrv-x86_64.lo and
3396 1.1 christos efi-rtdrv-x86_64.lo. Add pei-ia64.lo.
3397 1.1 christos (BFD64_BACKENDS_CFILES): Remove efi-app-ia64.c, efi-bsdrv-ia64.c,
3398 1.1 christos efi-rtdrv-ia64.c, efi-app-x86_64.c, efi-bsdrv-x86_64.c and
3399 1.1 christos efi-rtdrv-x86_64.c. Add pei-ia64.c.
3400 1.1 christos (efi-app-ia64.lo): Removed.
3401 1.1 christos (efi-bsdrv-ia32.lo): Likewise.
3402 1.1 christos (efi-rtdrv-ia32.lo): Likewise.
3403 1.1 christos (efi-app-ia64.lo): Likewise.
3404 1.1 christos (efi-bsdrv-ia64.lo): Likewise.
3405 1.1 christos (efi-rtdrv-ia64.lo): Likewise.
3406 1.1 christos (efi-app-x86_64.lo): Likewise.
3407 1.1 christos (efi-bsdrv-x86_64.lo): Likewise.
3408 1.1 christos (efi-rtdrv-x86_64.lo): Likewise.
3409 1.1 christos (pei-ia64.lo): New.
3410 1.1 christos
3411 1.1 christos * peicode.h (coff_swap_scnhdr_in): Replace bfd_pe_executable_p
3412 1.1 christos with bfd_pei_p.
3413 1.1 christos (arch_type): Removed.
3414 1.1 christos (pe_arch): Likewise.
3415 1.1 christos (pe_bfd_object_p): Just return coff_object_p.
3416 1.1 christos
3417 1.1 christos * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Replace
3418 1.1 christos bfd_pe_executable_p with bfd_pei_p.
3419 1.1 christos
3420 1.1 christos 2009-04-17 Christophe Lyon <christophe.lyon (a] st.com>
3421 1.1 christos
3422 1.1 christos * elf32-arm.c (elf32_arm_size_stubs): Handle long branches through
3423 1.1 christos PLT entries to an undefined symbol when generating a shared
3424 1.1 christos library.
3425 1.1 christos
3426 1.1 christos 2009-04-17 Nick Clifton <nickc (a] redhat.com>
3427 1.1 christos
3428 1.1 christos PR 9909
3429 1.1 christos * coffcode.h (handle_COMDAT): Allow for external COMDAT symbols.
3430 1.1 christos
3431 1.1 christos 2009-04-16 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3432 1.1 christos
3433 1.1 christos * aout-adobe.c (aout_32_bfd_define_common_symbol): Define.
3434 1.1 christos * aout-target.h (MY_bfd_define_common_symbol): Likewise.
3435 1.1 christos * aout-tic30.c (MY_bfd_define_common_symbol): Likewise.
3436 1.1 christos * binary.c (binary_bfd_define_common_symbol): Likewise.
3437 1.1 christos * bout.c (b_out_bfd_define_common_symbol): Likewise.
3438 1.1 christos * coff-alpha.c (_bfd_ecoff_bfd_define_common_symbol): Likewise.
3439 1.1 christos * coff-mips.c (_bfd_ecoff_bfd_define_common_symbol): Likewise.
3440 1.1 christos * coffcode.h (coff_bfd_define_common_symbol): Likewise.
3441 1.1 christos * elfxx-target.h (bfd_elfNN_bfd_define_common_symbol): Likewise.
3442 1.1 christos * i386msdos.c (msdos_bfd_define_common_symbol): Likewise.
3443 1.1 christos * i386os9k.c (os9k_bfd_define_common_symbol): Likewise.
3444 1.1 christos * ieee.c (ieee_bfd_define_common_symbol): Likewise.
3445 1.1 christos * ihex.c (ihex_bfd_define_common_symbol): Likewise.
3446 1.1 christos * libbfd-in.h (_bfd_nolink_bfd_define_common_symbol): Likewise.
3447 1.1 christos * mach-o.c (bfd_mach_o_bfd_define_common_symbol): Likewise.
3448 1.1 christos * mmo.c (mmo_bfd_define_common_symbol): Likewise.
3449 1.1 christos * nlm-target.h (nlm_bfd_define_common_symbol): Likewise.
3450 1.1 christos * oasys.c (oasys_bfd_define_common_symbol): Likewise.
3451 1.1 christos * pef.c (bfd_pef_bfd_define_common_symbol): Likewise.
3452 1.1 christos * ppcboot.c (ppcboot_bfd_define_common_symbol): Likewise.
3453 1.1 christos * som.c (som_bfd_define_common_symbol): Likewise.
3454 1.1 christos * srec.c (srec_bfd_define_common_symbol): Likewise.
3455 1.1 christos * tekhex.c (tekhex_bfd_define_common_symbol): Likewise.
3456 1.1 christos * versados.c (versados_bfd_define_common_symbol): Likewise.
3457 1.1 christos * vms.c (vms_bfd_define_common_symbol): Likewise.
3458 1.1 christos * xcoff-target.h (_bfd_xcoff_bfd_define_common_symbol): Likewise.
3459 1.1 christos * xsym.c (bfd_sym_bfd_define_common_symbol): Likewise.
3460 1.1 christos * coff-rs6000.c (rs6000coff_vec): Add _bfd_xcoff_define_common_symbol.
3461 1.1 christos (pmac_xcoff_vec): Likewise.
3462 1.1 christos * coff64-rs6000.c (rs6000coff64_vec): Likewise.
3463 1.1 christos (aix5coff64_vec): Likewise.
3464 1.1 christos * linker.c (bfd_generic_define_common_symbol): New function.
3465 1.1 christos * targets.c (BFD_JUMP_TABLE_LINK): Add NAME##_bfd_define_common_symbol.
3466 1.1 christos (_bfd_define_common_symbol): New field.
3467 1.1 christos * libcoff-in.h (_bfd_xcoff_define_common_symbol): Declare.
3468 1.1 christos * xcofflink.c (_bfd_xcoff_define_common_symbol): New function.
3469 1.1 christos (xcoff_build_ldsyms): Don't set XCOFF_DEF_REGULAR for common
3470 1.1 christos symbols here.
3471 1.1 christos * bfd-in2.h: Regenerate.
3472 1.1 christos * libbfd.h: Likewise.
3473 1.1 christos * libcoff.h: Likewise.
3474 1.1 christos
3475 1.1 christos 2009-04-15 Anthony Green <green (a] moxielogic.com>
3476 1.1 christos
3477 1.1 christos * targets.c: Add moxie support.
3478 1.1 christos * Makefile.am: Ditto.
3479 1.1 christos * Makefile.in: Rebuilt.
3480 1.1 christos * cpu-moxie.c, elf32-moxie.c: New files.
3481 1.1 christos * archures.c: Add moxie support.
3482 1.1 christos * configure.in: Add moxie support.
3483 1.1 christos * configure: Rebuilt.
3484 1.1 christos * config.bfd, archures.c: Add moxie support.
3485 1.1 christos * bfd-in2.h: Rebuilt.
3486 1.1 christos
3487 1.1 christos 2009-04-15 Christophe Lyon <christophe.lyon (a] st.com>
3488 1.1 christos
3489 1.1 christos * elf32-arm.c (elf32_arm_final_link_relocate): Don't convert ARM
3490 1.1 christos branch to an undef weak symbol into a jump to next instruction if
3491 1.1 christos a PLT entry will be created.
3492 1.1 christos
3493 1.1 christos 2009-04-14 Dave Korn <dave.korn.cygwin (a] gmail.com>
3494 1.1 christos
3495 1.1 christos * coffgen.c (make_a_section_from_file): Set the backend long
3496 1.1 christos section names enable if long section names found on input.
3497 1.1 christos * coffcode.h: Extend long section names documentation to match.
3498 1.1 christos
3499 1.1 christos 2009-04-08 H.J. Lu <hongjiu.lu (a] intel.com>
3500 1.1 christos
3501 1.1 christos * elflink.c (elf_link_add_object_symbols): Warn alternate ELF
3502 1.1 christos machine code.
3503 1.1 christos
3504 1.1 christos 2009-04-07 DJ Delorie <dj (a] redhat.com>
3505 1.1 christos
3506 1.1 christos * archures.c: Add bfd_mach_mep_c5.
3507 1.1 christos * bfd-in2.h: Likewise.
3508 1.1 christos * cpu-mep.c: Add bfd_c5_arch.
3509 1.1 christos * elf32-mep.c: Support it.
3510 1.1 christos
3511 1.1 christos 2009-04-07 H.J. Lu <hongjiu.lu (a] intel.com>
3512 1.1 christos
3513 1.1 christos * elflink.c (_bfd_elf_section_already_linked): Add `\n' for
3514 1.1 christos info->callbacks->einfo.
3515 1.1 christos * linker.c (_bfd_generic_section_already_linked): Likewise.
3516 1.1 christos
3517 1.1 christos 2009-04-06 DJ Delorie <dj (a] redhat.com>
3518 1.1 christos
3519 1.1 christos * elf32-h8300.c (elf32_h8_relax_section): Relax MOVA opcodes.
3520 1.1 christos
3521 1.1 christos 2009-04-06 H.J. Lu <hongjiu.lu (a] intel.com>
3522 1.1 christos
3523 1.1 christos * coff-x86_64.c (bfd_pe_print_pdata): Defined to
3524 1.1 christos _bfd_pex64_print_pdata only if PE is defined.
3525 1.1 christos
3526 1.1 christos * libpei.h (_bfd_pep_print_x64_pdata): Renamed to ...
3527 1.1 christos (_bfd_pex64_print_pdata): This.
3528 1.1 christos
3529 1.1 christos * peXXigen.c (_bfd_pep_print_x64_pdata): Renamed to ...
3530 1.1 christos (_bfd_pex64_print_pdata): This. Defined only if COFF_WITH_pex64
3531 1.1 christos is defined.
3532 1.1 christos
3533 1.1 christos 2009-04-05 Kai Tietz <kai.tietz (a] onevision.com>
3534 1.1 christos
3535 1.1 christos * coff-x86_64.c (bfd_pe_print_pdata): Define as
3536 1.1 christos _bfd_pep_print_x64_pdata.
3537 1.1 christos * libpei.h (_bfd_pep_print_x64_pdata): Add prototype.
3538 1.1 christos * peXXigen.c (_bfd_pep_print_x64_pdata): New.
3539 1.1 christos
3540 1.1 christos 2009-04-02 Sterling Augustine <sterling (a] jaw.hq.tensilica.com>
3541 1.1 christos
3542 1.1 christos * elf32-xtensa.c (relax_property_section): Always set r_offset
3543 1.1 christos to zero.
3544 1.1 christos
3545 1.1 christos 2009-04-02 Christophe Lyon <christophe.lyon (a] st.com>
3546 1.1 christos
3547 1.1 christos * elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb,
3548 1.1 christos elf32_arm_stub_long_branch_v4t_thumb_thumb_pic): Two new long
3549 1.1 christos branch stubs.
3550 1.1 christos (elf32_arm_stub_type): New enum values for the two new stubs.
3551 1.1 christos (arm_type_of_stub): Make use of the two new stubs.
3552 1.1 christos (arm_size_one_stub): Handle the two new stubs.
3553 1.1 christos
3554 1.1 christos 2009-04-01 Matt Thomas <matt (a] netbsd.org>
3555 1.1 christos
3556 1.1 christos * elf32-vax.c (elf_vax_check_relocs): Do not put relocations against
3557 1.1 christos hidden symbols into the GOT or PLT.GOT.
3558 1.1 christos (elf_vax_relocate_section): Do not emit a PCREL reloc
3559 1.1 christos into a shared object if it is against a hidden symbol.
3560 1.1 christos
3561 1.1 christos 2009-04-01 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3562 1.1 christos
3563 1.1 christos * xcofflink.c (xcoff_archive_info): Add contains_shared_object_p
3564 1.1 christos and know_contains_shared_object_p.
3565 1.1 christos (xcoff_archive_contains_shared_object_p): Add an "info" parameter.
3566 1.1 christos Cache the result in the archive_info table.
3567 1.1 christos (xcoff_auto_export_p): Add an "info" parameter and update the
3568 1.1 christos call to xcoff_archive_contains_shared_object_p.
3569 1.1 christos (xcoff_mark_auto_exports): Update accordingly.
3570 1.1 christos (xcoff_post_gc_symbol): Likewise.
3571 1.1 christos
3572 1.1 christos 2009-04-01 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3573 1.1 christos
3574 1.1 christos * xcofflink.c (bfd_link_input_bfd): Treat __rtinit as C_HIDEXT
3575 1.1 christos rather than C_EXT.
3576 1.1 christos
3577 1.1 christos 2009-04-01 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3578 1.1 christos
3579 1.1 christos * coff-rs6000.c (member_layout): New structure.
3580 1.1 christos (archive_iterator): Likewise.
3581 1.1 christos (member_layout_init): New function.
3582 1.1 christos (archive_iterator_begin): Likewise.
3583 1.1 christos (archive_iterator_next): Likewise.
3584 1.1 christos (xcoff_write_armap_old): Use the new iterator functions.
3585 1.1 christos (do_shared_object_padding): Delete.
3586 1.1 christos (xcoff_write_armap_big): Use the new iterator functions. Simplify
3587 1.1 christos handling of arch_info.
3588 1.1 christos (xcoff_write_archive_contents_old): Allocate arelt_data in the
3589 1.1 christos first loop rather than the second. Allocate a member header if
3590 1.1 christos there isn't one, then work out the stat information and length
3591 1.1 christos in the first loop too. Use the new iterators for the second loop.
3592 1.1 christos (xcoff_write_archive_contents_big): Likewise.
3593 1.1 christos
3594 1.1 christos 2009-04-01 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3595 1.1 christos
3596 1.1 christos * bfd-in.h (bfd_xcoff_split_import_path): Declare.
3597 1.1 christos (bfd_xcoff_set_archive_import_path): Likewise.
3598 1.1 christos * bfd-in2.h: Regenerate.
3599 1.1 christos * xcofflink.c: Include libiberty.h.
3600 1.1 christos (xcoff_archive_info): New structure.
3601 1.1 christos (xcoff_archive_info_hash): New function.
3602 1.1 christos (xcoff_archive_info_eq): Likewise.
3603 1.1 christos (xcoff_get_archive_info): Likewise.
3604 1.1 christos (_bfd_xcoff_bfd_link_hash_table_create): Initialize archive_info.
3605 1.1 christos (bfd_xcoff_split_import_path): New function.
3606 1.1 christos (bfd_xcoff_set_archive_import_path): Likewise.
3607 1.1 christos (xcoff_set_import_path): Move earlier in file.
3608 1.1 christos (xcoff_link_add_dynamic_symbols): Set the import path of a non-archive
3609 1.1 christos object to the the directory part of the bfd's filename. Get the
3610 1.1 christos import path and filename of an archive object from the archive's
3611 1.1 christos xcoff_tdata, initializing it if necessary. Update use of
3612 1.1 christos import_file_id.
3613 1.1 christos (bfd_link_input_bfd): Update use of import_file_id.
3614 1.1 christos (xcoff_write_global_symbol): Likewise.
3615 1.1 christos
3616 1.1 christos 2009-04-01 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3617 1.1 christos
3618 1.1 christos * xcofflink.c (xcoff_link_hash_table): Moved from include/coff/xcoff.h.
3619 1.1 christos
3620 1.1 christos 2009-04-01 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3621 1.1 christos
3622 1.1 christos * xcofflink.c (xcoff_link_create_extra_sections): Don't create
3623 1.1 christos a .loader section for relocatable links.
3624 1.1 christos (xcoff_need_ldrel_p): New function.
3625 1.1 christos (xcoff_mark): Use it.
3626 1.1 christos (bfd_xcoff_link_count_reloc): Only count loader relocs if there's
3627 1.1 christos a loader section.
3628 1.1 christos (xcoff_build_ldsym): New function, split out from...
3629 1.1 christos (xcoff_build_ldsyms): ...here. Rename to...
3630 1.1 christos (xcoff_post_gc_symbol): ...this. Only export symbols, and only
3631 1.1 christos call xcoff_build_ldsym, if there's a loader section.
3632 1.1 christos (xcoff_build_loader_section): New function, extracted verbatim from...
3633 1.1 christos (bfd_xcoff_size_dynamic_sections): ...here. Only call it if
3634 1.1 christos there's a loader section. Only add an __rtinit loader symbol
3635 1.1 christos if there's a loader section. Update after above name change.
3636 1.1 christos (xcoff_symbol_section, xcoff_create_ldrel): New functions.
3637 1.1 christos (bfd_link_input_bfd): Use xcoff_need_ldrel_p, xcoff_symbol_section
3638 1.1 christos and xcoff_create_ldrel.
3639 1.1 christos (xcoff_write_global_symbol): Use xcoff_create_ldrel.
3640 1.1 christos (xcoff_reloc_link_order): Likewise, but only call it if there's
3641 1.1 christos a loader section. Use xcoff_symbol_section.
3642 1.1 christos (_bfd_xcoff_bfd_final_link): Only use fdinfo.ldrel and fdinfo.ldsym
3643 1.1 christos if there's a loader section.
3644 1.1 christos
3645 1.1 christos 2009-04-01 Richard Sandiford <rdsandiford (a] googlemail.com>
3646 1.1 christos
3647 1.1 christos * xcofflink.c (bfd_link_input_bfd): Fix buffer overrun.
3648 1.1 christos
3649 1.1 christos 2009-04-01 Christophe Lyon <christophe.lyon (a] st.com>
3650 1.1 christos
3651 1.1 christos * elf32-arm.c (group_sections): Rewrite loops for better
3652 1.1 christos readability.
3653 1.1 christos
3654 1.1 christos 2009-03-30 DJ Delorie <dj (a] redhat.com>
3655 1.1 christos
3656 1.1 christos * elflink.c (elf_link_input_bfd): Don't try to resolve complex
3657 1.1 christos relocs when doing a relocatable link.
3658 1.1 christos
3659 1.1 christos 2009-03-28 Mark Mitchell <mark (a] codesourcery.com>
3660 1.1 christos
3661 1.1 christos * coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", not
3662 1.1 christos "ERROR:", in error messages.
3663 1.1 christos * cpu-arm.c (bfd_arm_merge_machines): Likewise.
3664 1.1 christos * elf-attrs.c (_bfd_elf_merge_object_attributes): Likewise.
3665 1.1 christos * elf32-arm.c (tag_cpu_arch_combine): Likewise.
3666 1.1 christos (elf32_arm_merge_eabi_attributes): Likewise.
3667 1.1 christos (elf32_arm_merge_private_bfd_data): Likewise.
3668 1.1 christos
3669 1.1 christos 2009-03-27 Nick Clifton <nickc (a] redhat.com>
3670 1.1 christos
3671 1.1 christos * section.c (bfd_get_section_contents): Detect and handle the case
3672 1.1 christos where a section has the SEC_IN_MEMORY flag set but no actual
3673 1.1 christos contents allocated.
3674 1.1 christos
3675 1.1 christos 2009-03-26 Alan Modra <amodra (a] bigpond.net.au>
3676 1.1 christos
3677 1.1 christos PR 6494
3678 1.1 christos * elf.c (copy_elf_program_header): Do not check that PT_GNU_RELRO
3679 1.1 christos p_filesz and p_memsz are equal. Use p_memsz as the segment size.
3680 1.1 christos (assign_file_positions_for_non_load_sections): Zap PT_GNU_RELRO
3681 1.1 christos if we don't find matching PT_LOAD when copying.
3682 1.1 christos
3683 1.1 christos 2009-03-25 M R Swami Reddy <MR.Swami.Reddy (a] nsc.com>
3684 1.1 christos
3685 1.1 christos * elf32-crx.c (crx_elf_howto_table): Zero the src_mask field of
3686 1.1 christos the reloc descriptions.
3687 1.1 christos
3688 1.1 christos 2009-03-25 Hans-Peter Nilsson <hp (a] axis.com>
3689 1.1 christos
3690 1.1 christos * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
3691 1.1 christos <R_CRIS_16_GOT_GD, case R_CRIS_32_GOT_GD>: Handle COMMON symbols.
3692 1.1 christos <case R_CRIS_16_TPREL, R_CRIS_32_TPREL>: Ditto.
3693 1.1 christos
3694 1.1 christos 2009-03-24 H.J. Lu <hongjiu.lu (a] intel.com>
3695 1.1 christos
3696 1.1 christos * cpu-i386.c (bfd_x86_64_arch_intel_syntax): Make it static.
3697 1.1 christos (bfd_i386_arch_intel_syntax): Likewise.
3698 1.1 christos (i8086_arch): Likewise.
3699 1.1 christos (bfd_x86_64_arch): Likewise.
3700 1.1 christos
3701 1.1 christos 2009-03-24 Hans-Peter Nilsson <hp (a] axis.com>
3702 1.1 christos
3703 1.1 christos * elf32-cris.c (cris_elf_relocate_section): <case
3704 1.1 christos R_CRIS_16_DTPREL, R_CRIS_32_DTPREL>: Allow use of non-local
3705 1.1 christos symbols for non-allocated sections. Don't check whether to
3706 1.1 christos generate R_CRIS_DTPMOD for non-allocated sections.
3707 1.1 christos (cris_elf_gc_sweep_hook) <case R_CRIS_32_DTPREL>: Don't
3708 1.1 christos handle relocation GC:ing if applied to non-allocated section.
3709 1.1 christos (cris_elf_check_relocs): Similar.
3710 1.1 christos
3711 1.1 christos * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
3712 1.1 christos <R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: Don't include the TLS size
3713 1.1 christos when emitting a known TP offset in the GOT.
3714 1.1 christos
3715 1.1 christos 2009-03-23 Alan Modra <amodra (a] bigpond.net.au>
3716 1.1 christos
3717 1.1 christos * elf64-ppc.c (synthetic_opd): Delete.
3718 1.1 christos (compare_symbols): Look for .opd name rather than section match.
3719 1.1 christos (ppc64_elf_get_synthetic_symtab): Likewise.
3720 1.1 christos
3721 1.1 christos 2009-03-21 Alan Modra <amodra (a] bigpond.net.au>
3722 1.1 christos
3723 1.1 christos * elf32-ppc.c (is_pic_glink_stub): Delete.
3724 1.1 christos (is_nonpic_glink_stub): New function.
3725 1.1 christos (ppc_elf_get_synthetic_symtab): Check for last non-pic stub rather
3726 1.1 christos than first pic one.
3727 1.1 christos (struct ppc_elf_link_hash_table <glink_pltresolve>): Comment fix.
3728 1.1 christos
3729 1.1 christos 2009-03-20 Martin Schwidefsky <schwidefsky (a] de.ibm.com>
3730 1.1 christos Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
3731 1.1 christos
3732 1.1 christos * elf32-s390.c (elf_s390_check_relocs): Use the SYMBOL_*
3733 1.1 christos macros for visibilty and locality checks.
3734 1.1 christos (elf_s390_adjust_dynamic_symbol): Likewise.
3735 1.1 christos (allocate_dynrelocs): Likewise.
3736 1.1 christos (elf_s390_relocate_section): Likewise.
3737 1.1 christos (elf_s390_finish_dynamic_symbol): Likewise.
3738 1.1 christos * elf64-s390.c (elf_s390_check_relocs): Likewise.
3739 1.1 christos (elf_s390_adjust_dynamic_symbol): Likewise.
3740 1.1 christos (allocate_dynrelocs): Likewise.
3741 1.1 christos (elf_s390_relocate_section): Likewise.
3742 1.1 christos (elf_s390_finish_dynamic_symbol): Likewise.
3743 1.1 christos
3744 1.1 christos 2009-03-19 Kai Tietz <kai.tietz (a] onevision.com>
3745 1.1 christos
3746 1.1 christos * bfd-in2.h: Regenerated.
3747 1.1 christos * coffcode.h (sec_to_styp_flags): For pe-coff add SEC_READONLY
3748 1.1 christos for debugging sections and map memory read/write dependent on
3749 1.1 christos SEC_COFF_NOREAD.
3750 1.1 christos (styp_to_sec_flags): Set SEC_COFF_NOREAD for sections
3751 1.1 christos without memory read flags set.
3752 1.1 christos * section.c: Add SEC_COFF_NOREAD to section flags.
3753 1.1 christos
3754 1.1 christos 2009-03-19 Andreas Schwab <schwab (a] linux-m68k.org>
3755 1.1 christos
3756 1.1 christos * elf32-hppa.c (final_link_relocate): Cast bfd_vma values to long
3757 1.1 christos for format string.
3758 1.1 christos
3759 1.1 christos 2009-03-19 Alan Modra <amodra (a] bigpond.net.au>
3760 1.1 christos
3761 1.1 christos * elf32-spu.c (spu_elf_find_overlays): Separate error return from
3762 1.1 christos "no overlays" return. If there are overlays, create overlay
3763 1.1 christos manager entry symbols here, so that..
3764 1.1 christos (spu_elf_build_stubs): ..we don't need to set them up here.
3765 1.1 christos Simplify entry symbol tests.
3766 1.1 christos * elf32-spu.h (spu_elf_find_overlays): Update prototype.
3767 1.1 christos
3768 1.1 christos 2009-03-18 Mark Kettenis <kettenis (a] gnu.org>
3769 1.1 christos
3770 1.1 christos * elf.c (elfcore_grok_openbsd_procinfo)
3771 1.1 christos (elfcore_grok_openbsd_note): New functions.
3772 1.1 christos (elf_parse_notes): Handle notes from OpenBSD ELF core files.
3773 1.1 christos
3774 1.1 christos 2009-03-18 Alan Modra <amodra (a] bigpond.net.au>
3775 1.1 christos
3776 1.1 christos * vms-hdr.c: Don't include alloca.h.
3777 1.1 christos * elf32-m68hc1x.c: Include alloca-conf.h.
3778 1.1 christos * xsym.c: Likewise.
3779 1.1 christos * elf64-hppa.c: Likewise. Remove existing #if's handling alloca.
3780 1.1 christos * som.c: Likewise.
3781 1.1 christos * Makefile.am: Run "make dep-am".
3782 1.1 christos * Makefile.in: Regenerate.
3783 1.1 christos
3784 1.1 christos 2009-03-17 Daniel Jacobowitz <dan (a] codesourcery.com>
3785 1.1 christos
3786 1.1 christos * elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test.
3787 1.1 christos
3788 1.1 christos 2009-03-17 Alan Modra <amodra (a] bigpond.net.au>
3789 1.1 christos
3790 1.1 christos * elf32-spu.h (struct spu_elf_params): ovly_flavour now only 1 bit.
3791 1.1 christos Add compact_stub.
3792 1.1 christos (emum _ovly_flavour): Delete ovly_compact, ovly_none.
3793 1.1 christos * elf32-spu.c (struct spu_link_hash_table): Replace ovly_load and
3794 1.1 christos ovly_return fields with ovly_entry[2]. Adjust all users.
3795 1.1 christos (spu_elf_find_overlays): Set ovly_entry[1] from __icache_call_handler
3796 1.1 christos when soft-icache.
3797 1.1 christos (spu_elf_build_stubs): Likewise.
3798 1.1 christos (ovl_stub_size): Change arg to spu_elf_params pointer. Adjust for
3799 1.1 christos ovly_flavour changes. Update all callers.
3800 1.1 christos (ovl_stub_size_log2): New function.
3801 1.1 christos (build_stub): Handle compact icache stubs. Use different manager
3802 1.1 christos entry point for stubs in non-icache area.
3803 1.1 christos (spu_elf_size_stubs): Don't allocate space for indirect branch
3804 1.1 christos descriptors.
3805 1.1 christos (spu_elf_build_stubs): And don't built them.
3806 1.1 christos
3807 1.1 christos 2009-03-16 Andrew Stubbs <ams (a] codesourcery.com>
3808 1.1 christos
3809 1.1 christos * dwarf2.c (read_section): Always use rawsize, if available.
3810 1.1 christos
3811 1.1 christos 2009-03-16 Alan Modra <amodra (a] bigpond.net.au>
3812 1.1 christos
3813 1.1 christos * simple.c (bfd_simple_get_relocated_section_contents): Use larger
3814 1.1 christos of rawsize and size for buffer.
3815 1.1 christos
3816 1.1 christos 2009-03-15 Ulrich Weigand <uweigand (a] de.ibm.com>
3817 1.1 christos
3818 1.1 christos * elf32-spu.c (spu_elf_check_vma): Do not reset auto_overlay
3819 1.1 christos parameter just because fixed sections fit into local store.
3820 1.1 christos (spu_elf_auto_overlay): Do not declare as "noreturn". Skip
3821 1.1 christos generating overlays if fixed sections plus reserved stack
3822 1.1 christos and heap space fit into local store.
3823 1.1 christos
3824 1.1 christos 2009-03-15 Alan Modra <amodra (a] bigpond.net.au>
3825 1.1 christos
3826 1.1 christos * elf32-spu.c (build_stub): Correct icache set_id.
3827 1.1 christos (spu_elf_relocate_section): Likewise.
3828 1.1 christos
3829 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3830 1.1 christos
3831 1.1 christos * xcofflink.c (xcoff_link_check_archive_element): Only free the
3832 1.1 christos symbol table if it was created by the current call.
3833 1.1 christos
3834 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3835 1.1 christos
3836 1.1 christos * xcofflink.c (xcoff_build_ldsyms): Give imported descriptors
3837 1.1 christos class XMC_DS rather than XMC_UA.
3838 1.1 christos
3839 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3840 1.1 christos
3841 1.1 christos * bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the
3842 1.1 christos bfd_boolean export_defineds parameter with an unsigned int
3843 1.1 christos auto_export_flags parameter.
3844 1.1 christos * bfd-in2.h: Regenerate.
3845 1.1 christos * xcofflink.c (xcoff_archive_contains_shared_object_p): New function,
3846 1.1 christos split out from xcoff_build_ldsyms.
3847 1.1 christos (xcoff_covered_by_expall_p): New function.
3848 1.1 christos (xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms
3849 1.1 christos but with extra code to handle -bexpfull and -bexpall.
3850 1.1 christos (xcoff_mark_auto_exports): New function.
3851 1.1 christos (xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether
3852 1.1 christos a function should be automatically exported.
3853 1.1 christos (bfd_xcoff_size_dynamic_sections): Replace the export_defineds
3854 1.1 christos parameter with an auto_export_flags parameter. Update ldinfo
3855 1.1 christos accordingly. Use xcoff_mark_auto_exports to mark all automatically-
3856 1.1 christos exported symbols.
3857 1.1 christos
3858 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3859 1.1 christos
3860 1.1 christos * xcofflink.c (xcoff_mark_symbol_by_name): New function.
3861 1.1 christos (bfd_xcoff_size_dynamic_sections): Use it to mark the entry,
3862 1.1 christos init and fini functions. Do garbage collection for objects
3863 1.1 christos without an entry point too.
3864 1.1 christos
3865 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3866 1.1 christos
3867 1.1 christos * coffcode.h (coff_pointerize_aux_hook): Update CSECT_SYM_P to
3868 1.1 christos check whether a symbol has csect information.
3869 1.1 christos (coff_print_aux): Likewise.
3870 1.1 christos * coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxillary csect
3871 1.1 christos information for C_AIX_WEAKEXT too.
3872 1.1 christos (_bfd_xcoff_swap_aux_out): Likewise.
3873 1.1 christos (xcoff_reloc_type_br): Handle defweak symbols too.
3874 1.1 christos * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxillary csect
3875 1.1 christos information for C_AIX_WEAKEXT too.
3876 1.1 christos (_bfd_xcoff64_swap_aux_out): Likewise.
3877 1.1 christos (xcoff64_reloc_type_br): Handle defweak symbols too.
3878 1.1 christos * coffgen.c (coff_print_symbol): Handle auxillary function
3879 1.1 christos information for C_AIX_WEAKEXT too.
3880 1.1 christos * xcofflink.c (_bfd_xcoff_canonicalize_dynamic_symtab): Set BSF_WEAK
3881 1.1 christos instead of BSF_GLOBAL if the L_WEAK flag is set.
3882 1.1 christos (xcoff_dynamic_definition_p): New function.
3883 1.1 christos (xcoff_link_add_dynamic_symbols): Use it to decide whether ldsym
3884 1.1 christos defines h. Don't change h if ldsym isn't the definition. Otherwise,
3885 1.1 christos always take the symbol class from the ldsym. Use weak bfd symbol
3886 1.1 christos types for weak ldsyms.
3887 1.1 christos (xcoff_link_add_symbols): Use CSECT_SYM_P and EXTERN_SYM_P.
3888 1.1 christos Fix the check for whether a definition is from a shared object.
3889 1.1 christos Allow redefinitions of weak symbols.
3890 1.1 christos (xcoff_link_check_ar_symbols): Use EXTERN_SYM_P.
3891 1.1 christos (xcoff_keep_symbol_p): Likewise.
3892 1.1 christos (bfd_xcoff_size_dynamic_sections): Use CSECT_SYM_P.
3893 1.1 christos (xcoff_link_input_bfd): Use CSECT_SYM_P and EXTERN_SYM_P.
3894 1.1 christos Add .loader entries for C_AIX_WEAKEXT as well as C_EXT symbols,
3895 1.1 christos but mark them as L_WEAK.
3896 1.1 christos (xcoff_write_global_symbol): Treat weak symbols as C_AIX_WEAKEXT
3897 1.1 christos instead of C_EXT if C_AIX_WEAKEXT == C_WEAKEXT.
3898 1.1 christos
3899 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3900 1.1 christos
3901 1.1 christos * xcofflink.c (xcoff_mark): When walking the relocations,
3902 1.1 christos only mark the target symbol or the target section, not both.
3903 1.1 christos (xcoff_final_definition_p): New function.
3904 1.1 christos (xcoff_keep_symbol_p): Use it to check whether an external XCOFF
3905 1.1 christos symbol is a valid definition of the associated output symbol.
3906 1.1 christos Use XCOFF_ALLOCATED to stop the same hash table entry having
3907 1.1 christos two output symbols.
3908 1.1 christos (bfd_xcoff_size_dynamic_sections): Set XCOFF_ALLOCATED when
3909 1.1 christos keeping a symbol.
3910 1.1 christos (xcoff_link_input_bfd): Use xcoff_final_definition_p.
3911 1.1 christos
3912 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3913 1.1 christos
3914 1.1 christos * xcofflink.c (bfd_xcoff_import_symbol): Treat imported absolute
3915 1.1 christos symbols as XMC_XO.
3916 1.1 christos
3917 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3918 1.1 christos
3919 1.1 christos * libcoff-in.h (xcoff_tdata): Add a lineno_counts field.
3920 1.1 christos * libcoff.h: Regenerate.
3921 1.1 christos * xcofflink.c (xcoff_link_add_symbols): Record per-symbol
3922 1.1 christos line-number counts in the bfd's lineno_counts field.
3923 1.1 christos Don't keep per-csect line-number counts.
3924 1.1 christos (xcoff_sweep): Don't update per-csect line-number counts.
3925 1.1 christos (bfd_xcoff_size_dynamic_sections): Count the number of line-number
3926 1.1 christos entries in each output section.
3927 1.1 christos (xcoff_link_input_bfd): Get the number of line numbers from
3928 1.1 christos the bfd's lineno_counts field, rather than recalculating it
3929 1.1 christos from scratch. Fix the range check when updating C_BINCL and
3930 1.1 christos C_EINCL symbols.
3931 1.1 christos (_bfd_xcoff_bfd_final_link): Don't count the output line numbers
3932 1.1 christos here. Don't expect csects to have line-number counts.
3933 1.1 christos
3934 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3935 1.1 christos
3936 1.1 christos * libcoff-in.h (xcoff_tdata): Change debug_indices to a signed long.
3937 1.1 christos * libcoff.h: Regenerate.
3938 1.1 christos * xcofflink.c (xcoff_keep_symbol_p): New function, using the
3939 1.1 christos "skip" logic from xcoff_link_input_bfd.
3940 1.1 christos (bfd_xcoff_size_dynamic_sections): Explicitly skip dynamic
3941 1.1 christos objects in a dynamic link, rather than checking whether csectpp
3942 1.1 christos is null. Always allocate debug_index for other objects,
3943 1.1 christos and always go through the loop. Update the type of debug_index
3944 1.1 christos after the change above. Read the auxillary csect information
3945 1.1 christos and use xcoff_keep_symbol_p to decide whether a symbol should
3946 1.1 christos be kept. Set its debug_index to -2 if not.
3947 1.1 christos (xcoff_link_input_bfd): Update the type of debug_index after
3948 1.1 christos the change above and always expect it to be nonnull. Use it to
3949 1.1 christos test whether a symbol should be stripped, rather than making the
3950 1.1 christos decision here. Postpone all symbol creation to the second pass.
3951 1.1 christos
3952 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3953 1.1 christos
3954 1.1 christos * xcofflink.c: (xcoff_mark_symbol): Mark the TOC section when
3955 1.1 christos creating a descriptor.
3956 1.1 christos (xcoff_sweep): Don't mark toc_section unless it's needed.
3957 1.1 christos (bfd_xcoff_size_dynamic_sections): Skip the toc_section
3958 1.1 christos when marking every bfd.
3959 1.1 christos (xcoff_link_input_bfd): Skip all TOC anchors.
3960 1.1 christos (xcoff_toc_section_p, xcoff_find_tc0): New functions.
3961 1.1 christos (_bfd_xcoff_bfd_final_link): Don't set the output bfd's TOC anchor
3962 1.1 christos to -1; call xcoff_find_tc0 instead.
3963 1.1 christos
3964 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3965 1.1 christos
3966 1.1 christos * libcoff-in.h (xcoff_section_tdata): Update commentary.
3967 1.1 christos * libcoff.h: Regenerate.
3968 1.1 christos * xcofflink.c (xcoff_link_add_symbols): Set the csect of XTY_ER
3969 1.1 christos symbols to bfd_und_section_ptr or bfd_abs_section_ptr, rather than
3970 1.1 christos the previous symbol's csect. Treat last_symndx as an inclusive value
3971 1.1 christos and simplify its handling.
3972 1.1 christos (xcoff_mark): Treat last_symndx as an inclusive value. Only mark
3973 1.1 christos symbols with the right csect. Don't mark rsec when processing
3974 1.1 christos relocations against undefined or absolute sections.
3975 1.1 christos (bfd_xcoff_size_dynamic_sections): Don't check the SEC_MARK flag
3976 1.1 christos of bfd_und_section_ptr.
3977 1.1 christos (xcoff_link_input_bfd): Likewise.
3978 1.1 christos
3979 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
3980 1.1 christos
3981 1.1 christos * coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations
3982 1.1 christos against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED
3983 1.1 christos flag is set. Assert that all undefined symbols are either
3984 1.1 christos imported or defined by a dynamic object.
3985 1.1 christos * coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
3986 1.1 christos * xcofflink.c (xcoff_link_add_symbols): Extend function-symbol
3987 1.1 christos handling to all relocations. Only set XCOFF_CALLED for function
3988 1.1 christos symbols.
3989 1.1 christos (xcoff_find_function): New function, split out from...
3990 1.1 christos (bfd_xcoff_export_symbol) ...here.
3991 1.1 christos (xcoff_set_import_path): New function, split out from...
3992 1.1 christos (bfd_xcoff_import_symbol): ...here. Remove assertion for old
3993 1.1 christos meaning of XCOFF_CALLED.
3994 1.1 christos (xcoff_mark_symbol): If we mark an undefined and unimported
3995 1.1 christos symbol, find some way of defining it. If the symbol is a function
3996 1.1 christos descriptor, fill in its definition automatically. If the symbol
3997 1.1 christos is a function, mark its descriptor and allocate room for global
3998 1.1 christos linkage code. Otherwise mark the symbol as implicitly imported.
3999 1.1 christos Move the code for creating function descriptors from...
4000 1.1 christos (xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to
4001 1.1 christos check for symbols that were implicitly defined.
4002 1.1 christos (xcoff_mark): Don't count any dynamic relocations against
4003 1.1 christos function symbols.
4004 1.1 christos (bfd_xcoff_size_dynamic_sections): Save the rtld parameter
4005 1.1 christos in the xcoff link info.
4006 1.1 christos (xcoff_link_input_bfd): Remove handling of undefined and
4007 1.1 christos unexported symbols.
4008 1.1 christos
4009 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
4010 1.1 christos
4011 1.1 christos * coff-rs6000.c (xcoff_reloc_type_br): Make the branch absolute
4012 1.1 christos if the target is absolute. Fix comment typo.
4013 1.1 christos (xcoff_ppc_relocate_section): Remove FIXME.
4014 1.1 christos * coff64-rs6000.c (xcoff64_reloc_type_br): Make the branch absolute
4015 1.1 christos if the target is absolute.
4016 1.1 christos
4017 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
4018 1.1 christos
4019 1.1 christos * xcofflink.c (xcoff_mark, xcoff_link_input_bfd): Don't copy
4020 1.1 christos R_POS and R_NEG relocations against absolute symbols to the
4021 1.1 christos .loader section.
4022 1.1 christos
4023 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
4024 1.1 christos
4025 1.1 christos * coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype
4026 1.1 christos to 2 for bfd_mach_ppc_620.
4027 1.1 christos
4028 1.1 christos 2009-03-14 Richard Sandiford <r.sandiford (a] uk.ibm.com>
4029 1.1 christos
4030 1.1 christos * config.bfd: Treat AIX 6+ in the same way as AIX 5.
4031 1.1 christos * configure.in: Likewise.
4032 1.1 christos * configure: Regenerate.
4033 1.1 christos
4034 1.1 christos 2009-03-13 H.J. Lu <hongjiu.lu (a] intel.com>
4035 1.1 christos
4036 1.1 christos PR binutils/9945
4037 1.1 christos * elf.c (assign_section_numbers): Generate symbol table if there
4038 1.1 christos is any relocation in output.
4039 1.1 christos (_bfd_elf_compute_section_file_positions): Likewise.
4040 1.1 christos
4041 1.1 christos 2009-03-13 Nick Clifton <nickc (a] redhat.com>
4042 1.1 christos
4043 1.1 christos PR 9934
4044 1.1 christos * elf-bfd.h (NUM_SHDR_ENTRIES): Cope with an empty section.
4045 1.1 christos * elflink.c (elf_link_read_relocs_from_section): Use
4046 1.1 christos NUM_SHDR_ENTRIES. Gracefully handle the case where there are
4047 1.1 christos relocs but no symbol table.
4048 1.1 christos * elf32-arm.c (elf32_arm_check_relocs): Likewise.
4049 1.1 christos
4050 1.1 christos 2009-03-12 H.J. Lu <hongjiu.lu (a] intel.com>
4051 1.1 christos
4052 1.1 christos PR ld/9938
4053 1.1 christos * elf32-i386.c (elf_i386_check_tls_transition): Use strncmp
4054 1.1 christos to check ___tls_get_addr.
4055 1.1 christos
4056 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_tls_transition): Use
4057 1.1 christos strncmp to check __tls_get_addr.
4058 1.1 christos
4059 1.1 christos 2009-03-12 Andrew Stubbs <ams (a] codesourcery.com>
4060 1.1 christos
4061 1.1 christos * dwarf2.c (read_section): Always check the offset, even when the
4062 1.1 christos section has been read before.
4063 1.1 christos
4064 1.1 christos 2009-03-11 H.J. Lu <hongjiu.lu (a] intel.com>
4065 1.1 christos
4066 1.1 christos * elf32-i386.c (elf_i386_check_tls_transition): Fix a typo in
4067 1.1 christos comments.
4068 1.1 christos
4069 1.1 christos 2009-03-11 Chris Demetriou <cgd (a] google.com>
4070 1.1 christos
4071 1.1 christos * bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag.
4072 1.1 christos * bfd-in2.h: Regenerate.
4073 1.1 christos * archive.c (bfd_ar_hdr_from_filesystem): If BFD_DETERMINISTIC_OUTPUT
4074 1.1 christos flag is set, use 0 for uid, gid, and timestamp, and use 0644 for file
4075 1.1 christos mode.
4076 1.1 christos (bsd_write_armap): Likewise.
4077 1.1 christos (_bfd_archive_bsd_update_armap_timestamp): If BFD_DETERMINISTIC_OUTPUT
4078 1.1 christos flag is set, do nothing.
4079 1.1 christos (coff_write_armap): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0
4080 1.1 christos for timestamp.
4081 1.1 christos
4082 1.1 christos 2009-03-11 Ulrich Weigand <uweigand (a] de.ibm.com>
4083 1.1 christos
4084 1.1 christos * elf32-spu.c (find_function_stack_adjust): Handle sf instruction
4085 1.1 christos used to update stack pointer.
4086 1.1 christos
4087 1.1 christos 2009-03-07 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
4088 1.1 christos
4089 1.1 christos PR binutils/9921
4090 1.1 christos * som.c (som_bfd_derive_misc_symbol_info): Set symbol type ST_ABSOLUTE
4091 1.1 christos for unknown symbols in absolute section.
4092 1.1 christos
4093 1.1 christos 2009-03-06 Nick Clifton <nickc (a] redhat.com>
4094 1.1 christos
4095 1.1 christos * po/es.po: Updated Spanish translation.
4096 1.1 christos
4097 1.1 christos 2009-03-05 Christophe Lyon <christophe.lyon (a] st.com>
4098 1.1 christos
4099 1.1 christos * elf32-arm.c (group_sections): Take next section size into
4100 1.1 christos account before accepting to group it.
4101 1.1 christos
4102 1.1 christos 2009-03-05 Christophe Lyon <christophe.lyon (a] st.com>
4103 1.1 christos
4104 1.1 christos * elf32-arm.c (arm_type_of_stub): Handle long branches targetting
4105 1.1 christos PLT entries.
4106 1.1 christos (elf32_arm_final_link_relocate): Likewise.
4107 1.1 christos
4108 1.1 christos 2009-03-05 Moritz Kroll <Moritz.Kroll (a] gmx.de>
4109 1.1 christos
4110 1.1 christos PR 9923
4111 1.1 christos * peXXigen.c (_bfd_XXi_final_link_postscript): Check h->root.type.
4112 1.1 christos
4113 1.1 christos 2009-03-04 Alan Modra <amodra (a] bigpond.net.au>
4114 1.1 christos
4115 1.1 christos * reloc.c (BFD_RELOC_PPC_TLSGD, BFD_RELOC_PPC_TLSLD): New.
4116 1.1 christos * section.c (struct bfd_section): Add has_tls_get_addr_call.
4117 1.1 christos (BFD_FAKE_SECTION): Init new flag.
4118 1.1 christos * ecoff.c (bfd_debug_section): Likewise.
4119 1.1 christos * bfd-in2.h: Regenerate.
4120 1.1 christos * libbfd.h: Regenerate.
4121 1.1 christos * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_TLSGD and R_PPC_TLSLD.
4122 1.1 christos (ppc_elf_reloc_type_lookup): Handle new relocs.
4123 1.1 christos (ppc_elf_check_relocs): Set has_tls_get_addr_call on finding such
4124 1.1 christos without marker relocs.
4125 1.1 christos (ppc_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
4126 1.1 christos if section has no old-style calls.
4127 1.1 christos (ppc_elf_relocate_section): Set tls_mask for non-tls relocs too.
4128 1.1 christos Don't try to optimize new-style __tls_get_addr call when handling
4129 1.1 christos arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
4130 1.1 christos relocs.
4131 1.1 christos * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_TLSGD, R_PPC64_TLSLD.
4132 1.1 christos (ppc64_elf_reloc_type_lookup): Handle new relocs.
4133 1.1 christos (ppc64_elf_check_relocs): Set has_tls_get_addr_call on finding such
4134 1.1 christos without marker relocs.
4135 1.1 christos (ppc64_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
4136 1.1 christos if section has no old-style calls. Set toc_ref for new relocs as
4137 1.1 christos appropriate.
4138 1.1 christos (ppc64_elf_relocate_section): Set tls_mask for non-tls relocs too.
4139 1.1 christos Don't try to optimize new-style __tls_get_addr call when handling
4140 1.1 christos arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
4141 1.1 christos relocs.
4142 1.1 christos
4143 1.1 christos 2009-03-04 Alan Modra <amodra (a] bigpond.net.au>
4144 1.1 christos
4145 1.1 christos PR 6768
4146 1.1 christos * configure.in: Test for ld --as-needed support. Link shared
4147 1.1 christos libbfd against libm.
4148 1.1 christos * configure: Regenerate.
4149 1.1 christos
4150 1.1 christos 2009-03-03 Alan Modra <amodra (a] bigpond.net.au>
4151 1.1 christos
4152 1.1 christos * Makefile.am: Run "make dep-am".
4153 1.1 christos * Makefile.in: Regenerate.
4154 1.1 christos
4155 1.1 christos 2009-03-02 Qinwei <qinwei (a] sunnorth.com.cn>
4156 1.1 christos
4157 1.1 christos * elf32-score7.c: New file.
4158 1.1 christos * elf32-score.h: New file.
4159 1.1 christos * elf32-score.c: Add code to support score 7. Set score7 as the
4160 1.1 christos default.
4161 1.1 christos * cpu-score.c: Add score7 architecure.
4162 1.1 christos (compatibile): New function.
4163 1.1 christos * Makefile.am: Add rules for building elf32-score7 object.
4164 1.1 christos * Makefile.in: Regenerate.
4165 1.1 christos * configure.in: Add elf32-score7 object to score vectors.
4166 1.1 christos * configure: Regenerate.
4167 1.1 christos * reloc.c: Add score7 relocs.
4168 1.1 christos * archures.c: Add score3 and score7 machine numbers.
4169 1.1 christos * bfd-in2.h: Regenerate.
4170 1.1 christos * libbfd.h: Regenerate.
4171 1.1 christos
4172 1.1 christos 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
4173 1.1 christos
4174 1.1 christos * configure: Regenerate.
4175 1.1 christos
4176 1.1 christos 2009-03-01 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
4177 1.1 christos
4178 1.1 christos * elf32-hppa.c (hppa32_elf_local_refcounts): New function.
4179 1.1 christos (elf32_hppa_check_relocs): Use it.
4180 1.1 christos
4181 1.1 christos * elf_hppa_add_symbol_hook (elf_hppa_add_symbol_hook): Move to
4182 1.1 christos elf64-hppa.c.
4183 1.1 christos (elf_hppa_unmark_useless_dynamic_symbols): Likewise.
4184 1.1 christos (elf_hppa_remark_useless_dynamic_symbols): Likewise.
4185 1.1 christos (elf_hppa_is_dynamic_loader_symbol): Likewise.
4186 1.1 christos (elf_hppa_record_segment_addrs): Likewise.
4187 1.1 christos (elf_hppa_final_link): Likewise.
4188 1.1 christos (elf_hppa_relocate_insn): Likewise.
4189 1.1 christos (elf_hppa_final_link_relocate): Likewise.
4190 1.1 christos (elf64_hppa_relocate_section): Likewise.
4191 1.1 christos * elf64-hppa.c: Insert above.
4192 1.1 christos
4193 1.1 christos 2009-02-28 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
4194 1.1 christos
4195 1.1 christos * elf-hppa.h (elf_hppa_final_link): Use elf_hppa_final_link.
4196 1.1 christos (elf_hppa_final_link_relocate ): Rewrite eliminating dynamic hash table.
4197 1.1 christos (elf_hppa_relocate_section): Likewise.
4198 1.1 christos * elf64-hppa.c (struct elf64_hppa_link_hash_entry): Change to derive
4199 1.1 christos from struct elf_link_hash_entry. Add count field.
4200 1.1 christos (struct elf64_hppa_dyn_hash_table): Delete.
4201 1.1 christos (struct elf64_hppa_link_hash_table): Delete dyn_hash_table field.
4202 1.1 christos (elf64_hppa_hash_table): Rename to hppa_link_hash_table.
4203 1.1 christos (hppa_elf_hash_entry, eh_name): Define.
4204 1.1 christos (elf64_hppa_new_dyn_hash_entry): Delete.
4205 1.1 christos (elf64_hppa_dyn_hash_lookup): Delete.
4206 1.1 christos (elf64_hppa_dyn_hash_traverse): Delete.
4207 1.1 christos (get_dyn_name): Delete.
4208 1.1 christos (elf64_hppa_finalize_opd): Use struct elf_link_hash_entry * instead
4209 1.1 christos of struct elf64_hppa_dyn_hash_entry *.
4210 1.1 christos (elf64_hppa_finalize_dlt, llocate_global_data_dlt,
4211 1.1 christos allocate_global_data_plt, allocate_global_data_stub,
4212 1.1 christos allocate_global_data_opd, count_dyn_reloc, allocate_dynrel_entries):
4213 1.1 christos Likewise.
4214 1.1 christos (hppa64_link_hash_newfunc): New.
4215 1.1 christos (elf64_hppa_hash_table_create): Rework.
4216 1.1 christos (count_dyn_reloc): Likewise.
4217 1.1 christos (hppa64_elf_local_refcounts): New.
4218 1.1 christos (elf64_hppa_check_relocs): Rework using standard technique for recording
4219 1.1 christos local DLT, PLT and OPD reference counts.
4220 1.1 christos (elf64_hppa_dynamic_symbol_p): Revise using "eh" for struct
4221 1.1 christos elf_link_hash_entry *.
4222 1.1 christos (elf64_hppa_mark_exported_functions, allocate_global_data_dlt,
4223 1.1 christos allocate_global_data_plt, allocate_global_data_stub,
4224 1.1 christos allocate_global_data_opd, allocate_dynrel_entries,
4225 1.1 christos elf64_hppa_adjust_dynamic_symbol,
4226 1.1 christos elf64_hppa_mark_milli_and_exported_functions): Likewise.
4227 1.1 christos (elf64_hppa_create_dynamic_sections, elf64_hppa_size_dynamic_sections):
4228 1.1 christos Use hppa_link_hash_table. Rework.
4229 1.1 christos (elf64_hppa_link_output_symbol_hook): Rework.
4230 1.1 christos (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd,
4231 1.1 christos elf64_hppa_finalize_dlt, elf64_hppa_finalize_dynreloc,
4232 1.1 christos elf64_hppa_finish_dynamic_sections): Likewise.
4233 1.1 christos
4234 1.1 christos 2009-02-26 Christophe Lyon <christophe.lyon (a] st.com>
4235 1.1 christos
4236 1.1 christos * elf32-arm.c (stub_reloc_type): Removed.
4237 1.1 christos (insn_sequence): Renamed reloc_type field to r_type.
4238 1.1 christos (elf32_arm_stub_long_branch_v4t_arm_thumb_pic): New stub.
4239 1.1 christos (elf32_arm_stub_long_branch_v4t_thumb_arm_pic): Likewise.
4240 1.1 christos (elf32_arm_stub_long_branch_thumb_only_pic): Likewise.
4241 1.1 christos (elf32_arm_stub_type): Add new enum entries for the new stubs.
4242 1.1 christos (arm_stub_is_thumb): Catch new stubs.
4243 1.1 christos (arm_type_of_stub): Handle new stubs.
4244 1.1 christos (arm_size_one_stub): Use ARRAY_SIZE. Handle new stubs.
4245 1.1 christos (bfd_elf32_arm_process_before_allocation): Remove useless
4246 1.1 christos condition.
4247 1.1 christos
4248 1.1 christos 2009-02-25 H.J. Lu <hongjiu.lu (a] intel.com>
4249 1.1 christos
4250 1.1 christos * elf.c (elf_find_function): Use is_function_type to check
4251 1.1 christos function symbol.
4252 1.1 christos
4253 1.1 christos 2009-02-24 Sterling Augustine <sterling (a] jaw.hq.tensilica.com>
4254 1.1 christos
4255 1.1 christos * xtensa-modules.c: Revert to previous version 1.11 due
4256 1.1 christos to inadvertant commit.
4257 1.1 christos
4258 1.1 christos 2009-02-24 Sterling Augustine <sterling (a] tensilica.com>
4259 1.1 christos
4260 1.1 christos * elf32-xtensa.c (text_action_add): Separate test for action
4261 1.1 christos type. Break if saved action is ta_widen_insn at same offset.
4262 1.1 christos
4263 1.1 christos 2009-02-24 Daniel Jacobowitz <dan (a] codesourcery.com>
4264 1.1 christos
4265 1.1 christos * elf32-arm.c (elf32_arm_stub_long_branch_any_any_pic): Rename
4266 1.1 christos to elf32_arm_stub_long_branch_any_arm_pic.
4267 1.1 christos (elf32_arm_stub_long_branch_any_thumb_pic): New.
4268 1.1 christos (enum elf32_arm_stub_type, arm_type_of_stub)
4269 1.1 christos (arm_size_one_stub): Handle any to ARM PIC and any to Thumb PIC
4270 1.1 christos separately.
4271 1.1 christos
4272 1.1 christos 2009-02-24 Joseph Myers <joseph (a] codesourcery.com>
4273 1.1 christos
4274 1.1 christos * elf32-arm.c (PREV_SEC): Update comment.
4275 1.1 christos (group_sections): Rename argument to stubs_always_after_branch.
4276 1.1 christos Reverse the list and place stubs at the end of input sections.
4277 1.1 christos Undefine NEXT_SEC.
4278 1.1 christos (elf32_arm_size_stubs): Update to use stubs_always_after_branch.
4279 1.1 christos
4280 1.1 christos 2009-02-23 Daniel Jacobowitz <dan (a] codesourcery.com>
4281 1.1 christos
4282 1.1 christos * elf32-arm.c (arm_build_one_stub): Initialize stub_reloc_offset.
4283 1.1 christos Fix formatting.
4284 1.1 christos (arm_size_one_stub): Remove unnecessary break.
4285 1.1 christos (arm_map_one_stub): Fix formatting. Return after BFD_FAIL.
4286 1.1 christos
4287 1.1 christos 2009-02-23 Christophe Lyon <christophe.lyon (a] st.com>
4288 1.1 christos
4289 1.1 christos * elf32-arm.c (stub_insn_type): New type.
4290 1.1 christos (stub_reloc_type): Likewise.
4291 1.1 christos (insn_sequence): Likewise.
4292 1.1 christos (elf32_arm_stub_long_branch_any_any): Encode using insn_sequence.
4293 1.1 christos (elf32_arm_stub_long_branch_v4t_arm_thumb): Likewise.
4294 1.1 christos (elf32_arm_stub_long_branch_thumb_only): Likewise.
4295 1.1 christos (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise.
4296 1.1 christos (elf32_arm_stub_short_branch_v4t_thumb_arm): Likewise.
4297 1.1 christos (elf32_arm_stub_long_branch_any_any_pic): Likewise.
4298 1.1 christos (elf32_arm_stub_hash_entry): Add new helper fields.
4299 1.1 christos (stub_hash_newfunc): Initialize these new fields.
4300 1.1 christos (arm_build_one_stub): Encode Arm and Thumb instructions separately
4301 1.1 christos to take endianness into account.
4302 1.1 christos (arm_size_one_stub): Compute size of stubs using insn_sequence.
4303 1.1 christos (arm_map_one_stub): Code is now more generic, thanks to
4304 1.1 christos insn_sequence.
4305 1.1 christos
4306 1.1 christos 2009-02-23 Christophe Lyon <christophe.lyon (a] st.com>
4307 1.1 christos
4308 1.1 christos * elf32-arm.c (elf32_arm_stub_long_branch_thumb_only): Fix stub
4309 1.1 christos code.
4310 1.1 christos (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise.
4311 1.1 christos (arm_type_of_stub): Use Thumb-only long branch stub (non-PIC) when
4312 1.1 christos BLX is not available. Fix typo in warning message. Add comments
4313 1.1 christos and improve formatting.
4314 1.1 christos (arm_build_one_stub): Adjust to new
4315 1.1 christos elf32_arm_stub_long_branch_v4t_thumb_arm stub.
4316 1.1 christos (arm_map_one_stub): Likewise.
4317 1.1 christos
4318 1.1 christos 2009-02-23 Tristan Gingold <gingold (a] adacore.com>
4319 1.1 christos Eric Botcazou <ebotcazou (a] adacore.com>
4320 1.1 christos Douglas B Rupp <rupp (a] gnat.com>
4321 1.1 christos
4322 1.1 christos * vms.h: Update copyright year, fix comments, reorder declarations.
4323 1.1 christos (_bfd_save_vms_section): Remove the prototype.
4324 1.1 christos (EGPS_S_V_NO_SHIFT): New constant.
4325 1.1 christos (bfd_vms_set_section_flags): New prototype.
4326 1.1 christos (EGPS_S_B_ALIGN, EGPS_S_W_FLAGS, EGPS_S_L_ALLOC, EGPS_S_B_NAMLNG): New
4327 1.1 christos constants.
4328 1.1 christos (EGSY_S_W_FLAGS): Ditto.
4329 1.1 christos (EGSY_S_V_QUAD_VAL): Ditto.
4330 1.1 christos (ESDF_S_L_VALUE, ESDF_S_L_PSINDX, ESDF_S_B_NAMLNG): Ditto.
4331 1.1 christos (EGST_S_W_FLAGS, EGST_S_Q_LP_1, EGST_S_Q_LP_2, EGST_S_L_PSINDX,
4332 1.1 christos EGST_S_B_NAMLNG): Ditto.
4333 1.1 christos (ESRF_S_B_NAMLNG): Ditto.
4334 1.1 christos (ETIR_S_C_HEADER_SIZE): Ditto.
4335 1.1 christos (EGPS_S_V_ALLOC_64BIT): Ditto.
4336 1.1 christos (DST_S_C_EPILOG): Ditto.
4337 1.1 christos (DST_S_C_SRC_SETLNUM_L, DST_S_C_SRC_SETLNUM_W) : Ditto.
4338 1.1 christos (DST_S_C_SRC_INCRLNUM_B): Ditto.
4339 1.1 christos (DST_S_B_PCLINE_UNSBYTE, DST_S_W_PCLINE_UNSWORD): Ditto.
4340 1.1 christos (DST_S_L_PCLINE_UNSLONG): Ditto.
4341 1.1 christos (DST_S_B_MODBEG_NAME, DST_S_L_RTNBEG_ADDRESS) : Ditto
4342 1.1 christos (DST_S_B_RTNBEG_NAME, DST_S_L_RTNEND_SIZE): Ditto
4343 1.1 christos (DST_S_C_SOURCE_HEADER_SIZE): Ditto.
4344 1.1 christos (DST_S_B_SRC_DF_LENGTH, DST_S_W_SRC_DF_FILEID): Ditto.
4345 1.1 christos (DST_S_B_SRC_DF_FILENAME, DST_S_B_SRC_UNSBYTE): Ditto.
4346 1.1 christos (DST_S_B_SRC_UNSBYTE): Ditto.
4347 1.1 christos (DST_S_W_SRC_UNSWORD, DST_S_L_SRC_UNSLONG): Ditto.
4348 1.1 christos Add prototypes.
4349 1.1 christos (vms_section, vms_reloc): Remove types.
4350 1.1 christos (hdr_struc): Replaced by ...
4351 1.1 christos (hdr_struct): ... new type.
4352 1.1 christos (EMH_S_W_HDRTYP, EMH_S_B_STRLVL, EMH_S_L_ARCH1): New constants.
4353 1.1 christos (EMH_S_L_ARCH2, EMH_S_L_RECSIZ, EMH_S_B_NAMLNG): Ditto.
4354 1.1 christos (EMH_DATE_LENGTH): Ditto.
4355 1.1 christos (eom_struc): Replaced by ...
4356 1.1 christos (eom_struct): ... new type.
4357 1.1 christos (EEOM_S_L_TOTAL_LPS, EEOM_S_W_COMCOD, EEOM_S_B_TFRFLG): New constants.
4358 1.1 christos (EEOM_S_L_PSINDX, EEOM_S_L_TFRADR): Ditto.
4359 1.1 christos (EIHD_S_K_MAJORID, EIHD_S_K_MINORID, EIHD_S_K_EXE): Ditto.
4360 1.1 christos (EIHD_S_L_SIZE, EIHD_S_L_ISDOFF, EIHD_S_L_SYMDBGOFF): Ditto.
4361 1.1 christos (EIHD_S_Q_SYMVVA, EIHD_S_L_IMGTYPE): Ditto.
4362 1.1 christos (EISD_S_L_EISDSIZE, EISD_S_L_SECSIZE, EISD_S_Q_VIR_ADDR): Ditto.
4363 1.1 christos (EISD_S_L_FLAGS, EISD_S_L_VBN, EISD_S_R_CONTROL): Ditto.
4364 1.1 christos (EISD_S_L_IDENT, EISD_S_T_GBLNAM): Ditto.
4365 1.1 christos (EISD_S_M_GBL, EISD_S_M_CRF, EISD_S_M_DZRO, EISD_S_M_WRT): Ditto.
4366 1.1 christos (EISD_S_M_INITALCODE, EISD_S_M_BASED, EISD_S_M_FIXUPVEC): Ditto.
4367 1.1 christos (EISD_S_M_RESIDENT, EISD_S_M_VECTOR, EISD_S_M_PROTECT): Ditto.
4368 1.1 christos (EISD_S_M_LASTCLU, EISD_S_M_EXE, EISD_S_M_NONSHRADR): Ditto.
4369 1.1 christos (EISD_S_M_QUAD_LENGTH, EISD_S_M_ALLOC_64BIT): Ditto.
4370 1.1 christos (EIHS_S_L_DSTVBN, EIHS_S_L_DSTSIZE, EIHS_S_L_GSTVBN): Ditto.
4371 1.1 christos (EIHS_S_L_GSTSIZE, EIHS_S_L_DMTVBN, EIHS_S_L_DMTBYTES): Ditto.
4372 1.1 christos (DBG_S_L_DMT_MODBEG, DBG_S_L_DST_SIZE): Ditto.
4373 1.1 christos (DBG_S_W_DMT_PSECT_COUNT, DBG_S_C_DMT_HEADER_SIZE): Ditto.
4374 1.1 christos (DBG_S_L_DMT_PSECT_START, DBG_S_L_DMT_PSECT_LENGTH)
4375 1.1 christos (DBG_S_C_DMT_PSECT_SIZE): Ditto.
4376 1.1 christos (enum file_type_enum): New type.
4377 1.1 christos (struct location_struct): Removed.
4378 1.1 christos (struct fileinfo, struct srecinfo, struct lineinfo): New types.
4379 1.1 christos (struct funcinfo, struct module): Ditto.
4380 1.1 christos (struct vms_private_data_struct): Update fields.
4381 1.1 christos (struct vms_section_data_struct): New type.
4382 1.1 christos
4383 1.1 christos * vms.c: Update copyright year, fix comments,
4384 1.1 christos Fix includes for DECC, add prototypes.
4385 1.1 christos (vms_initialize): Use bfd_alloc instead of bfd_zalloc and remove
4386 1.1 christos some initializers.
4387 1.1 christos Use flavour to set is_vax, location_stack is removed.
4388 1.1 christos (struct pair): Declare.
4389 1.1 christos (fill_section_ptr): Initialize variables at declaration.
4390 1.1 christos Add guard to set SECTION_SYM flag, handlde und section.
4391 1.1 christos (vms_fixup_sections): Use struct pair for fill_section_ptr argument.
4392 1.1 christos (_bfd_vms_slurp_object_records): New function, replaces previous
4393 1.1 christos vms_object_p.
4394 1.1 christos (vms_slurp_module): New function.
4395 1.1 christos (vms_slurp_image): Ditto.
4396 1.1 christos (vms_object_p): Complete rewrite.
4397 1.1 christos (vms_mkobject): Use is_vax field to slect architecture.
4398 1.1 christos (free_reloc_stream): New function.
4399 1.1 christos (vms_convert_to_var): Ditto.
4400 1.1 christos (vms_convert_to_var_1): Ditto.
4401 1.1 christos (vms_convert_to_var_unix_filename): Ditto.
4402 1.1 christos (vms_close_and_cleanup): Call free_reloc_stream, convert file to
4403 1.1 christos VAR format on VMS.
4404 1.1 christos (vms_new_section_hook): Set alignment to 0, allocate private data.
4405 1.1 christos (vms_get_section_contents): Load content.
4406 1.1 christos (vms_get_symbol_info): Handle undefined section.
4407 1.1 christos (vms_find_nearest_line): Handle.
4408 1.1 christos (alloc_reloc_stream): New function.
4409 1.1 christos (vms_slurp_reloc_table): Ditto.
4410 1.1 christos (vms_get_reloc_upper_bound): Make it real.
4411 1.1 christos (vms_canonicalize_reloc): Do the real work.
4412 1.1 christos (alpha_howto_table): Add ALPHA_R_NOP, ALPHA_R_BSR, ALPHA_R_LDA,
4413 1.1 christos ALPHA_R_BOH.
4414 1.1 christos (vms_bfd_reloc_type_lookup): Handle NOP, BSR, LDA and BOH.
4415 1.1 christos (vms_set_arch_mach): Check arch.
4416 1.1 christos (vms_set_section_contents): Copy the content after allocation.
4417 1.1 christos (vms_alpha_vec): Update object flags.
4418 1.1 christos
4419 1.1 christos * vms-tir.c: Update copyright year, fix comments,
4420 1.1 christos add prototypes for new functions.
4421 1.1 christos (dst_define_location): New function.
4422 1.1 christos (dst_restore_location): New function.
4423 1.1 christos (dst_retrieve_location): New function.
4424 1.1 christos (dst_check_allocation): New function.
4425 1.1 christos (image_dump): Call dst_check_allocation.
4426 1.1 christos (image_write_b): Ditto.
4427 1.1 christos (image_write_w): Ditto.
4428 1.1 christos (image_write_l): Ditto.
4429 1.1 christos (image_write_q): Ditto.
4430 1.1 christos (cmd_name): Handle STA_LW, STA_QW, STO_OFF, STO_IMM, STO_IMMR, STO_LW,
4431 1.1 christos STO_QW, OPR_ADD, CTL_SETRB, STC_LP_PSB, CTL_DFLOC, CTL_STLOC,
4432 1.1 christos CTL_STKDL.
4433 1.1 christos Call error handler instead of abort if name is not known.
4434 1.1 christos (etir_sta): Add quarter_relocs argument and set it.
4435 1.1 christos Fix cast.
4436 1.1 christos (etir_sto): Ditto.
4437 1.1 christos (etir_opr): Ditto, return FALSE in case of error.
4438 1.1 christos (etir_ctl): Add quarter_relocs argument and set it, fix cast.
4439 1.1 christos Fix CTL_DFLOC, CTL_STLOC, CTL_STKDL.
4440 1.1 christos (etir_stc): Add quarter_relocs argument and set it, fix cast.
4441 1.1 christos Fix STC_LP, STC_LP_PSB, STC_GBL and STC_CGA.
4442 1.1 christos Handle STC_LP_PSB, STC_BSR_GBL, STC_LDA_GBL, STC_BOH_GBL.
4443 1.1 christos Move STC_NOP_PS, STC_BSR_PS, STC_LDA_PS, STC_BOH_PS, STC_NBH_PS.
4444 1.1 christos Return FALSE in case of error.
4445 1.1 christos (tir_sta): Change sign of psect.
4446 1.1 christos (tir_ctl): Ditto.
4447 1.1 christos (tir_cmd): Fix cast. Makes tir_table static const.
4448 1.1 christos (etir_cmd): Add quarter_relocs argument, makes etir_table const,
4449 1.1 christos add argument to explain.
4450 1.1 christos (analyze_etir): Initialize maxptr, add quarter_relocs
4451 1.1 christos declaration, move some declarations into inner scopes.
4452 1.1 christos Handle quarter_relocs and STO_IMM.
4453 1.1 christos (_bfd_vms_slurp_tir): Use constant instead of hard-coded values.
4454 1.1 christos (_bfd_vms_slurp_relocs): New function.
4455 1.1 christos (_bfd_vms_decode_relocs): New function.
4456 1.1 christos (sto_imm): Rewritten.
4457 1.1 christos (start_first_etbt_record): New function.
4458 1.1 christos (start_another_etbt_record): Ditto.
4459 1.1 christos (etir_output_check): Ditto.
4460 1.1 christos (defer_reloc_p): Ditto.
4461 1.1 christos (_bfd_vms_write_tir): Remove nextoffset, convert a while-loop to
4462 1.1 christos a for-loop. Correctly deals with contents, deals with .vmsdebug,
4463 1.1 christos rewritte relocations handling.
4464 1.1 christos (_bfd_vms_write_tbt): Removed.
4465 1.1 christos (_bfd_vms_write_dbg): Ditto.
4466 1.1 christos
4467 1.1 christos * vms-misc.c: Update copyright year, Fix comments.
4468 1.1 christos (_bfd_vms_get_header_values): Use 'size' instead of 'length'.
4469 1.1 christos (maybe_adjust_record_pointer_for_object): New function.
4470 1.1 christos (_bfd_vms_get_first_record): New function, replaces ...
4471 1.1 christos (_bfd_vms_get_record): .. removed.
4472 1.1 christos (_bfd_vms_get_object_record): New function.
4473 1.1 christos (_bfd_vms_get_object_record): New function.
4474 1.1 christos (vms_get_remaining_object_record): New function, replaces ...
4475 1.1 christos (_bfd_vms_get_next_record): ... removed.
4476 1.1 christos (add_new_contents): Removed.
4477 1.1 christos (_bfd_save_vms_section): Removed.
4478 1.1 christos (_bfd_get_vms_section): Removed.
4479 1.1 christos (_bfd_vms_output_flush): Write in VAR format.
4480 1.1 christos (new_symbol): Don't make UND section.
4481 1.1 christos
4482 1.1 christos * vms-hdr.c: Update copyright year, update list of record handled.
4483 1.1 christos (_bfd_vms_slurp_hdr): rec_length renamed to rec_size.
4484 1.1 christos (_bfd_vms_write_hdr): Strip vms and unix patches,
4485 1.1 christos add comments, truncate module name at 31 characters,
4486 1.1 christos use constants instead of hard-coded value,
4487 1.1 christos write BFD version instead of a fixed string.
4488 1.1 christos (_bfd_vms_slurp_ihd): New function.
4489 1.1 christos (_bfd_vms_slurp_isd): Ditto.
4490 1.1 christos (_bfd_vms_slurp_ihs): Ditto.
4491 1.1 christos (new_module): Ditto.
4492 1.1 christos (parse_module): Ditto
4493 1.1 christos (build_module_list): Ditto.
4494 1.1 christos (module_find_nearest_line): Ditto.
4495 1.1 christos (_bfd_vms_find_nearest_dst_line): Ditto.
4496 1.1 christos (vms_slurp_debug): Ditto.
4497 1.1 christos (_bfd_vms_slurp_dbg): Ditto.
4498 1.1 christos (_bfd_vms_slurp_tbt): Ditto.
4499 1.1 christos (_bfd_vms_write_dbg): Ditto.
4500 1.1 christos (_bfd_vms_write_tbt): Ditto.
4501 1.1 christos
4502 1.1 christos * vms-gsd.c: Update copyright year, update list of records handled.
4503 1.1 christos (EVAX_LITERALS_NAME): New macro.
4504 1.1 christos (evax_section_flags): Add an entry for EVAX_LITERALS_NAME.
4505 1.1 christos (gpsflagdesc, gsyflagdesc): Moved out of _bfd_vms_slurp_gsd.
4506 1.1 christos (register_universal_symbol): New function and prototype.
4507 1.1 christos (_bfd_vms_slurp_gsd): Fix indentations and casts,
4508 1.1 christos improve debug messages,
4509 1.1 christos use constants instead of hard-coded value,
4510 1.1 christos fix missing endianness conversion,
4511 1.1 christos handle global symbol (SYMG).
4512 1.1 christos (bfd_vms_set_section_flags): New function.
4513 1.1 christos (_bfd_vms_write_gsd): Don't write .vmsdebug section,
4514 1.1 christos handle section literals,
4515 1.1 christos fix indentation,
4516 1.1 christos handle section bfd and vms flags,
4517 1.1 christos don't output LIB$INITIALIZE symbol,
4518 1.1 christos fix handling of weak symbols,
4519 1.1 christos fix evax vs vax procedure descriptor,
4520 1.1 christos handle absolute symbols.
4521 1.1 christos
4522 1.1 christos * reloc.c (BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_BSR,
4523 1.1 christos BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BOH): New relocations.
4524 1.1 christos
4525 1.1 christos * makefile.vms (DEFS): Fix flags for VMS.
4526 1.1 christos
4527 1.1 christos * bfdio.c (real_fopen): Handle multiple VMS fopen attributes.
4528 1.1 christos
4529 1.1 christos * bfd-in2.h: Regenerated.
4530 1.1 christos * libbfd.h: Regenerated.
4531 1.1 christos
4532 1.1 christos 2009-02-20 Cary Coutant <ccoutant (a] google.com>
4533 1.1 christos
4534 1.1 christos * vmsutil.c (vms_file_stats_name): Fix incorrect use of st_mtime
4535 1.1 christos in struct stat.
4536 1.1 christos
4537 1.1 christos 2009-18-02 Dave Korn <dave.korn.cygwin (a] gmail.com>
4538 1.1 christos
4539 1.1 christos PR gas/7059
4540 1.1 christos * coffcode.h (coff_write_object_contents): Don't let the string
4541 1.1 christos table offset overflow the s_name field when using long section names.
4542 1.1 christos
4543 1.1 christos 2009-18-02 Dave Korn <dave.korn.cygwin (a] gmail.com>
4544 1.1 christos
4545 1.1 christos * coff-alpha.c (alpha_ecoff_backend_data): Initialise fields which
4546 1.1 christos control long section name handling with ECOFF_NO_LONG_SECTION_NAMES.
4547 1.1 christos * coff-mips.c (mips_ecoff_backend_data): Likewise.
4548 1.1 christos * coff-rs6000.c (bfd_xcoff_backend_data): Initialise fields which
4549 1.1 christos control long section name handling with XCOFF_NO_LONG_SECTION_NAMES.
4550 1.1 christos (bfd_pmac_xcoff_backend_data): Likewise.
4551 1.1 christos * coff64-rs6000.c (bfd_xcoff_backend_data): Likewise.
4552 1.1 christos (bfd_xcoff_aix5_backend_data): Likewise.
4553 1.1 christos (xcoff64_write_object_contents): Delete unused long_section_names
4554 1.1 christos local variable.
4555 1.1 christos * coff-sh.c (bfd_coff_small_swap_table): Initialise long section
4556 1.1 christos name members using COFF_DEFAULT_LONG_SECTION_NAMES and make entire
4557 1.1 christos struct non-const.
4558 1.1 christos * coffcode.h (documentation): Update to describe long section names.
4559 1.1 christos (COFFLONGSECTIONCATHELPER): New helper macro.
4560 1.1 christos (BLANKOR1TOODD): Likewise.
4561 1.1 christos (COFF_ENABLE_LONG_SECTION_NAMES): Likewise.
4562 1.1 christos (COFF_LONG_SECTION_NAMES_SETTER): Likewise.
4563 1.1 christos (COFF_DEFAULT_LONG_SECTION_NAMES): Likewise.
4564 1.1 christos (bfd_coff_set_long_section_names_allowed): New function.
4565 1.1 christos (bfd_coff_set_long_section_names_disallowed): Likewise.
4566 1.1 christos (struct bfd_coff_backend_data): Add new backend hook function
4567 1.1 christos pointer _bfd_coff_set_long_section_names.
4568 1.1 christos (bfd_coff_set_long_section_names): New backend hook.
4569 1.1 christos (coff_write_object_contents): Only generate long section names if
4570 1.1 christos bfd_coff_long_section_names() indicates they are currently enabled.
4571 1.1 christos (bfd_coff_std_swap_table): Make non-const, and initialise long
4572 1.1 christos section name fields using COFF_DEFAULT_LONG_SECTION_NAMES.
4573 1.1 christos (ticoff0_swap_table): Likewise to both.
4574 1.1 christos (ticoff1_swap_table): Again, likewise to both.
4575 1.1 christos * coffgen.c (make_a_section_from_file): Allow long section names
4576 1.1 christos as inputs even if not currently allowed for outputs.
4577 1.1 christos * ecoff.c (_bfd_ecoff_no_long_sections): New function.
4578 1.1 christos * efi-app-ia32.c (COFF_LONG_SECTION_NAMES): Define to 0, not blank.
4579 1.1 christos * efi-app-ia64.c (COFF_LONG_SECTION_NAMES): Likewise.
4580 1.1 christos * efi-app-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise.
4581 1.1 christos * efi-bsdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise.
4582 1.1 christos * efi-bsdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise.
4583 1.1 christos * efi-bsdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise.
4584 1.1 christos * efi-rtdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise.
4585 1.1 christos * efi-rtdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise.
4586 1.1 christos * efi-rtdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise.
4587 1.1 christos * pei-arm.c (COFF_LONG_SECTION_NAMES): Likewise.
4588 1.1 christos * pei-i386.c (COFF_LONG_SECTION_NAMES): Likewise.
4589 1.1 christos * pei-mcore.c (COFF_LONG_SECTION_NAMES): Likewise.
4590 1.1 christos * pei-mips.c (COFF_LONG_SECTION_NAMES): Likewise.
4591 1.1 christos * pei-ppc.c (COFF_LONG_SECTION_NAMES): Likewise.
4592 1.1 christos * pei-sh.c (COFF_LONG_SECTION_NAMES): Likewise.
4593 1.1 christos * pei-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise.
4594 1.1 christos * libcoff-in.h: Update copyright year to cause updated copyright
4595 1.1 christos year in generated libcoff.h, and fix typo.
4596 1.1 christos * libcoff.h: Regenerated.
4597 1.1 christos * libecoff.h (ECOFF_NO_LONG_SECTION_NAMES): New macro.
4598 1.1 christos (_bfd_ecoff_no_long_sections): Add prototype.
4599 1.1 christos * libxcoff.h (XCOFF_NO_LONG_SECTION_NAMES): New macro.
4600 1.1 christos * pe-mips.c (COFF_LONG_SECTION_NAMES): Define empty if not already
4601 1.1 christos defined by an including .c file.
4602 1.1 christos * ticoff.h (ticoff0_swap_table): Make non-const, and initialise
4603 1.1 christos long section name fields using COFF_DEFAULT_LONG_SECTION_NAMES.
4604 1.1 christos (ticoff1_swap_table): Likewise to both.
4605 1.1 christos
4606 1.1 christos 2009-02-18 Christophe Lyon <christophe.lyon (a] st.com>
4607 1.1 christos
4608 1.1 christos * elf32-arm.c (arm_build_one_stub): Fix relocation target for pic
4609 1.1 christos stub. Catch default case error.
4610 1.1 christos (arm_map_one_stub): Add missing Thumb mapping symbol.
4611 1.1 christos
4612 1.1 christos 2009-02-18 Bjoern Haase <bjoern.m.haase (a] web.de>
4613 1.1 christos
4614 1.1 christos PR 9841
4615 1.1 christos * elf32-avr.c: Handle case where no local symbos exist correctly.
4616 1.1 christos
4617 1.1 christos 2009-02-16 Christophe Lyon <christophe.lyon (a] st.com>
4618 1.1 christos
4619 1.1 christos bfd/
4620 1.1 christos * elf32-arm.c (arm_long_branch_stub,
4621 1.1 christos arm_thumb_v4t_long_branch_stub,
4622 1.1 christos arm_thumb_thumb_long_branch_stub,
4623 1.1 christos arm_thumb_arm_v4t_long_branch_stub,
4624 1.1 christos arm_thumb_arm_v4t_short_branch_stub,
4625 1.1 christos arm_pic_long_branch_stub):
4626 1.1 christos Renamed to elf32_arm_stub_long_branch_any_any,
4627 1.1 christos elf32_arm_stub_long_branch_v4t_arm_thumb,
4628 1.1 christos elf32_arm_stub_long_branch_thumb_only,
4629 1.1 christos elf32_arm_stub_long_branch_v4t_thumb_arm,
4630 1.1 christos elf32_arm_stub_short_branch_v4t_thumb_arm,
4631 1.1 christos elf32_arm_stub_long_branch_any_any_pic.
4632 1.1 christos (arm_stub_long_branch, arm_thumb_v4t_stub_long_branch,
4633 1.1 christos arm_thumb_thumb_stub_long_branch,
4634 1.1 christos arm_thumb_arm_v4t_stub_long_branch,
4635 1.1 christos arm_thumb_arm_v4t_stub_short_branch, arm_stub_pic_long_branch):
4636 1.1 christos Renamed to arm_stub_long_branch_any_any,
4637 1.1 christos arm_stub_long_branch_v4t_arm_thumb,
4638 1.1 christos arm_stub_long_branch_thumb_only,
4639 1.1 christos arm_stub_long_branch_v4t_thumb_arm,
4640 1.1 christos arm_stub_short_branch_v4t_thumb_arm,
4641 1.1 christos arm_stub_long_branch_any_any_pic.
4642 1.1 christos
4643 1.1 christos 2009-02-15 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
4644 1.1 christos
4645 1.1 christos * elf-hppa.h (elf_hppa_final_link_relocate): Correct addend value used
4646 1.1 christos in branch offset check.
4647 1.1 christos
4648 1.1 christos 2009-02-15 Alan Modra <amodra (a] bigpond.net.au>
4649 1.1 christos
4650 1.1 christos * elf64-ppc.c (struct _ppc64_elf_section_data): Delete t_symndx,
4651 1.1 christos add toc.symndx and toc.add.
4652 1.1 christos (ppc64_elf_check_relocs): Don't set htab->tls_get_addr here.
4653 1.1 christos Set up toc.add.
4654 1.1 christos (get_tls_mask): Add toc_addend param, set from toc.add. Adjust all
4655 1.1 christos callers.
4656 1.1 christos (ppc64_elf_tls_setup): Set htab->tls_get_addr and tls_get_addr_fd.
4657 1.1 christos (branch_reloc_hash_match): New function, extracted from..
4658 1.1 christos (ppc64_elf_tls_optimize): ..here.
4659 1.1 christos (ppc64_elf_relocate_section): Properly set addends when optimizing
4660 1.1 christos tls sequences. Avoid unnecessary reading and writing of insns.
4661 1.1 christos Only redo reloc when symbol changed. Bypass symbol checks when
4662 1.1 christos using tlsld_got.
4663 1.1 christos * elf32-ppc.c (ppc_elf_tls_setup): Correct comment.
4664 1.1 christos (branch_reloc_hash_match): New function, extracted from..
4665 1.1 christos (ppc_elf_tls_optimize): ..here.
4666 1.1 christos (ppc_elf_relocate_section): Avoid unnecessary reading of insns.
4667 1.1 christos Don't clear addend on zapped __tls_get_addr reloc.
4668 1.1 christos
4669 1.1 christos 2009-02-12 Nick Clifton <nickc (a] redhat.com>
4670 1.1 christos
4671 1.1 christos PR 9827
4672 1.1 christos * elflink.c (bfd_elf_final_link): When counting the relocations,
4673 1.1 christos if the header size has not been set yet then assume that it will
4674 1.1 christos match the output section's reloc type.
4675 1.1 christos
4676 1.1 christos 2009-02-12 Nathan Sidwell <nathan (a] codesourcery.com>
4677 1.1 christos
4678 1.1 christos * elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for
4679 1.1 christos relocatable link.
4680 1.1 christos
4681 1.1 christos 2009-02-09 Alan Modra <amodra (a] bigpond.net.au>
4682 1.1 christos
4683 1.1 christos * elf32-spu.c (spu_elf_find_overlays): Call bfd_set_error on errors.
4684 1.1 christos (find_function): Likewise.
4685 1.1 christos (pasted_function): Don't error if no prior function found.
4686 1.1 christos (discover_functions): Revert 2008-12-10 change. Extend first
4687 1.1 christos function range to start of section.
4688 1.1 christos
4689 1.1 christos 2009-02-08 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
4690 1.1 christos
4691 1.1 christos * elf64-hppa.c: Remove PARAMS macro. Replace PTR with void *. Convert
4692 1.1 christos functions to C90.
4693 1.1 christos * elf64-hppa.h: Likewise.
4694 1.1 christos
4695 1.1 christos 2009-02-06 Joseph Myers <joseph (a] codesourcery.com>
4696 1.1 christos
4697 1.1 christos * elfxx-mips.c (_bfd_mips_elf_section_processing): Remove special
4698 1.1 christos .sbss handling.
4699 1.1 christos
4700 1.1 christos 2009-02-04 Alan Modra <amodra (a] bigpond.net.au>
4701 1.1 christos
4702 1.1 christos * elf32-spu.c (spu_elf_build_stubs): Define __icache_neg_log2_linesize.
4703 1.1 christos Define __icache_ptr_handler*, not __icache_ptr___icache_bi_handler*.
4704 1.1 christos
4705 1.1 christos 2009-02-03 Sandip Matte <sandip (a] rmicorp.com>
4706 1.1 christos
4707 1.1 christos * aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr.
4708 1.1 christos * archures.c (bfd_mach_mips_xlr): Define.
4709 1.1 christos * bfd-in2.h: Regenerate.
4710 1.1 christos * cpu-mips.c (I_xlr): Define.
4711 1.1 christos (arch_info_struct): Add XLR entry.
4712 1.1 christos * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR.
4713 1.1 christos (mips_set_isa_flags): Handle bfd_mach_mips_xlr
4714 1.1 christos (mips_mach_extensions): Add XLR entry.
4715 1.1 christos
4716 1.1 christos 2009-02-03 Eric B. Weddington <eric.weddington (a] atmel.com>
4717 1.1 christos
4718 1.1 christos * elf32-avr.c (avr_final_link_relocate): Allow avr25 to wraparound.
4719 1.1 christos
4720 1.1 christos 2009-02-03 Carlos O'Donell <carlos (a] codesourcery.com>
4721 1.1 christos
4722 1.1 christos * configure.in: AC_SUBST pdfdir.
4723 1.1 christos * Makefile.am: Add install-pdf, install-pdf-am
4724 1.1 christos and install-pdf-recursive targets. Define pdfdir.
4725 1.1 christos * doc/Makefile.am: Define pdf__strip_dir. Add
4726 1.1 christos install-pdf and install-pdf-am targets.
4727 1.1 christos * po/Make-in: Add install-pdf target.
4728 1.1 christos * configure: Regenerate.
4729 1.1 christos * Makefile.in: Regenerate
4730 1.1 christos * doc/Makefile.in: Regenerate.
4731 1.1 christos
4732 1.1 christos 2009-02-03 Maxim Kuvyrkov <maxim (a] codesourcery.com>
4733 1.1 christos
4734 1.1 christos * bfd-in2.h: Regenerate.
4735 1.1 christos * elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and
4736 1.1 christos fields from n_entries to n_slots where appropriate, update comments.
4737 1.1 christos (HOWTO): Add TLS relocations.
4738 1.1 christos (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*.
4739 1.1 christos (enum elf_m68k_got_offset_size): New enum.
4740 1.1 christos (struct elf_m68k_got_entry.type): Move field to ...
4741 1.1 christos (struct elf_m68k_got_entry_key): ... here. Update all uses.
4742 1.1 christos (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static
4743 1.1 christos functions.
4744 1.1 christos (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static
4745 1.1 christos functions.
4746 1.1 christos (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries
4747 1.1 christos fields into n_entries array. Update comments.
4748 1.1 christos (elf_m68k_init_got): Simplify, update all uses.
4749 1.1 christos (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update.
4750 1.1 christos (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot
4751 1.1 christos GOT entries; update name, update all uses.
4752 1.1 christos (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto.
4753 1.1 christos (elf_m68k_get_got_entry): Update.
4754 1.1 christos (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries,
4755 1.1 christos simplify.
4756 1.1 christos (elf_m68k_remove_got_entry_type): Simplify.
4757 1.1 christos (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update.
4758 1.1 christos (elf_m68k_can_merge_gots): Update.
4759 1.1 christos (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update.
4760 1.1 christos (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot
4761 1.1 christos GOT entries, simplify.
4762 1.1 christos (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same.
4763 1.1 christos (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff
4764 1.1 christos field, remove obsoleted local_n_entries field.
4765 1.1 christos (elf_m68k_partition_multi_got_2): New static function.
4766 1.1 christos (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it;
4767 1.1 christos update.
4768 1.1 christos (elf_m68k_remove_got_entry_type): Update.
4769 1.1 christos (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
4770 1.1 christos (elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary
4771 1.1 christos update of sgot->size and srelgot->size.
4772 1.1 christos (elf_m68k_gc_sweep_hook): Update.
4773 1.1 christos (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
4774 1.1 christos (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle
4775 1.1 christos TLS relocations.
4776 1.1 christos * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations.
4777 1.1 christos * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.
4778 1.1 christos
4779 1.1 christos 2009-02-02 DJ Delorie <dj (a] redhat.com>
4780 1.1 christos
4781 1.1 christos * elf32-mep.c (config_names): Regenerate configuration.
4782 1.1 christos
4783 1.1 christos 2009-02-02 Alan Modra <amodra (a] bigpond.net.au>
4784 1.1 christos
4785 1.1 christos * elf-bfd.h (bfd_elf_get_str_section): Don't declare.
4786 1.1 christos (bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise.
4787 1.1 christos * elf.c (bfd_elf_get_str_section): Make static.
4788 1.1 christos (bfd_elf_find_section): Delete.
4789 1.1 christos * libbfd.h: Regenerate.
4790 1.1 christos
4791 1.1 christos 2009-02-01 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4792 1.1 christos
4793 1.1 christos * elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove.
4794 1.1 christos (_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs.
4795 1.1 christos
4796 1.1 christos 2009-01-31 Alan Modra <amodra (a] bigpond.net.au>
4797 1.1 christos
4798 1.1 christos * elflink.c (on_needed_list): New function.
4799 1.1 christos (elf_link_add_object_symbols): Link in --as-needed libs if they
4800 1.1 christos satisfy undefined symbols in other libs.
4801 1.1 christos
4802 1.1 christos 2009-01-30 Julian Brown <julian (a] codesourcery.com>
4803 1.1 christos
4804 1.1 christos * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with
4805 1.1 christos EXEC_P or DYNAMIC flags, and skip sections which are being linked
4806 1.1 christos with --just-symbols (-R).
4807 1.1 christos
4808 1.1 christos 2009-01-29 Adam Nemet <anemet (a] caviumnetworks.com>
4809 1.1 christos
4810 1.1 christos * dwarf2.c (read_rangelist): Use read_address to read low_pc and
4811 1.1 christos high_pc in order to properly sign-extend VMAs.
4812 1.1 christos
4813 1.1 christos 2009-01-29 Daniel Jacobowitz <dan (a] codesourcery.com>
4814 1.1 christos Mark Shinwell <shinwell (a] codesourcery.com>
4815 1.1 christos Catherine Moore <clm (a] codesourcery.com>
4816 1.1 christos
4817 1.1 christos * elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments.
4818 1.1 christos
4819 1.1 christos 2009-01-28 Catherine Moore <clm (a] codesourcery.com>
4820 1.1 christos
4821 1.1 christos * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and
4822 1.1 christos SEC_LOAD for dynamic relocation sections.
4823 1.1 christos
4824 1.1 christos 2009-01-27 Hans-Peter Nilsson <hp (a] axis.com>
4825 1.1 christos
4826 1.1 christos * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table
4827 1.1 christos (info)->tls_size, not elf_hash_table (info)->tls_sec->size for
4828 1.1 christos the size of local TLS data.
4829 1.1 christos
4830 1.1 christos 2009-01-27 Andreas Schwab <schwab (a] suse.de>
4831 1.1 christos
4832 1.1 christos * mach-o.c (bfd_mach_o_archive_p): Restrict the number of
4833 1.1 christos architectures in the archive.
4834 1.1 christos
4835 1.1 christos 2009-01-27 Hans-Peter Nilsson <hp (a] axis.com>
4836 1.1 christos
4837 1.1 christos * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL>
4838 1.1 christos <R_CRIS_32_DTPREL>: Correct relocation value.
4839 1.1 christos
4840 1.1 christos * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8>
4841 1.1 christos <R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined
4842 1.1 christos symbols with non-default visibility.
4843 1.1 christos
4844 1.1 christos 2009-01-26 Nathan Sidwell <nathan (a] codesourcery.com>
4845 1.1 christos
4846 1.1 christos * elf32-ppc.c (ppc_elf_relax_section): Add space for relocs
4847 1.1 christos describing the trampolines.
4848 1.1 christos (ppc_elf_relocate_section): Update relocs to describe the
4849 1.1 christos trampolines.
4850 1.1 christos
4851 1.1 christos 2009-01-25 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
4852 1.1 christos
4853 1.1 christos * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that
4854 1.1 christos branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F
4855 1.1 christos and R_PARISC_PCREL12F relocations.
4856 1.1 christos
4857 1.1 christos 2009-01-24 Alan Modra <amodra (a] bigpond.net.au>
4858 1.1 christos
4859 1.1 christos PR 6022
4860 1.1 christos * elflink.c (find_version_for_sym): New function split out from,
4861 1.1 christos but without export_dynamic test, ..
4862 1.1 christos (_bfd_elf_link_assign_sym_version): ..here.
4863 1.1 christos (_bfd_elf_export_symbol): Use it.
4864 1.1 christos
4865 1.1 christos 2009-01-23 Alan Modra <amodra (a] bigpond.net.au>
4866 1.1 christos
4867 1.1 christos * elf-bfd.h (struct elf_assign_sym_version_info): Delete.
4868 1.1 christos (struct elf_info_failed, struct elf_find_verdep_info): Move to..
4869 1.1 christos * elflink.c: ..here, somewhat modified.
4870 1.1 christos * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol,
4871 1.1 christos _bfd_elf_link_find_version_dependencies,
4872 1.1 christos _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section,
4873 1.1 christos _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol,
4874 1.1 christos _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't
4875 1.1 christos declare..
4876 1.1 christos * elflink.c: ..and make static here.
4877 1.1 christos (_bfd_elf_link_find_version_dependencies): Adjust for removal
4878 1.1 christos of output_bfd from struct elf_find_verdep_info.
4879 1.1 christos (_bfd_elf_link_assign_sym_version): Similarly adjust to use
4880 1.1 christos struct elf_info_failed.
4881 1.1 christos (bfd_elf_size_dynamic_sections): Adjust.
4882 1.1 christos
4883 1.1 christos 2009-01-22 Alan Modra <amodra (a] bigpond.net.au>
4884 1.1 christos
4885 1.1 christos PR 6832
4886 1.1 christos * dwarf2.c (find_line): Don't update stash->sec_info_ptr until
4887 1.1 christos after comp_unit_find_line call.
4888 1.1 christos
4889 1.1 christos 2009-01-21 Nick Clifton <nickc (a] redhat.com>
4890 1.1 christos
4891 1.1 christos PR 9769
4892 1.1 christos * vmsutil.c (vms_file_stats_name): Remove use of unsupported
4893 1.1 christos tm_gmtoff field in struct tm.
4894 1.1 christos
4895 1.1 christos 2009-01-21 Alan Modra <amodra (a] bigpond.net.au>
4896 1.1 christos
4897 1.1 christos * elf32-spu.h (struct spu_elf_params): Add non_ia_text.
4898 1.1 christos * elf32-spu.c (mark_overlay_section): Only include .text.ia.*
4899 1.1 christos sections in soft-icache lines unless non_ia_text. Don't add
4900 1.1 christos rodata if doing so would exceed line size.
4901 1.1 christos
4902 1.1 christos 2009-01-19 Hans-Peter Nilsson <hp (a] axis.com>
4903 1.1 christos
4904 1.1 christos * elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol
4905 1.1 christos types than bfd_link_hash_indirect, before early return, call
4906 1.1 christos _bfd_elf_link_hash_copy_indirect.
4907 1.1 christos
4908 1.1 christos 2009-01-19 Andrew Stubbs <ams (a] codesourcery.com>
4909 1.1 christos
4910 1.1 christos * elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering.
4911 1.1 christos * elf-bfd.h (elf_backend_data): Add obj_attrs_order.
4912 1.1 christos * elf32-arm.c (elf32_arm_obj_attrs_order): New function.
4913 1.1 christos (elf_backend_obj_attrs_order): New define.
4914 1.1 christos * elfxx-target.h (elf_backend_obj_attrs_order): New define.
4915 1.1 christos (elfNN_bed): Add elf_backend_obj_attrs_order.
4916 1.1 christos
4917 1.1 christos 2009-01-19 Andrew Stubbs <ams (a] codesourcery.com>
4918 1.1 christos
4919 1.1 christos * elf-attrs.c (is_default_attr): Substitute magic numbers with macros.
4920 1.1 christos (obj_attr_size): Likewise.
4921 1.1 christos (write_obj_attribute): Likewise.
4922 1.1 christos (_bfd_elf_copy_obj_attributes): Likewise.
4923 1.1 christos (_bfd_elf_parse_attributes): Likewise.
4924 1.1 christos * elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define.
4925 1.1 christos (ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines.
4926 1.1 christos (ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines.
4927 1.1 christos (ATTR_TYPE_HAS_NO_DEFAULT): New define.
4928 1.1 christos * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers
4929 1.1 christos with macros.
4930 1.1 christos
4931 1.1 christos 2009-01-19 Andrew Stubbs <ams (a] codesourcery.com>
4932 1.1 christos
4933 1.1 christos * elf-attrs.c (is_default_attr): Support defaultless attributes.
4934 1.1 christos (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type.
4935 1.1 christos (bfd_elf_add_obj_attr_string): Likewise.
4936 1.1 christos (bfd_elf_add_obj_attr_int_string): Likewise.
4937 1.1 christos (_bfd_elf_parse_attributes): Allow for unknown flag bits in type.
4938 1.1 christos * elf-bfd.h (struct obj_attribute): Document new flag bit.
4939 1.1 christos * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that
4940 1.1 christos Tag_nodefaults has no default value.
4941 1.1 christos (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults
4942 1.1 christos comment to reflect the new state.
4943 1.1 christos
4944 1.1 christos 2009-01-19 Alan Modra <amodra (a] bigpond.net.au>
4945 1.1 christos
4946 1.1 christos PR 9695
4947 1.1 christos * pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC.
4948 1.1 christos (some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC.
4949 1.1 christos (adjust_z_magix): Delete dead code handling QMAGIC.
4950 1.1 christos
4951 1.1 christos 2009-01-16 Kai Tietz <kai.tietz (a] onevision.com>
4952 1.1 christos
4953 1.1 christos * coffcode.h (styp_to_sec_flags): Correct interpretation of
4954 1.1 christos IMAGE_SCN_MEM_DISCARDABLE.
4955 1.1 christos
4956 1.1 christos 2009-01-16 Alan Modra <amodra (a] bigpond.net.au>
4957 1.1 christos
4958 1.1 christos * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute
4959 1.1 christos SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS.
4960 1.1 christos * configure.in (commonbfdlib): Delete.
4961 1.1 christos (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/
4962 1.1 christos (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such
4963 1.1 christos is available, not just for linux.
4964 1.1 christos * po/SRC-POTFILES.in: Regenerate.
4965 1.1 christos * Makefile.in: Regenerate.
4966 1.1 christos * configure: Regenerate.
4967 1.1 christos
4968 1.1 christos 2009-01-15 Andrew Stubbs <ams (a] codesourcery.com>
4969 1.1 christos Julian Brown <julian (a] codesourcery.com>
4970 1.1 christos
4971 1.1 christos * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known
4972 1.1 christos ARM attributes in ABI 2.07.
4973 1.1 christos * elf32-arm.c (get_secondary_compatible_arch): New function.
4974 1.1 christos (set_secondary_compatible_arch): New function.
4975 1.1 christos (tag_cpu_arch_combine): New function.
4976 1.1 christos (elf32_arm_copy_one_eabi_other_attribute): Delete function.
4977 1.1 christos (elf32_arm_copy_eabi_other_attribute_list): Delete function.
4978 1.1 christos (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to
4979 1.1 christos make it fit with order_01243.
4980 1.1 christos Add support for Tag_also_compatible_with,
4981 1.1 christos Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use,
4982 1.1 christos Tag_MPextension_use, Tag_nodefaults and Tag_conformance.
4983 1.1 christos Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name,
4984 1.1 christos Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension,
4985 1.1 christos Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed,
4986 1.1 christos Tag_VFP_arch and Tag_ABI_FP_16bit_format.
4987 1.1 christos Rework the way unknown attributes are handled.
4988 1.1 christos Defer errors until all attributes have been processed.
4989 1.1 christos
4990 1.1 christos 2009-01-15 Andrew Stubbs <ams (a] codesourcery.com>
4991 1.1 christos
4992 1.1 christos * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to
4993 1.1 christos bfd_elf_add_obj_attr_int_string.
4994 1.1 christos Read Tag_compatibility from its new location in the attribute array,
4995 1.1 christos rather than the attribute list.
4996 1.1 christos (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat ->
4997 1.1 christos bfd_elf_add_obj_attr_int_string.
4998 1.1 christos (_bfd_elf_parse_attributes): Likewise.
4999 1.1 christos (_bfd_elf_merge_object_attributes): There's now only one
5000 1.1 christos Tag_compatibility, and it's in the array, not the list.
5001 1.1 christos * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include
5002 1.1 christos Tag_compatibility.
5003 1.1 christos (bfd_elf_add_obj_attr_compat): Rename to
5004 1.1 christos bfd_elf_add_obj_attr_int_string.
5005 1.1 christos (bfd_elf_add_proc_attr_compat): Rename to
5006 1.1 christos bfd_elf_add_proc_attr_int_string.
5007 1.1 christos * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle
5008 1.1 christos Tag_compatibility.
5009 1.1 christos
5010 1.1 christos 2009-01-15 Douglas B Rupp <rupp (a] gnat.com>
5011 1.1 christos
5012 1.1 christos * Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo
5013 1.1 christos (BFD32_BACKENDS_CFILES): Add new file vmsutil.c
5014 1.1 christos (vmsutil.lo): Add dependency rule.
5015 1.1 christos * Makefile.in: Regenerate.
5016 1.1 christos * config.bfd (ia64*-*-*vms*): Add case.
5017 1.1 christos * configure.in (bfd_elf64_ia64_vms_vec): Add case.
5018 1.1 christos * configure: Regenerate.
5019 1.1 christos * vmsutil.c: New file.
5020 1.1 christos * vmsutil.h: New file.
5021 1.1 christos * elf-bfd.h (struct bfd_elf_special_section): Change type of
5022 1.1 christos attr to bfd_vma.
5023 1.1 christos * elfxx-ia64.c (elfNN_vms_post_process_headers,
5024 1.1 christos elfNN_vms_section_processing, elfNN_vms_final_write_processing,
5025 1.1 christos elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr,
5026 1.1 christos elfNN_vms_object_p): New functions
5027 1.1 christos * targets.c (bfd_elf64_ia64_vms_vec): New target.
5028 1.1 christos
5029 1.1 christos 2009-01-14 H.J. Lu <hongjiu.lu (a] intel.com>
5030 1.1 christos
5031 1.1 christos PR ld/9727
5032 1.1 christos * elflink.c (elf_gc_sweep): Exclude the group section if the
5033 1.1 christos first member of the section group is excluded.
5034 1.1 christos
5035 1.1 christos 2009-01-14 Alan Modra <amodra (a] bigpond.net.au>
5036 1.1 christos
5037 1.1 christos PR 9735
5038 1.1 christos * syms.c (_bfd_stab_section_find_nearest_line): Don't free
5039 1.1 christos saved filename, use bfd_alloc rather than bfd_malloc for it.
5040 1.1 christos
5041 1.1 christos 2009-01-13 Alan Modra <amodra (a] bigpond.net.au>
5042 1.1 christos
5043 1.1 christos * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.
5044 1.1 christos
5045 1.1 christos 2009-01-13 Alan Modra <amodra (a] bigpond.net.au>
5046 1.1 christos
5047 1.1 christos * elf32-spu.c (remove_cycles): Always set call->max_depth.
5048 1.1 christos
5049 1.1 christos 2009-01-12 Alan Modra <amodra (a] bigpond.net.au>
5050 1.1 christos
5051 1.1 christos * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
5052 1.1 christos
5053 1.1 christos 2009-01-12 Alan Modra <amodra (a] bigpond.net.au>
5054 1.1 christos
5055 1.1 christos * elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
5056 1.1 christos num_lines_log2.
5057 1.1 christos (struct got_entry): Add br_addr.
5058 1.1 christos (struct call_info): Add priority.
5059 1.1 christos (struct function_info): Add lr_store and sp_adjust.
5060 1.1 christos (spu_elf_setup): Init line_size_log2 and num_lines_log2.
5061 1.1 christos (spu_elf_find_overlays): For soft-icache, mark any section within cache
5062 1.1 christos area as an overlay, and check that no other overlays exist. Look up
5063 1.1 christos icache overlay manager entry sym.
5064 1.1 christos (BRA_STUBS, BRA, BRASL): Define.
5065 1.1 christos (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
5066 1.1 christos (needs_ovl_stub): Adjust for soft-icache. Return priority encoded
5067 1.1 christos in branch insn.
5068 1.1 christos (count_stub, build_stub): Support soft-icache.
5069 1.1 christos (build_spuear_stubs, process_stubs): Adjust build_stub call.
5070 1.1 christos (spu_elf_size_stubs): Size soft-icache stubs.
5071 1.1 christos (overlay_index): New function.
5072 1.1 christos (spu_elf_build_stubs): Make static. Support soft-icache.
5073 1.1 christos (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
5074 1.1 christos (find_function_stack_adjust): Save lr store and stack adjust insn
5075 1.1 christos offsets.
5076 1.1 christos (maybe_insert_function): Adjust find_function_stack_adjust call.
5077 1.1 christos (mark_functions_via_relocs): Retrieve priority.
5078 1.1 christos (remove_cycles): Only warn about pruned arcs when stack_analysis.
5079 1.1 christos (sort_calls): Sort by priority first.
5080 1.1 christos (mark_overlay_section): Ignore .ovl.init.
5081 1.1 christos (sum_stack): Only print when stack_analysis.
5082 1.1 christos (print_one_overlay_section): New function, extracted from..
5083 1.1 christos (spu_elf_auto_overlay): ..here. Support soft-icache overlays.
5084 1.1 christos (spu_elf_stack_analysis): Only print when htab->stack_analysis.
5085 1.1 christos (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
5086 1.1 christos analysis. Call spu_elf_build_stubs.
5087 1.1 christos (spu_elf_relocate_section): For soft-icache encode overlay index
5088 1.1 christos into addresses.
5089 1.1 christos (spu_elf_output_symbol_hook): Support soft-icache.
5090 1.1 christos (spu_elf_modify_program_headers: Likewise.
5091 1.1 christos
5092 1.1 christos * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename
5093 1.1 christos num_regions to num_lines. Add line_size and max_branch.
5094 1.1 christos (enum _ovly_flavour): Add ovly_soft_icache.
5095 1.1 christos (spu_elf_build_stubs): Delete.
5096 1.1 christos
5097 1.1 christos 2009-01-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5098 1.1 christos
5099 1.1 christos * elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4
5100 1.1 christos relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'.
5101 1.1 christos
5102 1.1 christos 2009-01-07 Hans-Peter Nilsson <hp (a] axis.com>
5103 1.1 christos
5104 1.1 christos * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
5105 1.1 christos <case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in
5106 1.1 christos the program, the known offset starts at the negative size of the
5107 1.1 christos TLS section.
5108 1.1 christos <case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>:
5109 1.1 christos Similar.
5110 1.1 christos
5111 1.1 christos 2009-01-05 Joel Sherrill <joel.sherrill (a] oarcorp.com>
5112 1.1 christos
5113 1.1 christos * config.bfd: Add lm32-*-rtems*.
5114 1.1 christos
5115 1.1 christos 2009-01-03 H.J. Lu <hongjiu.lu (a] intel.com>
5116 1.1 christos
5117 1.1 christos * coff-ppc.c: Add 2009 to Copyright.
5118 1.1 christos * elf32-cris.c: Likewise.
5119 1.1 christos * elflink.c: Likewise.
5120 1.1 christos
5121 1.1 christos 2009-01-03 Hans-Peter Nilsson <hp (a] axis.com>
5122 1.1 christos
5123 1.1 christos * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename
5124 1.1 christos gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry.
5125 1.1 christos
5126 1.1 christos 2009-01-02 H.J. Lu <hongjiu.lu (a] intel.com>
5127 1.1 christos
5128 1.1 christos PR ld/9679
5129 1.1 christos * elflink.c (elf_merge_st_other): New.
5130 1.1 christos (_bfd_elf_merge_symbol): Use it on skipped weak definitions and
5131 1.1 christos hide them if needed.
5132 1.1 christos (elf_link_add_object_symbols): Updated.
5133 1.1 christos
5134 1.1 christos 2009-01-02 H.J. Lu <hongjiu.lu (a] intel.com>
5135 1.1 christos
5136 1.1 christos PR ld/9676
5137 1.1 christos * elflink.c (elf_link_add_object_symbols): Update def_dynamic,
5138 1.1 christos ref_dynamic and dynamic_def fields when setting def_regular
5139 1.1 christos to 1.
5140 1.1 christos
5141 1.1 christos 2009-01-02 Curtis Mackie <curtmackevo (a] gmail.com>
5142 1.1 christos
5143 1.1 christos PR 9682
5144 1.1 christos * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string
5145 1.1 christos literal.
5146 1.1 christos
5147 1.1 christos For older changes see ChangeLog-2008
5148 1.1 christos
5150 1.1 christos Local Variables:
5151 1.1 christos mode: change-log
5152 1.1 christos left-margin: 8
5153 1.1 christos fill-column: 74
5154 1.1 christos version-control: never
5155 End:
5156