2002-01-17 Eric Christopher <echristo@redhat.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
55baa95b
EC
12002-01-17 Eric Christopher <echristo@redhat.com>
2
3 * elf32-mips.c (mips_elf_calculate_relocation): Fix typo.
4
328577ad
NC
52002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
6
7 * po/bfd.pot: Regenerate.
8 * po/fr.po: Regenerate.
9
af746e92
AM
102002-01-17 Alan Modra <amodra@bigpond.net.au>
11
12 * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>):
13 Remove "Elf_Internal_Shdr *" param.
14 (_bfd_mips_elf_section_from_bfd_section): Ditto.
15 * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto.
16 * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto.
17 * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto.
18 * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto.
19 * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto.
20 * elf.c (_bfd_elf_section_from_bfd_section): Allow backend
21 function to override special sections. Remove hdr arg from
22 backend call, and don't loop.
23
175e9962
EC
242002-01-16 Eric Christopher <echristo@redhat.com>
25
26 * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp
27 on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of
28 relocations requiring gp0 and gp.
29
96a846ea
RE
302002-01-16 Richard Earnshaw <rearnsha@arm.com>
31
175e9962 32 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle
96a846ea
RE
33 EF_ARM_VFP_FLOAT.
34 (elf32_arm_print_private_bfd_data): Likewise.
35
af3ae48d
NC
362002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
37
38 * po/tr.po: Import new version.
39
10ed1bba
AM
402002-01-16 Alan Modra <amodra@bigpond.net.au>
41
42 * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs.
43 (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc.
44 (ORI_R0_R0_0): Correct.
45
5d1634d7
AM
462002-01-16 Alan Modra <amodra@bigpond.net.au>
47
48 * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE
49 when plt_not_loaded.
50 * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to
51 clear .plt SEC_CODE here. Create .stub and correct .glink flags.
52 (PLT_INITIAL_ENTRY_SIZE): Set to 24.
53 (ppc64_elf_glink_code): Delete.
54 (PPC64_ELF_GLINK_SIZE): Delete.
55 (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11,
56 BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0,
57 ORI_R0_R0_0): Define.
58 (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define.
59 (struct ppc_link_hash_table): Add sstub and plt_overflow.
60 (ppc64_elf_link_hash_table_create): Init them.
61 (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry.
62 Don't copy to shared lib.
63 (ppc64_elf_check_relocs): Call bfd_set_error on errors.
64 (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount.
65 (allocate_dynrelocs <plt>): Don't change function sym here. Make
66 room for .stub and .glink code.
67 (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for
68 DT_PPC64_GLINK.
69 (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call
70 bfd_elf64_bfd_final_link.
71 (bfd_elf64_bfd_final_link): Don't define.
72 (ppc64_elf_size_stubs): New.
73 (build_plt_stub): New.
74 (build_one_stub): New.
75 (ppc64_elf_build_stubs): New.
76 (ppc64_elf_relocate_section <toc relocs>): Remove assert.
77 (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs.
78 (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set
79 DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in
80 case output sections not separate. Adjust DT_RELASZ to not
81 include plt relocs. Set reserved got entry. Set got and plt
82 entry size.
83 (elf_backend_got_header_size): Set to 8.
84 * elf64-ppc.h: New file.
85
c601ffdb
AM
862002-01-16 Alan Modra <amodra@bigpond.net.au>
87
88 * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing
89 sections, use bfd_section_list_remove.
90 * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
91 * elflink.h (elf_link_add_object_symbols): When removing all
92 sections, use bfd_section_list_clear.
93
8fb4cb7f
NC
942002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
95
96 * po/sv.po: New file: Swedish translation.
97 * configure.in (ALL_LINGUAS): Add sv.
98 * configure: Regenerate.
99
d3c456e9
JJ
1002002-01-15 Jakub Jelinek <jakub@redhat.com>
101
102 * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change.
103 * elf.c (merge_sections_remove_hook): New function.
104 (_bfd_elf_merge_sections): Pass it as 3rd argument to
105 _bfd_merge_sections.
106 * libbfd-in.h (_bfd_merge_sections): Add 3rd argument.
107 * libbfd.h: Rebuilt.
108 * merge.c (_bfd_merge_sections): Add remove_hook argument.
109 Call remove_hook if a SEC_EXCLUDE section is encountered.
110
1f7fd478
NC
1112002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
112
113 * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'.
114 (xstormy16_reloc_map): Initialise new field with correct howto
115 table.
116 (xstormy16_reloc_type_lookup): Use 'table' field to locate correct
117 howto entry.
118
b87011e9
MS
1192002-01-10 Michael Snyder <msnyder@redhat.com>
120
121 * elf.c (elfcore_write_prstatus): Use long instead of pid_t;
122 (elfcore_write_pstatus): Use long instead of pid_t;
123 * elf-bfd.h: Change prototypes to use long instead of pid_t;
124
175e9962 1252002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
b4db1224
JT
126
127 * elf.c: Update copyright years.
128 (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO
129 and NT_NETBSDCORE_FIRSTMACH. Improve a comment.
130
7c76fa91
MS
1312002-01-08 Michael Snyder <msnyder@redhat.com>
132
133 Add capability to write corefile note sections, for gdb.
134 * elf.c (elfcore_write_note): New function.
135 (elfcore_write_prpsinfo): New function.
136 (elfcore_write_prstatus): New function.
137 (elfcore_write_pstatus): New function.
138 (elfcore_write_prfpreg): New function.
139 (elfcore_write_prxfpreg): New function.
97996af6 140 * elf-bfd.h: Add prototypes for above functions.
7c76fa91 141
e1fddb6b
AO
1422002-01-08 Alexandre Oliva <aoliva@redhat.com>
143
144 * elf.c (elf_fake_sections): Propagate errors from
145 elf_backend_fake_section.
146
8d05742f
JT
1472002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
148
149 * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo.
150 (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c.
151 (elf32-sh-nbsd.lo): New rule.
152 * Makefile.in: Regenerate.
153 * config.bfd (sh*le-*-netbsdelf*): New target.
154 (sh*-*-netbsdelf*): New target.
155 * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*.
156 (bfd_elf32_shnbsd_vec): New vector.
157 (bfd_elf32_shlnbsd_vec): New vector.
158 * configure: Regenerate.
159 * elf32-sh-nbsd.c: New file.
160 * targets.c: Update copyright years.
175e9962 161 (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and
8d05742f
JT
162 bfd_elf32_shnbsd_vec.
163
1dba4cb4
AH
1642002-01-07 Aldy Hernandez <aldyh@redhat.com>
165
166 * coff-rs6000.c (READ20): Use bfd_scan_vma.
167
47b22aef
GK
1682002-01-07 Geoffrey Keating <geoffk@redhat.com>
169
170 * elflink.h (elf_link_input_bfd): Don't ask for the merged offset
171 of a symbol in a section that will be deleted.
172
be2d1673
NC
1732002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
174
175 * po/es.po: New file: Spanish translation.
176 * configure.in (ALL_LINGUAS): Add es.
177 * configure: Regenerate.
178
d9cf1b54
AM
1792002-01-06 Steve Ellcey <sje@cup.hp.com>
180
181 * elfxx-ia64.c (is_unwind_section_name): Add target vector as
182 argument so we can handle HP-UX specially.
183 (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name.
184 (elfNN_hpux_backend_section_from_bfd_section): New for support
185 of SHN_IA_64_ANSI_COMMON.
186 (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON.
187 (is_unwind_section_name): Add special HP-UX support.
188 (elfNN_ia64_section_from_shdr): Add support for more sections.
189 (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and
190 add support for more sections.
191 (elfNN_ia64_additional_program_headers): Modify
192 is_unwind_section_name call.
193 (elfNN_ia64_modify_segment_map): Remove assumption that there is
194 only one unwind section in segment.
195
3f3c5c34
AM
1962002-01-06 Alan Modra <amodra@bigpond.net.au>
197
198 * syms.c (_bfd_generic_make_empty_symbol): New function.
199 * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as
200 _bfd_generic_make_empty_symbol.
201 * libbfd.h: Regenerate.
202 * bfd-in2.h: Regenerate.
203 * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function.
204 (hppabsd_core_get_symtab_upper_bound): Don't define.
205 (hppabsd_core_get_symtab): Likewise.
206 (hppabsd_core_print_symbol): Likewise.
207 (hppabsd_core_get_symbol_info): Likewise.
208 (hppabsd_core_bfd_is_local_label_name): Likewise.
209 (hppabsd_core_get_lineno): Likewise.
210 (hppabsd_core_find_nearest_line): Likewise.
211 (hppabsd_core_bfd_make_debug_symbol): Likewise.
212 (hppabsd_core_read_minisymbols): Likewise.
213 (hppabsd_core_minisymbol_to_symbol): Likewise.
214 (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).
215 Formatting fixes.
216 * hpux-core.c: Similarly.
217 * irix-core.c: Similarly.
218 * osf-core.c: Similarly.
219 * sco5-core.c: Similarly.
220 * binary.c (binary_make_empty_symbol): Remove function, define as
221 _bfd_generic_make_empty_symbol.
222 * ihex.c (ihex_make_empty_symbol): Likewise.
223 * mmo.c (mmo_make_empty_symbol): Likewise.
224 * ppcboot.c (ppcboot_make_empty_symbol): Likewise.
225 * srec.c (srec_make_empty_symbol): Likewise.
226 * versados.c (versados_make_empty_symbol): Likewise.
227 * vms.c (_bfd_vms_make_empty_symbol): Remove.
228 (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol.
229 * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol
230 rather than _bfd_vms_make_empty_symbol.
231 * vms-misc.c (new_symbol): Likewise.
232
3f0a7f7f
AM
2332002-01-05 Alan Modra <amodra@bigpond.net.au>
234
9e7b37b3
AM
235 * section.c (bfd_section_init): Remove unnecessary initialisations.
236 (bfd_section_list_clear): New function.
237 (bfd_section_list_remove, bfd_section_list_insert): New macros.
238 (_bfd_strip_section_from_output): Use them.
239 * coffcode.h (coff_set_alignment_hook): Likewise.
240 * elf32-mips.c (_bfd_mips_elf_final_link): Likewise.
241 * elf64-mips.c (mips_elf64_final_link): Likewise.
242 * elf64-mmix.c (mmix_elf_final_link): Likewise.
243 * sunos.c (sunos_add_dynamic_symbols): Likewise.
244 * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
245 * bfd-in2.h: Regenerate.
246
247 * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway
248 rather than doing our own section handling. Clean up after errors
249 with bfd_release and bfd_section_list_clear. Handle unexpected
250 flags.
251 * aoutf1.h (sunos4_core_file_p): Likewise.
252 * aix386-core.c (aix386_core_file_p): Likewise.
253 * cisco-core.c (cisco_core_file_validate): Likewise.
254 * ptrace-core.c (ptrace_unix_core_file_p): Likewise.
255 * trad-core.c (trad_unix_core_file_p): Likewise.
256
257 * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors
258 with bfd_release and bfd_section_list_clear.
259 * hpux-core.c (hpux_core_core_file_p): Likewise.
260 * irix-core.c (irix_core_core_file_p): Likewise.
261 * lynx-core.c (lynx_core_file_p): Likewise.
262 * osf-core.c (osf_core_core_file_p): Likewise.
263 * rs6000-core.c (rs6000coff_core_p): Likewise.
264 * sco5-core.c (sco5_core_file_p): Likewise.
265
3f0a7f7f
AM
266 * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform
267 sign extension adjustments without conditionals.
268
a3aa38ee
JJ
2692002-01-04 Jakub Jelinek <jakub@redhat.com>
270
271 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if
272 CIE at .eh_frame start is removed due to no FDEs referencing it.
273
8a8b2d4b
AJ
2742002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
275
276 * config.bfd (x86_64-*-netbsd*): New target.
277 * configure.in (x86_64-*-netbsd*): Set COREFILE
278 to netbsd-core.lo.
279 * configure: Regenerated.
280
04b5af89
TR
2812002-01-03 Tom Rix <trix@redhat.com>
282
283 * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering
284 for recent bfd_make_section_anyway change.
285
51c5503b
NC
2862002-01-03 Nick Clifton <nickc@cambridge.redhat.com>
287
288 * elf32-arm.h (elf32_arm_final_link_relocate): Handle
289 R_ARM_THM_PC11 reloc.
290
07f7c046
NC
2912002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
292
293 * configure.in (LINGUAS): Add ja.
294 * configure: Regenerate.
295 * po/ja.po: Import from translation project's web site.
296
5eefb65f
NC
2972002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
298
299 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error
300 messages to ease translation into other languages.
301
39e90f10 302For older changes see ChangeLog-0001
56882138
AM
303\f
304Local Variables:
305mode: change-log
306left-margin: 8
307fill-column: 74
308version-control: never
309End:
This page took 0.084229 seconds and 4 git commands to generate.