]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
* elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
e5f131d1
BW
12007-02-05 Bob Wilson <bob.wilson@acm.org>
2
3 * elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
4 <R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>:
5 Set src_mask to zero.
6 <R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise. Also fix dst_mask.
7 <R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE.
8
4608f3d9
BW
92007-02-02 Bob Wilson <bob.wilson@acm.org>
10
11 * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
12 (elf_xtensa_dynamic_symbol_p): ...this.
13
f0e6fdb2
BW
142007-02-02 Bob Wilson <bob.wilson@acm.org>
15
16 * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
17 (struct elf_xtensa_link_hash_table): New.
18 (elf_xtensa_hash_table): New.
19 (elf_xtensa_link_hash_table_create): New.
20 (elf_xtensa_check_relocs): Update plt_reloc_count references.
21 Update arguments to add_extra_plt_sections.
22 (elf_xtensa_create_dynamic_sections): Record new sections in the hash
23 table. Update for plt_reloc_count and add_extra_plt_sections.
24 (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj
25 argument with link info. Update calls to elf_xtensa_get_plt_section
26 and elf_xtensa_get_gotplt_section.
27 (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections)
28 (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections)
29 (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections)
30 (relax_property_section): Get sections from the hash table and update
31 function calls.
32 (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace
33 dynobj argument with link info. Get sections for first plt chunk from
34 the hash table.
35 (bfd_elf32_bfd_link_hash_table_create): Define.
36
c15f73f9
JJ
372007-02-02 Jakub Jelinek <jakub@redhat.com>
38
39 * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
40 * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
41 (struct elf_symbol): Change first member into union.
42 (elf_sort_elf_symbol): Compare pointers to internal syms rather than
43 internal syms. Only compare st_shndx fields.
44 (elf_create_symbuf): New function.
45 (bfd_elf_match_symbols_in_sections): Use it. If symbufs are available
46 for bfds, use a binary search, otherwise don't qsort symbols
47 unnecessarily only to select which symbols are for the particular
48 shndx.
49
effdf42a
NC
502007-02-01 Nick Clifton <nickc@redhat.com>
51
52 PR ld/3852
53 * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields
54 in the elf_link_hash_table structure.
55
183e98be
AM
562007-02-01 Alan Modra <amodra@bigpond.net.au>
57
58 * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
59 * elfxx-target.h (elf_backend_write_core_note): Define and use.
60 * elf.c (elfcore_write_prpsinfo): Call the above. Add support for
61 32-bit core note on 64-bit target.
62 (elfcore_write_prstatus): Likewise.
63 (elfcore_write_lwpstatus): Make note_name const.
64 (elfcore_write_prfpreg): Likewise.
65 (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit
66 target.
67 * elf32-ppc.c (ppc_elf_write_core_note): New function.
68 (elf_backend_write_core_note): Define.
69 * elf64-ppc.c (ppc64_elf_write_core_note): New function.
70 (elf_backend_write_core_note): Define.
71
fc523535 722007-01-31 H.J. Lu <hongjiu.lu@intel.com>
16cecee5
L
73
74 * elf32-cris.c (INCLUDED_TARGET_FILE): Removed.
75 (elf32_bed): Defined for elf32-us-cris.
76
77 * elf64-sh64.c (elf64_bed): Defined for Linux.
78 (INCLUDED_TARGET_FILE): Removed.
79
80 * elfxx-target.h (elfNN_bed): Always define. Don't check
81 INCLUDED_TARGET_FILE.
82
c9b57b7e
DD
832007-01-31 DJ Delorie <dj@redhat.com>
84
85 * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
86 message for dangerous relocs, special case the common user error.
87
53020534
L
882007-01-30 H.J. Lu <hongjiu.lu@intel.com>
89
90 * elf.c (copy_elf_program_header): Start from the first section
91 in a segment and stop when all sections in a segment are
92 accounted for.
93
c7b8f16e
JB
942007-01-29 Julian Brown <julian@codesourcery.com>
95
96 * bfd-in2.h: Regenerate.
97 * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11
98 instruction scanning should be done.
99 (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan)
100 (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes.
101 (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to
102 prototype.
103 * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info
104 argument.
105 * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME)
106 (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros.
107 (elf32_vfp11_erratum_type): New enum.
108 (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to
109 veneers.
110 (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist.
111 (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size,
112 vfp11_fix and num_vfp11_fixes fields.
113 (elf32_arm_link_hash_table_create): Initialise vfp11_fix,
114 vfp11_erratum_glue_size, num_vfp11_fixes fields.
115 (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer.
116 (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
117 glue section.
118 (elf32_arm_section_map_add): Add an code/data mapping symbol entry
119 to a section's map.
120 (record_vfp11_erratum_veneer): Create a single veneer, and its
121 associated symbols.
122 (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue.
123 (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input
124 BFDs.
125 (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround
126 required.
127 (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes.
128 (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn.
129 (bfd_arm_vfp11_write_mask): Update write mask according to coded
130 register number.
131 (bfd_arm_vfp11_antidependency): New function.
132 (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn.
133 (elf32_arm_compare_mapping): Declare.
134 (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input
135 BFD for potential erratum-triggering insns. Record results.
136 (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers
137 and branches to veneers have been placed in virtual memory after
138 layout.
139 (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global
140 hash table.
141 (elf32_arm_output_symbol_hook): Remove.
142 (elf32_arm_write_section): Output veneers, and branches to veneers.
143 Use maps from input sections, not output sections, for code
144 byte-swapping.
145 * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument.
146 * elf32-score.c (_bfd_score_elf_write_section): Likewise.
147 * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise.
148 * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise.
149
1502007-01-27 H.J. Lu <hongjiu.lu@intel.com>
83d1651b
L
151
152 * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux.
b8210914 153 (INCLUDED_TARGET_FILE): Removed.
83d1651b 154
914dfb0f
DA
1552007-01-27 Mike Frysinger <vapier@gentoo.org>
156
157 * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.
158 (INCLUDED_TARGET_FILE): Remove.
159
78eba9b6
DD
1602007-01-25 DJ Delorie <dj@redhat.com>
161
162 * elf32-m32c.c (m32c_elf_howto_table): Don't complain about
163 R_M32C_16 or R_M32C_24 relocs.
164
64ee10b6
NC
1652007-01-25 Nick Clifton <nickc@redhat.com>
166
167 PR binutils/3874
168 * elf32-avr.c (avr_link_hash_table): Check to make sure that the
169 hash table was created by elf32_avr_link_hash_table_create before
170 using it.
171 (elf32_avr_link_hash_newfunc): New function. Just pass the call
172 through to _bfd_elf_link_hash_newfunc.
173 (elf32_avr_link_hash_table_create): Use
174 elf32_avr_link_hash_newfunc instead of
175 _bfd_elf_link_hash_newfunc.
176 (elf32_avr_relocate_section): Check for the hash table pointer
177 being NULL.
178 (elf32_avr_relax_section, avr_build_one_stub,
179 elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs,
180 elf32_avr_build_stubs): Likewise.
181
40b36307
L
1822007-01-16 H.J. Lu <hongjiu.lu@intel.com>
183
184 PR ld/3831
185 * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
186 argument, Elf_Internal_Sym *.
187
188 * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
189 symbol dynamic if info->dynamic_data is TRUE.
190 (bfd_elf_record_link_assignment): Updated call to
191 bfd_elf_record_link_assignment.
192 (_bfd_elf_merge_symbol): Likewise. Always call
193 bfd_elf_link_mark_dynamic_symbol.
194
fc523535 1952007-01-12 H.J. Lu <hongjiu.lu@intel.com>
a454209d
L
196
197 * Makefile.am (BFD_LIBS): Removed.
198 * Makefile.in: Regenerated.
199
fc523535 2002007-01-11 H.J. Lu <hongjiu.lu@intel.com>
21e40a48
L
201
202 PR binutils/3631
203 * Makefile.am (OFILES): Add @bfd64_libs@.
204 (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES).
205 * Makefile.in: Regenerated.
206
207 * configure.in (bfd_libs): Replaced by ...
208 (bfd64_libs): This.
209 * configure: Regenerated.
210
59e0647f
NS
2112007-01-11 Nathan Sidwell <nathan@codesourcery.com>
212
213 * elf.c (assign_file_positions_for_load_sections): We can
214 require fewer phdrs than expected.
215
3bdcfdf4
KH
2162007-01-08 Kazu Hirata <kazu@codesourcery.com>
217
218 * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido.
219 * bfd-in2.h: Regenerate.
220 * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of
221 bfd_mach_cpu32_fido.
222 (m68k_arch_features): Use fido_a instead of cpu32.
223 (bfd_m68k_compatible): Reject the combination of Fido and
224 ColdFire. Accept the combination of CPU32 and Fido with a
225 warning.
226 * elf32-m68k.c (elf32_m68k_object_p,
227 elf32_m68k_merge_private_bfd_data,
228 elf32_m68k_print_private_bfd_data): Treat Fido as an
229 architecture by itself.
230
42037fe5
NC
2312007-01-08 Kai Tietz <kai.tietz@onevision.com>
232
233 * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*.
234
ebe8b991
JJ
2352007-01-05 Jakub Jelinek <jakub@redhat.com>
236
237 * texhex.c (first_phase): Don't fall through into the default
238 case.
239 (pass_over): Replace abort () calls with return FALSE. Fix
240 buffer overflow.
241
b327f31f
AM
2422007-01-04 Jie Zhang <jie.zhang@analog.com>
243
244 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
245 SEC_EXCLUDE on zero size .eh_frame.
246
10a2343e 247For older changes see ChangeLog-2006
56882138
AM
248\f
249Local Variables:
250mode: change-log
251left-margin: 8
252fill-column: 74
253version-control: never
254End: