2002-01-08 Michael Snyder <msnyder@redhat.com>
[binutils.git] / bfd / ChangeLog
blob4f8b3bdea8dc30957e235536fcabc34e09fe663a
1 2002-01-08  Michael Snyder  <msnyder@redhat.com>
3         Add capability to write corefile note sections, for gdb.
4         * elf.c (elfcore_write_note): New function.
5         (elfcore_write_prpsinfo): New function.
6         (elfcore_write_prstatus): New function.
7         (elfcore_write_pstatus): New function.
8         (elfcore_write_prfpreg): New function.
9         (elfcore_write_prxfpreg): New function.
10         * elf-bfd.c: Add prototypes for above functions.
12 2002-01-08  Alexandre Oliva  <aoliva@redhat.com>
14         * elf.c (elf_fake_sections): Propagate errors from
15         elf_backend_fake_section.
17 2002-01-07  Jason Thorpe  <thorpej@wasabisystems.com>
19         * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo.
20         (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c.
21         (elf32-sh-nbsd.lo): New rule.
22         * Makefile.in: Regenerate.
23         * config.bfd (sh*le-*-netbsdelf*): New target.
24         (sh*-*-netbsdelf*): New target.
25         * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*.
26         (bfd_elf32_shnbsd_vec): New vector.
27         (bfd_elf32_shlnbsd_vec): New vector.
28         * configure: Regenerate.
29         * elf32-sh-nbsd.c: New file.
30         * targets.c: Update copyright years.
31         (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and 
32         bfd_elf32_shnbsd_vec.
34 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
36         * coff-rs6000.c (READ20): Use bfd_scan_vma.
38 2002-01-07  Geoffrey Keating  <geoffk@redhat.com>
40         * elflink.h (elf_link_input_bfd): Don't ask for the merged offset
41         of a symbol in a section that will be deleted.
43 2002-01-07  Nick Clifton  <nickc@cambridge.redhat.com>
45         * po/es.po: New file: Spanish translation.
46         * configure.in (ALL_LINGUAS): Add es.
47         * configure: Regenerate.
49 2002-01-06  Steve Ellcey  <sje@cup.hp.com>
51         * elfxx-ia64.c (is_unwind_section_name): Add target vector as
52         argument so we can handle HP-UX specially.
53         (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name.
54         (elfNN_hpux_backend_section_from_bfd_section): New for support
55         of SHN_IA_64_ANSI_COMMON.
56         (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON.
57         (is_unwind_section_name): Add special HP-UX support.
58         (elfNN_ia64_section_from_shdr): Add support for more sections.
59         (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and
60         add support for more sections.
61         (elfNN_ia64_additional_program_headers): Modify
62         is_unwind_section_name call.
63         (elfNN_ia64_modify_segment_map): Remove assumption that there is
64         only one unwind section in segment.
66 2002-01-06  Alan Modra  <amodra@bigpond.net.au>
68         * syms.c (_bfd_generic_make_empty_symbol): New function.
69         * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as
70         _bfd_generic_make_empty_symbol.
71         * libbfd.h: Regenerate.
72         * bfd-in2.h: Regenerate.
73         * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function.
74         (hppabsd_core_get_symtab_upper_bound): Don't define.
75         (hppabsd_core_get_symtab): Likewise.
76         (hppabsd_core_print_symbol): Likewise.
77         (hppabsd_core_get_symbol_info): Likewise.
78         (hppabsd_core_bfd_is_local_label_name): Likewise.
79         (hppabsd_core_get_lineno): Likewise.
80         (hppabsd_core_find_nearest_line): Likewise.
81         (hppabsd_core_bfd_make_debug_symbol): Likewise.
82         (hppabsd_core_read_minisymbols): Likewise.
83         (hppabsd_core_minisymbol_to_symbol): Likewise.
84         (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).
85         Formatting fixes.
86         * hpux-core.c: Similarly.
87         * irix-core.c: Similarly.
88         * osf-core.c: Similarly.
89         * sco5-core.c: Similarly.
90         * binary.c (binary_make_empty_symbol): Remove function, define as
91         _bfd_generic_make_empty_symbol.
92         * ihex.c (ihex_make_empty_symbol): Likewise.
93         * mmo.c (mmo_make_empty_symbol): Likewise.
94         * ppcboot.c (ppcboot_make_empty_symbol): Likewise.
95         * srec.c (srec_make_empty_symbol): Likewise.
96         * versados.c (versados_make_empty_symbol): Likewise.
97         * vms.c (_bfd_vms_make_empty_symbol): Remove.
98         (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol.
99         * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol
100         rather than _bfd_vms_make_empty_symbol.
101         * vms-misc.c (new_symbol): Likewise.
103 2002-01-05  Alan Modra  <amodra@bigpond.net.au>
105         * section.c (bfd_section_init): Remove unnecessary initialisations.
106         (bfd_section_list_clear): New function.
107         (bfd_section_list_remove, bfd_section_list_insert): New macros.
108         (_bfd_strip_section_from_output): Use them.
109         * coffcode.h (coff_set_alignment_hook): Likewise.
110         * elf32-mips.c (_bfd_mips_elf_final_link): Likewise.
111         * elf64-mips.c (mips_elf64_final_link): Likewise.
112         * elf64-mmix.c (mmix_elf_final_link): Likewise.
113         * sunos.c (sunos_add_dynamic_symbols): Likewise.
114         * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
115         * bfd-in2.h: Regenerate.
117         * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway
118         rather than doing our own section handling.  Clean up after errors
119         with bfd_release and bfd_section_list_clear.  Handle unexpected
120         flags.
121         * aoutf1.h (sunos4_core_file_p): Likewise.
122         * aix386-core.c (aix386_core_file_p): Likewise.
123         * cisco-core.c (cisco_core_file_validate): Likewise.
124         * ptrace-core.c (ptrace_unix_core_file_p): Likewise.
125         * trad-core.c (trad_unix_core_file_p): Likewise.
127         * hppabsd-core.c (hppabsd_core_core_file_p):  Clean up after errors
128         with bfd_release and bfd_section_list_clear.
129         * hpux-core.c (hpux_core_core_file_p): Likewise.
130         * irix-core.c (irix_core_core_file_p): Likewise.
131         * lynx-core.c (lynx_core_file_p): Likewise.
132         * osf-core.c (osf_core_core_file_p): Likewise.
133         * rs6000-core.c (rs6000coff_core_p): Likewise.
134         * sco5-core.c (sco5_core_file_p): Likewise.
136         * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform
137         sign extension adjustments without conditionals.
139 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
141         * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if
142         CIE at .eh_frame start is removed due to no FDEs referencing it.
144 2002-01-04  Jason Thorpe  <thorpej@wasabisystems.com>
146         * config.bfd (x86_64-*-netbsd*): New target.
147         * configure.in (x86_64-*-netbsd*): Set COREFILE
148         to netbsd-core.lo.
149         * configure: Regenerated.
151 2002-01-03  Tom Rix  <trix@redhat.com>
153         * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering
154         for recent bfd_make_section_anyway change.
156 2002-01-03  Nick Clifton  <nickc@cambridge.redhat.com>
158         * elf32-arm.h (elf32_arm_final_link_relocate): Handle
159         R_ARM_THM_PC11 reloc.
161 2002-01-02  Nick Clifton  <nickc@cambridge.redhat.com>
163         * configure.in (LINGUAS): Add ja.
164         * configure: Regenerate.
165         * po/ja.po: Import from translation project's web site.
167 2002-01-02  Nick Clifton  <nickc@cambridge.redhat.com>
169         * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error
170         messages to ease translation into other languages.
172 For older changes see ChangeLog-0001
174 Local Variables:
175 mode: change-log
176 left-margin: 8
177 fill-column: 74
178 version-control: never
179 End: