]>
Commit | Line | Data |
---|---|---|
7cdc5bba AM |
1 | 2002-05-29 Alan Modra <amodra@bigpond.net.au> |
2 | ||
3 | * elf64-ppc.c (ppc64_elf_get_symbol_info): New function. | |
4 | (bfd_elf64_get_symbol_info): Define. | |
5 | * elfxx-target.h (bfd_elfNN_get_symbol_info): Only define if undef. | |
6 | ||
4c7aad1c AM |
7 | 2002-05-29 Andrey Volkov <avolkov@transas.com> |
8 | ||
9 | * cpu-h8300.c: Make default h8300 machine first in machine list. | |
10 | ||
d172d4ba NC |
11 | 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> |
12 | ||
13 | * config.bfd: Added DLX configuraton. | |
14 | * Makefile.am: Added DLX configuraton. | |
15 | * configure.in: Added DLX configuraton. | |
16 | * archures.c: Add DLX architecure. | |
17 | * reloc.c: Add DLX relocs. | |
18 | * targets.c: Added DLX target vector. | |
19 | * configure: Regenerate. | |
20 | * Makefile.in: Regenreate. | |
21 | * bfd-in2.h: Regenreate. | |
22 | * elf32-dlx.c: New file: Support DLX target. | |
23 | * cpu-dlx.c: New file: Support DLX target. | |
24 | ||
d1329ca3 AM |
25 | 2002-05-25 Alan Modra <amodra@bigpond.net.au> |
26 | ||
428d0de3 AM |
27 | * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Formatting. |
28 | ||
d1329ca3 AM |
29 | * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Revert last change. |
30 | (ppc64_elf_check_relocs): Don't set up function descriptor symbol | |
31 | strings to point inside function code sym string. | |
32 | (func_desc_adjust): Likewise. | |
33 | (ppc64_elf_hide_symbol): Rewrite code to look up function code sym. | |
34 | ||
3bab7989 ML |
35 | 2002-05-24 Michal Ludvig <mludvig@suse.cz> |
36 | ||
37 | * elf64-x86-64.c (elf64_x86_64_grok_prstatus): Added. | |
38 | (elf64_x86_64_grok_psinfo): Added. | |
39 | ||
436e8db0 NC |
40 | 2002-05-24 TAMURA Kent <kent@netbsd.org> |
41 | ||
42 | * config.bfd: Add a target for i386-netbsdpe. | |
43 | ||
ea1e4b0d AM |
44 | 2002-05-24 Alan Modra <amodra@bigpond.net.au> |
45 | ||
46 | * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy is_func | |
47 | and is_func_descriptor. | |
48 | (func_desc_adjust): Hide function code sym in shared libs unless | |
49 | there is a matching exported function descriptor sym. | |
50 | ||
13ae64f3 JJ |
51 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
52 | ||
53 | * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL | |
54 | for symbols from SHF_TLS section. | |
55 | (_bfd_elf_print_private_bfd_data): Add PT_TLS. | |
56 | (elf_fake_sections): Set SHF_TLS for SEC_THREAD_LOCAL sections. | |
57 | (map_sections_to_segments): Build PT_TLS segment if necessary. | |
58 | (assign_file_positions_for_segments): Likewise. | |
59 | (get_program_header_size): Account for PT_TLS segment. | |
60 | (swap_out_syms): Set type of BSF_THREAD_LOCAL symbols and symbols from | |
61 | SEC_THREAD_LOCAL sections to STT_TLS. | |
62 | * reloc.c: Add 386 and IA-64 TLS relocs. | |
63 | * section.c (SEC_THREAD_LOCAL): Define. | |
64 | (SEC_CONSTRUCTOR_TEXT, SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS): | |
65 | Remove. | |
66 | * elflink.h (elf_link_add_object_symbols): Support .tcommon. | |
67 | (size_dynamic_sections): If DF_STATIC_TLS, set DF_FLAGS | |
68 | unconditionally. | |
69 | (struct elf_final_link_info): Add first_tls_sec. | |
70 | (elf_bfd_final_link): Set first_tls_sec. | |
71 | Compute elf_hash_table (info)->tls_segment. | |
72 | (elf_link_output_extsym): Handle STT_TLS symbols. | |
73 | (elf_link_input_bfd): Likewise. | |
74 | * syms.c (BSF_THREAD_LOCAL): Define. | |
75 | * bfd-in2.h: Rebuilt. | |
76 | * libbfd.h: Rebuilt. | |
77 | * elf32-i386.c (elf_i386_tls_transition, dtpoff_base, tpoff, | |
78 | elf_i386_mkobject, elf_i386_object_p): New functions. | |
79 | (elf_howto_table): Add TLS relocs. | |
80 | (elf_i386_reloc_type_lookup): Support TLS relocs. | |
81 | (elf_i386_info_to_howto_rel): Likewise. | |
82 | (struct elf_i386_link_hash_entry): Add tls_type. | |
83 | (struct elf_i386_obj_tdata): New. | |
84 | (elf_i386_hash_entry, elf_i386_tdata, elf_i386_local_got_tls_type): | |
85 | New macros. | |
86 | (struct elf_i386_link_hash_table): Add tls_ldm_got. | |
87 | (link_hash_newfunc): Clear tls_type. | |
88 | (elf_i386_check_relocs): Support TLS relocs. | |
89 | (elf_i386_gc_sweep_hook): Likewise. | |
90 | (allocate_dynrelocs): Likewise. | |
91 | (elf_i386_size_dynamic_sections): Likewise. | |
92 | (elf_i386_relocate_section): Likewise. | |
93 | (elf_i386_finish_dynamic_symbol): Likewise. | |
94 | (bfd_elf32_mkobject, elf_backend_object_p): Define. | |
95 | * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add tprel_offset, | |
96 | dtpmod_offset, dtprel_offset, tprel_done, dtpmod_done, dtprel_done, | |
97 | want_tprel, want_dtpmod, want_dtprel. | |
98 | (elfNN_ia64_tprel_base, elfNN_ia64_dtprel_base): New functions. | |
99 | (ia64_howto_table): Add TLS relocs, rename R_IA64_LTOFF_TP22 to | |
100 | R_IA64_LTOFF_TPREL22. | |
101 | (elf_code_to_howto_index): Add TLS relocs. | |
102 | (elfNN_ia64_check_relocs): Support TLS relocs. | |
103 | (allocate_global_data_got): Account for TLS .got data. | |
104 | (allocate_dynrel_entries): Account for TLS dynamic relocations. | |
105 | (elfNN_ia64_install_value): Supprt TLS relocs. | |
106 | (set_got_entry): Support TLS relocs. | |
107 | (elfNN_ia64_relocate_section): Likewise. | |
108 | ||
c62e1cc3 NC |
109 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
110 | ||
111 | * elf32-arm.h (elf32_arm_final_link_relocate): For the Thumb | |
112 | BLX reloc round the relocation up rather than down. | |
113 | * coff-arm.c (coff_arm_relocate_section): Likewise. | |
114 | ||
c5a43a5d L |
115 | 2002-05-21 H.J. Lu (hjl@gnu.org) |
116 | ||
117 | * linker.c (_bfd_generic_link_add_one_symbol): Allow multiple | |
118 | definition. | |
119 | ||
afbe61cf AM |
120 | 2002-05-22 Alan Modra <amodra@bigpond.net.au> |
121 | ||
122 | * elf64-ppc.c (ppc64_elf_size_stubs): Don't strip .branch_lt. | |
123 | (ppc64_elf_relocate_section): Handle unresolved relocs in opd. | |
124 | ||
9c07fe7c AM |
125 | 2002-05-22 Alan Modra <amodra@bigpond.net.au> |
126 | ||
127 | * elf64-ppc.c (ppc64_elf_relocate_section): Return false for | |
128 | unresolved relocs. | |
129 | (ppc64_elf_size_dynamic_sections): Check for splt NULL. | |
130 | ||
21611032 TS |
131 | 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
132 | ||
133 | * bfd/bfd.c (bfd_get_arch_size): Remove bfd_set_error call for | |
134 | non-ELF targets. | |
135 | ||
41241523 TS |
136 | 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
137 | ||
138 | * elf-bfd.h (elf_backend_emit_relocs): Change prototype to return | |
139 | an error value. | |
140 | * elflink.h (elf_link_output_relocs): Likewise. Improve error message. | |
141 | return with false on error. | |
142 | (elf_link_input_bfd): Check reloc_emitter return value. | |
143 | ||
658f2588 JT |
144 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
145 | ||
146 | * config.bfd (armeb-*-netbsdelf*): New target. | |
147 | ||
c862ae31 AM |
148 | 2002-05-20 Alan Modra <amodra@bigpond.net.au> |
149 | ||
150 | * elf64-ppc.c (ppc_build_one_stub): Point undefined function syms | |
151 | at the plt call stub. | |
152 | ||
6dd14845 TS |
153 | 2002-05-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
154 | ||
155 | * cpu-mips.c (mips_compatible): Don't try to check machine | |
156 | compatibility. | |
157 | ||
a58d9c34 TR |
158 | 2002-05-18 Tom Rix <trix@redhat.com> |
159 | ||
160 | * coff64-rs6000.c (_bfd_xcoff64_swap_aux_out): Fix C_FILE auxent. | |
161 | ||
ef60b7ff AM |
162 | 2002-05-17 Alan Modra <amodra@bigpond.net.au> |
163 | ||
164 | * elf64-ppc.c (ppc64_elf_info_to_howto): Formatting. | |
165 | (ppc64_elf_relocate_section): Don't warn about reloc overflow when | |
166 | we've already warned about an undefined symbol. Report more | |
167 | detail on reloc errors. | |
168 | ||
a703a6ea AM |
169 | 2002-05-17 Alan Modra <amodra@bigpond.net.au> |
170 | ||
171 | * acinclude.m4 (AM_INSTALL_LIBBFD): New. | |
172 | * configure.in: Invoke AM_INSTALL_LIBBFD. | |
173 | * Makefile.am (install-data-local): Revert 2002-05-13. Move to.. | |
174 | (install_libbfd): .. New target. | |
175 | (uninstall_libbfd): Likewise. | |
176 | (install-bfdlibLTLIBRARIES): Likewise. | |
177 | (uninstall-bfdlibLTLIBRARIES): Likewise. | |
178 | (bfdlibdir): New. | |
179 | (bfdincludedir): New. | |
180 | (lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES. | |
181 | * aclocal.m4: Regenerate. | |
182 | * configure: Regenerate. | |
183 | * Makefile.in: Regenerate. | |
184 | ||
2c13d98b NC |
185 | 2002-05-17 Stuart Balfour <sbalfour@cisco.com> |
186 | ||
187 | * hash.c (bfd_hash_lookup): Remove computation of len from inside | |
188 | hash loop. | |
189 | ||
629936c5 NC |
190 | 2002-05-16 Nick Clifton <nickc@cambridge.redhat.com> |
191 | ||
192 | * config.bfd: Add targets for sh64-linux (little endian and | |
193 | big endian). | |
194 | ||
e4cf60a8 NC |
195 | 2002-05-15 Laurent Pinchart <laurent.pinchart@skynet.be> |
196 | ||
197 | * peXXigen.c (pe_print_idata): Do not assume that the first thunk | |
198 | is located in the same section as the import table. Instead | |
199 | check, and if necessary load the section containing the thunk. | |
200 | ||
d1e66cd4 NC |
201 | 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com> |
202 | ||
203 | * aix5ppc-core.c (xcoff64_core_p): Replace bfd_read with | |
ea1e4b0d AM |
204 | bfd_bread. |
205 | (xcoff64_core_file_matches_executable_p): Replace bfd_read | |
206 | with bfd_bread. | |
d1e66cd4 | 207 | |
2d653fc7 AM |
208 | 2002-05-15 Alan Modra <amodra@bigpond.net.au> |
209 | ||
210 | * aix5ppc-core.c: Warning fixes. | |
211 | * aout-adobe.c (aout_32_bfd_link_just_syms): Define. | |
212 | * aout-target.h (MY_bfd_link_just_syms): Define. | |
213 | * aout-tic30.c (MY_bfd_link_just_syms): Define. | |
214 | * bfd.c (bfd_link_just_syms): Define. | |
215 | * binary.c (binary_bfd_link_just_syms): Define. | |
216 | * bout.c (b_out_bfd_link_just_syms): Define. | |
217 | * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update initializer. | |
218 | * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. | |
219 | * coffcode.h (coff_bfd_link_just_syms): Define. | |
220 | * elf-bfd.h (enum elf_link_info_type): Add ELF_INFO_TYPE_JUST_SYMS. | |
221 | (elf_discarded_section): Check for ELF_INFO_TYPE_JUST_SYMS. | |
222 | (_bfd_elf_link_just_syms): Declare. | |
223 | * elf.c (_bfd_elf_link_just_syms): New function. | |
224 | * elf-eh-frame.c (_bfd_elf_maybe_strip_eh_frame_hdr): Check that | |
225 | sections haven't already been discarded by the linker. | |
226 | * elflink.h (elf_link_add_object_symbols): Likewise for stab | |
227 | sections and SEC_MERGE sections. | |
228 | (elf_bfd_discard_info): Similarly here. | |
229 | * elfxx-target.h (bfd_elfNN_bfd_link_just_syms): Define. | |
230 | * i386msdos.c (msdos_bfd_link_just_syms): Define. | |
231 | * i386os9k.c (os9k_bfd_link_just_syms): Define. | |
232 | * ieee.c (ieee_bfd_link_just_syms): Define. | |
233 | * ihex.c (ihex_bfd_link_just_syms): Define. | |
234 | * libbfd-in.h (_bfd_nolink_bfd_link_just_syms): Define. | |
235 | (_bfd_generic_link_just_syms): Declare. | |
236 | * libecoff.h (_bfd_ecoff_bfd_link_just_syms): Define. | |
237 | * linker.c (_bfd_generic_link_just_syms): New function. | |
238 | * mmo.c (mmo_bfd_link_just_syms): Define. | |
239 | * nlm-target.h (nlm_bfd_link_just_syms): Define. | |
240 | * oasys.c (oasys_bfd_link_just_syms): Define. | |
241 | * ppcboot.c (ppcboot_bfd_link_just_syms): Define. | |
242 | * som.c (som_bfd_link_just_syms): Define. | |
243 | * srec.c (srec_bfd_link_just_syms): Define. | |
244 | * targets.c (struct bfd_target): Add _bfd_link_just_syms. | |
245 | (BFD_JUMP_TABLE_LINK): And here. | |
246 | * tekhex.c (tekhex_bfd_link_just_syms): Define. | |
247 | * versados.c (versados_bfd_link_just_syms): Define. | |
248 | * vms.c (vms_bfd_link_just_syms): Define. | |
249 | * libbfd.h: Regenerate. | |
250 | * bfd-in2.h: Regenerate. | |
251 | ||
cb7394f2 TS |
252 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
253 | ||
254 | * elf32-mips.c: Remove superfluous definitions copied from | |
255 | elfxx-mips.c. | |
256 | (bfd_elf32_bigmips_vec,bfd_elf32_littlemips_vec): Use the | |
257 | SGIish vectors to check the special case. | |
258 | (mips_elf_hi16_reloc): Fix comment. | |
259 | (mips_elf_got16_reloc): Likewise. | |
260 | (_bfd_mips_elf32_gprel16_reloc): Likewise. | |
261 | (elf_reloc_map): Code cleanup. | |
262 | (mips_reloc_map): Add comment. | |
263 | (bfd_elf23_bfd_reloc_type_lookup): Code cleanup. | |
264 | (mips_elf32_rtype_to_howto): Likewise. | |
265 | (mips_elf32_discard_info): Likewise. | |
266 | (elf32_mips_irix_compat): Invert logic: Only SGIish vectors | |
267 | lead to IRIX compatibility now. | |
268 | ||
8dc1a139 TS |
269 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
270 | ||
271 | * elfxx-mips.c: Call it IRIX, not Irix in comments. | |
272 | ||
2051e1b5 JT |
273 | 2002-05-13 Jason Thorpe <thorpej@wasabisystems.com> |
274 | ||
275 | * config.bfd (shle-*-netbsdelf*): Add target which includes | |
276 | sh64 support. | |
277 | ||
83954261 AM |
278 | 2002-05-13 David Edelsohn <edelsohn@gnu.org> |
279 | ||
280 | * configure.in: Revert 2002-04-07. Instead, auto-configure | |
281 | HAVE_ST_C_IMPL. | |
282 | * configure: Regenerate. | |
283 | * config.in: Regenerate. | |
284 | * rs6000-core.c (CNEW_IMPL): Guard use of c_impl with HAVE_ST_C_IMPL | |
285 | or AIX_5_CORE. | |
286 | ||
a9bf1154 NC |
287 | 2002-05-11 Federico G. Schwindt <fgsch@olimpo.com.br> |
288 | ||
289 | * configure.in (sparc*-*-openbsd*): Support sparc64-openbsd | |
290 | corefiles as well.2 | |
291 | * configure: Regenerate. | |
292 | ||
3129eb7a AM |
293 | 2002-05-13 Alan Modra <amodra@bigpond.net.au> |
294 | ||
295 | * Makefile.am (install-data-local): Install headers to | |
296 | $(exec_prefix)/include. | |
297 | * Makefile.in: Regenerate. | |
298 | ||
a9a32010 DJ |
299 | 2002-05-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
300 | Daniel Jacobowitz <drow@mvista.com> | |
301 | ||
302 | * coff-sh.c (sh_reloc_map): Map to R_SH_IMM32 for non-PE. Don't | |
303 | map BFD_RELOC_RVA. | |
304 | ||
305 | 2002-05-11 Federico G. Schwindt <fgsch@olimpo.com.br> | |
690cc98b NC |
306 | |
307 | * config.bfd (alpha*-*-openbsd*, sparc64*-*-openbsd*, | |
308 | hppa*-*-openbsd*): New targets. | |
309 | * configure.in (alpha*-*-openbsd*): Set COREFILE. | |
310 | * configure: Regenerate. | |
311 | ||
f1f0d9ab TR |
312 | 2002-05-10 Tom Rix <trix@redhat.com> |
313 | ||
ea1e4b0d | 314 | * coff64-rs6000.c (xcoff64_reloc_type_br): New function for |
f1f0d9ab TR |
315 | xcoff64_ppc_relocate_section. |
316 | * coff-rs6000.c : Extern common xcoff_reloc_type functions. | |
317 | * libxcoff.h: Common xcoff_reloc_type function declaration. | |
318 | ||
c432ba1a AM |
319 | 2002-05-10 Alan Modra <amodra@bigpond.net.au> |
320 | ||
16a10388 AM |
321 | * elf32-i386.c (elf_i386_relocate_section): Remove overflow checks |
322 | addend in 2002-05-09 commit. | |
323 | ||
c432ba1a AM |
324 | * elf32-hppa.c (elf32_hppa_size_stubs): Revert part of 2002-05-04, |
325 | don't look for stubs on all undefined syms. | |
326 | ||
4a335f3d AM |
327 | 2002-05-09 Alan Modra <amodra@bigpond.net.au> |
328 | ||
8fc39d5d AM |
329 | * elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete. |
330 | (ppc64_elf_howto_raw <R_PPC64_RELATIVE>): Not pc_relative or | |
331 | pcrel_offset. | |
332 | ||
4a335f3d AM |
333 | * elf32-i386.c (elf_howto_table): Comments. |
334 | (elf_i386_relocate_section): Handle more relocs for relocatable | |
335 | linking and against SEC_MERGE sections. | |
336 | ||
41fcb14e AM |
337 | 2002-05-08 Alan Modra <amodra@bigpond.net.au> |
338 | ||
339 | * elf32-ppc.c (ppc_elf_create_got): New function. | |
340 | (ppc_elf_create_dynamic_sections): Call ppc_elf_create_got before | |
ea1e4b0d | 341 | _bfd_elf_create_dynamic_sections. Correct .plt flags. |
41fcb14e AM |
342 | (ppc_elf_check_relocs): Use ppc_elf_create_got in place of |
343 | _bfd_elf_create_got_section. | |
344 | ||
b491616a AM |
345 | 2002-05-07 Alan Modra <amodra@bigpond.net.au> |
346 | ||
347 | * elf-bfd.h (struct elf_backend_data): Add rela_normal. | |
348 | * elfxx-target.h (elf_backend_rela_normal): Define. | |
349 | (elfNN_bed): Init rela_normal. | |
350 | * elflink.h (elf_link_input_bfd <emit_relocs>): Handle adjustment | |
351 | for section symbols here if rela_normal. Simplify abs section test. | |
352 | * elf-m10200.c (mn10200_elf_relocate_section): If relocatable, | |
353 | return immediately. Remove code handling relocatable linking. | |
354 | * elf-m10300.c (mn10300_elf_relocate_section): Likewise. | |
355 | * elf32-fr30.c (fr30_elf_relocate_section): Likewise. | |
356 | * elf32-i370.c (i370_elf_relocate_section): Likewise. | |
357 | * elf32-i860.c (elf32_i860_relocate_section): Likewise. | |
358 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
359 | * elf32-mcore.c (mcore_elf_relocate_section): Likewise. | |
360 | * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. | |
361 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
362 | * elf32-s390.c (elf_s390_relocate_section): Likewise. | |
363 | * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. | |
364 | * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. | |
365 | * elf64-s390.c (elf_s390_relocate_section): Likewise. | |
366 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. | |
367 | * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. | |
368 | * elf32-arm.h (elf32_arm_relocate_section): Likewise #ifndef USE_REL. | |
369 | * elf32-m32r.c (m32r_elf_relocate_section): Likewise. | |
370 | * elf-m10200.c (elf_backend_rela_normal): Define. | |
371 | * elf-m10300.c (elf_backend_rela_normal): Define. | |
372 | * elf32-fr30.c (elf_backend_rela_normal): Define. | |
373 | * elf32-i370.c (elf_backend_rela_normal): Define. | |
374 | * elf32-i860.c (elf_backend_rela_normal): Define. | |
375 | * elf32-m68k.c (elf_backend_rela_normal): Define. | |
376 | * elf32-mcore.c (elf_backend_rela_normal): Define. | |
377 | * elf32-openrisc.c (elf_backend_rela_normal): Define. | |
378 | * elf32-ppc.c (elf_backend_rela_normal): Define. | |
379 | * elf32-s390.c (elf_backend_rela_normal): Define. | |
380 | * elf32-xstormy16.c (elf_backend_rela_normal): Define. | |
381 | * elf64-ppc.c (elf_backend_rela_normal): Define. | |
382 | * elf64-s390.c (elf_backend_rela_normal): Define. | |
383 | * elf64-x86-64.c (elf_backend_rela_normal): Define. | |
384 | * elfxx-ia64.c (elf_backend_rela_normal): Define. | |
385 | * elf32-arm.h (elf_backend_rela_normal): Define #ifndef USE_REL. | |
386 | * elf32-m32r.c (elf_backend_rela_normal): Likewise. | |
387 | ||
df212a7e NC |
388 | 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com> |
389 | ||
390 | * elf32-arm.h (elf32_arm_final_link_relocate): Convert | |
391 | 'reloc_signed_max' and 'reloc_signed_min' into half-word offsets. | |
392 | ||
3decf53c AM |
393 | 2002-05-06 Alan Modra <amodra@bigpond.net.au> |
394 | ||
395 | * elflink.h (elf_link_input_bfd <emit_relocs>): Adjust r_offset | |
396 | when not relocatable. Fix reloc_emitter call for K&R. | |
397 | ||
f46c2da6 AM |
398 | 2002-05-04 Alan Modra <amodra@bigpond.net.au> |
399 | ||
400 | * elf64-ppc.c (ppc64_elf_relocate_section): Reinstate code | |
401 | reloading local sym addend mistakenly removed in 2002-05-01 change. | |
402 | ||
403 | * dwarf2.c (struct line_head): Make prologue_length a bfd_vma. | |
404 | (read_abbrevs): Change "offset" param to bfd_vma. | |
405 | (parse_comp_unit): Change "version" and addr_size to unsigned ints. | |
406 | Change "abbrev_offset" to bfd_vma. | |
407 | (read_indirect_string): Use correct conversion chars in error | |
408 | message format string, cast bfd_vma's to unsigned long. | |
409 | (read_abbrevs): Likewise. | |
410 | (read_attribute_value): Likewise. | |
411 | (decode_line_info): Likewise. | |
412 | (scan_unit_for_functions): Likewise. | |
413 | (parse_comp_unit): Likewise. | |
414 | ||
59862849 TR |
415 | 2002-05-04 Tom Rix <trix@redhat.com> |
416 | ||
417 | * coffswap.h (coff_swap_reloc_in): Remove XCOFF support. | |
418 | (coff_swap_reloc_out): Same. | |
419 | * coff-rs6000.c: (xcoff_swap_reloc_in): Moved from coffswap.h. | |
420 | (xcoff_swap_reloc_out): Same. | |
421 | (xcoff_rtype2howto): Renamed from _bfd_xcoff_rtype2howto. Special | |
422 | case some 16 bit relocs. Add reloc value to output. | |
423 | (xcoff_howto_table): Remove 64 bit R_POS, add 16 bit | |
ea1e4b0d | 424 | R_RBR. Improve names. |
59862849 TR |
425 | (_bfd_xcoff_reloc_type_lookup): Adjust for removal of 64 bit R_POS. |
426 | (bfd_xcoff_backend_data): Update with new reloc swap names. | |
427 | (bfd_pmac_xcoff_backend_data) : Same. | |
428 | * coff64-rs6000.c: (xcoff64_swap_reloc_in): Moved from coffswap.h. | |
429 | (xcoff64_swap_reloc_out): Same. | |
ea1e4b0d | 430 | (xcoff64_rtype2howto): Special case some 16 bit relocs and 32 bit |
59862849 | 431 | R_POS. Add reloc value to output. |
ea1e4b0d AM |
432 | (xcoff64_howto_table): Move 64 bit R_POS to first entry. Add 16 |
433 | bit R_RBR. Improve names, masks. | |
59862849 TR |
434 | (xcoff64_reloc_type_lookup): Adjust for move of 64 bit R_POS. |
435 | (bfd_xcoff_backend_data): Update with new reloc swap names. | |
436 | (bfd_xcoff_aix5_backend_data) : Same. | |
437 | ||
b4655ea9 AM |
438 | 2002-05-04 Alan Modra <amodra@bigpond.net.au> |
439 | ||
440 | * elf32-hppa.c (struct elf32_hppa_link_hash_table): Add | |
441 | bfd_count top_index, input_list, all_local_syms. | |
442 | (elf32_hppa_setup_section_lists): New function, split from | |
443 | elf32_hppa_size_stubs. | |
444 | (elf32_hppa_next_input_section): Likewise. | |
445 | (group_sections): Likewise. | |
446 | (get_local_syms): Likewise. | |
447 | (elf32_hppa_size_stubs): Adjust for split out functions. Look for | |
448 | stubs on undefined syms too. | |
449 | (elf32_hppa_set_gp): Use bfd_link_hash* instead of elf_link_hash*. | |
8fc39d5d | 450 | Only access htab elf fields when we have an elf hash table. |
b4655ea9 AM |
451 | * elf32-hppa.h (elf32_hppa_setup_section_lists): Declare. |
452 | (elf32_hppa_next_input_section): Declare. | |
453 | ||
301e3139 AM |
454 | 2002-05-04 Bob Byrnes <byrnes@curl.com> |
455 | ||
456 | * opncls.c (_bfd_new_bfd_contained_in): Check return value of | |
457 | _bfd_new_bfd. | |
458 | ||
7c5fcef7 L |
459 | 2002-05-03 H.J. Lu (hjl@gnu.org) |
460 | ||
461 | * elfxx-mips.c (mips_elf_link_hash_entry): Add forced_local. | |
462 | (mips_elf_link_hash_newfunc): Initialize forced_local to false. | |
463 | (mips_elf_record_global_got_symbol): Call _bfd_mips_elf_hide_symbol | |
464 | to hide a global symbol. | |
465 | (_bfd_mips_elf_hide_symbol): Return if forced_local is true. Set | |
ea1e4b0d | 466 | forced_local to true. |
7c5fcef7 | 467 | |
84de6048 RH |
468 | 2002-05-02 Richard Henderson <rth@redhat.com> |
469 | ||
470 | * elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocs | |
471 | vs SHN_UNDEF to zero. | |
472 | ||
805fc799 AM |
473 | 2002-05-02 Alan Modra <amodra@bigpond.net.au> |
474 | ||
c061c2d8 AM |
475 | * elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_SECTOFF>): Change to a |
476 | 16 bit reloc. | |
477 | <R_PPC64_SECTOFF_DS>: Likewise. | |
478 | (ppc64_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to | |
479 | SECTOFF reloc. | |
480 | * elf32-ppc.c (ppc_elf_howto_raw <R_PPC_SECTOFF>): Correct. | |
481 | (ppc_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to | |
482 | SECTOFF reloc. | |
483 | ||
805fc799 AM |
484 | * elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete. |
485 | (ppc64_elf_ha_reloc): New function. | |
486 | (ppc64_elf_brtaken_reloc): New function. | |
487 | (ppc64_elf_sectoff_reloc): New function. | |
488 | (ppc64_elf_sectoff_ha_reloc): New function. | |
489 | (ppc64_elf_toc_reloc): New function. | |
490 | (ppc64_elf_toc_ha_reloc): New function. | |
491 | (ppc64_elf_toc64_reloc): New function. | |
492 | (ppc64_elf_unhandled_reloc): New function. | |
493 | (ppc64_elf_howto_raw): Use the above. | |
494 | <R_PPC64_RELATIVE>: Mark pc_relative, pcrel_offset. | |
495 | <R_PPC64_SECTOFF>: Not pc_relative or pcrel_offset. Fix dst_mask. | |
496 | <R_PPC64_SECTOFF_DS>: Likewise. | |
497 | (IS_ABSOLUTE_RELOC): Update. | |
498 | (struct ppc_link_hash_table): Add have_undefweak. | |
499 | (ppc64_elf_link_hash_table_create): Init. | |
500 | (func_desc_adjust): Set have_undefweak. | |
501 | (ppc64_elf_func_desc_adjust): Call func_desc_adjust earlier. Only | |
502 | add the .sfpr blr when have_undefweak. | |
503 | (ppc64_elf_setup_section_lists): Check hash table flavour. | |
504 | (ppc64_elf_next_input_section): Move output_section->owner test to | |
505 | ppc64elf.em. | |
506 | (ppc64_elf_set_toc): Rename to ppc64_elf_toc, remove info param | |
507 | and relocatable test. Return TOCstart and don't set elf_gp. | |
508 | (ppc64_elf_relocate_section): Correct BRTAKEN/BRNTAKEN branch | |
509 | offset calculation. Add assert on weak sym branch tweaks. | |
510 | * elf64-ppc.h (ppc64_elf_set_toc): Delete. | |
511 | (ppc64_elf_toc): Declare. | |
512 | (ppc64_elf_next_input_section): Update. | |
ea1e4b0d | 513 | |
818c39a3 AM |
514 | 2002-05-01 Alan Modra <amodra@bigpond.net.au> |
515 | ||
516 | * syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL | |
517 | file_name. | |
518 | ||
721956f4 AM |
519 | 2002-05-01 Alan Modra <amodra@bigpond.net.au> |
520 | ||
521 | * elf64-ppc.c (CROR_151515, CROR_313131): Define. | |
522 | (ppc64_elf_relocate_section): Use them. Don't look for plt calls | |
523 | on R_PPC64_ADDR24 relocs. Require a nop or no link reg on plt | |
524 | call branches. Correct undefined weak destination. | |
525 | (ppc64_elf_func_desc_adjust): Always create at least one blr in | |
526 | .sfpr, and correct case where either only savef* or restf* is | |
527 | needed. | |
528 | ||
529 | Long branch stubs, multiple stub sections. | |
530 | * elf64-ppc.h (ppc64_elf_setup_section_lists): Declare. | |
531 | (ppc64_elf_next_input_section): Declare. | |
532 | * elf64-ppc.c: Move linker-only prototypes. | |
533 | (STUB_SUFFIX): Define. | |
534 | (enum ppc_stub_type): New. | |
535 | (struct ppc_stub_hash_entry): New. | |
536 | (struct ppc_branch_hash_entry): New. | |
537 | (struct ppc_link_hash_entry): Add stub_cache, oh. | |
538 | (struct ppc_link_hash_table): Add stub_hash_table etc. Remove | |
539 | sstub. Add sbrlt, srelbrlt, has_14bit_branch, stub_iteration. | |
540 | Rename plt_overflow to stub_error. | |
541 | (ppc_stub_hash_lookup): Define. | |
542 | (ppc_branch_hash_lookup): Define. | |
543 | (stub_hash_newfunc): New function. | |
544 | (branch_hash_newfunc): New function. | |
545 | (link_hash_newfunc): Init new fields. | |
546 | (ppc64_elf_link_hash_table_create): Likewise. | |
547 | (ppc64_elf_link_hash_table_free): New function. | |
548 | (ppc_stub_name): New function. | |
549 | (ppc_get_stub_entry): New function. | |
550 | (ppc_add_stub): New function. | |
551 | (create_linkage_sections): Use bfd_make_section_anyway. Create | |
552 | .branch_lt and .rela.branch_lt sections. Don't create .stub. | |
553 | (ppc64_elf_check_relocs): Set has_14bit_branch on R_PPC64_REL14*, | |
554 | and set up for plt call stubs. Link func and func desc syms. | |
555 | (ppc64_elf_gc_sweep_hook): Handle REL14* as per REL24. | |
556 | (func_desc_adjust): Avoid hash lookup when func desc sym available | |
557 | via shortcut, and set links when processing. | |
558 | (ppc64_elf_hide_symbol): Likewise. | |
559 | (allocate_dynrelocs): Don't allocate stub section here. | |
560 | (ppc64_elf_size_dynamic_sections): Handle sbrlt and srelbrlt. | |
561 | Remove sstub code. | |
562 | (ppc_type_of_stub): New function. | |
563 | (build_one_stub): Delete. | |
564 | (ppc_build_one_stub): New function. | |
565 | (ppc_size_one_stub): New function. | |
566 | (ppc64_elf_setup_section_lists): New function. | |
567 | (ppc64_elf_next_input_section): New function. | |
568 | (group_sections): New function. | |
569 | (get_local_syms): New function. | |
570 | (ppc64_elf_size_stubs): Rewrite. | |
571 | (ppc64_elf_build_stubs): Rewrite. | |
572 | (ppc64_elf_relocate_section): Look up stub entry for REL24 | |
573 | relocs. Don't propagate REL14* to dynamic objects. Look for long | |
574 | branch stubs if REL14* or REL24 relocs won't reach. | |
575 | (bfd_elf64_bfd_link_hash_table_free): Define. | |
576 | ||
09c2219b MM |
577 | 2002-04-30 Mark Mitchell <mark@codesourcery.com> |
578 | ||
579 | * bfd/config.bfd: Add support for powerpc-*-windiss. | |
580 | ||
07b678c0 TR |
581 | 2002-04-30 Tom Rix <trix@redhat.com> |
582 | ||
583 | * xcofflink.c (xcoff_link_add_symbols): Always copy undef C_EXT | |
584 | symbol names into the hash table. | |
585 | ||
dbe341c6 TR |
586 | 2002-04-28 Tom Rix <trix@redhat.com> |
587 | ||
588 | * coff-rs6000.c (xcoff_calculate_relocation) : Function table for | |
ea1e4b0d | 589 | calulating relocations. |
dbe341c6 | 590 | (xcoff_complain_overflow) : Function table for relocation errors. |
ea1e4b0d AM |
591 | (xcoff_ppc_relocate_section): Use relocation and complain function |
592 | tables. | |
593 | (xcoff_complain_overflow_unsigned_func): New complain function. | |
dbe341c6 TR |
594 | (xcoff_complain_overflow_signed_func): Same. |
595 | (xcoff_complain_overflow_bitfield_func): Same. | |
596 | (xcoff_complain_overflow_dont_func): Same. | |
597 | (xcoff_reloc_type_crel): New recot function. | |
598 | (xcoff_reloc_type_br): Same. | |
599 | (xcoff_reloc_type_ba): Same. | |
600 | (xcoff_reloc_type_toc): Same. | |
601 | (xcoff_reloc_type_rel): Same. | |
602 | (xcoff_reloc_type_neg): Same. | |
603 | (xcoff_reloc_type_pos): Same. | |
604 | (xcoff_reloc_type_fail): Same. | |
605 | (xcoff_reloc_type_noop): Same. | |
606 | * libxcoff.h : Declare common parts for xcoff64. | |
607 | * coff64-rs6000.c (xcoff64_ppc_relocate_section): Use relocation | |
ea1e4b0d | 608 | and complain function tables. |
dbe341c6 | 609 | |
985142a4 AM |
610 | 2002-04-28 Alan Modra <amodra@bigpond.net.au> |
611 | ||
612 | * elf64-x86-64.c (struct elf64_x86_64_dyn_relocs): Comment typo. | |
613 | * elf32-hppa.c (elf32_hppa_final_link): Formatting. | |
614 | ||
eba91044 AM |
615 | 2002-04-26 Alan Modra <amodra@bigpond.net.au> |
616 | ||
e54fdaa5 AM |
617 | * opncls.c (bfd_make_readable): Call bfd_section_list_clear. |
618 | * xcofflink.c (xcoff_link_add_dynamic_symbols): Likewise. | |
619 | ||
a50c1845 AM |
620 | * elflink.h (elf_bfd_final_link): Ensure input bfd class is the |
621 | same as the output before calling elf_link_input_bfd. | |
622 | ||
eba91044 AM |
623 | * coffcode.h (coff_compute_section_file_positions): Set |
624 | section_tail after shuffling section list. | |
625 | ||
3c25c5f6 NC |
626 | 2002-04-24 Christian Groessler <chris@groessler.org> |
627 | ||
628 | * coff-z8k.c (extra_case): Fix R_IMM32 relocations: The | |
629 | addresses are 23bit with a special layout, not plain 32bit | |
630 | values. Prevent relocation of immediate values. | |
631 | ||
40d32fc6 CD |
632 | 2002-04-24 Chris G. Demetriou <cgd@broadcom.com> |
633 | ||
634 | * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or | |
635 | MIPS-16 ASE flags are set, print something to indicate that. | |
636 | ||
067fa4a6 AM |
637 | 2002-04-23 Alan Modra <amodra@bigpond.net.au> |
638 | ||
639 | * elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition | |
640 | under which a plt call stub is used. | |
641 | (final_link_relocate): Similarly. | |
642 | (allocate_plt_static): Clear h-plabel except when plt entry is | |
643 | exclusively used for a plabel. | |
644 | (allocate_dynrelocs): Use the above to simplify plt sizing. | |
645 | (struct elf32_hppa_link_hash_table): Add has_22bit_branch. | |
646 | (elf32_hppa_link_hash_table_create): Init. | |
647 | (BL22_RP): Define. | |
648 | (hppa_build_one_stub): Use BL22_RP if has_22bit_branch. | |
649 | (elf32_hppa_check_relocs): Set has_22bit_branch. | |
650 | ||
651 | * elf32-hppa.c (elf32_hppa_check_relocs): Remove debug message. | |
652 | (final_link_relocate): Likewise. | |
653 | ||
af40ce3c JJ |
654 | 2002-04-22 Jakub Jelinek <jakub@redhat.com> |
655 | ||
656 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't build | |
657 | search table if some FDE is DW_EH_PE_aligned encoded either. | |
658 | (_bfd_elf_write_section_eh_frame): Handle terminating FDE specially. | |
659 | ||
09ae86c2 JJ |
660 | 2002-04-22 Richard Smith <richard@ex-parrot.com> |
661 | Jakub Jelinek <jakub@redhat.com> | |
662 | ||
663 | * elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative. | |
664 | (_bfd_elf_discard_section_eh_frame): Set it for CIEs with pcrel | |
665 | encoded personality. | |
666 | (_bfd_elf_write_section_eh_frame): Adjust pcrel encoded personality | |
667 | for CIE/FDE removal. | |
668 | ||
deeb2cd7 TR |
669 | 2002-04-20 Tom Rix <trix@redhat.com> |
670 | ||
671 | * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Fix C_FILE auxent. | |
672 | ||
99dc0092 AM |
673 | 2002-04-20 Alan Modra <amodra@bigpond.net.au> |
674 | ||
aa3d5824 AM |
675 | * archures.c (bfd_lookup_arch): Move the list order comment.. |
676 | (struct bfd_arch_info): ..to where it belongs. | |
677 | * bfd-in2.h: Regenerate. | |
678 | ||
99dc0092 AM |
679 | * archures.c (bfd_lookup_arch): Add comment on list order. |
680 | (bfd_default_set_arch_mach): Use bfd_lookup_arch. | |
681 | * cpu-powerpc.c (bfd_powerpc_archs): Re-order so that the default | |
682 | is always at head of list. | |
683 | ||
7831a775 NC |
684 | 2002-04-18 Nick Clifton <nickc@cambridge.redhat.com> |
685 | ||
686 | * coff-arm.c (coff_thumb_pcrel_12, coff_thumb_pcrel_9, | |
687 | insert_thumb_branch, record_thumb_to_arm_glue): Suppress | |
688 | definition of these functions for ARM_WINCE builds as they are | |
689 | not used. | |
ea1e4b0d | 690 | (SWAP_IN_RELOC_OFFSET, SWAP_OUT_RELOC_OFFSET): Do not define |
7831a775 NC |
691 | for ARM_WINCE builds. |
692 | ||
693 | 2002-04-18 Nick Clifton <nickc@cambridge.redhat.com> | |
694 | ||
ea1e4b0d | 695 | * coff-arm.c (bfd_arm_process_before_allocation): |
7831a775 NC |
696 | |
697 | 2002-04-17 J"orn Rennecke <joern.rennecke@superh.com> | |
a44d7f9c JR |
698 | |
699 | * cpu-sh.c (scan_mach): Delete. | |
700 | (arch_info_struct): Replace scan_mach with bfd_default_scan. | |
701 | (bfd_sh_arch): Likewise. | |
702 | ||
3d8dbe36 NC |
703 | 2002-04-16 Nick Clifton <nickc@cambridge.redhat.com> |
704 | ||
705 | * ihex.c (ihex_write_object_contents): Fix check for records | |
706 | crossing 64K boundaries. | |
707 | ||
4ab82700 AM |
708 | 2002-04-16 Alan Modra <amodra@bigpond.net.au> |
709 | ||
710 | * elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table | |
711 | type rather than just assuming entries are ELF. | |
712 | * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. | |
713 | * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. | |
714 | * elf64-sparc.c (sparc64_elf_add_symbol_hook): Likewise. | |
715 | * elf64-mmix.c (mmix_elf_add_symbol_hook): Use bfd_link_hash_entry | |
716 | rather than elf_link_hash_entry. | |
717 | ||
036fe0fe RH |
718 | 2002-04-15 Richard Henderson <rth@redhat.com> |
719 | ||
720 | * elf32-mips.c (mips_elf32_object_p): Revert 0404 fragment: allow | |
721 | n32 binaries. | |
722 | ||
c4f3d130 NC |
723 | 2002-04-15 Michael Snyder <msnyder@redhat.com> |
724 | ||
725 | * opncls.c (bfd_close): Write contents if writeable. | |
726 | Minor formatting tidy-ups. | |
727 | ||
4ab82700 | 728 | 2002-04-15 Alan Modra <amodra@bigpond.net.au> |
27242387 AM |
729 | |
730 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Check the hash table type. | |
731 | ||
0c04d169 MS |
732 | 2002-04-12 Michael Snyder <msnyder@redhat.com> |
733 | ||
734 | * bfd-in.h (bfd_get_section_lma): New access macro. | |
735 | Minor white-space fix-up. | |
736 | ||
89d4966f AM |
737 | 2002-04-12 Alan Modra <amodra@bigpond.net.au> |
738 | ||
739 | * elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or | |
740 | header pad. | |
741 | ||
8d0da3c2 DD |
742 | 2002-04-09 DJ Delorie <dj@redhat.com> |
743 | ||
744 | * elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks. | |
745 | ||
05793179 NC |
746 | 2002-04-09 Casper S. Hornstrup <chorns@users.sourceforge.net> |
747 | ||
748 | * coffcode.h (coff_read_word): New. | |
749 | (coff_compute_checksum): New. | |
750 | (coff_apply_checksum): New. | |
751 | (coff_write_object_contents): Call coff_apply_checksum () to | |
752 | apply checksum to PE image. | |
753 | ||
46fe4e66 AM |
754 | 2002-04-08 Randolph Chung <tausq@debian.org> |
755 | ||
756 | * elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h. | |
757 | (elf32_hppa_final_link): Split out sorting logic to.. | |
758 | * elf-hppa.h (elf_hppa_sort_unwind): ..here. | |
759 | (elf_hppa_final_link): Call elf_hppa_sort_unwind. | |
760 | ||
3b5b409c AC |
761 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
762 | ||
763 | * configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]* | |
764 | pattern. | |
765 | * configure: Re-generate. | |
766 | ||
ac7b6ceb AC |
767 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
768 | ||
769 | * configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version | |
770 | is greater or equal to 4.3.3. | |
771 | * configure: Regenerate. | |
772 | Fix PR gdb/344. | |
773 | ||
44aa49bb HPN |
774 | 2002-04-05 Hans-Peter Nilsson <hp@axis.com> |
775 | ||
776 | * elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL, | |
777 | R_CRIS_32_PCREL>: Fix typo in name. | |
778 | (cris_elf_check_relocs): Always create .rela.got here when | |
779 | R_CRIS_16_GOTPLT or R_CRIS_32_GOTPLT is seen. | |
780 | (elf_cris_adjust_gotplt_to_got): Don't create .rela.got here; | |
781 | assume it's created. | |
782 | ||
e2d34d7d DJ |
783 | 2002-04-04 Daniel Jacobowitz <drow@mvista.com> |
784 | ||
785 | * aout-adobe.c (aout_32_bfd_link_hash_table_free): Define. | |
786 | * aout-target.h (MY_bfd_link_hash_table_free): Conditionally | |
787 | define. | |
788 | * aout-tic30.c (MY_bfd_link_hash_table_free): Likewise. | |
789 | * bfd.c (bfd_link_hash_table_free): Define. | |
790 | * binary.c (binary_bfd_link_hash_table_free): Define. | |
791 | * bout.c (b_out_bfd_link_hash_table_free): Define. | |
792 | * coff-rs6000.c (rs6000coff_vec): Include | |
793 | _bfd_generic_link_hash_table_free. | |
794 | (pmac_xcoff_vec): Likewise. | |
795 | * coff64-rs6000.c (rs6000coff64_vec): Likewise. | |
796 | (aix5coff64_vec): Likewise. | |
797 | * coffcode.h (coff_bfd_link_hash_table_free): Conditionally define. | |
798 | * elf-m10300.c (elf32_mn10300_link_hash_table_free): New function. | |
799 | (bfd_elf32_bfd_link_hash_table_free): Define. | |
800 | * elf32-hppa.c (elf32_hppa_link_hash_table_free): New function. | |
801 | (bfd_elf32_bfd_link_hash_table_free): Define. | |
802 | * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally | |
803 | define. | |
804 | * i386msdos.c (msdos_bfd_link_hash_table_free): Define. | |
805 | * i386os9k.c (os9k_bfd_link_hash_table_free): Define. | |
806 | * ieee.c (ieee_bfd_link_hash_table_free): Define. | |
807 | * ihex.c (ihex_bfd_link_hash_table_free): Define. | |
808 | * libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define. | |
809 | (_bfd_generic_link_hash_table_free): Add prototype. | |
810 | * libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype. | |
811 | * libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define. | |
812 | * linker.c (_bfd_generic_link_hash_table_free): New function. | |
813 | * mmo.c (mmo_bfd_link_hash_table_free): Define. | |
814 | * nlm-target.h (nlm_bfd_link_hash_table_free): Define. | |
815 | * oasys.c (oasys_bfd_link_hash_table_free): Define. | |
816 | * ppcboot.c (ppcboot_bfd_link_hash_table_free): Define. | |
817 | * som.c (som_bfd_link_hash_table_free): Define. | |
818 | * srec.c (srec_bfd_link_hash_table_free): Define. | |
819 | * tekhex.c (tekhex_bfd_link_hash_table_free): Define. | |
820 | * versados.c (versados_bfd_link_hash_table_free): Define. | |
821 | * vms.c (vms_bfd_link_hash_table_free): New function. | |
822 | * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function. | |
823 | ||
824 | * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc | |
825 | instead of bfd_alloc. | |
826 | * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise. | |
827 | * coff-mcore.c (coff_mcore_link_hash_table_create): Likewise. | |
828 | * coff-ppc.c (ppc_coff_link_hash_table_create): Likewise. | |
829 | * cofflink.c (_bfd_coff_link_hash_table_create): Likewise. | |
830 | * ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise. | |
831 | * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise. | |
832 | * elf.c (_bfd_elf_link_hash_table_create): Likewise. | |
833 | * elf32-arm.h (elf32_arm_link_hash_table_create): Likewise. | |
834 | * elf32-cris.c (elf_cris_link_hash_table_create): Likewise. | |
835 | * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise. | |
836 | * elf32-i386.c (elf_i386_link_hash_table_create): Likewise. | |
837 | * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise. | |
838 | * elf32-s390.c (elf_s390_link_hash_table_create): Likewise. | |
839 | * elf32-sh.c (sh_elf_link_hash_table_create): Likewise. | |
840 | * elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise. | |
841 | * elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise. | |
842 | * elf64-s390.c (elf_s390_link_hash_table_create): Likewise. | |
843 | * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise. | |
844 | * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise. | |
845 | * elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise. | |
846 | * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. | |
847 | * linker.c (_bfd_generic_link_hash_table_create): Likewise. | |
848 | * m68klinux.c (linux_link_hash_table_create): Likewise. | |
849 | * sparclinux.c (linux_link_hash_table_create): Likewise. | |
850 | * sunos.c (sunos_link_hash_table_create): Likewise. | |
851 | * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise. | |
852 | ||
853 | * targets.c: Add _bfd_link_hash_table_free to xvec. | |
854 | ||
855 | * bfd-in2.h: Regenerate. | |
856 | * libbfd.h: Regenerate. | |
857 | * libcoff.h: Regenerate. | |
858 | ||
830629ab AM |
859 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
860 | ||
861 | * dep-in.sed: Cope with absolute paths. | |
862 | * Makefile.am (dep.sed): Subst TOPDIR, and not INCDIR. | |
863 | Run "make dep-am". | |
864 | * Makefile.in: Regenerate. | |
865 | * coff-arm.c: Fix copyright date. | |
866 | * cpu-h8300.c: Likewise. | |
867 | * cpu-i370.c: Likewise. | |
868 | * cpu-s390.c: Likewise. | |
869 | * cpu-mips.c: Likewise. | |
870 | * po/SRC-POTFILES.in: Regenerate. | |
871 | ||
c6e90b02 TS |
872 | 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
873 | ||
874 | * Makefile.am: Add elfxx-mips.c to the known backends. | |
875 | (elf32-mips.lo): remove dependency to coff/external.h. | |
876 | * Makefile.in: Regenerate. | |
877 | * configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo | |
878 | Remove elf32-mips.lo from 64 bit vectors. Update dependencies | |
879 | accordingly. | |
880 | * configure: Regenerate. | |
881 | * elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h. | |
882 | (irix_compat_t): IRIX compatibility level, moved from elf32-mips.c. | |
883 | (elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New | |
884 | MIPS specific backend functions. | |
885 | * elf32-mips.c: Moved most code to elfxx-mips.c. | |
886 | (mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make | |
887 | static. | |
888 | (mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc. | |
889 | (mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc. | |
890 | (mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc. | |
891 | (mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed | |
892 | interface to allow selection of the right REL or RELA howto table. | |
893 | (mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made | |
894 | static. Let it refuse n32 objects. | |
895 | (elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus. | |
896 | (elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo. | |
897 | (elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info. | |
898 | (elf32_mips_ignore_discarded_relocs): Rename from | |
899 | _bfd_elf32_mips_ignore_discarded_relocs. | |
900 | (elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section. | |
901 | (elf32_mips_irix_compat): New function, replaces IRIX_COMPAT. | |
902 | (elf_mips_howto_table_rela): Remove. | |
903 | * elf64-mips.c: Moved most code to elfxx-mips.c. | |
904 | (bfd_elf64_bfd_reloc_type_lookup): Make static. | |
905 | (mips_elf64_rtype_to_howto): New function. | |
906 | (mips_elf64_object_p): Likewise. | |
907 | (elf64_mips_irix_compat): Likewise. | |
908 | * elfxx-mips.c: New file containing common code merged together from | |
909 | elf32-mips.c and elf64-mips.c. | |
910 | * elfxx-mips.h: New file containing MIPS specific prototypes from | |
911 | elf-bfd.h. | |
912 | * elfxx-target.h: Add handling for elf_backend_mips_irix_compat and | |
913 | elf_backend_mips_rtype_to_howto. | |
914 | ||
d8dce692 AM |
915 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
916 | ||
917 | * srec.c (MAXCHUNK, Chunk): Revise comments. | |
918 | (srec_write_record): Correct buffer size. | |
919 | (srec_write_header): Do without intermediate buffer. | |
920 | (srec_write_section): Validate Chunk. | |
921 | (srec_write_terminator): Pass NULL instead of dummy buffer. | |
922 | (srec_write_symbols): Pass file and symbol names directly to | |
923 | bfd_bwrite so sprintf won't overflow buffer. | |
924 | ||
b88a866a JJ |
925 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
926 | ||
927 | * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic | |
928 | PC relative relocs against hidden symbols. | |
929 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
930 | ||
d7866f04 AM |
931 | 2002-04-03 Alan Modra <amodra@bigpond.net.au> |
932 | ||
933 | * elf.c (_bfd_elf_make_section_from_shdr): When setting section | |
934 | LMAs, loop over segments until p_vaddr and p_memsz specify an | |
935 | extent enclosing the section. | |
936 | ||
9e81ee67 NC |
937 | 2002-04-02 Nick Clifton <nickc@cambridge.redhat.com> |
938 | ||
939 | * ihex.c (ihex_write_object_contents): Do not allow records to | |
940 | cross a 64K boundary - wrap if necessary. | |
941 | ||
d2b64500 JT |
942 | 2002-04-01 Nathan Williams <nathanw@wasabisystems.com> |
943 | ||
944 | * elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one error | |
945 | which caused the returned LWP ID to always be 0. | |
946 | ||
e36f7d53 RH |
947 | 2002-04-01 Richard Henderson <rth@redhat.com> |
948 | ||
949 | * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. | |
950 | (elf32_sparc_relocate_section): Use it to figure out when to | |
951 | initialize .got entries. | |
952 | * elf64-sparc.c: Similarly. | |
953 | ||
e92d460e AM |
954 | 2002-03-28 Alan Modra <amodra@bigpond.net.au> |
955 | ||
956 | * linker.c (link_action): Ignore duplicate warning syms. | |
957 | (_bfd_generic_link_write_global_symbol): Follow warning symbol link. | |
958 | * elflink.h (elf_adjust_dynstr_offsets): Likewise. | |
959 | (elf_adjust_dynamic_symbol): Likewise. | |
960 | (elf_export_symbol): Likewise. | |
961 | (elf_link_find_version_dependencies): Likewise. | |
962 | (elf_link_assign_sym_version): Likewise. | |
963 | (elf_link_sec_merge_syms): Likewise. | |
964 | (elf_link_output_extsym): Likewise. | |
965 | (elf_gc_sweep_symbol): Likewise. | |
966 | (elf_gc_propagate_vtable_entries_used): Likewise. | |
967 | (elf_gc_smash_unused_vtentry_relocs): Likewise. | |
968 | (elf_gc_allocate_got_offsets): Likewise. | |
969 | (elf_collect_hash_codes): Likewise. | |
970 | * elflink.c (elf_link_renumber_hash_table_dynsyms): Likewise. | |
971 | * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): Likewise. | |
972 | (elf_hppa_remark_useless_dynamic_symbols): Likewise. | |
973 | * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise. | |
974 | * elf32-arm.h (elf32_arm_discard_copies): Likewise. | |
975 | * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Likewise. | |
976 | (elf_cris_discard_excess_dso_dynamics): Likewise. | |
977 | * elf32-hppa.c (clobber_millicode_symbols): Likewise. | |
978 | (mark_PIC_calls): Likewise. | |
979 | (allocate_plt_static): Likewise. | |
980 | (allocate_dynrelocs): Likewise. | |
981 | (readonly_dynrelocs): Likewise. | |
982 | * elf32-i386.c (allocate_dynrelocs): Likewise. | |
983 | (readonly_dynrelocs): Likewise. | |
984 | * elf32-i370.c (i370_elf_adjust_dynindx): Likewise. | |
985 | * elf32-m68k.c (elf_m68k_discard_copies): Likewise. | |
986 | * elf32-mips.c (mips_elf_output_extsym): Likewise. | |
987 | (mips_elf_sort_hash_table_f): Likewise. | |
988 | (mips_elf_check_mips16_stubs): Likewise. | |
989 | * elf32-s390.c (allocate_dynrelocs): Likewise. | |
990 | (readonly_dynrelocs): Likewise. | |
991 | * elf32-sh.c (sh_elf_discard_copies): Likewise. | |
992 | * elf32-xstormy16.c (xstormy16_relax_plt_check): Likewise. | |
993 | (xstormy16_relax_plt_realloc): Likewise. | |
994 | * elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Likewise. | |
995 | (elf64_alpha_output_extsym): Likewise. | |
996 | * elf64-hppa.c (elf64_hppa_mark_exported_functions): Likewise. | |
997 | * elf64-mips.c (mips_elf64_sort_hash_table_f): Likewise. | |
998 | (mips_elf64_check_mips16_stubs): Likewise. | |
999 | (mips_elf64_output_extsym): Likewise. | |
1000 | * elf64-ppc.c (func_desc_adjust): Likewise. | |
1001 | (allocate_dynrelocs): Likewise. | |
1002 | (readonly_dynrelocs): Likewise. | |
1003 | * elf64-s390.c (allocate_dynrelocs): Likewise. | |
1004 | (readonly_dynrelocs): Likewise. | |
1005 | * elf64-sh64.c (sh64_elf64_discard_copies): Likewise. | |
1006 | * elf64-x86-64.c (allocate_dynrelocs): Likewise. | |
1007 | (readonly_dynrelocs): Likewise. | |
1008 | * elfxx-ia64.c (elfNN_ia64_global_dyn_sym_thunk): Likewise. | |
1009 | * aoutx.h (aout_link_write_other_symbol): Likewise. | |
1010 | * cofflink.c (_bfd_coff_write_task_globals): Likewise. | |
1011 | (_bfd_coff_write_global_sym): Likewise. | |
1012 | * i386linux.c (linux_tally_symbols): Likewise. | |
1013 | * m68klinux.c (linux_tally_symbols): Likewise. | |
1014 | * sparclinux.c (linux_tally_symbols): Likewise. | |
1015 | * pdp11.c (aout_link_write_other_symbol): Likewise. | |
1016 | * sunos.c (sunos_scan_dynamic_symbol): Likewise. | |
1017 | * xcofflink.c (xcoff_build_ldsyms): Likewise. | |
1018 | (xcoff_write_global_symbol): Likewise. | |
1019 | ||
1020 | * cofflink.c (_bfd_coff_final_link): Formatting. | |
1021 | * cpu-mips.c (mips_compatible): Make static, prototype. | |
1022 | * elf32-i386.c (elf_i386_check_relocs): Formatting. | |
1023 | * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise. | |
1024 | * elf64-alpha.c (elf64_alpha_output_extsym): Likewise. | |
1025 | * elf64-mips.c (mips_elf64_sort_hash_table): Likewise. | |
1026 | (mips_elf64_final_link): Likewise. | |
1027 | * elflink.h (elf_link_find_version_dependencies): Remove duplicate | |
1028 | prototype. | |
1029 | ||
2106126f NC |
1030 | 2002-03-27 Nick Clifton <nickc@cambridge.redhat.com> |
1031 | ||
1032 | * coff-arm.c (SWAP_IN_RELOC_OFFSET): Define. | |
1033 | (SWAP_OUT_RELOC_OFFSET): Define. | |
1034 | ||
b99d1833 AM |
1035 | 2002-03-27 Gregory Steuck <greg@nest.cx> |
1036 | ||
1037 | * elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for | |
1038 | terminating NULL if empty symbol table. | |
1039 | (_bfd_elf_get_dynamic_symtab_upper_bound): Likewise. | |
1040 | ||
ad43ed4c L |
1041 | 2002-03-26 H.J. Lu (hjl@gnu.org) |
1042 | ||
1043 | * elflink.h (elf_link_input_bfd): Revert the last change since | |
1044 | the gcc exception handling isn't fixed yet. | |
1045 | ||
3851fca4 L |
1046 | 2002-03-26 H.J. Lu (hjl@gnu.org) |
1047 | ||
1048 | * elflink.h (elf_link_input_bfd): Complain about relocations | |
1049 | against local symbols in discarded sections. | |
1050 | ||
b91afed7 AM |
1051 | 2002-03-26 Alan Modra <amodra@bigpond.net.au> |
1052 | ||
1053 | * elflink.h (elf_gc_mark): Don't recurse into non-ELF sections. | |
1054 | ||
dba143ef AM |
1055 | 2002-03-23 Alan Modra <amodra@bigpond.net.au> |
1056 | ||
1057 | * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on | |
1058 | section file offset for !SEC_LOAD sections. | |
1059 | ||
ee29b9fb RE |
1060 | 2002-03-21 Richard Earnshaw <rearnsha@arm.com> |
1061 | ||
830629ab AM |
1062 | * elf32-arm.h (elf32_arm_final_link_relocate <case R_ARM_GOTOFF>, |
1063 | <case R_ARM_GOT>): Handle relocations to Thumb functions. | |
ee29b9fb | 1064 | |
54327882 AM |
1065 | 2002-03-21 Alan Modra <amodra@bigpond.net.au> |
1066 | ||
1067 | * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype. | |
1068 | Whitespace changes. | |
1069 | * archive.c: Update copyright date. | |
1070 | * bfd-in2.h: Regenerate. | |
1071 | * libbfd.h: Regenerate. | |
1072 | * Makefile.am: Run "make dep-am" | |
1073 | * Makefile.in: Regenerate. | |
1074 | * po/SRC-POTFILES.in: Regenerate. | |
1075 | ||
1ee24f27 DJ |
1076 | 2002-03-20 Daniel Jacobowitz <drow@mvista.com> |
1077 | ||
1078 | * dwarf2.c (struct funcinfo): Move up. | |
1079 | (lookup_address_in_function_table): New argument function_ptr. | |
1080 | Set it. | |
1081 | (lookup_address_in_line_table): New argument function. If function | |
1082 | is non-NULL, use it to handle ``addr'' before the first line note of | |
1083 | the function. | |
1084 | (comp_unit_find_nearest_line): Update and swap calls to | |
1085 | lookup_address_in_function_table and lookup_address_in_line_table. | |
1086 | * syms.c (_bfd_stab_section_find_nearest_line): Use the first | |
1087 | N_SLINE encountered if we see an N_FUN before any N_SLINE. | |
1088 | ||
51b9608c TR |
1089 | 2002-03-20 Tom Rix <trix@redhat.com> |
1090 | ||
ea1e4b0d | 1091 | * coff-rs6000.c (_bfd_xcoff_stat_arch_elt): Renamed from |
51b9608c | 1092 | _bfd_xcoff_generic_stat_arch_elt. Fix format check. |
ea1e4b0d | 1093 | * coff64-rs6000.c : Use _bfd_xcoff_stat_arch_elt. |
51b9608c | 1094 | |
789c90aa TR |
1095 | 2002-03-19 Tom Rix <trix@redhat.com> |
1096 | ||
ea1e4b0d | 1097 | * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Look through all |
789c90aa TR |
1098 | dynamic objects in archives. |
1099 | ||
1da54d81 HPN |
1100 | 2002-03-19 Hans-Peter Nilsson <hp@bitrange.com> |
1101 | ||
1102 | * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set | |
1103 | STT_NOTYPE symbols to STT_OBJECT. | |
1104 | ||
7831a775 | 1105 | 2002-03-18 Jan Hubicka <jh@suse.cz> |
beb43bb9 JH |
1106 | |
1107 | * cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64" | |
1108 | ||
eb1e0e80 NC |
1109 | 2002-03-18 Tom Rix <trix@redhat.com> |
1110 | ||
1111 | * aix5ppc.core.c : New file for AIX 5 64 bit core support. | |
1112 | * bfd-in.h : Add bfd_xcoff_ar_archive_set_magic declaration. | |
1113 | * coff-rs6000 (do_pad) : New function for archive padding. | |
1114 | (do_copy) : New function for object file copying in archives. | |
1115 | (do_shared_object_padding) : New function for padding shared | |
1116 | objects to their text section alignment in archives. | |
1117 | (bfd_xcoff_ar_achive_set_magic) : Stub. | |
1118 | (xcoff_write_armap_big) : Use do_copy and do_pad. | |
1119 | (xcoff_write_archive_contents_big) : Use do_shared_object_padding, | |
1120 | do_copy and do_pad. | |
1121 | * coff64-rs6000.c (xcoff64_write_ojbect_contents) : Use | |
ea1e4b0d | 1122 | bfd_xcoff_magic_number. |
eb1e0e80 NC |
1123 | (xcoff64_bad_format_hook) : New function for _bfd_bad_format_hook |
1124 | fop. | |
1125 | (xcoff_backend_data_r) : Use xcoff64_bad_format_hook. | |
1126 | (bfd_xcoff_aix5_backend_data) : New Aix 5 backend data. | |
1127 | (aix5coff64_vec) : New Aix 5 target aix5coff64-rs6000. | |
1128 | * rs6000-core.c : Update copyright date. | |
ea1e4b0d | 1129 | * xcofflink.c (bfd_xcoff_size_dynamic_sections): Check for NULL |
eb1e0e80 NC |
1130 | csectpp. |
1131 | * coffcode.h (coff_new_section_hook) : Use new accessor macros. | |
1132 | (coff_set_arch_mach_hook) : Add Aix 5 U64_TOCMAGIC magic #. | |
1133 | (coff_set_flags) : Use bfd_xcoff_magic_number. | |
1134 | * libxcoff.h (bfd_xcoff_is_xcoff64): Add U64_TOCMAGIC. | |
1135 | * configure.in : Add powerpc-*-aix5 and rs6000-*-aix5 support. | |
1136 | * Makefile.am : Same. | |
1137 | * config.bfd : Same. | |
1138 | * targets.c : Same. | |
1139 | * configure : Regnerate. | |
1140 | * Makefile.in : Same. | |
1141 | * bfd-in2.h : Same. | |
1142 | ||
a1c259a1 NC |
1143 | 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> |
1144 | ||
1145 | * po/fr.po: Updated version. | |
1146 | ||
4dae1ae7 AM |
1147 | 2002-03-18 Alan Modra <amodra@bigpond.net.au> |
1148 | ||
1149 | * libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success. | |
1150 | * libbfd.h: Regenerate. | |
1151 | * archive.c (coff_write_armap): Pass on failures from | |
1152 | bfd_write_bigendian_4byte_int. | |
1153 | ||
36b4f6e7 L |
1154 | 2002-03-14 H.J. Lu <hjl@gnu.org> |
1155 | ||
1156 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD | |
1157 | error to bfd_error_nonrepresentable_section for reinit_array | |
1158 | section in DSO. | |
1159 | ||
a1aefc76 NC |
1160 | 2002-03-14 Nick Clifton <nickc@cambridge.redhat.com> |
1161 | ||
a181be0a NC |
1162 | * coffcode.h (coff_slurp_symbol_table): When adding BSF_WEAK flag, |
1163 | OR it in rather than replacing previously selected flags. | |
1164 | ||
a1aefc76 NC |
1165 | * elfxx-target.h (TARGET_BIG_SYM): Set ar_max_namelen to 15. |
1166 | (TARGET_LITTLE_SYM): Set ar_max_namelen to 15. | |
1167 | ||
c119f9b8 AM |
1168 | 2002-03-14 Alan Modra <amodra@bigpond.net.au> |
1169 | ||
1170 | * cpu-mips.c (mips_compatible): New. Don't check bits_per_word. | |
1171 | (N): Use the above. | |
1172 | * elflink.h (elf_bfd_final_link): Revert last change. Instead, | |
1173 | ensure reloc size matches before calling elf_link_input_bfd. | |
1174 | Add an assert to check reloc size when counting output relocs. | |
1175 | ||
c295a511 NC |
1176 | 2002-03-14 Nick Clifton <nickc@cambridge.redhat.com> |
1177 | ||
1178 | * mmo.c (mmo_get_loc): Return NULL rather than false. | |
1179 | ||
9ce88e60 NC |
1180 | 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> |
1181 | ||
1182 | * po/fr.po: Updated version. | |
1183 | ||
4ddafab0 AM |
1184 | 2002-03-13 Alan Modra <amodra@bigpond.net.au> |
1185 | ||
b74fa2cd AM |
1186 | * archures.c (bfd_default_compatible): Test bits_per_word. |
1187 | * cpu-i386.c (i386_compatible): Remove. Replace occurrences with | |
1188 | bfd_default_compatible. | |
1189 | * cpu-i370.c (i370_compatible): Likewise. | |
1190 | * cpu-sparc.c (sparc_compatible): Likewise. | |
1191 | * cpu-h8300.c (compatible): Test in->arch == out->arch. | |
1192 | ||
40b829d4 AM |
1193 | * elflink.h: Formatting fixes. |
1194 | (elf_link_output_extsym): Merge undefined and undef weak cases. | |
1195 | ||
4ddafab0 AM |
1196 | * elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd |
1197 | when word size of input matches output word size. | |
1198 | ||
dd53c801 AJ |
1199 | 2002-03-12 Andreas Jaeger <aj@suse.de> |
1200 | ||
1201 | * cpu-i386.c (i386_compatible): New. Use it instead of | |
1202 | bfd_default_compatible. | |
1203 | ||
aa066ac8 L |
1204 | 2002-03-07 H.J. Lu (hjl@gnu.org) |
1205 | ||
1206 | * coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type | |
1207 | as the type for bfd_reloc_val. | |
1208 | ||
1bf42538 JL |
1209 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1210 | ||
1211 | * elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function. | |
1212 | (elf_hppa_relocate_section): Ignore undefined dynamic loader symbols. | |
1213 | (elf_hppa_final_link_relocate): Correct relocations for indirect | |
1214 | references to local data through the DLT. Fix .opd creation for | |
1215 | local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64 | |
1216 | relocations. Use e_lsel selector for R_PARISC_DLTIND21L, | |
1217 | R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per | |
1218 | "Processor-Specific ELF for PA_RISC, Version 1.43" document. | |
1219 | Similarly, use e_rsel for DLT and LTOFF 'R' relocations. | |
1220 | * elf32-hppa.c (final_link_relocate): Revise relocation selectors | |
1221 | as per "Processor-Specific ELF for PA_RISC, Version 1.43" document. | |
1222 | ||
86eaf01e JJ |
1223 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
1224 | ||
1225 | * merge.c (_bfd_merge_sections): Don't segfault if there | |
1226 | is nothing to merge due to GC. | |
1227 | ||
c44233aa AM |
1228 | 2002-03-05 Alan Modra <amodra@bigpond.net.au> |
1229 | ||
039cc25f AM |
1230 | * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep |
1231 | symbols that have been forced local. | |
1232 | ||
c44233aa AM |
1233 | * elflink.h (elf_bfd_final_link): Call elf_link_output_extsym |
1234 | to output forced local syms for non-shared link. | |
1235 | (elf_link_output_extsym): Tweak condition for calling backend | |
1236 | adjust_dynamic_symbol so that previous behaviour is kept. | |
1237 | Whitespace changes throughout file. | |
1238 | ||
25e27870 L |
1239 | 2002-03-04 H.J. Lu <hjl@gnu.org> |
1240 | ||
1241 | * elf.c (bfd_section_from_shdr): Handle special sections, | |
1242 | .init_array, .fini_array and .preinit_array. | |
1243 | (elf_fake_sections): Likewise. | |
1244 | ||
1245 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the | |
1246 | DT entry only if the section is in output for .init_array, | |
1247 | .fini_array and .preinit_array. Complain about .preinit_array | |
1248 | section in DSO. | |
1249 | (elf_bfd_final_link): Warn zero size for .init_array, | |
1250 | .fini_array and .preinit_array sections. | |
1251 | ||
1252 | * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove | |
1253 | SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY. | |
1254 | (elfNN_ia64_fake_sections): Remove .init_array, .fini_array and | |
1255 | .preinit_array. | |
1256 | ||
bb2a49f2 AM |
1257 | 2002-03-04 Alan Modra <amodra@bigpond.net.au> |
1258 | ||
1259 | * configure.in (WIN32LIBADD): Don't eval PICFLAG assignment. | |
1260 | * configure: Regenerate. | |
1261 | ||
38487e5e TR |
1262 | 2002-03-02 Tom Rix <trix@redhat.com> |
1263 | ||
c44233aa AM |
1264 | * coff64-rs6000.c (xcoff64_howto_table): Replace howto types with |
1265 | symbolic equiv. | |
38487e5e TR |
1266 | * coff-rs6000.c (xcoff_howto_table): Same. |
1267 | ||
30831527 RH |
1268 | 2002-03-01 David Mosberger <davidm@hpl.hp.com> |
1269 | ||
1270 | * elflink.h (size_dynamic_sections): If section named | |
1271 | ".preinit_array" exists, create DT_PREINIT_ARRAY and | |
1272 | DT_PREINIT_ARRAYSZ entries in dynamic table. Analogously for | |
1273 | ".init_array" and ".fini_array". | |
1274 | (elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ, | |
1275 | DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and | |
1276 | DT_FINI_ARRAY. | |
1277 | ||
c8e5ddc8 AM |
1278 | 2002-02-26 Andrew Macleod <amacleod@cygnus.com> |
1279 | ||
1280 | * elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local | |
1281 | dynsyms. | |
1282 | ||
96e0dda4 AM |
1283 | 2002-02-25 Alan Modra <amodra@bigpond.net.au> |
1284 | ||
1c5b6bf8 AM |
1285 | * elf64-hppa.h: Update copyright date. |
1286 | ||
96e0dda4 AM |
1287 | * elf64-ppc.c (ppc64_elf_check_relocs): Warning fix. |
1288 | (ppc64_elf_relocate_section): Don't generate power4 style branch | |
1289 | hints for *_BRTAKEN and *_BRNTAKEN relocs. | |
1290 | ||
0fb19cbc JJ |
1291 | 2002-02-22 Jakub Jelinek <jakub@redhat.com> |
1292 | ||
1293 | * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my | |
1294 | last patch. | |
1295 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. | |
1296 | ||
c434dee6 AJ |
1297 | 2002-02-21 Andreas Jaeger <aj@suse.de> |
1298 | ||
1299 | * elf64-x86-64.c: Major rework that introduces all recent changes | |
1300 | to the x86-64 backend. Get a closer match to elf32-i386. | |
1301 | (struct elf64_x86_64_dyn_relocs): Rename from | |
1302 | elf64_x86_64_pcrel_relocs_copied, add additional fields. Change | |
1303 | all users. | |
1304 | (struct elf64_x86_64_link_hash_table): Add short cuts to some | |
1305 | sections. | |
1306 | (link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc, | |
1307 | remove casts, initialize new hash members. | |
1308 | (create_got_section): New. | |
1309 | (elf64_x86_64_create_dynamic_sections): New. | |
1310 | (elf64_x86_64_copy_indirect_symbol): New. | |
1311 | (elf64_x86_64_check_relocs): Don't allocate space for dynamic | |
1312 | relocs, .got or .relgot here but do it in allocate_dynrelocs. | |
1313 | Reference count possible .plt and .got entries. Don't test input | |
1314 | section SEC_READONLY here to try to avoid copy relocs, and keep | |
1315 | dyn_relocs regardless of ELF_LINK_NON_GOT_REF. Don't set | |
1316 | DF_TEXTREL here. Delay setting of variables until needed. Cache | |
1317 | pointer to "sreloc" section in elf_section_data. Tweak condition | |
1318 | under which .got created. Report files with bad relocation | |
1319 | section names. | |
1320 | (elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. | |
1321 | Reference count possible .plt entries. Don't deallocate .got and | |
1322 | .relgot space here. | |
1323 | (elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc. Don't | |
1324 | do copy reloc processing for weakdefs. Remove redundant casts and | |
1325 | aborts. Delay setting of vars until needed. Move creation of | |
1326 | dynamic symbols and allocation of .plt and .rela.plt to | |
1327 | allocate_dynrelocs. Replace BFD_ASSERT with abort. | |
1328 | (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. | |
1329 | (allocate_dynrelocs): New. | |
1330 | (readonly_dynrelocs): New. | |
1331 | (elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs. | |
1332 | Allocate space for dyn relocs. Replace BFD_ASSERT with abort. | |
1333 | Zero out the dynamic allocated content space. | |
1334 | (elf64_x86_64_discard_copies): Removed. | |
1335 | (elf64_x86_64_relocate_section): Make use of dynamic section | |
1336 | short-cuts. Localise vars, and delay setting. Better error | |
1337 | reporting, replace BFD_ASSERT with abort. Check | |
1338 | ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the | |
1339 | regular object file and tread the weak definition as the normal | |
1340 | one. Don't discard relocs for undefweak or undefined symbols and | |
1341 | check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy | |
1342 | relocs. | |
1343 | (elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for | |
1344 | symbols that have been forced local. Use same test to decide if | |
1345 | we can use a relative reloc for got as relocate_section. Expand | |
1346 | SHN_UNDEF comment. Move expressions out of function calls. | |
1347 | Replace BFD_ASSERT with abort. | |
1348 | (bfd_elf64_bfd_final_link): Removed. | |
1349 | (elf_backend_copy_indirect_symbol): Define. | |
1350 | ||
ff3a6ee3 TR |
1351 | 2002-02-20 Tom Rix <trix@redhat.com> |
1352 | ||
1353 | * coff-rs6000.c (xcoff_howto_table): Add 16 bit R_BA. | |
1354 | (_bfd_xcoff_reloc_type_lookup): Use it. | |
1355 | * coff64-rs6000.c (xcoff64_howto_table): Same. | |
1356 | (xcoff64_reloc_type_lookup): Same. | |
c434dee6 | 1357 | |
a68d41fb AM |
1358 | 2002-02-20 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
1359 | ||
1360 | * osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are | |
1361 | little endian. | |
1362 | ||
befc3abb MS |
1363 | 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
1364 | ||
1365 | * archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31. | |
1366 | (bfd_mach_s390_esame): Rename to bfd_mach_s390_64. | |
1367 | * bfd-in2.h: Regenerate. | |
1368 | * cpu-s390.c (arch_info_struct): Use renamed architecture defines. | |
1369 | Replace architecture name "s390" with "s390:31-bit" and "s390:esame" | |
1370 | with "s390:64-bit". | |
1371 | * elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations. | |
1372 | (elf_s390_reloc_type_lookup): Likewise. | |
1373 | (elf_s390_check_relocs): Likewise. | |
1374 | (elf_s390_gc_sweep_hook): Likewise. | |
1375 | (elf_s390_relocate_section): Likewise. | |
1376 | (elf_s390_object_p): Use renamed architecture define. | |
1377 | * elf64-s390.c (elf_s390_object_p): Use renamed architecture define. | |
1378 | ||
6eeeec9b FCE |
1379 | 2002-02-19 Frank Ch. Eigler <fche@redhat.com> |
1380 | ||
1381 | * syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping. | |
1382 | ||
0bb2d96a JJ |
1383 | 2002-02-19 Jakub Jelinek <jakub@redhat.com> |
1384 | ||
1385 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable | |
1386 | absptr -> pcrel optimization for shared libs. | |
1387 | Only create minimal .eh_frame_hdr if absptr FDE encoding in shared | |
1388 | library cannot be converted to pcrel. | |
1389 | (_bfd_elf_eh_frame_section_offset): Return -2 if making absptr | |
1390 | relative. | |
1391 | * elf32-i386.c (elf_i386_relocate_section): If | |
1392 | _bfd_elf_section_offset returned -2, skip, but make sure the | |
1393 | relocation is installed. | |
1394 | * elf32-arm.h (elf32_arm_final_link_relocate): Likewise. | |
1395 | * elf32-cris.c (cris_elf_relocate_section): Likewise. | |
1396 | * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. | |
1397 | * elf32-i370.c (i370_elf_relocate_section): Likewise. | |
1398 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
1399 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
1400 | * elf32-s390.c (elf_s390_relocate_section): Likewise. | |
1401 | * elf32-sh.c (sh_elf_relocate_section): Likewise. | |
1402 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
1403 | * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. | |
1404 | * elf64-s390.c (elf_s390_relocate_section): Likewise. | |
1405 | * elf64-sh64.c (sh_elf64_relocate_section): Likewise. | |
1406 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
1407 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. | |
1408 | * elf64-alpha.c (elf64_alpha_relocate_section): Handle | |
1409 | _bfd_elf_section_offset returning -2 the same way as -1. | |
1410 | * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise. | |
1411 | * elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME | |
1412 | and BFD_ASSERT. | |
1413 | * elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise. | |
1414 | ||
69f284c7 TR |
1415 | 2002-02-18 Tom Rix <trix@redhat.com> |
1416 | ||
1417 | * xcofflink.c (bfd_xcoff_link_gernate_rtinit): Add -brtl support. | |
1418 | (bfd_xcoff_size_dynamic_sections): Same. | |
1419 | * bfd-in.h (bfd_xcoff_link_generate_rtinit): Same. | |
1420 | (bfd_xcoff_size_dynamic_sections): Same. | |
1421 | * coff-rs6000.c (xcoff_generate_rtinit): Same. | |
1422 | * coff-rs646000.c (xcoff64_generate_rtinit): Same. | |
1423 | * libxcoff.h (struct xcoff_backend_data_rec): Same. | |
1424 | * xcofflink.c (xcoff_build_ldsyms, xcoff_link_add_symbols): Clean. | |
1425 | * bfd-in2.h: Regenerate. | |
1426 | ||
82bd7b59 AM |
1427 | 2002-02-18 Alan Modra <amodra@bigpond.net.au> |
1428 | ||
1429 | * elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define. | |
1430 | (struct ppc_link_hash_table): Add sfpr. | |
1431 | (ppc64_elf_link_hash_table_create): Init it. | |
1432 | (ppc64_elf_create_dynamic_sections): Split creation of .stub and | |
1433 | .glink out to.. | |
1434 | (create_linkage_sections): ..here. Make .sfpr too. | |
1435 | (ppc64_elf_check_relocs): Call create_linkage_sections, and set | |
1436 | dynobj early. | |
1437 | (MIN_SAVE_FPR, MAX_SAVE_FPR): Define. | |
1438 | (ppc64_elf_func_desc_adjust): Look for missing ._savef* and | |
1439 | ._restf* functions, and create as needed. | |
1440 | (func_desc_adjust): Only force_local for shared libs. | |
1441 | ||
ef1355e8 NC |
1442 | 2002-02-18 David O'Brien <obrien@FreeBSD.org> |
1443 | ||
1444 | * configure.in: Bump version number post 2.12 branching. | |
1445 | * configure: Regenerate. | |
1446 | ||
dfa36a69 HPN |
1447 | 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com> |
1448 | ||
1449 | * mmo.c: Correct and improve comments. | |
1450 | (mmo_write_chunk): Store trailing byte in bfd buffer; don't | |
1451 | zero-pad. Use input to fill up non-empty bfd buffer. | |
1452 | (mmo_flush_chunk): New function. | |
1453 | (mmo_write_loc_chunk): Add parameter last_vmap, all callers | |
1454 | changed. Don't emit location specifier if VMA is same as | |
1455 | *LAST_VMAP after omitting leading zero contents. Call | |
1456 | mmo_flush_chunk before emitting location specifier. | |
1457 | (mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished | |
1458 | with mmo_write_loc_chunk calls. | |
1459 | (mmo_internal_write_section): Call mmo_flush_chunk after | |
1460 | mmo_write_chunk. | |
1461 | (mmo_write_symbols_and_terminator): Move :Main to first position | |
1462 | in symbol array. Add faked one if it does not exist if there are | |
1463 | other symbols. Don't add it if there are no symbols at all. Move | |
1464 | out test for value of :Main from symbol loop. Rename table | |
1465 | fakemain to maintable and variable mainsym to fakemain. | |
1466 | ||
ccf00ab6 RH |
1467 | 2002-02-15 Richard Henderson <rth@redhat.com> |
1468 | ||
1469 | * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target | |
1470 | section with no got matches any got. Simplify error generaion. | |
1471 | ||
88eaccc2 AM |
1472 | 2002-02-15 Alan Modra <amodra@bigpond.net.au> |
1473 | ||
fd96f80f AM |
1474 | Support arbitrary length fill patterns. |
1475 | * linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc. | |
1476 | (_bfd_default_link_order): Remove bfd_fill_link_order code. | |
1477 | Call default_data_link_order. | |
1478 | (default_fill_link_order): Delete. | |
1479 | (default_data_link_order): New function. | |
1480 | * elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences | |
1481 | of bfd_fill_link_order with bfd_data_link_order. | |
1482 | * elf64-alpha.c (elf64_alpha_final_link): Likewise. | |
1483 | * elf64-mips.c (mips_elf64_final_link): Likewise. | |
1484 | ||
88eaccc2 AM |
1485 | * bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value. |
1486 | Correct value returned in "end" for "0x<non-hex>". | |
1487 | ||
e2fd756b NC |
1488 | 2002-02-14 Nick Clifton <nickc@cambridge.redhat.com> |
1489 | ||
1490 | * cpu-arm.c (processors): Replace 'arch' field with 'mach'. | |
1491 | (scan): Test against 'mach' field in info structure. | |
1492 | ||
edd29cf9 AM |
1493 | 2002-02-14 Alan Modra <amodra@bigpond.net.au> |
1494 | ||
1495 | * elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD. | |
1496 | ||
1e30956e | 1497 | 2002-02-14 Matt Fredette <fredette@netbsd.org> |
76f57f3a JT |
1498 | |
1499 | * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize | |
1500 | EF_M68000. | |
1501 | ||
bf36db18 NC |
1502 | 2002-02-13 Nick Clifton <nickc@cambridge.redhat.com> |
1503 | ||
1504 | * elf.c (_bfd_elf_make_section_from_shdr): Do not insist on | |
edd29cf9 AM |
1505 | non-zero physical addresses when adjusting the LMAs of new |
1506 | sections. | |
bf36db18 | 1507 | |
189c6563 AM |
1508 | 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1509 | ||
1510 | * elf-hppa.h (elf_hppa_reloc_final_type): New function stripped | |
1511 | from _bfd_elf_hppa_gen_reloc_type. | |
1512 | (_bfd_elf_hppa_gen_reloc_type): Remove duplicate prototype. | |
1513 | * elf32-hppa.h (elf32_hppa_reloc_final_type): Add protptype. | |
1514 | * elf32-hppa.c: Include elf32-hppa.h before elf-hppa.h. | |
1515 | * elf64-hppa.h (elf64_hppa_reloc_final_type): Add protptype. | |
1516 | ||
e948afaf AO |
1517 | 2002-02-12 Alexandre Oliva <aoliva@redhat.com> |
1518 | ||
1519 | * elf-m10300.c (mn10300_elf_relax_section): Skip section before | |
1520 | loading its contents if there's nothing to do in it. | |
1521 | ||
19397422 AM |
1522 | 2002-02-12 Alan Modra <amodra@bigpond.net.au> |
1523 | ||
0ad3a73b AM |
1524 | * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing |
1525 | 64k boundary. | |
1526 | ||
19397422 AM |
1527 | * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Add dynamic |
1528 | DT_PPC64_OPD and DT_PPC64_OPDSZ tags. | |
1529 | (ppc64_elf_finish_dynamic_sections): Set values for them. | |
1530 | ||
51316059 MS |
1531 | 2002-02-11 Michael Snyder <msnyder@redhat.com> |
1532 | ||
1533 | * elf-bfd.h (elfcore_write_lwpstatus): Add prototype. | |
1534 | * elf.c (elfcore_grok_pstatus): Add prototype. | |
1535 | (elfcore_grok_lwpstatus): Add prototype. | |
1536 | (elfcore_write_lwpstatus): New function. | |
1537 | (elfcore_write_pstatus): Fix typo, eliminate unnecessary memcpy. | |
1538 | ||
518313c3 AO |
1539 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
1540 | ||
1541 | * elf32-sh.c: Added missing prototypes. | |
1542 | * elf32-sh64.c: Likewise. | |
1543 | (sh_elf_align_loads): Mark unused args as such. | |
1544 | * elf64-sh64.c: Added missing prototypes. | |
1545 | (struct elf_sh64_link_hash_entry): Fix typo. | |
1546 | (sh_elf64_relocate_section): Fix info argument passed to | |
1547 | _bfd_elf_section_offset. | |
1548 | ||
2c73f9d8 AM |
1549 | 2002-02-11 Alan Modra <amodra@bigpond.net.au> |
1550 | ||
1551 | * Makefile.am: "make dep-am". | |
1552 | * Makefile.in: Regenerate. | |
1553 | * aclocal.m4: Regenerate. | |
1554 | * config.in: Regenerate. | |
1555 | * configure: Regenerate. | |
1556 | ||
d426c6b0 DJ |
1557 | 2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
1558 | ||
1559 | * coff-rs6000.c (xcoff_generate_rtinit): Silence uninitialized | |
1560 | variable warnings. | |
1561 | * elf32-sh.c (sh_elf_relax_section): Silence signed/unsigned | |
1562 | comparison warning. | |
1563 | * trad-core.c (trad_unix_core_file_p): Silence pointer/integer | |
1564 | cast warnings for the common case. | |
1565 | ||
e58ee0cd HPN |
1566 | 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com> |
1567 | ||
1568 | * config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64 | |
1569 | vectors. | |
1570 | (sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64 | |
1571 | vectors. | |
1572 | ||
7793f4d0 RH |
1573 | 2002-02-09 Richard Henderson <rth@redhat.com> |
1574 | ||
1575 | * elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP. | |
1576 | (elf64_alpha_reloc_map, elf64_alpha_check_relocs): Likewise. | |
1577 | (elf64_alpha_relocate_section): Likewise. | |
1578 | * reloc.c (BFD_RELOC_ALPHA_BRSGP): New. | |
1579 | * bfd-in2.h, libbfd.h: Rebuild. | |
1580 | ||
7e799044 HPN |
1581 | 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com> |
1582 | ||
1583 | * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): Check | |
1584 | that base-plus-offset reloc accounting is consistent. | |
1585 | (mmix_elf_relax_section): Keep base-plus-offset reloc accounting | |
1586 | up to date for undefined symbols. | |
1587 | ||
027d73eb EC |
1588 | 2002-02-08 Eric Christopher <echristo@redhat.com> |
1589 | ||
1590 | From Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
1591 | ||
1592 | * elf32-mips.c (_bfd_mips_elf_fake_sections): Don't create .rela | |
1593 | sections for the O32 ABI. | |
1594 | ||
517662d4 CD |
1595 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
1596 | ||
1597 | * elf32-arm.h: Fix formatting of _("..."). | |
1598 | * elf32-d10v.c: Likewise. | |
1599 | * elf32-m68k.c: Likewise. | |
1600 | * elf32-mips.c: Likewise. | |
1601 | ||
5e37cc46 NC |
1602 | 2002-02-08 Ivan Guzvinec <ivang@opencores.org> |
1603 | ||
1604 | * coff-or32.c: Fix compile time warning messages. | |
1605 | ||
fbca6ad9 AO |
1606 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
1607 | ||
1608 | Contribute sh64-elf. | |
1609 | 2002-01-23 Alexandre Oliva <aoliva@redhat.com> | |
1610 | * reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16, | |
1611 | R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16, | |
1612 | R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16, | |
1613 | R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16, | |
1614 | R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16, | |
1615 | R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16, | |
1616 | R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16, | |
1617 | R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8, | |
1618 | R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64): | |
1619 | New relocs. | |
1620 | * libbfd.h, bfd-in2.h: Rebuilt. | |
1621 | * elf32-sh.c (sh_elf_howto_table): Define new relocs. | |
1622 | (sh_reloc_map): Map them. | |
1623 | (PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, | |
1624 | elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be, | |
1625 | elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry, | |
1626 | elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, | |
1627 | elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset, | |
1628 | elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset, | |
1629 | movi_shori_putval) [INCLUDE_SHMEDIA]: New. | |
1630 | (elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add | |
1631 | datalabel_got_offset. | |
1632 | (sh_elf_link_hash_newfunc): Initialize it. | |
1633 | (sh_elf_relocate_section): Augment the scope of | |
1634 | seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT, | |
1635 | GOT and GOTOFF handling to new SHmedia relocation types. Support | |
1636 | GOT_BIAS. | |
1637 | (sh_elf_check_relocs): Likewise. | |
1638 | (sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in | |
1639 | PLT entries using movi_shori_putval. Support GOT_BIAS. | |
1640 | (sh_elf_finish_dynamic_sections): Likewise. | |
1641 | * elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to | |
1642 | relocation, it's now done by the caller. | |
1643 | (GOT_BIAS): New. | |
1644 | * elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt, | |
1645 | elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset, | |
1646 | elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset, | |
1647 | elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER, | |
1648 | elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry, | |
1649 | elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse, | |
1650 | sh64_elf64_hash_table): New. | |
1651 | (sh_elf64_howto_table): Introduce new relocs. | |
1652 | (sh_elf64_info_to_howto): Accept new PIC relocs. | |
1653 | (sh_elf64_relocate_section): Augment the scope of | |
1654 | seen_stt_datalabel. Support new PIC relocs. | |
1655 | (sh_elf64_check_relocs): Support new PIC relocs. | |
1656 | (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le, | |
1657 | elf_sh64_plt_entry_be, elf_sh64_plt_entry_le, | |
1658 | elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le, | |
1659 | elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry, | |
1660 | sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create, | |
1661 | movi_shori_putval, movi_3shori_putval, | |
1662 | sh64_elf64_create_dynamic_sections, | |
1663 | sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies, | |
1664 | sh64_elf64_size_dynamic_sections, | |
1665 | sh64_elf64_finish_dynamic_symbol, | |
1666 | sh64_elf64_finish_dynamic_sections): New. | |
1667 | (elf_backend_create_dynamic-sections, | |
1668 | bfd_elf64_bfd_link_hash_table_create, | |
1669 | elf_backend_adjust_dynamic_symbol, | |
1670 | elf_backend_size_dynamic_sections, | |
1671 | elf_backend_finish_dynamic_symbol, | |
1672 | elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, | |
1673 | elf_backend_plt_readonly, elf_backend_want_plt_sym, | |
1674 | elf_backend_got_header_size, elf_backend_plt_header_size): | |
1675 | Define. | |
1676 | 2001-05-16 Alexandre Oliva <aoliva@redhat.com> | |
1677 | * elf32-sh.c: Renumbered and renamed some SH5 relocations to | |
1678 | match official numbers and names; moved unmaching ones to the | |
1679 | range 0xf2-0xff. | |
1680 | * elf32-sh64.c, elf64-sh64.c: Likewise. | |
1681 | 2001-03-12 DJ Delorie <dj@redhat.com> | |
1682 | * elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia | |
1683 | sections. | |
1684 | 2001-03-12 DJ Delorie <dj@redhat.com> | |
1685 | * elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must | |
1686 | be aligned. | |
1687 | * elf64-sh64.c (sh_elf64_relocate_section): Ditto. | |
1688 | 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> | |
1689 | * elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define. | |
1690 | (sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a | |
1691 | .cranges section with SEC_SORT_ENTRIES set. | |
1692 | (sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an | |
1693 | incoming sorted .cranges section. | |
1694 | (sh64_bfd_elf_copy_private_section_data): New. | |
1695 | (sh64_elf_final_write_processing): Only sort .cranges and modify | |
1696 | start address if called by linker. | |
1697 | 2001-01-08 Ben Elliston <bje@redhat.com> | |
1698 | * elf32-sh64.c (sh64_elf_final_write_processing): Activate | |
1699 | Hans-Peter Nilsson's set bit 0 patch from 2001-01-06. | |
1700 | * elf64-sh64.c (sh64_elf64_final_write_processing): Ditto. | |
1701 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
1702 | * elf64-sh64.c (sh_elf64_howto_table): No open brace at start of | |
1703 | line. Add comments before all entries. | |
1704 | <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing | |
1705 | comment. | |
1706 | (sh_elf64_reloc): Correct head comment. | |
1707 | (sh_elf64_relocate_section): Correct spacing. | |
1708 | <relocating for a local symbol>: Do not honour STO_SH5_ISA32; | |
1709 | instead call reloc_dangerous callback. | |
1710 | <case R_SH_SHMEDIA_CODE>: New case. | |
1711 | (sh_elf64_gc_mark_hook): Correct spacing. | |
1712 | (sh_elf64_check_relocs): Ditto. | |
1713 | * elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>: | |
1714 | New case. | |
1715 | * elf32-sh.c: Correct #endif comments for #ifndef-wrapped | |
1716 | functions. | |
1717 | (sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct, | |
1718 | clarify describing comment. Add comments before all entries. | |
1719 | (sh_elf_relocate_section) <relocating for a local symbol>: Do not | |
1720 | honour STO_SH5_ISA32; instead call reloc_dangerous callback. | |
1721 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
1722 | Sort .cranges section in final link. Prepare to set bit 0 on | |
1723 | entry address. | |
1724 | * elf32-sh64.c (struct sh64_find_section_vma_data): New. | |
1725 | (sh64_elf_link_output_symbol_hook): Fix typo in prototype. | |
1726 | (sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming | |
1727 | .cranges section. | |
1728 | (sh64_backend_section_from_shdr): New, to recognize | |
1729 | SHT_SH5_CR_SORTED on incoming .cranges section. | |
1730 | (elf_backend_section_from_shdr): Define. | |
1731 | (sh64_elf_final_write_processing): Sort outgoing .cranges | |
1732 | section. (New, temporarily disabled:) Set bit 0 on entry address | |
1733 | according to ISA type. | |
1734 | (sh64_find_section_for_address): New. | |
1735 | (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb, | |
1736 | crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c. | |
1737 | (sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use | |
1738 | bfd_malloc, not xmalloc. | |
1739 | (sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make | |
1740 | global. | |
1741 | * elf32-sh64.c (sh64_elf64_final_write_processing): New, (but | |
1742 | temporarily disabled) setting bit 0 on entry address. | |
1743 | (elf_backend_final_write_processing): Define. | |
1744 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
1745 | * elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to | |
1746 | be a proper relocation for PTA and PTB rather than a marker. | |
1747 | <R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2, | |
1748 | R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16, | |
1749 | R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16, | |
1750 | R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL, | |
1751 | R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>: | |
1752 | Zero src_mask. | |
1753 | * elf64-sh64.c: Ditto. | |
1754 | (sh_elf64_relocate_section) <case R_SH_PT_16>: New case. | |
1755 | * elf32-sh64.c: Include opcodes/sh64-opc.h | |
1756 | (shmedia_prepare_reloc): Take a bfd_link_info pointer as first | |
1757 | argument. Drop const qualifiers from "bfd *" and "bfd_byte *" | |
1758 | parameters. No unused parameters. Caller changed. | |
1759 | <case R_SH_PT_16>: New case. | |
1760 | * Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h. | |
1761 | * Makefile.in: Regenerate. | |
1762 | 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
1763 | * elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for | |
1764 | all code sections. | |
1765 | (sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5. | |
1766 | (sh64_elf_merge_private_data): Ditto. | |
1767 | * elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data | |
1768 | to access stored section flags. | |
1769 | (sh64_elf_final_write_processing): Return immediately unless | |
1770 | called by linker. Use sh64_elf_section_data (cranges) to get size | |
1771 | of linker-generated cranges entries. | |
1772 | (sh64_elf_copy_private_data): Add missing "return true". | |
1773 | (sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5. | |
1774 | (sh_elf64_merge_private_data): Ditto. | |
1775 | 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> | |
1776 | * elf64-sh64.c (sh64_elf64_fake_sections): New, copy of | |
1777 | elf64-sh64.c:sh64_elf_fake_sections. | |
1778 | (elf_backend_fake_sections): Define as sh64_elf64_fake_sections. | |
1779 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> | |
1780 | * elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete. | |
1781 | (sh64_elf_final_write_processing): New. | |
1782 | (elf_backend_final_write_processing): Define. | |
1783 | (sh64_elf_fake_sections): Get header flags from tdata field. | |
1784 | (sh64_elf_copy_private_data): Do not call | |
1785 | sh64_elf_copy_private_data_internal, just copy e_flags field. | |
1786 | (sh64_elf_merge_private_data): Do not call | |
1787 | sh64_elf_copy_private_data_internal. | |
1788 | 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
1789 | Remove EF_SH64_ABI64, let ELF size make difference. | |
1790 | Remove SH64-specific BFD section flag. | |
1791 | * elf32-sh64.c (sh64_elf_fake_sections): Recognize section as | |
1792 | containing SHmedia through elf_section_data (asect)->tdata | |
1793 | non-zero, not using a BFD section flag. | |
1794 | (sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64. | |
1795 | (sh64_elf_merge_private_data): Similar. | |
1796 | (elf_backend_section_flags): Don't define. | |
1797 | (sh64_elf_backend_section_flags): Delete. | |
1798 | * elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64, | |
1799 | not EF_SH64_ABI64. | |
1800 | (sh_elf64_merge_private_data): Similar. | |
1801 | * section.c (Section flags definitions): Don't define | |
1802 | SEC_SH_ISA_SHMEDIA. | |
1803 | (bfd-in2.h): Regenerate. | |
1804 | 2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com> | |
1805 | Make DataLabel references work with partial linking. | |
1806 | * elf32-sh64.c: Fix formatting. | |
1807 | (sh64_elf_link_output_symbol_hook): New. | |
1808 | (elf_backend_link_output_symbol_hook): Define to | |
1809 | sh64_elf_link_output_symbol_hook. | |
1810 | (sh64_elf_add_symbol_hook): Make DataLabel symbol just global | |
1811 | undefined if partial linking. Adjust sanity check. | |
1812 | * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New. | |
1813 | (elf_backend_link_output_symbol_hook): Define to | |
1814 | sh64_elf64_link_output_symbol_hook. | |
1815 | (sh64_elf64_add_symbol_hook): Make DataLabel symbol just global | |
1816 | undefined if partial linking. Adjust sanity check. | |
1817 | 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
1818 | Implement semantics for inter-file DataLabel references. | |
1819 | * elf64-sh64.c (DATALABEL_SUFFIX): Define. | |
1820 | (sh64_elf64_add_symbol_hook): New. | |
1821 | (sh_elf64_relocate_section): If passing an indirect symbol with | |
1822 | st_type STT_DATALABEL on the way to a symbol with st_other | |
1823 | STO_SH5_ISA32, do not bitor 1 to the relocation. | |
1824 | (elf_backend_add_symbol_hook): Define to | |
1825 | sh64_elf64_add_symbol_hook. | |
1826 | * elf64-sh32.c: Tweak comments. | |
1827 | (DATALABEL_SUFFIX): Define. | |
1828 | (sh64_elf_add_symbol_hook): New. | |
1829 | (elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook. | |
1830 | * elf32-sh.c (sh_elf_relocate_section): If passing an indirect | |
1831 | symbol with st_type STT_DATALABEL on the way to a symbol with | |
1832 | st_other STO_SH5_ISA32, do not bitor 1 to the relocation. | |
1833 | 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
1834 | Pass through STT_DATALABEL. | |
1835 | * elf32-sh64.c (sh64_elf_get_symbol_type): New. | |
1836 | (elf_backend_get_symbol_type): Define. | |
1837 | * elf64-sh64.c (sh64_elf64_get_symbol_type): New. | |
1838 | (elf_backend_get_symbol_type): Define. | |
1839 | 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
1840 | * elf32-sh64.c: Tweak comments. | |
1841 | (sh64_elf_copy_private_data_internal): Add prototype. | |
1842 | (bfd_elf32_bfd_set_private_flags): Define. | |
1843 | (sh64_elf_copy_private_data_internal): Compare machine name, not | |
1844 | textual BFD target name, to check whether to copy section flag | |
1845 | SHF_SH5_ISA32. | |
1846 | (sh64_elf_merge_private_data): Validize bfd_get_arch_size. | |
1847 | Tweak section-contents-type-mismatch message. | |
1848 | (shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers. | |
1849 | Validize reloc-types. | |
1850 | * elf64-sh64.c: New file. | |
1851 | * targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare. | |
1852 | * Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo. | |
1853 | (BFD64_BACKENDS_CFILES): Add elf64-sh64.c. | |
1854 | Regenerate dependencies. | |
1855 | * Makefile.in: Regenerate. | |
1856 | * config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and | |
1857 | bfd_elf64_sh64l_vec. | |
1858 | * configure.in: Handle bfd_elf64_sh64_vec and | |
1859 | bfd_elf64_sh64l_vec. | |
1860 | * configure: Regenerate. | |
1861 | * po/POTFILES.in: Regenerate. | |
1862 | * po/bfd.pot: Regenerate. | |
1863 | 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> | |
1864 | * elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize | |
1865 | anything else but EF_SH64 and EF_SH64_ABI64. | |
1866 | (sh64_elf_merge_private_data): Emit error for anything else but | |
1867 | EF_SH64 and EF_SH64_ABI64. | |
1868 | * config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec | |
1869 | from targ_selvecs. | |
1870 | * configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and | |
1871 | bfd_elf32_sh64l_vec as a temporary measure. | |
1872 | * configure: Regenerate. | |
1873 | 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> | |
1874 | * cpu-sh.c (arch_info_struct): Include sh5 item | |
1875 | unconditionalized. | |
1876 | * config.bfd (sh64-*-elf*): Do not set targ_cflags. | |
1877 | Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec, | |
1878 | bfd_elf32_shblin_vec and bfd_elf32_shlin_vec. | |
1879 | * elf32-sh64.c: Tweak comments. | |
1880 | (sh64_elf_set_mach_from_flags): Recognize all machine flags that | |
1881 | are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64. | |
1882 | (sh64_elf_copy_private_data_internal): Wrap long line. | |
1883 | (sh64_elf_merge_private_data): Rewrite to allow objects from | |
1884 | SH64 subsets to be linked together. | |
1885 | (INCLUDE_SHMEDIA): Define. | |
1886 | * elf32-sh.c (sh_elf_relocate_section) <local symbol>: | |
1887 | Parenthesize plus-expression inside or-expression. | |
1888 | <global symbol>: Ditto. | |
1889 | (sh_elf_set_mach_from_flags): Remove code refusing | |
1890 | deleted EF_SH64_32BIT_ABI flag. | |
1891 | 2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com> | |
1892 | * elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL, | |
1893 | R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL, | |
1894 | R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true. | |
1895 | (sh_elf_relocate_section) <local symbol>: Or 1 in | |
1896 | calculation of relocation if sym->st_other & STO_SH5_ISA32. | |
1897 | <global symbol>: Ditto if h->other & STO_SH5_ISA32. | |
1898 | * elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to | |
1899 | relocation. | |
1900 | 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> | |
1901 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo. | |
1902 | (BFD32_BACKENDS_CFILES): Add elf32-sh64.c. | |
1903 | Regenerate dependencies. | |
1904 | * Makefile.in: Regenerate. | |
1905 | * archures.c: Add bfd_mach_sh5. | |
1906 | * config.bfd: Map targ_cpu sh* to bfd_sh_arch. | |
1907 | Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA. | |
1908 | * configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec. | |
1909 | * configure: Regenerate. | |
1910 | * reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5, | |
1911 | BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6, | |
1912 | BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, | |
1913 | BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8, | |
1914 | BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16, | |
1915 | BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16, | |
1916 | BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16, | |
1917 | BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16, | |
1918 | BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations. | |
1919 | * cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link | |
1920 | in item for SH5. | |
1921 | * elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items | |
1922 | for SHmedia relocs. | |
1923 | [INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs. | |
1924 | [INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call | |
1925 | shmedia_prepare_reloc, goto final_link_relocate if it returns | |
1926 | non-zero, else fail as before. | |
1927 | (sh_elf_set_mach_from_flags): Provide function only if not defined | |
1928 | as macro. Do not recognize objects with EF_SH64_32BIT_ABI set. | |
1929 | (sh_elf_set_private_flags): Provide function only if not defined | |
1930 | as a macro. | |
1931 | (sh_elf_copy_private_data): Similar. | |
1932 | (sh_elf_merge_private_data): Similar. | |
1933 | * section.c (SEC_SH_ISA_SHMEDIA): New. | |
1934 | * targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare. | |
1935 | * elf32-sh64.c: New file. | |
1936 | * libbfd.h: Regenerate. | |
1937 | * bfd-in2.h: Regenerate. | |
1938 | * po/POTFILES.in: Regenerate. | |
1939 | * po/bfd.pot: Regenerate. | |
1940 | * bfd-in2.h: Regenerate. | |
1941 | * libbfd.h: Regenerate. | |
1942 | ||
e108f470 DJ |
1943 | 2002-02-07 Daniel Jacobowitz <drow@mvista.com> |
1944 | ||
1945 | * bfd-in.h: Update <stdbool.h> check to only see if <stdbool.h> has | |
1946 | been included, not drag it in. | |
1947 | * bfd-in2.h: Regenerate. | |
1948 | ||
259d18a3 L |
1949 | 2002-02-06 H.J. Lu (hjl@gnu.org) |
1950 | ||
1951 | * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update | |
1952 | the mach and ISA fields if necessary. | |
1953 | ||
f13b834e NC |
1954 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
1955 | ||
1956 | * coffcode.h (coff_set_arch_mach_hook): Select the highest known | |
1957 | ARM architecture when an F_ARM_5 flag is detected, since we cannot | |
1958 | be sure exactly which architecture this represents. | |
1959 | ||
82f6addb NC |
1960 | 2002-02-05 Nick Clifton <nickc@redhat.com> |
1961 | ||
1962 | * po/tr.po: Updated translation. | |
1963 | ||
899f54f5 AM |
1964 | 2002-02-05 Alan Modra <amodra@bigpond.net.au> |
1965 | ||
1966 | From Jimi X <jimix@watson.ibm.com> | |
1967 | * archures (bfd_mach_ppc64): Define. | |
1968 | (bfd_powerpc_arch): Rename to bfd_powerpc_archs. | |
1969 | (bfd_powerpc_arch): Define. | |
1970 | * bfd-in2.h: Regenerate. | |
1971 | * cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs. | |
1972 | (bfd_powerpc_arch): Move to tail of bfd_powerpc_archs. | |
1973 | (bfd_powerpc_archs): Add default powerpc64 arch. | |
1974 | ||
248866a8 AM |
1975 | 2002-02-05 Alan Modra <amodra@bigpond.net.au> |
1976 | ||
1977 | * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs | |
1978 | against section syms in readonly sections. Don't do the global | |
1979 | sym check if we find one. | |
1980 | * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise. | |
1981 | * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. | |
0a6958db | 1982 | * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. |
248866a8 AM |
1983 | * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise. |
1984 | (elf_s390_grok_prstatus): Add missing prototype. | |
1985 | ||
4fa5c2a8 HPN |
1986 | 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> |
1987 | ||
1988 | * elf64-mmix.c (mmix_dump_bpo_gregs): New function. | |
1989 | (mmix_elf_check_common_relocs) <case R_MMIX_BASE_PLUS_OFFSET>: | |
1990 | Call bfd_get_section_by_name only once. Initialize | |
1991 | bpodata->n_bpo_relocs_this_section. | |
1992 | (_bfd_mmix_prepare_linker_allocated_gregs): Remove comment | |
1993 | referring to DSOs. | |
1994 | (bpo_reloc_request_sort_fn): Don't use difference of values as | |
1995 | return-value. | |
1996 | ||
537c972e DB |
1997 | 2002-02-02 David O'Brien <obrien@FreeBSD> |
1998 | ||
1999 | * configure.in: Tweak the FreeBSD 4.x recognition more. Only treat | |
2000 | version 4.5 and later the same as 5-CURRENT. | |
2001 | * configure: Re-generate. | |
2002 | ||
006336b8 JT |
2003 | 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> |
2004 | ||
2005 | * config.bfd (hppa*-*-netbsd*): New target. | |
2006 | ||
6c571f00 PT |
2007 | 2002-01-31 Philipp Thomas <pthomas@suse.de> |
2008 | ||
19397422 AM |
2009 | * coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR |
2010 | to front of message. Unify messages with elf32-arm.h. Use | |
2011 | commas where neccessary. | |
2012 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase | |
2013 | ERROR in messages. Unify messages with coff-arm.c. Correct | |
2014 | VFP/FPA error message. | |
2015 | (elf32_arm_print_private_bfd_data): Don't mark APCS-26 and | |
2016 | APCS-32 for translation. | |
6c571f00 | 2017 | |
930b4cb2 HPN |
2018 | 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
2019 | ||
2020 | Perform on-demand global register allocation from | |
2021 | R_MMIX_BASE_PLUS_OFFSET relocs. | |
2022 | * elf64-mmix.c (struct bpo_reloc_section_info, struct | |
2023 | bpo_reloc_request, struct bpo_greg_section_info): New. | |
2024 | (mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook, | |
2025 | bpo_reloc_request_sort_fn, mmix_elf_relax_section, | |
2026 | _bfd_mmix_check_all_relocs, | |
2027 | _bfd_mmix_prepare_linker_allocated_gregs, | |
2028 | _bfd_mmix_finalize_linker_allocated_gregs): New functions. | |
2029 | (elf_mmix_howto_table): Correct src_mask for most relocs. | |
2030 | (mmix_elf_perform_relocation) <case R_MMIX_BASE_PLUS_OFFSET>: New | |
2031 | case. | |
2032 | (mmix_final_link_relocate) <case R_MMIX_BASE_PLUS_OFFSET>: New | |
2033 | case. Fix typo in comment. New label do_mmix_reloc. | |
2034 | (mmix_elf_check_relocs): Abuse bfd_link_info member base_file to | |
2035 | store first object file with a base-plus-offset reloc. Call | |
2036 | mmix_elf_check_common_relocs for the part common with mmo. | |
2037 | (mmix_elf_final_link): Write out linker-allocated register | |
2038 | contents section. | |
2039 | (elf_backend_gc_sweep_hook): Define. | |
2040 | (bfd_elf64_bfd_relax_section): Define. | |
2041 | ||
2042 | * mmo.c: Don't include <ctype.h> | |
2043 | (mmo_init): Correct init-once logic. | |
2044 | ||
3e36d993 TR |
2045 | 2002-02-01 Tom Rix <trix@redhat.com> |
2046 | ||
2047 | * config.bfd: Conditionally support <aiaff> for pre AIX 4.3. | |
2048 | ||
ba323545 AM |
2049 | 2002-02-01 Alan Modra <amodra@bigpond.net.au> |
2050 | ||
2051 | * Makefile.am: Run "make dep-am" | |
2052 | * Makefile.in: Regenerate. | |
2053 | ||
012884d6 DB |
2054 | 2002-01-31 David O'Brien <obrien@FreeBSD> |
2055 | ||
2056 | * configure.in: Recognize the differences in core files from FreeBSD | |
2057 | 4.{0,1} and later versions of 4.x. This treats 4.2+ the same as | |
2058 | 5-CURRENT. | |
2059 | * configure: Regenerate. | |
2060 | ||
3b16e843 NC |
2061 | 2002-01-31 Ivan Guzvinec <ivang@opencores.org> |
2062 | ||
2063 | * coff-or32.c: New file. | |
2064 | * cpu-or32.c: New file. | |
2065 | * elf32-or32.c: New file. | |
2066 | * archures.c: Add support for or32. | |
2067 | * targets.c: Add support for or32. | |
2068 | * bfd-in2.h: Regenerate. | |
7dc0ab31 | 2069 | * coffcode.h (coff_set_arch_mach_hook, coff_set_flags, |
3b16e843 NC |
2070 | coff_write_object_contents): Add support for or32. |
2071 | * config.bfd: Add target. | |
2072 | * configure.in: Add support for or32. | |
2073 | * configure: Regenerate. | |
2074 | * Makefile.am: Add support for or32. | |
2075 | * Makefile.in: Regenerate. | |
3b16e843 NC |
2076 | * po/SRC-POTFILES.in: Add or32 files. |
2077 | * po/bfd.pot: Regenerate. | |
7dc0ab31 | 2078 | |
caf8ca8e NC |
2079 | 2002-01-31 Nick Clifton <nickc@cambridge.redhat.com> |
2080 | Don Lindsay <lindsayd@cisco.com> | |
2081 | ||
2082 | * elf32-mips.c (mips_elf_calculate_relocation): Replace 'return | |
2083 | false' with a return of a bfd_reloc_ error code. | |
2084 | ||
e5dfef09 HPN |
2085 | 2002-01-31 Hans-Peter Nilsson <hp@axis.com> |
2086 | ||
2087 | * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't | |
2088 | unexport unreferenced symbols when --export-dynamic. Call | |
2089 | _bfd_elf_strtab_delref when unexporting. | |
2090 | ||
4e4770d0 DJ |
2091 | 2002-01-30 Daniel Jacobowitz <drow@mvista.com> |
2092 | ||
2093 | * bfd-in.h: Include <stdbool.h> if it is available. | |
2094 | * bfd-in2.h: Regenerated. | |
2095 | ||
e1fa50e7 AM |
2096 | 2002-01-31 Alan Modra <amodra@bigpond.net.au> |
2097 | ||
2098 | * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should | |
2099 | not go via the plt. | |
2100 | ||
b5f79c76 NC |
2101 | 2002-01-30 Nick Clifton <nickc@cambridge.redhat.com> |
2102 | ||
b5f79c76 NC |
2103 | * archures.c: Tidy up formatting of embedded comments. |
2104 | * bfd.c: Tidy up formatting of embedded comments. | |
7dc0ab31 | 2105 | * bfd-in.h: Fix formatting of comments. |
b5f79c76 NC |
2106 | * reloc.c: Tidy up formatting of ordinary & embedded comments. |
2107 | * section.c: Tidy up formatting of embedded comments. | |
2108 | * syms.c: Tidy up formatting of embedded comments. | |
2109 | * targets.c: Tidy up formatting of embedded comments. | |
2110 | ||
2111 | * bfd-in2.h: Regenerate. | |
2112 | ||
ca09e32b NC |
2113 | 2002-01-30 Nick Clifton <nickc@cambridge.redhat.com> |
2114 | ||
2115 | * vms-tir.c (cmd_name): New function. | |
2116 | (tir_cmd_name): New function. | |
2117 | (etir_sta, etir_sto, etir_opr, etir_stc): Use cmd_name(). | |
2118 | (tir_opr, tir_ctl, tir_cmd): use tir_cmd_name(). | |
2119 | Fix formatting. | |
7dc0ab31 | 2120 | |
ca09e32b NC |
2121 | * peXXigen.c (pe_print_idata): Rearrange message to aid in |
2122 | translation. | |
2123 | (pe_print_pdata): Rearrange message to aid in translation. | |
2124 | ||
2125 | * libbfd.c (warn_deprecated): Rearrange error message to aid in | |
2126 | translation. | |
2127 | ||
2128 | * ihex.c (ihex_write_object_contents): Fix spelling typo. | |
2129 | ||
2130 | * ieee.c (ieee_slurp_external_symbols): Remove spurious space. | |
2131 | ||
2132 | * elf64-sparc.c (sparc64_elf_add_symbol_hook): Rearrange error | |
2133 | message to aid in translation. | |
2134 | ||
2135 | * elf64-mmix.c (mmix_final_link_relocate): Rearrange error message | |
2136 | to aid in translation. | |
2137 | ||
2138 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix typo. | |
2139 | ||
7dc0ab31 | 2140 | 2002-01-30 Philipp Thomas <pthomas@suse.de> |
ae1a89b7 PT |
2141 | |
2142 | * coff-arm.c, elf32-elf.h: Unify messages. | |
2143 | ||
05f64ac6 NC |
2144 | 2002-01-30 Nick Clifton <nickc@redhat.com> |
2145 | ||
2146 | * po/sv.po: Updated translation. | |
2147 | ||
f5a3e38a NC |
2148 | 2002-01-30 Philipp Thomas <pthomas@suse.de> |
2149 | ||
2150 | * dwarf2.c (read_abbrev): Use full section name in error message. | |
2151 | (decode_line_info): Likewise. | |
661a3fd4 NC |
2152 | |
2153 | * elf.c (_bfd_elf_symbol_from_bfd_symbol): Don't translate debugging | |
2154 | message. | |
2155 | ||
d926e03d AM |
2156 | 2002-01-30 Alan Modra <amodra@bigpond.net.au> |
2157 | ||
2158 | * elf64-ppc.c (func_desc_adjust): Only provide missing function | |
2159 | descriptor symbols for undefined function code syms. Clear | |
2160 | ELF_LINK_NON_ELF so that they can stay weak. | |
2161 | ||
030d18fb | 2162 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
7dc0ab31 | 2163 | Mitch Lichtenberg <mpl@broadcom.com> |
030d18fb CD |
2164 | |
2165 | * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype. | |
2166 | * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function | |
2167 | to handle 32-bit ELF embedded reloc (ld --embedded-relocs) | |
2168 | generation. | |
2169 | * bfd-in2.h: Regenerate. | |
2170 | ||
fcc76bea CD |
2171 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
2172 | ||
2173 | * elf32-mips.c: Add additional comments about HI16 relocation | |
2174 | processing. | |
2175 | (_bfd_mips_elf_hi16_reloc): Don't subtract address here for | |
2176 | pc-relative relocations. (Reverts change made on 2001-10-31.) | |
2177 | (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here | |
2178 | for pc-relative relocations. | |
2179 | (mips_elf_calculate_relocation): Add a comment about a kludge | |
2180 | in the R_MIPS_GNU_REL_HI16 handling. | |
2181 | (_bfd_mips_elf_relocate_section): Implement that kludge; | |
2182 | adjust pc-relative HI16 relocation for difference in HI16 and | |
2183 | LO16 addresses, since it can't easily be done in | |
2184 | mips_elf_calculate_relocation. | |
2185 | ||
f9cd9119 MS |
2186 | 2002-01-29 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2187 | ||
2188 | * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32 | |
2189 | relocations with PC32 relocations for undefined or weak symbols. | |
2190 | * elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise. | |
2191 | * elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise. | |
2192 | ||
702248bb JT |
2193 | 2002-01-28 Jason Thorpe <thorpej@wasabisystems.com> |
2194 | ||
2195 | * elfcore.h (elf_core_file_p): Improve comment for last change. | |
2196 | ||
4867be41 DJ |
2197 | 2002-01-27 Daniel Jacobowitz <drow@mvista.com> |
2198 | ||
2199 | * configure: Regenerated. | |
2200 | ||
a94cef6a JT |
2201 | 2002-01-27 Jason Thorpe <thorpej@wasabisystems.com> |
2202 | ||
2203 | * elfcore.h (elf_core_file_p): Set the machine architecture | |
2204 | before processing the program headers. | |
2205 | ||
7562a296 HPN |
2206 | 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> |
2207 | ||
966abd70 HPN |
2208 | * configure.in <64-bit configuration>: If using gcc, check and |
2209 | emit error for egcs-1.1.2. | |
2210 | * configure: Regenerate. | |
2211 | ||
e8eab623 NC |
2212 | 2002-01-26 Egor Duda <deo@logos-m.ru> |
2213 | ||
2214 | * elf.c (elfcore_grok_win32pstatus): Copy only as much information | |
2215 | as possible to avoid stack corruption. | |
2216 | ||
73896efb RH |
2217 | 2002-01-26 Richard Henderson <rth@redhat.com> |
2218 | ||
2219 | * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext | |
2220 | for non-allocated sections. | |
2221 | ||
2222 | 2002-01-25 Mark Kettenis <kettenis@gnu.org> | |
c106e334 MK |
2223 | |
2224 | * elf.c (elfcore_write_prstatus): Make sure we pass the address of | |
2225 | prstat.pr_reg even if it is a struct. | |
2226 | ||
73896efb | 2227 | 2002-01-25 Steve Ellcey <sje@cup.hp.com> |
254ed743 NC |
2228 | |
2229 | * bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. | |
2230 | ||
3d66c4f7 NC |
2231 | 2002-01-25 Philipp Thomas <pthomas@suse.de> |
2232 | ||
2233 | * coffgen.c (coff_print_symbol): Don't mark info message | |
2234 | for translation. | |
2235 | ||
9460ecda NC |
2236 | 2002-01-25 Nick Clifton <nickc@redhat.com> |
2237 | ||
2238 | * po/fr.po: Updated translation. | |
2239 | * po/es.po: Updated translation. | |
2240 | ||
cc9ff76a AM |
2241 | 2002-01-25 Philipp Thomas <pthomas@suse.de> |
2242 | ||
2243 | * coff-alpha.c (alpha_relocate_section): Unify warning message | |
2244 | for GP relative relocations without GP defined. | |
2245 | * coff-mips.c (mips_relocate_section): Likewise. | |
2246 | ||
c68836a9 AM |
2247 | 2002-01-25 Alan Modra <amodra@bigpond.net.au> |
2248 | ||
2249 | * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid | |
2250 | unsigned overflow when new_offset < old_offset. | |
2251 | ||
e8eab623 | 2252 | 2002-01-24 Philipp Thomas <pthomas@suse.de> |
391154e9 NC |
2253 | |
2254 | * bfd.c (_bfd_abort): Fix typo. | |
2255 | ||
8ba89f17 RH |
2256 | 2002-01-23 Richard Henderson <rth@redhat.com> |
2257 | ||
2258 | * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress | |
2259 | plt entries for undefweak symbols. | |
2260 | ||
c6953948 NC |
2261 | 2002-01-23 Steve Ellcey <sje@cup.hp.com> |
2262 | ||
2263 | * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to | |
2264 | DEFAULT_VECTOR. | |
2265 | (bfd_elf64_ia64_hpux_big_vec): Ditto. | |
2266 | (bfd_elf32_h8300_vec): Ditto. | |
2267 | ||
41bd81ab AM |
2268 | 2002-01-23 Alan Modra <amodra@bigpond.net.au> |
2269 | ||
2270 | * elf64-ppc.c: Remove stale part of ABI comment. | |
2271 | (NO_OPD_RELOCS): Define. | |
2272 | (ppc64_elf_check_relocs): Use it. | |
2273 | (ppc64_elf_relocate_section): Here too. | |
2274 | (build_one_stub): Don't point function syms at the stub. Instead, | |
2275 | hijack plt.offset. | |
2276 | (ppc64_elf_relocate_section): Check whether REL24 relocs should | |
2277 | really go to the stub. Make all dynamic relocs in opd against | |
2278 | locals. | |
2279 | (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of | |
2280 | plt.offset. | |
2281 | ||
f304919d RH |
2282 | 2002-01-22 Richard Henderson <rth@redhat.com> |
2283 | ||
2284 | * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp. | |
2285 | ||
c0ef99a7 AM |
2286 | 2002-01-22 Alan Modra <amodra@bigpond.net.au> |
2287 | ||
60ee0d4a AM |
2288 | * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of |
2289 | TOC_BASE_OFF adjustment. | |
2290 | ||
c0ef99a7 AM |
2291 | * Makefile.am: Run "make dep-am". |
2292 | * Makefile.in: Regenerate. | |
2293 | * po/SRC-POTFILES.in: Regenerate. | |
2294 | ||
64328b46 AM |
2295 | 2002-01-22 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2296 | ||
2297 | * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new | |
2298 | host defines. | |
2299 | ||
59953665 | 2300 | 2002-01-21 Hans-Peter Nilsson <hp@axis.com> |
58255df3 HPN |
2301 | |
2302 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>: | |
2303 | Check for and emit error if sgot is NULL at this point. | |
2304 | ||
9596feea JT |
2305 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
2306 | ||
2307 | * config.bfd (ia64*-*-netbsd*): New target. | |
2308 | ||
7b45c6e1 AM |
2309 | 2002-01-21 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at> |
2310 | ||
2311 | * som.c (som_write_space_strings): Comment typo fix. | |
2312 | ||
e5094212 AM |
2313 | 2002-01-21 Alan Modra <amodra@bigpond.net.au> |
2314 | ||
e86ce104 AM |
2315 | * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and |
2316 | is_func_descriptor fields. | |
2317 | (link_hash_newfunc): Init them. | |
2318 | (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a | |
2319 | dot are candidates for plt entries. When processing .opd relocs, | |
2320 | set function descriptor strings to point inside function code | |
2321 | string, and set new ppc_link_hash_entry fields. | |
2322 | (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs. | |
2323 | (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with | |
2324 | function descriptors. It's now done in.. | |
2325 | (func_desc_adjust): New. | |
2326 | (ppc64_elf_func_desc_adjust): New. | |
2327 | (define elf_backend_always_size_sections): Define. | |
2328 | (ppc64_elf_hide_symbol): New. | |
2329 | (define elf_backend_hide_symbol): Define. | |
2330 | (allocate_dynrelocs): Remove code looking up function descriptors | |
2331 | as that has been done earlier. | |
2332 | (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash | |
2333 | table. | |
2334 | (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking | |
2335 | up function descriptor. | |
2336 | (build_one_stub): Look up the function code sym. Check for | |
2337 | invalid plt offsets. | |
2338 | (ppc64_elf_relocate_section): Tweak calls to undefined weak syms. | |
2339 | Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs. | |
2340 | ||
e5094212 AM |
2341 | * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add |
2342 | boolean param. | |
2343 | (_bfd_elf_link_hash_hide_symbol): Likewise. | |
2344 | * elflink.h (elf_link_add_object_symbols): Adjust call to | |
2345 | elf_backend_hide_symbol. | |
2346 | (elf_fix_symbol_flags): Likewise. | |
2347 | (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather | |
2348 | than bfd_alloc. | |
2349 | * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param. | |
2350 | Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref. | |
2351 | * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. | |
2352 | (clobber_millicode_symbols): Adjust to suit new hide_symbol. | |
2353 | * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param | |
2354 | and adjust to suit. | |
2355 | * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call | |
2356 | _bfd_elf_link_hash_hide_symbol rather than duplicating code. | |
2357 | * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. | |
2358 | ||
40b8271b AM |
2359 | 2002-01-18 Alan Modra <amodra@bigpond.net.au> |
2360 | ||
2361 | * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a | |
2362 | dynamic function descriptor symbol, not the associated function | |
2363 | symbol. | |
2364 | ||
55baa95b EC |
2365 | 2002-01-17 Eric Christopher <echristo@redhat.com> |
2366 | ||
2367 | * elf32-mips.c (mips_elf_calculate_relocation): Fix typo. | |
2368 | ||
328577ad NC |
2369 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
2370 | ||
2371 | * po/bfd.pot: Regenerate. | |
2372 | * po/fr.po: Regenerate. | |
2373 | ||
af746e92 AM |
2374 | 2002-01-17 Alan Modra <amodra@bigpond.net.au> |
2375 | ||
2376 | * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>): | |
2377 | Remove "Elf_Internal_Shdr *" param. | |
2378 | (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
2379 | * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. | |
2380 | * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. | |
2381 | * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. | |
2382 | * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. | |
2383 | * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. | |
2384 | * elf.c (_bfd_elf_section_from_bfd_section): Allow backend | |
2385 | function to override special sections. Remove hdr arg from | |
2386 | backend call, and don't loop. | |
2387 | ||
175e9962 EC |
2388 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
2389 | ||
2390 | * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp | |
2391 | on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of | |
2392 | relocations requiring gp0 and gp. | |
2393 | ||
96a846ea RE |
2394 | 2002-01-16 Richard Earnshaw <rearnsha@arm.com> |
2395 | ||
175e9962 | 2396 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle |
96a846ea RE |
2397 | EF_ARM_VFP_FLOAT. |
2398 | (elf32_arm_print_private_bfd_data): Likewise. | |
2399 | ||
af3ae48d NC |
2400 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
2401 | ||
2402 | * po/tr.po: Import new version. | |
2403 | ||
10ed1bba AM |
2404 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
2405 | ||
2406 | * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs. | |
2407 | (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc. | |
2408 | (ORI_R0_R0_0): Correct. | |
2409 | ||
5d1634d7 AM |
2410 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
2411 | ||
2412 | * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE | |
2413 | when plt_not_loaded. | |
2414 | * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to | |
2415 | clear .plt SEC_CODE here. Create .stub and correct .glink flags. | |
2416 | (PLT_INITIAL_ENTRY_SIZE): Set to 24. | |
2417 | (ppc64_elf_glink_code): Delete. | |
2418 | (PPC64_ELF_GLINK_SIZE): Delete. | |
2419 | (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11, | |
2420 | BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0, | |
2421 | ORI_R0_R0_0): Define. | |
2422 | (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define. | |
2423 | (struct ppc_link_hash_table): Add sstub and plt_overflow. | |
2424 | (ppc64_elf_link_hash_table_create): Init them. | |
2425 | (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry. | |
2426 | Don't copy to shared lib. | |
2427 | (ppc64_elf_check_relocs): Call bfd_set_error on errors. | |
2428 | (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount. | |
2429 | (allocate_dynrelocs <plt>): Don't change function sym here. Make | |
2430 | room for .stub and .glink code. | |
2431 | (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for | |
2432 | DT_PPC64_GLINK. | |
2433 | (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call | |
2434 | bfd_elf64_bfd_final_link. | |
2435 | (bfd_elf64_bfd_final_link): Don't define. | |
2436 | (ppc64_elf_size_stubs): New. | |
2437 | (build_plt_stub): New. | |
2438 | (build_one_stub): New. | |
2439 | (ppc64_elf_build_stubs): New. | |
2440 | (ppc64_elf_relocate_section <toc relocs>): Remove assert. | |
2441 | (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs. | |
2442 | (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set | |
2443 | DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in | |
2444 | case output sections not separate. Adjust DT_RELASZ to not | |
2445 | include plt relocs. Set reserved got entry. Set got and plt | |
2446 | entry size. | |
2447 | (elf_backend_got_header_size): Set to 8. | |
2448 | * elf64-ppc.h: New file. | |
2449 | ||
c601ffdb AM |
2450 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
2451 | ||
2452 | * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing | |
2453 | sections, use bfd_section_list_remove. | |
2454 | * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. | |
2455 | * elflink.h (elf_link_add_object_symbols): When removing all | |
2456 | sections, use bfd_section_list_clear. | |
2457 | ||
8fb4cb7f NC |
2458 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
2459 | ||
2460 | * po/sv.po: New file: Swedish translation. | |
2461 | * configure.in (ALL_LINGUAS): Add sv. | |
2462 | * configure: Regenerate. | |
2463 | ||
d3c456e9 JJ |
2464 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
2465 | ||
2466 | * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. | |
2467 | * elf.c (merge_sections_remove_hook): New function. | |
2468 | (_bfd_elf_merge_sections): Pass it as 3rd argument to | |
2469 | _bfd_merge_sections. | |
2470 | * libbfd-in.h (_bfd_merge_sections): Add 3rd argument. | |
2471 | * libbfd.h: Rebuilt. | |
2472 | * merge.c (_bfd_merge_sections): Add remove_hook argument. | |
2473 | Call remove_hook if a SEC_EXCLUDE section is encountered. | |
2474 | ||
1f7fd478 NC |
2475 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
2476 | ||
2477 | * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'. | |
2478 | (xstormy16_reloc_map): Initialise new field with correct howto | |
2479 | table. | |
2480 | (xstormy16_reloc_type_lookup): Use 'table' field to locate correct | |
2481 | howto entry. | |
2482 | ||
b87011e9 MS |
2483 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
2484 | ||
2485 | * elf.c (elfcore_write_prstatus): Use long instead of pid_t; | |
2486 | (elfcore_write_pstatus): Use long instead of pid_t; | |
2487 | * elf-bfd.h: Change prototypes to use long instead of pid_t; | |
2488 | ||
175e9962 | 2489 | 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com> |
b4db1224 JT |
2490 | |
2491 | * elf.c: Update copyright years. | |
2492 | (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO | |
2493 | and NT_NETBSDCORE_FIRSTMACH. Improve a comment. | |
2494 | ||
7c76fa91 MS |
2495 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
2496 | ||
2497 | Add capability to write corefile note sections, for gdb. | |
2498 | * elf.c (elfcore_write_note): New function. | |
2499 | (elfcore_write_prpsinfo): New function. | |
2500 | (elfcore_write_prstatus): New function. | |
2501 | (elfcore_write_pstatus): New function. | |
2502 | (elfcore_write_prfpreg): New function. | |
2503 | (elfcore_write_prxfpreg): New function. | |
97996af6 | 2504 | * elf-bfd.h: Add prototypes for above functions. |
7c76fa91 | 2505 | |
e1fddb6b AO |
2506 | 2002-01-08 Alexandre Oliva <aoliva@redhat.com> |
2507 | ||
2508 | * elf.c (elf_fake_sections): Propagate errors from | |
2509 | elf_backend_fake_section. | |
2510 | ||
8d05742f JT |
2511 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
2512 | ||
2513 | * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. | |
2514 | (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. | |
2515 | (elf32-sh-nbsd.lo): New rule. | |
2516 | * Makefile.in: Regenerate. | |
2517 | * config.bfd (sh*le-*-netbsdelf*): New target. | |
2518 | (sh*-*-netbsdelf*): New target. | |
2519 | * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. | |
2520 | (bfd_elf32_shnbsd_vec): New vector. | |
2521 | (bfd_elf32_shlnbsd_vec): New vector. | |
2522 | * configure: Regenerate. | |
2523 | * elf32-sh-nbsd.c: New file. | |
2524 | * targets.c: Update copyright years. | |
175e9962 | 2525 | (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and |
8d05742f JT |
2526 | bfd_elf32_shnbsd_vec. |
2527 | ||
1dba4cb4 AH |
2528 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
2529 | ||
2530 | * coff-rs6000.c (READ20): Use bfd_scan_vma. | |
2531 | ||
47b22aef GK |
2532 | 2002-01-07 Geoffrey Keating <geoffk@redhat.com> |
2533 | ||
2534 | * elflink.h (elf_link_input_bfd): Don't ask for the merged offset | |
2535 | of a symbol in a section that will be deleted. | |
2536 | ||
be2d1673 NC |
2537 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
2538 | ||
2539 | * po/es.po: New file: Spanish translation. | |
2540 | * configure.in (ALL_LINGUAS): Add es. | |
2541 | * configure: Regenerate. | |
2542 | ||
d9cf1b54 AM |
2543 | 2002-01-06 Steve Ellcey <sje@cup.hp.com> |
2544 | ||
2545 | * elfxx-ia64.c (is_unwind_section_name): Add target vector as | |
2546 | argument so we can handle HP-UX specially. | |
2547 | (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name. | |
2548 | (elfNN_hpux_backend_section_from_bfd_section): New for support | |
2549 | of SHN_IA_64_ANSI_COMMON. | |
2550 | (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON. | |
2551 | (is_unwind_section_name): Add special HP-UX support. | |
2552 | (elfNN_ia64_section_from_shdr): Add support for more sections. | |
2553 | (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and | |
2554 | add support for more sections. | |
2555 | (elfNN_ia64_additional_program_headers): Modify | |
2556 | is_unwind_section_name call. | |
2557 | (elfNN_ia64_modify_segment_map): Remove assumption that there is | |
2558 | only one unwind section in segment. | |
2559 | ||
3f3c5c34 AM |
2560 | 2002-01-06 Alan Modra <amodra@bigpond.net.au> |
2561 | ||
2562 | * syms.c (_bfd_generic_make_empty_symbol): New function. | |
2563 | * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as | |
2564 | _bfd_generic_make_empty_symbol. | |
2565 | * libbfd.h: Regenerate. | |
2566 | * bfd-in2.h: Regenerate. | |
2567 | * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function. | |
2568 | (hppabsd_core_get_symtab_upper_bound): Don't define. | |
2569 | (hppabsd_core_get_symtab): Likewise. | |
2570 | (hppabsd_core_print_symbol): Likewise. | |
2571 | (hppabsd_core_get_symbol_info): Likewise. | |
2572 | (hppabsd_core_bfd_is_local_label_name): Likewise. | |
2573 | (hppabsd_core_get_lineno): Likewise. | |
2574 | (hppabsd_core_find_nearest_line): Likewise. | |
2575 | (hppabsd_core_bfd_make_debug_symbol): Likewise. | |
2576 | (hppabsd_core_read_minisymbols): Likewise. | |
2577 | (hppabsd_core_minisymbol_to_symbol): Likewise. | |
2578 | (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). | |
2579 | Formatting fixes. | |
2580 | * hpux-core.c: Similarly. | |
2581 | * irix-core.c: Similarly. | |
2582 | * osf-core.c: Similarly. | |
2583 | * sco5-core.c: Similarly. | |
2584 | * binary.c (binary_make_empty_symbol): Remove function, define as | |
2585 | _bfd_generic_make_empty_symbol. | |
2586 | * ihex.c (ihex_make_empty_symbol): Likewise. | |
2587 | * mmo.c (mmo_make_empty_symbol): Likewise. | |
2588 | * ppcboot.c (ppcboot_make_empty_symbol): Likewise. | |
2589 | * srec.c (srec_make_empty_symbol): Likewise. | |
2590 | * versados.c (versados_make_empty_symbol): Likewise. | |
2591 | * vms.c (_bfd_vms_make_empty_symbol): Remove. | |
2592 | (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. | |
2593 | * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol | |
2594 | rather than _bfd_vms_make_empty_symbol. | |
2595 | * vms-misc.c (new_symbol): Likewise. | |
2596 | ||
3f0a7f7f AM |
2597 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
2598 | ||
9e7b37b3 AM |
2599 | * section.c (bfd_section_init): Remove unnecessary initialisations. |
2600 | (bfd_section_list_clear): New function. | |
2601 | (bfd_section_list_remove, bfd_section_list_insert): New macros. | |
2602 | (_bfd_strip_section_from_output): Use them. | |
2603 | * coffcode.h (coff_set_alignment_hook): Likewise. | |
2604 | * elf32-mips.c (_bfd_mips_elf_final_link): Likewise. | |
2605 | * elf64-mips.c (mips_elf64_final_link): Likewise. | |
2606 | * elf64-mmix.c (mmix_elf_final_link): Likewise. | |
2607 | * sunos.c (sunos_add_dynamic_symbols): Likewise. | |
2608 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. | |
2609 | * bfd-in2.h: Regenerate. | |
2610 | ||
2611 | * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway | |
2612 | rather than doing our own section handling. Clean up after errors | |
2613 | with bfd_release and bfd_section_list_clear. Handle unexpected | |
2614 | flags. | |
2615 | * aoutf1.h (sunos4_core_file_p): Likewise. | |
2616 | * aix386-core.c (aix386_core_file_p): Likewise. | |
2617 | * cisco-core.c (cisco_core_file_validate): Likewise. | |
2618 | * ptrace-core.c (ptrace_unix_core_file_p): Likewise. | |
2619 | * trad-core.c (trad_unix_core_file_p): Likewise. | |
2620 | ||
2621 | * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors | |
2622 | with bfd_release and bfd_section_list_clear. | |
2623 | * hpux-core.c (hpux_core_core_file_p): Likewise. | |
2624 | * irix-core.c (irix_core_core_file_p): Likewise. | |
2625 | * lynx-core.c (lynx_core_file_p): Likewise. | |
2626 | * osf-core.c (osf_core_core_file_p): Likewise. | |
2627 | * rs6000-core.c (rs6000coff_core_p): Likewise. | |
2628 | * sco5-core.c (sco5_core_file_p): Likewise. | |
2629 | ||
3f0a7f7f AM |
2630 | * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform |
2631 | sign extension adjustments without conditionals. | |
2632 | ||
a3aa38ee JJ |
2633 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
2634 | ||
2635 | * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if | |
2636 | CIE at .eh_frame start is removed due to no FDEs referencing it. | |
2637 | ||
8a8b2d4b AJ |
2638 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
2639 | ||
2640 | * config.bfd (x86_64-*-netbsd*): New target. | |
2641 | * configure.in (x86_64-*-netbsd*): Set COREFILE | |
2642 | to netbsd-core.lo. | |
2643 | * configure: Regenerated. | |
2644 | ||
04b5af89 TR |
2645 | 2002-01-03 Tom Rix <trix@redhat.com> |
2646 | ||
2647 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering | |
2648 | for recent bfd_make_section_anyway change. | |
2649 | ||
51c5503b NC |
2650 | 2002-01-03 Nick Clifton <nickc@cambridge.redhat.com> |
2651 | ||
2652 | * elf32-arm.h (elf32_arm_final_link_relocate): Handle | |
2653 | R_ARM_THM_PC11 reloc. | |
2654 | ||
07f7c046 NC |
2655 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
2656 | ||
2657 | * configure.in (LINGUAS): Add ja. | |
2658 | * configure: Regenerate. | |
2659 | * po/ja.po: Import from translation project's web site. | |
2660 | ||
5eefb65f NC |
2661 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
2662 | ||
2663 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error | |
2664 | messages to ease translation into other languages. | |
2665 | ||
39e90f10 | 2666 | For older changes see ChangeLog-0001 |
56882138 AM |
2667 | \f |
2668 | Local Variables: | |
2669 | mode: change-log | |
2670 | left-margin: 8 | |
2671 | fill-column: 74 | |
2672 | version-control: never | |
2673 | End: |