1 2007-02-02 Bob Wilson <bob.wilson@acm.org>
3 * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
4 (elf_xtensa_dynamic_symbol_p): ...this.
6 2007-02-02 Bob Wilson <bob.wilson@acm.org>
8 * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
9 (struct elf_xtensa_link_hash_table): New.
10 (elf_xtensa_hash_table): New.
11 (elf_xtensa_link_hash_table_create): New.
12 (elf_xtensa_check_relocs): Update plt_reloc_count references.
13 Update arguments to add_extra_plt_sections.
14 (elf_xtensa_create_dynamic_sections): Record new sections in the hash
15 table. Update for plt_reloc_count and add_extra_plt_sections.
16 (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj
17 argument with link info. Update calls to elf_xtensa_get_plt_section
18 and elf_xtensa_get_gotplt_section.
19 (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections)
20 (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections)
21 (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections)
22 (relax_property_section): Get sections from the hash table and update
24 (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace
25 dynobj argument with link info. Get sections for first plt chunk from
27 (bfd_elf32_bfd_link_hash_table_create): Define.
29 2007-02-02 Jakub Jelinek <jakub@redhat.com>
31 * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
32 * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
33 (struct elf_symbol): Change first member into union.
34 (elf_sort_elf_symbol): Compare pointers to internal syms rather than
35 internal syms. Only compare st_shndx fields.
36 (elf_create_symbuf): New function.
37 (bfd_elf_match_symbols_in_sections): Use it. If symbufs are available
38 for bfds, use a binary search, otherwise don't qsort symbols
39 unnecessarily only to select which symbols are for the particular
42 2007-02-01 Nick Clifton <nickc@redhat.com>
45 * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields
46 in the elf_link_hash_table structure.
48 2007-02-01 Alan Modra <amodra@bigpond.net.au>
50 * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
51 * elfxx-target.h (elf_backend_write_core_note): Define and use.
52 * elf.c (elfcore_write_prpsinfo): Call the above. Add support for
53 32-bit core note on 64-bit target.
54 (elfcore_write_prstatus): Likewise.
55 (elfcore_write_lwpstatus): Make note_name const.
56 (elfcore_write_prfpreg): Likewise.
57 (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit
59 * elf32-ppc.c (ppc_elf_write_core_note): New function.
60 (elf_backend_write_core_note): Define.
61 * elf64-ppc.c (ppc64_elf_write_core_note): New function.
62 (elf_backend_write_core_note): Define.
64 2007-01-31 H.J. Lu <hongjiu.lu@intel.com>
66 * elf32-cris.c (INCLUDED_TARGET_FILE): Removed.
67 (elf32_bed): Defined for elf32-us-cris.
69 * elf64-sh64.c (elf64_bed): Defined for Linux.
70 (INCLUDED_TARGET_FILE): Removed.
72 * elfxx-target.h (elfNN_bed): Always define. Don't check
75 2007-01-31 DJ Delorie <dj@redhat.com>
77 * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
78 message for dangerous relocs, special case the common user error.
80 2007-01-30 H.J. Lu <hongjiu.lu@intel.com>
82 * elf.c (copy_elf_program_header): Start from the first section
83 in a segment and stop when all sections in a segment are
86 2007-01-29 Julian Brown <julian@codesourcery.com>
88 * bfd-in2.h: Regenerate.
89 * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11
90 instruction scanning should be done.
91 (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan)
92 (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes.
93 (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to
95 * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info
97 * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME)
98 (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros.
99 (elf32_vfp11_erratum_type): New enum.
100 (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to
102 (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist.
103 (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size,
104 vfp11_fix and num_vfp11_fixes fields.
105 (elf32_arm_link_hash_table_create): Initialise vfp11_fix,
106 vfp11_erratum_glue_size, num_vfp11_fixes fields.
107 (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer.
108 (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
110 (elf32_arm_section_map_add): Add an code/data mapping symbol entry
112 (record_vfp11_erratum_veneer): Create a single veneer, and its
114 (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue.
115 (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input
117 (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround
119 (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes.
120 (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn.
121 (bfd_arm_vfp11_write_mask): Update write mask according to coded
123 (bfd_arm_vfp11_antidependency): New function.
124 (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn.
125 (elf32_arm_compare_mapping): Declare.
126 (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input
127 BFD for potential erratum-triggering insns. Record results.
128 (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers
129 and branches to veneers have been placed in virtual memory after
131 (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global
133 (elf32_arm_output_symbol_hook): Remove.
134 (elf32_arm_write_section): Output veneers, and branches to veneers.
135 Use maps from input sections, not output sections, for code
137 * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument.
138 * elf32-score.c (_bfd_score_elf_write_section): Likewise.
139 * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise.
140 * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise.
142 2007-01-27 H.J. Lu <hongjiu.lu@intel.com>
144 * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux.
145 (INCLUDED_TARGET_FILE): Removed.
147 2007-01-27 Mike Frysinger <vapier@gentoo.org>
149 * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.
150 (INCLUDED_TARGET_FILE): Remove.
152 2007-01-25 DJ Delorie <dj@redhat.com>
154 * elf32-m32c.c (m32c_elf_howto_table): Don't complain about
155 R_M32C_16 or R_M32C_24 relocs.
157 2007-01-25 Nick Clifton <nickc@redhat.com>
160 * elf32-avr.c (avr_link_hash_table): Check to make sure that the
161 hash table was created by elf32_avr_link_hash_table_create before
163 (elf32_avr_link_hash_newfunc): New function. Just pass the call
164 through to _bfd_elf_link_hash_newfunc.
165 (elf32_avr_link_hash_table_create): Use
166 elf32_avr_link_hash_newfunc instead of
167 _bfd_elf_link_hash_newfunc.
168 (elf32_avr_relocate_section): Check for the hash table pointer
170 (elf32_avr_relax_section, avr_build_one_stub,
171 elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs,
172 elf32_avr_build_stubs): Likewise.
174 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
177 * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
178 argument, Elf_Internal_Sym *.
180 * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
181 symbol dynamic if info->dynamic_data is TRUE.
182 (bfd_elf_record_link_assignment): Updated call to
183 bfd_elf_record_link_assignment.
184 (_bfd_elf_merge_symbol): Likewise. Always call
185 bfd_elf_link_mark_dynamic_symbol.
187 2007-01-12 H.J. Lu <hongjiu.lu@intel.com>
189 * Makefile.am (BFD_LIBS): Removed.
190 * Makefile.in: Regenerated.
192 2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
195 * Makefile.am (OFILES): Add @bfd64_libs@.
196 (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES).
197 * Makefile.in: Regenerated.
199 * configure.in (bfd_libs): Replaced by ...
201 * configure: Regenerated.
203 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
205 * elf.c (assign_file_positions_for_load_sections): We can
206 require fewer phdrs than expected.
208 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
210 * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido.
211 * bfd-in2.h: Regenerate.
212 * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of
214 (m68k_arch_features): Use fido_a instead of cpu32.
215 (bfd_m68k_compatible): Reject the combination of Fido and
216 ColdFire. Accept the combination of CPU32 and Fido with a
218 * elf32-m68k.c (elf32_m68k_object_p,
219 elf32_m68k_merge_private_bfd_data,
220 elf32_m68k_print_private_bfd_data): Treat Fido as an
221 architecture by itself.
223 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
225 * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*.
227 2007-01-05 Jakub Jelinek <jakub@redhat.com>
229 * texhex.c (first_phase): Don't fall through into the default
231 (pass_over): Replace abort () calls with return FALSE. Fix
234 2007-01-04 Jie Zhang <jie.zhang@analog.com>
236 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
237 SEC_EXCLUDE on zero size .eh_frame.
239 For older changes see ChangeLog-2006
245 version-control: never