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