include/elf/
[binutils.git] / bfd / ChangeLog
bloba1131c8079cc8a178bdb637ffa9f74799149fca0
1 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
3         * reloc.c (BFD_RELOC_ARM_IRELATIVE): New relocation.
4         * bfd-in2.h: Regenerate.
5         * elf32-arm.c (elf32_arm_howto_table_2): Rename existing definition
6         to elf32_arm_howto_table_3 and replace with a single R_ARM_IRELATIVE
7         entry.
8         (elf32_arm_howto_from_type): Update accordingly.
9         (elf32_arm_reloc_map): Map BFD_RELOC_ARM_IRELATIVE to R_ARM_IRELATIVE.
10         (elf32_arm_reloc_name_lookup): Handle elf32_arm_howto_table_3.
11         (arm_plt_info): New structure, split out from elf32_arm_link_hash_entry
12         with an extra noncall_refcount field.
13         (arm_local_iplt_info): New structure.
14         (elf_arm_obj_tdata): Add local_iplt.
15         (elf32_arm_local_iplt): New accessor macro.
16         (elf32_arm_link_hash_entry): Replace plt_thumb_refcount,
17         plt_maybe_thumb_refcount and plt_got_offset with an arm_plt_info.
18         Change tls_type to a bitfield and add is_iplt.
19         (elf32_arm_link_hash_newfunc): Update accordingly.
20         (elf32_arm_allocate_local_sym_info): New function.
21         (elf32_arm_create_local_iplt): Likewise.
22         (elf32_arm_get_plt_info): Likewise.
23         (elf32_arm_plt_needs_thumb_stub_p): Likewise.
24         (elf32_arm_get_local_dynreloc_list): Likewise.
25         (create_ifunc_sections): Likewise.
26         (elf32_arm_copy_indirect_symbol): Update after the changes to
27         elf32_arm_link_hash_entry.  Assert the is_iplt has not yet been set.
28         (arm_type_of_stub): Add an st_type argument.  Use elf32_arm_get_plt_info
29         to get PLT information.  Assert that all STT_GNU_IFUNC references
30         are turned into PLT references.
31         (arm_build_one_stub): Pass the symbol type to
32         elf32_arm_final_link_relocate.
33         (elf32_arm_size_stubs): Pass the symbol type to arm_type_of_stub.
34         (elf32_arm_allocate_irelocs): New function.
35         (elf32_arm_add_dynreloc): In static objects, use .rel.iplt for
36         all R_ARM_IRELATIVE.
37         (elf32_arm_allocate_plt_entry): New function.
38         (elf32_arm_populate_plt_entry): Likewise.
39         (elf32_arm_final_link_relocate): Add an st_type parameter.
40         Set srelgot to null for static objects.  Use separate variables
41         to record which st_value and st_type should be used when generating
42         a dynamic relocation.  Use elf32_arm_get_plt_info to find the
43         symbol's PLT information, setting has_iplt_entry, splt,
44         plt_offset and gotplt_offset accordingly.  Check whether
45         STT_GNU_IFUNC symbols should resolve to an .iplt entry, and change
46         the relocation target accordingly.  Broaden assert to include
47         .iplts.  Don't set sreloc for static relocations.  Assert that
48         we only generate dynamic R_ARM_RELATIVE relocations for R_ARM_ABS32
49         and R_ARM_ABS32_NOI.  Generate R_ARM_IRELATIVE relocations instead
50         of R_ARM_RELATIVE relocations if the target is an STT_GNU_IFUNC
51         symbol.  Pass the symbol type to arm_type_of_stub.  Conditionally
52         resolve GOT references to the .igot.plt entry.
53         (elf32_arm_relocate_section): Update the call to
54         elf32_arm_final_link_relocate.
55         (elf32_arm_gc_sweep_hook): Use elf32_arm_get_plt_info to get PLT
56         information.  Treat R_ARM_REL32 and R_ARM_REL32_NOI as call
57         relocations in shared libraries and relocatable executables.
58         Count non-call PLT references.  Use elf32_arm_get_local_dynreloc_list
59         to get the list of dynamic relocations for a local symbol.
60         (elf32_arm_check_relocs): Always create ifunc sections.  Set isym
61         at the same time as setting h.  Use elf32_arm_allocate_local_sym_info
62         to allocate local symbol information.  Treat R_ARM_REL32 and
63         R_ARM_REL32_NOI as call relocations in shared libraries and
64         relocatable executables.  Record PLT information for local
65         STT_GNU_IFUNC functions as well as global functions.   Count
66         non-call PLT references.  Use elf32_arm_get_local_dynreloc_list
67         to get the list of dynamic relocations for a local symbol.
68         (elf32_arm_adjust_dynamic_symbol): Handle STT_GNU_IFUNC symbols.
69         Don't remove STT_GNU_IFUNC PLTs unless all references have been
70         removed.  Update after the changes to elf32_arm_link_hash_entry.
71         (allocate_dynrelocs_for_symbol): Decide whether STT_GNU_IFUNC PLT
72         entries should live in .plt or .iplt.  Check whether the .igot.plt
73         and .got entries can be combined.  Use elf32_arm_allocate_plt_entry
74         to allocate .plt and .(i)got.plt entries.  Detect which .got
75         entries will need R_ARM_IRELATIVE relocations and use
76         elf32_arm_allocate_irelocs to allocate them.  Likewise other
77         non-.got dynamic relocations.
78         (elf32_arm_size_dynamic_sections): Allocate .iplt, .igot.plt
79         and dynamic relocations for local STT_GNU_IFUNC symbols.
80         Check whether the .igot.plt and .got entries can be combined.
81         Detect which .got entries will need R_ARM_IRELATIVE relocations
82         and use elf32_arm_allocate_irelocs to allocate them.  Use stashed
83         section pointers intead of strcmp checks.  Handle iplt and igotplt.
84         (elf32_arm_finish_dynamic_symbol): Use elf32_arm_populate_plt_entry
85         to fill in .plt, .got.plt and .rel(a).plt entries.  Point
86         STT_GNU_IFUNC symbols at an .iplt entry if non-call relocations
87         resolve to it.
88         (elf32_arm_output_plt_map_1): New function, split out from
89         elf32_arm_output_plt_map.  Handle .iplt entries.  Use
90         elf32_arm_plt_needs_thumb_stub_p.
91         (elf32_arm_output_plt_map): Call it.
92         (elf32_arm_output_arch_local_syms): Add mapping symbols for
93         local .iplt entries.
94         (elf32_arm_swap_symbol_in): Handle Thumb STT_GNU_IFUNC symbols.
95         (elf32_arm_swap_symbol_out): Likewise.
96         (elf32_arm_add_symbol_hook): New function.
97         (elf_backend_add_symbol_hook): Define for all targets.
99 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
101         * elf-bfd.h (elf_link_hash_entry): Add target_internal.
102         * elf.c (swap_out_syms): Set st_target_internal for each
103         Elf_Internal_Sym.
104         * elfcode.h (elf_swap_symbol_in): Likewise.
105         * elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
106         * elf32-sh-symbian.c (sh_symbian_relocate_section): Likewise.
107         * elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise.
108         * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Likewise.
109         * elflink.c (elf_link_output_extsym): Likewise.
110         (bfd_elf_final_link): Likewise.
111         (elf_link_add_object_symbols): Copy st_target_internal
112         to the hash table if we see a definition.
113         (_bfd_elf_copy_link_hash_symbol_type): Copy target_internal.
114         * elf32-arm.c (elf32_arm_stub_hash_entry): Replace st_type with
115         a branch_type field.
116         (a8_erratum_fix, a8_erratum_reloc): Likewise.
117         (arm_type_of_stub): Replace actual_st_type with an
118         actual_branch_type parameter.
119         (arm_build_one_stub): Use branch types rather than st_types to
120         determine the type of branch.
121         (cortex_a8_erratum_scan): Likewise.
122         (elf32_arm_size_stubs): Likewise.
123         (bfd_elf32_arm_process_before_allocation): Likewise.
124         (allocate_dynrelocs_for_symbol): Likewise.
125         (elf32_arm_finish_dynamic_sections): Likewise.
126         (elf32_arm_final_link_relocate): Replace sym_flags parameter with
127         a branch_type parameter.
128         (elf32_arm_relocate_section): Update call accordingly.
129         (elf32_arm_adjust_dynamic_symbol): Don't check STT_ARM_TFUNC.
130         (elf32_arm_output_map_sym): Initialize st_target_internal.
131         (elf32_arm_output_stub_sym): Likewise.
132         (elf32_arm_symbol_processing): Delete.
133         (elf32_arm_swap_symbol_in): Convert STT_ARM_TFUNCs into STT_FUNCs.
134         Use st_target_internal to record the branch type.
135         (elf32_arm_swap_symbol_out): Use st_target_internal to test for
136         Thumb functions.
137         (elf32_arm_is_function_type): Delete.
138         (elf_backend_symbol_processing): Likewise.
139         (elf_backend_is_function_type): Likewise.
141 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
143         * elf32-arm.c (elf32_arm_check_relocs): Always assign a dynobj.
144         (elf32_arm_finish_dynamic_sections): Move sgot != NULL assertion
145         into the PLT block.
147 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
149         * elf32-arm.c (elf32_arm_check_relocs): Use call_reloc_p,
150         may_need_local_target_p and may_become_dynamic_p to classify
151         the relocation type.  Don't check info->symbolic or h->def_regular
152         when deciding whether to record a potential dynamic reloc.
153         Don't treat potential dynamic relocs as PLT references.
154         (elf32_arm_gc_sweep_hook): Update to match.  Assert that we don't
155         try to make the PLT reference count go negative.
157 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
159         * elf32-arm.c (elf32_arm_final_link_relocate): Always fill in the
160         GOT entry here, rather than leaving it to finish_dynamic_symbol.
161         Only create a dynamic relocation for local references if
162         info->shared.
163         (allocate_dynrelocs_for_symbol): Update dynamic relocation
164         allocation accordingly.
165         (elf32_arm_finish_dynamic_symbol): Don't initialise the GOT entry here.
167 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
169         * elf32-arm.c (elf32_arm_allocate_dynrelocs): New function.
170         (elf32_arm_add_dynreloc): Likewise.
171         (elf32_arm_adjust_dynamic_symbol): Use elf32_arm_allocate_dynrelocs
172         to allocate dynamic relocations.
173         (elf32_arm_size_dynamic_sections): Likewise.
174         (allocate_dynrelocs): Likewise.  Rename to
175         allocate_dynrelocs_for_symbol.
176         (elf32_arm_final_link_relocate): Use elf32_arm_add_dynreloc to
177         create dynamic relocations.
178         (elf32_arm_finish_dynamic_symbol): Likewise.
180 2011-03-12  H.J. Lu  <hongjiu.lu@intel.com>
182         * elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
183         x32 GD->IE and GD->LE transitions.
184         (elf_x86_64_relocate_section): Supprt TLS x32 GD->IE, GD->LE
185         and LD->LE transitions.
187 2011-03-10  Alan Modra  <amodra@gmail.com>
189         * elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offset
190         for LO_DS error message and correct multiple.
192 2011-03-10  Alan Modra  <amodra@gmail.com>
194         * elf64-ppc.c (bfd_elf64_bfd_link_just_syms): Define.
195         (ppc64_elf_link_just_syms): New function.
196         (opd_entry_value): Don't assume big-endian host.
197         (get_r2off): New function.
198         (ppc_build_one_stub, ppc_size_one_stub): Use it here.
200 2011-03-06  Michael Snyder  <msnyder@vmware.com>
202         * compress.c (bfd_compress_section_contents): Check for out of mem.
204         * elf64-x86-64.c (elf_x86_64_relocate_section): Document
205         that case statement falls through intentionally.
207         * elf32-i386.c (elf_i386_relocate_section): Document fall through.
209 2011-03-04  Alan Modra  <amodra@gmail.com>
211         * archive.c (bsd_write_armap): Don't call stat in deterministic
212         mode, and don't use st_mtime if stat returns error.
214 2011-03-03  Michael Snyder  <msnyder@vmware.com>
216         * elf64-x86-64.c (elf_x86_64_relocate_section): Remove dead code.
218         * coff-x86_64.c (coff_amd64_rtype_to_howto): Fencepost error.
220         * aoutx.h (aout_final_link): Use sizeof int not sizeof int*.
221         (aout_link_write_other_symbol): Missing break statement.
223         * dwarf2.c (scan_unit_for_symbols): Stop memory leak.
225         * archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails.
227 2011-03-03  H.J. Lu  <hongjiu.lu@intel.com>
229         * elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
230         x32 IE->LE transition.
231         (elf_x86_64_relocate_section): Likewise.
233 2011-03-02  Bernd Schmidt  <bernds@codesourcery.com>
235         * elflink.c (is_reloc_section): Remove function.
236         (get_dynamic_reloc_section_name): Construct string manually.
238 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
240         * archive.c (_bfd_find_nested_archive): Use filename_(n)cmp.
241         (adjust_relative_path): Likewise.
242         (_bfd_construct_extended_name_table): Likewise.
243         * corefile.c (generic_core_file_matches_executable_p): Likewise.
244         * elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
245         * elf32-frv.c (elf32_frv_relocate_section): Likewise.
246         * elf32-spu.c (sort_bfds): Likewise.
247         (spu_elf_auto_overlay): Likewise.
248         * syms.c (_bfd_stab_section_find_nearest_line): Likewise.
249         * xcofflink.c (xcoff_set_import_path): Likewise.
250         * xtensa-isa.c (xtensa_regfile_lookup): Likewise.
251         (xtensa_regfile_lookup_shortname): Likewise.
253 2011-02-28  Alan Modra  <amodra@gmail.com>
255         PR 12513
256         * archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and
257         stringsize.  Properly sanity check symdef_count.  Remove redundant
258         bfd_release.
260 2011-02-25  Rafael Ávila de Espíndola <respindola@mozilla.com>
262         * plugin.c (bfd_plugin_object_p): Correctly set the filesize
263         and handle claim_file seeking. Only try to load the plugin once.
265 2011-02-22  Andreas Schwab  <schwab@redhat.com>
267         * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD
268         relocation read the value from the second GOT slot.
270 2011-02-15  Tristan Gingold  <gingold@adacore.com>
272         * vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
274 2011-02-15  Alan Modra  <amodra@gmail.com>
276         * elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read of
277         toc relocs.  Fuss over free(NULL).
279 2011-02-14  Mike Frysinger  <vapier@gentoo.org>
281         * elflink.c (bfd_elf_size_dynamic_sections): Add
282         bfd_get_symbol_leading_char to the start of newname.
284 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
286         * configure: Regenerate.
288 2011-02-09  Alan Modra  <amodra@gmail.com>
290         * elf64-ppc.c (ppc64_elf_edit_toc): Don't free toc relocs until
291         we are done.  When optimising large toc, check that a global
292         symbol on a toc reloc is defined in a kept section.
294 2011-02-08  Nick Clifton  <nickc@redhat.com>
296         PR binutils/12467
297         * elf.c (assign_file_positions_for_load_sections): Set the program
298         header offset and entry size to zero if there are no program
299         headers.
301 2011-02-08  Alan Modra  <amodra@gmail.com>
303         * elf64-ppc.c (ppc64_elf_edit_toc): Don't segfault on NULL
304         local_syms when looking for local symbols in .toc.
306 2011-02-01  Alan Modra  <amodra@gmail.com>
308         * elf64-ppc.c (ppc64_elf_next_input_section): Use elf_gp value
309         for toc pointer on any section having makes_toc_func_call set.
310         (check_pasted_section): Ensure pasted .init/.fini fragments use
311         the same toc if any has makes_toc_func_call set.
313 2011-01-28  Joseph Myers  <joseph@codesourcery.com>
315         * elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs
316         field.
318 2011-01-22  Richard Sandiford  <rdsandiford@googlemail.com>
320         * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Ignore
321         common sections too.
323 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
325         * elf64-x86-64.c (elf_backend_want_plt_sym): Redefine to 0 after
326         Solaris target.
328 2011-01-18  Pierre Muller  <muller@ics.u-strasbg.fr>
330         Fix compilation for mingw64.
331         * coffcode.h (coff_slurp_symbol_table): Add intptr_t intermediate
332         typecast to avoid warning.
333         * elf32-rx.c: Add "bfd_stdint.h" include required for int32_t type
334         usage.
335         * elfxx-ia64.c (elfNN_ia64_relax_br): Use intptr_t typeacast instead
336         of long for pointer to avoid warning.
337         (elfNN_ia64_relax_brl): Idem.
338         (elfNN_ia64_install_value): Idem.
339         * vms-alpha.c (_bfd_vms_slurp_etir): Idem.
341 2011-01-17  Richard Sandiford  <richard.sandiford@linaro.org>
343         * elf32-arm.c (elf32_arm_check_relocs): Check needs_plt rather than
344         h->needs_plt when deciding whether to record a possible dynamic reloc.
346 2011-01-17  Richard Sandiford  <richard.sandiford@linaro.org>
348         * elf32-arm.c (elf32_arm_gc_sweep_hook): Remove all registered
349         dynamic relocs for the removed section.
351 2011-01-15  H.J. Lu  <hongjiu.lu@intel.com>
353         * elf64-x86-64.c (elf_x86_64_check_relocs): Check invalid x32
354         relocations.
356 2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
358         * elf64-x86-64.c (elf_x86_64_link_hash_table): Add pointer_r_type.
359         (elf_x86_64_link_hash_table_create): Set pointer_r_type.
360         (elf_x86_64_check_relocs): Handle R_X86_64_32 like R_X86_64_64
361         for ILP32.  Remove ABI_64_P PIC check for R_X86_64_8,
362         R_X86_64_16, R_X86_64_32 and R_X86_64_32S.
363         (elf_x86_64_relocate_section):  Handle R_X86_64_32 like R_X86_64_64
364         for ILP32.
366 2011-01-14  Alan Modra  <amodra@gmail.com>
368         * bfd.c (bfd_perror): Flush stdout before and stderr after printing
369         error.
370         (_bfd_default_error_handler): Likewise.
371         * elf.c (print_segment_map): Likewise.
372         * libbfd.c (warn_deprecated): Likewise.
373         * som.c (som_sizeof_headers): No need to do so here.
374         * coff-i860.c: Replace use of printf for error messages with
375         _bfd_error_handler.
376         * coff-ppc.c: Likewise.
377         * coff-sh.c: Likewise.
378         * elf32-bfin.c: Likewise.
379         * elf32-dlx.c: Likewise.
380         * elf32-mep.c: Likewise.
381         * elf32-v850.c: Likewise.
382         * mach-o.c: Likewise.
383         * pef.c: Likewise.
385 2011-01-13  H.J. Lu  <hongjiu.lu@intel.com>
387         * elf64-x86-64.c (elf_x86_64_link_hash_table): Remove
388         swap_reloca_out.
389         (elf_x86_64_link_hash_table_create): Don't set swap_reloca_out.
390         (elf_x86_64_check_relocs): Align relocation section to 4 byte
391         for 32bit.
392         (elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with
393         ELF_ST_TYPE.
394         (elf_x86_64_finish_dynamic_symbol): Updated.
395         (elf_x86_64_finish_dynamic_sections): Don't use
396         Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor
397         bfd_elf64_swap_dyn_out.
399 2011-01-14  J. Park  <grassman@gmail.com>
401         PR ld/12339
402         * elf32-arm.c (allocate_dynrelocs): Don't set up eh before
403         following bfd_link_hash_warning symbol link.
405 2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
406             Glauber de Oliveira Costa  <glommer@gmail.com>
408         * reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL,
409         BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ,
410         BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New
411         relocations.
412         * libbfd.h: Rebuilt.
413         * bfd-in2.h: Rebuilt.
414         * elf32-arm.c (elf32_arm_howto_table_1): Add new relocations.
415         (elf32_arm_reloc_map): Likewise.
416         (tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates.
417         (elf32_arm_stub_long_branch_any_tls_pic,
418         elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates.
419         (DEF_STUBS): Add new stubs.
420         (struct_elf_arm_obj_data): Add local_tlsdesc_gotent field.
421         (elf32_arm_local_tlsdesc_gotent): New.
422         (GOT_TLS_GDESC): New mask.
423         (GOT_TLS_GD_ANY): Define.
424         (struct elf32_arm_link_hash_entry): Add tlsdesc_got field.
425         (elf32_arm_compute_jump_table_size): New.
426         (struct elf32_arm_link_hash_table): Add next_tls_desc_index,
427         num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline,
428         sgotplt_jump_table_size fields.
429         (elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field.
430         (elf32_arm_link_hash_table_create): Initialize new fields.
431         (arm_type_of_stub): Check TLS desc relocs too.
432         (elf32_arm_stub_name): TLS desc relocs can be shared.
433         (elf32_arm_tls_transition): Determine relaxation.
434         (arm_stub_required_alignment): Add tls stubs.
435         (elf32_arm_size_stubs): Likewise.
436         (elf32_arm_tls_relax): Perform TLS relaxing.
437         (elf32_arm_final_link_relocate): Process TLS DESC relocations.
438         (IS_ARM_TLS_GNU_RELOC): New.
439         (IS_ARM_TLS_RELOC): Use it.
440         (elf32_arm_relocate_section): Perform TLS relaxing.
441         (elf32_arm_check_relocs): Anticipate TLS relaxing, process tls
442         desc relocations.
443         (allocate_dynrelocs): Allocate tls desc relcoations.
444         (elf32_arm_output_arch_local_syms): Emit tls trampoline mapping
445         symbols.
446         (elf32_arm_size_dynamic_sections): Allocate tls trampolines and
447         got slots.
448         (elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE
449         symbol.
450         (elf32_arm_finish_dynamic_symbol): Adjust.
451         (arm_put_trampoline): New.
452         (elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls
453         trampolines.
454         (elf_backend_always_size_sections): Define.
456 2011-01-06  H.J. Lu  <hongjiu.lu@intel.com>
458         * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Optimized.
460 2011-01-06  H.J. Lu  <hongjiu.lu@intel.com>
462         PR ld/12366
463         PR ld/12371
464         * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly
465         handle symbols marked with regular reference, but not non-GOT
466         reference when building shared library.
468         * elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle
469         local and global STT_GNU_IFUNC symols when building shared
470         library.
471         * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.
473 2011-01-05  DJ Delorie  <dj@redhat.com>
475         * reloc.c: Add BFD_RELOC_RX_OP_NEG.
476         * libbfd.h: Regenerate.
477         * bfd-in2.h: Regenerate.
478         * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg.
480 2011-01-03  H.J. Lu  <hongjiu.lu@intel.com>
482         * cpu-i386.c (bfd_i386_compatible): New.
483         (bfd_x64_32_arch_intel_syntax): Replace bfd_default_compatible
484         with bfd_i386_compatible.
485         (bfd_x86_64_arch_intel_syntax): Likewise.
486         (bfd_i386_arch_intel_syntax): Likewise.
487         (i8086_arch): Likewise.
488         (bfd_x64_32_arch): Likewise.
489         (bfd_x86_64_arch): Likewise.
490         (bfd_i386_arch): Likewise.
492 For older changes see ChangeLog-2010
494 Local Variables:
495 mode: change-log
496 left-margin: 8
497 fill-column: 74
498 version-control: never
499 End: