bfd/
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
e4067dbb
DJ
12010-10-25 Daniel Jacobowitz <dan@codesourcery.com>
2
3 * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Always call
4 _bfd_clear_contents. Pass it the input section.
5 * libbfd-in.h (_bfd_clear_contents): Add input_section argument.
6 * libbfd.h: Regenerate.
7 * reloc.c (_bfd_clear_contents): Take input_section argument.
8 Use non-zero for .debug_ranges.
9 (bfd_generic_get_relocated_section_conten): Update _bfd_clear_contents
10 call.
11
12 * elf32-arm.c (elf32_arm_relocate_section): Use
13 RELOC_AGAINST_DISCARDED_SECTION.
14 * elf-m10200.c (mn10200_elf_relocate_section): Likewise.
15 * elf-m10300.c (mn10300_elf_relocate_section): Likewise.
16 * elf32-arm.c (elf32_arm_relocate_section): Likewise.
17 * elf32-avr.c (elf32_avr_relocate_section): Likewise.
18 * elf32-bfin.c (bfin_relocate_section): Likewise.
19 (bfinfdpic_relocate_section): Likewise.
20 * elf32-cr16.c (elf32_cr16_relocate_section): Likewise.
21 * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise.
22 * elf32-cris.c (cris_elf_relocate_section): Likewise.
23 * elf32-crx.c (elf32_crx_relocate_section): Likewise.
24 * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
25 * elf32-fr30.c (fr30_elf_relocate_section): Likewise.
26 * elf32-frv.c (elf32_frv_relocate_section): Likewise.
27 * elf32-h8300.c (elf32_h8_relocate_section): Likewise.
28 * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
29 * elf32-i370.c (i370_elf_relocate_section): Likewise.
30 * elf32-i860.c (elf32_i860_relocate_section): Likewise.
31 * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
32 * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
33 * elf32-lm32.c (lm32_elf_relocate_section): Likewise.
34 * elf32-m32c.c (m32c_elf_relocate_section): Likewise.
35 * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
36 * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise.
37 * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
38 * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
39 * elf32-mep.c (mep_elf_relocate_section): Likewise.
40 * elf32-moxie.c (moxie_elf_relocate_section): Likewise.
41 * elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
42 * elf32-mt.c (mt_elf_relocate_section): Likewise.
43 * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
44 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
45 * elf32-rx.c (rx_elf_relocate_section): Likewise.
46 * elf32-s390.c (elf_s390_relocate_section): Likewise.
47 * elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise.
48 * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise.
49 * elf32-sh.c (sh_elf_relocate_section): Likewise.
50 * elf32-spu.c (spu_elf_relocate_section): Likewise.
51 * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise.
52 * elf32-v850.c (v850_elf_relocate_section): Likewise.
53 * elf32-vax.c (elf_vax_relocate_section): Likewise.
54 * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise.
55 * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
56 * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
57 * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise.
58 (elf64_alpha_relocate_section): Likewise.
59 * elf64-hppa.c (elf64_hppa_relocate_section): Likewise.
60 * elf64-mmix.c (mmix_elf_relocate_section): Likewise.
61 * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
62 * elf64-s390.c (elf_s390_relocate_section): Likewise.
63 * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
64 * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
65 * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise.
66 * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
67
c0621d88
NS
682010-10-25 Nathan Sidwell <nathan@codesourcery.com>
69
70 * elf32-tic6x.c: Add attribution.
71
2a229407
AM
722010-10-25 Alan Modra <amodra@gmail.com>
73
74 * elf32-arm.c (find_stub_size_and_template): Avoid uninitialized
75 var warning at -O3.
76
59a9808d
AM
772010-10-25 Alan Modra <amodra@gmail.com>
78
79 * opncls.c (bfd_alloc, bfd_zalloc): Don't mark internal.
80 * libbfd-in.h (bfd_alloc, bfd_zalloc): Don't declare here.
81 * libbfd.h: Regenerate
82 * bfd-in2.h: Regenerate.
83
fc1cfaa5
AM
842010-10-25 Alan Modra <amodra@gmail.com>
85
86 * opncls.c (_bfd_id_counter): Rename to bfd_id_counter.
87 (bfd_reserved_id_counter, bfd_use_reserved_id): New vars.
88 (_bfd_new_bfd): Use negative id when bfd_use_reserved_id.
89 (bfd_create): Doc fix.
90 * bfd-in2.h: Regenerate.
91
1360ba76
RO
922010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
93
94 * elfxx-sparc.c (tpoff): Define bed, static_tls_size.
95 Consider static_tls_alignment.
96
97 * elf32-sparc.c (TARGET_BIG_SYM): Redefine to
98 bfd_elf32_sparc_sol2_vec.
99 (TARGET_BIG_NAME): Redefine to elf32-sparc-sol2.
100 (elf32_bed): Redefine to elf32_sparc_sol2_bed.
101 (elf_backend_static_tls_alignment): Redefine to 8.
102 Include elf32-target.h.
103 (elf_backend_static_tls_alignment): Undef again for VxWorks.
104
105 * elf64-sparc.c (TARGET_BIG_SYM): Redefine to
106 bfd_elf64_sparc_sol2_vec.
107 (TARGET_BIG_NAME): Redefine to elf64-sparc-sol2.
108 (ELF_OSABI): Undef.
109 (elf64_bed): Redefine to elf64_sparc_sol2_bed.
110 (elf_backend_static_tls_alignment): Redefine to 16.
111 Include elf64-target.h.
112
113 * config.bfd (sparc-*-solaris2.[0-6]): Split from sparc-*-elf*.
114 Set targ_defvec to bfd_elf32_sparc_sol2_vec.
115 [BFD64] (sparc-*-solaris2*): Set targ_defvec to
116 bfd_elf32_sparc_sol2_vec.
117 Replace bfd_elf64_sparc_vec by bfd_elf64_sparc_sol2_vec in
118 targ_selvecs.
119
120 * configure.in: Handle bfd_elf32_sparc_sol2_vec,
121 bfd_elf64_sparc_sol2_vec.
122 * configure: Regenerate.
123
124 * targets.c (bfd_elf32_sparc_sol2_vec): Declare.
125 (bfd_elf64_sparc_sol2_vec): Declare.
126 (_bfd_target_vector): Add bfd_elf32_sparc_sol2_vec,
127 bfd_elf64_sparc_sol2_vec.
128
75fa6dc1
JM
1292010-10-21 Joseph Myers <joseph@codesourcery.com>
130
131 * elf32-tic6x.c (elf32_tic6x_merge_arch_attributes): Update for
132 attribute renaming.
133 (elf_backend_obj_attrs_section): Change to ".c6xabi.attributes".
134
7dc98aea
RO
1352010-10-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
136
137 * elf-bfd.h (struct elf_backend_data): New member
138 static_tls_alignment.
139 * elfxx-target.h (elf_backend_static_tls_alignment): Provide
140 default.
141 (elfNN_bed): Initialize static_tls_alignment.
142 * elflink.c (bfd_elf_final_link): Don't round end of TLS section
143 if static TLS has special alignment requirements.
144 * elf32-i386.c (elf_i386_tpoff): Define bed, static_tls_size.
145 Consider static_tls_alignment.
146 (elf_backend_static_tls_alignment): Redefine for Solaris 2.
147 Undef again for VxWorks.
148 * elf64-x86-64.c (elf64_x86_64_tpoff): Define bed,
149 static_tls_size.
150 Consider static_tls_alignment.
151 (elf_backend_static_tls_alignment): Redefine for Solaris 2.
152 Undef again for Intel L1OM.
153
59a9808d 1542010-10-14 Dave Korn <dave.korn.cygwin@gmail.com>
5d3236ee
DK
155
156 Apply LD plugin patch series (part 6/6).
157 * aoutx.h (aout_link_check_ar_symbols): Take new "subsbfd" reference
158 parameter and pass it when invoking add_archive_element callback.
159 (aout_link_check_archive_element): Handle substitute bfd if it
160 was set during add_archive_element callback in the above.
161 * cofflink.c (coff_link_check_ar_symbols): Take new "subsbfd" reference
162 parameter and pass it when invoking add_archive_element callback.
163 (coff_link_check_archive_element): Handle substitute bfd if it
164 was set during add_archive_element callback in the above.
165 * ecoff.c (read_ext_syms_and_strs): New function holds symbol-reading
166 code factored-out from ecoff_link_check_archive_element.
167 (reread_ext_syms_and_strs): Clear old symbols and call it.
168 (ecoff_link_check_archive_element): Use the above. Handle substitute
169 BFD if one is set by add_archive_element callback.
170 (ecoff_link_add_archive_symbols): Likewise allow bfd substitution.
171 * elflink.c (elf_link_add_archive_symbols): Likewise.
172 * linker.c (generic_link_check_archive_element): Likewise.
173 * pdp11.c (aout_link_check_ar_symbols): Take new "subsbfd" reference
174 parameter and pass it when invoking add_archive_element callback.
175 (aout_link_check_archive_element): Handle substitute bfd if it was
176 set during add_archive_element callback in the above.
177 * vms-alpha.c (alpha_vms_link_add_archive_symbols): Handle substitute
178 BFD if one is set by add_archive_element callback.
179 * xcofflink.c (xcoff_link_check_dynamic_ar_symbols): Take new "subsbfd"
180 reference parameter and pass it when invoking add_archive_element
181 callback.
182 (xcoff_link_check_ar_symbols): Likewise.
183 (xcoff_link_check_archive_element): Handle bfd substitution if it was
184 set by callback in the above.
185
0d13b9a6
AM
1862010-10-11 Alan Modra <amodra@gmail.com>
187
188 * elf32-frv.c (elf32_frv_relocate_section): Set "name" for global syms.
189 (elf32_frvfdpic_finish_dynamic_sections): Don't crash on
190 __ROFIXUP_END__ defined in shared lib.
191
77b4f08f
TS
1922010-10-11 Thomas Schwinge <thomas@codesourcery.com>
193
194 * elf32-arm.c (elf32_arm_final_link_relocate)
195 (elf32_arm_relocate_section): Handle relocations against STN_UNDEF.
196
fb41131e
DK
1972010-10-11 Dave Korn <dave.korn.cygwin@gmail.com>
198
199 * elflink.c (_bfd_elf_link_output_relocs): Delete unused variable
200 "output_rel_hdr".
201
876e93c1
AM
2022010-10-09 John Tytgat <john@bass-software.com>
203
204 * reloc.c (BFD_RELOC_ARM_HVC): Add.
205 * libbfd.h: Regenerate.
206
1360ae66
KT
2072010-10-08 Kai Tietz <kai.tietz@onevision.com>
208
209 * pei-x86_64.c (find_next_xdata_or_end): Removed.
210 (pex64_dump_xdata): Remove arguments stop, onaline,
211 and pdata. New argument endx. Print term "none"
212 instead of misleading "CFA".
213 (sort_xdata_arr): New function.
214 (pex64_bfd_print_pdata): Use binary search/sort for unwind-RVAs
215 instead of searching quadratic.
216
9ccb8af9
AM
2172010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
218 Alan Modra <amodra@gmail.com>
219
220 Fix build with -DDEBUG=7
221 * elf.c (_bfd_elf_symbol_from_bfd_symbol): Remove call
222 to deleted function elf_symbol_flags. Add typecast to avoid warning.
223 * elf32-rx.c (dump_symbol) : Rename to..
224 (rx_dump_symbol): ..this to avoid link errors.
225 * elflink.c (elf_link_input_bfd): Add typecast to avoid warnings.
226 (bfd_elf_perform_complex_relocation): Likewise.
227 * elf32-xtensa.c (print_action_list): Likewise.
228
9ae92b05
NS
2292010-10-06 Nathan Sidwell <nathan@codesourcery.com>
230
9ccb8af9 231 * elf32-arm.c (elf32_arm_stub_long_branch_any_arm_pic,
9ae92b05
NS
232 elf32_arm_stub_long_branch_any_arm_pic): Use a consistent name for
233 ip/r12.
234 (arm_type_of_stub): Remove superfluous braces.
235
d4730f92
BS
2362010-10-04 Bernd Schmidt <bernds@codesourcery.com>
237
238 * elf-bfd.h (struct bfd_elf_section_reloc_data): New structure.
239 (struct bfd_elf_section_data): New members REL and RELA; delete
240 members REL_HDR, REL_HDR2, REL_COUNT, REL_COUNT2, REL_IDX,
241 REL_IDX2, REL_HASHES.
242 (_bfd_elf_init_reloc_shdr): Adjust declaration.
243 (_bfd_elf_single_rel_hdr): Declare.
244 (RELOC_AGAINST_DISCARDED_SECTION): Use it.
245 * elf.c (bfd_section_from_shdr): Adjusted to match changes in
246 data structures.
247 (_bfd_elf_init_reloc_shdr): New arg RELDATA. Remove arg REL_HDR.
248 All callers changed. Allocate memory for the Elf_Internal_Shdr
249 structure.
250 (_bfd_elf_single_rel_hdr): New function.
251 (struct fake_section_arg): New structure.
252 (elf_fake_section): Expect to see a pointer to it in the third
253 argument. If doing a relocatable link, allocate both REL and RELA
254 sections as needed.
255 (assign_section_numbers): Adjusted to match changes in
256 data structures.
257 (_bfd_elf_compute_section_file_positions): Call elf_fake_sections
258 with a struct fake_section_args argument.
259 * elfcode.h (elf_write_relocs): Adjusted to match changes in
260 data structures.
261 (elf_slurp_reloc_table): Likewise.
262 * elflink.c (_bfd_elf_link_read_relocs): Likewise.
263 (_bfd_elf_link_size_reloc_section): Remove arg REL_HDR, replace with
264 RELDATA. Remove argument O. All callers changed. Remove code to
265 discover the right rel_hdr and count.
266 (_bfd_elf_link_output_relocs): Adjusted to match changes in
267 data structures.
268 (elf_link_adjust_relocs): Remove args REL_HDR, COUNT and REL_HASH;
269 replace with RELDATA. All callers changed.
270 (elf_link_input_bfd): Correctly generate rel_hash data when both
271 REL and RELA sections are present.
272 (elf_reloc_link_order): Adjusted to match changes in
273 data structures.
274 (bfd_elf_final_link): Simplify code to count relocs. Free the
275 hashes array for both REL and RELA.
276 (get_dynamic_reloc_section_name): Use _bfd_elf_single_reloc_hdr
277 * elf32-m32r.c (m32r_elf_fake_sections, elf_backend_fake_sections):
278 Delete.
279 * elf32-tic6x.c (elf32_tic6x_fake_sections, elf_backend_fake_sections):
280 Delete.
281 (elf32_tic6x_rel_relocation_p): Adjusted to match changes in
282 data structures.
59a9808d 283 * elf32-microblaze.c (microblaze_elf_check_relocs): Use
d4730f92
BS
284 _bfd_elf_single_rel_hdr.
285 * elf32-ppc.c (ppc_elf_relax_section): Likewise.
286 * elf32-spu.c (spu_elf_relocate_section): Likewise.
287 * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
288 * elf64-hppa.c (get_reloc_section): Likewise.
289 * elf64-mips.c (mips_elf64_slurp_reloc_table): Adjusted to match
290 changes in data structures.
291 (mips_elf64_write_relocs): Use _bfd_elf_single_rel_hdr.
292 * elf64-ppc.c (ppc64_elf_edit_opd): Likewise.
293 (ppc64_elf_edit_toc): Likewise.
294 (get_relocs): Adjusted to match changes in data structures.
295 Allocate an Elf_Internal_Shdr structure if necessary.
296 (ppc64_elf_finish_dynamic_sections): Use _bfd_elf_single_rel_hdr.
297 * elf64-sparc.c (elf64_sparc_slurp_reloc_table): Adjusted to match
298 changes in data structures.
299 * elfxx-ia64.c (get_reloc_section): Use _bfd_elf_single_rel_hdr.
300 * elfxx-mips.c (MIPS_RELOC_RELA_P): Remove macro.
301 (mips_elf_rel_relocation_p): Adjusted to match changes in data
302 structures.
303 (_bfd_mips_elf_relocate_section): Use mips_elf_rel_relocation_p rather
304 than MIPS_RELOC_RELOCA_P.
305 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use
306 _bfd_elf_single_rel_hdr.
307 (_bfd_sparc_elf_relocate_section): Likewise.
308
f6d250ce
TS
3092010-10-01 Thomas Schwinge <thomas@codesourcery.com>
310
311 * elf32-arm.c (elf32_arm_size_stubs): Don't choke on local symbols in
312 SHN_UNDEF, SHN_ABS, SHN_COMMON.
313
e28df02b
L
3142010-09-30 H.J. Lu <hongjiu.lu@intel.com>
315
316 PR ld/11812
317 * elf32-i386.c (elf_i386_size_dynamic_sections): Don't
318 allocate .got.plt section if there are no GOT nor PLT
319 entries and there is no refeence to _GLOBAL_OFFSET_TABLE_.
320 * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Li.kewise.
321
322 * elflink.c (_bfd_elf_define_linkage_sym): Clear non_elf.
323
3cac54d2
RW
3242010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
325
326 * configure: Regenerate.
327
2c2fa401
TS
3282010-09-24 Thomas Schwinge <thomas@codesourcery.com>
329
cf35638d
TS
330 * elf32-arm.c, elf32-cris.c, elf32-hppa.c, elf32-i370.c, elf32-m32r.c,
331 elf32-m68k.c, elf32-microblaze.c, elf32-ppc.c, elf32-score.c,
332 elf32-score7.c, elf32-sh.c, elf32-vax.c, elf32-xtensa.c, elf64-alpha.c,
333 elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-sparc.c, elfcode.h,
334 elflink.c, elfxx-ia64.c, elfxx-mips.c: Use STN_UNDEF when referring to
335 the zero symbol index.
336
2c2fa401
TS
337 * elflink.c (bfd_elf_reloc_symbol_deleted_p): Compare the symbol index
338 to STN_UNDEF, not SHN_UNDEF.
339
19dd00f8
BS
3402010-09-23 Bernd Schmidt <bernds@codesourcery.com>
341
342 * elf32-tic6x.c (elf32_tic6x_fake_sections): New function.
343 (elf_backend_fake_sections): Define.
344
90ec0d68
MGD
3452010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
346
347 * bfd-in2.h (BFD_RELOC_ARM_HVC): New enum value.
348
70a0e63d
AM
3492010-09-23 Alan Modra <amodra@gmail.com>
350
351 * cpu-d10v.c: Make bits_per_address 18 for all arch_info entries.
352
0814be7d
AM
3532010-09-23 Alan Modra <amodra@gmail.com>
354
355 * elf.c (_bfd_elf_init_private_section_data): Allow for SEC_RELOC
356 difference between input and output section.
357
cb2f80e6
KT
3582010-09-22 Kai Tietz <kai.tietz@onevision.com>
359
72e4db75
KT
360 * coffcode.h (sec_to_styp_flags): Adjust debug
361 sections to be conform to pe-coff specification
362 and avoid marking them as excluded.
363 (styp_to_sec_flags): Doing reverse mapping.
364
0814be7d
AM
365 * peXXigen.c (_bfd_XXi_final_link_postscript): Add handling for
366 setting IAT directory entry.
cb2f80e6 367
bc1bc43f
RH
3682010-09-20 Richard Henderson <rth@redhat.com>
369
370 * elf64-alpha.c (elf64_alpha_howto_table): Use bfd_elf_generic_reloc.
371
6ccf4795
RS
3722010-09-19 Richard Sandiford <rdsandiford@googlemail.com>
373
374 * elfxx-mips.c (mips_elf_link_hash_entry): Add got_only_for_calls.
375 (mips_elf_link_hash_newfunc): Initialize it.
376 (mips_elf_record_global_got_symbol): Add a for_call parameter.
377 (mips_elf_count_got_symbols): Check SYMBOL_CALLS_LOCAL rather
378 than SYMBOL_REFERENCES_LOCAL if the GOT entry is only used for calls.
379 Try to remove .got entries in favour of .got.plt entries on VxWorks.
380 (_bfd_mips_elf_check_relocs): Do not try to avoid allocating
381 a global GOT entry for VxWorks calls. Update uses of
382 mips_elf_record_global_got_symbol.
383 (allocate_dynrelocs): Set got_only_for_calls to false if the GOT
384 entry is used for dynamic relocations.
385
020d7251
RS
3862010-09-19 Richard Sandiford <rdsandiford@googlemail.com>
387
388 * elfxx-mips.c (mips_got_entry): Adjust commentary.
389 (mips_elf_create_local_got_entry): If given a symbol, check that it
390 has been assigned to the local part of the GOT.
391 (mips_elf_count_got_symbols): Take the bfd_link_info as argument
392 instead of the master GOT. Put all locally-binding symbols in
393 the local area.
394 (mips_elf_make_got_per_bfd): Use global_got_area to decide whether
395 a symbol lives in the local or global area.
396 (mips_elf_local_relocation_p): Remove check_forced argument and
397 retain only the !check_forced behavior.
398 (mips_elf_calculate_relocation): Adjust call accordingly.
399 Use global_got_area to decide whether an output relocation
400 should be local or global. Explicitly decay R_MIPS_GOT_PAGE
401 into R_MIPS_GOT_DISP where appropriate. Fix selection of
402 local vs. global semantics for R_MIPS*_26. Remove redundant
403 reevaluation of what is stored in was_local_p.
404 (mips_elf_create_dynamic_relocation): Use global_got_area to decide
405 whether the relocation should be against a global or local symbol.
406 (mips_elf_lay_out_got): Update the GOT traversal after the above
407 change to mips_elf_count_got_symbols.
408 (mips_elf_adjust_addend): Adjust call to mips_elf_local_relocation_p.
409 (_bfd_mips_elf_relocate_section): Likewise.
410 (_bfd_mips_elf_finish_dynamic_symbol): Use global_got_area to decide
411 whether the symbol has a global got entry.
412 (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
413
f7ff1106
RS
4142010-09-19 Richard Sandiford <rdsandiford@googlemail.com>
415
416 * elfxx-mips.c (allocate_dynrelocs): Don't add relocation symbols
417 to the global GOT on VxWorks.
418
0fc1eb3c
RS
4192010-09-19 Richard Sandiford <rdsandiford@googlemail.com>
420
421 * elfxx-mips.c (_bfd_mips_elf_check_relocs): On VxWorks,
422 exclude __GOTT_BASE__ and __GOTT_INDEX__ from the warning
423 about HI/LO relocations in shared objects.
424
29c70241
AM
4252010-09-16 Alan Modra <amodra@gmail.com>
426
427 * elf32-spu.c (spu_elf_size_sections): Omit fixups for non-alloc
428 sections.
429 (spu_elf_create_sections): Mark .fixup with SEC_LINKER_CREATED and
430 set dynobj.
431 (spu_elf_finish_dynamic_sections): New function.
432 (elf_backend_finish_dynamic_sections): Define.
433
2e76e85a
AM
4342010-09-16 Alan Modra <amodra@gmail.com>
435
436 * elf.c (bfd_elf_get_default_section_type): Don't test SEC_NEVER_LOAD.
437 * elflink.c (elf_link_input_bfd): Likewise.
438
2eb03909
KT
4392010-09-15 Kai Tietz <kai.tietz@onevision.com>
440
441 * pei-x86_64.c (pex64_get_unwind_info): Reorgnized.
442 (pex64_get_scope_entry): Removed.
443 (find_next_xdata_or_end): New helper.
444 (pex64_dump_xdata): Reworked.
445 (pex64_bfd_print_pdata): Add checking for
446 valid pdata sorting and values. Reworked
447 output.
448
028ed2b2
L
4492010-09-15 H.J. Lu <hongjiu.lu@intel.com>
450
451 PR binutils/12004
452 * plugin.c (bfd_plugin_object_p): Handle NULL iostream.
453
5174d0fb
KT
4542010-09-14 Kai Tietz <kai.tietz@onevision.com>
455
51ec9544
KT
456 * pe-x86_64.c (COFF_SECTION_ALIGNMENT_ENTRIES): Make
457 .rdata, .data, and .text partial matched section names.
458 * pei-x86_64.c: Likewise.
459
5174d0fb
KT
460 * peXXigen.c (sort_x64_pdata): New helper.
461 (_bfd_XXi_final_link_postscript): Do pdata sorting.
462
a2d1e028
L
4632010-09-09 H.J. Lu <hongjiu.lu@intel.com>
464
465 PR ld/11998
466 * elf.c (assign_file_positions_for_load_sections): Don't warn
467 zero LMA adjustment.
468
7326c758
BS
4692010-09-09 Bernd Schmidt <bernds@codesourcery.com>
470
7326c758
BS
471 * elflink.c (bfd_elf_final_link): Correct calculation of
472 max_external_reloc_size.
473
4e1fc599
AM
4742010-09-07 Alan Modra <amodra@gmail.com>
475 Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
476
477 * peXXigen.c: Whitespace.
478 (pe_print_idata): Correct section limit calculations. Tidy array
479 indexing.
480 (_bfd_XX_print_ce_compressed_pdata): Don't leak memory.
481
c518ddd8
RH
4822010-09-02 Richard Henderson <rth@redhat.com>
483
484 * config.bfd (x86_64-*-mingw*): Select 32-bit pei vectors too.
485
3b059137
PA
4862010-09-01 Pedro Alves <pedro@codesourcery.com>
487
488 * netbsd-core.c (netbsd_core_core_file_pid): Renamed to ...
489 (netbsd_core_file_pid): ... this.
490
be5b8c8c
TG
4912010-09-01 Tristan Gingold <gingold@adacore.com>
492
493 * coffcode.h (coff_slurp_line_table): Add a cast.
494 (coff_slurp_reloc_table): Ditto.
495
35e7447c
AM
4962010-08-30 Gunther Nikl <gnikl@users.sourceforge.net>
497
498 * cisco-core.c (cisco_core_file_pid): Define.
499
a76e6f2f
AM
5002010-08-30 Alan Modra <amodra@gmail.com>
501
502 PR binutils/11953
503 * elf.c (copy_elf_program_header): Calculate map->header_size
504 from lowest_section, not first_section. Validate program
505 header p_paddr against section lma. Find lowest_section in
506 second loop over headers.
507
89a2ee5a
AM
5082010-08-28 Alan Modra <amodra@gmail.com>
509
510 * elflink.c (_bfd_elf_dynamic_symbol_p): Rename param. Make
511 common syms local.
512 (_bfd_elf_symbol_refs_local_p): Expand comment.
513 (elf_link_output_extsym): Fix style nit.
514
cdb21a0a
NS
5152010-08-26 Nathan Sidwell <nathan@codesourcery.com>
516
517 * elf32-arm.c (elf32_arm_final_link): Process stub sections
518 exactly once.
519
d64284fe
L
5202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
521
522 PR ld/11939
523 * elflink.c (elf_link_add_object_symbols): Don't set
524 unique_global for non-ELF hash link table.
525
ae95ffa6
L
5262010-08-25 H.J. Lu <hongjiu.lu@intel.com>
527
528 PR ld/11944
529 * elf-bfd.h (elf_backend_data): Add target_id.
530 (bfd_elf_make_generic_object): Renamed to ...
531 (bfd_elf_make_object): This.
532
533 * elf.c (bfd_elf_make_generic_object): Removed.
534 (bfd_elf_make_object): New.
535 (bfd_elf_mkcorefile): Really treat it as an object file.
536
537 * elf-m10300.c (ELF_TARGET_ID): New.
538 * elf32-arm.c (ELF_TARGET_ID): Likewise.
539 * elf32-bfin.c (ELF_TARGET_ID): Likewise.
540 * elf32-cris.c (ELF_TARGET_ID): Likewise.
541 * elf32-frv.c (ELF_TARGET_ID): Likewise.
542 * elf32-i386.c (ELF_TARGET_ID): Likewise.
543 * elf32-lm32.c (ELF_TARGET_ID): Likewise.
544 * elf32-m32r.c (ELF_TARGET_ID): Likewise.
545 * elf32-m68hc11.c (ELF_TARGET_ID): Likewise.
546 * elf32-m68hc12.c (ELF_TARGET_ID): Likewise.
547 * elf32-m68k.c (ELF_TARGET_ID): Likewise.
548 * elf32-microblaze.c (ELF_TARGET_ID): Likewise.
549 * elf32-ppc.c (ELF_TARGET_ID): Likewise.
550 * elf32-s390.c (ELF_TARGET_ID): Likewise.
551 * elf32-sh.c (ELF_TARGET_ID): Likewise.
552 * elf32-sparc.c (ELF_TARGET_ID): Likewise.
553 * elf32-spu.c (ELF_TARGET_ID): Likewise.
554 * elf32-tic6x.c (ELF_TARGET_ID): Likewise.
555 * elf32-xtensa.c (ELF_TARGET_ID): Likewise.
556 * elf64-alpha.c (ELF_TARGET_ID): Likewise.
557 * elf64-hppa.c (ELF_TARGET_ID): Likewise.
558 * elf64-ppc.c (ELF_TARGET_ID): Likewise.
559 * elf64-s390.c (ELF_TARGET_ID): Likewise.
560 * elf64-x86-64.c (ELF_TARGET_ID): Likewise.
561 * elfxx-ia64.c (ELF_TARGET_ID): Likewise.
562
563 * elf32-hppa.c (elf32_hppa_mkobject): Removed.
564 (bfd_elf32_mkobject): Likewise.
565 (ELF_TARGET_ID): New.
566
567 * elf32-mips.c (ELF_TARGET_ID): New.
568 (bfd_elf32_mkobject): Removed.
569
570 * elf64-mips.c (ELF_TARGET_ID): New.
571 (bfd_elf64_mkobject): Removed.
572
573 * elfn32-mips.c (ELF_TARGET_ID): New.
574 (bfd_elf32_mkobject): Removed.
575
576 * elfxx-mips.c (_bfd_mips_elf_mkobject): Removed.
577 * elfxx-mips.h (_bfd_mips_elf_mkobject): Likewise.
578
579 * elfxx-target.h (bfd_elfNN_mkobject): Default to
580 bfd_elf_make_object.
581 (ELF_TARGET_ID): New. Default to GENERIC_ELF_DATA.
582 (elfNN_bed): Initialize target_id.
583
4563a860
JB
5842010-08-25 Julian Brown <julian@codesourcery.com>
585
586 * elf32-arm.c (arm_stub_required_alignment): New.
587 (arm_build_one_stub): Use above to partition stubs.
588 (make_branch_to_a8_stub): Use arm_stub_a8_veneer_lwm not
589 arm_stub_a8_veneer_b_cond.
590
30d10e9e
AM
5912010-08-25 Alan Modra <amodra@gmail.com>
592
593 * aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address.
594 * aout-ns32k.c (MY(bfd_reloc_type_lookup)): Likewise.
595 * aoutx.h (NAME(aout,reloc_type_lookup)): Likewise.
596 * coff-arm.c (coff_arm_reloc_type_lookup): Likewise.
597 * elf-hppa.h (elf_hppa_reloc_final_type): Likewise.
598 * reloc.c (bfd_default_reloc_type_lookup): Likewise.
599 * riscix.c (riscix_reloc_type_lookup): Likewise.
600
8d06853e
AM
6012010-08-25 Alan Modra <amodra@gmail.com>
602
603 * elf.c (_bfd_elf_map_sections_to_segments): Don't load program
604 headers if any loaded section wraps the address space. Simplify
605 ~(m-1) to -m. Use lma rather than vma when determining whether
606 note sections are adjacent.
607
39334f3a
L
6082010-08-22 H.J. Lu <hongjiu.lu@intel.com>
609
610 PR ld/11933
611 * elflink.c (elf_link_add_object_symbols): Don't check relocation
612 if input ELF object ID doesn't match output.
613
58bbed62
RW
6142010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
615
616 * configure: Regenerate.
617
3409e291
L
6182010-08-20 H.J. Lu <hongjiu.lu@intel.com>
619
620 * merge.c (sec_merge_emit): Revert the last checkin.
621
e0af1f53
MR
6222010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
623
624 * elf32-sh.c (sh_elf_relocate_section): Handle non-ELF output
625 BFD.
626
b1345da3
MR
6272010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
628
629 * elf32-m68k.c (bfd_elf_m68k_set_target_options): Don't set GOT
630 options unless an m68k hash table has been found.
631
736cba80
NC
6322010-08-20 Nick Clifton <nickc@redhat.com>
633
634 * merge.c (sec_merge_emit): Do not zero pad sections that do not
635 have an alignment.
636
261b8d08
PA
6372010-08-18 Pedro Alves <pedro@codesourcery.com>
638
639 PR corefile/8210
640
641 * bfd-in2.h: Regenerate.
642 * corefile.c (bfd_core_file_pid): New.
643
644 * targets.c (BFD_JUMP_TABLE_CORE): Add NAME##_core_file_pid.
645 (struct bfd_target) <_core_file_pid>: New.
646
647 * libbfd-in.h (_bfd_nocore_core_file_pid): Declare.
648 * libbfd.c (_bfd_nocore_core_file_pid): New.
649
650 * elf-bfd.h (bfd_elf32_core_file_pid, bfd_elf64_core_file_pid):
651 Declare.
652 * elfcode.h (elf_core_file_pid): New define.
653 * elfcore.h (elf_core_file_pid): New function.
654
655 * elf.c (elfcore_make_pid): Rewrite.
656 (elfcore_grok_prstatus): Only set core_pid if not set yet.
657 (elfcore_grok_prstatus) [!HAVE_PRSTATUS_T_PR_WHO]: Fallback to
658 getting the lwpid from prstat.pr_pid.
659
660 * elf64-x86-64.c (elf64_x86_64_grok_prstatus): Write the LWPID to
661 elf_tdata's core_lwpid instead of to core_pid.
662 (elf64_x86_64_grok_psinfo): Extract the the main process's PID,
663 and store it in elf_tdata's core_pid field.
664 * elf32-i386.c (elf_i386_grok_prstatus): Write the LWPID to
665 elf_tdata's core_lwpid instead of to core_pid.
666 (elf_i386_grok_psinfo): Extract the the main process's PID, and
667 store it in elf_tdata's core_pid field.
668
669 * elf32-am33lin.c (elf32_am33lin_grok_prstatus): Write the LWPID
670 to elf_tdata's core_lwpid instead of to core_pid.
671 * elf32-arm.c (elf32_arm_nabi_grok_prstatus): Write the LWPID to
672 elf_tdata's core_lwpid instead of to core_pid.
673 * elf32-cris.c (cris_elf_grok_prstatus): Write the LWPID to
674 elf_tdata's core_lwpid instead of to core_pid.
675 * elf32-frv.c (elf32_frv_grok_prstatus): Write the LWPID to
676 elf_tdata's core_lwpid instead of to core_pid.
677 * elf32-hppa.c (elf32_hppa_grok_prstatus): Write the LWPID to
678 elf_tdata's core_lwpid instead of to core_pid.
679 * elf32-mips.c (elf32_mips_grok_prstatus): Write the LWPID to
680 elf_tdata's core_lwpid instead of to core_pid.
681 * elf32-ppc.c (ppc_elf_grok_prstatus): Write the LWPID to
682 elf_tdata's core_lwpid instead of to core_pid.
683 * elf32-s390.c (elf_s390_grok_prstatus): Write the LWPID to
684 elf_tdata's core_lwpid instead of to core_pid.
685 * elf32-score.c (s3_bfd_score_elf_grok_prstatus): Write the LWPID
686 to elf_tdata's core_lwpid instead of to core_pid.
687 * elf32-score7.c (s7_bfd_score_elf_grok_prstatus): Write the LWPID
688 to elf_tdata's core_lwpid instead of to core_pid.
689 * elf32-sh.c (elf32_shlin_grok_prstatus): Write the LWPID to
690 elf_tdata's core_lwpid instead of to core_pid.
691 * elf32-xtensa.c (elf_xtensa_grok_prstatus): Write the LWPID to
692 elf_tdata's core_lwpid instead of to core_pid.
693 * elf64-hppa.c (elf64_hppa_grok_prstatus): Write the LWPID to
694 elf_tdata's core_lwpid instead of to core_pid.
695 * elf64-mips.c (elf64_mips_grok_prstatus): Write the LWPID to
696 elf_tdata's core_lwpid instead of to core_pid.
697 * elf64-ppc.c (ppc64_elf_grok_prstatus): Write the LWPID to
698 elf_tdata's core_lwpid instead of to core_pid.
699 * elfn32-mips.c (elf32_mips_grok_prstatus): Write the LWPID to
700 elf_tdata's core_lwpid instead of to core_pid.
a76e6f2f 701
261b8d08
PA
702 * plugin.c (bfd_plugin_core_file_pid): New function.
703 * aout-target.h (MY_core_file_pid): Define.
704 * aout-tic30.c (MY_core_file_pid, MY_core_file_p): New defines.
705 * coff-rs6000.c (coff_core_file_pid): New define.
706 (rs6000coff_vec, pmac_xcoff_vec): Use BFD_JUMP_TABLE_CORE.
707 * coff64-rs6000.c (coff_core_file_pid): New define.
708 (rs6000coff64_vec): Use BFD_JUMP_TABLE_CORE.
709 (xcoff64_core_file_pid): New define.
710 (aix5coff64_vec): Use BFD_JUMP_TABLE_CORE.
711 * mach-o-target.c (bfd_mach_o_core_file_pid): New define.
712 * aix386-core.c (aix386_core_file_pid): New define.
713 * hppabsd-core.c (hppabsd_core_core_file_pid): New define.
714 * hpux-core.c (hpux_core_core_file_pid): New define.
715 * irix-core.c (irix_core_core_file_pid): New define.
716 * lynx-core.c (lynx_core_file_pid): New define.
717 * osf-core.c (osf_core_core_file_pid): New define.
718 * ptrace-core.c (ptrace_unix_core_file_pid): New define.
719 * sco5-core.c (sco5_core_file_pid): New define.
720 * xcoff-target.h (coff_core_file_pid): New define.
721 * netbsd-core.c (netbsd_core_core_file_pid): New define.
722
56d4289c
L
7232010-08-13 H.J. Lu <hongjiu.lu@intel.com>
724
725 PR ld/11913
726 * elf32-i386.c (elf_i386_finish_dynamic_sections): Check if
727 .got.plt section is discarded.
728 * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Likewise.
729
f608cd77
NS
7302010-08-13 Nathan Sidwell <nathan@codesourcery.com>
731
732 * elf32-m69k.c (elf32_m68k_print_private_bfd_data): Detect EMAC_B
733 variant.
734
a7e31171
L
7352010-08-12 H.J. Lu <hongjiu.lu@intel.com>
736
737 PR binutils/11909
738 * Makefile.am (coff-tic4x.lo): New. Disable -Werror.
739 (coff-tic54x.lo): Likewise.
13ea7aae 740 * Makefile.in: Regenerated.
a7e31171 741
0883b6e0
NC
7422010-08-12 Todd Veldhuizen <todd.veldhuizen@logicblox.com>
743
744 PR ld/11843
745 * elflink.c (compute_bucket_count): Avoid futile long searches for
746 the best bucket size.
747
891caa9b
RH
7482010-08-09 Richard Henderson <rth@redhat.com>
749
750 PR ld/11891
751 * elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Disallow relaxing
752 to tlshi/lo until pos0 and pos1 are adjacent. Use the destination
753 register from the tldgd insn.
754
776167e8
CM
7552010-08-09 Catherine Moore <clm@codesourcery.com>
756
757 * elfxx-mips.c (mips_elf_perform_relocation): Improve
758 interlinking error message.
759
d983b7a0
AM
7602010-08-06 Alan Modra <amodra@gmail.com>
761
762 * elf64-ppc.c (ha_reloc_match): Allow matches to other than r2.
763 (ppc64_elf_relocate_section): Nop out high part insn of large toc
764 code sequence when the high part of offset is zero.
765
79326a5a
TG
7662010-08-04 Tristan Gingold <gingold@adacore.com>
767
768 * vms-alpha.c (alpha_vms_build_fixups): Write the EICP.
1bed7b84
TG
769 (alpha_vms_bfd_final_link): Explicitly forbid relocatable links.
770 Clear the SEC_RELOC flag.
79326a5a 771
5f101a3d
TG
7722010-08-04 Tristan Gingold <gingold@adacore.com>
773
774 * vms-alpha.c (alpha_vms_create_eisd_for_section): Make writable
775 sections with relocs.
776 (alpha_vms_add_fixup_lp): Set SEC_RELOC flag.
777 (alpha_vms_add_fixup_ca): Ditto.
778 (alpha_vms_add_fixup_qr): Ditto.
779 Add comments.
780
2e09dbae
TG
7812010-08-04 Tristan Gingold <gingold@adacore.com>
782
783 * vms-alpha.c (alpha_vms_create_eisd_for_section): Do not make
784 CODE sections writable.
785
5369db0a
TG
7862010-08-04 Tristan Gingold <gingold@adacore.com>
787
788 * vms-alpha.c (alpha_vms_add_lw_fixup): Renamed to ...
789 (alpha_vms_add_fixup_lr): ... this for consistency.
790 (alpha_vms_add_qw_fixup): Removed.
791 Fix some comments.
792 (vms_get_symbol_info): Adjust type for unknown sections.
793
21e003e8
TG
7942010-08-04 Tristan Gingold <gingold@adacore.com>
795
796 * vms-alpha.c (_bfd_vms_slurp_egsd): Use the canonical absolute
797 section for any absolute section. Remove some debugging code.
798
e1be4b13
DD
7992010-08-03 DJ Delorie <dj@redhat.com>
800
801 * elf32-m32c.c (ELF_MAXPAGESIZE): Change page size to 256 bytes.
802
bfea910e
TG
8032010-08-03 Tristan Gingold <gingold@adacore.com>
804
805 * vms-misc.c (vms_convert_to_var): Make it static.
806 (_bfd_vms_convert_to_var_unix_filename): Make it public.
807
1222b291
TG
8082010-08-03 Tristan Gingold <gingold@adacore.com>
809
810 * makefile.vms (OBJS): Update list.
811
56213172
TG
8122010-08-03 Tristan Gingold <gingold@adacore.com>
813
814 * vms-alpha.c (_bfd_vms_slurp_egsd): Do not set SEC_HAS_CONTENTS
815 nor SEC_RELOC for empty sections.
816
d833fa0d
TG
8172010-08-03 Tristan Gingold <gingold@adacore.com>
818
819 * vms-alpha.c (evax_section_flags): Fix flags for absolute
820 section. Remove useless parenthesis.
821
22b6a042
TG
8222010-08-03 Tristan Gingold <gingold@adacore.com>
823
824 * vms-lib.c (vms_lib_bread_raw): Change type of BUF argument.
825 (vms_lib_bread, vms_lib_bopen): Adjust.
826
85cfcbfb
AM
8272010-08-02 Alan Modra <amodra@gmail.com>
828
829 PR 11866
830 * elf.c (assign_file_positions_for_load_sections): Use p_vaddr to
831 calculate off_adjust rather than first section vma.
832
b20dd2ce
L
8332010-07-30 H.J. Lu <hongjiu.lu@intel.com>
834
835 * elflink.c (compute_bucket_count): Add ATTRIBUTE_UNUSED to info.
836
e95c64cb
AG
8372010-07-30 Anthony Green <green@moxielogic.com>
838
839 * config.bfd (targ_cpu): Add moxie-*-rtems support.
840
d62b3684
AM
8412010-07-29 Alan Modra <amodra@gmail.com>
842
843 * elf64-ppc.c (ppc64_elf_edit_toc): Always adjust local syms in
844 .toc section, even when none are used in relocs.
845
9684f078
MR
8462010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
847
848 * elfxx-mips.h: Include "elf/mips.h".
849 (gprel16_reloc_p): New static inline function.
850 * elfxx-mips.c (_bfd_mips_elf_check_relocs)
851 [R_MIPS16_GOT16, R_MIPS_GOT16, R_MIPS_GOT_HI16, R_MIPS_GOT_LO16]:
852 Use got16_reloc_p.
853 (_bfd_mips_elf_relocate_section)[bfd_reloc_overflow]: Use
854 gprel16_reloc_p.
855 * elf32-mips.c (mips_info_to_howto_rel): Likewise.
856 * elfn32-mips.c (mips_info_to_howto_rel): Likewise.
857
2b2c11bd
MR
8582010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
859
860 * elf64-mips.c (mips_elf64_howto_table_rela)
861 [R_MIPS_TLS_DTPMOD64]: Clear partial_inplace.
862 [R_MIPS_TLS_DTPREL64, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
863 [R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
864 [R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL64]: Likewise.
865 [R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
866 * elfn32-mips.c (elf_mips_howto_table_rela)
867 [R_MIPS_TLS_DTPMOD32]: Likewise.
868 [R_MIPS_TLS_DTPREL32, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
869 [R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
870 [R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL32]: Likewise.
871 [R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
872
1cd986c5
NC
8732010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
874 Ina Pandit <ina.pandit@kpitcummins.com>
875
876 * archures.c (DESCRIPTION): Define bfd_mach_v850e2 and
877 bfd_mach_v850e2v3.
878 * reloc.c (bfd_architecture): Define bfd_mach_v850e2 and
879 bfd_mach_v850e2v3.
880 (BFD_RELOC_V850_16_PCREL, BFD_RELOC_V850_17_PCREL,
881 BFD_RELOC_V850_22_PCREL, BFD_RELOC_V850_23,
882 BFD_RELOC_V850_32_PCREL, BFD_RELOC_V850_32_ABS,
883 BFD_RELOC_V850_16_SPLIT_OFFSET, BFD_RELOC_V850_16_S1,
884 BFD_RELOC_V850_LO16_SPLIT_OFFSET, BFD_RELOC_V850_SDA_15_16_OFFSET,
885 BFD_RELOC_V850_ZDA_16_16_OFFSET, BFD_RELOC_V850_CALLT_15_16_OFFSET,
886 BFD_RELOC_V850_32_GOTPCREL, BFD_RELOC_V850_16_GOT,
887 BFD_RELOC_V850_32_GOT, BFD_RELOC_V850_22_PLT_PCREL,
888 BFD_RELOC_V850_32_PLT_PCREL, BFD_RELOC_V850_COPY,
889 BFD_RELOC_V850_GLOB_DAT, BFD_RELOC_V850_JMP_SLOT,
890 BFD_RELOC_V850_RELATIVE, BFD_RELOC_V850_16_GOTOFF,
891 BFD_RELOC_V850_32_GOTOFF, BFD_RELOC_V850_CODE,
892 BFD_RELOC_V850_DATA): New relocations for V850 target.
893 * config.bfd: Match all v850 targets.
894 * cpu-v850.c (arch_info_struct): Define V850e2 and V850e2v3.
895 * elf32-v850.c (v850_elf_check_relocs): Check the newly added
896 relocations.
897 (v850_elf_perform_relocation ): Update the newly added
898 relocations.
899 (v850_elf_howto_t): Update the specifications of added
900 relocations.
901 (v850_elf_reloc_map): Update the relocation mappings.
902 (v850_elf_final_link_relocate): Maps added relocation into the
903 appropriate howto structure.
904 (v850_elf_object_p): Add support for V850E2 and V850E2V3.
905 (v850_elf_final_write_processing): Likewise.
906 (v850_elf_merge_private_bfd_data): Likewise.
907 (v850_elf_print_private_bfd_data): Likewise.
908 * libbfd.h: Regenerate.
909 * bfd-in2.h: Regenerate.
910
21fd2dbd
AM
9112010-07-23 Alan Modra <amodra@gmail.com>
912
913 * archive.c (_bfd_archive_bsd44_construct_extended_name_table):
914 Correct format specifier.
915
c6a3cf87
AM
9162010-07-22 Alan Modra <amodra@gmail.com>
917
918 * ecoff.c: Don't include aout/ranlib.h.
919 (_bfd_ecoff_slurp_armap): Use correct struct for ardata->symdefs.
920 (_bfd_ecoff_write_armap): Output ar_date and ar_size using
921 _bfd_ar_spacepad.
922
4c1534c7
AM
9232010-07-22 Alan Modra <amodra@gmail.com>
924
925 * aoutx.h (some_aout_object_p): Don't set EXEC_P for files with
926 relocs.
927
f4638467
AM
9282010-07-20 Alan Modra <amodra@gmail.com>
929
930 * elf.c (assign_file_positions_for_load_sections): Check that
931 zero size sections are allocated in segments too.
932 (assign_file_positions_for_non_load_sections): Warn if zero
933 size alloc sections are found here.
934 (copy_elf_program_header): Don't drop zero size sections from
935 segment map.
936 (copy_private_bfd_data): Check for changes in zero size sections.
937
b5599592
AM
9382010-07-17 Alan Modra <amodra@gmail.com>
939
940 * elf.c (_bfd_elf_map_sections_to_segments): Force new segment
941 for sections with overlapping LMAs.
942 (assign_file_positions_for_load_sections): Catch overlap for
943 sections that wrap around the address space. Replace a
944 warning that duplicates ld's --check-sections error with a
945 warning that lma has been adjusted for overlapping sections.
946
8c2ccebd
CC
9472010-07-14 Cary Coutant <ccoutant@google.com>
948
949 PR ld/11817
950 * dwarf2.c (read_section): Revert patch for compressed debug sections.
951 (find_line): Likewise.
952 (read_and_uncompress_section): Remove.
953
a7b16ceb
L
9542010-07-13 H.J. Lu <hongjiu.lu@intel.com>
955
956 PR ld/11812
957 * elf32-i386.c (elf_i386_size_dynamic_sections): Don't
958 allocate .got.plt section if there are no GOT nor PLT
959 entries.
960 * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise.
961
bb1cb422
L
9622010-07-13 H.J. Lu <hongjiu.lu@intel.com>
963
964 PR ld/11791
965 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Support
966 garbage collection against STT_GNU_IFUNC symbols.
967
968 * elf32-i386.c (elf_i386_get_local_sym_hash): Don't set
969 elf.plt.offset/elf.got.offset to -1.
970 (elf_i386_tls_transition): Skip TLS transition for functions.
971 (elf_i386_gc_sweep_hook): Support STT_GNU_IFUNC symbols.
972
973 * elf64-x86-64.c (elf64_x86_64_get_local_sym_hash): Don't set
974 elf.plt.offset/elf.got.offset to -1.
975 (elf64_x86_64_tls_transition): Skip TLS transition for functions.
976 (elf64_x86_64_gc_sweep_hook): Support STT_GNU_IFUNC symbols.
977
9fff0c39
L
9782010-07-12 H.J. Lu <hongjiu.lu@intel.com>
979
980 * elf32-i386.c (elf_i386_check_relocs): Re-indent.
981 (elf_i386_relocate_section): Likewise.
982
f5296ddc
L
9832010-07-06 H.J. Lu <hongjiu.lu@intel.com>
984
985 * dwarf2.c (add_line_info): Initialize prev_line.
986
50248c89
AM
9872010-07-06 Alan Modra <amodra@gmail.com>
988
989 * elf32-ppc.c (ppc_elf_relax_section): Insert branch around
990 trampolines only for .init and .fini sections.
991
5b914448
AM
9922010-07-05 Alan Modra <amodra@gmail.com>
993
994 * elf32-ppc.c: Formatting.
995 (ppc_elf_finish_dynamic_sections): Don't make plt_entry var static.
996
0acf065b
CC
9972010-07-03 Cary Coutant <ccoutant@google.com>
998
999 * compress.c (bfd_uncompress_section_contents): Add ATTRIBUTE_UNUSED.
1000 * dwarf2.c (read_and_uncompress_section): New function.
1001 (read_section): Call it.
1002 (find_line): Likewise.
1003
726d3ab0
AM
10042010-07-01 Alan Modra <amodra@gmail.com>
1005
1006 * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_CALLS_LOCAL rather
1007 than SYMBOL_REFERENCES_LOCAL.
1008 (ppc64_elf_relocate_section): Likewise.
1009
bddc25c9
AM
10102010-07-01 Alan Modra <amodra@gmail.com>
1011
1012 * elf64-ppc.c (ppc64_elf_edit_toc): Keep toc entries for ifuncs.
1013
360cfc9c
AM
10142010-06-29 Alan Modra <amodra@gmail.com>
1015
1016 * cpu-maxq.c: Delete file.
1017 * coff-maxq.c: Delete file.
1018 * Makefile.am: Remove references to maxq.
1019 * archures.c: Likewise.
1020 * coffcode.h: Likewise.
1021 * configure.in: Likewise.
1022 * targets.c: Likewise.
1023 * config.bfd: Move maxq from obsolete to removed.
1024 * Makefile.in: Regenerate.
1025 * bfd-in2.h: Regenerate.
1026 * configure: Regenerate.
1027 * libbfd.h: Regenerate.
1028 * po/SRC-POTFILES.in: Regenerate.
1029
3f062f44
AM
10302010-06-28 Alan Modra <amodra@gmail.com>
1031
1032 * compress.c (bfd_uncompress_section_contents): Use ATTRIBUTE_UNUSED
1033 to silence gcc warning.
1034
6bee8834
AM
10352010-06-27 Alan Modra <amodra@gmail.com>
1036
1037 * elf64-ppc.c (get_tls_mask): Don't segfault on NULL elf_section_data.
1038 (group_sections): Likewise.
1039
c7e2358a
AM
10402010-06-27 Alan Modra <amodra@gmail.com>
1041
1042 * bout.c (aligncode): Delete set but unused variables.
1043 * coff-mcore.c (coff_mcore_relocate_section): Likewise.
1044 * coff-ppc.c (ppc_record_toc_entry): Likewise.
1045 (coff_ppc_relocate_section): Likewise.
1046 * coff-rs6000.c (xcoff_complain_overflow_bitfield_func): Likewise.
1047 * elf-m10200.c (mn10200_elf_relax_delete_bytes): Likewise.
1048 * elf-m10300.c (mn10300_elf_final_link_relocate): Likewise.
1049 (mn10300_elf_relax_section): Likewise.
1050 * elf32-arm.c (arm_build_one_stub, arm_size_one_stub): Likewise.
1051 (record_vfp11_erratum_veneer): Likewise.
1052 (bfd_elf32_arm_vfp11_erratum_scan): Likewise.
1053 (elf32_arm_final_link_relocate): Likewise.
1054 (elf32_arm_check_relocs, arm_map_one_stub): Likewise.
1055 * elf32-avr.c (elf32_avr_relax_delete_bytes): Likewise.
1056 (elf32_avr_relax_section): Likewise.
1057 (avr_mark_stub_not_to_be_necessary): Likewise.
1058 * elf32-bfin.c (_bfin_create_got_section): Likewise.
1059 * elf32-cr16.c (cr16_elf_final_link_relocate): Likewise.
1060 (elf32_cr16_relax_delete_bytes): Likewise.
1061 * elf32-cr16c.c (cr16c_elf_final_link_relocate): Likewise.
1062 * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
1063 * elf32-crx.c (elf32_crx_relax_delete_bytes): Likewise.
1064 * elf32-h8300.c (elf32_h8_relax_section): Likewise.
1065 (elf32_h8_relax_delete_bytes): Likewise.
1066 * elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
1067 * elf32-i370.c (i370_elf_check_relocs): Likewise.
1068 (elf_relocate_section): Likewise.
1069 * elf32-ip2k.c (adjust_all_relocations): Likewise.
1070 (ip2k_elf_relax_section): Likewise.
1071 * elf32-lm32.c (lm32_elf_relocate_section): Likewise.
1072 (lm32_elf_check_relocs): Likewise.
1073 (lm32_elf_finish_dynamic_sections): Likewise.
1074 (lm32_elf_finish_dynamic_symbol): Likewise.
1075 * elf32-m32c.c (m32c_offset_for_reloc): Likewise.
1076 (m32c_elf_relax_delete_bytes): Likewise.
1077 * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise.
1078 (m32r_elf_finish_dynamic_sections): Likewise.
1079 (m32r_elf_check_relocs, m32r_elf_fake_sections): Likewise.
1080 * elf32-m68hc11.c (m68hc11_elf_relax_section): Likewise.
1081 * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise.
1082 * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise.
1083 * elf32-microblaze.c (microblaze_elf_relocate_section): Likewise.
1084 (microblaze_elf_check_relocs): Likewise.
1085 (microblaze_elf_finish_dynamic_symbol): Likewise.
1086 * elf32-msp430.c (msp430_elf_relax_delete_bytes): Likewise.
1087 * elf32-ppc.c (ppc_elf_tls_optimize): Likewise.
1088 * elf32-rx.c (rx_elf_relocate_section): Likewise.
1089 (elf32_rx_relax_delete_bytes, rx_offset_for_reloc): Likewise.
1090 (elf32_rx_relax_section): Likewise.
1091 * elf32-score.c (score_elf_got_offset_from_index): Likewise.
1092 (score_elf_final_link_relocate): Likewise.
1093 (s3_bfd_score_elf_relocate_section): Likewise.
1094 * elf32-score7.c (score_elf_got_offset_from_index): Likewise.
1095 (s7_bfd_score_elf_relocate_section): Likewise.
1096 * elf32-sh.c (sh_elf_check_relocs): Likewise.
1097 * elf32-spu.c (spu_elf_relocate_section): Likewise.
1098 * elf32-v850.c (v850_elf_check_relocs): Likewise.
1099 (find_remembered_hi16s_reloc): Likewise.
1100 * elf32-vax.c (elf32_vax_merge_private_bfd_data): Likewise.
1101 (elf_vax_relocate_section): Likewise.
1102 * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise.
1103 * elf32-xtensa.c (xlate_offset_with_removed_text): Likewise.
1104 (move_literal): Likewise.
1105 * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise.
1106 (elf64_hppa_check_relocs): Likewise.
1107 (elf64_hppa_finish_dynamic_symbol): Likewise.
1108 (elf64_hppa_relocate_section): Likewise.
1109 * elf64-mmix.c (mmix_elf_reloc, mmix_elf_relax_section): Likewise.
1110 * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
1111 (ppc64_elf_edit_opd, ppc64_elf_edit_toc): Likewise.
1112 * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise.
1113 (elfNN_vms_section_from_shdr): Likewise.
1114 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
1115 (_bfd_sparc_elf_relocate_section): Likewise.
1116 * hp300hpux.c (slurp_symbol_table): Likewise.
1117 * i386lynx.c (swap_std_reloc_out, swap_std_reloc_in): Likewise.
1118 * mach-o.c (bfd_mach_o_write_thread): Likewise.
1119 * mmo.c (mmo_scan, mmo_write_symbols_and_terminator): Likewise.
1120 * nlm32-sparc.c (nlm_sparc_read_reloc): Likewise.
1121 * pdp11.c (pdp11_aout_link_input_section): Likewise.
1122 (aout_link_input_section, aout_link_input_bfd): Likewise.
1123 * pe-mips.c (mips_swap_reloc_out): Likewise.
1124 (coff_pe_mips_relocate_section): Likewise.
1125 * som.c (som_bfd_ar_write_symbol_stuff): Likewise.
1126 * vms-alpha.c (_bfd_vms_slurp_egsd): Likewise.
1127 * xsym.c (bfd_sym_fetch_type_information_table_ent): Likewise.
1128
1129 * coff-i860.c (i860_reloc_processing): Avoid set but unused warning.
1130 * coffcode.h (coff_compute_section_file_positions): Likewise.
1131 (coff_slurp_reloc_table): Likewise.
1132 * cpu-arm.c (arm_check_note): Likewise.
1133 * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Likewise.
1134 * elf32-avr.c (elf32_avr_relocate_section): Likewise.
1135 * elf32-bfin.c (elf32_bfin_merge_private_bfd_data): Likewise.
1136 * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
1137 * elf32-moxie.c (moxie_elf_relocate_section): Likewise.
1138 * elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
1139 * elf32-sh64.c (_bfd_sh_align_load_span): Likewise.
1140 * ieee.c (parse_expression): Likewise.
1141 (ieee_slurp_external_symbols, drop_int): Likewise.
1142 * peXXigen.c (pe_print_pdata): Likewise.
1143 * versados.c (process_esd): Likewise.
1144
4ba2ab9f
TG
11452010-06-25 Tristan Gingold <gingold@adacore.com>
1146
1147 * vms-alpha.c (_bfd_vms_write_egsd): Check absolute section with
1148 its flags. Create an absolute section if needed.
1149
1b3d1dbf
TG
11502010-06-25 Tristan Gingold <gingold@adacore.com>
1151
1152 * vms-alpha.c (_bfd_vms_write_egsd): Set target_index field of
1153 sections. Mark .vmsdebug section as SEC_DEBUGGING. Do not create
1154 dummy psect anymore. Adjust.
1155 (_bfd_vms_write_eeom): Adjust (use target_index instead of index)
1156 (_bfd_vms_write_etir): Ditto.
1157 (start_etir_or_etbt_record): Test for SEC_DEBUGGING instead of
1158 section name. Adjust.
1159
9714ee48
TG
11602010-06-25 Tristan Gingold <gingold@adacore.com>
1161
1162 * vms-alpha.c (alpha_vms_write_exec): Set linktime field.
1163
ba761f19
AM
11642010-06-25 Alan Modra <amodra@gmail.com>
1165
1166 * elf64-ppc.c (toc_skip_enum): Define.
1167 (ppc64_elf_edit_toc): Use two low bits of skip array as markers.
1168 Optimize largetoc sequences.
1169 (adjust_toc_syms): Update for skip array change.
1170 (ppc64_elf_relocate_section): Handle R_PPC64_LO_DS_OPT.
1171
854b41e7
AM
11722010-06-25 Alan Modra <amodra@gmail.com>
1173
1174 * elf64-ppc.c (is_static_defined): New function.
1175 (get_tls_mask, ppc_type_of_stub): Use it here.
1176 (ppc64_elf_edit_opd): Ensure we only attempt to edit ppc64 input.
1177 (ppc64_elf_tls_setup): Typo fix.
1178 (adjust_toc_syms): Correctly handle symbols defined past the end
1179 of the toc. Move syms on removed entries to next entry rather
1180 than to start of toc.
1181 (ppc64_elf_edit_toc): Likewise. Ensure we only attempt to
1182 edit ppc64 input. Allocate one extra word in skip array.
1183 Honour info->keep_memory when reading relocs if we can.
1184 Adjust toc relocs after adjusting symbols.
1185
61e8a5ea
NS
11862010-06-23 Nathan Sidwell <nathan@codesourcery.com>
1187
1188 * archive64.c (bfd_elf64_archive_write_armap): Fix buffer overrun
1189 when scaning map.
1190
24df9a51
TG
11912010-06-17 Tristan Gingold <gingold@adacore.com>
1192
1193 * Makefile.am (BFD32_BACKENDS_CFILES): Move vms-alpha.c to ...
1194 (BFD64_BACKENDS_CFILES): ... here.
1195 (BFD32_BACKENDS): Move vms-alpha.lo to ...
1196 (BFD64_BACKENDS): ... here.
1197 * Makefile.in: Regenerate.
1198
59e6276b
JM
11992010-06-15 Joseph Myers <joseph@codesourcery.com>
1200
1201 * elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Decrease to 2.
1202 * elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type,
1203 elf32_tic6x_merge_arch_attributes, elf32_tic6x_merge_attributes,
1204 elf32_tic6x_merge_private_bfd_data): New.
1205 (bfd_elf32_bfd_merge_private_bfd_data,
1206 elf_backend_obj_attrs_arg_type, elf_backend_obj_attrs_section,
1207 elf_backend_obj_attrs_section_type, elf_backend_obj_attrs_vendor):
1208 Define.
1209 * elf32-tic6x.h (elf32_tic6x_merge_arch_attributes): Declare.
1210
3de4a297
JM
12112010-06-15 Joseph Myers <joseph@codesourcery.com>
1212
1213 * elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Define.
1214 (struct elf_backend_data): Update comment on obj_attrs_order.
1215 * elf-attrs.c (vendor_obj_attr_size, vendor_set_obj_attr_contents,
1216 _bfd_elf_copy_obj_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE
1217 instead of hardcoded 4.
1218 * elf32-arm.c (elf32_arm_obj_attrs_order): Use
1219 LEAST_KNOWN_OBJ_ATTRIBUTE and LEAST_KNOWN_OBJ_ATTRIBUTE + 1
1220 instead of hardcoded 4 and 5.
1221 (elf32_arm_merge_eabi_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE
1222 instead of hardcoded 4.
1223
84477db9
KB
12242010-06-14 Kevin Buettner <kevinb@redhat.com>
1225
1226 * elf32-h8300.c (elf_symbol_leading_char): Define.
1227
dddb0e80
JK
12282010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1229
1230 * vms-alpha.c (_bfd_vms_write_egsd): Make sname const.
1231
f654f403
TG
12322010-06-11 Tristan Gingold <gingold@adacore.com>
1233
1234 * vms-alpha.c (_bfd_vms_slurp_egsd): Always set vma of absolute
1235 sections to 0.
1236
ff150b92
TG
12372010-06-11 Tristan Gingold <gingold@adacore.com>
1238
1239 * vms-alpha.c (evax_bfd_print_etir): Handle ETIR__C_STO_GBL_LW.
1240
81bb31c0
TG
12412010-06-11 Tristan Gingold <gingold@adacore.com>
1242
1243 * vms-misc.c (_bfd_vms_output_counted): Make VALUE argument const.
1244 Adjust cast.
1245 (_bfd_vms_output_dump): Make DATA argument const, adjust cast.
1246 * vms.h (_bfd_vms_output_counted, _bfd_vms_output_dump): Adjust.
1247 * vms-alpha.c (evax_section_flags): Make it const.
1248 (vms_secflag_by_name): Remove unused ABFD argument.
1249 Make SECTION_FLAGS and NAME arguments const. Clarify comment.
1250 (vms_esecflag_by_name): Make SECTION_FLAGS and NAME arguments const.
1251 (_bfd_vms_slurp_egsd): Adjust call to vms_secflag_by_name.
1252 (_bfd_vms_write_egsd): Remove useless cast.
1253
cb3aabc7
TG
12542010-06-10 Tristan Gingold <gingold@adacore.com>
1255
1256 * config.bfd: Remove #if/#endif so that som can be compiled on any
1257 host.
1258 * targets.c (_bfd_target_vector): Remove #if/#endif so that som
1259 can be used on any host.
1260
e1f000f6
TG
12612010-06-10 Tristan Gingold <gingold@adacore.com>
1262
1263 * som.c: Can now be compiled on any host.
1264 Include bfd headers instead of system one.
1265 (som_compute_checksum): Parameter is now a pointer to a
1266 som_external_header structure. Adjust.
1267 (struct section_to_type): Field section is now const.
1268 (R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Removed conditional
1269 definition.
1270 (R_LONG_PCREL_MODE, R_N0SEL, R_N1SEL, R_LINETAB): Ditto.
1271 (R_LINETAB_ESC, R_LTP_OVERRIDE, R_COMMENT): Ditto.
1272 (som_swap_clock_in, som_swap_clock_out): New functions.
1273 (som_swap_header_in, som_swap_header_out): Likewise.
1274 (som_swap_space_dictionary_in): Likewise.
1275 (som_swap_space_dictionary_out): Likewise.
1276 (som_swap_subspace_dictionary_in): Likewise.
1277 (som_swap_subspace_dictionary_record_out): Likewise.
1278 (som_swap_aux_id_in, som_swap_aux_id_out): Likewise.
1279 (som_swap_string_auxhdr_out): Likewise.
1280 (som_swap_compilation_unit_out): Likewise.
1281 (som_swap_exec_auxhdr_in): Likewise.
1282 (som_swap_exec_auxhdr_out): Likewise.
1283 (som_swap_lst_header_in): Likewise.
1284 (som_object_setup): Adjust parameter type using bfd types.
1285 (setup_sections): Likewise. Ditto for object file types.
1286 Use intermediate variables for external representation and use the
1287 swap functions to convert.
1288 (som_object_p): Ditto. Remove #ifdef/#endif on always defined
1289 macros.
1290 (som_prep_headers): Likewise.
1291 (som_write_symbol_strings): Likewise.
1292 (som_begin_writing): Likewise.
1293 (som_finish_writing): Likewise.
1294 (som_build_and_write_symbol_table): Likewise.
1295 (bfd_section_from_som_symbol): Likewise.
1296 (som_slurp_symbol_table): Likewise.
1297 (som_bfd_print_private_bfd_data): Likewise.
1298 (bfd_som_attach_aux_hdr): Likewise. Clear the padding.
1299 (bfd_som_attach_compilation_unit): Likewise.
1300 (som_bfd_count_ar_symbols): Likewise.
1301 (som_bfd_fill_in_ar_symbols): Likewise.
1302 (som_slurp_armap): Likewise.
1303 (som_bfd_ar_write_symbol_stuff): Likewise.
1304 (som_write_armap): Likewise. Use _bfd_ar_spacepad instead of
1305 sprintf to write header fields.
1306 * som.h: Include bfd headers instead of system one.
1307 (FILE_HDR_SIZE, AUX_HDR_SIZE): Removed.
1308 (struct somdata): Use bfd structures instead of system ones.
1309 (struct som_section_data_struct): Likewise.
1310 (struct som_subspace_dictionary_record): Removed (now in
1311 include/som/internal.h)
1312
318cadba
TG
13132010-06-10 Tristan Gingold <gingold@adacore.com>
1314
1315 * targets.c (bfd_target_list): Remove hp/ux compiler work-around
1316 as bfd requires an ANSI-C compiler.
1317
f0b3dbfc
TG
13182010-06-09 Tristan Gingold <gingold@adacore.com>
1319
1320 * bfdio.c (bfd_bread): Fix the code to prevent reading past the
1321 end of archive members.
1322
7da73d69
TG
13232010-06-08 Tristan Gingold <gingold@adacore.com>
1324
1325 * som.c (som_bfd_free_cached_info): Do not free relocations as
1326 they were allocated with bfd_zalloc.
1327
cba3addf
TG
13282010-06-08 Tristan Gingold <gingold@adacore.com>
1329
1330 * vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment
1331 for the first block.
1332
09266d1a
TG
13332010-06-08 Tristan Gingold <gingold@adacore.com>
1334
1335 * vms-lib.c (_bfd_vms_lib_ia64_mkarchive): New function.
1336 * libbfd-in.h (_bfd_vms_lib_ia64_mkarchive): Declare.
1337 * libbfd.h: Regenerate.
1338 * elfxx-ia64.c (bfd_elfNN_write_archive_contents): Redefine for VMS.
1339 (bfd_elfNN_mkarchive): Ditto.
1340
d0ef7741
TG
13412010-06-02 Tristan Gingold <gingold@adacore.com>
1342
1343 * vms-alpha.c (alpha_vms_bfd_final_link): Fix 64bit constant.
1344
a009f2e7
RW
13452010-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1346
1347 * configure: Regenerate.
1348
46d00b8a
TG
13492010-06-01 Tristan Gingold <gingold@adacore.com>
1350
1351 * vms-alpha.c (struct vms_private_data_struct): Add
1352 transfer_address field. Remove unused dst_info field.
1353 (alpha_vms_write_exec): Use transfer_address.
1354 (_bfd_vms_write_egsd): Add a comment about LIB$INITIALIZE.
1355 (alpha_vms_bfd_final_link): Set transfer_address.
1356
7d5ee7d7
TG
13572010-05-31 Tristan Gingold <gingold@adacore.com>
1358
1359 * vms-lib.c (credat_lo, credat_hi): New fields.
1360 (vms_read_block): Adjust comments.
1361 (vms_write_block): New function.
1362 (_bfd_vms_lib_archive_p): Decode majorid once. Replace some
1363 hard-coded values with constants. Set credat_lo and credat_hi.
1364 (_bfd_vms_lib_mkarchive): Add argument kind.
1365 Set ver, mhd_size and type according to kind.
1366 (_bfd_vms_lib_alpha_mkarchive): New function.
1367 (struct lib_index): Renamed from struct vms_index
1368 (lib_index_cmp): Renamed from vms_index_cmp. Adjusted.
1369 (get_idxlen): Type of idx argument adjusted. Add is_elfidx
1370 argument and handle it.
1371 (vms_write_index): Adjust argument idx. Handle elf indexes.
1372 (_bfd_vms_lib_build_map): Adjust type of arguments modules and res.
1373 (_bfd_vms_lib_write_archive_contents): Add is_elfidx variable and
1374 use it. Handle elf indexes. Set credat.
1375 * libbfd-in.h (_bfd_vms_lib_mkarchive): Renamed to ...
1376 (_bfd_vms_lib_alpha_mkarchive): ... this.
1377 * libbfd.h: Regenerated.
1378 * vms-alpha.c (vms_alpha_vec): Adjust after previous renaming.
1379
7aa09196
SA
13802010-05-28 Sterling Augustine <sterling@tensilica.com>
1381
7d5ee7d7 1382 * elf32-xtensa.c (elf_xtensa_relocate_section): Add a large amount
7aa09196
SA
1383 of code to change the bits in the instructions to match the changes
1384 in the relocations. Declare dest_addr and sym_sec to help.
1385
81c5c866
JK
13862010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1387
1388 Workaround GCC PR middle-end/4210.
1389 * vms-misc.c (vms_time_t_to_vms_time): Use ternary operator for val[2]
1390 and val[3].
1391
953b49ed
TG
13922010-05-27 Tristan Gingold <gingold@adacore.com>
1393
1394 * vms-misc.c: Define __NEW_STARLET. Remove trailing spaces.
1395 (VMS_TIME_FACTOR, VMS_TIME_OFFSET): New macros.
1396 (vms_time_to_time_t): Use them instead of local const.
1397 (vms_time_t_to_vms_time): New function.
1398 (vms_get_time): Likewise.
1399 (vms_raw_get_time): Likewise.
1400 * vms.h (vms_time_t_to_vms_time): New declaration.
1401 (vms_get_time): Likewise.
1402 (vms_raw_get_time): Likewise.
1403
f9eeb9c9
TG
14042010-05-26 Tristan Gingold <gingold@adacore.com>
1405
1406 * vms-alpha.c: Update comments.
1407 (alpha_vms_write_exec): Set lnkflags. Write the GST.
1408 (alpha_vms_link_output_symbol): New function.
1409 (alpha_vms_bfd_final_link): Generate the VMS symbol table.
1410 Set dst_section private field.
1411 (alpha_vms_bfd_final_link): Remove code that set dst_section.
1412
65077aa8
TG
14132010-05-26 Tristan Gingold <gingold@adacore.com>
1414
1415 * bfdio.c: Declare and define _bfd_memory_iovec.
1416 (bfd_bread): Move code for BFD_IN_MEMORY...
1417 (bfd_bwrite): ... Ditto ...
1418 (bfd_tell): ... Ditto ...
1419 (bfd_flush): ... Ditto ...
1420 (bfd_stat): ... Ditto ...
1421 (bfd_seek): ... Ditto ...
1422 (bfd_get_size): ... Ditto ...
1423 (bfd_mmap): ... Ditto ...
1424 (memory_bread): ... to these new functions.
1425 (memory_bwrite): Ditto.
1426 (memory_btell): Ditto.
1427 (memory_bseek): Ditto.
1428 (memory_bflush): Ditto.
1429 (memory_bstat): Ditto.
1430 (memory_bmmap): Ditto.
1431 (memory_bclose): New function.
1432 * peicode.h (pe_ILF_build_a_bfd): Use BFD_IN_MEMORY.
1433 * xcofflink.c (bfd_xcoff_link_generate_rtinit): Ditto.
1434 * opncls.c (bfd_close): Do not handle BFD_IN_MEMORY case.
1435 (bfd_make_writable): Use _bfd_memory_iovec.
1436 * elfcode.h (bfd_from_remote_memory): Use _bfd_memory_iovec.
1437 * coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Use
1438 _bfd_memory_iovec.
1439 (alpha_ecoff_openr_next_archived_file): Use proxy_origin
1440 instead of origin.
1441 * libbfd.h: Regenerate.
1442
8e45593f
NC
14432010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
1444 Joseph Myers <joseph@codesourcery.com>
1445 Andrew Stubbs <ams@codesourcery.com>
1446
1447 * config.bfd (sh-*-uclinux* | sh[12]-*-uclinux*): Add
1448 bfd_elf32_shl_vec, and FDPIC vectors to targ_selvecs.
1449 * configure.in: Handle FDPIC vectors.
1450 * elf32-sh-relocs.h: Add FDPIC and movi20 relocations.
1451 * elf32-sh.c (DEFAULT_STACK_SIZE): Define.
1452 (SYMBOL_FUNCDESC_LOCAL): Define. Use it instead of
1453 SYMBOL_REFERENCES_LOCAL for function descriptors.
1454 (fdpic_object_p): New.
1455 (sh_reloc_map): Add FDPIC and movi20 relocations.
1456 (sh_elf_info_to_howto, sh_elf_relocate_section): Handle new invalid
1457 range.
1458 (struct elf_sh_plt_info): Add got20 and short_plt. Update all
1459 definitions.
1460 (FDPIC_PLT_ENTRY_SIZE, FDPIC_PLT_LAZY_OFFSET): Define.
1461 (fdpic_sh_plt_entry_be, fdpic_sh_plt_entry_le, fdpic_sh_plts): New.
1462 (FDPIC_SH2A_PLT_ENTRY_SIZE, FDPIC_SH2A_PLT_LAZY_OFFSET): Define.
1463 (fdpic_sh2a_plt_entry_be, fdpic_sh2a_plt_entry_le)
1464 (fdpic_sh2a_short_plt_be, fdpic_sh2a_short_plt_le, fdpic_sh2a_plts):
1465 New.
1466 (get_plt_info): Handle FDPIC.
1467 (MAX_SHORT_PLT): Define.
1468 (get_plt_index, get_plt_offset): Handle short_plt.
1469 (union gotref): New.
1470 (struct elf_sh_link_hash_entry): Add funcdesc, rename tls_type to
1471 got_type and adjust all uses. Add GOT_FUNCDESC.
1472 (struct sh_elf_obj_tdata): Add local_funcdesc. Rename
1473 local_got_tls_type to local_got_type.
1474 (sh_elf_local_got_type): Renamed from sh_elf_local_got_tls_type. All
1475 users changed.
1476 (sh_elf_local_funcdesc): Define.
1477 (struct elf_sh_link_hash_table): Add sfuncdesc, srelfuncdesc, fdpic_p,
1478 and srofixup.
1479 (sh_elf_link_hash_newfunc): Initialize new fields.
1480 (sh_elf_link_hash_table_create): Set fdpic_p.
1481 (sh_elf_omit_section_dynsym): New.
1482 (create_got_section): Create .got.funcdesc, .rela.got.funcdesc
1483 and .rofixup.
1484 (allocate_dynrelocs): Allocate local function descriptors and space
1485 for R_SH_FUNCDESC-related relocations, and for rofixups.
1486 Handle GOT_FUNCDESC. Create fixups. Handle GOT entries which
1487 require function descriptors.
1488 (sh_elf_always_size_sections): Handle PT_GNU_STACK and __stacksize.
1489 (sh_elf_modify_program_headers): New.
1490 (sh_elf_size_dynamic_sections): Allocate function descriptors for
1491 local symbols. Allocate .got.funcdesc contents. Allocate rofixups.
1492 Handle local GOT entries of type GOT_FUNCDESC. Create fixups for
1493 local GOT entries. Ensure that FDPIC libraries always have a PLTGOT
1494 entry in the .dynamic section.
1495 (sh_elf_add_dyn_reloc, sh_elf_got_offset, sh_elf_initialize_funcdesc)
1496 (sh_elf_add_rofixup, sh_elf_osec_to_segment)
1497 (sh_elf_osec_readonly_p, install_movi20_field): New functions.
1498 (sh_elf_relocate_section): Handle new relocations, R_SH_FUNCDESC,
1499 R_SH_GOTFUNCDESC and R_SH_GOTOFFFUNCDESC. Use sh_elf_got_offset
1500 and .got.plt throughout to find _GLOBAL_OFFSET_TABLE_. Add rofixup
1501 read-only section warnings. Handle undefined weak symbols. Generate
1502 fixups for R_SH_DIR32 and GOT entries. Check for cross-segment
1503 relocations and clear EF_SH_PIC. Handle 20-bit relocations.
1504 Always generate R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE.
1505 (sh_elf_gc_sweep_hook): Handle R_SH_FUNCDESC, R_SH_GOTOFF20,
1506 R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20, and R_SH_GOTOFFFUNCDESC.
1507 Handle 20-bit relocations.
1508 (sh_elf_copy_indirect_symbol): Copy function descriptor reference
1509 counts.
1510 (sh_elf_check_relocs): Handle new relocations. Make symbols
1511 dynamic for FDPIC relocs. Account for rofixups. Error for FDPIC
1512 symbol mismatches. Allocate a GOT for R_SH_DIR32. Allocate fixups
1513 for R_SH_DIR32.
1514 (sh_elf_copy_private_data): Copy PT_GNU_STACK size.
1515 (sh_elf_merge_private_data): Copy initial flags. Do not clobber
1516 non-mach flags. Set EF_SH_PIC for FDPIC. Reject FDPIC mismatches.
1517 (sh_elf_finish_dynamic_symbol): Do not handle got_funcdesc entries
1518 here. Rename sgot to sgotplt and srel to srelplt. Handle short_plt,
1519 FDPIC descriptors, and got20. Create R_SH_FUNCDESC_VALUE for FDPIC.
1520 Use install_movi20_field. Rename srel to srelgot. Always generate
1521 R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE.
1522 (sh_elf_finish_dynamic_sections): Fill in the GOT pointer in rofixup.
1523 Do not fill in reserved GOT entries for FDPIC. Correct DT_PLTGOT.
1524 Rename sgot to sgotplt. Assert that the right number of rofixups
1525 and dynamic relocations were allocated.
1526 (sh_elf_use_relative_eh_frame, sh_elf_encode_eh_address): New.
1527 (elf_backend_omit_section_dynsym): Use sh_elf_omit_section_dynsym.
1528 (elf_backend_can_make_relative_eh_frame)
1529 (elf_backend_can_make_lsda_relative_eh_frame)
1530 (elf_backend_encode_eh_address): Define.
1531 (TARGET_BIG_SYM, TARGET_BIG_NAME, TARGET_LITTLE_SYM)
1532 (TARGET_LITTLE_NAME, elf_backend_modify_program_headers, elf32_bed):
1533 Redefine for FDPIC vector.
1534 * reloc.c: Add SH FDPIC and movi20 relocations.
1535 * targets.c (_bfd_target_vector): Add FDPIC vectors.
1536 * configure, bfd-in2.h, libbfd.h: Regenerated.
1537
9fcd9da6
NC
15382010-05-25 Jay Krell <jay.krell@cornell.edu>
1539
1540 PR ld/11624
1541 * archive.c (_bfd_calloc_wrapper): New function.
1542 (_bfd_add_bfd_to_archive_cache): Use it.
1543
1544 * configure.in: Add alpha*-*-*vms* to list of natives.
1545 * configure: Regenerate.
1546
1547 * vms-misc.c: Define globalref if necessary.
1548 (vms_convert_to_var_unix_filename): Rename to
1549 _bfd_vms_convert_to_var_unix_filename and export.
1550 * vms.h: Add prototype for _bfd_vms_convert_to_var_unix_filename.
1551 * vms-alpha.c (vms_close_and_cleanup): Update invocation of
1552 vms_convert_to_var_unix_filename.
1553
c734eb83
TG
15542010-05-24 Tristan Gingold <gingold@adacore.com>
1555
ce76e55c
TG
1556 * vms-alpha.c (add_symbol_entry): New function extrated from ...
1557 (add_symbol): ... adjusted.
c734eb83 1558
5fe88cfb
TG
15592010-05-24 Tristan Gingold <gingold@adacore.com>
1560
1561 * vms-alpha.c (_bfd_vms_slurp_egsd): Fix indentation.
1562 (alpha_vms_write_exec): Add a comment.
1563 (_bfd_vms_write_egsd): Ditto.
1564 (alpha_vms_convert_symbol): Remove a blank line.
1565
6a286118
TG
15662010-05-21 Tristan Gingold <gingold@adacore.com>
1567
1568 * vms-alpha.c (_bfd_vms_slurp_eihs): Do not create a bfd section
1569 for the GST.
1570
c068d5be
TG
15712010-05-21 Tristan Gingold <gingold@adacore.com>
1572
1573 * vms-alpha.c (_bfd_vms_slurp_eisd): Set SEC_HAS_CONTENTS and
1574 SEC_LOAD if isect has data.
1575 (vms_get_symbol_info): Refine the condition for 'T' type.
1576
bd7b51b4
TG
15772010-05-18 Tristan Gingold <gingold@adacore.com>
1578
1579 * vms-alpha.c (_bfd_vms_write_emh): New function.
1580 (_bfd_vms_write_lmn): New function.
1581 (_bfd_vms_write_eeom): Moved.
1582 (hash_string): Likewise.
1583 (_bfd_vms_length_hash_symbol): Likewise.
1584 (_bfd_vms_write_ehdr): Code moved to _bfd_vms_write_emh
1585 and _bfd_vms_write_lmn, and call these functions.
1586
0fca53b7
TG
15872010-05-18 Tristan Gingold <gingold@adacore.com>
1588
1589 * vms-alpha.c (evax_bfd_print_dst): Handle INCR_LINUM_L.
1590 Add details in the messages.
1591 (evax_bfd_print_image): Change message.
1592
18ae9cc1
L
15932010-05-18 H.J. Lu <hongjiu.lu@intel.com>
1594
1595 PR gas/11600
1596 * elf.c (_bfd_elf_make_section_from_shdr): Handle SHF_EXCLUDE
1597 (elf_fake_sections): Likewise.
1598
1599 * elf32-i370.c (i370_elf_section_from_shdr): Don't handle
1600 SHF_EXCLUDE here.
1601 * elf32-ppc.c (ppc_elf_fake_sections): Likewise.
1602
9a1b4480
TG
16032010-05-17 Tristan Gingold <gingold@adacore.com>
1604
1605 * vms-alpha.c: Include esgps.h and eidc.h.
1606 (_bfd_vms_slurp_egsd): Ignore SPSC and IDC sub-records.
3a689531
TG
1607 (evax_bfd_print_egsd_flags): New function, extracted from ...
1608 (evax_bfd_print_egsd): ..., calls evax_bfd_print_egsd_flags. Handles
9a1b4480
TG
1609 EGSD__C_SPSC and EGSD__C_IDC.
1610
af47dcbf
TG
16112010-05-14 Tristan Gingold <gingold@adacore.com>
1612
1613 * vms-alpha.c (alpha_vms_object_p): Accept header size of 0.
1614 (_bfd_vms_get_object_record): Handle align byte only in the
1615 foreign case.
1616
7256a114
TG
16172010-05-14 Tristan Gingold <gingold@adacore.com>
1618
1619 * vms-lib.c (_bfd_vms_lib_ia64_archive_p): New function.
1620 * libbfd-in.h (_bfd_vms_lib_ia64_archive_p): Add prototype.
1621 * libbfd.h: Regenerate.
1622 * configure.in (havevecs): Define HAVE_all_vecs when
1623 --enable-targets=all is set. Use AC_SUBST on it.
1624 (tdefaults): Do not add havevecs.
1625 (bfd_elf64_ia64_vms_vec): Add vms-lib.lo and vms-misc.lo
1626 * configure: Regenerate.
1627 * Makefile.am (HAVEVECS): New variable.
1628 (INCLUDES): Add HAVEVECS.
1629 * Makefile.in: Regenerate.
1630 * elfxx-ia64.c (INCLUDE_IA64_VMS): New macro, defined if vms
1631 target is selected. Add #ifdef/#endif around vms specific code.
1632 (bfd_elfNN_archive_p, bfd_elfNN_archive_slurp_armap,
1633 bfd_elfNN_archive_slurp_extended_name_table,
1634 bfd_elfNN_archive_construct_extended_name_table,
1635 bfd_elfNN_archive_truncate_arname,
1636 bfd_elfNN_archive_write_armap,
1637 bfd_elfNN_archive_read_ar_hdr,
1638 bfd_elfNN_archive_write_ar_hdr,
1639 bfd_elfNN_archive_openr_next_archived_file,
1640 bfd_elfNN_archive_get_elt_at_index,
1641 bfd_elfNN_archive_generic_stat_arch_elt,
1642 bfd_elfNN_archive_update_armap_timestamp): Define to use vms archives.
1643
4547cb56
NC
16442010-05-11 Jie Zhang <jie@codesourcery.com>
1645
1646 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Merge
1647 Tag_ABI_HardFP_use correctly.
1648
3390ce30
AM
16492010-05-11 Alan Modra <amodra@gmail.com>
1650
1651 * coffcode.h (coff_write_object_contents): Enclose all occurrences
1652 of hasdebug and is_reloc_section in #ifdef COFF_IMAGE_WITH_PE.
1653
92750f34
DJ
16542010-05-07 Daniel Jacobowitz <dan@codesourcery.com>
1655
1656 * elf32-arm.c (struct a8_erratum_reloc): Add hash member. Move
1657 sym_name to improve packing.
1658 (cortex_a8_erratum_scan): Check for PLT entries.
1659 (elf32_arm_size_stubs): Save the target symbol for a8 relocs.
1660
6540b386
TG
16612010-05-07 Tristan Gingold <gingold@adacore.com>
1662
1663 * Makefile.in: Regenerate with automake 1.11.1.
1664 * aclocal.m4: Ditto.
1665
3e01a7fd
NC
16662010-05-05 Nick Clifton <nickc@redhat.com>
1667
1668 * po/es.po: Updated Spanish translation.
1669
fa23f0f4
TG
16702010-05-03 Tristan Gingold <gingold@adacore.com>
1671
1672 * vms-lib.c (vms_lib_bopen): Fix the size threshold to read
1673 selective_search flag.
1674 Add comments.
1675 * vms-alpha.c (alpha_vms_bfd_final_link): Create the DMT section
1676 before output_has_begun is set.
1677
44273c5b
TG
16782010-05-03 Tristan Gingold <gingold@adacore.com>
1679
1680 * vms-alpha.c: Add comments.
1681 (struct vms_private_data_struct): Remove image_autoextend field.
1682 (dst_check_allocation): Removed.
1683 (image_write): Remove call to dst_check_allocation.
1684 (vms_slurp_debug): Do not set image_autoextend. Adjust section
1685 size.
1686 (_bfd_vms_slurp_object_records): Remove useless new_type variable.
1687 (alpha_vms_write_exec): Use dst_section to get the dst section.
1688 Write the dmt section.
1689 (evax_bfd_print_image): Also print the dst size in hexa. Fix typo.
1690 (alpha_vms_read_sections_content): Do not set image_autoextend.
fa23f0f4 1691 (alpha_vms_bfd_final_link): Generate the dst.
44273c5b 1692
ab94b07c
TG
16932010-05-03 Tristan Gingold <gingold@adacore.com>
1694
1695 * vms-lib.c (_bfd_vms_lib_archive_p): Adjust for a possible empty
1696 next array.
1697 (vms_lib_dcx): Adjust for the above change.
1698
0672748a
L
16992010-04-30 H.J. Lu <hongjiu.lu@intel.com>
1700
1701 PR ld/11542
1702 * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): New.
1703
1704 * elf32-i386.c (elf_i386_relocate_section): Use it.
1705 * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
1706
13a985e1
TG
17072010-04-30 Tristan Gingold <gingold@adacore.com>
1708
1709 * vms-lib.c (vms_read_block): New function.
1710 (vms_traverse_index): Use vms_read_block. Handle long key names.
1711
8e57e1d1
TG
17122010-04-30 Tristan Gingold <gingold@adacore.com>
1713
1714 * vms-lib.c (struct lib_tdata): Field artdata added, fields nbr_syms
1715 and syms removed.
1716 (struct carsym_mem): New structure.
1717 (vms_add_index): New function.
1718 (vms_add_indexes_from_list): New function.
1719 (vms_traverse_index): Parameter carsym changed to carsym_mem.
1720 Code adjusted to handle elfidx.
1721 (vms_lib_read_index): Adjusted for vms_traverse_index changes.
1722 Parameter NBREL is now a pointer.
1723 (_bfd_vms_lib_archive_p): Adjust for above change. Handle ia64
1724 archives.
1725 (_bfd_vms_lib_mkarchive): Adjusted for changes in struct lib_tdata.
1726 (_bfd_vms_lib_find_symbol): Ditto.
1727 (vms_lib_bopen): Fix two typos: return FALSE in case of error,
1728 check MHD id.
1729 (_bfd_vms_lib_get_module): New function.
1730 (_bfd_vms_lib_get_elt_at_index): Rewritten using the above
1731 function.
1732 (_bfd_vms_lib_openr_next_archived_file): Use _bfd_vms_lib_get_module.
1733 (_bfd_vms_lib_generic_stat_arch_elt): Handle ia64 archives.
1734 (vms_write_index): Adjust for structure renamed.
1735 * vms-alpha.c (alpha_vms_link_add_archive_symbols): Adjust for
1736 changes of _bfd_vms_lib_find_symbol.
1737
bb591cfe
KT
17382010-04-28 Kai Tietz <kai.tietz@onevision.com>
1739
1740 * config.bfd: Correct accidential reverted patch
1741 about vax*-*-*vms*.
1742
ef72a554
KT
17432010-04-27 Kai Tietz <kai.tietz@onevision.com>
1744
1745 * pe-x86_64.c (TARGET_UNDERSCORE): Set value dependent
1746 to USE_MINGW64_LEADING_UNDERSCORES.
854b41e7 1747 * pei-x86_64.c (TARGET_UNDERSCORE): Likewise.
ef72a554
KT
1748 * config.bfd: Change underscoring default for x64 mingw
1749 to false.
1750 * coffcode.h (coff_write_relocs): Add check that dereferenced
1751 sym_ptr_ptr isn't NULL.
1752 * config.in (USE_MINGW64_LEADING_UNDERSCORES): New.
1753 * configure: Regenerated.
1754 * configure.in: Add option '--enable-leading-mingw64-underscores'
1755 and define config.in variable USE_MINGW64_LEADING_UNDERSCORES.
1756
4d9e2b27
NC
17572010-04-27 Nick Clifton <nickc@redhat.com>
1758
1759 PR binutils/11512
1760 * coffgen.c (coff_find_nearest_line): Incldue the section address
1761 of function name symbols in address comparisons.
1762
4ba3f034
NC
17632010-04-27 Nick Clifton <nickc@redhat.com>
1764
1765 * po/fr.po: Updated French translation.
1766
9a83a553
AM
17672010-04-23 Alan Modra <amodra@gmail.com>
1768
1769 * elf.c: Replace use of ELF_IS_SECTION_IN_SEGMENT and
1770 ELF_IS_SECTION_IN_SEGMENT_FILE with ELF_SECTION_IN_SEGMENT
1771 throughout file.
1772 (assign_file_positions_for_load_sections): Modify section in
1773 segment warning to ignore overlay vmas.
1774 * elf32-spu.c (spu_elf_object_p): Replace use of
1775 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
1776
9c9c98a5
NC
17772010-04-22 Nick Clifton <nickc@redhat.com>
1778
1779 * po/bfd.pot: Updated by the Translation project.
1780 * po/vi.po: Updated Vietnamese translation.
1781
3ac9b6c9
AM
17822010-04-22 Alan Modra <amodra@gmail.com>
1783
1784 * elf.c (assign_file_positions_for_load_sections): Revert 2008-05-29
1785 change. Tidy. Don't error on sections not allocated in segment.
1786
85fdf906
AH
17872010-04-15 Andrew Haley <aph@redhat.com>
1788
1789 * bfd-in.h (elf32_arm_fix_exidx_coverage): Add new flag:
1790 merge_exidx_entries.
1791 * bfd-in2.h: Likewise.
1792 * elf32-arm.c (elf32_arm_fix_exidx_coverage): Likewise. Use it to
1793 control merging of exidx entries.
9c9c98a5 1794
41820509
JM
17952010-04-20 Joseph Myers <joseph@codesourcery.com>
1796
1797 * elf32-tic6x.h: New.
1798 * elf-bfd.h (enum elf_target_id): Define TIC6X_ELF_DATA.
1799 * elf32-tic6x.c (struct elf32_tic6x_obj_tdata, elf32_tic6x_tdata,
1800 elf32_tic6x_howto_table_rel, elf32_tic6x_info_to_howto_rel,
1801 elf32_tic6x_set_use_rela_p, elf32_tic6x_mkobject,
1802 elf32_tic6x_new_section_hook, elf32_tic6x_rel_relocation_p,
1803 bfd_elf32_mkobject, bfd_elf32_new_section_hook): New.
1804 (elf32_tic6x_reloc_type_lookup, elf32_tic6x_reloc_name_lookup,
1805 elf32_tic6x_relocate_section): Handle REL relocations.
1806 (elf_info_to_howto_rel): Define to elf32_tic6x_info_to_howto_rel.
1807
643be349
JJ
18082010-04-20 Jakub Jelinek <jakub@redhat.com>
1809
1810 * dwarf2.c (find_abstract_instance_name, scan_unit_for_symbols): Treat
1811 DW_AT_linkage_name the same as DW_AT_MIPS_linkage_name.
1812
c9736ba0
NC
18132010-04-19 Nick Clifton <nickc@redhat.com>
1814
1815 * archive64.c (bfd_elf64_archive_slurp_armap): Remove unused
1816 arhdrpos variable.
1817 * elf64-x86-64.c (elf64_x86_64_relocate_section): Add unused
1818 attribute to warned variable. Remove unused val, type and type2
1819 variables.
1820
11afaeda
TG
18212010-04-16 Andreas Schwab <schwab@redhat.com>
1822
1823 * vms-alpha.c (alpha_vms_link_add_object_symbols): Avoid breaking
1824 strict-aliasing rules.
c9736ba0 1825
ddfb684a
TG
18262010-04-16 Tristan Gingold <gingold@adacore.com>
1827
1828 * vms-alpha.c (_bfd_vms_slurp_eihd): Fix typo.
1829 (_bfd_vms_get_object_record): Always assume there is a pad byte
1830 for alignment.
11afaeda 1831
ddfb684a
TG
1832 * vms-lib.c: Add a few comments.
1833
75375b3e
MGD
18342010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1835
1836 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Support additions to
1837 attributes in v2.08 of the ABI.
1838
f526ccf3
AM
18392010-04-15 Alan Modra <amodra@gmail.com>
1840
1841 * config.bfd (vax*-*-*vms*): Delete.
1842
95e34ef7
TG
18432010-04-14 Tristan Gingold <gingold@adacore.com>
1844
1845 * Makefile.am (BFD32_BACKENDS): Remove vms-gsd.lo, vms-hdr.lo,
1846 vms-tir.lo, vms.lo and add vms-alpha.lo
1847 (BFD32_BACKENDS_CFILES): Remove vms-gsd.c, vms-hdr.c,
1848 vms-tir.c, vms.c and add vms-alpha.c
1849 * Makefile.in: Regenerate.
1850 * configure.in (TDEFINES): Adjust file list for vms_alpha_vec.
1851 Remove vms_vax_vec.
1852 * configure: Regenerate.
1853 * targets.c (vms_vax_vec): Remove the declaration.
1854 (_bfd_target_vector): Remove vms_vax_vec.
1855 * vms-alpha.c: New file.
1856 * vms-gsd.c: Removed, rewritten in vms-alpha.c
1857 * vms-hdr.c: Ditto.
1858 * vms-tir.c: Ditto.
1859 * vms.c: Ditto.
1860 * vms-misc.c: Fix indentation and comments. Replace most of
1861 #if VMS_DEBUG/vms_debug with vms_debug2.
1862 (_bfd_vms_hash_newfunc): Moved to vms-alpha.c
1863 (hash_string): Ditto.
1864 (_bfd_vms_length_hash_symbol): Ditto.
1865 (maybe_adjust_record_pointer_for_object): Ditto.
1866 (_bfd_vms_get_object_record): Ditto.
1867 (vms_get_remaining_object_record): Ditto.
1868 (_bfd_vms_push): Ditto.
1869 (_bfd_vms_pop): Ditto.
1870 (_bfd_vms_get_header_values): Removed.
1871 (_bfd_vms_get_first_record): Removed.
1872 (vms_get_remaining_image_record): Removed.
1873 (new_symbol): Removed.
1874 (_bfd_vms_enter_symbol): Removed.
1875 (_bfd_vms_save_sized_string): Use memcpy instead of strncpy.
1876 (_bfd_vms_output_begin): Remove rechead parameter. Replace bfd
1877 parameter with struct vms_rec_wr.
1878 (_bfd_vms_output_push): Removed and replaced by ...
1879 (_bfd_vms_output_begin_subrec): ... new function.
1880 (_bfd_vms_output_alignment): Replace bfd parameter with
1881 struct vms_rec_wr, and adjust.
1882 (_bfd_vms_output_check): Ditto
1883 (_bfd_vms_output_byte): Ditto.
1884 (_bfd_vms_output_short): Ditto.
1885 (_bfd_vms_output_long): Ditto.
1886 (_bfd_vms_output_quad): Ditto.
1887 (_bfd_vms_output_counted): Ditto.
1888 (_bfd_vms_output_dump): Ditto.
1889 (_bfd_vms_output_fill): Ditto.
1890 (_bfd_vms_output_pop): Removed and replaced by ...
1891 (_bfd_vms_output_end_subrec): ... new function.
1892 (_bfd_vms_output_flush): Removed.
1893 (_bfd_vms_output_align): New function.
1894 (_bfd_vms_output_end): Add recwr parameter. Adjust for this new
1895 parameter.
1896 (vms_convert_to_var): New function imported from vms.c
1897 (vms_convert_to_var_1): Ditto.
1898 (vms_convert_to_var_unix_filename): Ditto.
1899 (vms_get_module_name): Ditto.
1900 (get_vms_time_string): Ditto.
1901 (vms_time_to_time_t): Ditto.
1902 (vms_rawtime_to_time_t): Ditto.
1903 * vms.h: All macros for the VMS file format are now in include/vms.
1904 Prototypes for vms.c, vms-gsd.c, vms-misc.c, vms-hdr.c, vms-tir.c
1905 have been removed.
1906 (struct vms_symbol_struct, struct stack_struct): Moved to vms-alpha.c
1907 (struct fileinfo, struct srecinfo, struct lineinfo): Ditto.
1908 (struct funcinfo, struct vms_private_data_struct): Ditto.
1909 (struct vms_section_data_struct): Ditto.
1910 (struct vms_rec_rd, stryct vms_rec_wr): New declarations.
1911 (vms_get_module_name, get_vms_time_string): New declarations.
1912 (vms_time_to_time_t, vms_rawtime_to_time_t): Ditto.
1913 (_bfd_vms_output_begin_subrec, _bfd_vms_output_end_subrec): Ditto.
1914 (_bfd_vms_save_sized_string, _bfd_vms_save_counted_string): Adjusted.
1915 (_bfd_vms_output_begin, _bfd_vms_output_alignment): Ditto.
1916 (_bfd_vms_output_end,_bfd_vms_output_check): Ditto.
1917 (_bfd_vms_output_byte, _bfd_vms_output_short): Ditto.
1918 (_bfd_vms_output_long, _bfd_vms_output_quad): Ditto.
1919 (_bfd_vms_output_counted, _bfd_vms_output_dump): Ditto.
1920 (_bfd_vms_output_fill): Ditto.
1921 (bfd_vms_set_section_flags): Ditto.
1922
895fa45f
MGD
19232010-04-14 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1924
1925 * elflink.c (_bfd_elf_merge_symbol): Tighten up the test for early
1926 exit due to merging the same weak symbol to test that the symbols are
1927 actually weak.
1928
727ac201
AM
19292010-04-13 Alan Modra <amodra@gmail.com>
1930
1931 * elf64-ppc.c (ppc64_elf_relocate_section): Correct NOP location
1932 when optimizing high got_tlsgd/ld insns.
1933
fe50f439
L
19342010-04-10 H.J. Lu <hongjiu.lu@intel.com>
1935
1936 * hosts/x86-64linux.h (HAVE_PRPSINFO32_T): Undefine before
1937 define.
1938 (HAVE_PRSTATUS32_T): Likewise.
1939
8bc7f138
L
19402010-04-10 H.J. Lu <hongjiu.lu@intel.com>
1941
1942 PR corefiles/11467
1943 * configure.in (CORE_HEADER): New. Set to hosts/x86-64linux.h
1944 for x86_64-*-linux*.
1945 * config.in: Regenerated.
1946 * configure: Likewise.
1947
1948 * elf.c: Include CORE_HEADER if it is defined.
1949
19502010-04-10 H.J. Lu <hongjiu.lu@intel.com>
1951 Jan Kratochvil <jan.kratochvil@redhat.com>
1952
1953 * hosts/x86-64linux.h: New.
1954
3d540e93
NC
19552010-04-09 Nick Clifton <nickc@redhat.com>
1956
1957 * aoutx.h (aout_link_input_bfd): Remove unused variable sym_count.
1958 * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Remove unused
1959 variables htab and hdr_info and mark info parameter as unused.
1960 * elf.c (prep_headers): Remove unused variable i_phdrp.
1961 (_bfd_elf_write_object_contents): Remove unused variable i_ehdrp.
1962 * elf32-i386.c (elf_i386_relocate_section): Mark variabled warned
1963 as unused.
1964 * peXXigen.c (pe_print_reloc): Remove unused variable datasize.
1965 * verilog.c (verilog_write_section): Remove unused variable
1966 address.
1967
d1a98e0c
AM
19682010-04-07 Alan Modra <amodra@gmail.com>
1969
1970 * warning.m4 (GCC_WARN_CFLAGS): Only add -Wshadow for gcc-4 and above.
1971 * configure: Regenerate.
1972
6f8bcf84
L
19732010-04-06 H.J. Lu <hongjiu.lu@intel.com>
1974
1975 PR ld/11434
1976 * elf-bfd.h (SYMBOLIC_BIND): Don't bind unique symbol locally.
1977
0e9b2e9a
TG
19782010-04-06 Tristan Gingold <gingold@adacore.com>
1979
1980 * vms-lib.c (_bfd_vms_lib_write_archive_contents): Fix idd flags.
1981
a233b20c
JJ
19822010-04-05 Jakub Jelinek <jakub@redhat.com>
1983
604282a7
JJ
1984 * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Handle CIE version 4
1985 provided that it has the expected address size and zero segment
1986 length.
1987
a233b20c
JJ
1988 * dwarf2.c (struct line_head): Add maximum_ops_per_insn field.
1989 (struct line_info): Add op_index field, change end_sequence type to
1990 unsigned char.
1991 (new_line_sorts_after): For the same address compare op_index.
1992 (add_line_info): Add op_index argument, store it into the structure.
1993 (decode_line_info): Complain about unknown versions of .debug_line.
1994 Initialize maximum_ops_per_insn. Add op_index state register and
1995 track it.
1996
f2faa800
NS
19972010-04-01 Nathan Sidwell <nathan@codesourcery.com>
1998
1999 * elf32-ppc.c (apuinfo_set): New static var.
2000 (ppc_elf_begin_write_processing): Set it here, always create an
2001 APUinfo section if there were any in the inputs.
2002 (ppc_elf_write_section): Check apuinfo_set.
2003 (ppc_elf_final_write_processing): Likewise.
2004
4b544b64
TG
20052010-04-01 Tristan Gingold <gingold@adacore.com>
2006
2007 * vms.h: Include time.h. Add prototypes for vms_get_module_name,
2008 vms_time_to_time_t and vms_rawtime_to_time_t.
2009 * vms.c (vms_alpha_vec): Add archives support.
2010 * vms-misc.c: Include safe-ctype.h
2011 (vms_get_module_name): New function.
2012 (vms_time_to_time_t, vms_rawtime_to_time_t): Ditto.
2013 * vms-hdr.c (_bfd_vms_write_hdr): Put module name creation to the
2014 vms_get_module_name function. Use this function.
2015 * targets.c: Declare vms_lib_txt_vec. Add it to _bfd_target_vector.
2016 * libbfd-in.h: Add prototype for _bfd_append_relative_path.
2017 Add prototypes for vms-lib.c
2018 * libbfd.h: Regenerate.
2019 * configure.in (TDEFINES): Add an entry for vms_lib_txt_vec. Add
2020 vms-lib.lo to vms_alpha_vec.
2021 * config.bfd (targ_cpu): Add targ_selvecs for alpha*-*-*vms*.
2022 * configure: Regenerate.
2023 * bfd.c: Add selective_search field.
2024 * bfd-in2.h: Regenerate.
2025 * archive.c (append_relative_path): Rename to
2026 _bfd_append_relative_path and make it public.
2027 (_bfd_get_elt_at_filepos): Adjust for above renaming.
2028 * Makefile.am (BFD32_BACKENDS): Add vms-lib.lo
2029 (BFD32_BACKENDS_CFILES): Add vms-lib.c
2030 * Makefile.in: Regenerate.
2031
c07cbdd7
JJ
20322010-04-01 Jakub Jelinek <jakub@redhat.com>
2033
2034 * dwarf2.c (read_attribute_value): Handle CU version 4
2035 for DW_FORM_ref_addr, handle DW_FORM_sec_offset, DW_FORM_exprloc
2036 and DW_FORM_flag_present. For unknown form value return NULL.
2037 (scan_unit_for_symbols): For DW_AT_location handle DW_FORM_exprloc
2038 like DW_FORM_block.
2039 (parse_comp_unit): Allow CU version 4.
2040
e236b51d
HPN
20412010-04-01 Hans-Peter Nilsson <hp@axis.com>
2042
2043 * elf32-cris.c (cris_elf_relocate_section): Correct first argument
2044 to _bfd_elf_get_dynamic_reloc_section.
2045 (elf_cris_discard_excess_dso_dynamics): Ditto.
2046
b706dc83
KT
20472010-03-31 Kai Tietz <kai.tietz@onevision.com>
2048
2049 * coff-i386.c (in_reloc_p): Check also for R_SECREL32.
2050 * coff-x86_64.c (in_reloc_p): Check also for R_AMD64_SECREL.
2051
9d6ded02
AM
20522010-03-31 Alan Modra <amodra@gmail.com>
2053
2054 * elf64-ppc.c (ppc64_elf_relocate_section): Nop out optimized
2055 TPREL16_HI and TPREL16_HA insns.
2056
bfbff9eb
HPN
20572010-03-31 Hans-Peter Nilsson <hp@axis.com>
2058
2059 PR ld/11458
2060 * elf32-cris.c (elf_cris_copy_indirect_symbol): Remove invalid
2061 assert of empty pcrel_relocs_copied on the direct symbol. Instead
2062 of moving the list from the indirect symbol to the direct symbol,
2063 merge into any existing list.
2064 (cris_elf_check_relocs): Store the original section in the
2065 pcrel_relocs_copied list, not the relocation section.
2066 (elf_cris_discard_excess_dso_dynamics): Adjust accordingly to find
2067 the relocation section, for reducing its size. Change the
2068 BFD_ASSERT into a check for the section being read-only, and only
2069 emit warnings and TEXTREL marker when there's an entry for a
2070 read-only section.
2071
41ed1ee7
DJ
20722010-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2073
2074 * elf32-arm.c (using_thumb_only): Handle v6-M.
2075
ddfd6795
AM
20762010-03-26 Alan Modra <amodra@gmail.com>
2077
2078 * elf32-ppc.c (ppc_elf_howto_raw <R_PPC_EMB_RELSDA>): Not pc-relative.
2079 * bfd-in.h (elf_discarded_section): Clarify comment.
2080 * reloc.c (struct reloc_howto_struct <pc_relative>): Likewise.
2081 * bfd-in2.h: Regenerate.
2082
1352b58a
AM
20832010-03-26 Matt Rice <ratmice@gmail.com>
2084
2085 * archive.c (_bfd_compute_and_write_armap): Allow symbols flagged
2086 as unique in the armap.
2087
6abec6bc
AM
20882010-03-26 Alan Modra <amodra@gmail.com>
2089
2090 PR ld/11375
2091 * elf64-ppc.c (ppc64_elf_relocate_section): Always look up a
2092 possible stub on branches.
2093
40b36596
JM
20942010-03-25 Joseph Myers <joseph@codesourcery.com>
2095
2096 * Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo.
2097 (ALL_MACHINES_CFILES): Add cpu-tic6x.c.
2098 (BFD32_BACKENDS): Add elf32-tic6x.lo.
2099 (BFD32_BACKENDS_CFILES): Add elf32-tic6x.c.
2100 * Makefile.in: Regenerate.
2101 * archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New.
2102 (bfd_archures_list): Update.
2103 * config.bfd (tic6x-*-elf): New.
2104 * configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec):
2105 New.
2106 * configure: Regenerate.
2107 * cpu-tic6x.c, elf32-tic6x.c: New.
2108 * reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12,
2109 BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7,
2110 BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16,
2111 BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B,
2112 BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W,
2113 BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B,
2114 BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W,
2115 BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H,
2116 BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W,
2117 BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W,
2118 BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31,
2119 BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN,
2120 BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New.
2121 * targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New.
2122 (_bfd_target_vector): Update.
2123 * bfd-in2.h, libbfd.h: Regenerate.
2124
4f608e79
L
21252010-03-24 H.J. Lu <hongjiu.lu@intel.com>
2126
2127 * aout-target.h: Update copyright year.
2128 * aout-tic30.c: Likewise.
2129 * coff-alpha.c: Likewise.
2130 * coff-rs6000.c: Likewise.
2131 * coff64-rs6000.c: Likewise.
2132 * elf64-mips.c: Likewise.
2133 * ieee.c: Likewise.
2134 * libecoff.h: Likewise.
2135 * mach-o-target.c: Likewise.
2136 * mach-o.c: Likewise.
2137 * oasys.c: Likewise.
2138 * targets.c: Likewise.
2139
337660d8
L
21402010-03-24 H.J. Lu <hongjiu.lu@intel.com>
2141
2142 * libbfd-in.h: Update copyright year.
2143
ca4a656b
L
21442010-03-21 H.J. Lu <hongjiu.lu@intel.com>
2145
2146 PR ld/11413
2147 * elflink.c (_bfd_elf_add_default_symbol): Check !executable
2148 instead of shared.
2149
47b2e99c
JZ
21502010-03-19 Jie Zhang <jie@codesourcery.com>
2151
2152 * elf32-arm.c (struct section_list): Remove.
2153 (section_list): Remove typedef.
2154 (record_section_with_arm_elf_section_data): Remove.
2155 (find_arm_elf_section_entry): Remove.
2156 (get_arm_elf_section_data): Use is_arm_elf.
2157 (unrecord_section_with_arm_elf_section_data): Remove.
2158 (elf32_arm_new_section_hook): Don't call
2159 record_section_with_arm_elf_section_data.
2160 (elf32_arm_write_section): Set mapcount to -1 when
2161 the map has been used. Don't call
2162 unrecord_section_with_arm_elf_section_data.
2163 (unrecord_section_via_map_over_sections): Remove.
2164 (elf32_arm_close_and_cleanup): Remove.
2165 (elf32_arm_bfd_free_cached_info): Remove.
2166 (bfd_elf32_close_and_cleanup): Don't define.
2167 (bfd_elf32_bfd_free_cached_info): Don't define.
2168
441f34fa
L
21692010-03-18 H.J. Lu <hongjiu.lu@intel.com>
2170
2171 PR binutils/11396
2172 * libcoff-in.h (pe_tdata): Add dont_strip_reloc.
2173 * libcoff.h: Regenerated.
2174
2175 * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Clear F_RELFLG
2176 if dont_strip_reloc is set.
2177 (_bfd_XX_bfd_copy_private_bfd_data_common): Set
2178 dont_strip_reloc on output if there is no .reloc and
2179 IMAGE_FILE_RELOCS_STRIPPED isn't set in input.
2180
b43420e6
NC
21812010-03-18 Wei Guozhi <carrot@google.com>
2182
2183 PR gas/11323
2184 * elf32-arm.c (elf32_arm_reloc_map): Map BFD_RELOC_ARM_GOT_PREL to
2185 R_ARM_GOT_PREL.
2186 * reloc.c (BFD_RELOC_ARM_GOT_PREL): New ARM relocation.
2187 * bfd-in2.h: Regenerate.
2188 * libbfd.h: Regenerate.
2189
a1b88b01
L
21902010-03-17 H.J. Lu <hongjiu.lu@intel.com>
2191
2192 * reloc.c (BFD_RELOC_SPU_PIC18): Removed.
2193 (BFD_RELOC_SPU_STUB): Likewise.
2194
4b0f0711
L
21952010-03-17 Jie Zhang <jie@codesourcery.com>
2196
2197 * elf.c (assign_file_positions_for_load_sections): Avoid
2198 overflow.
2199
f4bacdc0
AM
22002010-03-17 Alan Modra <amodra@gmail.com>
2201
93620fdb 2202 PR binutils/11382
f4bacdc0
AM
2203 * plugin.c (bfd_plugin_object_p): Pass iostream to fileno using
2204 proper type.
2205
8f73510c
AM
22062010-03-17 Alan Modra <amodra@gmail.com>
2207
2208 * elf32-arm.c (cortex_a8_erratum_scan): Warning fix.
2209
67f0cbdb
AM
22102010-03-16 Alan Modra <amodra@gmail.com>
2211
2212 * elf64-ppc.c (struct ppc_link_hash_table): Add do_toc_opt.
2213 (ppc64_elf_edit_toc): Set it here.
2214 (ha_reloc_match): New function.
2215 (ppc64_elf_relocate_section): Optimize bigtoc insn sequences.
2216
1bbe0902
AM
22172010-03-15 Alan Modra <amodra@gmail.com>
2218
2219 * elf64-ppc.c (ppc64_elf_has_small_toc_reloc): New function.
2220 * elf64-ppc.h (ppc64_elf_has_small_toc_reloc): Declare.
2221
70cc837d
AM
22222010-03-14 Alan Modra <amodra@gmail.com>
2223
2224 PR ld/11378
2225 * elf64-ppc.h (ppc64_elf_check_init_fini): Declare.
2226 * elf64-ppc.c (call_check_done): Define.
2227 (ppc64_elf_add_symbol_hook): Substitute bfd_get_section_name macro.
2228 (ppc64_elf_check_relocs, ppc64_elf_size_dynamic_sections): Likewise.
2229 (ppc64_elf_finish_multitoc_partition): Remove unnecessary check.
2230 (toc_adjusting_stub_needed): Use call_check_done rather than toc_off.
2231 Simplify return logic. Iterate over all .init and .fini fragments
2232 by recursion. Set makes_toc_func_call here..
2233 (ppc64_elf_next_input_section): ..rather than here.
2234 (check_pasted_section, ppc64_elf_check_init_fini): New functions.
2235
7b8f6675
AM
22362010-03-13 Alan Modra <amodra@gmail.com>
2237
2238 PR ld/11375
2239 * elf64-ppc.c (ppc_type_of_stub): Always set *hash to the
2240 function descriptor symbol if there is one, not just for plt stubs.
2241 (ppc64_elf_relocate_section): Use fdh on all ppc_get_stub_entry calls.
2242
a6cc6b3b
RO
22432010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2244
2245 * elflink.c (bfd_elf_size_dynamic_sections): Don't emit base
2246 version twice.
2247 Skip it when constructing def.vd_next.
2248
2249 * elf32-i386.c (TARGET_LITTLE_SYM): Redefine to
2250 bfd_elf32_i386_sol2_vec.
2251 (TARGET_LITTLE_NAME): Redefine to elf32-i386-sol2.
2252 (elf32_bed): Redefine to elf32_i386_sol2_bed.
2253 (elf_backend_want_plt_sym): Redefine to 1.
2254
2255 * elf64-x86-64.c (TARGET_LITTLE_SYM): Redefine to
2256 bfd_elf64_x86_64_sol2_vec.
2257 (TARGET_LITTLE_NAME): Redefine to elf64-x86-64-sol2.
2258 (elf64_bed): Redefine to elf64_x86_64_sol2_bed.
2259 (elf_backend_want_plt_sym): Redefine to 1.
2260
2261 * config.bfd (i[3-7]86-*-solaris2*): Set targ_defvec to
2262 bfd_elf32_i386_sol2_vec.
2263 Replace bfd_elf64_x86_64_vec by bfd_elf64_x86_64_sol2_vec in
2264 targ64_selvecs.
2265 (x86_64-*-solaris2*): Set targ_defvec to bfd_elf32_i386_sol2_vec.
2266 Replace bfd_elf64_x86_64_vec by bfd_elf64_x86_64_sol2_vec in
2267 targ_selvecs.
2268
2269 * configure.in: Handle bfd_elf32_i386_sol2_vec,
2270 bfd_elf64_x86_64_sol2_vec.
2271 * configure: Regenerate.
2272
2273 * targets.c (bfd_elf32_i386_sol2_vec): Declare.
2274 (bfd_elf64_x86_64_sol2_vec): Declare.
2275 (_bfd_target_vector): Add bfd_elf32_i386_sol2_vec,
2276 bfd_elf64_x86_64_sol2_vec.
2277
f7dd8c79
DJ
22782010-03-04 Daniel Jacobowitz <dan@codesourcery.com>
2279
2280 * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip non-program
2281 sections.
2282
8af6b354
AM
22832010-03-04 Alan Modra <amodra@gmail.com>
2284
2285 PR 11302
2286 * dwarf2.c (read_abbrevs): Return NULL on alloc failures.
2287 (read_attribute_value, decode_line_info): Likewise.
2288 (add_line_info, read_rangelist): Return FALSE on alloc failures.
2289 (arange_add, sort_line_sequences): Likewise.
2290 (find_abstract_instance_name): Handle failures from called funcs.
2291 (scan_unit_for_symbols, parse_comp_unit, decode_line_info): Likewise.
2292 (find_line): Realloc to a temp, and handle alloc fail.
2293
501abfe0
DJ
22942010-03-03 Daniel Jacobowitz <dan@codesourcery.com>
2295
2296 * elf32-arm.c (elf32_arm_output_arch_local_syms): Do not add
2297 a mapping symbol to an empty section.
2298
5488d830
MGD
22992010-03-02 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2300
2301 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add a check of the
2302 return value from the call to _bfd_elf_merge_object_attributes.
2303
fe33d2fa
CL
23042010-03-02 Christophe Lyon <christophe.lyon@st.com>
2305 Alan Modra <amodra@gmail.com>
2306
2307 * elf32-arm.c (a8_erratum_fix): Add st_type field to record the
2308 destination mode of the a8 stub.
2309 (elf32_arm_link_hash_table): Add top_id field.
2310 (elf32_arm_link_hash_table_create): Initialize top_id.
2311 (arm_type_of_stub): Update prototype, st_type can now be updated
2312 by this function. Actual destination address in case of PLT is
2313 computed here, to help factorizing code.
2314 (elf32_arm_stub_name): Update prototype, use stub_type additional
2315 parameter to build stub name.
2316 (elf32_arm_get_stub_entry): Update prototype, use stub_type
2317 additional parameter to build stub entry.
2318 (arm_build_one_stub): Use bfd_put_16/bfd_put_32 instead of
2319 put_thumb_insn/put_arm_insn as BE8 encoding is now handled later.
2320 Call elf32_arm_final_link_relocate to process all in-stub
2321 relocations.
2322 (elf32_arm_setup_section_lists): Update top_id.
2323 (cortex_a8_erratum_scan): Record stub destination mode.
2324 (elf32_arm_size_stubs): Update call to arm_type_of_stub according
2325 to new prototype.
2326 (elf32_arm_final_link_relocate): Enable processing of in-stub
2327 REL32 relocations. Rely on arm_type_of_stub to detect if a stub is
2328 needed, enabling code factorization.
2329 (elf32_arm_final_link): Process stub sections.
2330 (elf32_arm_output_map_sym): Add entry to code/data map.
2331
b48ca1d4
DM
23322010-03-01 David S. Miller <davem@davemloft.net>
2333
2334 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): When STT_GNU_IFUNC and
2335 h->def_regular, set h->ref_regular.
2336 (allocate_dynrelocs): Only force output of STT_GNU_IFUNC plt entries
2337 and dynamic relocations if h->ref_regular.
2338
679b7c76
DM
2339 * elfxx-sparc.c (struct elf_reloc_map): Delete.
2340 (sparc_reloc_map): Delete.
2341 (_bfd_sparc_elf_reloc_type_lookup): Explicitly handle each
2342 relocation type in switch statements.
2343
dfa7b0b8
AM
23442010-02-25 Alan Modra <amodra@gmail.com>
2345
2346 PR ld/11304
2347 * elf.c (_bfd_elf_init_private_section_data): Rename need_group
2348 to final_link and invert. For final link allow some flags to
2349 differ. Don't specially allow flags to be all zero.
2350
d4a77f3f
NC
23512010-02-24 Alan Modra <amodra@gmail.com>
2352
2353 PR binutils/10858
2354 * elfxx-mips.c (mips_elf_create_dynamic_relocation): Ise
2355 SYMBOL_REFERENCES_LOCAL to exclude entries from the dynamic symbol
2356 table.
2357
17e57237
NC
23582010-02-23 Andrew Zabolotny <anpaza@mail.ru>
2359
2360 PR binutils/11297
2361 * elf32-avr.c (elf_avr_howto_table): Add R_AVR_8.
2362 (avr_reloc_map): Map BFD_RELOC_8 to R_AVR_8.
2363
263badd7
AM
23642010-02-22 Alan Modra <amodra@gmail.com>
2365
2366 * reloc.c (bfd_check_overflow): When forming addrmask, shift
2367 fieldmask left by rightshift.
2368 (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all
2369 overflow checks.
2370
c35bdf6e
L
23712010-02-20 H.J. Lu <hongjiu.lu@intel.com>
2372
2373 * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check
2374 STT_GNU_IFUNC on large common symbol.
2375
c16153ae
L
23762010-02-18 H.J. Lu <hongjiu.lu@intel.com>
2377
2378 * elf32-i386.c (elf_i386_add_symbol_hook): Don't set
2379 has_ifunc_symbols if the symbol comes from a shared library.
2380 * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
2381 * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
2382 * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
2383 * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
2384 * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Likewise.
2385
d0bf826b
AM
23862010-02-19 Alan Modra <amodra@gmail.com>
2387
2388 * elf.c (_bfd_elf_fixup_group_sections): New function, split out from..
2389 (_bfd_elf_copy_private_header_data): ..here.
2390 * elflink.c (_bfd_elf_size_group_sections): New function.
2391 (bfd_elf_size_dynamic_sections): Call it.
2392 * elf-bfd.h (_bfd_elf_size_group_sections): Declare.
2393 (_bfd_elf_fixup_group_sections): Declare.
2394
cd21e546
MGD
23952010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2396
2397 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for
2398 merging Tag_DIV_use, Tag_MPextension_use, and
2399 Tag_MPextension_use_legacy tags.
2400
415f38a6
AM
24012010-02-18 Alan Modra <amodra@gmail.com>
2402
2403 * elf.c (bfd_elf_set_group_contents): Revert accidental 2009-01-15
2404 commit. Don't write zeros for removed group members.
2405 (_bfd_elf_copy_private_header_data): Adjust size of group section
2406 when group members are removed by objcopy.
2407
b946d5d8
DK
24082010-02-15 Dave Korn <dave.korn.cygwin@gmail.com>
2409
2410 PR binutils/11280
2411 * configure.host (*-*-solaris2.11): Add host define to select
2412 valid default code page for windres/windmc on solaris.
2413
ab7875de
NC
24142010-02-15 Nick Clifton <nickc@redhat.com>
2415
2416 * po/vi.po: Updated Vietnamese translation.
2417
33811162
DG
24182010-02-12 Daniel Gutson <dgutson@codesourcery.com>
2419
2420 * elf32-arm.c (elf32_arm_output_arch_local_syms): add
2421 missing mapping symbol to data only sections.
2422
00c50991
DM
24232010-02-11 David S. Miller <davem@davemloft.net>
2424
2425 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): For R_SPARC_GOTDATA_OP_HIX22
2426 and R_SPARC_GOTDATA_OP_LOX10, only bump the GOT refcount for global
2427 symbols.
2428 (_bfd_sparc_elf_gc_sweep_hook): Likewise only decrement the GOT count for
2429 these relocs on global symbols.
2430 (gdopoff): New.
2431 (_bfd_sparc_elf_relocate_section): Perform GOTDATA optimizations on
2432 local symbol references which are not STT_GNU_IFUNC. Handle
2433 relocation of them like R_SPARC_HIX22 and R_SPARC_LOX10 respectively,
2434 and deal with negative vs. non-negative values properly.
2435
1523fa24
TG
24362010-02-09 Tristan Gingold <gingold@adacore.com>
2437
2438 * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Adjust addend for
2439 non-external relocation.
2440
7865406b
AM
24412010-02-09 Alan Modra <amodra@gmail.com>
2442
2443 * elf64-ppc.c (merge_got_entries): Move earlier in file.
2444 (allocate_dynrelocs): Merge got entries here if not doing multi-toc.
2445 (ppc64_elf_size_dynamic_sections): Similarly merge tlsld_got.
2446 (ppc64_elf_layout_multitoc): Don't resize if we have already
2447 merged got entries.
2448
d7eeb400
MS
24492010-02-09 Michael Holzheu <holzheu@de.ibm.com>
2450
2451 * elf-bfd.h (elfcore_write_s390_timer, elfcore_write_s390_todcmp,
2452 elfcore_write_s390_todpreg, elfcore_write_s390_ctrs,
2453 elfcore_write_s390_prefix): New.
2454 * elf.c (elfcore_write_s390_timer, elfcore_write_s390_todcmp,
2455 elfcore_write_s390_todpreg, elfcore_write_s390_ctrs,
2456 elfcore_write_s390_prefix): New.
2457 (elfcore_grok_note): Handle NT_S390_TIMER, NT_S390_TODCMP,
2458 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
1352b58a 2459 (elfcore_write_register_note): Handle .reg-s390-timer,
d7eeb400
MS
2460 .reg-s390-todcmp, .reg-s390-todpreg, .reg-s390-ctrs,
2461 .reg-s390-prefix section.
2462
f961d9dd
AM
24632010-02-09 Alan Modra <amodra@gmail.com>
2464
2465 * elf64-ppc.c (struct got_entry): Make tls_type and is_indirect
2466 unsigned char. Update variables and code using them throughout file.
2467 (struct ppc_link_hash_entry): Likewise for tls_mask.
2468
d0fae19d
AM
2469 * elf64-ppc.c (ppc64_elf_layout_multitoc): Don't merge local got ents.
2470
d77c8a4b
AM
2471 * elf64-ppc.c (has_small_toc_reloc): Don't define.
2472 (makes_toc_func_call, call_check_in_progress): Shuffle flags.
2473 (struct ppc64_elf_obj_tdata): Add has_small_toc_reloc. Update
2474 code setting the flag.
2475 (ppc64_elf_next_toc_section): Group big-toc sections in
2476 0x80008000 chunks.
2477
72fbc6e5
DM
24782010-02-08 David S. Miller <davem@davemloft.net>
2479
2480 * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove sgot,
2481 srelgot, splt, srelplt, and sgotplt members in favor of generic copies.
2482
2483 * elfxx-sparc.c (create_got_section): Delete.
2484 (_bfd_sparc_elf_create_dynamic_sections): Don't call, the dynamic
2485 section creator does that work for us. Use ->elf.foo instead of
2486 ->foo where applicable.
2487 (_bfd_sparc_elf_check_relocs): Use ->elf.foo instead of ->foo
2488 where applicable.
2489 (allocate_dynrelocs): Likewise.
2490 (_bfd_sparc_elf_size_dynamic_sections): Likewise.
2491 (_bfd_sparc_elf_relocate_section): Likewise.
2492 (sparc_vxworks_build_plt_entry): Likewise.
2493 (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
2494 (sparc_finish_dyn): Likewise.
2495 (sparc_vxworks_finish_exec_plt): Likewise.
2496 (sparc_vxworks_finish_shared_plt): Likewise.
2497 (_bfd_sparc_elf_finish_dynamic_sections): Likewise.
2498
2499 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use the SYMBOL_*
2500 macros for visibilty and locality checks.
2501 (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
2502 (allocate_dynrelocs): Likewise.
2503 (_bfd_sparc_elf_relocate_section): Likewise.
2504 (_bfd_sparc_elf_finish_dynamic_symbol):Likewise.
2505
2506 * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Remove set
2507 but never used local var 'dynobj'.
2508
2509 * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Handle
2510 nocopyreloc.
2511
d0c9aeb3
DM
2512 * reloc.c (BFD_RELOC_SPARC_JMP_IREL): New.
2513 (BFD_RELOC_SPARC_IRELATIVE): Likewise.
2514 * bfd-in2.h: Regenerate.
2515 * libbfd.h: Regenerate.
2516
2517 * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add loc_hash_table
2518 and loc_hash_memory.
2519 (_bfd_sparc_elf_link_hash_table_free): Declare.
2520 * elf32-sparc.c (elf32_sparc_add_symbol_hook): New.
2521 (elf_backend_add_symbol_hook, elf_backend_post_process_headers,
2522 bfd_elf32_bfd_link_hash_table_free): Define.
2523 * elf64-sparc.c (elf64_sparc_add_symbol_hook): Set
2524 has_ifunc_symbols if STT_GNU_IFUNC.
2525 (bfd_elf64_bfd_link_hash_table_free): Define.
2526 (elf_backend_post_process_headers): Define always.
2527 * elfxx-sparc.c (sparc_jmp_irel_howto, sparc_irelative_howto): New.
2528 (sparc_reloc_map): Add entries for new IFUNC relocs.
2529 (_bfd_sparc_elf_reloc_type_lookup): Handle new IFUNC relocs.
2530 (_bfd_sparc_elf_info_to_howto_ptr): Likewise.
2531 (elf_sparc_local_htab_hash, elf_sparc_local_htab_eq,
2532 elf_sparc_get_local_sym_hash): New.
2533 (_bfd_sparc_elf_create_dynamic_sections): Move PLT ops initialization
2534 from here...
2535 (_bfd_sparc_elf_link_hash_table_create): ... to here. Allocate
2536 local hash table.
2537 (_bfd_sparc_elf_link_hash_table_free): New.
2538 (create_ifunc_sections): New.
2539 (_bfd_sparc_elf_check_relocs): Unconditionally assign htab->elf.dynobj
2540 and call create_ifunc_sections(). For local STT_GNU_IFUNC symbols
2541 cons up a fake local hash table entry for it. Unconditionally add
2542 a PLT refcount for STT_GNU_IFUNC symbols when h->def_regular. Count
2543 dyn relocs for ifunc.
2544 (_bfd_sparc_elf_adjust_dynamic_symbol): Handle ifunc.
2545 (allocate_dynrelocs): Unconditionally emit a PLT entry when
2546 STT_GNU_IFUNC and h->def_regular. Count GOT dyn relocs for ifunc.
2547 (allocate_local_dynrelocs): New function.
2548 (_bfd_sparc_elf_size_dynamic_sections): Invoke it over the local hash
2549 table. Emit dynamic relocs to irelplt when not shared. Treat iplt
2550 like splt.
2551 (_bfd_sparc_elf_relocate_section): Handle ifunc relocations by hand.
2552 (_bfd_sparc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc
2553 plt in iplt/irelplt.
2554
9ea2b942
RS
25552010-02-08 Richard Sandiford <r.sandiford@uk.ibm.com>
2556
2557 * xcofflink.c (_bfd_xcoff_bfd_final_link): When calculating
2558 max_contents_size, only consider sections whose contents must
2559 be swapped in.
2560
0b8bcf0d
AM
25612010-02-09 Alan Modra <amodra@gmail.com>
2562
2563 * elf64-ppc.c (allocate_dynrelocs): Remove unused got structs here..
2564 (ppc64_elf_size_dynamic_sections): ..and here..
2565 (merge_got_entries): ..rather than here.
2566
33c0ec9d
AM
25672010-02-09 Alan Modra <amodra@gmail.com>
2568
2569 * elf64-ppc.c (struct ppc_link_hash_table): Add do_multi_toc.
2570 (has_small_toc_reloc): Define.
2571 (ppc64_elf_check_relocs): Set the above flags.
2572 (ppc64_elf_edit_opd): Delete obfd param.
2573 (ppc64_elf_tls_optimize): Likewise.
2574 (ppc64_elf_edit_toc): Likewise.
2575 (ppc64_elf_tls_setup): Likewise. Add no_multi_toc param.
2576 * elf64-ppc.h: Update prototypes.
2577
b0dddeec
AM
25782010-02-08 Alan Modra <amodra@gmail.com>
2579
2580 * section.c (struct bfd_section): Delete has_tls_reloc,
2581 has_tls_get_addr_call, has_gp_reloc, need_finalize_relax, reloc_done.
2582 Add sec_flg0 thru sec_flg5.
2583 (BFD_FAKE_SECTION): Update for changed flags.
2584 * ecoff.c (bfd_debug_section): Likewise.
2585 * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
2586 * elf64-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
2587 (has_toc_reloc, makes_toc_func_call, call_check_in_progress): Update.
2588 * elf32-xtensa.c (reloc_done): Define.
2589 * elfxx-ia64.c (skip_relax_pass_0, skip_relax_pass_1): Update.
2590 * bfd-in2.h: Regenerate.
2591
06988dfc
TG
25922010-02-08 Tristan Gingold <gingold@adacore.com>
2593
2594 * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Set reloc.r_extern
2595 for non-scattered relocations.
2596
deddc40b
NS
25972010-02-08 Nathan Sidwell <nathan@codesourcery.com>
2598
2599 * elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty
2600 apuinfo sections, only scan input sections once and reuse the
2601 buffer.
2602
ce3d2015
AM
26032010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2604
2605 * archures.c (bfd_mach_ppc_titan): Define.
2606 * bfd-in2.h: Regenerate.
2607 * cpu-powerpc.c (bfd_powerpc_archs): Add titan entry.
2608
06a162cf
AM
26092010-02-08 Alan Modra <amodra@gmail.com>
2610
2611 * elf32-ppc.c (ppc_elf_check_relocs): Remove dead ifunc code.
2612
4c348442
SA
26132010-02-05 Sterling Augustine <sterling@tensilica.com>
2614
2615 * elf.c (assign_file_positions_for_load_sections) Update lma of
2616 section if necessary. Fixes Bugzilla 11219.
2617
6bbec505
L
26182010-02-05 H.J. Lu <hongjiu.lu@intel.com>
2619
2620 * elf32-i386.c: Remove trailing white spaces.
2621 * elf64-x86-64.c: Likewise.
2622
4dfe6ac6
NC
26232010-02-03 Nick Clifton <nickc@redhat.com>
2624
2625 * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add
2626 entries for other architectures.
2627 (struct elf_link_hash_table): Add hash_table_id field.
2628 (elf_hash_table_id): New accessor macro.
2629 * elflink.c (_bfd_elf_link_hash_table_init): Add target_id
2630 parameter.
2631 * elf-m10300.c (elf32_mn10300_hash_table): Check table id before
2632 returning cast pointer.
2633 (elf32_mn10300_link_hash_table_create): Identify new table as
2634 containing MN10300 extensions.
2635 (mn10300_elf_relax_section): Check pointer returned by
2636 elf32_mn10300_hash_table.
2637 * elf32-arm.c: Likewise, except using ARM extensions.
2638 * elf32-avr.c: Likewise, except using AVR extensions.
2639 * elf32-bfin.c: Likewise, except using BFIN extensions.
2640 * elf32-cris.c: Likewise, except using CRIS extensions.
2641 * elf32-frv.c: Likewise, except using FRV extensions.
2642 * elf32-hppa.c: Likewise, except using HPPA32 extensions.
2643 * elf32-i386.c: Likewise, except using I386 extensions.
2644 * elf32-lm32.c: Likewise, except using LM32 extensions.
2645 * elf32-m32r.c: Likewise, except using M32RM extensions.
2646 * elf32-m68hc11.c: Likewise, except using M68HC11 extensions.
2647 * elf32-m68hc1x.c: Likewise, except using M68HC11 extensions.
2648 * elf32-m68hc1x.h: Likewise, except using M68HC11 extensions.
2649 * elf32-m68k.c: Likewise, except using M68K extensions.
2650 * elf32-microblaze.c: Likewise, except using MICROBLAZE extensions.
2651 * elf32-ppc.c: Likewise, except using PPC32 extensions.
2652 * elf32-s390.c: Likewise, except using S390 extensions.
2653 * elf32-sh.c: Likewise, except using SH extensions.
2654 * elf32-spu.c: Likewise, except using SPU extensions.
2655 * elf32-xtensa.c: Likewise, except using XTENSA extensions.
2656 * elf64-alpha.c: Likewise, except using ALPHA extensions.
2657 * elf64-hppa.c: Likewise, except using HPPA64 extensions.
2658 * elf64-ppc.c: Likewise, except using PPC64 extensions.
2659 * elf64-s390.c: Likewise, except using S390 extensions.
2660 * elf64-x86-64.c: Likewise, except using X86_64 extensions.
2661 * elfxx-ia64.c: Likewise, except using IA64 extensions.
2662 * elfxx-mips.c: Likewise, except using MIPS extensions.
2663 * elfxx-sparc.c: Likewise, except using SPARC extensions.
2664 * elfxx-sparc.h: Likewise, except using SPARC extensions.
2665 * elf32-cr16.c (struct elf32_cr16_link_hash_table): Delete
2666 redundant structure.
2667 (elf32_cr16_hash_table): Delete unused macro.
2668 (elf32_cr16_link_hash_traverse): Delete unused macro.
2669 * elf32-score.c: Likewise.
2670 * elf32-score7.c: Likewise.
2671 * elf32-vax.c: Likewise.
2672 * elf64-sh64.c: Likewise.
2673
927be08e
AM
26742010-02-03 Alan Modra <amodra@gmail.com>
2675
2676 * elf64-ppc.c (struct plt_entry): Move earlier in file.
2677 (struct got_entry): Likewise. Add is_indirect and got.ent fields.
2678 (struct ppc64_elf_obj_tdata): Change tlsld_got to be a struct got_entry.
2679 Update all uses.
2680 (struct ppc_link_hash_table): Add got_reli_size and second_toc_pass.
2681 Remove no_multi_toc.
2682 (update_local_sym_info, ppc64_elf_check_relocs): Clear is_indirect
2683 when allocating a new struct got_entry.
2684 (allocate_got): New function, extracted from..
2685 (allocate_dynrelocs): ..here. Abort on got entry in non-ppc64 bfd.
2686 (ppc64_elf_size_dynamic_sections): Track got relocs allocated in
2687 .reliplt by got_reli_size. Set owner on ppc64_tlsld_got entries.
2688 (ppc64_elf_setup_section_lists): Remove output_bfd param and
2689 no_multi_toc, add add_stub_section and layout_sections_again. Stash
2690 new params in htab. Extract some code to..
2691 (ppc64_elf_start_multitoc_partition): ..here. New function.
2692 (ppc64_elf_next_toc_section): Check for linker script errors. Handle
2693 second pass toc scan.
2694 (merge_got_entries, merge_global_got, reallocate_got): New functions.
2695 (ppc64_elf_reinit_toc): Rename to..
2696 (ppc64_elf_finish_multitoc_partition): ..this.
2697 (ppc64_elf_layout_multitoc): New function.
2698 (ppc64_elf_size_stubs): Delete output_bfd, add_stub_section and
2699 layout_sections_again params.
2700 (ppc64_elf_relocate_section): Handle indirect got entries.
2701 * elf64-ppc.h: Update prototypes. Declare new functions.
2702
4339cae0
L
27032010-02-02 H.J. Lu <hongjiu.lu@intel.com>
2704
2705 * elf-bfd.h (elfcore_write_xstatereg): New.
2706
2707 * elf.c (elfcore_grok_xstatereg): New.
2708 (elfcore_write_xstatereg): Likewise.
2709 (elfcore_grok_note): Handle NT_X86_XSTATE.
2710 (elfcore_write_register_note): Handle .reg-xstate section.
2711
9848eadf
TG
27122010-02-01 Tristan Gingold <gingold@adacore.com>
2713
2714 * som.c (som_write_ar_hdr): Define this macro.
2715
f6fd0237
DA
27162010-01-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2717
2718 * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L,
2719 R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations that use the
2720 linkage table pointer to use the global table pointer if not doing
2721 a shared link.
2722
a1504221
JB
27232010-01-29 Joel Brobecker <brobecker@adacore.com>
2724
2725 * elf.c (elfcore_grok_lwpstatus): Do not overwrite the core signal
2726 if it has already been set.
2727
771deb08
TG
27282010-01-27 Tristan Gingold <gingold@adacore.com>
2729
2730 * vms.h: Remove trailing spaces.
2731 (struct hdr_struct): Remove unused hdr_c_cpr field.
2732 (enum file_format_enum): Add comments.
2733 * vms.c (vms_bfd_print_private_bfd_data): New function that
2734 replaces the macro.
2735 Remove trailing spaces.
2736 * vms-misc.c: Improve comments.
2737 (_bfd_vms_get_object_record): Also handle files without pads.
2738 * vms-hdr.c (_bfd_vms_write_dbg): Fix format string.
2739 * vms-gsd.c (struct flagdescstruct): Make name field const.
2740 (gsyflagdesc): Fix typo.
2741
bf102f86
AM
27422010-01-27 Alan Modra <amodra@gmail.com>
2743
2744 PR ld/11217
2745 * elf64-ppc.c (struct ppc_link_hash_table): Add toc_bfd, toc_first_sec.
2746 (ppc64_elf_setup_section_lists): Init them.
2747 (ppc64_elf_next_toc_section): Don't partition multi-toc between .got
2748 and .toc on the same input file.
2749 (ppc64_elf_relocate_section): Correct GOT entry offset.
2750
8f95b6e4
TG
27512010-01-26 Tristan Gingold <gingold@adacore.com>
2752
2753 * targets.c (BFD_JUMP_TABLE_ARCHIVE): Add initializer for write_ar_hdr.
2754 (bfd_target): Add _bfd_write_ar_hdr_fn field.
2755 * archive.c (is_bsd44_extended_name): New macro.
2756 (_bfd_generic_read_ar_hdr_mag): Use it. Add extra_size.
2757 (bfd_slurp_armap): Also check for "__.SYMDEF" as a BSD4.4 extended
2758 name.
2759 (_bfd_archive_bsd44_construct_extended_name_table): New function.
2760 (_bfd_generic_write_ar_hdr): Ditto.
2761 (_bfd_bsd44_write_ar_hdr): Ditto.
2762 (_bfd_write_archive_contents): Call _bfd_write_ar_hdr.
2763 (bsd_write_armap): Adjust firstreal computation.
2764 * libbfd-in.h (struct areltdata): Add extra_size field.
2765 (_bfd_generic_write_ar_hdr): Add prototype.
2766 (_bfd_bsd44_write_ar_hdr): Ditto.
2767 (_bfd_write_ar_hdr): Define.
2768 (_bfd_noarchive_write_ar_hdr): Ditto.
2769 (_bfd_archive_bsd_write_ar_hdr): Ditto.
2770 (_bfd_archive_coff_write_ar_hdr): Ditto.
2771 (_bfd_archive_bsd44_slurp_armap): Ditto.
2772 (_bfd_archive_bsd44_slurp_extended_name_table): Ditto.
2773 (_bfd_archive_bsd44_construct_extended_name_table): New prototype.
2774 (_bfd_archive_bsd44_truncate_arname): Ditto.
2775 (_bfd_archive_bsd44_write_armap): Ditto.
2776 (_bfd_archive_bsd44_read_ar_hdr): Ditto.
2777 (_bfd_archive_bsd44_write_ar_hdr): Ditto.
2778 (_bfd_archive_bsd44_openr_next_archived_file): Ditto.
2779 (_bfd_archive_bsd44_get_elt_at_index): Ditto.
2780 (_bfd_archive_bsd44_generic_stat_arch_elt): Ditto.
2781 (_bfd_archive_bsd44_update_armap_timestamp): Ditto.
2782 * libbfd.h: Regenerate.
2783 * oasys.c (oasys_write_ar_hdr): Define.
2784 * libecoff.h (_bfd_ecoff_write_ar_hdr): Define.
2785 * ieee.c (ieee_write_ar_hdr): Define.
2786 * elf64-mips.c (bfd_elf64_archive_write_ar_hdr): Define.
2787 * coff-rs6000.c (rs6000coff_vec): Adjust for write_ar_hdr field.
2788 (bfd_pmac_xcoff_backend_data): Ditto.
2789 * coff64-rs6000.c (rs6000coff64_vec): Ditto.
2790 (bfd_xcoff_aix5_backend_data): Ditto.
2791 * coff-alpha.c (alpha_ecoff_write_ar_hdr): Define.
2792 * aout-target.h (MY_write_ar_hdr): Define it if not defined.
2793 * aout-tic30.c (MY_write_ar_hdr): Ditto.
2794 * mach-o-target.c (TARGET_NAME): Use _bfd_archive_bsd44 archive.
2795 (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
2796 (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
2797 (bfd_mach_o_construct_extended_name_table)
2798 (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
2799 (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
2800 (bfd_mach_o_update_armap_timestamp): Moved to mach-o.c
2801 * mach-o.c (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
2802 (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
2803 (bfd_mach_o_construct_extended_name_table)
2804 (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
2805 (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
2806 (bfd_mach_o_update_armap_timestamp): Moved from mach-o-target.c
2807 * bfd-in2.h: Regenerate.
2808
98da7939
L
28092010-01-26 Alan Modra <amodra@gmail.com>
2810 H.J. Lu <hongjiu.lu@intel.com>
2811
2812 PR ld/11218
2813 * elflink.c (elf_link_output_extsym): Do not ignore undefined
2814 symbols with ref_regular set when gc_sections is active.
2815
766bc656
AM
28162010-01-25 Alan Modra <amodra@gmail.com>
2817
2818 PR ld/11217
2819 * elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences
2820 with relocations against undefined weak symbols.
2821 (ppc64_elf_relocate_section): Don't optimize calls to undefined
2822 weak functions if the symbol is dynamic.
2823 (ppc64_elf_relocate_section): Edit tprel tls sequences.
2824 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
2825 (_bfd_elf_ppc_at_tprel_transform): New function.
2826 * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare.
2827 * bfd-in2.h: Regenerate.
2828
c865e45b
RS
28292010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
2830
2831 * coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1.
2832 (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_NONE.
2833 * coff64-rs6000.c (xcoff64_howto_table): Change size to 0 and
2834 bitsize to 1.
2835 (xcoff64_reloc_type_lookup): Handle BFD_RELOC_NONE.
2836
b918acf9
NC
28372010-01-21 Nick Clifton <nickc@redhat.com>
2838
2839 * elflink.c (elf_link_add_object_symbols): Look up name of
2840 undefined symbol both before and after versioning has been
2841 applied. Do not bother with symbols that are weakly undefined.
2842
55786da2 28432010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
b918acf9 2844
55786da2
AK
2845 * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function.
2846 (bfd_elf32_bfd_merge_private_bfd_data): New macro definition.
2847
a37a68dd
CC
28482010-01-19 Cary Coutant <ccoutant@google.com>
2849
2850 * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8.
2851
ecd12bc1
AM
28522010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
2853 Alan Modra <amodra@gmail.com>
2854
1352b58a 2855 * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff.
ecd12bc1
AM
2856 (elf_object_p): Read e_phnum extension.
2857 (elf_write_shdrs_and_ehdr): Write e_phnum extension.
1352b58a 2858 * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check
ecd12bc1
AM
2859 that we can read last program header.
2860
f6ebfac0
AM
28612010-01-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2862
2863 * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of
2864 R_ARM_THM_CALL entry.
2865 (elf32_arm_final_link_relocate): Correct calculation of
2866 reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22,
2867 or R_ARM_THM_JUMP24 relocation.
2868
22eb4b1d
AM
28692010-01-18 Alan Modra <amodra@gmail.com>
2870
2871 PR 11168
2872 * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C
2873 block past vars in COFF_IMAGE_WITH_PE block. Report error on more
2874 than 32k sections.
2875
6ec12636
JK
28762010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2877
2878 Fix compilation warning on gcc-3.4.
2879 * vms-tir.c (start_etir_record, sto_imm): Rename the prototype
2880 parameter index to sec_index according to the function definition.
2881
38a7df63
CF
28822010-01-13 Chao-ying Fu <fu@mips.com>
2883
2884 * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B.
2885 It is true for all CPUs.
2886 (jal_reloc_p): New function.
2887 (mips_elf_calculate_relocation): Rename require_jalxp to
2888 cross_mode_jump_p.
2889 Update comment for CROSS_MODE_JUMP_P.
2890 Set up cross_mode_jump_p based on the mode change.
2891 (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p.
2892 Update comment for CROSS_MODE_JUMP_P.
2893 Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx.
2894 Use !cross_mode_jump_p to guard conversion.
2895 Convert "jr t9" to "b", if possible.
2896 (_bfd_mips_elf_relocate_section): Rename require_jalx to
2897 cross_mode_jump_p.
2898 Pass &cross_mode_jump_p to call mips_elf_calculate_relocation.
2899 Pass cross_mode_jump_p to call mips_elf_perform_relocation.
2900
91b9a4a4
NC
29012010-01-13 Nick Clifton <nickc@redhat.com>
2902
2903 * cpu-m32c.c (m32c_scan): New function. Ensures that a scan for
2904 "m32c" returns the m32c arch_info_struct and not the m16c
2905 arch_info_struct.
2906 (arch_info_struct): Use the new scan function.
2907 (bfd_m32c_arch): Likewise.
2908
618b7301
TG
29092010-01-13 Tristan Gingold <gingold@adacore.com>
2910
2911 * config.bfd: Remove duplicated target vector for i386-*-darwin.
2912 Appends new arch instead of overriding.
2913 Use mach_o_x86_64_vec for x86_64-*-darwin.
2914 * configure.in: Add mach_o_x86_64_vec.
2915 * configure: Regenerate.
2916 * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector.
2917 * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo
2918 (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c
2919 * Makefile.in: Regenerate.
2920 * mach-o-x86-64.c: New file.
2921
f88af2f1
TG
29222010-01-13 Tristan Gingold <gingold@adacore.com>
2923
2924 * reloc.c: Add MACH_O_X86_64 relocations.
2925 * bfd-in2.h: Regenerate.
2926 * libbfd.h: Regenerate.
2927
19172f39
TG
29282010-01-13 Tristan Gingold <gingold@adacore.com>
2929
2930 * archive.c (normalize): Use lbasename.
2931 (bfd_bsd_truncate_arname): Ditto.
2932 (bfd_gnu_truncate_arname): Ditto.
2933
6cdb8d82
TG
29342010-01-12 Tristan Gingold <gingold@adacore.com>
2935
2936 * makefile.vms (CFLAGS): Turns warnings into informational messages.
2937
9a753de0
TG
29382010-01-11 Tristan Gingold <gingold@adacore.com>
2939
2940 * mach-o.h: Add x86-64 relocation types.
2941
42fa0891
TG
29422010-01-11 Tristan Gingold <gingold@adacore.com>
2943
2944 * mach-o.h (bfd_mach_o_backend_data): Add arch field.
2945 (bfd_mach_o_set_arch_mach): New prototype.
2946 * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject.
2947 (bfd_mach_o_set_arch_mach): New function.
2948 (bfd_mach_o_gen_mkobject): New function.
2949 Set TARGET_ARCHITECTURE for the generic back-ends.
2950 * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define.
2951 Check that TARGET_ARCHITECTURE is defined.
2952 Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure.
2953 * mach-o-i386.c (TARGET_ARCHITECTURE): Define.
2954
cba0723b
TG
29552010-01-11 Tristan Gingold <gingold@adacore.com>
2956
19172f39 2957 * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.
cba0723b 2958
4d421096
NC
29592010-01-11 Nick Clifton <nickc@redhat.com>
2960
2961 * elf32-v850.c (v850_elf_perform_relocation): Fix overflow
2962 handling of R_V850_HI16_S relocation.
2963
20b1d3e3
AM
29642010-01-11 Alan Modra <amodra@gmail.com>
2965
2966 PR 11103
2967 * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.
2968
a358ecb8
AM
29692010-01-11 Alan Modra <amodra@gmail.com>
2970
2971 PR 6832
2972 * dwarf2.c (struct comp_unit): Add sec_info_ptr.
2973 (find_abstract_instance_name): Use it.
2974 (parse_comp_unit): Set it.
2975
3725885a
RW
29762010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2977
2978 * Makefile.in: Regenerate.
2979 * configure: Regenerate.
2980
3ee87829
TG
29812010-01-08 Tristan Gingold <gingold@adacore.com>
2982
2983 * archive.c: Remove bfd_special_undocumented_glue.
2984
fb34365b
AM
29852010-01-08 Alan Modra <amodra@gmail.com>
2986
2987 PR ld/11133
2988 * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook.
2989 * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise.
2990 * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
2991
d023c380
L
29922010-01-07 H.J. Lu <hongjiu.lu@intel.com>
2993
2994 PR ld/11138
2995 * elflink.c (elf_link_check_versioned_symbol): Don't abort if
2996 a symbol referenced by DSO is is defined in a non-shared object
2997 and forced local.
2998
bde6f3eb
L
29992010-01-07 H.J. Lu <hongjiu.lu@intel.com>
3000
3001 PR ld/11133
3002 * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for
3003 undefined __start_XXX/__stop_XXX in all input files and set
3004 SEC_KEEP.
3005
16583161
L
30062010-01-07 H.J. Lu <hongjiu.lu@intel.com>
3007
3008 PR ld/11143
3009 * elflink.c (elf_gc_sweep): Keep SHT_NOTE section.
3010
16231b7b
DG
30112010-01-04 Daniel Gutson <dgutson@codesourcery.com>
3012
3013 * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC
3014 before including procfs.h.
3015 (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise.
3016 * configure.in: Added autoconf probe for the pr_fpreg member.
3017 * configure: Regenerated.
3018 * config.in: Regenerated.
3019 * elf.c: Define _STRUCTURE_PROC before including procfs.h.
3020
608fa8d3
JB
30212010-01-04 Joel Brobecker <brobecker@adacore.com>
3022
3023 Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64).
3024 * dwarf2.c (concat_filename): Rename dirname with dir_name
3025 to void shadowing the dirname function.
3026 Rename subdirname with subdir_name to stay consistent with
3027 the new dir_name variable name.
3028
0dc93057
AM
30292010-01-04 Edmar Wienskoski <edmar@freescale.com>
3030
3031 * archures.c: Add bfd_mach_ppc_e500mc64.
3032 * bfd-in2.h: Regenerate.
3033 * cpu-powerpc.c (bfd_powerpc_archs): Add entry for
3034 bfd_mach_ppc_e500mc64.
3035
baf9bed3
JB
30362010-01-01 Joel Brobecker <brobecker@adacore.com>
3037
3038 Fix -Wshadow warnings (seen on ppc-aix)
3039 * xcofflink.c: Replace finfo by flinfo throughout.
3040
43ecc30f 3041For older changes see ChangeLog-2009
56882138
AM
3042\f
3043Local Variables:
3044mode: change-log
3045left-margin: 8
3046fill-column: 74
3047version-control: never
3048End:
This page took 1.107636 seconds and 4 git commands to generate.