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