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