Commit | Line | Data |
---|---|---|
60b31e8d AM |
1 | 2007-06-27 Alan Modra <amodra@bigpond.net.au> |
2 | ||
3 | * elf32-ppc.c (ppc_elf_select_plt_layout): Properly iterate over | |
4 | input bfds. | |
58eb693e | 5 | * elf32-spu.c (spu_elf_create_sections): Likewise. |
60b31e8d | 6 | |
bec42b15 NC |
7 | 2007-06-26 H.J. Lu <hongjiu.lu@intel.com> |
8 | ||
9 | * dwarf2.c (find_line): New. Contains the duplicated code from: | |
10 | (_bfd_dwarf2_find_nearest_line): Use it. | |
11 | (_bfd_dwarf2_find_line): Use it. | |
12 | ||
3d3e6f9a JM |
13 | 2007-06-26 Joseph Myers <joseph@codesourcery.com> |
14 | ||
15 | * elf32-arm.c (copy_eabi_attributes): Copy type of attributes. | |
16 | ||
b314ec0e RS |
17 | 2007-06-25 Richard Sandiford <richard@codesourcery.com> |
18 | ||
19 | * elfxx-mips.c (mips_elf_calculate_relocation): Allow local stubs | |
20 | to be used for calls from MIPS16 code. | |
21 | ||
0d4a1476 AS |
22 | 2007-06-23 Andreas Schwab <schwab@suse.de> |
23 | ||
24 | * configure.in (--with-separate-debug-dir): New option. | |
25 | * configure: Regenerate. | |
26 | * Makefile.am (dwarf2.lo): Add rule to pass DEBUGDIR. | |
27 | * Makefile.in: Regenerate. | |
28 | * dwarf2.c (_bfd_dwarf2_find_nearest_line): Pass DEBUGDIR to | |
29 | bfd_follow_gnu_debuglink. | |
30 | (_bfd_dwarf2_find_line): Likewise. | |
31 | ||
0d161102 NC |
32 | 2007-06-22 Nick Clifton <nickc@redhat.com> |
33 | ||
34 | * dwarf2.c: Add support for reading in debug information via a | |
35 | .gnu_debuglink section: | |
36 | (struct dwarf2_debug): Add bfd field to record the bfd containing | |
37 | the debug info. | |
38 | (parse_comp_unit): Remove ABFD parameter. Instead use the bfd | |
39 | field in the dwarf2_debug structure. | |
40 | (_bfd_dwarf2_find_nearest_line): If a debug info section could not | |
41 | be found in the current bfd call bfd_follow_gnu_debuglink to see | |
42 | if another file contains the debug information. If it does, open | |
43 | it and continue. | |
44 | (_bfd_dwarf2_find_line): Likewise. | |
45 | ||
293a0124 L |
46 | 2007-06-19 H.J. Lu <hongjiu.lu@intel.com> |
47 | ||
48 | PR ld/4590 | |
49 | * elfxx-ia64.c (sort_dyn_sym_info): Keep the valid got_offset | |
50 | when removing duplicated entries. | |
51 | (get_dyn_sym_info): Initialize the got_offset field to -1. | |
52 | Update call to sort_dyn_sym_info. | |
53 | (elfNN_ia64_relocate_section): Call sort_dyn_sym_info to sort | |
54 | array of addend and remove duplicates. | |
55 | ||
dc1f3d8a L |
56 | 2007-06-18 H.J. Lu <hongjiu.lu@intel.com> |
57 | ||
58 | * libpei.h (_bfd_XXi_final_link_postscript): Remove | |
59 | duplication. | |
60 | (bfd_target_pei_p): New. | |
61 | (bfd_target_pei_arch): New | |
62 | (bfd_target_efi_p): Likewise. | |
63 | (bfd_target_efi_arch): New | |
64 | (bfd_pe_executable_p): Use bfd_target_pei_p and | |
65 | bfd_target_efi_p. | |
66 | ||
67 | * peicode.h (arch_type): New enum. | |
68 | (pe_arch): New function. | |
69 | (pe_bfd_object_p): Don't match PE/EFI target with EFI/PE file | |
70 | if there is an EFI/PE target. | |
71 | ||
79887925 L |
72 | 2007-06-14 H.J. Lu <hongjiu.lu@intel.com> |
73 | ||
74 | * Makefile.am (ACLOCAL_AMFLAGS): Add -I . -I ../config. | |
75 | ||
76 | * acinclude.m4: Don't include m4 files. Remove libtool | |
77 | kludge. | |
78 | ||
79 | * Makefile.in: Regenerated. | |
79887925 L |
80 | * aclocal.m4: Likewise. |
81 | * configure: Likewise. | |
82 | ||
99ded152 BW |
83 | 2007-06-11 Sterling Augustine <sterling@tensilica.com> |
84 | Bob Wilson <bob.wilson@acm.org> | |
85 | ||
86 | * elf32-xtensa.c (extend_ebb_bounds_forward): Use renamed | |
87 | XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM. | |
88 | (extend_ebb_bounds_backward, compute_text_actions): Likewise. | |
89 | (compute_ebb_proposed_actions, coalesce_shared_literal): Likewise. | |
90 | (xtensa_get_property_predef_flags): Likewise. | |
91 | (compute_removed_literals): Pass new arguments to is_removable_literal. | |
92 | (is_removable_literal): Add sec, prop_table and ptblsize arguments. | |
93 | Do not remove literal if the NO_TRANSFORM property flag is set. | |
94 | ||
cbf2cba4 RS |
95 | 2007-05-31 Richard Sandiford <rsandifo@nildram.co.uk> |
96 | ||
97 | * elfxx-mips.c (mips_elf_initialize_tls_index): When processing a | |
98 | type (3) single-GOT entry, read tls_type from the hash table entry | |
99 | rather than the GOT entry. | |
100 | ||
a9a4c53e AM |
101 | 2007-06-01 Alan Modra <amodra@bigpond.net.au> |
102 | ||
103 | * simple.c (bfd_simple_get_relocated_section_contents): Init | |
104 | input_bfds_tail. | |
105 | ||
02bf8d82 AM |
106 | 2007-05-30 Alan Modra <amodra@bigpond.net.au> |
107 | ||
42bb2e33 AM |
108 | * elf.c (elf_fake_sections): Adjust test for SHT_NOBITS sections |
109 | created by objcopy --only-keep-debug. | |
110 | (_bfd_elf_init_private_section_data): Only change elf_section_type | |
111 | if it is SHT_NULL. | |
112 | ||
02bf8d82 AM |
113 | * elf.c (assign_file_positions_for_load_sections): Correct sh_type |
114 | to SHT_NOBITS earlier. Base actions in rest of function on sh_type | |
115 | and sh_flags instead of bfd section flags. Delete voff and code | |
116 | keeping nobits segments aligned. | |
117 | ||
4e591bc1 EC |
118 | 2007-05-25 Eric Christopher <echristo@apple.com> |
119 | ||
120 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): | |
121 | Check that sym_sec isn't NULL before accessing. | |
122 | ||
37ad9514 SE |
123 | 2007-05-24 Steve Ellcey <sje@cup.hp.com> |
124 | ||
125 | * Makefile.in: Regnerate. | |
126 | * configure: Regenerate. | |
127 | * aclocal.m4: Regenerate. | |
128 | * doc/Makefile.in: Regenerate. | |
129 | ||
91a5743d PB |
130 | 2007-05-22 Paul Brook <paul@codesourcery.com> |
131 | ||
132 | * elf32-arm.c (output_arch_syminfo): Replace plt_shndx and plt_offset | |
133 | with sec and sec_shndx. | |
134 | (elf32_arm_ouput_plt_map_sym): Use them. | |
135 | (elf32_arm_output_arch_local_syms): Output mapping symbols for | |
136 | interworking glue. | |
137 | ||
26079076 PB |
138 | 2007-05-18 Paul Brook <paul@codesourcery.com> |
139 | ||
140 | * elf32-arm.c (ARM2THUMB_V5_STATIC_GLUE_SIZE): Define. | |
141 | (a2t1v5_ldr_insn, a2t1v5_ldr_insn): New. | |
142 | (record_arm_to_thumb_glue): Add v5t non-pic glue. | |
143 | (elf32_arm_create_thumb_stub): Ditto. | |
144 | ||
91ac5911 L |
145 | 2007-05-16 H.J. Lu <hongjiu.lu@intel.com> |
146 | Alan Modra <amodra@bigpond.net.au> | |
147 | ||
148 | * elflink.c (_bfd_elf_adjust_dynamic_copy): Align dynamic bss | |
149 | section to the minimum alignment. | |
150 | ||
027297b7 L |
151 | 2007-05-15 H.J. Lu <hongjiu.lu@intel.com> |
152 | Alan Modra <amodra@bigpond.net.au> | |
153 | ||
154 | PR ld/4504 | |
155 | * elf-bfd.h (_bfd_elf_adjust_dynamic_copy): New. | |
156 | * elflink.c (_bfd_elf_adjust_dynamic_copy): New. | |
157 | ||
158 | * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Call | |
159 | _bfd_elf_adjust_dynamic_copy to adjust for the copy in dynamic | |
160 | bss section. | |
161 | * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. | |
162 | * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. | |
163 | * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. | |
164 | * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. | |
165 | * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. | |
166 | * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. | |
167 | * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. | |
168 | * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. | |
169 | * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. | |
170 | * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. | |
171 | * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. | |
172 | * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. | |
173 | * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. | |
174 | * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. | |
175 | * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. | |
176 | * elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Likewise. | |
177 | * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. | |
178 | ||
5c18022e RS |
179 | 2007-05-15 Richard Sandiford <richard@codesourcery.com> |
180 | ||
181 | * elfxx-mips.c (mips_elf_create_local_got_entry): Remove | |
182 | input_section argument. Create .rela.dyn relocations against | |
183 | symbol 0 rather than the section symbol. | |
184 | (mips_elf_local_got_index): Remove input_section argument. | |
185 | Update call to mips_elf_create_local_got_entry. | |
186 | (mips_elf_got_page, mips_elf_got16_entry): Likewise. | |
187 | (mips_elf_calculate_relocation): Update calls to | |
188 | mips_elf_local_got_index, mips_elf_got16_entry and mips_elf_got_page. | |
189 | ||
a00a1f35 MS |
190 | 2007-05-15 Mark Shinwell <shinwell@codesourcery.com> |
191 | ||
192 | * elf32-arm.c (elf32_arm_final_link_relocate): Correctly | |
193 | handle the Thumb-2 JUMP19 relocation. | |
194 | ||
0414f35b AM |
195 | 2007-05-15 Alan Modra <amodra@bigpond.net.au> |
196 | ||
197 | PR 4479 | |
198 | * elf.c (elf_fake_sections): Don't allow backend to change | |
199 | SHT_NOBITS if called for strip/objcopy --only-keep-debug. | |
200 | * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove similar | |
201 | fix from here. | |
202 | ||
74f2e02b AM |
203 | 2007-05-14 Alan Modra <amodra@bigpond.net.au> |
204 | ||
205 | * elf.c (bfd_elf_string_from_elf_section): Return NULL on | |
206 | invalid shstrndx. | |
207 | (bfd_elf_get_str_section): Likewise. | |
208 | ||
f137a54e AM |
209 | 2007-05-12 Alan Modra <amodra@bigpond.net.au> |
210 | ||
211 | PR 4497 | |
212 | * elf-eh-frame.c (struct cie): Add "local_personality". Make | |
213 | "personality" a union. | |
214 | (cie_eq): Compare local_personality too. Adjust personality | |
215 | comparison. | |
216 | (_bfd_elf_discard_section_eh_frame): Check binding on personality | |
217 | reloc sym to allow for bad symtab. Use stashed local syms rather | |
218 | than reading personality local sym. Handle discarded sections. | |
219 | ||
4f4416b5 AM |
220 | 2007-05-12 Alan Modra <amodra@bigpond.net.au> |
221 | ||
222 | * elf32-spu.c (elf_howto_table): Add howto for R_SPU_ADDR16X. | |
223 | ||
016687f8 AM |
224 | 2007-05-11 Alan Modra <amodra@bigpond.net.au> |
225 | ||
226 | * elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype. | |
227 | (enum ppc_elf_plt_type): Move from.. | |
228 | * elf32-ppc.c: ..here. | |
229 | (struct ppc_elf_obj_tdata): Add makes_plt_call and has_rel16. | |
230 | (struct ppc_elf_link_hash_table): Reorder. Add old_bfd. Delete | |
231 | can_use_new_plt. Make is_vxworks a bitfield. | |
232 | (ppc_elf_link_hash_table_create): Don't clear is_vxworks (again). | |
233 | (ppc_elf_check_relocs): Update setting of reloc flags. Set old_bfd. | |
234 | (ppc_elf_select_plt_layout): Modify parameters. Use bfd reloc | |
235 | flags to better detect object files needing old bss-style plt. | |
236 | Allow secure plt to be used without rel16 relocs being detected. | |
237 | Warn if secure plt request cannot be allowed. | |
238 | ||
ece5ef60 AM |
239 | 2007-05-11 Alan Modra <amodra@bigpond.net.au> |
240 | ||
241 | * reloc.c (BFD_RELOC_SPU_PPU32, BFD_RELOC_SPU_PPU64): Define. | |
242 | * elf-bfd.h (struct elf_backend_data): Change return type of | |
243 | elf_backend_relocate_section to int. | |
244 | * elf32-spu.c (elf_howto_table): Add howtos for R_SPU_PPU32 and | |
245 | R_SPU_PPU64. | |
246 | (spu_elf_bfd_to_reloc_type): Convert new relocs. | |
247 | (spu_elf_count_relocs): New function. | |
248 | (elf_backend_count_relocs): Define. | |
249 | (spu_elf_relocate_section): Arrange to emit R_SPU_PPU32 and | |
250 | R_SPU_PPU64 relocs. | |
251 | * elflink.c (elf_link_input_bfd): Emit relocs if relocate_section | |
252 | returns 2. | |
253 | * bfd-in2.h: Regenerate. | |
254 | * libbfd.h: Regenerate. | |
255 | ||
d3753b85 RS |
256 | 2007-05-10 Richard Sandiford <richard@codesourcery.com> |
257 | ||
258 | * elf32-arm.c (elf32_arm_check_relocs): Don't create PLT entries | |
259 | for R_ARM_ABS12 relocs. | |
260 | (elf32_arm_finish_dynamic_symbol): Fix the loop that creates | |
261 | non-shared VxWorks PLT entries. | |
262 | ||
ef8c95ad AM |
263 | 2007-05-11 Alan Modra <amodra@bigpond.net.au> |
264 | ||
265 | PR 4454 | |
266 | * elf-eh-frame.c (struct cie): Make "personality" a bfd_vma. | |
267 | (_bfd_elf_discard_section_eh_frame): Handle local syms on | |
268 | personality relocation. | |
269 | ||
8c252fd9 RS |
270 | 2007-05-10 Richard Sandiford <richard@codesourcery.com> |
271 | ||
272 | * elf.c (assign_file_positions_for_load_sections): Use p_memsz | |
273 | rather than p_filesz to calculate the LMA of the end of a segment. | |
274 | ||
b186458a JJ |
275 | 2007-05-10 Jakub Jelinek <jakub@redhat.com> |
276 | ||
277 | * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Don't do copyreloc | |
278 | processing if symbol is defined in the executable. | |
279 | ||
88571279 AO |
280 | 2007-05-10 Alexandre Oliva <aoliva@redhat.com> |
281 | ||
282 | * elf32-frv.c (_frvfdpic_check_discarded_relocs): New. | |
283 | (frvfdpic_elf_discard_info): New. | |
284 | (elf_backend_discard_info): Define for FDPIC. | |
285 | ||
2e6030b9 MS |
286 | 2007-05-09 Mark Shinwell <shinwell@codesourcery.com> |
287 | ||
288 | * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Don't | |
289 | attempt to scan if the bfd doesn't correspond to an ELF image. | |
290 | (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise. | |
291 | ||
0d4cc892 AO |
292 | 2007-05-08 Alexandre Oliva <aoliva@redhat.com> |
293 | ||
294 | * elf32-frv.c (elf32_frv_relocate_section): Discard dynamic relocs | |
295 | for which _bfd_elf_section_offset returns -1. | |
296 | ||
d0249648 AM |
297 | 2007-05-08 Alan Modra <amodra@bigpond.net.au> |
298 | ||
299 | * elf32-spu.c (spu_elf_size_stubs): Use "void *" for psyms. | |
300 | (mark_functions_via_relocs): Likewise. | |
301 | ||
1182cb93 AM |
302 | 2007-05-07 Alan Modra <amodra@bigpond.net.au> |
303 | ||
304 | * elflink.c (bfd_elf_final_link): Correct reloc handling for | |
305 | elf_backend_count_relocs. | |
306 | (bfd_elf_discard_info): Print an error if we can't read syms. | |
307 | ||
b16f296e AM |
308 | 2007-05-07 Alan Modra <amodra@bigpond.net.au> |
309 | ||
310 | * elf32-spu.c (spu_elf_reloc_type_lookup): Return NULL on | |
311 | invalid reloc code. | |
312 | (spu_elf_gc_mark_hook, spu_elf_section_processing): Delete functions. | |
313 | (elf_backend_gc_mark_hook, elf_backend_section_processing): Don't | |
314 | define. | |
315 | ||
7c928300 AM |
316 | 2007-05-07 Alan Modra <amodra@bigpond.net.au> |
317 | ||
318 | * elf.c (assign_file_positions_for_load_sections): Don't check | |
319 | core segment. | |
320 | ||
fc66a176 L |
321 | 2007-05-04 H.J. Lu <hongjiu.lu@intel.com> |
322 | ||
323 | * elflink.c (elf_link_sort_relocs): Return if both .rela.dyn | |
324 | and .rel.dyn aren't present. | |
325 | ||
3410fea8 NC |
326 | 2007-05-04 Nick Clifton <nickc@redhat.com> |
327 | ||
328 | * elflink.c (elf_link_sort_relocs): If both .rela.dyn and .rel.dyn | |
329 | sections are present examine the indirect sections in an attempt | |
330 | to compute the correct relocation size. If there is any | |
331 | ambiguity, produce an error and refuse to sort. | |
332 | ||
7bdca076 SL |
333 | 2007-05-03 Sandra Loosemore <sandra@codesourcery.com> |
334 | ||
335 | * elf32-arm.c (allocate_dynrelocs): Fix typo in comment. | |
336 | ||
22184a77 NC |
337 | 2007-05-03 Vincent Riviere <vincent.riviere@freesbee.fr> |
338 | Nick Clifton <nickc@redhat.com> | |
339 | ||
340 | PR gas/3041 | |
341 | * aoutx.h (swap_std_reloc_out): Treat relocs against weak symbols | |
342 | in the same way as relocs against external symbols. | |
343 | ||
627b32bc AM |
344 | 2007-05-02 Alan Modra <amodra@bigpond.net.au> |
345 | ||
346 | * elf.c (assign_file_positions_for_load_sections): Set sh_offset | |
347 | here. Set sh_type to SHT_NOBITS if we won't be allocating | |
348 | file space. Don't bump p_memsz for non-alloc sections. Adjust | |
349 | section-in-segment check. | |
350 | (assign_file_positions_for_non_load_sections): Don't set sh_offset | |
351 | here for sections that have already been handled above. | |
352 | ||
49fa1e15 AM |
353 | 2007-04-30 Alan Modra <amodra@bigpond.net.au> |
354 | ||
355 | * elf32-spu.c (struct spu_link_hash_table): Add stack_analysis | |
356 | and emit_stack_syms bitfields. | |
357 | (get_sym_h): Read all symbols if stack analysis will be done. | |
358 | (spu_elf_create_sections): Add stack_analysis and emit_stack_syms | |
359 | params, and stash in hash table. | |
360 | (is_hint): Split off from.. | |
361 | (is_branch): ..here. Adjust callers. | |
362 | (spu_elf_size_stubs): Add stack_analysis param. Arrange to read | |
363 | and keep all syms. | |
364 | (write_one_stub): Fix mem leak. | |
365 | (find_function_stack_adjust): New function. | |
366 | (sort_syms_syms, sort_syms_psecs): New vars. | |
367 | (sort_syms): New function. | |
368 | (struct call_info, struct function_info): New. | |
369 | (struct spu_elf_stack_info): New. | |
370 | (alloc_stack_info, maybe_insert_function, func_name): New functions. | |
371 | (is_nop, insns_at_end, check_function_ranges): Likewise. | |
372 | (find_function, insert_callee, mark_functions_via_relocs): Likewise. | |
373 | (pasted_function, interesting_section, discover_functions): Likewise. | |
374 | (mark_non_root, call_graph_traverse, build_call_tree): Likewise. | |
375 | (sum_stack, spu_elf_stack_analysis, spu_elf_final_link): Likewise. | |
376 | (bfd_elf32_bfd_final_link): Define. | |
377 | * elf32-spu.h (struct _spu_elf_section_data): Add stack_info field. | |
378 | (spu_elf_create_sections, spu_elf_size_stubs): Update prototypes. | |
379 | ||
9ddf8309 TS |
380 | 2007-04-28 Sergey Rogozhkin <rogozhkin@niisi.msk.ru> |
381 | ||
382 | * elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't access | |
383 | memory which we might not own. | |
384 | ||
95147441 BW |
385 | 2007-04-27 Bob Wilson <bob.wilson@acm.org> |
386 | ||
387 | * elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function. | |
388 | (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Likewise. | |
389 | (elf_xtensa_allocate_dynrelocs): Use elf_xtensa_make_sym_local. | |
390 | ||
bcc2cc8e BW |
391 | 2007-04-27 Bob Wilson <bob.wilson@acm.org> |
392 | ||
393 | * elf32-xtensa.c (xtensa_read_table_entries): Step through table | |
394 | contents and relocs in parallel. | |
4e591bc1 | 395 | |
f29f96b6 BW |
396 | 2007-04-27 Bob Wilson <bob.wilson@acm.org> |
397 | ||
398 | * elf32-xtensa.c (relax_property_section): Remove extra irel increment. | |
399 | ||
2ce18a16 AM |
400 | 2007-04-27 Alan Modra <amodra@bigpond.net.au> |
401 | ||
402 | * cpu-rs6000.c: Write Mimi's name in ASCII. | |
403 | * coff-rs6000.c: Likewise. | |
404 | * rs6000-core.c: Likewise. | |
405 | ||
eddc20ad AM |
406 | 2007-04-27 Alan Modra <amodra@bigpond.net.au> |
407 | ||
408 | * sysdep.h: Include config.h first. | |
409 | Many files: Include sysdep.h before bfd.h. | |
410 | * Makefile.am: Run "make dep-am". | |
411 | * Makefile.in: Regenerate. | |
412 | ||
495443d4 AM |
413 | 2007-04-25 Alan Modra <amodra@bigpond.net.au> |
414 | ||
415 | * sysdep.h: Revert last change. | |
416 | ||
40b1c6c5 NC |
417 | 2007-04-24 Nick Clifton <nickc@redhat.com> |
418 | ||
419 | * coffcode.h (coff_slurp_reloc_table): Initialise dst.r_offset. | |
420 | * coff-m68k.c (m68kcoff_rtype_to_howto): Initialize relent.howto. | |
421 | ||
64be1553 AM |
422 | 2007-04-24 Alan Modra <amodra@bigpond.net.au> |
423 | ||
424 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Warn if | |
425 | eh_frame_hdr table won't be created. | |
426 | ||
d5efd9fc AM |
427 | 2007-04-24 Alan Modra <amodra@bigpond.net.au> |
428 | ||
429 | * acinclude.m4: Include config/stdint.m4. | |
430 | * configure.in: Invoke GCC_HEADER_STDINT. | |
431 | * sysdep.h: Don't include ansidecl.h here. | |
432 | * configure: Regenerate. | |
433 | * config.in: Regenerate. | |
434 | * Makefile.in: Regenerate. | |
435 | ||
9a2e615a NS |
436 | 2007-04-23 Nathan Sidwell <nathan@codesourcery.com> |
437 | ||
438 | * archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac, | |
439 | bfd_mach_mcf_isa_c_emac): New. | |
440 | * elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry, | |
441 | elf_isac_plt_entry, elf_isac_plt_info): New. | |
442 | (elf32_m68k_object_p): Add ISA_C. | |
443 | (elf32_m68k_print_private_bfd_data): Print ISA_C. | |
444 | (elf32_m68k_get_plt_info): Detect ISA_C. | |
445 | * cpu-m68k.c (arch_info): Add ISAC. | |
446 | (m68k_arch_features): Likewise, | |
447 | (bfd_m68k_compatible): ISAs B & C are not compatible. | |
448 | ||
1b0b5b1b NC |
449 | 2007-04-21 Nick Clifton <nickc@redhat.com> |
450 | ||
451 | * ecoff.c (_bfd_ecoff_write_armap): Initialise rehash. | |
452 | (ecoff_link_add_archive_symbols): Likewise. | |
453 | * coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise | |
454 | relent.howto. | |
455 | * ieee.c (parse_int): Initialise x. | |
456 | (must_parse_int): Initialise result. | |
457 | (ieee_slurp_external_symbols): Initialise value. | |
458 | ||
bd7803a9 AM |
459 | 2007-04-21 Alan Modra <amodra@bigpond.net.au> |
460 | ||
461 | * config.bfd (spu-*-elf): Delete targ_selvecs. | |
462 | ||
964597d0 NC |
463 | 2007-04-19 Nick Clifton <nickc@redhat.com> |
464 | ||
465 | * coffcode.h (coff_rtype_to_howto): Initialise genrel.howto. | |
466 | ||
01e76792 AM |
467 | 2007-04-19 Alan Modra <amodra@bigpond.net.au> |
468 | ||
469 | * bfd.c (bfd_demangle): New function. | |
470 | * Makefile.am: Run "make dep-am". | |
471 | * Makefile.in: Regenerate. | |
472 | * bfd-in2.h: Regenerate. | |
473 | ||
ee5c21a0 DJ |
474 | 2007-04-18 Matthias Klose <doko@ubuntu.com> |
475 | ||
476 | * Makefile.am (libbfd_la_LDFLAGS): Use bfd soversion. | |
477 | (bfdver.h): Use the date in non-release builds for the soversion. | |
478 | * Makefile.in: Regenerate. | |
479 | ||
fcb93ecf PB |
480 | 2007-04-17 Paul Brook <paul@codesourcery.com> |
481 | ||
482 | * elf.c (_bfd_elf_is_function_type): New function. | |
483 | * elflink.c (_bfd_elf_merge_symbol): Use bed->is_function_type. | |
484 | (_bfd_elf_dynamic_symbol_p, _bfd_elf_symbol_refs_local_p, | |
485 | is_global_data_symbol_definition, elf_link_add_object_symbols): Ditto. | |
486 | * elf-bfd.h (elf_backend_data): Add is_function_type. | |
487 | (_bfd_elf_is_function_type): Add prototype. | |
488 | * elfxx-target.h (elf_backend_is_function_type): Add default | |
489 | definition. | |
490 | (elfNN_bed): Add elf_backend_is_function_type. | |
491 | * elf32-arm.c (elf32_arm_is_function_type): New function. | |
492 | (elf_backend_is_function_type): Define. | |
493 | ||
5750dcec DJ |
494 | 2007-04-17 Daniel Jacobowitz <dan@codesourcery.com> |
495 | ||
496 | * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Put | |
497 | DT_MIPS_RLD_MAP before DT_DEBUG again. | |
498 | ||
cfbc9945 SE |
499 | 2007-04-14 Steve Ellcey <sje@cup.hp.com> |
500 | ||
501 | * Makefile.am: Add ACLOCAL_AMFLAGS. | |
502 | * configure.in: Change macro call order. | |
503 | * Makefile.in: Regnerate. | |
504 | * doc/Makefile.in: Regenerate. | |
505 | * configure: Regenerate. | |
506 | ||
3fcd97f1 JJ |
507 | 2007-04-14 Jakub Jelinek <jakub@redhat.com> |
508 | ||
509 | * elflink.c (bfd_elf_final_link): Don't free symbuf for | |
510 | non-elf input bfds. | |
511 | (bfd_elf_size_dynamic_sections): Don't access elf_section_data | |
512 | for non-elf input bfds. | |
513 | ||
af5978fb RS |
514 | 2007-04-12 Richard Sandiford <richard@codesourcery.com> |
515 | ||
516 | * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add | |
517 | DT_MIPS_RTLD_MAP for PIEs. | |
518 | ||
9e3313ae RS |
519 | 2007-04-12 Richard Sandiford <richard@codesourcery.com> |
520 | ||
521 | * elfxx-mips.c (mips_elf_calculate_relocation): Set DT_TEXTREL | |
522 | when creating a __GOTT_BASE__ or __GOTT_INDEX__ relocation | |
523 | in a read-only section. | |
524 | (_bfd_mips_elf_check_relocs): Likewise. | |
525 | ||
1d25768e BW |
526 | 2007-04-12 Bob Wilson <bob.wilson@acm.org> |
527 | ||
528 | * elf32-xtensa.c (xtensa_is_insntable_section): New. | |
529 | (xtensa_is_proptable_section): New. | |
530 | (elf_xtensa_discard_info_for_section): Handle "full" .xt.prop property | |
531 | tables with 12-byte entries, as well as tables with 8-byte entries. | |
532 | Sort the relocations before examining them. | |
533 | (relax_property_section): Use xtensa_is_proptable_section and | |
534 | xtensa_is_littable_section. Rewrite code for combining table entries | |
535 | to be more robust in case of unexpected relocations. Do not set offset | |
536 | of unused relocations to less than zero. | |
537 | (xtensa_is_property_section): Use other functions instead of | |
538 | duplicating section name comparisons. | |
539 | (xtensa_is_littable_section): Use CONST_STRNEQ for ".gnu.linkonce.p.". | |
540 | (xtensa_get_property_predef_flags): Use xtensa_is_insntable_section. | |
4e591bc1 | 541 | |
e1e5c0b5 | 542 | 2007-04-12 Bob Wilson <bob.wilson@acm.org> |
4e591bc1 | 543 | |
e1e5c0b5 BW |
544 | * elf32-xtensa.c (elf_xtensa_gc_mark_hook): Don't follow references |
545 | from Xtensa property sections. | |
4e591bc1 | 546 | |
2c67c5f3 AM |
547 | 2007-04-12 Alan Modra <amodra@bigpond.net.au> |
548 | ||
549 | * elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_data | |
550 | is non-NULL before dereferencing. | |
551 | ||
8776bb8a NS |
552 | 2007-04-11 Nathan Sidwell <nathan@codesourcery.com> |
553 | ||
554 | * elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot | |
555 | relocs too. | |
556 | ||
4a828aab RH |
557 | 2007-04-10 Richard Henderson <rth@redhat.com> |
558 | ||
559 | * elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip. | |
560 | (elf64_alpha_size_got_sections): Remove unused something_changed local. | |
561 | (elf64_alpha_size_plt_section): Return void. | |
562 | (elf64_alpha_size_rela_got_section): Likewise. | |
4e591bc1 | 563 | (elf64_alpha_relax_section): Only regenerate got+plt if the |
4a828aab RH |
564 | relax_trip counter has changed. |
565 | ||
91506736 DJ |
566 | 2007-04-09 Daniel Jacobowitz <dan@codesourcery.com> |
567 | ||
568 | * Makefile.am (bfdver.h): Do not generate doc/bfdver.texi. | |
569 | * doc/Makefile.am (DOCFILES): Add bfdver.texi. | |
570 | (bfdver.texi): New rule. | |
571 | * Makefile.in, doc/Makefile.in: Regenerated. | |
572 | ||
da6bcfca MT |
573 | 2007-04-03 Matt Thomas <matt@netbsd.org> |
574 | ||
4e591bc1 | 575 | * elf32-vax.c (elf_vax_relocate_section): Do not emit a PCREL reloc |
da6bcfca MT |
576 | in a shared object if it is not in a CODE section or if it is against |
577 | a section symbol. This allows DWARF2 to use pcrel format. | |
578 | ||
9267588c L |
579 | 2007-04-05 H.J. Lu <hongjiu.lu@intel.com> |
580 | ||
581 | PR ld/4304 | |
582 | * elflink.c (bfd_elf_final_link): Call einfo callback in | |
583 | bfd_link_info instead of _bfd_error_handler for DT_TEXTREL | |
584 | warning. | |
585 | ||
c1b2796f AM |
586 | 2007-04-05 Alan Modra <amodra@bigpond.net.au> |
587 | ||
588 | * elf32-spu.c (spu_elf_output_symbol_hook): New function. | |
589 | (elf_backend_link_output_symbol_hook): Define. | |
590 | ||
970ccc77 NC |
591 | 2007-04-02 Nick Clifton <nickc@redhat.com> |
592 | ||
593 | PR binutils/4292 | |
594 | * bfd.c (bfd_fprintf_vma): Do not print addresses of 32-bit | |
595 | targets as 64-bit values, even if running on a 64-bit host. | |
596 | * coffgen.c (coff_print_symbol): Likewise. | |
597 | ||
1783205a NC |
598 | 2007-03-29 Nick Clifton <nickc@redhat.com> |
599 | ||
600 | PR binutils/4110 | |
601 | * elf.c (IS_VALID_GROUP_SECTION_HEADER): New macro. | |
602 | (setup_group): Use it. Report corrupt group section headers. | |
603 | (bfd_section_from_shdr): Use new macro. Replace constant 4 with | |
604 | GRP_ENTRY_SIZE. Cope with NULLs in the group section table. | |
605 | (elf_fake_section): Replace constant 4 with GRP_ENTRY_SIZE. | |
606 | ||
2ce859a1 AM |
607 | 2007-03-29 Alan Modra <amodra@bigpond.net.au> |
608 | ||
609 | PR ld/4267 | |
947844a3 AM |
610 | * elflink.c (evaluate_complex_relocation_symbols): Use bfd_vma |
611 | for rel->r_info values. | |
612 | (bfd_elf_perform_complex_relocation): Likewise. | |
2ce859a1 AM |
613 | * elf32-ppc.c (allocate_dynrelocs): Set plt.offset to -1 for |
614 | unused entries. Don't clear plt.plist in loop. | |
615 | ||
39817122 RS |
616 | 2007-03-28 Richard Sandiford <richard@codesourcery.com> |
617 | ||
618 | * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Remove append_rela. | |
619 | * elfxx-sparc.c (sparc_elf_append_rela_64, sparc_elf_append_rela_32): | |
620 | Merge into... | |
621 | (sparc_elf_append_rela): ...this new function. | |
622 | (SPARC_ELF_APPEND_RELA): Delete. | |
623 | (_bfd_sparc_elf_link_hash_table_create): Don't initialize | |
624 | the deleted append_rela field. | |
625 | (_bfd_sparc_elf_relocate_section): Use sparc_elf_append_rela | |
626 | instead of SPARC_ELF_APPEND_RELA. | |
627 | (_bfd_sparc_elf_finish_dynamic_symbol): Likewise. Use the | |
628 | elf_size_info structure to find the size of a RELA entry and | |
629 | the associated swap-out function. | |
630 | (sparc64_finish_dyn, sparc64_finish_dyn): Merge into... | |
631 | (sparc_finish_dyn): ...this new function. | |
632 | (_bfd_sparc_elf_finish_dynamic_sections): Update calls accordingly. | |
633 | ||
4ecceb71 RS |
634 | 2007-03-28 Richard Sandiford <richard@codesourcery.com> |
635 | Phil Edwards <phil@codesourcery.com> | |
636 | ||
637 | * doc/bfd.texinfo: Put the contents after the title page rather | |
638 | than at the end of the document. | |
639 | ||
d4d2b80b AS |
640 | 2007-03-27 Andreas Schwab <schwab@suse.de> |
641 | ||
642 | * elfxx-ia64.c (elf_backend_default_execstack): Define to 0. | |
643 | ||
831480e9 | 644 | 2007-03-26 H.J. Lu <hongjiu.lu@intel.com> |
5bd8253d L |
645 | |
646 | * configure: Regenerated. | |
647 | ||
f4b39977 AM |
648 | 2007-03-26 Alan Modra <amodra@bigpond.net.au> |
649 | ||
650 | * elf32-spu.c (struct stubarr): Add stub_hash_table and err fields. | |
651 | (allocate_spuear_stubs): New function. | |
652 | (spu_elf_size_stubs): Call allocate_spuear_stubs. | |
653 | ||
157090f7 AM |
654 | 2007-03-26 Alan Modra <amodra@bigpond.net.au> |
655 | ||
656 | * aout-adobe.c (aout_32_bfd_reloc_name_lookup): Define. | |
657 | * aout-arm.c (MY_bfd_reloc_name_lookup): Define. | |
658 | (MY (bfd_reloc_name_lookup)): New function. | |
659 | * aout-ns32k.c (MY (bfd_reloc_name_lookup)): New function. | |
660 | * aout-target.h (NAME (aout, reloc_name_lookup)): Declare. | |
661 | (MY_bfd_reloc_name_lookup): Define. | |
662 | * aout-tic30.c (tic30_aout_reloc_name_lookup): New function. | |
663 | (MY_bfd_reloc_name_lookup): Define. | |
664 | * aoutx.h (NAME (aout, reloc_type_lookup)): Don't declare. | |
665 | (NAME (aout, reloc_name_lookup)): New function. | |
666 | * bout.c (b_out_bfd_reloc_name_lookup): New function. | |
667 | * coff-alpha.c (alpha_bfd_reloc_name_lookup): New function. | |
668 | (_bfd_ecoff_bfd_reloc_name_lookup): Define. | |
669 | * coff-arm.c (coff_arm_reloc_name_lookup): New function. | |
670 | (coff_bfd_reloc_name_lookup): Define. | |
671 | * coff-i386.c (coff_bfd_reloc_name_lookup): Define. | |
672 | (coff_i386_reloc_name_lookup): New function. | |
673 | * coff-i860.c (coff_i860_reloc_name_lookup): New function. | |
674 | (coff_bfd_reloc_name_lookup): Define. | |
675 | * coff-i960.c (coff_i960_reloc_name_lookup): New function. | |
676 | (coff_bfd_reloc_name_lookup): Define. | |
677 | * coff-m68k.c (m68k_reloc_name_lookup): New function. | |
678 | (coff_bfd_reloc_name_lookup): Define. | |
679 | * coff-maxq.c (maxq_reloc_name_lookup): New function. | |
680 | (coff_bfd_reloc_name_lookup): Define. | |
681 | * coff-mcore.c (mcore_coff_reloc_name_lookup): New function. | |
682 | (coff_bfd_reloc_name_lookup): Define. | |
683 | * coff-mips.c (mips_bfd_reloc_name_lookup): New function. | |
684 | (_bfd_ecoff_bfd_reloc_name_lookup): Define. | |
685 | * coff-ppc.c (ppc_coff_reloc_name_lookup): New function. | |
686 | (coff_bfd_reloc_name_lookup): Define. | |
687 | * coff-rs6000.c (coff_bfd_reloc_name_lookup): Define. | |
688 | (_bfd_xcoff_reloc_name_lookup): New function. | |
689 | (rs6000coff_vec, pmac_xcoff_vec): Init new field. | |
690 | * coff-sh.c (coff_bfd_reloc_name_lookup): Define. | |
691 | (sh_coff_reloc_name_lookup): New function. | |
692 | * coff-sparc.c (coff_sparc_reloc_name_lookup): New function. | |
693 | (coff_bfd_reloc_name_lookup): Define. | |
694 | * coff-tic30.c (coff_bfd_reloc_name_lookup): Define. | |
695 | (tic30_coff_reloc_name_lookup): New function. | |
696 | * coff-tic4x.c (coff_bfd_reloc_name_lookup): Define. | |
697 | (tic4x_coff_reloc_name_lookup): New function. | |
698 | * coff-tic54x.c (coff_bfd_reloc_name_lookup): Define. | |
699 | (tic54x_coff_reloc_name_lookup): New function. | |
700 | * coff-x86_64.c (coff_bfd_reloc_name_lookup): Define. | |
701 | (coff_amd64_reloc_name_lookup): New function. | |
702 | * coff-z80.c (coff_z80_reloc_name_lookup): New function. | |
703 | (coff_bfd_reloc_name_lookup): Define. | |
704 | * coff-z8k.c (coff_z8k_reloc_name_lookup): New function. | |
705 | (coff_bfd_reloc_name_lookup): Define. | |
706 | * coff64-rs6000.c (coff_bfd_reloc_name_lookup): Define. | |
707 | (xcoff64_reloc_name_lookup): New function. | |
708 | (rs6000coff64_vec, aix5coff64_vec): Init new field. | |
709 | * coffcode.h (coff_bfd_reloc_name_lookup): Define. | |
710 | * elf-hppa.h (elf_hppa_reloc_name_lookup): New function. | |
711 | * elf-m10200.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
712 | * elf-m10300.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
713 | * elf32-arc.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
714 | * elf32-arm.c (elf32_arm_reloc_name_lookup): New function. | |
715 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
716 | * elf32-avr.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
717 | * elf32-bfin.c (bfin_bfd_reloc_name_lookup): New function. | |
718 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
719 | * elf32-cr16c.c (elf_cr16c_reloc_name_lookup): New function. | |
720 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
721 | * elf32-cris.c (cris_reloc_name_lookup): New function. | |
722 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
723 | * elf32-crx.c (elf_crx_reloc_name_lookup): New function. | |
724 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
725 | * elf32-d10v.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
726 | * elf32-d30v.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
727 | * elf32-dlx.c (elf32_dlx_reloc_name_lookup): New function. | |
728 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
729 | * elf32-fr30.c (fr30_reloc_name_lookup): New function. | |
730 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
731 | * elf32-frv.c (frv_reloc_name_lookup): New function. | |
732 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
733 | * elf32-gen.c (bfd_elf32_bfd_reloc_name_lookup): Define. | |
734 | * elf32-h8300.c (elf32_h8_reloc_name_lookup): New function. | |
735 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
736 | * elf32-hppa.c (bfd_elf32_bfd_reloc_name_lookup): Define. | |
737 | * elf32-i370.c (i370_elf_reloc_name_lookup): New function. | |
738 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
739 | * elf32-i386.c (elf_i386_reloc_name_lookup): New function. | |
740 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
741 | * elf32-i860.c (elf32_i860_reloc_name_lookup): New function. | |
742 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
743 | * elf32-i960.c (elf32_i960_reloc_name_lookup): New function. | |
744 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
745 | * elf32-ip2k.c (ip2k_reloc_name_lookup): New function. | |
746 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
747 | * elf32-iq2000.c (iq2000_reloc_name_lookup): New function. | |
748 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
749 | * elf32-m32c.c (m32c_reloc_name_lookup): New function. | |
750 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
751 | * elf32-m32r.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
752 | * elf32-m68hc11.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
753 | * elf32-m68hc12.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
754 | * elf32-m68k.c (reloc_name_lookup): New function. | |
755 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
756 | * elf32-m88k.c (bfd_elf32_bfd_reloc_name_lookup): Define. | |
757 | * elf32-mcore.c (mcore_elf_reloc_name_lookup): New function. | |
758 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
759 | * elf32-mep.c (mep_reloc_name_lookup): New function. | |
760 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
761 | * elf32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
762 | (mips_vxworks_bfd_reloc_name_lookup): Likewise. | |
763 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
764 | * elf32-msp430.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
765 | * elf32-mt.c (mt_reloc_name_lookup): New function. | |
766 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
767 | * elf32-openrisc.c (openrisc_reloc_name_lookup): New function. | |
768 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
769 | * elf32-or32.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
770 | * elf32-pj.c (pj_elf_reloc_name_lookup): New function. | |
771 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
772 | * elf32-ppc.c (ppc_elf_reloc_name_lookup): New function. | |
773 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
774 | * elf32-s390.c (elf_s390_reloc_name_lookup): New function. | |
775 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
776 | * elf32-score.c (elf32_score_reloc_name_lookup): New function. | |
777 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
778 | * elf32-sh.c (sh_elf_reloc_name_lookup): New function. | |
779 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
780 | * elf32-sparc.c (bfd_elf32_bfd_reloc_name_lookup): Define. | |
781 | * elf32-spu.c (spu_elf_reloc_name_lookup): New function. | |
782 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
783 | * elf32-v850.c (v850_elf_reloc_name_lookup): New function. | |
784 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
785 | * elf32-vax.c (reloc_name_lookup): New function. | |
786 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
787 | * elf32-xc16x.c (xc16x_reloc_name_lookup): New function. | |
788 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
789 | * elf32-xstormy16.c (xstormy16_reloc_name_lookup): New function. | |
790 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
791 | * elf32-xtensa.c (elf_xtensa_reloc_name_lookup): New function. | |
792 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
793 | * elf64-alpha.c (elf64_alpha_bfd_reloc_name_lookup): New function. | |
794 | (bfd_elf64_bfd_reloc_name_lookup): Define. | |
795 | * elf64-gen.c (bfd_elf64_bfd_reloc_name_lookup): Define. | |
796 | * elf64-hppa.c (bfd_elf64_bfd_reloc_name_lookup): Define. | |
797 | * elf64-mips.c (bfd_elf64_bfd_reloc_name_lookup): New function. | |
798 | * elf64-mmix.c (bfd_elf64_bfd_reloc_name_lookup): New function. | |
799 | * elf64-ppc.c (ppc64_elf_reloc_name_lookup): New function. | |
800 | (bfd_elf64_bfd_reloc_name_lookup): Define. | |
801 | * elf64-s390.c (elf_s390_reloc_name_lookup): New function. | |
802 | (bfd_elf64_bfd_reloc_name_lookup): Define. | |
803 | * elf64-sh64.c (sh_elf64_reloc_name_lookup): New function. | |
804 | (bfd_elf64_bfd_reloc_name_lookup): Define. | |
805 | * elf64-sparc.c (bfd_elf64_bfd_reloc_name_lookup): Define. | |
806 | * elf64-x86-64.c (elf64_x86_64_reloc_name_lookup): New function. | |
807 | (bfd_elf64_bfd_reloc_name_lookup): Define. | |
808 | * elfn32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
809 | * elfxx-ia64.c (elfNN_ia64_reloc_name_lookup): New function. | |
810 | (bfd_elfNN_bfd_reloc_name_lookup): Define. | |
811 | * elfxx-sparc.c (_bfd_sparc_elf_reloc_name_lookup): New function. | |
812 | * elfxx-sparc.h (_bfd_sparc_elf_reloc_name_lookup): Declare. | |
813 | * i386msdos.c (msdos_bfd_reloc_name_lookup): Define. | |
814 | * i386os9k.c (aout_32_bfd_reloc_name_lookup): Define. | |
815 | * ieee.c (ieee_bfd_reloc_name_lookup): Define. | |
816 | * libaout.h (NAME (aout, reloc_name_lookup)): Declare. | |
817 | * libbfd-in.h (_bfd_norelocs_bfd_reloc_name_lookup): Declare. | |
818 | * mipsbsd.c (MY_bfd_reloc_name_lookup): Define. | |
819 | (MY(reloc_type_lookup)): Rename from MY(reloc_howto_type_lookup). | |
820 | (MY(reloc_name_lookup)): New function. | |
821 | * nlm-target.h (nlm_bfd_reloc_name_lookup): Define. | |
822 | * oasys.c (oasys_bfd_reloc_name_lookup): Define. | |
823 | * pdp11.c (NAME (aout, reloc_name_lookup)): New function. | |
824 | * pe-mips.c (coff_mips_reloc_name_lookup): New function. | |
825 | (coff_bfd_reloc_name_lookup): Define. | |
826 | * reloc.c (bfd_reloc_name_lookup): New function. | |
827 | * riscix.c (riscix_reloc_name_lookup): New function. | |
828 | (MY_bfd_reloc_name_lookup): Define. | |
829 | * som.c (som_bfd_reloc_name_lookup): New function. | |
830 | * targets.c (struct bfd_target): Add reloc_name_lookup. | |
831 | (BFD_JUMP_TABLE_RELOCS): Add NAME##_bfd_reloc_name_lookup. | |
832 | * versados.c (versados_bfd_reloc_name_lookup): Define. | |
833 | * vms.c (vms_bfd_reloc_name_lookup): New function. | |
834 | * bfd-in2.h: Regenerate. | |
835 | * libbfd.h: Regenerate. | |
836 | ||
2d82d84d TS |
837 | 2007-03-26 Thiemo Seufer <ths@mips.com> |
838 | ||
a5cb1fd7 | 839 | PR ld/4208 |
2d82d84d TS |
840 | * elfxx-mips.c (mips_elf_next_relocation): Don't signal an error if no |
841 | matching relocation is found. | |
842 | (_bfd_mips_elf_relocate_section): Only warn about missing relocations. | |
843 | ||
831480e9 | 844 | 2007-03-23 H.J. Lu <hongjiu.lu@intel.com> |
1a27db7d L |
845 | |
846 | * configure: Regenerated. | |
847 | ||
a1ac8190 JM |
848 | 2007-03-23 Joseph Myers <joseph@codesourcery.com> |
849 | ||
850 | * configure.in: Use ACX_PKGVERSION and ACX_BUGURL. | |
851 | * configure: Regenerate. | |
852 | ||
aa7a0635 AM |
853 | 2007-03-23 Alan Modra <amodra@bigpond.net.au> |
854 | ||
855 | * elf32-spu.c (spu_stub_name): Don't put input section in stub name. | |
856 | Remove input_sec param. Adjust all calls. | |
857 | (write_one_stub): Adjust stub symbol. | |
858 | (needs_ovl_stub): New function, extracted from.. | |
859 | (spu_elf_size_stubs): ..here. | |
860 | (spu_elf_relocate_section): Use needs_ovl_stub. | |
861 | ||
e49e529d JM |
862 | 2007-03-22 Joseph Myers <joseph@codesourcery.com> |
863 | ||
864 | * Makefile.am (bfdver.h): Only set VERSION_PACKAGE in bfdver.texi | |
865 | if nonempty. | |
866 | * configure.in (REPORT_BUGS_TO): Do not use "URL:" prefix. | |
867 | * Makefile.in, configure, doc/Makefile.in: Regenerate. | |
868 | ||
831480e9 | 869 | 2007-03-22 H.J. Lu <hongjiu.lu@intel.com> |
50572669 L |
870 | |
871 | PR ld/4210 | |
872 | * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the virtual | |
873 | address and virtual size of the last section for the image | |
874 | size. | |
875 | ||
0920dee7 L |
876 | 2007-03-22 H.J. Lu <hongjiu.lu@intel.com> |
877 | ||
878 | PR ld/4007 | |
879 | * elf.c (assign_file_positions_for_load_sections): Check if | |
880 | all sections are in the segment. | |
881 | ||
831480e9 | 882 | 2007-03-20 H.J. Lu <hongjiu.lu@intel.com> |
749b8d9d L |
883 | |
884 | PR ld/4208 | |
885 | * elfxx-mips.c (_bfd_mips_elf_relocate_section): Report missing | |
886 | matching LO16 relocation for HI16 relocation. | |
887 | ||
27e55c4d PB |
888 | 2007-03-20 Paul Brook <paul@codesourcery.com> |
889 | ||
890 | * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. | |
891 | * bfd-in2.h: Regenerate. | |
892 | * elf32-arm.c (elf32_arm_link_hash_table): Add pic_veneer. | |
893 | (record_arm_to_thumb_glue): Use globals->pic_veneer. | |
894 | (elf32_arm_create_thumb_stub): Ditto. | |
895 | (bfd_elf32_arm_set_target_relocs): Set globals->pic_veneer. | |
896 | ||
bf21ed78 MS |
897 | 2007-03-18 Mark Shinwell <shinwell@codesourcery.com> |
898 | ||
899 | * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add "bfd *" | |
900 | argument and extra last argument. | |
901 | * bfd-in2.h: Regenerate. | |
902 | * elf32-arm.c (elf32_arm_obj_tdata): Add no_enum_size_warning | |
903 | member. | |
904 | (bfd_elf32_arm_set_target_relocs): Add "bfd *" argument and | |
905 | extra last argument. Set no_enum_size_warning appropriately. | |
906 | (elf32_arm_merge_eabi_attributes): Improve enum sizes | |
907 | diagnostic, suppressing it when no_enum_size_warning dictates. | |
908 | ||
5f6999aa NC |
909 | 2007-03-20 Nick Clifton <nickc@redhat.com> |
910 | ||
911 | PR binutils/3535 | |
912 | * elf.c (copy_private_bfd_data): Widen the scope of Solaris | |
913 | specific conditions that need the program headers to be | |
914 | rewritten. | |
915 | ||
831480e9 | 916 | 2007-03-19 H.J. Lu <hongjiu.lu@intel.com> |
d13c9dc6 L |
917 | |
918 | * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Store Magic, | |
919 | MajorLinkerVersion, MinorLinkerVersion, SizeOfCode, | |
920 | SizeOfInitializedData, SizeOfUninitializedData, | |
921 | AddressOfEntryPoint, BaseOfCode and BaseOfData in internal | |
922 | extra PE a.out header. | |
923 | (IMAGE_NT_OPTIONAL_HDR_MAGIC): Defined as 0x10b if not defined. | |
924 | (IMAGE_NT_OPTIONAL_HDR64_MAGIC): Defined as 0x20b if not | |
925 | defined. | |
926 | (IMAGE_NT_OPTIONAL_HDRROM_MAGIC): Defined as 0x107 if not | |
927 | defined. | |
928 | (_bfd_XX_print_private_bfd_data_common): Also print Magic, | |
929 | MajorLinkerVersion, MinorLinkerVersion, SizeOfCode, | |
930 | SizeOfInitializedData, SizeOfUninitializedData, | |
931 | AddressOfEntryPoint, BaseOfCode and BaseOfData from internal | |
932 | extra PE a.out header. | |
933 | ||
831480e9 | 934 | 2007-03-18 H.J. Lu <hongjiu.lu@intel.com> |
739bb57e L |
935 | |
936 | * targets.c (_bfd_target_vector): Add bfd_efi_app_x86_64_vec | |
937 | only if BFD64 is defined. | |
938 | ||
5384511f AM |
939 | 2007-03-17 Alan Modra <amodra@bigpond.net.au> |
940 | ||
941 | * elf32-spu.c (spu_elf_size_stubs): Always use an overlay stub | |
942 | on setjmp calls. | |
943 | ||
187b3d5d L |
944 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
945 | ||
946 | * doc/Makefile.in: Regenerated. | |
947 | ||
c428fa83 L |
948 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
949 | ||
950 | * Makefile.am (bfdver.h): Substitute report_bugs_to. Also | |
951 | create doc/bfdver.texi. | |
952 | * Makefile.in: Regenerated. | |
953 | ||
954 | * configure.in (--with-bugurl): New option. | |
955 | * configure: Regenerated. | |
956 | ||
957 | * version.h (REPORT_BUGS_TO): New. | |
958 | ||
d1036acb L |
959 | 2007-03-13 H.J. Lu <hongjiu.lu@intel.com> |
960 | ||
961 | PR binutils/3826 | |
962 | * elf-bfd.h (elf_backend_data): Add elf_osabi. | |
963 | (_bfd_elf_set_osabi): New. | |
964 | ||
965 | * elf.c (_bfd_elf_set_osabi): New. | |
966 | ||
967 | * elf32-hppa.c (elf32_hppa_post_process_headers): Removed. | |
968 | (elf_backend_post_process_headers): Defined with | |
969 | _bfd_elf_set_osabi. | |
970 | (ELF_OSABI): Properly defined for each target. | |
971 | ||
972 | * elf32-i370.c (i370_elf_post_process_headers): Removed. | |
973 | (ELF_OSABI): Defined. | |
974 | (elf_backend_post_process_headers): Defined with | |
975 | _bfd_elf_set_osabi. | |
976 | ||
977 | * elf32-i386.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for | |
978 | freebsd. | |
979 | (elf_i386_post_process_headers): Set EI_OSABI with elf_osabi. | |
980 | ||
981 | * elf32-msp430.c (elf32_msp430_post_process_headers): Removed. | |
982 | (ELF_OSABI): Defined. | |
983 | (elf_backend_post_process_headers): Defined with | |
984 | _bfd_elf_set_osabi. | |
985 | ||
986 | * elf64-alpha.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for | |
987 | freebsd. | |
988 | (elf64_alpha_fbsd_post_process_headers): Set EI_OSABI with | |
989 | elf_osabi. | |
990 | ||
991 | * elf64-hppa.c (elf64_hppa_post_process_headers): Set EI_OSABI | |
992 | with elf_osabi. | |
993 | (ELF_OSABI): Properly defined for each target. | |
994 | (elf_backend_post_process_headers): Defined with | |
995 | _bfd_elf_set_osabi for Linux. | |
996 | ||
997 | * elf64-sparc.c (elf64_sparc_fbsd_post_process_headers): Removed. | |
998 | (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd. | |
999 | (elf_backend_post_process_headers): Defined with | |
1000 | _bfd_elf_set_osabi. | |
1001 | ||
1002 | * elf64-x86-64.c (elf64_x86_64_fbsd_post_process_headers): Removed. | |
1003 | (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd. | |
1004 | (elf_backend_post_process_headers): Defined with | |
1005 | _bfd_elf_set_osabi. | |
1006 | ||
1007 | * elfcode.h (elf_object_p): Match the ELFOSABI_NONE ELF target | |
1008 | with any ELF target of the compatible machine for which we do not | |
1009 | have a specific backend. | |
1010 | ||
1011 | * elfxx-ia64.c (elfNN_hpux_post_process_headers): Set EI_OSABI | |
1012 | with elf_osabi. | |
1013 | ||
1014 | * elfxx-target.h (ELF_OSABI): Default to ELFOSABI_NONE. | |
1015 | (elfNN_bed): Initialize elf_osabi with ELF_OSABI. | |
1016 | ||
d4c87fc1 AM |
1017 | 2007-03-08 Alan Modra <amodra@bigpond.net.au> |
1018 | ||
1019 | * elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out | |
1020 | V850_OTHER_* bits. | |
1021 | ||
9c6fc49d AM |
1022 | 2007-03-08 Alan Modra <amodra@bigpond.net.au> |
1023 | ||
1024 | * Makefile.am (BFD64_BACKENDS): Add efi-app-x86_64.lo. | |
1025 | (BFD64_BACKENDS_CFILES): Add efi-app-x86_64.c. | |
1026 | Run "make dep-am". | |
1027 | * Makefile.in: Regenerate. | |
1028 | * po/SRC-POTFILES.in: Regenerate. | |
1029 | ||
faed74d6 L |
1030 | 2007-03-07 H.J. Lu <hongjiu.lu@intel.com> |
1031 | ||
1032 | * config.bfd (x86_64-*-freebsd*): Add bfd_efi_app_x86_64_vec. | |
1033 | (x86_64-*-kfreebsd*-gnu): Likewise. | |
1034 | (x86_64-*-netbsd*): Likewise. | |
1035 | (x86_64-*-openbsd*): Likewise. | |
1036 | (x86_64-*-linux-*): Likewise. | |
1037 | ||
1038 | * configure.in: Support bfd_efi_app_x86_64_vec. | |
1039 | * configure: Regenerated. | |
1040 | ||
1041 | * efi-app-x86_64.c: New file. | |
1042 | ||
1043 | * targets.c (bfd_efi_app_x86_64_vec): New. | |
1044 | (_bfd_target_vector): Add bfd_efi_app_x86_64_vec. | |
1045 | ||
15344ad7 L |
1046 | 2007-03-07 Kai Tietz <kai.tietz@onevision.com> |
1047 | ||
1048 | * reloc.c (bfd_generic_get_relocated_section_contents): Remove | |
1049 | const for type reloc_howto_type. | |
1050 | ||
ab96bf03 AM |
1051 | 2007-03-07 Alan Modra <amodra@bigpond.net.au> |
1052 | ||
1053 | PR 3958 | |
1054 | * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): No error on relocatable link. | |
1055 | (elf_discarded_section): Move.. | |
1056 | * bfd-in.h: ..to here. | |
1057 | * bfd-in2.h: Regenerate. | |
1058 | * elflink.c (elf_link_input_bfd): Don't zap relocs against symbols | |
1059 | from discarded sections before relocate_section has done its job. | |
1060 | * reloc.c (bfd_generic_get_relocated_section_contents): Handle | |
1061 | relocs against symbols from discarded sections. | |
1062 | * elf-hppa.h (elf_hppa_howto_table): Set size. Set dst_mask on | |
1063 | SECREL32. | |
1064 | (elf_hppa_relocate_section): Handle relocatable link after setting | |
1065 | sec, sym, h etc. for final link. Squash error messages for | |
1066 | relocatable link. Clear section contents for relocs against | |
1067 | symbols in discarded sections, and zero reloc. Remove existing | |
1068 | zero r_symndx code. | |
1069 | * elf-m10200.c (mn10200_elf_relocate_section): Likewise. | |
1070 | * elf-m10300.c (mn10300_elf_relocate_section): Likewise. | |
1071 | * elf32-arm.c (elf32_arm_relocate_section): Likewise. | |
1072 | * elf32-avr.c (elf32_avr_relocate_section): Likewise. | |
1073 | * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. | |
1074 | (bfin_relocate_section): Likewise. | |
1075 | * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. | |
1076 | * elf32-cris.c (cris_elf_relocate_section): Likewise. | |
1077 | * elf32-crx.c (elf32_crx_relocate_section): Likewise. | |
1078 | * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. | |
1079 | * elf32-fr30.c (fr30_elf_relocate_section): Likewise. | |
1080 | * elf32-frv.c (elf32_frv_relocate_section): Likewise. | |
1081 | * elf32-h8300.c (elf32_h8_relocate_section): Likewise. | |
1082 | * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. | |
1083 | * elf32-i370.c (i370_elf_relocate_section): Likewise. | |
1084 | * elf32-i386.c (elf_i386_relocate_section): Likewise. | |
1085 | * elf32-i860.c (elf32_i860_relocate_section): Likewise. | |
1086 | * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. | |
1087 | * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. | |
1088 | * elf32-m32c.c (m32c_elf_relocate_section): Likewise. | |
1089 | * elf32-m32r.c (m32r_elf_relocate_section): Likewise. | |
1090 | * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. | |
1091 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
1092 | * elf32-mcore.c (mcore_elf_relocate_section): Likewise. | |
1093 | * elf32-mep.c (mep_elf_relocate_section): Likewise. | |
1094 | * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. | |
1095 | * elf32-mt.c (mt_elf_relocate_section): Likewise. | |
1096 | * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. | |
1097 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
1098 | * elf32-s390.c (elf_s390_relocate_section): Likewise. | |
1099 | * elf32-score.c (_bfd_score_elf_relocate_section): Likewise. | |
1100 | * elf32-sh.c (sh_elf_relocate_section): Likewise. | |
1101 | * elf32-spu.c (spu_elf_relocate_section): Likewise. | |
1102 | * elf32-v850.c (v850_elf_relocate_section): Likewise. | |
1103 | * elf32-vax.c (elf_vax_relocate_section): Likewise. | |
1104 | * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. | |
1105 | * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. | |
1106 | * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. | |
1107 | * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise. | |
1108 | (elf64_alpha_relocate_section): Likewise. | |
1109 | * elf64-mmix.c (mmix_elf_relocate_section): Likewise. | |
1110 | * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. | |
1111 | * elf64-s390.c (elf_s390_relocate_section): Likewise. | |
1112 | * elf64-sh64.c (sh_elf64_relocate_section): Likewise. | |
1113 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. | |
1114 | * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. | |
1115 | * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. | |
1116 | * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. | |
1117 | ||
1118 | * elf32-arm.c (elf32_arm_relocate_section): Always adjust section | |
1119 | symbols for relocatable link. Don't use always-zero st_value. | |
1120 | (elf_backend_rela_normal): Don't define. | |
1121 | * elf32-bfin.c (bfinfdpic_relocate_section): Use | |
1122 | RELOC_FOR_GLOBAL_SYMBOL. | |
1123 | * elf32-frv.c (elf32_frv_relocate_section): Likewise. | |
1124 | * elf32-d10v.c (elf32_d10v_relocate_section): Combine SEC_MERGE | |
1125 | section symbol adjustments with same for relocatable link. | |
1126 | * elf32-i386.c (elf_i386_relocate_section): Likewise. | |
1127 | * elf32-m68hc1x.c (m68hc11_get_relocation_value): Move.. | |
1128 | (elf32_m68hc11_check_relocs): ..to here. | |
1129 | * elf32-score.c (score_elf_final_link_relocate): Remove zero | |
1130 | r_symndx code. | |
1131 | * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. | |
1132 | ||
0e922b77 AM |
1133 | 2007-03-07 Alan Modra <amodra@bigpond.net.au> |
1134 | ||
1135 | PR 4144 | |
1136 | * elf.c (assign_file_positions_for_load_sections): Don't | |
1137 | adjust p_memsz for !SEC_LOAD section vma modulo page size. | |
1138 | Instead, use the same lma based adjustment for SEC_LOAD | |
1139 | sections. | |
1140 | ||
25c6282a BW |
1141 | 2007-03-01 Bob Wilson <bob.wilson@acm.org> |
1142 | ||
1143 | * elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing. | |
1144 | (find_relaxable_sections): Do not increment src_count for unknown | |
1145 | opcodes. Decode only once instead of calling is_l32r_relocation. | |
1146 | (compute_text_actions): Remove unused no_insn_move flag. Assert that | |
1147 | src_next matches src_count in relax_info. | |
1148 | ||
066c2a57 JM |
1149 | 2007-03-01 Joseph Myers <joseph@codesourcery.com> |
1150 | ||
1151 | * Makefile.am (bfdver.h): Use "." not " " between version number | |
1152 | and date. | |
1153 | * Makefile.in: Regenerate. | |
1154 | * configure.in (PKGVERSION): Default to "(GNU Binutils) ". | |
1155 | * configure: Regenerate. | |
1156 | ||
ed6ba298 NS |
1157 | 2007-02-28 Nathan Sidwell <nathan@codesourcery.com> |
1158 | ||
1159 | * config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza. | |
1160 | ||
7a8757b3 AM |
1161 | 2007-02-27 Alan Modra <amodra@bigpond.net.au> |
1162 | ||
1163 | * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const. | |
1164 | * elf32-spu.c (ovl_mgr_pread): Add const to casts. | |
1165 | ||
024b2372 CD |
1166 | 2007-02-23 Carlos O'Donell <carlos@codesourcery.com> |
1167 | ||
1168 | * dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit | |
1169 | DWARF even with 64-bit addresses. | |
1170 | (_bfd_dwarf2_find_nearest_line): Likewise. | |
1171 | ||
cb3ff1e5 NC |
1172 | 2007-02-23 Nick Clifton <nickc@redhat.com> |
1173 | ||
1174 | PR binutils/3535 | |
1175 | * elf.c (copy_private_bfd_data): Always rewrite the program | |
1176 | headers when a Solaris interpreter segment is involved. | |
1177 | ||
6a5bb875 PB |
1178 | 2007-02-22 Paul Brook <paul@codesourcery.com> |
1179 | ||
1180 | * elflink.c (gc_mark_hook_fn): Remove. | |
1181 | (_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn. | |
1182 | (bfd_elf_gc_sections): Ditto. Call gc_mark_extra_sections. | |
1183 | * elf-bfd.h (elf_gc_mark_hook_fn): Define. | |
1184 | (elf_backend_data): Add gc_mark_extra_sections. | |
1185 | * elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default | |
1186 | definition. | |
1187 | (elfNN_bed): Add elf_backend_gc_mark_extra_sections. | |
1188 | * elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function. | |
1189 | (elf_backend_gc_mark_extra_sections): Define. | |
1190 | ||
2889e75b NC |
1191 | 2007-02-21 Nick Clifton <nickc@redhat.com> |
1192 | ||
1193 | * elf.c (_bfd_elf_map_sections_to_segments): If the | |
1194 | override_segment_assignment callback is defined then call it. | |
1195 | ||
78859468 AM |
1196 | 2007-02-21 Alan Modra <amodra@bigpond.net.au> |
1197 | ||
1198 | * elf32-spu.c (spu_elf_size_stubs): Correct order of warning args. | |
1199 | ||
ae0d2616 TS |
1200 | 2007-02-19 Thiemo Seufer <ths@mips.com> |
1201 | ||
1202 | * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove | |
1203 | translation marker from untranslatable strings. | |
1204 | ||
6bfdb61b AM |
1205 | 2007-02-19 Alan Modra <amodra@bigpond.net.au> |
1206 | ||
1207 | * elf-bfd.h (struct elf_backend_data): Add default_execstack. | |
1208 | * elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack. | |
1209 | * elfxx-target.h (elf_backend_default_execstack): Define to 1. | |
1210 | (elfNN_bed): Init new field. | |
1211 | * elf64-ppc.c (elf_backend_default_execstack): Define to 0. | |
1212 | ||
92f01d61 JM |
1213 | 2007-02-17 Mark Mitchell <mark@codesourcery.com> |
1214 | Nathan Sidwell <nathan@codesourcery.com> | |
1215 | Vladimir Prus <vladimir@codesourcery.com | |
1216 | Joseph Myers <joseph@codesourcery.com> | |
1217 | ||
1218 | * configure.in (--with-pkgversion): New option. | |
1219 | * configure: Regenerate. | |
1220 | * Makefile.am (bfdver.h): Substitute for @bfd_version_package@. | |
1221 | * Makefile.in: Regenerate. | |
1222 | * version.h (BFD_VERSION_STRING): Define using | |
1223 | @bfd_version_package@. | |
1224 | ||
c0e3f241 CD |
1225 | 2007-02-16 Carlos O'Donell <carlos@codesourcery.com> |
1226 | ||
1227 | * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): | |
1228 | Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT | |
1229 | and EF_MIPS_UCODE. | |
1230 | ||
72f6ea61 AM |
1231 | 2007-02-15 Alan Modra <amodra@bigpond.net.au> |
1232 | ||
1233 | * libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define, | |
1234 | declare. | |
1235 | (_bfd_norelocs_canonicalize_reloc): Likewise. | |
1236 | * libbfd.h: Regenerate. | |
1237 | * libbfd.c (_bfd_norelocs_get_reloc_upper_bound): New function. | |
1238 | (_bfd_norelocs_canonicalize_reloc): Likewise. | |
1239 | * binary.c (binary_bfd_reloc_type_lookup): Don't define. | |
1240 | (binary_get_reloc_upper_bound, binary_canonicalize_reloc): Likewise. | |
1241 | (binary_vec): Use _bfd_norelocs in BFD_JUMP_TABLE_RELOCS. | |
1242 | * ihex.c: Similarly. | |
1243 | * mach-o-target.c: Similarly. | |
1244 | * mach-o.c: Similarly. | |
1245 | * mmo.c: Similarly. | |
1246 | * pef.c: Similarly. | |
1247 | * ppcboot.c: Similarly. | |
1248 | * srec.c: Similarly. | |
1249 | * xsym.c: Similarly. | |
1250 | ||
fab4a87f L |
1251 | 2007-02-14 H.J. Lu <hongjiu.lu@intel.com> |
1252 | ||
1253 | PR ld/3953 | |
1254 | * elflink.c (_bfd_elf_add_default_symbol): Check warning symbol | |
1255 | when adding default symbol. | |
1256 | ||
e4e0193e AM |
1257 | 2007-02-13 Alan Modra <amodra@bigpond.net.au> |
1258 | ||
1259 | * elf64-ppc.c (create_linkage_sections): Use section ".branch_lt" | |
1260 | for branch lookup table. | |
1261 | ||
84f5d08e AM |
1262 | 2007-02-12 Alan Modra <amodra@bigpond.net.au> |
1263 | ||
1264 | * elf64-ppc.c (create_linkage_sections): Don't create | |
1265 | .rela.rodata.brlt for --emit-relocs. | |
1266 | (ppc_build_one_stub): Create relocs for brlt --emit-relocs here. | |
1267 | (ppc_size_one_stub): Count them. Simplify test of stub type | |
1268 | when counting stub relocs. Set SEC_RELOC too. | |
1269 | (ppc64_elf_size_stubs): Clear reloc_count and SEC_RELOC. | |
1270 | (ppc64_elf_finish_dynamic_sections): Output brlt relocs. | |
1271 | ||
4aac632e AM |
1272 | 2007-02-12 Alan Modra <amodra@bigpond.net.au> |
1273 | ||
1274 | * elflink.c (evaluate_complex_relocation_symbols): Ignore relocs | |
1275 | with a zero symbol index. | |
1276 | ||
8da3dbc5 AM |
1277 | 2007-02-12 Alan Modra <amodra@bigpond.net.au> |
1278 | ||
1279 | * elflink.c (bfd_elf_discard_info): Tidy setting of "eh". | |
1280 | ||
b31847af DB |
1281 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
1282 | Stan Cox <scox@redhat.com> | |
1283 | ||
1284 | PR ld/3972 | |
1285 | * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms. | |
1286 | ||
722b0ff7 | 1287 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
e382d174 DB |
1288 | Richard Sandiford <rsandifo@redhat.com> |
1289 | Stan Cox <scox@redhat.com> | |
1290 | Nick Clifton <nickc@redhat.com> | |
1291 | DJ Delorie <dj@redhat.com> | |
1292 | Frank Ch. Eigler <fche@redhat.com> | |
1293 | Ben Elliston <bje@redhat.com> | |
1294 | Richard Henderson <rth@redhat.com> | |
1295 | ||
1296 | * Makefile.am (ALL_MACHINES): Add cpu-mep.lo. | |
1297 | (ALL_MACHINES_CFILES): Add CPU_MEP.c. | |
1298 | (BFD32_BACKENDS): Add elf32-mep.lo. | |
1299 | (BFD32_BACKENDS_CFILES): Add elf32-mep.c. | |
1300 | (cpu-mep.lo,elf32-mep.lo): New targets. | |
1301 | * archures.c (bfd_arch_mep): New enumerator. | |
1302 | (bfd_mach_mep, bfd_mach_mep_h1): New macros. | |
1303 | (bfd_mep_arch): New external variable. | |
1304 | (bfd_archures_list): Add bfd_mep_arch. | |
1305 | * config.bfd: Support mep-*-elf. | |
1306 | * configure.in: Support bfd_elf32_mep_vec and bfd_elf32_mep_little_vec. | |
1307 | * reloc.c (BFD_RELOC_MEP_*): New relocation numbers. | |
1308 | * targets.c (bfd_elf32_mep_vec,bfd_elf32_mep_little_vec): New extern | |
1309 | declarations. | |
1310 | (_bfd_target_vector): Add bfd_elf32_mep_vec and | |
1311 | bfd_elf32_mep_little_vec. | |
722b0ff7 DB |
1312 | * mep-relocs.pl: New file. |
1313 | * cpu-mep.c: New file. | |
1314 | * elf32-mep.c: New file. | |
1315 | * bfd-in2.h: Regenerate. | |
e382d174 | 1316 | * po/POTFILES.in: Regenerate. |
722b0ff7 DB |
1317 | * libbfd.h: Regenerate. |
1318 | * Makefile.in: Regenerate. | |
1319 | * configure: Regenerate. | |
1320 | ||
d9352518 DB |
1321 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
1322 | ||
1323 | * elflink.c (evaluate_complex_relocation_symbols): Check for | |
1324 | STT_SRELC for global symbols. | |
1325 | (perform_complex_relocations): Renamed to | |
1326 | perform_complex_relocation and now examines only one relocation. | |
1327 | (elf_link_input_bfd): Don't call perform_complex_relocations. | |
74e880a7 | 1328 | * elf-bfd.h (bfd_elf_perform_complex_relocation_: New prototype. |
d9352518 DB |
1329 | * elf32-mep.c (mep_elf_howto_table): Add R_RELC. |
1330 | (OD,OS,OU): #undefs corrected to N, S and U repectively. | |
1331 | (mep_reloc_type_lookup): Handle BFD_RELOC_RELC. | |
1332 | (complex_reloc_installation_howto): Removed. | |
1333 | (mep_info_to_howto_rela): Remove special case for r_type==0xff. | |
1334 | (mep_elf_relocate_section): Call bfd_elf_perform_complex_relocation. | |
1335 | ||
d9352518 | 1336 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
e382d174 DB |
1337 | Richard Sandiford <rsandifo@redhat.com> |
1338 | DJ Delorie <dj@redhat.com> | |
1339 | Graydon Hoare <graydon@redhat.com> | |
1340 | Nick Clifton <nickc@cambridge.redhat.com> | |
1341 | Jeff Holcomb <jeffh@redhat.com> | |
1342 | Frank Ch. Eigler <fche@redhat.com> | |
1343 | ||
1344 | * elf-bfd.h (bfd_elf_perform_complex_relocations): New prototype. | |
1345 | * elf.c (swap_out_syms): Handle BSF_RELC and BSF_SRELC. | |
1346 | * elfcode.h (elf_slurp_symbol_table): Handle STT_RELC and STT_SRELC. | |
1347 | * elflink.c (set_symbolValue): New static function. | |
d9352518 DB |
1348 | (resolve_symbol): Likewise. |
1349 | (resolve_section): Likewise. | |
1350 | (undefined_reference): Likewise. | |
1351 | (eval_symbol): Likewise. | |
1352 | (evaluate_complex_relocation_symbols): Likewise. | |
1353 | (put_value): Likewise. | |
1354 | (get_value): Likewise. | |
e382d174 DB |
1355 | (decode_complex_addend): |
1356 | (bfd_elf_perform_complex_relocation): New function. | |
1357 | (elf_link_input_bfd): Call evaluate_complex_relocation_symbols. | |
1358 | * reloc.c (BFD_RELOC_RELC): New relocation number. | |
1359 | * syms.c (BSF_RELC,BSF_SRELC): New macros. | |
d9352518 | 1360 | |
f1ab2340 | 1361 | 2007-02-05 Bob Wilson <bob.wilson@acm.org> |
74e880a7 | 1362 | |
f1ab2340 BW |
1363 | * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete. |
1364 | (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete. | |
1365 | (elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size) | |
1366 | (elf_xtensa_allocate_got_size): Replace these with... | |
1367 | (elf_xtensa_allocate_dynrelocs): ...this new function. | |
1368 | (elf_xtensa_size_dynamic_sections): Use it. | |
74e880a7 | 1369 | |
e5f131d1 | 1370 | 2007-02-05 Bob Wilson <bob.wilson@acm.org> |
74e880a7 | 1371 | |
e5f131d1 BW |
1372 | * elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT> |
1373 | <R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>: | |
1374 | Set src_mask to zero. | |
1375 | <R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise. Also fix dst_mask. | |
1376 | <R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE. | |
74e880a7 | 1377 | |
4608f3d9 BW |
1378 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
1379 | ||
1380 | * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to... | |
1381 | (elf_xtensa_dynamic_symbol_p): ...this. | |
1382 | ||
f0e6fdb2 BW |
1383 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
1384 | ||
1385 | * elf32-xtensa.c (plt_reloc_count): Move into link hash table. | |
1386 | (struct elf_xtensa_link_hash_table): New. | |
1387 | (elf_xtensa_hash_table): New. | |
1388 | (elf_xtensa_link_hash_table_create): New. | |
1389 | (elf_xtensa_check_relocs): Update plt_reloc_count references. | |
1390 | Update arguments to add_extra_plt_sections. | |
1391 | (elf_xtensa_create_dynamic_sections): Record new sections in the hash | |
1392 | table. Update for plt_reloc_count and add_extra_plt_sections. | |
1393 | (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj | |
1394 | argument with link info. Update calls to elf_xtensa_get_plt_section | |
1395 | and elf_xtensa_get_gotplt_section. | |
1396 | (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections) | |
1397 | (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections) | |
1398 | (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections) | |
1399 | (relax_property_section): Get sections from the hash table and update | |
1400 | function calls. | |
1401 | (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace | |
1402 | dynobj argument with link info. Get sections for first plt chunk from | |
1403 | the hash table. | |
1404 | (bfd_elf32_bfd_link_hash_table_create): Define. | |
1405 | ||
c15f73f9 JJ |
1406 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
1407 | ||
1408 | * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *. | |
1409 | * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types. | |
1410 | (struct elf_symbol): Change first member into union. | |
1411 | (elf_sort_elf_symbol): Compare pointers to internal syms rather than | |
1412 | internal syms. Only compare st_shndx fields. | |
1413 | (elf_create_symbuf): New function. | |
1414 | (bfd_elf_match_symbols_in_sections): Use it. If symbufs are available | |
1415 | for bfds, use a binary search, otherwise don't qsort symbols | |
1416 | unnecessarily only to select which symbols are for the particular | |
1417 | shndx. | |
1418 | ||
effdf42a NC |
1419 | 2007-02-01 Nick Clifton <nickc@redhat.com> |
1420 | ||
1421 | PR ld/3852 | |
1422 | * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields | |
1423 | in the elf_link_hash_table structure. | |
1424 | ||
183e98be AM |
1425 | 2007-02-01 Alan Modra <amodra@bigpond.net.au> |
1426 | ||
1427 | * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note. | |
1428 | * elfxx-target.h (elf_backend_write_core_note): Define and use. | |
1429 | * elf.c (elfcore_write_prpsinfo): Call the above. Add support for | |
1430 | 32-bit core note on 64-bit target. | |
1431 | (elfcore_write_prstatus): Likewise. | |
1432 | (elfcore_write_lwpstatus): Make note_name const. | |
1433 | (elfcore_write_prfpreg): Likewise. | |
1434 | (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit | |
1435 | target. | |
1436 | * elf32-ppc.c (ppc_elf_write_core_note): New function. | |
1437 | (elf_backend_write_core_note): Define. | |
1438 | * elf64-ppc.c (ppc64_elf_write_core_note): New function. | |
1439 | (elf_backend_write_core_note): Define. | |
1440 | ||
fc523535 | 1441 | 2007-01-31 H.J. Lu <hongjiu.lu@intel.com> |
16cecee5 L |
1442 | |
1443 | * elf32-cris.c (INCLUDED_TARGET_FILE): Removed. | |
1444 | (elf32_bed): Defined for elf32-us-cris. | |
1445 | ||
1446 | * elf64-sh64.c (elf64_bed): Defined for Linux. | |
1447 | (INCLUDED_TARGET_FILE): Removed. | |
1448 | ||
1449 | * elfxx-target.h (elfNN_bed): Always define. Don't check | |
1450 | INCLUDED_TARGET_FILE. | |
1451 | ||
c9b57b7e DD |
1452 | 2007-01-31 DJ Delorie <dj@redhat.com> |
1453 | ||
1454 | * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning | |
1455 | message for dangerous relocs, special case the common user error. | |
1456 | ||
53020534 L |
1457 | 2007-01-30 H.J. Lu <hongjiu.lu@intel.com> |
1458 | ||
1459 | * elf.c (copy_elf_program_header): Start from the first section | |
1460 | in a segment and stop when all sections in a segment are | |
1461 | accounted for. | |
1462 | ||
c7b8f16e JB |
1463 | 2007-01-29 Julian Brown <julian@codesourcery.com> |
1464 | ||
1465 | * bfd-in2.h: Regenerate. | |
1466 | * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11 | |
1467 | instruction scanning should be done. | |
1468 | (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan) | |
1469 | (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes. | |
1470 | (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to | |
1471 | prototype. | |
1472 | * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info | |
1473 | argument. | |
1474 | * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME) | |
1475 | (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros. | |
1476 | (elf32_vfp11_erratum_type): New enum. | |
1477 | (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to | |
1478 | veneers. | |
1479 | (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist. | |
1480 | (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size, | |
1481 | vfp11_fix and num_vfp11_fixes fields. | |
1482 | (elf32_arm_link_hash_table_create): Initialise vfp11_fix, | |
1483 | vfp11_erratum_glue_size, num_vfp11_fixes fields. | |
1484 | (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer. | |
1485 | (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum | |
1486 | glue section. | |
1487 | (elf32_arm_section_map_add): Add an code/data mapping symbol entry | |
1488 | to a section's map. | |
1489 | (record_vfp11_erratum_veneer): Create a single veneer, and its | |
1490 | associated symbols. | |
1491 | (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue. | |
1492 | (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input | |
1493 | BFDs. | |
1494 | (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround | |
1495 | required. | |
1496 | (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes. | |
1497 | (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn. | |
1498 | (bfd_arm_vfp11_write_mask): Update write mask according to coded | |
1499 | register number. | |
1500 | (bfd_arm_vfp11_antidependency): New function. | |
1501 | (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn. | |
1502 | (elf32_arm_compare_mapping): Declare. | |
1503 | (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input | |
1504 | BFD for potential erratum-triggering insns. Record results. | |
1505 | (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers | |
1506 | and branches to veneers have been placed in virtual memory after | |
1507 | layout. | |
1508 | (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global | |
1509 | hash table. | |
1510 | (elf32_arm_output_symbol_hook): Remove. | |
1511 | (elf32_arm_write_section): Output veneers, and branches to veneers. | |
1512 | Use maps from input sections, not output sections, for code | |
1513 | byte-swapping. | |
1514 | * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument. | |
1515 | * elf32-score.c (_bfd_score_elf_write_section): Likewise. | |
1516 | * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise. | |
1517 | * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise. | |
1518 | ||
1519 | 2007-01-27 H.J. Lu <hongjiu.lu@intel.com> | |
83d1651b L |
1520 | |
1521 | * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux. | |
b8210914 | 1522 | (INCLUDED_TARGET_FILE): Removed. |
83d1651b | 1523 | |
914dfb0f DA |
1524 | 2007-01-27 Mike Frysinger <vapier@gentoo.org> |
1525 | ||
1526 | * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd. | |
1527 | (INCLUDED_TARGET_FILE): Remove. | |
1528 | ||
78eba9b6 DD |
1529 | 2007-01-25 DJ Delorie <dj@redhat.com> |
1530 | ||
1531 | * elf32-m32c.c (m32c_elf_howto_table): Don't complain about | |
1532 | R_M32C_16 or R_M32C_24 relocs. | |
1533 | ||
64ee10b6 NC |
1534 | 2007-01-25 Nick Clifton <nickc@redhat.com> |
1535 | ||
1536 | PR binutils/3874 | |
1537 | * elf32-avr.c (avr_link_hash_table): Check to make sure that the | |
1538 | hash table was created by elf32_avr_link_hash_table_create before | |
1539 | using it. | |
1540 | (elf32_avr_link_hash_newfunc): New function. Just pass the call | |
1541 | through to _bfd_elf_link_hash_newfunc. | |
1542 | (elf32_avr_link_hash_table_create): Use | |
1543 | elf32_avr_link_hash_newfunc instead of | |
1544 | _bfd_elf_link_hash_newfunc. | |
1545 | (elf32_avr_relocate_section): Check for the hash table pointer | |
1546 | being NULL. | |
1547 | (elf32_avr_relax_section, avr_build_one_stub, | |
1548 | elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, | |
1549 | elf32_avr_build_stubs): Likewise. | |
1550 | ||
40b36307 L |
1551 | 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> |
1552 | ||
1553 | PR ld/3831 | |
1554 | * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an | |
1555 | argument, Elf_Internal_Sym *. | |
1556 | ||
1557 | * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data | |
1558 | symbol dynamic if info->dynamic_data is TRUE. | |
1559 | (bfd_elf_record_link_assignment): Updated call to | |
1560 | bfd_elf_record_link_assignment. | |
1561 | (_bfd_elf_merge_symbol): Likewise. Always call | |
1562 | bfd_elf_link_mark_dynamic_symbol. | |
1563 | ||
fc523535 | 1564 | 2007-01-12 H.J. Lu <hongjiu.lu@intel.com> |
a454209d L |
1565 | |
1566 | * Makefile.am (BFD_LIBS): Removed. | |
1567 | * Makefile.in: Regenerated. | |
1568 | ||
fc523535 | 1569 | 2007-01-11 H.J. Lu <hongjiu.lu@intel.com> |
21e40a48 L |
1570 | |
1571 | PR binutils/3631 | |
1572 | * Makefile.am (OFILES): Add @bfd64_libs@. | |
1573 | (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES). | |
1574 | * Makefile.in: Regenerated. | |
1575 | ||
1576 | * configure.in (bfd_libs): Replaced by ... | |
1577 | (bfd64_libs): This. | |
1578 | * configure: Regenerated. | |
1579 | ||
59e0647f NS |
1580 | 2007-01-11 Nathan Sidwell <nathan@codesourcery.com> |
1581 | ||
1582 | * elf.c (assign_file_positions_for_load_sections): We can | |
1583 | require fewer phdrs than expected. | |
1584 | ||
3bdcfdf4 KH |
1585 | 2007-01-08 Kazu Hirata <kazu@codesourcery.com> |
1586 | ||
1587 | * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. | |
1588 | * bfd-in2.h: Regenerate. | |
1589 | * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of | |
1590 | bfd_mach_cpu32_fido. | |
1591 | (m68k_arch_features): Use fido_a instead of cpu32. | |
1592 | (bfd_m68k_compatible): Reject the combination of Fido and | |
1593 | ColdFire. Accept the combination of CPU32 and Fido with a | |
1594 | warning. | |
1595 | * elf32-m68k.c (elf32_m68k_object_p, | |
1596 | elf32_m68k_merge_private_bfd_data, | |
1597 | elf32_m68k_print_private_bfd_data): Treat Fido as an | |
1598 | architecture by itself. | |
1599 | ||
42037fe5 NC |
1600 | 2007-01-08 Kai Tietz <kai.tietz@onevision.com> |
1601 | ||
1602 | * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. | |
1603 | ||
ebe8b991 JJ |
1604 | 2007-01-05 Jakub Jelinek <jakub@redhat.com> |
1605 | ||
1606 | * texhex.c (first_phase): Don't fall through into the default | |
1607 | case. | |
1608 | (pass_over): Replace abort () calls with return FALSE. Fix | |
1609 | buffer overflow. | |
1610 | ||
b327f31f AM |
1611 | 2007-01-04 Jie Zhang <jie.zhang@analog.com> |
1612 | ||
1613 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set | |
1614 | SEC_EXCLUDE on zero size .eh_frame. | |
1615 | ||
10a2343e | 1616 | For older changes see ChangeLog-2006 |
56882138 AM |
1617 | \f |
1618 | Local Variables: | |
1619 | mode: change-log | |
1620 | left-margin: 8 | |
1621 | fill-column: 74 | |
1622 | version-control: never | |
1623 | End: |