]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
Update French translation
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
cc9ff76a
AM
12002-01-25 Philipp Thomas <pthomas@suse.de>
2
3 * coff-alpha.c (alpha_relocate_section): Unify warning message
4 for GP relative relocations without GP defined.
5 * coff-mips.c (mips_relocate_section): Likewise.
6
c68836a9
AM
72002-01-25 Alan Modra <amodra@bigpond.net.au>
8
9 * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid
10 unsigned overflow when new_offset < old_offset.
11
391154e9
NC
122002-24-01 Philipp Thomas <pthomas@suse.de>
13
14 * bfd.c (_bfd_abort): Fix typo.
15
8ba89f17
RH
162002-01-23 Richard Henderson <rth@redhat.com>
17
18 * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress
19 plt entries for undefweak symbols.
20
c6953948
NC
212002-01-23 Steve Ellcey <sje@cup.hp.com>
22
23 * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to
24 DEFAULT_VECTOR.
25 (bfd_elf64_ia64_hpux_big_vec): Ditto.
26 (bfd_elf32_h8300_vec): Ditto.
27
41bd81ab
AM
282002-01-23 Alan Modra <amodra@bigpond.net.au>
29
30 * elf64-ppc.c: Remove stale part of ABI comment.
31 (NO_OPD_RELOCS): Define.
32 (ppc64_elf_check_relocs): Use it.
33 (ppc64_elf_relocate_section): Here too.
34 (build_one_stub): Don't point function syms at the stub. Instead,
35 hijack plt.offset.
36 (ppc64_elf_relocate_section): Check whether REL24 relocs should
37 really go to the stub. Make all dynamic relocs in opd against
38 locals.
39 (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of
40 plt.offset.
41
f304919d
RH
422002-01-22 Richard Henderson <rth@redhat.com>
43
44 * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp.
45
c0ef99a7
AM
462002-01-22 Alan Modra <amodra@bigpond.net.au>
47
60ee0d4a
AM
48 * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of
49 TOC_BASE_OFF adjustment.
50
c0ef99a7
AM
51 * Makefile.am: Run "make dep-am".
52 * Makefile.in: Regenerate.
53 * po/SRC-POTFILES.in: Regenerate.
54
64328b46
AM
552002-01-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
56
57 * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new
58 host defines.
59
59953665 602002-01-21 Hans-Peter Nilsson <hp@axis.com>
58255df3
HPN
61
62 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>:
63 Check for and emit error if sgot is NULL at this point.
64
9596feea
JT
652002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
66
67 * config.bfd (ia64*-*-netbsd*): New target.
68
7b45c6e1
AM
692002-01-21 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
70
71 * som.c (som_write_space_strings): Comment typo fix.
72
e5094212
AM
732002-01-21 Alan Modra <amodra@bigpond.net.au>
74
e86ce104
AM
75 * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and
76 is_func_descriptor fields.
77 (link_hash_newfunc): Init them.
78 (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a
79 dot are candidates for plt entries. When processing .opd relocs,
80 set function descriptor strings to point inside function code
81 string, and set new ppc_link_hash_entry fields.
82 (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs.
83 (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with
84 function descriptors. It's now done in..
85 (func_desc_adjust): New.
86 (ppc64_elf_func_desc_adjust): New.
87 (define elf_backend_always_size_sections): Define.
88 (ppc64_elf_hide_symbol): New.
89 (define elf_backend_hide_symbol): Define.
90 (allocate_dynrelocs): Remove code looking up function descriptors
91 as that has been done earlier.
92 (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash
93 table.
94 (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking
95 up function descriptor.
96 (build_one_stub): Look up the function code sym. Check for
97 invalid plt offsets.
98 (ppc64_elf_relocate_section): Tweak calls to undefined weak syms.
99 Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs.
100
e5094212
AM
101 * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add
102 boolean param.
103 (_bfd_elf_link_hash_hide_symbol): Likewise.
104 * elflink.h (elf_link_add_object_symbols): Adjust call to
105 elf_backend_hide_symbol.
106 (elf_fix_symbol_flags): Likewise.
107 (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather
108 than bfd_alloc.
109 * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param.
110 Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref.
111 * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
112 (clobber_millicode_symbols): Adjust to suit new hide_symbol.
113 * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param
114 and adjust to suit.
115 * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call
116 _bfd_elf_link_hash_hide_symbol rather than duplicating code.
117 * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.
118
40b8271b
AM
1192002-01-18 Alan Modra <amodra@bigpond.net.au>
120
121 * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a
122 dynamic function descriptor symbol, not the associated function
123 symbol.
124
55baa95b
EC
1252002-01-17 Eric Christopher <echristo@redhat.com>
126
127 * elf32-mips.c (mips_elf_calculate_relocation): Fix typo.
128
328577ad
NC
1292002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
130
131 * po/bfd.pot: Regenerate.
132 * po/fr.po: Regenerate.
133
af746e92
AM
1342002-01-17 Alan Modra <amodra@bigpond.net.au>
135
136 * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>):
137 Remove "Elf_Internal_Shdr *" param.
138 (_bfd_mips_elf_section_from_bfd_section): Ditto.
139 * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto.
140 * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto.
141 * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto.
142 * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto.
143 * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto.
144 * elf.c (_bfd_elf_section_from_bfd_section): Allow backend
145 function to override special sections. Remove hdr arg from
146 backend call, and don't loop.
147
175e9962
EC
1482002-01-16 Eric Christopher <echristo@redhat.com>
149
150 * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp
151 on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of
152 relocations requiring gp0 and gp.
153
96a846ea
RE
1542002-01-16 Richard Earnshaw <rearnsha@arm.com>
155
175e9962 156 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle
96a846ea
RE
157 EF_ARM_VFP_FLOAT.
158 (elf32_arm_print_private_bfd_data): Likewise.
159
af3ae48d
NC
1602002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
161
162 * po/tr.po: Import new version.
163
10ed1bba
AM
1642002-01-16 Alan Modra <amodra@bigpond.net.au>
165
166 * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs.
167 (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc.
168 (ORI_R0_R0_0): Correct.
169
5d1634d7
AM
1702002-01-16 Alan Modra <amodra@bigpond.net.au>
171
172 * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE
173 when plt_not_loaded.
174 * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to
175 clear .plt SEC_CODE here. Create .stub and correct .glink flags.
176 (PLT_INITIAL_ENTRY_SIZE): Set to 24.
177 (ppc64_elf_glink_code): Delete.
178 (PPC64_ELF_GLINK_SIZE): Delete.
179 (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11,
180 BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0,
181 ORI_R0_R0_0): Define.
182 (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define.
183 (struct ppc_link_hash_table): Add sstub and plt_overflow.
184 (ppc64_elf_link_hash_table_create): Init them.
185 (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry.
186 Don't copy to shared lib.
187 (ppc64_elf_check_relocs): Call bfd_set_error on errors.
188 (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount.
189 (allocate_dynrelocs <plt>): Don't change function sym here. Make
190 room for .stub and .glink code.
191 (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for
192 DT_PPC64_GLINK.
193 (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call
194 bfd_elf64_bfd_final_link.
195 (bfd_elf64_bfd_final_link): Don't define.
196 (ppc64_elf_size_stubs): New.
197 (build_plt_stub): New.
198 (build_one_stub): New.
199 (ppc64_elf_build_stubs): New.
200 (ppc64_elf_relocate_section <toc relocs>): Remove assert.
201 (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs.
202 (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set
203 DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in
204 case output sections not separate. Adjust DT_RELASZ to not
205 include plt relocs. Set reserved got entry. Set got and plt
206 entry size.
207 (elf_backend_got_header_size): Set to 8.
208 * elf64-ppc.h: New file.
209
c601ffdb
AM
2102002-01-16 Alan Modra <amodra@bigpond.net.au>
211
212 * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing
213 sections, use bfd_section_list_remove.
214 * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
215 * elflink.h (elf_link_add_object_symbols): When removing all
216 sections, use bfd_section_list_clear.
217
8fb4cb7f
NC
2182002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
219
220 * po/sv.po: New file: Swedish translation.
221 * configure.in (ALL_LINGUAS): Add sv.
222 * configure: Regenerate.
223
d3c456e9
JJ
2242002-01-15 Jakub Jelinek <jakub@redhat.com>
225
226 * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change.
227 * elf.c (merge_sections_remove_hook): New function.
228 (_bfd_elf_merge_sections): Pass it as 3rd argument to
229 _bfd_merge_sections.
230 * libbfd-in.h (_bfd_merge_sections): Add 3rd argument.
231 * libbfd.h: Rebuilt.
232 * merge.c (_bfd_merge_sections): Add remove_hook argument.
233 Call remove_hook if a SEC_EXCLUDE section is encountered.
234
1f7fd478
NC
2352002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
236
237 * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'.
238 (xstormy16_reloc_map): Initialise new field with correct howto
239 table.
240 (xstormy16_reloc_type_lookup): Use 'table' field to locate correct
241 howto entry.
242
b87011e9
MS
2432002-01-10 Michael Snyder <msnyder@redhat.com>
244
245 * elf.c (elfcore_write_prstatus): Use long instead of pid_t;
246 (elfcore_write_pstatus): Use long instead of pid_t;
247 * elf-bfd.h: Change prototypes to use long instead of pid_t;
248
175e9962 2492002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
b4db1224
JT
250
251 * elf.c: Update copyright years.
252 (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO
253 and NT_NETBSDCORE_FIRSTMACH. Improve a comment.
254
7c76fa91
MS
2552002-01-08 Michael Snyder <msnyder@redhat.com>
256
257 Add capability to write corefile note sections, for gdb.
258 * elf.c (elfcore_write_note): New function.
259 (elfcore_write_prpsinfo): New function.
260 (elfcore_write_prstatus): New function.
261 (elfcore_write_pstatus): New function.
262 (elfcore_write_prfpreg): New function.
263 (elfcore_write_prxfpreg): New function.
97996af6 264 * elf-bfd.h: Add prototypes for above functions.
7c76fa91 265
e1fddb6b
AO
2662002-01-08 Alexandre Oliva <aoliva@redhat.com>
267
268 * elf.c (elf_fake_sections): Propagate errors from
269 elf_backend_fake_section.
270
8d05742f
JT
2712002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
272
273 * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo.
274 (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c.
275 (elf32-sh-nbsd.lo): New rule.
276 * Makefile.in: Regenerate.
277 * config.bfd (sh*le-*-netbsdelf*): New target.
278 (sh*-*-netbsdelf*): New target.
279 * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*.
280 (bfd_elf32_shnbsd_vec): New vector.
281 (bfd_elf32_shlnbsd_vec): New vector.
282 * configure: Regenerate.
283 * elf32-sh-nbsd.c: New file.
284 * targets.c: Update copyright years.
175e9962 285 (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and
8d05742f
JT
286 bfd_elf32_shnbsd_vec.
287
1dba4cb4
AH
2882002-01-07 Aldy Hernandez <aldyh@redhat.com>
289
290 * coff-rs6000.c (READ20): Use bfd_scan_vma.
291
47b22aef
GK
2922002-01-07 Geoffrey Keating <geoffk@redhat.com>
293
294 * elflink.h (elf_link_input_bfd): Don't ask for the merged offset
295 of a symbol in a section that will be deleted.
296
be2d1673
NC
2972002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
298
299 * po/es.po: New file: Spanish translation.
300 * configure.in (ALL_LINGUAS): Add es.
301 * configure: Regenerate.
302
d9cf1b54
AM
3032002-01-06 Steve Ellcey <sje@cup.hp.com>
304
305 * elfxx-ia64.c (is_unwind_section_name): Add target vector as
306 argument so we can handle HP-UX specially.
307 (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name.
308 (elfNN_hpux_backend_section_from_bfd_section): New for support
309 of SHN_IA_64_ANSI_COMMON.
310 (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON.
311 (is_unwind_section_name): Add special HP-UX support.
312 (elfNN_ia64_section_from_shdr): Add support for more sections.
313 (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and
314 add support for more sections.
315 (elfNN_ia64_additional_program_headers): Modify
316 is_unwind_section_name call.
317 (elfNN_ia64_modify_segment_map): Remove assumption that there is
318 only one unwind section in segment.
319
3f3c5c34
AM
3202002-01-06 Alan Modra <amodra@bigpond.net.au>
321
322 * syms.c (_bfd_generic_make_empty_symbol): New function.
323 * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as
324 _bfd_generic_make_empty_symbol.
325 * libbfd.h: Regenerate.
326 * bfd-in2.h: Regenerate.
327 * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function.
328 (hppabsd_core_get_symtab_upper_bound): Don't define.
329 (hppabsd_core_get_symtab): Likewise.
330 (hppabsd_core_print_symbol): Likewise.
331 (hppabsd_core_get_symbol_info): Likewise.
332 (hppabsd_core_bfd_is_local_label_name): Likewise.
333 (hppabsd_core_get_lineno): Likewise.
334 (hppabsd_core_find_nearest_line): Likewise.
335 (hppabsd_core_bfd_make_debug_symbol): Likewise.
336 (hppabsd_core_read_minisymbols): Likewise.
337 (hppabsd_core_minisymbol_to_symbol): Likewise.
338 (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).
339 Formatting fixes.
340 * hpux-core.c: Similarly.
341 * irix-core.c: Similarly.
342 * osf-core.c: Similarly.
343 * sco5-core.c: Similarly.
344 * binary.c (binary_make_empty_symbol): Remove function, define as
345 _bfd_generic_make_empty_symbol.
346 * ihex.c (ihex_make_empty_symbol): Likewise.
347 * mmo.c (mmo_make_empty_symbol): Likewise.
348 * ppcboot.c (ppcboot_make_empty_symbol): Likewise.
349 * srec.c (srec_make_empty_symbol): Likewise.
350 * versados.c (versados_make_empty_symbol): Likewise.
351 * vms.c (_bfd_vms_make_empty_symbol): Remove.
352 (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol.
353 * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol
354 rather than _bfd_vms_make_empty_symbol.
355 * vms-misc.c (new_symbol): Likewise.
356
3f0a7f7f
AM
3572002-01-05 Alan Modra <amodra@bigpond.net.au>
358
9e7b37b3
AM
359 * section.c (bfd_section_init): Remove unnecessary initialisations.
360 (bfd_section_list_clear): New function.
361 (bfd_section_list_remove, bfd_section_list_insert): New macros.
362 (_bfd_strip_section_from_output): Use them.
363 * coffcode.h (coff_set_alignment_hook): Likewise.
364 * elf32-mips.c (_bfd_mips_elf_final_link): Likewise.
365 * elf64-mips.c (mips_elf64_final_link): Likewise.
366 * elf64-mmix.c (mmix_elf_final_link): Likewise.
367 * sunos.c (sunos_add_dynamic_symbols): Likewise.
368 * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
369 * bfd-in2.h: Regenerate.
370
371 * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway
372 rather than doing our own section handling. Clean up after errors
373 with bfd_release and bfd_section_list_clear. Handle unexpected
374 flags.
375 * aoutf1.h (sunos4_core_file_p): Likewise.
376 * aix386-core.c (aix386_core_file_p): Likewise.
377 * cisco-core.c (cisco_core_file_validate): Likewise.
378 * ptrace-core.c (ptrace_unix_core_file_p): Likewise.
379 * trad-core.c (trad_unix_core_file_p): Likewise.
380
381 * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors
382 with bfd_release and bfd_section_list_clear.
383 * hpux-core.c (hpux_core_core_file_p): Likewise.
384 * irix-core.c (irix_core_core_file_p): Likewise.
385 * lynx-core.c (lynx_core_file_p): Likewise.
386 * osf-core.c (osf_core_core_file_p): Likewise.
387 * rs6000-core.c (rs6000coff_core_p): Likewise.
388 * sco5-core.c (sco5_core_file_p): Likewise.
389
3f0a7f7f
AM
390 * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform
391 sign extension adjustments without conditionals.
392
a3aa38ee
JJ
3932002-01-04 Jakub Jelinek <jakub@redhat.com>
394
395 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if
396 CIE at .eh_frame start is removed due to no FDEs referencing it.
397
8a8b2d4b
AJ
3982002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
399
400 * config.bfd (x86_64-*-netbsd*): New target.
401 * configure.in (x86_64-*-netbsd*): Set COREFILE
402 to netbsd-core.lo.
403 * configure: Regenerated.
404
04b5af89
TR
4052002-01-03 Tom Rix <trix@redhat.com>
406
407 * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering
408 for recent bfd_make_section_anyway change.
409
51c5503b
NC
4102002-01-03 Nick Clifton <nickc@cambridge.redhat.com>
411
412 * elf32-arm.h (elf32_arm_final_link_relocate): Handle
413 R_ARM_THM_PC11 reloc.
414
07f7c046
NC
4152002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
416
417 * configure.in (LINGUAS): Add ja.
418 * configure: Regenerate.
419 * po/ja.po: Import from translation project's web site.
420
5eefb65f
NC
4212002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
422
423 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error
424 messages to ease translation into other languages.
425
39e90f10 426For older changes see ChangeLog-0001
56882138
AM
427\f
428Local Variables:
429mode: change-log
430left-margin: 8
431fill-column: 74
432version-control: never
433End: