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