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