daily update
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
d0a5adde
NC
12003-12-12 Nick Clifton <nickc@redhat.com>
2
3 * po/ro.po: Updated translation.
4
ac7bbf74
AM
52003-12-12 Alan Modra <amodra@bigpond.net.au>
6
7 * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for
8 NULL dyn_h.
9
03394ac9
NC
102003-12-11 Nick Clifton <nickc@redhat.com>
11
12 * elf.c (INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments.
13
9719ad41
RS
142003-12-08 Richard Sandiford <rsandifo@redhat.com>
15
16 * elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes.
17 Remove casts that were only needed for K&R compatibility.
18
754021d0
AM
192003-12-08 Alan Modra <amodra@bigpond.net.au>
20
21 * elf-bfd.h (struct elf_backend_data): Remove "bfd *" and add
22 "elflink_hash_entry *" param to elf_backend_link_output_symbol_hook.
23 Add "elflink_hash_entry *" param to elf_backend_output_arch_syms.
24 * elflink.h (elf_link_output_sym): Add "elflink_hash_entry *" param,
25 and pass to output_symbol_hook.
26 (elf_bfd_final_link): Adjust elf_link_output_sym calls.
27 (elf_link_output_extsym): Likewise.
28 (elf_link_input_bfd): Likewise.
29 * elf32-sh64.c (sh64_elf_link_output_symbol_hook): Adjust.
30 * elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise.
31 * elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise.
32 * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise.
33 * elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise.
34 * elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise.
35 * elf64-sparc.c (sparc64_elf_output_arch_syms): Likewise.
36 * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise.
37 Validate dynh->h against h.
38 * elf64-ppc.c (struct ppc_link_hash_entry): Add adjust_done bitfield.
39 (link_hash_newfunc): Init it.
40 (adjust_opd_syms): New function.
41 (ppc64_elf_edit_opd): Set adjust_done when global .opd sym adjusted.
42 Set opd.adjust for all .opd relocs. Call adjust_opd_syms.
43 (ppc64_elf_tls_optimize): Adjust possible .opd sym values here.
44 (ppc64_elf_relocate_section): Also adjust syms not a multiple of 24.
45 (ppc64_elf_output_symbol_hook): New function.
46 (elf_backend_link_output_symbol_hook): Define.
47
11a2be4d
RS
482003-12-07 Richard Sandiford <rsandifo@redhat.com>
49
50 * elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes.
51 Remove casts that were only needed for K&R compatibility.
52
d3793eaa
NC
532003-12-05 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
54
55 * coff-arm.c (aoutarm_std_reloc_howto [ARM_WINCE]): Set
56 partial_inplace for these relocs to FALSE for comptability with
57 the MS linker.
58 Remap ARM_26D relocation from 5 to 0. This fixes "bad fixup" error
59 generated by MS linker, and brings the relocation in line the MS
60 PE documentation.
61
a070c2b1
L
622003-12-04 H.J. Lu <hongjiu.lu@intel.com>
63
64 * elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.
65
d9c458fc
L
662003-12-04 H.J. Lu <hongjiu.lu@intel.com>
67
68 * elfxx-ia64.c (elfNN_ia64_relax_section): Use the
69 need_relax_finalize field in link_info instead of
70 relax_finalizing to check if the relax finalize pass is being
71 done.
72
d21356d8
NC
732003-12-04 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
74
75 * coff-arm.c (coff_arm_relocate_section, bfd_arm_process_before_allocation):
76 Change ARM26* to ARM_26* in comments to match definitions.
77 (coff_arm_adjust_symndx): Replace hard-coded constants with
78 appropriate definitions (ARM_26*).
79
1a101a42
AM
802003-12-04 Alan Modra <amodra@bigpond.net.au>
81
82 * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.
83 * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes.
84 (mn10300_elf_relax_section): Likewise.
85 * nlm32-alpha.c (ONES): Define.
86 (nlm32_alpha_howto_table): Use it to avoid warnings.
87
66becf32
AM
882003-12-04 Alan Modra <amodra@bigpond.net.au>
89
90 * elf32-i386.c (elf_i386_object_p): Delete.
91 (elf_backend_object_p): Don't define.
92 * elf32-s390.c (elf_s390_object_p): No need to alloc tdata here.
93 * elf32-sh.c (sh_elf_object_p): Likewise.
94 * elf32-sparc.c (elf32_sparc_object_p): Likewise.
95 * elf64-alpha.c (elf64_alpha_object_p): Likewise.
96 * elf64-s390.c (elf_s390_object_p): Likewise.
97 * elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise.
98
88845958
NC
992003-12-03 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
100
101 * archures.c (bfd_mach_m32r2): Add new machine type.
102 * bfd-in2.h: Regenerate.
103 * cpu-m32r.c : Add new machine type.
104 * elf32-m32r.c (m32r_elf_object_p, m32r_elf_final_write_processing,
105 m32r_elf_merge_private_bfd_data): Add support for new machine
106 type.
107
f8fc3443
NC
1082003-12-03 Dave Airlie <airlied@linux.ie>
109
110 * config.bfd: Add vax-linux-gnu target.
111 * configure.in: Likewise.
112 * configure: Regenerate.
113
6ad841a1
AM
1142003-12-03 Alan Modra <amodra@bigpond.net.au>
115
116 * ecoff.c (ecoff_link_add_archive_symbols): Update for renamed
117 bfd_link_hash_entry field "next" -> "und_next".
118 * linker.c (_bfd_link_hash_newfunc): Likewise.
119 (bfd_link_add_undef): Likewise.
120 (_bfd_generic_link_add_archive_symbols): Likewise.
121 (_bfd_generic_link_add_one_symbol): Likewise.
122 * xcofflink.c (xcoff_link_add_symbols): Likewise.
123
f9d1e83f
NC
1242003-12-02 Nick Clifton <nickc@redhat.com>
125
126 * configure.in (ALL_LINGUAS): Add ro.
127 * po/ro.po: New Romanian translation.
128
9fa06c65
AM
1292003-12-02 Alan Modra <amodra@bigpond.net.au>
130
131 * Makefile.am: Run "make dep-am".
132 * Makefile.in: Regenerate.
133
771e446b
NC
1342003-12-01 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
135
136 * coffcode.h (coff_compute_section_file_positions): Set page_size
137 to 1 instead of 0 in the case file alignment value is zero.
138
1c3bed7b
KH
1392003-12-01 Kazu Hirata <kazu@cs.umass.edu>
140
141 * coff-rs6000.c: Remove ARGSUSED and VARARGS.
142 * coff64-rs6000.c: Likewise.
143 * coffcode.h: Likewise.
144 * elf32-vax.c: Likewise.
145 * hash.c: Likewise.
146 * hppabsd-core.c: Likewise.
147 * hpux-core.c: Likewise.
148 * ihex.c: Likewise.
149 * netbsd-core.c: Likewise.
150 * osf-core.c: Likewise.
151 * pdp11.c: Likewise.
152 * ptrace-core.c: Likewise.
153 * sco5-core.c: Likewise.
154 * section.c: Likewise.
155 * sunos.c: Likewise.
156 * trad-core.c: Likewise.
157
0eddce27
AM
1582003-12-01 Alan Modra <amodra@bigpond.net.au>
159
160 * elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
161 * elf.c (_bfd_elf_merge_sections): Adjust to suit.
162 (_bfd_elf_link_just_syms): Likewise.
163 (bfd_elf_get_needed_list): Likewise.
164 (bfd_elf_get_runpath_list): Likewise.
165 (_bfd_elf_link_hash_copy_indirect): Remove unneeded parens.
166 * elf32-hppa.c (elf32_hppa_setup_section_lists): Don't check hash tab
167 creator flavour.
168 (elf32_hppa_set_gp): Look up output sections rather than using htab.
169 * elf32-i960.c: Comment fix. Formatting.
170 * elf32-m32r.c (m32r_elf_add_symbol_hook): Use is_elf_hash_table
171 rather than testing creator flavour.
172 * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise.
173 * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise.
174 * elflink.c (_bfd_elf_link_create_dynamic_sections): Adjust for
175 is_elf_hash_table change. Remove redundant test.
176 (bfd_elf_record_link_assignment): Use is_elf_hash_table rather than
177 testing creator flavour.
178 (elf_link_record_local_dynamic_symbol): Adjust for is_elf_hash_table.
179 (_bfd_elf_fix_symbol_flags): Likewise.
180 (_bfd_elf_adjust_dynamic_symbol): Likewise.
181 * elflink.h (elf_link_add_object_symbols): Likewise. Remove redundant
182 checks. Use is_elf_hash_table rather than testing creator flavour.
183 Use hash_table throughout in place of info->hash.
184 (elf_add_dynamic_entry): Adjust for is_elf_hash_table change.
185 (NAME(bfd_elf,size_dynamic_sections)): Likewise. Remove redundant
186 check.
187 (elf_bfd_final_link): Adjust for is_elf_hash_table change.
188 (elf_link_check_versioned_symbol): Use is_elf_hash_table rather than
189 testing creator flavour.
190 (elf_gc_sections): Add is_elf_hash_table check.
191 (elf_gc_common_finalize_got_offsets): Likewise.
192 (elf_bfd_discard_info): Adjust for is_elf_hash_table change. Remove
193 redundant check.
194 * elfxx-ia64.c (elfNN_ia64_relax_section): Use is_elf_hash_table
195 rather than testing creator flavour.
196
552585ed
CG
1972003-11-28 Christian Groessler <chris@groessler.org>
198
199 * cpu-z8k.c: Convert to ISO C90.
200 * coff-z8k.c: Likewise.
201
c84fca4d
AO
2022003-11-27 Alexandre Oliva <aoliva@redhat.com>
203
204 * elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
205 Add link info argument.
206 * elf32-i370.c (elf_backend_modify_segment_map): Likewise.
207 * elf32-ppc.c (ppc_elf_modify_segment_map): Likewise.
208 * elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise.
209 * elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise.
210 * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
211 * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
212 * elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise.
213 * elf.c (assign_file_positions_except_relocs,
214 assign_file_positions_for_segments): Likewise. Adjust calls.
215
7720ba9f
MK
2162003-11-27 Mark Kettenis <kettenis@gnu.org>
217
218 * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
219 of the note.
220
0626d451 2212003-11-26 Daniel Jacobowitz <drow@mvista.com>
0eddce27 222 Richard Sandiford <rsandifo@redhat.com>
0626d451
RS
223
224 * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
225 (mips_elf_set_no_stub): New function.
226 (mips_elf_multi_got): Call it.
227 (_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for
228 a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and
229 use mips_elf_create_dynamic_relocation to deal with any compatibility
230 issues. Store the adjusted addend in the GOT slot.
231