Set page_size to 1 instead of 0 in the case file alignment value is zero.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
771e446b
NC
12003-12-01 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
2
3 * coffcode.h (coff_compute_section_file_positions): Set page_size
4 to 1 instead of 0 in the case file alignment value is zero.
5
1c3bed7b
KH
62003-12-01 Kazu Hirata <kazu@cs.umass.edu>
7
8 * coff-rs6000.c: Remove ARGSUSED and VARARGS.
9 * coff64-rs6000.c: Likewise.
10 * coffcode.h: Likewise.
11 * elf32-vax.c: Likewise.
12 * hash.c: Likewise.
13 * hppabsd-core.c: Likewise.
14 * hpux-core.c: Likewise.
15 * ihex.c: Likewise.
16 * netbsd-core.c: Likewise.
17 * osf-core.c: Likewise.
18 * pdp11.c: Likewise.
19 * ptrace-core.c: Likewise.
20 * sco5-core.c: Likewise.
21 * section.c: Likewise.
22 * sunos.c: Likewise.
23 * trad-core.c: Likewise.
24
0eddce27
AM
252003-12-01 Alan Modra <amodra@bigpond.net.au>
26
27 * elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
28 * elf.c (_bfd_elf_merge_sections): Adjust to suit.
29 (_bfd_elf_link_just_syms): Likewise.
30 (bfd_elf_get_needed_list): Likewise.
31 (bfd_elf_get_runpath_list): Likewise.
32 (_bfd_elf_link_hash_copy_indirect): Remove unneeded parens.
33 * elf32-hppa.c (elf32_hppa_setup_section_lists): Don't check hash tab
34 creator flavour.
35 (elf32_hppa_set_gp): Look up output sections rather than using htab.
36 * elf32-i960.c: Comment fix. Formatting.
37 * elf32-m32r.c (m32r_elf_add_symbol_hook): Use is_elf_hash_table
38 rather than testing creator flavour.
39 * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise.
40 * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise.
41 * elflink.c (_bfd_elf_link_create_dynamic_sections): Adjust for
42 is_elf_hash_table change. Remove redundant test.
43 (bfd_elf_record_link_assignment): Use is_elf_hash_table rather than
44 testing creator flavour.
45 (elf_link_record_local_dynamic_symbol): Adjust for is_elf_hash_table.
46 (_bfd_elf_fix_symbol_flags): Likewise.
47 (_bfd_elf_adjust_dynamic_symbol): Likewise.
48 * elflink.h (elf_link_add_object_symbols): Likewise. Remove redundant
49 checks. Use is_elf_hash_table rather than testing creator flavour.
50 Use hash_table throughout in place of info->hash.
51 (elf_add_dynamic_entry): Adjust for is_elf_hash_table change.
52 (NAME(bfd_elf,size_dynamic_sections)): Likewise. Remove redundant
53 check.
54 (elf_bfd_final_link): Adjust for is_elf_hash_table change.
55 (elf_link_check_versioned_symbol): Use is_elf_hash_table rather than
56 testing creator flavour.
57 (elf_gc_sections): Add is_elf_hash_table check.
58 (elf_gc_common_finalize_got_offsets): Likewise.
59 (elf_bfd_discard_info): Adjust for is_elf_hash_table change. Remove
60 redundant check.
61 * elfxx-ia64.c (elfNN_ia64_relax_section): Use is_elf_hash_table
62 rather than testing creator flavour.
63
552585ed
CG
642003-11-28 Christian Groessler <chris@groessler.org>
65
66 * cpu-z8k.c: Convert to ISO C90.
67 * coff-z8k.c: Likewise.
68
c84fca4d
AO
692003-11-27 Alexandre Oliva <aoliva@redhat.com>
70
71 * elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
72 Add link info argument.
73 * elf32-i370.c (elf_backend_modify_segment_map): Likewise.
74 * elf32-ppc.c (ppc_elf_modify_segment_map): Likewise.
75 * elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise.
76 * elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise.
77 * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
78 * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
79 * elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise.
80 * elf.c (assign_file_positions_except_relocs,
81 assign_file_positions_for_segments): Likewise. Adjust calls.
82
7720ba9f
MK
832003-11-27 Mark Kettenis <kettenis@gnu.org>
84
85 * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
86 of the note.
87
0626d451 882003-11-26 Daniel Jacobowitz <drow@mvista.com>
0eddce27 89 Richard Sandiford <rsandifo@redhat.com>
0626d451
RS
90
91 * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
92 (mips_elf_set_no_stub): New function.
93 (mips_elf_multi_got): Call it.
94 (_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for
95 a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and
96 use mips_elf_create_dynamic_relocation to deal with any compatibility
97 issues. Store the adjusted addend in the GOT slot.
98