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