44c3088c78d400fcb2de98de0a6303bd8efa6e24
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2002-02-02 David O'Brien <obrien@FreeBSD>
2
3 * configure.in: Tweak the FreeBSD 4.x recognition more. Only treat
4 version 4.5 and later the same as 5-CURRENT.
5 * configure: Re-generate.
6
7 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
8
9 * config.bfd (hppa*-*-netbsd*): New target.
10
11 2002-01-31 Philipp Thomas <pthomas@suse.de>
12
13 * coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR
14 to front of message. Unify messages with elf32-arm.h. Use
15 commas where neccessary.
16 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase
17 ERROR in messages. Unify messages with coff-arm.c. Correct
18 VFP/FPA error message.
19 (elf32_arm_print_private_bfd_data): Don't mark APCS-26 and
20 APCS-32 for translation.
21
22 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
23
24 Perform on-demand global register allocation from
25 R_MMIX_BASE_PLUS_OFFSET relocs.
26 * elf64-mmix.c (struct bpo_reloc_section_info, struct
27 bpo_reloc_request, struct bpo_greg_section_info): New.
28 (mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook,
29 bpo_reloc_request_sort_fn, mmix_elf_relax_section,
30 _bfd_mmix_check_all_relocs,
31 _bfd_mmix_prepare_linker_allocated_gregs,
32 _bfd_mmix_finalize_linker_allocated_gregs): New functions.
33 (elf_mmix_howto_table): Correct src_mask for most relocs.
34 (mmix_elf_perform_relocation) <case R_MMIX_BASE_PLUS_OFFSET>: New
35 case.
36 (mmix_final_link_relocate) <case R_MMIX_BASE_PLUS_OFFSET>: New
37 case. Fix typo in comment. New label do_mmix_reloc.
38 (mmix_elf_check_relocs): Abuse bfd_link_info member base_file to
39 store first object file with a base-plus-offset reloc. Call
40 mmix_elf_check_common_relocs for the part common with mmo.
41 (mmix_elf_final_link): Write out linker-allocated register
42 contents section.
43 (elf_backend_gc_sweep_hook): Define.
44 (bfd_elf64_bfd_relax_section): Define.
45
46 * mmo.c: Don't include <ctype.h>
47 (mmo_init): Correct init-once logic.
48
49 2002-02-01 Tom Rix <trix@redhat.com>
50
51 * config.bfd: Conditionally support <aiaff> for pre AIX 4.3.
52
53 2002-02-01 Alan Modra <amodra@bigpond.net.au>
54
55 * Makefile.am: Run "make dep-am"
56 * Makefile.in: Regenerate.
57
58 2002-01-31 David O'Brien <obrien@FreeBSD>
59
60 * configure.in: Recognize the differences in core files from FreeBSD
61 4.{0,1} and later versions of 4.x. This treats 4.2+ the same as
62 5-CURRENT.
63 * configure: Regenerate.
64
65 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
66
67 * coff-or32.c: New file.
68 * cpu-or32.c: New file.
69 * elf32-or32.c: New file.
70 * archures.c: Add support for or32.
71 * targets.c: Add support for or32.
72 * bfd-in2.h: Regenerate.
73 * coffcode.h (coff_set_arch_mach_hook, coff_set_flags,
74 coff_write_object_contents): Add support for or32.
75 * config.bfd: Add target.
76 * configure.in: Add support for or32.
77 * configure: Regenerate.
78 * Makefile.am: Add support for or32.
79 * Makefile.in: Regenerate.
80 * po/SRC-POTFILES.in: Add or32 files.
81 * po/bfd.pot: Regenerate.
82
83 2002-01-31 Nick Clifton <nickc@cambridge.redhat.com>
84 Don Lindsay <lindsayd@cisco.com>
85
86 * elf32-mips.c (mips_elf_calculate_relocation): Replace 'return
87 false' with a return of a bfd_reloc_ error code.
88
89 2002-01-31 Hans-Peter Nilsson <hp@axis.com>
90
91 * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
92 unexport unreferenced symbols when --export-dynamic. Call
93 _bfd_elf_strtab_delref when unexporting.
94
95 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
96
97 * bfd-in.h: Include <stdbool.h> if it is available.
98 * bfd-in2.h: Regenerated.
99
100 2002-01-31 Alan Modra <amodra@bigpond.net.au>
101
102 * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should
103 not go via the plt.
104
105 2002-01-30 Nick Clifton <nickc@cambridge.redhat.com>
106
107 * archures.c: Tidy up formatting of embedded comments.
108 * bfd.c: Tidy up formatting of embedded comments.
109 * bfd-in.h: Fix formatting of comments.
110 * reloc.c: Tidy up formatting of ordinary & embedded comments.
111 * section.c: Tidy up formatting of embedded comments.
112 * syms.c: Tidy up formatting of embedded comments.
113 * targets.c: Tidy up formatting of embedded comments.
114
115 * bfd-in2.h: Regenerate.
116
117 2002-01-30 Nick Clifton <nickc@cambridge.redhat.com>
118
119 * vms-tir.c (cmd_name): New function.
120 (tir_cmd_name): New function.
121 (etir_sta, etir_sto, etir_opr, etir_stc): Use cmd_name().
122 (tir_opr, tir_ctl, tir_cmd): use tir_cmd_name().
123 Fix formatting.
124
125 * peXXigen.c (pe_print_idata): Rearrange message to aid in
126 translation.
127 (pe_print_pdata): Rearrange message to aid in translation.
128
129 * libbfd.c (warn_deprecated): Rearrange error message to aid in
130 translation.
131
132 * ihex.c (ihex_write_object_contents): Fix spelling typo.
133
134 * ieee.c (ieee_slurp_external_symbols): Remove spurious space.
135
136 * elf64-sparc.c (sparc64_elf_add_symbol_hook): Rearrange error
137 message to aid in translation.
138
139 * elf64-mmix.c (mmix_final_link_relocate): Rearrange error message
140 to aid in translation.
141
142 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix typo.
143
144 2002-01-30 Philipp Thomas <pthomas@suse.de>
145
146 * coff-arm.c, elf32-elf.h: Unify messages.
147
148 2002-01-30 Nick Clifton <nickc@redhat.com>
149
150 * po/sv.po: Updated translation.
151
152 2002-01-30 Philipp Thomas <pthomas@suse.de>
153
154 * dwarf2.c (read_abbrev): Use full section name in error message.
155 (decode_line_info): Likewise.
156
157 * elf.c (_bfd_elf_symbol_from_bfd_symbol): Don't translate debugging
158 message.
159
160 2002-01-30 Alan Modra <amodra@bigpond.net.au>
161
162 * elf64-ppc.c (func_desc_adjust): Only provide missing function
163 descriptor symbols for undefined function code syms. Clear
164 ELF_LINK_NON_ELF so that they can stay weak.
165
166 2002-01-29 Chris Demetriou <cgd@broadcom.com>
167 Mitch Lichtenberg <mpl@broadcom.com>
168
169 * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype.
170 * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function
171 to handle 32-bit ELF embedded reloc (ld --embedded-relocs)
172 generation.
173 * bfd-in2.h: Regenerate.
174
175 2002-01-29 Chris Demetriou <cgd@broadcom.com>
176
177 * elf32-mips.c: Add additional comments about HI16 relocation
178 processing.
179 (_bfd_mips_elf_hi16_reloc): Don't subtract address here for
180 pc-relative relocations. (Reverts change made on 2001-10-31.)
181 (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here
182 for pc-relative relocations.
183 (mips_elf_calculate_relocation): Add a comment about a kludge
184 in the R_MIPS_GNU_REL_HI16 handling.
185 (_bfd_mips_elf_relocate_section): Implement that kludge;
186 adjust pc-relative HI16 relocation for difference in HI16 and
187 LO16 addresses, since it can't easily be done in
188 mips_elf_calculate_relocation.
189
190 2002-01-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
191
192 * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32
193 relocations with PC32 relocations for undefined or weak symbols.
194 * elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise.
195 * elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise.
196
197 2002-01-28 Jason Thorpe <thorpej@wasabisystems.com>
198
199 * elfcore.h (elf_core_file_p): Improve comment for last change.
200
201 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
202
203 * configure: Regenerated.
204
205 2002-01-27 Jason Thorpe <thorpej@wasabisystems.com>
206
207 * elfcore.h (elf_core_file_p): Set the machine architecture
208 before processing the program headers.
209
210 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
211
212 * configure.in <64-bit configuration>: If using gcc, check and
213 emit error for egcs-1.1.2.
214 * configure: Regenerate.
215
216 2002-01-26 Egor Duda <deo@logos-m.ru>
217
218 * elf.c (elfcore_grok_win32pstatus): Copy only as much information
219 as possible to avoid stack corruption.
220
221 2002-01-26 Richard Henderson <rth@redhat.com>
222
223 * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext
224 for non-allocated sections.
225
226 2002-01-25 Mark Kettenis <kettenis@gnu.org>
227
228 * elf.c (elfcore_write_prstatus): Make sure we pass the address of
229 prstat.pr_reg even if it is a struct.
230
231 2002-01-25 Steve Ellcey <sje@cup.hp.com>
232
233 * bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX.
234
235 2002-01-25 Philipp Thomas <pthomas@suse.de>
236
237 * coffgen.c (coff_print_symbol): Don't mark info message
238 for translation.
239
240 2002-01-25 Nick Clifton <nickc@redhat.com>
241
242 * po/fr.po: Updated translation.
243 * po/es.po: Updated translation.
244
245 2002-01-25 Philipp Thomas <pthomas@suse.de>
246
247 * coff-alpha.c (alpha_relocate_section): Unify warning message
248 for GP relative relocations without GP defined.
249 * coff-mips.c (mips_relocate_section): Likewise.
250
251 2002-01-25 Alan Modra <amodra@bigpond.net.au>
252
253 * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid
254 unsigned overflow when new_offset < old_offset.
255
256 2002-01-24 Philipp Thomas <pthomas@suse.de>
257
258 * bfd.c (_bfd_abort): Fix typo.
259
260 2002-01-23 Richard Henderson <rth@redhat.com>
261
262 * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress
263 plt entries for undefweak symbols.
264
265 2002-01-23 Steve Ellcey <sje@cup.hp.com>
266
267 * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to
268 DEFAULT_VECTOR.
269 (bfd_elf64_ia64_hpux_big_vec): Ditto.
270 (bfd_elf32_h8300_vec): Ditto.
271
272 2002-01-23 Alan Modra <amodra@bigpond.net.au>
273
274 * elf64-ppc.c: Remove stale part of ABI comment.
275 (NO_OPD_RELOCS): Define.
276 (ppc64_elf_check_relocs): Use it.
277 (ppc64_elf_relocate_section): Here too.
278 (build_one_stub): Don't point function syms at the stub. Instead,
279 hijack plt.offset.
280 (ppc64_elf_relocate_section): Check whether REL24 relocs should
281 really go to the stub. Make all dynamic relocs in opd against
282 locals.
283 (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of
284 plt.offset.
285
286 2002-01-22 Richard Henderson <rth@redhat.com>
287
288 * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp.
289
290 2002-01-22 Alan Modra <amodra@bigpond.net.au>
291
292 * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of
293 TOC_BASE_OFF adjustment.
294
295 * Makefile.am: Run "make dep-am".
296 * Makefile.in: Regenerate.
297 * po/SRC-POTFILES.in: Regenerate.
298
299 2002-01-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
300
301 * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new
302 host defines.
303
304 2002-01-21 Hans-Peter Nilsson <hp@axis.com>
305
306 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>:
307 Check for and emit error if sgot is NULL at this point.
308
309 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
310
311 * config.bfd (ia64*-*-netbsd*): New target.
312
313 2002-01-21 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
314
315 * som.c (som_write_space_strings): Comment typo fix.
316
317 2002-01-21 Alan Modra <amodra@bigpond.net.au>
318
319 * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and
320 is_func_descriptor fields.
321 (link_hash_newfunc): Init them.
322 (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a
323 dot are candidates for plt entries. When processing .opd relocs,
324 set function descriptor strings to point inside function code
325 string, and set new ppc_link_hash_entry fields.
326 (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs.
327 (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with
328 function descriptors. It's now done in..
329 (func_desc_adjust): New.
330 (ppc64_elf_func_desc_adjust): New.
331 (define elf_backend_always_size_sections): Define.
332 (ppc64_elf_hide_symbol): New.
333 (define elf_backend_hide_symbol): Define.
334 (allocate_dynrelocs): Remove code looking up function descriptors
335 as that has been done earlier.
336 (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash
337 table.
338 (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking
339 up function descriptor.
340 (build_one_stub): Look up the function code sym. Check for
341 invalid plt offsets.
342 (ppc64_elf_relocate_section): Tweak calls to undefined weak syms.
343 Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs.
344
345 * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add
346 boolean param.
347 (_bfd_elf_link_hash_hide_symbol): Likewise.
348 * elflink.h (elf_link_add_object_symbols): Adjust call to
349 elf_backend_hide_symbol.
350 (elf_fix_symbol_flags): Likewise.
351 (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather
352 than bfd_alloc.
353 * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param.
354 Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref.
355 * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
356 (clobber_millicode_symbols): Adjust to suit new hide_symbol.
357 * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param
358 and adjust to suit.
359 * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call
360 _bfd_elf_link_hash_hide_symbol rather than duplicating code.
361 * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.
362
363 2002-01-18 Alan Modra <amodra@bigpond.net.au>
364
365 * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a
366 dynamic function descriptor symbol, not the associated function
367 symbol.
368
369 2002-01-17 Eric Christopher <echristo@redhat.com>
370
371 * elf32-mips.c (mips_elf_calculate_relocation): Fix typo.
372
373 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
374
375 * po/bfd.pot: Regenerate.
376 * po/fr.po: Regenerate.
377
378 2002-01-17 Alan Modra <amodra@bigpond.net.au>
379
380 * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>):
381 Remove "Elf_Internal_Shdr *" param.
382 (_bfd_mips_elf_section_from_bfd_section): Ditto.
383 * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto.
384 * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto.
385 * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto.
386 * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto.
387 * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto.
388 * elf.c (_bfd_elf_section_from_bfd_section): Allow backend
389 function to override special sections. Remove hdr arg from
390 backend call, and don't loop.
391
392 2002-01-16 Eric Christopher <echristo@redhat.com>
393
394 * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp
395 on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of
396 relocations requiring gp0 and gp.
397
398 2002-01-16 Richard Earnshaw <rearnsha@arm.com>
399
400 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle
401 EF_ARM_VFP_FLOAT.
402 (elf32_arm_print_private_bfd_data): Likewise.
403
404 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
405
406 * po/tr.po: Import new version.
407
408 2002-01-16 Alan Modra <amodra@bigpond.net.au>
409
410 * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs.
411 (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc.
412 (ORI_R0_R0_0): Correct.
413
414 2002-01-16 Alan Modra <amodra@bigpond.net.au>
415
416 * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE
417 when plt_not_loaded.
418 * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to
419 clear .plt SEC_CODE here. Create .stub and correct .glink flags.
420 (PLT_INITIAL_ENTRY_SIZE): Set to 24.
421 (ppc64_elf_glink_code): Delete.
422 (PPC64_ELF_GLINK_SIZE): Delete.
423 (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11,
424 BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0,
425 ORI_R0_R0_0): Define.
426 (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define.
427 (struct ppc_link_hash_table): Add sstub and plt_overflow.
428 (ppc64_elf_link_hash_table_create): Init them.
429 (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry.
430 Don't copy to shared lib.
431 (ppc64_elf_check_relocs): Call bfd_set_error on errors.
432 (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount.
433 (allocate_dynrelocs <plt>): Don't change function sym here. Make
434 room for .stub and .glink code.
435 (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for
436 DT_PPC64_GLINK.
437 (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call
438 bfd_elf64_bfd_final_link.
439 (bfd_elf64_bfd_final_link): Don't define.
440 (ppc64_elf_size_stubs): New.
441 (build_plt_stub): New.
442 (build_one_stub): New.
443 (ppc64_elf_build_stubs): New.
444 (ppc64_elf_relocate_section <toc relocs>): Remove assert.
445 (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs.
446 (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set
447 DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in
448 case output sections not separate. Adjust DT_RELASZ to not
449 include plt relocs. Set reserved got entry. Set got and plt
450 entry size.
451 (elf_backend_got_header_size): Set to 8.
452 * elf64-ppc.h: New file.
453
454 2002-01-16 Alan Modra <amodra@bigpond.net.au>
455
456 * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing
457 sections, use bfd_section_list_remove.
458 * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
459 * elflink.h (elf_link_add_object_symbols): When removing all
460 sections, use bfd_section_list_clear.
461
462 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
463
464 * po/sv.po: New file: Swedish translation.
465 * configure.in (ALL_LINGUAS): Add sv.
466 * configure: Regenerate.
467
468 2002-01-15 Jakub Jelinek <jakub@redhat.com>
469
470 * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change.
471 * elf.c (merge_sections_remove_hook): New function.
472 (_bfd_elf_merge_sections): Pass it as 3rd argument to
473 _bfd_merge_sections.
474 * libbfd-in.h (_bfd_merge_sections): Add 3rd argument.
475 * libbfd.h: Rebuilt.
476 * merge.c (_bfd_merge_sections): Add remove_hook argument.
477 Call remove_hook if a SEC_EXCLUDE section is encountered.
478
479 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
480
481 * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'.
482 (xstormy16_reloc_map): Initialise new field with correct howto
483 table.
484 (xstormy16_reloc_type_lookup): Use 'table' field to locate correct
485 howto entry.
486
487 2002-01-10 Michael Snyder <msnyder@redhat.com>
488
489 * elf.c (elfcore_write_prstatus): Use long instead of pid_t;
490 (elfcore_write_pstatus): Use long instead of pid_t;
491 * elf-bfd.h: Change prototypes to use long instead of pid_t;
492
493 2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
494
495 * elf.c: Update copyright years.
496 (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO
497 and NT_NETBSDCORE_FIRSTMACH. Improve a comment.
498
499 2002-01-08 Michael Snyder <msnyder@redhat.com>
500
501 Add capability to write corefile note sections, for gdb.
502 * elf.c (elfcore_write_note): New function.
503 (elfcore_write_prpsinfo): New function.
504 (elfcore_write_prstatus): New function.
505 (elfcore_write_pstatus): New function.
506 (elfcore_write_prfpreg): New function.
507 (elfcore_write_prxfpreg): New function.
508 * elf-bfd.h: Add prototypes for above functions.
509
510 2002-01-08 Alexandre Oliva <aoliva@redhat.com>
511
512 * elf.c (elf_fake_sections): Propagate errors from
513 elf_backend_fake_section.
514
515 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
516
517 * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo.
518 (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c.
519 (elf32-sh-nbsd.lo): New rule.
520 * Makefile.in: Regenerate.
521 * config.bfd (sh*le-*-netbsdelf*): New target.
522 (sh*-*-netbsdelf*): New target.
523 * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*.
524 (bfd_elf32_shnbsd_vec): New vector.
525 (bfd_elf32_shlnbsd_vec): New vector.
526 * configure: Regenerate.
527 * elf32-sh-nbsd.c: New file.
528 * targets.c: Update copyright years.
529 (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and
530 bfd_elf32_shnbsd_vec.
531
532 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
533
534 * coff-rs6000.c (READ20): Use bfd_scan_vma.
535
536 2002-01-07 Geoffrey Keating <geoffk@redhat.com>
537
538 * elflink.h (elf_link_input_bfd): Don't ask for the merged offset
539 of a symbol in a section that will be deleted.
540
541 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
542
543 * po/es.po: New file: Spanish translation.
544 * configure.in (ALL_LINGUAS): Add es.
545 * configure: Regenerate.
546
547 2002-01-06 Steve Ellcey <sje@cup.hp.com>
548
549 * elfxx-ia64.c (is_unwind_section_name): Add target vector as
550 argument so we can handle HP-UX specially.
551 (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name.
552 (elfNN_hpux_backend_section_from_bfd_section): New for support
553 of SHN_IA_64_ANSI_COMMON.
554 (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON.
555 (is_unwind_section_name): Add special HP-UX support.
556 (elfNN_ia64_section_from_shdr): Add support for more sections.
557 (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and
558 add support for more sections.
559 (elfNN_ia64_additional_program_headers): Modify
560 is_unwind_section_name call.
561 (elfNN_ia64_modify_segment_map): Remove assumption that there is
562 only one unwind section in segment.
563
564 2002-01-06 Alan Modra <amodra@bigpond.net.au>
565
566 * syms.c (_bfd_generic_make_empty_symbol): New function.
567 * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as
568 _bfd_generic_make_empty_symbol.
569 * libbfd.h: Regenerate.
570 * bfd-in2.h: Regenerate.
571 * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function.
572 (hppabsd_core_get_symtab_upper_bound): Don't define.
573 (hppabsd_core_get_symtab): Likewise.
574 (hppabsd_core_print_symbol): Likewise.
575 (hppabsd_core_get_symbol_info): Likewise.
576 (hppabsd_core_bfd_is_local_label_name): Likewise.
577 (hppabsd_core_get_lineno): Likewise.
578 (hppabsd_core_find_nearest_line): Likewise.
579 (hppabsd_core_bfd_make_debug_symbol): Likewise.
580 (hppabsd_core_read_minisymbols): Likewise.
581 (hppabsd_core_minisymbol_to_symbol): Likewise.
582 (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).
583 Formatting fixes.
584 * hpux-core.c: Similarly.
585 * irix-core.c: Similarly.
586 * osf-core.c: Similarly.
587 * sco5-core.c: Similarly.
588 * binary.c (binary_make_empty_symbol): Remove function, define as
589 _bfd_generic_make_empty_symbol.
590 * ihex.c (ihex_make_empty_symbol): Likewise.
591 * mmo.c (mmo_make_empty_symbol): Likewise.
592 * ppcboot.c (ppcboot_make_empty_symbol): Likewise.
593 * srec.c (srec_make_empty_symbol): Likewise.
594 * versados.c (versados_make_empty_symbol): Likewise.
595 * vms.c (_bfd_vms_make_empty_symbol): Remove.
596 (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol.
597 * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol
598 rather than _bfd_vms_make_empty_symbol.
599 * vms-misc.c (new_symbol): Likewise.
600
601 2002-01-05 Alan Modra <amodra@bigpond.net.au>
602
603 * section.c (bfd_section_init): Remove unnecessary initialisations.
604 (bfd_section_list_clear): New function.
605 (bfd_section_list_remove, bfd_section_list_insert): New macros.
606 (_bfd_strip_section_from_output): Use them.
607 * coffcode.h (coff_set_alignment_hook): Likewise.
608 * elf32-mips.c (_bfd_mips_elf_final_link): Likewise.
609 * elf64-mips.c (mips_elf64_final_link): Likewise.
610 * elf64-mmix.c (mmix_elf_final_link): Likewise.
611 * sunos.c (sunos_add_dynamic_symbols): Likewise.
612 * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
613 * bfd-in2.h: Regenerate.
614
615 * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway
616 rather than doing our own section handling. Clean up after errors
617 with bfd_release and bfd_section_list_clear. Handle unexpected
618 flags.
619 * aoutf1.h (sunos4_core_file_p): Likewise.
620 * aix386-core.c (aix386_core_file_p): Likewise.
621 * cisco-core.c (cisco_core_file_validate): Likewise.
622 * ptrace-core.c (ptrace_unix_core_file_p): Likewise.
623 * trad-core.c (trad_unix_core_file_p): Likewise.
624
625 * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors
626 with bfd_release and bfd_section_list_clear.
627 * hpux-core.c (hpux_core_core_file_p): Likewise.
628 * irix-core.c (irix_core_core_file_p): Likewise.
629 * lynx-core.c (lynx_core_file_p): Likewise.
630 * osf-core.c (osf_core_core_file_p): Likewise.
631 * rs6000-core.c (rs6000coff_core_p): Likewise.
632 * sco5-core.c (sco5_core_file_p): Likewise.
633
634 * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform
635 sign extension adjustments without conditionals.
636
637 2002-01-04 Jakub Jelinek <jakub@redhat.com>
638
639 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if
640 CIE at .eh_frame start is removed due to no FDEs referencing it.
641
642 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
643
644 * config.bfd (x86_64-*-netbsd*): New target.
645 * configure.in (x86_64-*-netbsd*): Set COREFILE
646 to netbsd-core.lo.
647 * configure: Regenerated.
648
649 2002-01-03 Tom Rix <trix@redhat.com>
650
651 * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering
652 for recent bfd_make_section_anyway change.
653
654 2002-01-03 Nick Clifton <nickc@cambridge.redhat.com>
655
656 * elf32-arm.h (elf32_arm_final_link_relocate): Handle
657 R_ARM_THM_PC11 reloc.
658
659 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
660
661 * configure.in (LINGUAS): Add ja.
662 * configure: Regenerate.
663 * po/ja.po: Import from translation project's web site.
664
665 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
666
667 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error
668 messages to ease translation into other languages.
669
670 For older changes see ChangeLog-0001
671 \f
672 Local Variables:
673 mode: change-log
674 left-margin: 8
675 fill-column: 74
676 version-control: never
677 End:
This page took 0.045671 seconds and 4 git commands to generate.