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