]>
Commit | Line | Data |
---|---|---|
15344ad7 L |
1 | 2007-03-07 Kai Tietz <kai.tietz@onevision.com> |
2 | ||
3 | * reloc.c (bfd_generic_get_relocated_section_contents): Remove | |
4 | const for type reloc_howto_type. | |
5 | ||
ab96bf03 AM |
6 | 2007-03-07 Alan Modra <amodra@bigpond.net.au> |
7 | ||
8 | PR 3958 | |
9 | * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): No error on relocatable link. | |
10 | (elf_discarded_section): Move.. | |
11 | * bfd-in.h: ..to here. | |
12 | * bfd-in2.h: Regenerate. | |
13 | * elflink.c (elf_link_input_bfd): Don't zap relocs against symbols | |
14 | from discarded sections before relocate_section has done its job. | |
15 | * reloc.c (bfd_generic_get_relocated_section_contents): Handle | |
16 | relocs against symbols from discarded sections. | |
17 | * elf-hppa.h (elf_hppa_howto_table): Set size. Set dst_mask on | |
18 | SECREL32. | |
19 | (elf_hppa_relocate_section): Handle relocatable link after setting | |
20 | sec, sym, h etc. for final link. Squash error messages for | |
21 | relocatable link. Clear section contents for relocs against | |
22 | symbols in discarded sections, and zero reloc. Remove existing | |
23 | zero r_symndx code. | |
24 | * elf-m10200.c (mn10200_elf_relocate_section): Likewise. | |
25 | * elf-m10300.c (mn10300_elf_relocate_section): Likewise. | |
26 | * elf32-arm.c (elf32_arm_relocate_section): Likewise. | |
27 | * elf32-avr.c (elf32_avr_relocate_section): Likewise. | |
28 | * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. | |
29 | (bfin_relocate_section): Likewise. | |
30 | * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. | |
31 | * elf32-cris.c (cris_elf_relocate_section): Likewise. | |
32 | * elf32-crx.c (elf32_crx_relocate_section): Likewise. | |
33 | * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. | |
34 | * elf32-fr30.c (fr30_elf_relocate_section): Likewise. | |
35 | * elf32-frv.c (elf32_frv_relocate_section): Likewise. | |
36 | * elf32-h8300.c (elf32_h8_relocate_section): Likewise. | |
37 | * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. | |
38 | * elf32-i370.c (i370_elf_relocate_section): Likewise. | |
39 | * elf32-i386.c (elf_i386_relocate_section): Likewise. | |
40 | * elf32-i860.c (elf32_i860_relocate_section): Likewise. | |
41 | * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. | |
42 | * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. | |
43 | * elf32-m32c.c (m32c_elf_relocate_section): Likewise. | |
44 | * elf32-m32r.c (m32r_elf_relocate_section): Likewise. | |
45 | * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. | |
46 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
47 | * elf32-mcore.c (mcore_elf_relocate_section): Likewise. | |
48 | * elf32-mep.c (mep_elf_relocate_section): Likewise. | |
49 | * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. | |
50 | * elf32-mt.c (mt_elf_relocate_section): Likewise. | |
51 | * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. | |
52 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
53 | * elf32-s390.c (elf_s390_relocate_section): Likewise. | |
54 | * elf32-score.c (_bfd_score_elf_relocate_section): Likewise. | |
55 | * elf32-sh.c (sh_elf_relocate_section): Likewise. | |
56 | * elf32-spu.c (spu_elf_relocate_section): Likewise. | |
57 | * elf32-v850.c (v850_elf_relocate_section): Likewise. | |
58 | * elf32-vax.c (elf_vax_relocate_section): Likewise. | |
59 | * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. | |
60 | * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. | |
61 | * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. | |
62 | * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise. | |
63 | (elf64_alpha_relocate_section): Likewise. | |
64 | * elf64-mmix.c (mmix_elf_relocate_section): Likewise. | |
65 | * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. | |
66 | * elf64-s390.c (elf_s390_relocate_section): Likewise. | |
67 | * elf64-sh64.c (sh_elf64_relocate_section): Likewise. | |
68 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. | |
69 | * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. | |
70 | * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. | |
71 | * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. | |
72 | ||
73 | * elf32-arm.c (elf32_arm_relocate_section): Always adjust section | |
74 | symbols for relocatable link. Don't use always-zero st_value. | |
75 | (elf_backend_rela_normal): Don't define. | |
76 | * elf32-bfin.c (bfinfdpic_relocate_section): Use | |
77 | RELOC_FOR_GLOBAL_SYMBOL. | |
78 | * elf32-frv.c (elf32_frv_relocate_section): Likewise. | |
79 | * elf32-d10v.c (elf32_d10v_relocate_section): Combine SEC_MERGE | |
80 | section symbol adjustments with same for relocatable link. | |
81 | * elf32-i386.c (elf_i386_relocate_section): Likewise. | |
82 | * elf32-m68hc1x.c (m68hc11_get_relocation_value): Move.. | |
83 | (elf32_m68hc11_check_relocs): ..to here. | |
84 | * elf32-score.c (score_elf_final_link_relocate): Remove zero | |
85 | r_symndx code. | |
86 | * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. | |
87 | ||
0e922b77 AM |
88 | 2007-03-07 Alan Modra <amodra@bigpond.net.au> |
89 | ||
90 | PR 4144 | |
91 | * elf.c (assign_file_positions_for_load_sections): Don't | |
92 | adjust p_memsz for !SEC_LOAD section vma modulo page size. | |
93 | Instead, use the same lma based adjustment for SEC_LOAD | |
94 | sections. | |
95 | ||
25c6282a BW |
96 | 2007-03-01 Bob Wilson <bob.wilson@acm.org> |
97 | ||
98 | * elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing. | |
99 | (find_relaxable_sections): Do not increment src_count for unknown | |
100 | opcodes. Decode only once instead of calling is_l32r_relocation. | |
101 | (compute_text_actions): Remove unused no_insn_move flag. Assert that | |
102 | src_next matches src_count in relax_info. | |
103 | ||
066c2a57 JM |
104 | 2007-03-01 Joseph Myers <joseph@codesourcery.com> |
105 | ||
106 | * Makefile.am (bfdver.h): Use "." not " " between version number | |
107 | and date. | |
108 | * Makefile.in: Regenerate. | |
109 | * configure.in (PKGVERSION): Default to "(GNU Binutils) ". | |
110 | * configure: Regenerate. | |
111 | ||
ed6ba298 NS |
112 | 2007-02-28 Nathan Sidwell <nathan@codesourcery.com> |
113 | ||
114 | * config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza. | |
115 | ||
7a8757b3 AM |
116 | 2007-02-27 Alan Modra <amodra@bigpond.net.au> |
117 | ||
118 | * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const. | |
119 | * elf32-spu.c (ovl_mgr_pread): Add const to casts. | |
120 | ||
024b2372 CD |
121 | 2007-02-23 Carlos O'Donell <carlos@codesourcery.com> |
122 | ||
123 | * dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit | |
124 | DWARF even with 64-bit addresses. | |
125 | (_bfd_dwarf2_find_nearest_line): Likewise. | |
126 | ||
cb3ff1e5 NC |
127 | 2007-02-23 Nick Clifton <nickc@redhat.com> |
128 | ||
129 | PR binutils/3535 | |
130 | * elf.c (copy_private_bfd_data): Always rewrite the program | |
131 | headers when a Solaris interpreter segment is involved. | |
132 | ||
6a5bb875 PB |
133 | 2007-02-22 Paul Brook <paul@codesourcery.com> |
134 | ||
135 | * elflink.c (gc_mark_hook_fn): Remove. | |
136 | (_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn. | |
137 | (bfd_elf_gc_sections): Ditto. Call gc_mark_extra_sections. | |
138 | * elf-bfd.h (elf_gc_mark_hook_fn): Define. | |
139 | (elf_backend_data): Add gc_mark_extra_sections. | |
140 | * elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default | |
141 | definition. | |
142 | (elfNN_bed): Add elf_backend_gc_mark_extra_sections. | |
143 | * elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function. | |
144 | (elf_backend_gc_mark_extra_sections): Define. | |
145 | ||
2889e75b NC |
146 | 2007-02-21 Nick Clifton <nickc@redhat.com> |
147 | ||
148 | * elf.c (_bfd_elf_map_sections_to_segments): If the | |
149 | override_segment_assignment callback is defined then call it. | |
150 | ||
78859468 AM |
151 | 2007-02-21 Alan Modra <amodra@bigpond.net.au> |
152 | ||
153 | * elf32-spu.c (spu_elf_size_stubs): Correct order of warning args. | |
154 | ||
ae0d2616 TS |
155 | 2007-02-19 Thiemo Seufer <ths@mips.com> |
156 | ||
157 | * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove | |
158 | translation marker from untranslatable strings. | |
159 | ||
6bfdb61b AM |
160 | 2007-02-19 Alan Modra <amodra@bigpond.net.au> |
161 | ||
162 | * elf-bfd.h (struct elf_backend_data): Add default_execstack. | |
163 | * elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack. | |
164 | * elfxx-target.h (elf_backend_default_execstack): Define to 1. | |
165 | (elfNN_bed): Init new field. | |
166 | * elf64-ppc.c (elf_backend_default_execstack): Define to 0. | |
167 | ||
92f01d61 JM |
168 | 2007-02-17 Mark Mitchell <mark@codesourcery.com> |
169 | Nathan Sidwell <nathan@codesourcery.com> | |
170 | Vladimir Prus <vladimir@codesourcery.com | |
171 | Joseph Myers <joseph@codesourcery.com> | |
172 | ||
173 | * configure.in (--with-pkgversion): New option. | |
174 | * configure: Regenerate. | |
175 | * Makefile.am (bfdver.h): Substitute for @bfd_version_package@. | |
176 | * Makefile.in: Regenerate. | |
177 | * version.h (BFD_VERSION_STRING): Define using | |
178 | @bfd_version_package@. | |
179 | ||
c0e3f241 CD |
180 | 2007-02-16 Carlos O'Donell <carlos@codesourcery.com> |
181 | ||
182 | * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): | |
183 | Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT | |
184 | and EF_MIPS_UCODE. | |
185 | ||
72f6ea61 AM |
186 | 2007-02-15 Alan Modra <amodra@bigpond.net.au> |
187 | ||
188 | * libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define, | |
189 | declare. | |
190 | (_bfd_norelocs_canonicalize_reloc): Likewise. | |
191 | * libbfd.h: Regenerate. | |
192 | * libbfd.c (_bfd_norelocs_get_reloc_upper_bound): New function. | |
193 | (_bfd_norelocs_canonicalize_reloc): Likewise. | |
194 | * binary.c (binary_bfd_reloc_type_lookup): Don't define. | |
195 | (binary_get_reloc_upper_bound, binary_canonicalize_reloc): Likewise. | |
196 | (binary_vec): Use _bfd_norelocs in BFD_JUMP_TABLE_RELOCS. | |
197 | * ihex.c: Similarly. | |
198 | * mach-o-target.c: Similarly. | |
199 | * mach-o.c: Similarly. | |
200 | * mmo.c: Similarly. | |
201 | * pef.c: Similarly. | |
202 | * ppcboot.c: Similarly. | |
203 | * srec.c: Similarly. | |
204 | * xsym.c: Similarly. | |
205 | ||
fab4a87f L |
206 | 2007-02-14 H.J. Lu <hongjiu.lu@intel.com> |
207 | ||
208 | PR ld/3953 | |
209 | * elflink.c (_bfd_elf_add_default_symbol): Check warning symbol | |
210 | when adding default symbol. | |
211 | ||
e4e0193e AM |
212 | 2007-02-13 Alan Modra <amodra@bigpond.net.au> |
213 | ||
214 | * elf64-ppc.c (create_linkage_sections): Use section ".branch_lt" | |
215 | for branch lookup table. | |
216 | ||
84f5d08e AM |
217 | 2007-02-12 Alan Modra <amodra@bigpond.net.au> |
218 | ||
219 | * elf64-ppc.c (create_linkage_sections): Don't create | |
220 | .rela.rodata.brlt for --emit-relocs. | |
221 | (ppc_build_one_stub): Create relocs for brlt --emit-relocs here. | |
222 | (ppc_size_one_stub): Count them. Simplify test of stub type | |
223 | when counting stub relocs. Set SEC_RELOC too. | |
224 | (ppc64_elf_size_stubs): Clear reloc_count and SEC_RELOC. | |
225 | (ppc64_elf_finish_dynamic_sections): Output brlt relocs. | |
226 | ||
4aac632e AM |
227 | 2007-02-12 Alan Modra <amodra@bigpond.net.au> |
228 | ||
229 | * elflink.c (evaluate_complex_relocation_symbols): Ignore relocs | |
230 | with a zero symbol index. | |
231 | ||
8da3dbc5 AM |
232 | 2007-02-12 Alan Modra <amodra@bigpond.net.au> |
233 | ||
234 | * elflink.c (bfd_elf_discard_info): Tidy setting of "eh". | |
235 | ||
b31847af DB |
236 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
237 | Stan Cox <scox@redhat.com> | |
238 | ||
239 | PR ld/3972 | |
240 | * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms. | |
241 | ||
722b0ff7 | 242 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
e382d174 DB |
243 | Richard Sandiford <rsandifo@redhat.com> |
244 | Stan Cox <scox@redhat.com> | |
245 | Nick Clifton <nickc@redhat.com> | |
246 | DJ Delorie <dj@redhat.com> | |
247 | Frank Ch. Eigler <fche@redhat.com> | |
248 | Ben Elliston <bje@redhat.com> | |
249 | Richard Henderson <rth@redhat.com> | |
250 | ||
251 | * Makefile.am (ALL_MACHINES): Add cpu-mep.lo. | |
252 | (ALL_MACHINES_CFILES): Add CPU_MEP.c. | |
253 | (BFD32_BACKENDS): Add elf32-mep.lo. | |
254 | (BFD32_BACKENDS_CFILES): Add elf32-mep.c. | |
255 | (cpu-mep.lo,elf32-mep.lo): New targets. | |
256 | * archures.c (bfd_arch_mep): New enumerator. | |
257 | (bfd_mach_mep, bfd_mach_mep_h1): New macros. | |
258 | (bfd_mep_arch): New external variable. | |
259 | (bfd_archures_list): Add bfd_mep_arch. | |
260 | * config.bfd: Support mep-*-elf. | |
261 | * configure.in: Support bfd_elf32_mep_vec and bfd_elf32_mep_little_vec. | |
262 | * reloc.c (BFD_RELOC_MEP_*): New relocation numbers. | |
263 | * targets.c (bfd_elf32_mep_vec,bfd_elf32_mep_little_vec): New extern | |
264 | declarations. | |
265 | (_bfd_target_vector): Add bfd_elf32_mep_vec and | |
266 | bfd_elf32_mep_little_vec. | |
722b0ff7 DB |
267 | * mep-relocs.pl: New file. |
268 | * cpu-mep.c: New file. | |
269 | * elf32-mep.c: New file. | |
270 | * bfd-in2.h: Regenerate. | |
e382d174 | 271 | * po/POTFILES.in: Regenerate. |
722b0ff7 DB |
272 | * libbfd.h: Regenerate. |
273 | * Makefile.in: Regenerate. | |
274 | * configure: Regenerate. | |
275 | ||
d9352518 DB |
276 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
277 | ||
278 | * elflink.c (evaluate_complex_relocation_symbols): Check for | |
279 | STT_SRELC for global symbols. | |
280 | (perform_complex_relocations): Renamed to | |
281 | perform_complex_relocation and now examines only one relocation. | |
282 | (elf_link_input_bfd): Don't call perform_complex_relocations. | |
74e880a7 | 283 | * elf-bfd.h (bfd_elf_perform_complex_relocation_: New prototype. |
d9352518 DB |
284 | * elf32-mep.c (mep_elf_howto_table): Add R_RELC. |
285 | (OD,OS,OU): #undefs corrected to N, S and U repectively. | |
286 | (mep_reloc_type_lookup): Handle BFD_RELOC_RELC. | |
287 | (complex_reloc_installation_howto): Removed. | |
288 | (mep_info_to_howto_rela): Remove special case for r_type==0xff. | |
289 | (mep_elf_relocate_section): Call bfd_elf_perform_complex_relocation. | |
290 | ||
d9352518 | 291 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
e382d174 DB |
292 | Richard Sandiford <rsandifo@redhat.com> |
293 | DJ Delorie <dj@redhat.com> | |
294 | Graydon Hoare <graydon@redhat.com> | |
295 | Nick Clifton <nickc@cambridge.redhat.com> | |
296 | Jeff Holcomb <jeffh@redhat.com> | |
297 | Frank Ch. Eigler <fche@redhat.com> | |
298 | ||
299 | * elf-bfd.h (bfd_elf_perform_complex_relocations): New prototype. | |
300 | * elf.c (swap_out_syms): Handle BSF_RELC and BSF_SRELC. | |
301 | * elfcode.h (elf_slurp_symbol_table): Handle STT_RELC and STT_SRELC. | |
302 | * elflink.c (set_symbolValue): New static function. | |
d9352518 DB |
303 | (resolve_symbol): Likewise. |
304 | (resolve_section): Likewise. | |
305 | (undefined_reference): Likewise. | |
306 | (eval_symbol): Likewise. | |
307 | (evaluate_complex_relocation_symbols): Likewise. | |
308 | (put_value): Likewise. | |
309 | (get_value): Likewise. | |
e382d174 DB |
310 | (decode_complex_addend): |
311 | (bfd_elf_perform_complex_relocation): New function. | |
312 | (elf_link_input_bfd): Call evaluate_complex_relocation_symbols. | |
313 | * reloc.c (BFD_RELOC_RELC): New relocation number. | |
314 | * syms.c (BSF_RELC,BSF_SRELC): New macros. | |
d9352518 | 315 | |
f1ab2340 | 316 | 2007-02-05 Bob Wilson <bob.wilson@acm.org> |
74e880a7 | 317 | |
f1ab2340 BW |
318 | * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete. |
319 | (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete. | |
320 | (elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size) | |
321 | (elf_xtensa_allocate_got_size): Replace these with... | |
322 | (elf_xtensa_allocate_dynrelocs): ...this new function. | |
323 | (elf_xtensa_size_dynamic_sections): Use it. | |
74e880a7 | 324 | |
e5f131d1 | 325 | 2007-02-05 Bob Wilson <bob.wilson@acm.org> |
74e880a7 | 326 | |
e5f131d1 BW |
327 | * elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT> |
328 | <R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>: | |
329 | Set src_mask to zero. | |
330 | <R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise. Also fix dst_mask. | |
331 | <R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE. | |
74e880a7 | 332 | |
4608f3d9 BW |
333 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
334 | ||
335 | * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to... | |
336 | (elf_xtensa_dynamic_symbol_p): ...this. | |
337 | ||
f0e6fdb2 BW |
338 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
339 | ||
340 | * elf32-xtensa.c (plt_reloc_count): Move into link hash table. | |
341 | (struct elf_xtensa_link_hash_table): New. | |
342 | (elf_xtensa_hash_table): New. | |
343 | (elf_xtensa_link_hash_table_create): New. | |
344 | (elf_xtensa_check_relocs): Update plt_reloc_count references. | |
345 | Update arguments to add_extra_plt_sections. | |
346 | (elf_xtensa_create_dynamic_sections): Record new sections in the hash | |
347 | table. Update for plt_reloc_count and add_extra_plt_sections. | |
348 | (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj | |
349 | argument with link info. Update calls to elf_xtensa_get_plt_section | |
350 | and elf_xtensa_get_gotplt_section. | |
351 | (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections) | |
352 | (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections) | |
353 | (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections) | |
354 | (relax_property_section): Get sections from the hash table and update | |
355 | function calls. | |
356 | (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace | |
357 | dynobj argument with link info. Get sections for first plt chunk from | |
358 | the hash table. | |
359 | (bfd_elf32_bfd_link_hash_table_create): Define. | |
360 | ||
c15f73f9 JJ |
361 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
362 | ||
363 | * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *. | |
364 | * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types. | |
365 | (struct elf_symbol): Change first member into union. | |
366 | (elf_sort_elf_symbol): Compare pointers to internal syms rather than | |
367 | internal syms. Only compare st_shndx fields. | |
368 | (elf_create_symbuf): New function. | |
369 | (bfd_elf_match_symbols_in_sections): Use it. If symbufs are available | |
370 | for bfds, use a binary search, otherwise don't qsort symbols | |
371 | unnecessarily only to select which symbols are for the particular | |
372 | shndx. | |
373 | ||
effdf42a NC |
374 | 2007-02-01 Nick Clifton <nickc@redhat.com> |
375 | ||
376 | PR ld/3852 | |
377 | * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields | |
378 | in the elf_link_hash_table structure. | |
379 | ||
183e98be AM |
380 | 2007-02-01 Alan Modra <amodra@bigpond.net.au> |
381 | ||
382 | * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note. | |
383 | * elfxx-target.h (elf_backend_write_core_note): Define and use. | |
384 | * elf.c (elfcore_write_prpsinfo): Call the above. Add support for | |
385 | 32-bit core note on 64-bit target. | |
386 | (elfcore_write_prstatus): Likewise. | |
387 | (elfcore_write_lwpstatus): Make note_name const. | |
388 | (elfcore_write_prfpreg): Likewise. | |
389 | (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit | |
390 | target. | |
391 | * elf32-ppc.c (ppc_elf_write_core_note): New function. | |
392 | (elf_backend_write_core_note): Define. | |
393 | * elf64-ppc.c (ppc64_elf_write_core_note): New function. | |
394 | (elf_backend_write_core_note): Define. | |
395 | ||
fc523535 | 396 | 2007-01-31 H.J. Lu <hongjiu.lu@intel.com> |
16cecee5 L |
397 | |
398 | * elf32-cris.c (INCLUDED_TARGET_FILE): Removed. | |
399 | (elf32_bed): Defined for elf32-us-cris. | |
400 | ||
401 | * elf64-sh64.c (elf64_bed): Defined for Linux. | |
402 | (INCLUDED_TARGET_FILE): Removed. | |
403 | ||
404 | * elfxx-target.h (elfNN_bed): Always define. Don't check | |
405 | INCLUDED_TARGET_FILE. | |
406 | ||
c9b57b7e DD |
407 | 2007-01-31 DJ Delorie <dj@redhat.com> |
408 | ||
409 | * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning | |
410 | message for dangerous relocs, special case the common user error. | |
411 | ||
53020534 L |
412 | 2007-01-30 H.J. Lu <hongjiu.lu@intel.com> |
413 | ||
414 | * elf.c (copy_elf_program_header): Start from the first section | |
415 | in a segment and stop when all sections in a segment are | |
416 | accounted for. | |
417 | ||
c7b8f16e JB |
418 | 2007-01-29 Julian Brown <julian@codesourcery.com> |
419 | ||
420 | * bfd-in2.h: Regenerate. | |
421 | * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11 | |
422 | instruction scanning should be done. | |
423 | (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan) | |
424 | (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes. | |
425 | (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to | |
426 | prototype. | |
427 | * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info | |
428 | argument. | |
429 | * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME) | |
430 | (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros. | |
431 | (elf32_vfp11_erratum_type): New enum. | |
432 | (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to | |
433 | veneers. | |
434 | (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist. | |
435 | (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size, | |
436 | vfp11_fix and num_vfp11_fixes fields. | |
437 | (elf32_arm_link_hash_table_create): Initialise vfp11_fix, | |
438 | vfp11_erratum_glue_size, num_vfp11_fixes fields. | |
439 | (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer. | |
440 | (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum | |
441 | glue section. | |
442 | (elf32_arm_section_map_add): Add an code/data mapping symbol entry | |
443 | to a section's map. | |
444 | (record_vfp11_erratum_veneer): Create a single veneer, and its | |
445 | associated symbols. | |
446 | (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue. | |
447 | (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input | |
448 | BFDs. | |
449 | (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround | |
450 | required. | |
451 | (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes. | |
452 | (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn. | |
453 | (bfd_arm_vfp11_write_mask): Update write mask according to coded | |
454 | register number. | |
455 | (bfd_arm_vfp11_antidependency): New function. | |
456 | (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn. | |
457 | (elf32_arm_compare_mapping): Declare. | |
458 | (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input | |
459 | BFD for potential erratum-triggering insns. Record results. | |
460 | (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers | |
461 | and branches to veneers have been placed in virtual memory after | |
462 | layout. | |
463 | (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global | |
464 | hash table. | |
465 | (elf32_arm_output_symbol_hook): Remove. | |
466 | (elf32_arm_write_section): Output veneers, and branches to veneers. | |
467 | Use maps from input sections, not output sections, for code | |
468 | byte-swapping. | |
469 | * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument. | |
470 | * elf32-score.c (_bfd_score_elf_write_section): Likewise. | |
471 | * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise. | |
472 | * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise. | |
473 | ||
474 | 2007-01-27 H.J. Lu <hongjiu.lu@intel.com> | |
83d1651b L |
475 | |
476 | * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux. | |
b8210914 | 477 | (INCLUDED_TARGET_FILE): Removed. |
83d1651b | 478 | |
914dfb0f DA |
479 | 2007-01-27 Mike Frysinger <vapier@gentoo.org> |
480 | ||
481 | * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd. | |
482 | (INCLUDED_TARGET_FILE): Remove. | |
483 | ||
78eba9b6 DD |
484 | 2007-01-25 DJ Delorie <dj@redhat.com> |
485 | ||
486 | * elf32-m32c.c (m32c_elf_howto_table): Don't complain about | |
487 | R_M32C_16 or R_M32C_24 relocs. | |
488 | ||
64ee10b6 NC |
489 | 2007-01-25 Nick Clifton <nickc@redhat.com> |
490 | ||
491 | PR binutils/3874 | |
492 | * elf32-avr.c (avr_link_hash_table): Check to make sure that the | |
493 | hash table was created by elf32_avr_link_hash_table_create before | |
494 | using it. | |
495 | (elf32_avr_link_hash_newfunc): New function. Just pass the call | |
496 | through to _bfd_elf_link_hash_newfunc. | |
497 | (elf32_avr_link_hash_table_create): Use | |
498 | elf32_avr_link_hash_newfunc instead of | |
499 | _bfd_elf_link_hash_newfunc. | |
500 | (elf32_avr_relocate_section): Check for the hash table pointer | |
501 | being NULL. | |
502 | (elf32_avr_relax_section, avr_build_one_stub, | |
503 | elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, | |
504 | elf32_avr_build_stubs): Likewise. | |
505 | ||
40b36307 L |
506 | 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> |
507 | ||
508 | PR ld/3831 | |
509 | * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an | |
510 | argument, Elf_Internal_Sym *. | |
511 | ||
512 | * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data | |
513 | symbol dynamic if info->dynamic_data is TRUE. | |
514 | (bfd_elf_record_link_assignment): Updated call to | |
515 | bfd_elf_record_link_assignment. | |
516 | (_bfd_elf_merge_symbol): Likewise. Always call | |
517 | bfd_elf_link_mark_dynamic_symbol. | |
518 | ||
fc523535 | 519 | 2007-01-12 H.J. Lu <hongjiu.lu@intel.com> |
a454209d L |
520 | |
521 | * Makefile.am (BFD_LIBS): Removed. | |
522 | * Makefile.in: Regenerated. | |
523 | ||
fc523535 | 524 | 2007-01-11 H.J. Lu <hongjiu.lu@intel.com> |
21e40a48 L |
525 | |
526 | PR binutils/3631 | |
527 | * Makefile.am (OFILES): Add @bfd64_libs@. | |
528 | (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES). | |
529 | * Makefile.in: Regenerated. | |
530 | ||
531 | * configure.in (bfd_libs): Replaced by ... | |
532 | (bfd64_libs): This. | |
533 | * configure: Regenerated. | |
534 | ||
59e0647f NS |
535 | 2007-01-11 Nathan Sidwell <nathan@codesourcery.com> |
536 | ||
537 | * elf.c (assign_file_positions_for_load_sections): We can | |
538 | require fewer phdrs than expected. | |
539 | ||
3bdcfdf4 KH |
540 | 2007-01-08 Kazu Hirata <kazu@codesourcery.com> |
541 | ||
542 | * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. | |
543 | * bfd-in2.h: Regenerate. | |
544 | * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of | |
545 | bfd_mach_cpu32_fido. | |
546 | (m68k_arch_features): Use fido_a instead of cpu32. | |
547 | (bfd_m68k_compatible): Reject the combination of Fido and | |
548 | ColdFire. Accept the combination of CPU32 and Fido with a | |
549 | warning. | |
550 | * elf32-m68k.c (elf32_m68k_object_p, | |
551 | elf32_m68k_merge_private_bfd_data, | |
552 | elf32_m68k_print_private_bfd_data): Treat Fido as an | |
553 | architecture by itself. | |
554 | ||
42037fe5 NC |
555 | 2007-01-08 Kai Tietz <kai.tietz@onevision.com> |
556 | ||
557 | * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. | |
558 | ||
ebe8b991 JJ |
559 | 2007-01-05 Jakub Jelinek <jakub@redhat.com> |
560 | ||
561 | * texhex.c (first_phase): Don't fall through into the default | |
562 | case. | |
563 | (pass_over): Replace abort () calls with return FALSE. Fix | |
564 | buffer overflow. | |
565 | ||
b327f31f AM |
566 | 2007-01-04 Jie Zhang <jie.zhang@analog.com> |
567 | ||
568 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set | |
569 | SEC_EXCLUDE on zero size .eh_frame. | |
570 | ||
10a2343e | 571 | For older changes see ChangeLog-2006 |
56882138 AM |
572 | \f |
573 | Local Variables: | |
574 | mode: change-log | |
575 | left-margin: 8 | |
576 | fill-column: 74 | |
577 | version-control: never | |
578 | End: |