Commit | Line | Data |
---|---|---|
2a0fa943 AO |
1 | 2001-05-15 Alexandre Oliva <aoliva@redhat.com> |
2 | ||
3 | * elf-m10300.c (mn10300_elf_relax_section): Don't relax | |
4 | negative 32-bit operands to 16 operands when the operand is | |
5 | going to be zero-extended by the modified opcode. | |
6 | ||
bcee8eb8 AM |
7 | 2001-05-12 Peter Targett <peter.targett@arccores.com> |
8 | ||
9 | * cpu-arc.c (arch_info_struct): Add entry 'base' representing old | |
10 | name for 'arc5' core versions. | |
11 | (bfd_arc_arch): Make bfd_mach_arc_6 default. | |
12 | ||
13 | * elf32-arc.c (arc_elf_object_p): Make E_ARC_MACH_ARC6 default | |
14 | architecture. | |
15 | (arc_elf_final_write_processing): Make bfd_mach_arc_6 default. | |
16 | ||
579f31ac JJ |
17 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
18 | ||
19 | * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind | |
20 | sections as well. | |
21 | (elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO | |
22 | to .gnu.linkonce.t.FOO text section. | |
23 | ||
8550eb6e JJ |
24 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
25 | ||
26 | * merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix | |
27 | fields, change sec into secinfo. | |
28 | (struct sec_merge_info): Add chain, remove last fields. | |
29 | (struct sec_merge_sec_info): Add next, sec, psecinfo fields. | |
30 | (sec_merge_hash_lookup): If lookup could not use a string only | |
31 | because it has bad alignment, mark the old string for deletion. | |
32 | (sec_merge_add): Add secinfo argument. Don't compute entry's | |
33 | position, instead record the section. | |
34 | (sec_merge_emit): Update for the sec into secinfo change in | |
35 | struct sec_merge_hash_entry. | |
36 | (_bfd_merge_section): Only record the section for merging, defer | |
37 | putting strings into the hash table. | |
38 | (cmplengthentry, last4_eq, last_eq, record_section, merge_strings, | |
39 | _bfd_merge_sections): New functions. | |
40 | (_bfd_merged_section_offset): Update for the sec_merge_hash_entry | |
41 | changes. | |
42 | * libbfd-in.h (_bfd_merge_sections): Add prototype. | |
43 | (_bfd_nolink_bfd_merge_sections): Define. | |
44 | * libbfd.h: Likewise. | |
45 | (bfd_generic_merge_sections): Add prototype. | |
46 | * targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_merge_sections. | |
47 | (struct bfd_target): Likewise. | |
48 | * bfd.c (bfd_merge_sections): Define. | |
49 | * bfd-in2.h: Rebuilt. | |
50 | * elf.c (_bfd_elf_merge_sections): New function. | |
51 | * elf-bfd.h (_bfd_elf_merge_sections): Add prototype. | |
52 | * elfxx-target.h (bfd_elfNN_bfd_merge_sections): Define. | |
53 | * reloc.c (bfd_generic_merge_sections): New function. | |
54 | * vms.c (vms_bfd_merge_sections): New function. | |
55 | * aout-adobe.c (aout_32_bfd_merge_sections): Define. | |
56 | * aout-target.h (MY_bfd_merge_sections): Define. | |
57 | * aout-tic30.c (MY_bfd_merge_sections): Define. | |
58 | * binary.c (binary_bfd_merge_sections): Define. | |
59 | * bout.c (b_out_bfd_merge_sections): Define. | |
60 | * coff-alpha.c (_bfd_ecoff_bfd_merge_sections): Define. | |
61 | * coffcode.c (coff_bfd_merge_sections): Define. | |
62 | * coff-mips.c (_bfd_ecoff_bfd_merge_sections): Define. | |
63 | * i386msdos.c (msdos_bfd_merge_sections): Define. | |
64 | * i386os9k.c (os9k_bfd_merge_sections): Define. | |
65 | * ieee.c (ieee_bfd_merge_sections): Define. | |
66 | * ihex.c (ihex_bfd_merge_sections): Define. | |
67 | * nlm-target.h (nlm_bfd_merge_sections): Define. | |
68 | * oasys.c (oasys_bfd_merge_sections): Define. | |
69 | * ppcboot.c (ppcboot_bfd_merge_sections): Define. | |
70 | * som.c (som_bfd_merge_sections): Define. | |
71 | * srec.c (srec_bfd_merge_sections): Define. | |
72 | * tekhex.c (tekhex_bfd_merge_sections): Define. | |
73 | * versados.c (versados_bfd_merge_sections): Define. | |
74 | * xcoff-target.h (_bfd_xcoff_bfd_merge_sections): Define. | |
75 | ||
1548c54f NC |
76 | 2001-05-11 Nick Clifton <nickc@cambridge.redhat.com> |
77 | ||
78 | * dwarf1.c (_bfd_dwarf1_find_nearest_line): Change type of 'addr' | |
79 | to be unsigned long, in order to match its use. | |
80 | ||
689effed L |
81 | 2001-05-10 H.J. Lu <hjl@gnu.org> |
82 | ||
83 | * linker.c (_bfd_generic_link_add_one_symbol): Check loop on | |
84 | indirect symbols. | |
85 | ||
6e5222be L |
86 | 2001-05-09 H.J. Lu <hjl@gnu.org> |
87 | ||
88 | * elflink.h (elf_link_add_object_symbols): Fix a typo. Allocate | |
89 | versymhdr->sh_size bytes for extversym instead of hdr->sh_size. | |
90 | Remove the unused veriable `dynver'. | |
91 | ||
8e191bd3 ILT |
92 | 2001-05-08 Ian Lance Taylor <ian@zembu.com> |
93 | ||
94 | * coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd is | |
95 | NULL or is not COFF. | |
96 | (coff_i386_rtype_to_howto): Don't dump core if output section | |
97 | owner is not COFF. | |
98 | ||
062e2358 AM |
99 | 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
100 | ||
101 | * ecoff.c (bfd_debug_section): Fix initialization. | |
102 | * elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it | |
103 | is always a positive integer. Cast away sign mismatch. | |
104 | * elf32-mips.c: Fix misleading comment and typo. | |
105 | (_bfd_mips_elf_section_from_bfd_section): Remove unused attribute, use | |
106 | correct data type. | |
107 | * elflink.c: Fix typo. | |
108 | (_bfd_elf_create_dynamic_sections): Remove superfluous initialization. | |
109 | * ecoffswap.h (ecoff_swap_fdr_in): Cast away sign mismatch. | |
110 | ||
16b65e4e RH |
111 | 2001-05-04 Richard Henderson <rth@redhat.com> |
112 | ||
113 | * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true. | |
114 | ||
cac15327 NC |
115 | 2001-05-04 Nick Clifton <nickc@cambridge.redhat.com> |
116 | ||
117 | * elf32-arm.h (elf32_arm_final_link_relocate): Set | |
118 | EF_ARM_HASENTRY if the start address is set. | |
119 | ||
966b3e0b NC |
120 | 2001-05-03 Nick Clifton <nickc@cambridge.redhat.com> |
121 | ||
122 | * targets.c (_bfd_target_vector_entries): Compute value based on | |
123 | the size of the _bfd_target_vector and not bfd_target_vector. | |
124 | ||
210ba1e8 L |
125 | 2001-05-03 H.J. Lu <hjl@gnu.org> |
126 | ||
127 | * elfcode.h: Include "libiberty.h". | |
128 | ||
129 | * elflink.h (elf_link_add_object_symbols): Set | |
130 | elf_dt_name (abfd) to basename of the bfd filename. | |
131 | (NAME(bfd_elf,size_dynamic_sections)): Set vn_file to basename | |
132 | of the bfd filename. | |
133 | ||
56fc028e AJ |
134 | 2001-05-03 Andreas Jaeger <aj@suse.de> |
135 | ||
136 | * elf64-gen.c (elf_generic_info_to_howto): Add unused attribute. | |
137 | (elf_generic_info_to_howto_rel): Likewise. | |
138 | * coff-alpha.c (reloc_nil): Likewise. | |
139 | (alpha_ecoff_bad_format_hook): Likewise. | |
140 | (alpha_adjust_reloc_out): Likewise. | |
141 | (alpha_bfd_reloc_type_lookup): Likewise. | |
142 | (alpha_convert_external_reloc): Likewise. | |
143 | * elf64-alpha.c (elf64_alpha_reloc_nil): Likewise. | |
144 | (elf64_alpha_reloc_bad): Likewise. | |
145 | (elf64_alpha_reloc_gpdisp): Likewise. | |
146 | (elf64_alpha_bfd_reloc_type_lookup): Likewise. | |
147 | (elf64_alpha_info_to_howto): Likewise. | |
148 | (elf64_alpha_add_symbol_hook): Likewise. | |
149 | (elf64_alpha_create_got_section): Likewise. | |
150 | (elf64_alpha_is_local_label_name): Likewise. | |
151 | (elf64_alpha_merge_ind_symbols): Likewise. | |
152 | * elf64-mips.c (mips_elf64_reloc_type_lookup): Likewise. | |
153 | (mips_elf64_get_reloc_upper_bound): Likewise. | |
154 | * nlm32-alpha.c (nlm_alpha_mangle_relocs): Likewise. | |
155 | (nlm_alpha_get_public_offset): Likewise. | |
156 | ||
c7e40348 NC |
157 | 2001-05-02 Johan Rydberg <jrydberg@opencores.org> |
158 | ||
159 | * elf32-openrisc.c (openrisc_elf_howto_table): Do not complain | |
160 | about overflow in R_OPENRISC_LO_16_IN_INSN and | |
56fc028e | 161 | R_OPENRISC_HI_16_IN_INSN.Index: bfd/elf32-openrisc.c |
c7e40348 | 162 | |
5fba655a L |
163 | 2001-04-30 H.J. Lu <hjl@gnu.org> |
164 | ||
165 | * elf.c (_bfd_elf_link_hash_hide_symbol): Set dynindx to -1 | |
166 | only for ELF_LINK_FORCED_LOCAL. | |
167 | * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. | |
168 | * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise. | |
169 | * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. | |
170 | ||
171 | * elflink.h (elf_fix_symbol_flags): Set ELF_LINK_FORCED_LOCAL | |
172 | if the symbol has hidden or internal visibility. | |
173 | ||
db20fd76 AM |
174 | 2001-04-30 Alan Modra <amodra@one.net.au> |
175 | ||
176 | * elf32-hppa.c (final_link_relocate): Branch to .+8 for | |
177 | calls to undefined weak symbols. | |
178 | ||
6a2bda3f AJ |
179 | 2001-04-30 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de> |
180 | ||
181 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for | |
182 | R_X86_64_GOTPCREL, don't use assignments instead of comparisons. | |
183 | ||
053579d7 AJ |
184 | 2001-04-27 Andreas Jaeger <aj@suse.de> |
185 | ||
186 | * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap | |
187 | out handled entries. | |
188 | (elf64_x86_64_finish_dynamic_symbol): Set up GOT entries. | |
189 | (elf64_x86_64_relocate_section): Fix GOTPCREL calculation. | |
190 | (elf64_x86_64_relocate_section): Merge entries for GOTPCREL and | |
191 | GOT32. | |
192 | ||
87748b32 NC |
193 | 2001-04-27 Sean McNeil <sean@mcneil.com> |
194 | ||
195 | * config.bfd: Add arm-vxworks target. | |
196 | * coff-arm (coff_arm_relocate_section): Add in symbol value to | |
197 | addend (fro VXworks targets). | |
198 | ||
f5f31454 L |
199 | 2001-04-26 H.J. Lu <hjl@gnu.org> |
200 | ||
201 | * elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is | |
202 | valid. | |
203 | ||
d436a9b3 FCE |
204 | 2001-04-25 Frank Ch. Eigler <fche@redhat.com> |
205 | ||
206 | * bfd-in.h (bfd_cache_close): Declare newly exported function. | |
207 | * bfd-in2.h: Regenerated. | |
208 | ||
a531bbd2 JJ |
209 | 2001-04-24 Jakub Jelinek <jakub@redhat.com> |
210 | ||
211 | * merge.c (struct sec_merge_hash_entry): Add alignment field. | |
212 | (struct sec_merge_hash): Remove alignment_power. | |
213 | (sec_merge_hash_newfunc): Clear alignment. | |
214 | (sec_merge_hash_lookup): Pass alignment as argument. | |
215 | Use hashp->root.next, not hashp->next to walk the hash chain. | |
216 | If a string already in the hashtable does not have required | |
217 | alignment, create a new hashtable entry. | |
218 | (sec_merge_init): Remove alignment_power argument. | |
219 | (sec_merge_add): Add alignment argument. | |
220 | (sec_merge_emit): Alignment is now a per-entity thing, not per | |
221 | section. | |
222 | (_bfd_merge_section): Sanity check even non-SEC_STRINGS sections | |
223 | for proper alignment. | |
224 | Pass alignment information to sec_merge_add. | |
225 | ||
6840198f NC |
226 | 2001-04-24 Christian Groessler <cpg@aladdin.de> |
227 | ||
228 | * coff-z8k.c (extra_case): added handler for R_DISP7, R_CALLR | |
229 | and R_REL16 reloc types; accept odd values for R_REL16 type | |
230 | ||
b3baf5d0 NC |
231 | 2001-04-24 Johan Rydberg <jrydberg@opencores.org> |
232 | ||
233 | * cpu-openrisc.c: New file. | |
234 | * elf32-openrisc.c: Likewise. | |
235 | ||
236 | * Makefile.am (ALL_MACHINES): Add cpu-openrisc.lo. | |
237 | (ALL_MACHINES_CFILES): Add cpu-openrisc.c. | |
238 | (BFD32_BACKENDS): Add elf32-openrisc.lo. | |
239 | (BFD32_BACKENDS_CFILES): Add elf32-openrisc.c. | |
240 | (cpu-openrisc.lo, elf32-openrisc.lo): New rules. | |
241 | * Makefile.in: Regenerated. | |
242 | * config.bfd: (openrisc-*-elf): New target. | |
053579d7 | 243 | * configure.in (bfd_elf32_openrisc_vec): New vector. |
b3baf5d0 NC |
244 | * configure: Regenerated. |
245 | * libbfd.h: Regenerated. | |
246 | * bfd-in2.h: Regenerated. | |
247 | * reloc.c: Add OpenRISC relocations. | |
053579d7 | 248 | * targets.c (bfd_elf32_openrisc_vec): Declare. |
b3baf5d0 NC |
249 | (bfd_target_vect): Add bfd_elf32_openrisc_vec. |
250 | * archures.c (enum bfd_architecture): Add bfd_arch_openrisc. | |
251 | (bfd_openrisc_arch): Declare. | |
252 | (bfd_archures_list): Add bfd_openrisc_arch. | |
253 | * elf.c (prep_headers): Add bfd_arch_openrisc. | |
254 | ||
fe4770f4 AJ |
255 | 2001-04-23 Bo Thorsen <bo@suse.de> |
256 | ||
257 | * elf64-x86-64.c: Add c++ vtable hack. | |
258 | Small whitespace and comment changes. | |
259 | ||
653165cc AJ |
260 | 2001-04-19 Andreas Jaeger <aj@suse.de> |
261 | ||
262 | * elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions. | |
263 | (elf64_x86_64_plt_entry): Likewise. | |
264 | (elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation. | |
265 | (elf64_x86_64_finish_dynamic_symbol): Fix PLT generation. | |
266 | ||
4d96d128 HPN |
267 | 2001-04-17 Hans-Peter Nilsson <hp@axis.com> |
268 | ||
269 | * elf32-cris.c: Tweak comments related to dynamic linking. | |
270 | (cris_elf_relocate_section): When not creating shared object, fill | |
271 | in the .got table for any symbol not in the dynamic symbol table. | |
272 | (elf_cris_finish_dynamic_symbol): When not creating shared object, | |
273 | only emit a .got.rela reloc if the symbol is in the dynamic symbol | |
274 | table. | |
275 | (cris_elf_check_relocs): Use variable r_type in all places rather | |
276 | than the original expression. Add default case in switch for | |
277 | reloc types. | |
278 | (elf_cris_size_dynamic_sections): Iterate over | |
279 | elf_cris_discard_excess_program_dynamics when not creating shared | |
280 | library. | |
653165cc | 281 | (elf_cris_discard_excess_dso_dynamics): Renamed from |
4d96d128 HPN |
282 | elf_cris_discard_copies. Correct typo, s/Rel/Rela/. |
283 | (elf_cris_discard_excess_program_dynamics): New. | |
284 | ||
3ed30d29 DD |
285 | 2001-04-14 Mark Elbrecht <snowball3@bigfoot.com> |
286 | ||
287 | * coffcode.h (coff_write_object_contents): Use | |
288 | bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out. | |
289 | ||
a80f6941 L |
290 | 2001-04-14 H.J. Lu <hjl@gnu.org> |
291 | ||
292 | * bfd-in2.h: Regenerate. | |
293 | ||
767e4b0d JJ |
294 | 2001-04-14 Jakub Jelinek <jakub@redhat.com> |
295 | ||
296 | * section.c (STD_SECTION): Add entsize. | |
297 | ||
2dd439c5 L |
298 | 2001-04-13 H.J. Lu <hjl@gnu.org> |
299 | ||
300 | * section.c (SEC_MERGE): Define new flag for merging. | |
301 | (SEC_STRINGS): Likewise. | |
302 | (entsize): New field. | |
303 | ||
baf80c32 DD |
304 | 2001-04-13 Roger Sayle <roger@metaphorics.com> |
305 | ||
306 | * coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section | |
307 | flag on pe-i386 targets. | |
308 | ||
f5fa8ca2 JJ |
309 | 2001-04-13 Jakub Jelinek <jakub@redhat.com> |
310 | ||
311 | * libbfd-in.h (_bfd_merge_section): New. | |
312 | (_bfd_write_merged_section): New. | |
313 | (_bfd_merged_section_offset): New. | |
314 | * libbfd.h: Rebuilt. | |
315 | * linker.c (_bfd_generic_link_output_symbols): Handle | |
316 | discard_sec_merge. | |
317 | * aoutx.h (aout_link_write_symbols): Likewise. | |
318 | * pdp11.c (aout_link_write_symbols): Likewise. | |
319 | * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section. | |
320 | (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE | |
321 | sections. | |
322 | (elf_link_sec_merge_syms): New. | |
323 | (elf_link_input_bfd): Call _bfd_merged_section_offset | |
324 | and _bfd_write_merged_section. | |
325 | Handle discard_sec_merge. | |
326 | * elf-bfd.h (struct elf_link_hash_table): Add merge_info | |
327 | field. | |
328 | (struct bfd_elf_section_data): Likewise. | |
329 | * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and | |
330 | SEC_STRINGS section flags and entsize from their ELF counterparts. | |
331 | (_bfd_elf_link_hash_table_init): Initialize merge_info. | |
332 | (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize | |
333 | from their BFD counterparts. | |
334 | * merge.c: New file. | |
335 | * Makefile.am: Add strtab.lo. | |
336 | * Makefile.in: Rebuilt. | |
337 | ||
d954b040 HPN |
338 | 2001-04-09 Hans-Peter Nilsson <hp@axis.com> |
339 | ||
340 | * elflink.h (elf_fix_symbol_flags): For non-default visibilities, | |
341 | only hide symbols marked STV_INTERNAL or STV_HIDDEN. | |
342 | ||
fdbafa10 L |
343 | 2001-04-05 Steven J. Hill <sjhill@cotw.com> |
344 | ||
345 | * config.bfd (mips*el*-*-linux-gnu*): Use traditional little | |
346 | endian MIPS ELF target. | |
347 | * config.bfd (mips*-*-linux-gnu*): Use traditional big endian | |
348 | MIPS ELF target. | |
349 | ||
350 | * configure.in (bfd_elf64_tradbigmips_vec): New. Traditional | |
351 | 64bit big endian MIPS ELF target. | |
653165cc | 352 | (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little |
fdbafa10 L |
353 | endian MIPS ELF target. |
354 | * configure: Regenerated. | |
355 | ||
356 | * elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and | |
357 | little endian targets. | |
358 | (mips_elf_sym_is_global): Handle traditional targets. | |
359 | ||
360 | * elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional | |
361 | 64bit big endian MIPS ELF target. | |
362 | (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little | |
363 | endian MIPS ELF target. | |
364 | ||
365 | * targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec | |
366 | and bfd_elf64_tradlittlemips_vec. | |
367 | ||
dd484e5c L |
368 | 2001-04-05 David Mosberger <davidm@hpl.hp.com> |
369 | ||
370 | * elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an | |
371 | ordinary "progbits" section. | |
372 | ||
391a809a AM |
373 | 2001-04-04 Alan Modra <alan@linuxcare.com.au> |
374 | ||
375 | * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol | |
376 | when -Bsymbolic causes a symbol to no longer need a .plt entry. | |
377 | ||
5854c633 L |
378 | 2001-04-03 David Mosberger <davidm@hpl.hp.com> |
379 | ||
380 | * efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted. | |
381 | ||
8b4b0fac L |
382 | 2001-03-30 H.J. Lu <hjl@gnu.org> |
383 | ||
384 | * efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ... | |
385 | (PEI_DEFAULT_TARGET_SUBSYSTEM): This. | |
386 | ||
eb4a6e4f L |
387 | 2001-03-26 H.J. Lu <hjl@gnu.org> |
388 | ||
389 | * elf32-gen.c (elf32_generic_link_add_symbols): New. Check | |
390 | if there are any relocations for generic ELF. | |
391 | (bfd_elf32_bfd_link_add_symbols): Defined to | |
392 | elf32_generic_link_add_symbols. | |
393 | * elf64-gen.c (elf64_generic_link_add_symbols): New. Check | |
394 | if there are any relocations for generic ELF. | |
395 | (bfd_elf64_bfd_link_add_symbols): Defined to | |
396 | elf64_generic_link_add_symbols. | |
397 | ||
55c80943 NC |
398 | 2001-03-23 Nick Clifton <nickc@redhat.com> |
399 | ||
400 | * Makefile.am (BUILD_CFILES): New variable: List of C source | |
401 | files created in build directory. | |
402 | (BUILD_HFILES): New variable: List of header files created in | |
403 | build directory. | |
404 | (POTFILES): Delete. | |
405 | (po/POTFILES.in): Replace rule with empty entry. | |
406 | (po/SRC-POTFILES.in): New rule: Create a list of source files | |
407 | in the source directory. | |
408 | (po/BLD-POTFILES.in): New rule: Create a list of source files | |
409 | in the build directory. | |
410 | (MOSTLYCLEAN): Do not delete source files created in build | |
411 | directory. | |
412 | * Makefile.in: Regenerate. | |
413 | * configure.in: Insert SRC-POTFILES.in and BLD-POTFILES.in | |
414 | into po/Makefile. | |
415 | * configure: Regenerate. | |
416 | ||
417 | * po/Make-in: Replace occurrences of POTFILES with SRC-POTFILES | |
418 | and BLD_POTFILES. | |
419 | Add .. to the search path when building bfd.pot. | |
420 | Delete POTFILES when performing distclean. | |
421 | Add comment describing why distclean is broken in maintainer mode. | |
422 | * po/POTFILES.in: Delete. | |
423 | * po/SRC-POTFILES.in: New file. | |
424 | * po/BLD-POTFILES.in: New file. | |
425 | * po/bfd.pot: Regenerate. | |
426 | ||
58d29fc3 HPN |
427 | 2001-03-22 Hans-Peter Nilsson <hp@axis.com> |
428 | ||
915e5146 HPN |
429 | * elf32-cris.c: Shlib and PIC support. PCREL tweaks. |
430 | (elf_cris_discard_copies, elf_cris_adjust_gotplt_to_got, | |
431 | elf_cris_try_fold_plt_to_got, elf_cris_link_hash_newfunc, | |
432 | elf_cris_link_hash_table_create, elf_cris_adjust_dynamic_symbol, | |
433 | elf_cris_size_dynamic_sections, elf_cris_finish_dynamic_symbol, | |
434 | elf_cris_finish_dynamic_sections,elf_cris_hide_symbol): New | |
435 | functions. | |
436 | (cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL, | |
437 | R_CRIS_32_PCREL>: Correct comments. Set pcrel_offset to false. | |
438 | <R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE, | |
439 | R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT, | |
440 | R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL>: | |
441 | New HOWTO members for new relocs. | |
442 | (cris_reloc_map): Map new relocs. | |
443 | (ELF_DYNAMIC_INTERPRETER): Define. | |
444 | (PLT_ENTRY_SIZE): Define. | |
445 | (elf_cris_plt0_entry, elf_cris_plt_entry, elf_cris_pic_plt0_entry, | |
446 | elf_cris_pic_plt_entry): New, PLT templates. | |
447 | (struct elf_cris_pcrel_relocs_copied, struct | |
448 | elf_cris_link_hash_entry, struct elf_cris_link_hash_table): New. | |
449 | (elf_cris_link_hash_traverse, elf_cris_hash_table): Define. | |
450 | (cris_final_link_relocate): Check that 16-bit GOT relocs have | |
451 | positive values. Adjust PCREL relocs to be relative to location | |
452 | after relocation. | |
453 | (cris_elf_relocate_section): Handle relocations to dynamic | |
454 | objects. Handle new relocations. Call error handler when seeing | |
455 | non-PIC relocation for read-only sections while generating shared | |
456 | object. | |
457 | (cris_elf_check_relocs): Set reference counts for GOT and PLT | |
458 | entries. | |
459 | (bfd_elf32_bfd_link_hash_table_create, | |
460 | elf_backend_adjust_dynamic_symbol, | |
461 | elf_backend_size_dynamic_sections, | |
462 | elf_backend_finish_dynamic_symbol, | |
463 | elf_backend_finish_dynamic_sections, | |
464 | elf_backend_create_dynamic_sections, bfd_elf32_bfd_final_link, | |
465 | elf_backend_hide_symbol, elf_backend_want_got_plt, | |
466 | elf_backend_plt_readonly, elf_backend_want_plt_sym, | |
467 | elf_backend_got_header_size, elf_backend_plt_header_size): | |
468 | Define. | |
469 | ||
58d29fc3 HPN |
470 | * reloc.c: (BFD_RELOC_CRIS_COPY, BFD_RELOC_CRIS_GLOB_DAT, |
471 | BFD_RELOC_CRIS_JUMP_SLOT, BFD_RELOC_CRIS_RELATIVE, | |
472 | BFD_RELOC_CRIS_32_GOT, BFD_RELOC_CRIS_16_GOT, | |
473 | BFD_RELOC_CRIS_32_GOTPLT, BFD_RELOC_CRIS_16_GOTPLT, | |
474 | BFD_RELOC_CRIS_32_GOTREL, BFD_RELOC_CRIS_32_PLT_GOTREL, | |
475 | BFD_RELOC_CRIS_32_PLT_PCREL): New relocs. | |
476 | * bfd-in2.h, libbfd.h: Regenerate. | |
477 | ||
7a65545d DN |
478 | 2001-03-21 Diego Novillo <dnovillo@redhat.com> |
479 | ||
480 | (_bfd_mips_elf_relocate_section): Give a better error message when | |
481 | a relocation is not recognized. | |
482 | ||
b32b5d6e AM |
483 | 2001-03-21 Alan Modra <alan@linuxcare.com.au> |
484 | ||
485 | * elf32-hppa.c (elf32_hppa_set_gp): Check sec->output_section | |
486 | non-NULL before attempting to dereference. | |
487 | ||
f4fbb4a3 L |
488 | 2001-03-20 H.J. Lu <hjl@gnu.org> |
489 | ||
490 | * configure.in: Remove the redundent AC_ARG_PROGRAM. | |
491 | * configure: Rebuild. | |
492 | ||
95fc45e6 AS |
493 | 2001-03-20 Andreas Schwab <schwab@suse.de> |
494 | ||
495 | * elf32-m68k.c (elf_m68k_relocate_section): Don't need the | |
496 | relocation value when resolving a reference from a debugging | |
497 | section. | |
498 | ||
03d411a9 NC |
499 | 2001-03-16 Scott Thomason <SThomaso@hii.com> |
500 | ||
501 | * coff64-rs6000.c (xcoff64_swap_sym_out): Fix syntax errors. | |
502 | (xcoff64_swap_sym_out): Fix syntax errors. | |
503 | ||
d1659392 NC |
504 | 2001-03-16 Richard Sandiford <rsandifo@redhat.com> |
505 | ||
506 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix warning. | |
507 | ||
12cca0d2 AM |
508 | 2001-03-15 Alan Modra <alan@linuxcare.com.au> |
509 | ||
510 | * elf32-hppa.c (elf32_hppa_link_hash_entry): Add maybe_pic_call. | |
511 | (hppa_link_hash_newfunc): Init it. | |
512 | (hppa_type_of_stub): Only use non-PIC to PIC call stub if caller | |
513 | section appears to be non-PIC. | |
514 | (final_link_relocate): Likewise. | |
515 | (elf32_hppa_adjust_dynamic_symbol): Set maybe_pic_call for any | |
516 | possible candidate function, and set pic_call for those that will | |
517 | only have a .plt entry for the PIC call stub. | |
518 | (hppa_handle_PIC_calls): Set maybe_pic_call. | |
519 | ||
cd6ec716 DD |
520 | 2001-03-12 DJ Delorie <dj@redhat.com> |
521 | ||
522 | * elf32-sh.c (sh_elf_relocate_section): Only relocation | |
523 | R_SH_DIR8WP* relocs if they're against external symbols, else | |
524 | they're just for relaxing. Validate the reloc values. | |
525 | ||
43a0748c NC |
526 | 2001-03-12 Stefan Geuken <mail@stefan-geuken.de> |
527 | ||
528 | * binary.c (bfd_external_binary_architecture): Declare. | |
529 | (binary_object_p): If bfd_external_binary_architecture is defined, | |
530 | set the architecture to this string. | |
531 | ||
d982ba73 PB |
532 | 2001-03-11 Philip Blundell <philb@gnu.org> |
533 | ||
534 | * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make PLT | |
535 | entries that could serve as a definition for a weak symbol. | |
536 | ||
7898deda NC |
537 | 2001-03-08 Nick Clifton <nickc@redhat.com> |
538 | ||
539 | * Most files: Update copyright notices using Perl script created | |
540 | by Kevin Buettner <kevinb@redhat.com>. | |
653165cc | 541 | |
df425bc0 NC |
542 | 2001-03-07 Nick Clifton <nickc@redhat.com> |
543 | ||
544 | * elf32-arm.h (elf32_arm_final_link_relocate): Conditionalise | |
545 | prior patch on ! defined OLD_ARM_ABI. | |
546 | ||
bcdd92f3 AJ |
547 | 2001-03-07 Andreas Jaeger <aj@suse.de> |
548 | ||
549 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of | |
550 | some relocation values. | |
551 | ||
4f3c3dbb NC |
552 | 2001-03-06 Nick Clifton <nickc@redhat.com> |
553 | ||
554 | * elf32-arm.h (elf32_arm_final_link_relocate): Clear bit zero | |
555 | of offset in BLX(1) instruction. | |
556 | * coff-arm.c (coff_arm_relocate_section): Clear bit zero of | |
557 | offset in BLX(1) instruction. | |
558 | Fix formatting. | |
559 | ||
f8f3c6cc NC |
560 | 2001-03-06 Nick Clifton <nickc@redhat.com> |
561 | ||
562 | * coff-arm.c (coff_arm_reloc_type_lookup): Add | |
563 | BFD_RELOC_THUMB_PCREL_BLX. | |
564 | ||
3cac17ae NC |
565 | 2001-03-06 Igor Shevlyakov <igor@windriver.com> |
566 | ||
567 | * archures.c (bfd_default_scan): Add Coldfire CPUs. | |
568 | * bfd-in2.h: Regenerate. | |
569 | * cpu-m68k.c: Add Coldfire CPUs for arch table. | |
570 | * ieee.c (ieee_write_processor): Set proper id for | |
571 | Coldfire CPUs. | |
572 | ||
d1b17ab0 NC |
573 | 2001-03-01 D.J. Barrow <djbarrow@de.ibm.com,barrow_dj@yahoo.com> |
574 | ||
575 | * configure.in: Add s390 target. | |
576 | * configure: Regenerate. | |
577 | ||
5608e05b AJ |
578 | 2001-02-28 Andreas Jaeger <aj@suse.de> |
579 | ||
580 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation | |
581 | to addend. | |
582 | ||
fd2ec330 PB |
583 | 2001-02-28 Philip Blundell <pb@futuretv.com> |
584 | ||
585 | * elf32-arm.h: Update mentions of renamed EF_xx constants. | |
5608e05b | 586 | (elf32_arm_print_private_bfd_data): Handle ARM EABI version 2. |
fd2ec330 | 587 | |
920581c5 L |
588 | 2001-02-27 H.J. Lu <hjl@gnu.org> |
589 | ||
590 | * aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if | |
591 | abfd->tdata.aout_data == NULL. | |
592 | ||
27b7e12d AM |
593 | 2001-02-27 Alan Modra <alan@linuxcare.com.au> |
594 | ||
3ee1d854 AM |
595 | * elf32-hppa.c: Correct field selector in stub comments. |
596 | (clobber_millicode_symbols): Formatting fix. | |
597 | ||
27b7e12d AM |
598 | * configure.in: Bump version to 2.11.90. |
599 | * configure: Regenerate. | |
600 | * Makefile.am (CFILES): Rename to SOURCE_CFILES. | |
601 | (CFILES): $SOURCE_CFILES + generated C files. | |
602 | (POTFILES): Include $HFILES not $SOURCE_HFILES. | |
603 | Run "make dep-am" | |
604 | * Makefile.in: Regenerate. | |
605 | * doc/Makefile.in: This too. | |
606 | ||
10d1e03a TW |
607 | 2001-02-26 Timothy Wall <twall@cygnus.com> |
608 | ||
609 | * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Remove obsolete | |
5608e05b | 610 | comments. |
10d1e03a | 611 | |
1276aefa NC |
612 | 2001-02-26 Nick Clifton <nickc@redhat.com> |
613 | ||
614 | * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Tidy | |
615 | up, replacing multiple if statements with a switch. | |
616 | (handle_COMDAT): New function. | |
617 | ||
618 | 2001-02-26 H.J. Lu <hjl@gnu.org> | |
619 | ||
620 | * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Issue | |
621 | a warning for section flags we do not handle instead of | |
622 | aborting. | |
623 | ||
4a73f21b AJ |
624 | 2001-02-26 Andreas Jaeger <aj@suse.de> |
625 | ||
626 | * elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries. | |
627 | ||
7b6dab7f TW |
628 | 2001-02-22 Timothy Wall <twall@cygnus.com> |
629 | ||
630 | * config.bfd (targ_cpu): Add vectors for ia64-*-aix* (aka Monterey). | |
631 | * configure.in: Add objects for elf64_ia64_aix vectors. | |
632 | * configure: Regenerated. | |
633 | * configure.host: Recognize ia64-*-aix*. | |
634 | * elfxx-ia64.c: Add hooks for ELF64 on AIX5. Define new vectors | |
635 | for AIX. AIX5 requires most relocations to be dynamic (*all* | |
636 | binaries are somewhat similar to shared libraries). | |
637 | * targets.c: Add elf64_ia64_aix vectors. | |
4a73f21b | 638 | |
87f8eb97 JW |
639 | 2001-02-21 David Mosberger <davidm@hpl.hp.com> |
640 | ||
641 | * cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for | |
642 | C8 said "1" instead of "8". Clarify error string for IMM22: | |
643 | "signed integer" instead of just "integer". | |
644 | ||
05aa1441 AJ |
645 | 2001-02-20 Andreas Jaeger <aj@suse.de> |
646 | ||
647 | * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make | |
648 | PLT entries that could serve as a definition for a weak symbol. | |
649 | ||
8701c1bc JJ |
650 | 2001-02-19 Jakub Jelinek <jakub@redhat.com> |
651 | ||
652 | * elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT | |
653 | entries that could serve as a definition for a weak symbol. | |
654 | * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Likewise. | |
655 | ||
d4af9775 DB |
656 | 2001-02-18 David O'Brien <obrien@FreeBSD> |
657 | ||
658 | * configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat | |
659 | FreeBSD/i386-CURRENT differently until I can figure out the needed | |
660 | corefile changes. | |
661 | * configure: Regenerate. | |
662 | * config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm, | |
663 | FreeBSD/PowerPC, and FreeBSD/sparc64. | |
664 | ||
e135f41b NC |
665 | 2001-02-18 lars brinkhoff <lars@nocrew.org> |
666 | ||
667 | * Makefile.am: Add PDP-11 a.out target. | |
668 | * config.bfd: Likewise. | |
669 | * configure.in: Likewise. | |
670 | * targets.c: Likewise. | |
671 | * archures.c: Likewise. | |
672 | * bfd-in2.h: Likewise. Add PDP-11 relocations. | |
673 | * libbfd.h: Add PDP-11 relocations. | |
674 | * reloc.c: Likewise. | |
675 | * cpu-pdp11.c: New file. | |
676 | * pdp11.c: New file. | |
677 | ||
678 | * libaout.h (GET_WORD) [ARCH_SIZE==16]: Define. | |
679 | (GET_SWORD) [ARCH_SIZE==16]: Likewise. | |
680 | (GET_SWORD) [ARCH_SIZE==16]: Likewise. | |
681 | (PUT_WORD) [ARCH_SIZE==16]: Likewise. | |
682 | (GET_MAGIC): New macro. | |
683 | (PUT_MAGIC): Likewise. | |
684 | * aout-target.h (MY(object_p)): Use GET_MAGIC to read magic word. | |
685 | ||
dc3febfa NC |
686 | 2001-02-18 Jim Kingdon <jkingdon@engr.sgi.com> |
687 | ||
688 | * irix-core.c (irix_core_core_file_p): Set the architecture (GDB | |
689 | multiarch needs it). | |
690 | ||
ea412e04 L |
691 | 2001-02-18 H.J. Lu <hjl@gnu.org> |
692 | ||
693 | * elflink.h (elf_link_input_bfd): Ignore invalid section symbol | |
694 | index. | |
695 | ||
47eee8a9 KH |
696 | 2001-02-18 Kazu Hirata <kazu@hxi.com> |
697 | ||
698 | * vms-misc.c: Fix formatting. | |
699 | ||
8a0c27cd KH |
700 | 2001-02-16 Kazu Hirata <kazu@hxi.com> |
701 | ||
702 | * vms.c: Fix formatting. | |
703 | ||
d1fad7c6 NC |
704 | 2001-02-14 H.J. Lu <hjl@gnu.org> |
705 | ||
706 | * elf.c (elf_find_function): New function. | |
707 | (_bfd_elf_find_nearest_line): Call elf_find_function () to find | |
708 | the file name and function name. | |
709 | ||
825b47db NC |
710 | 2001-02-14 Nick Clifton <nickc@redhat.com> |
711 | ||
51d7ee16 NC |
712 | * ecoff.c (bfd_debug_section): Update to initialise new fields in |
713 | asection structure. | |
714 | ||
825b47db NC |
715 | * Makefile.am (BFD32_BACKENDS_CFILES): Remove peigen.c |
716 | (BFD64_BACKENDS): Add pepigen.c | |
717 | Add rules to create peigen.c and pepigen.c from peXXigen.c. | |
718 | ||
719 | * Makefile.in: Regenerate. | |
720 | * configure: Regenerate. | |
721 | * po/POTFILES.in: Regenerate. | |
722 | * po/bfd.pot: Regenerate. | |
723 | ||
ea36a178 L |
724 | 2001-02-14 H.J. Lu <hjl@gnu.org> |
725 | ||
726 | * libcoff-in.h (pe_tdata): Add members target_subsystem and | |
727 | force_minimum_alignment. | |
728 | ||
407443a3 AJ |
729 | 2001-02-14 Bo Thorsen <bo@suse.de> |
730 | ||
731 | * elf64-x86-64.c: Small formatting fixes and rearrangements of code. | |
732 | (elf64_86_64_size_info): Struct added to fix a problem | |
733 | with the hashtable string entries. | |
734 | (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt. | |
735 | (elf64_x86_64_size_dynamic_sections): A FIXME removed. | |
736 | (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and | |
737 | remove the FIXME for this. | |
738 | (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt | |
739 | section. Also removed the FIXME for it. | |
740 | (x86_64_elf_howto_table): Use bfd_elf_generic_reloc. | |
741 | (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker. | |
742 | (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing. | |
743 | ||
b4adccfd RH |
744 | 2001-02-13 Richard Henderson <rth@redhat.com> |
745 | ||
746 | * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if required | |
747 | and not user provided. | |
748 | ||
9635981a KH |
749 | 2001-02-13 Kazu Hirata <kazu@hxi.com> |
750 | ||
751 | * vms.c (vms_print_symbol): Remove unreachable code. | |
752 | ||
6a125b16 KH |
753 | * rs6000-core.c: Fix formatting. |
754 | ||
cbff5e0d DD |
755 | 2001-02-13 David Mosberger <davidm@hpl.hp.com> |
756 | ||
757 | * peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define | |
758 | as _bfd_XXi_only_swap_filehdr_out. | |
759 | (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set | |
760 | pe->force_minimum_alignment to TRUE. | |
761 | (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to | |
762 | PEI_TARGET_SUBSYSTEM. | |
763 | (pe_print_private_bfd_data): Call | |
764 | _bfd_XX_print_private_bfd_data_common() instead of | |
765 | _bfd_pe_print_private_bfd_data_common(). | |
766 | (pe_bfd_copy_private_bfd_data): Call | |
767 | _bfd_XX_bfd_copy_private_bfd_data_common() instead of | |
768 | _bfd_pe_bfd_copy_private_bfd_data_common(). | |
769 | (coff_bfd_copy_private_section_data): Define as | |
770 | _bfd_XX_bfd_copy_private_section_data instead of | |
771 | _bfd_pe_bfd_copy_private_section_data. | |
772 | (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead | |
773 | of a _bfd_pe_get_symbol_info. | |
774 | ||
775 | * peigen.c: Delete. | |
776 | ||
777 | * peXXigen.c: Renamed from peigen.c. | |
778 | (COFF_WITH_XX): Define this macro (will get expanded into | |
779 | COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being | |
780 | compiled as peigen.c or pepigen.c. | |
781 | [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to | |
782 | define the canonical PEP structures and definitions. | |
783 | (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in | |
784 | effect, enforce minimum file and section alignments. If | |
785 | extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to | |
786 | pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN, | |
787 | so, by default, this is a no-op). | |
788 | ||
789 | * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep. | |
790 | (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map | |
791 | _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to | |
792 | _bfd_pefoo if it's not defined. Use these macros to define | |
793 | coff swap macros. | |
794 | ||
795 | * libcoff.h (pe_tdata): Add members target_subsystem and | |
796 | force_minimum_alignment. | |
797 | ||
798 | * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to | |
799 | COFF_WITH_pep. | |
800 | (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM. | |
801 | ||
802 | * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of | |
803 | peigen.lo. | |
804 | ||
805 | * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep. | |
806 | (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and | |
807 | PEPAOUTHDR. | |
808 | ||
809 | * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo. | |
810 | (BFD64_BACKENDS_CFILES): Mention pepigen.c | |
811 | (peigen.c): Add rule to generate from peXXigen.c. | |
812 | (pepigen.c): Ditto. | |
813 | (pepigen.lo): List dependencies for pepigen.lo. | |
814 | ||
df8634e3 AM |
815 | 2001-02-13 Alan Modra <alan@linuxcare.com.au> |
816 | ||
817 | * elf32-hppa.c (elf32_hppa_set_gp): Handle weak $global$. If | |
818 | $global$ referenced but not defined, set its value here. | |
819 | ||
51e0a107 JH |
820 | 2001-02-09 Bo Thorsen <bo@suse.de> |
821 | ||
822 | * elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section | |
823 | alignment to 3. | |
824 | (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry | |
825 | and relocation. | |
826 | (elf64_x86_64_relocate_section): Fix formatting. | |
827 | (elf64_x86_64_relocate_section): Fix addend for relocation of | |
828 | R_X86_64_(8|16|32|PC8|PC16|PC32). | |
829 | ||
d1fad7c6 | 830 | 2001-02-12 Jan Hubicka <jh@suse.cz> |
23df1078 JH |
831 | |
832 | * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL. | |
833 | ||
f0e1d18a L |
834 | 2001-02-11 H.J. Lu <hjl@gnu.org> |
835 | ||
6757257f | 836 | * elflink.h (elf_bfd_final_link): Use file_align for SYMTAB |
f0e1d18a L |
837 | alignment. |
838 | ||
9117d219 NC |
839 | 2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
840 | ||
841 | * elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch | |
842 | from 2000-10-13. Do not add the symbol's value for R_MIPS_REL32 | |
843 | relocations against dynsym symbols. | |
844 | ||
845 | * elf32-mips.c (elf_mips_howto_table): Fix the comment on | |
846 | the R_MIPS_26 relocation. | |
847 | (mips_elf_calculate_relocation): Use (p + 4) instead of p for | |
848 | the R_MIPS_26 relocation. | |
849 | (mips_elf_perform_relocation): Fix the comment on the R_MIPS16_26 | |
850 | relocation. | |
851 | * elf64-mips.c (mips_elf64_howto_table_rel): Fix the comment on | |
852 | the R_MIPS_26 relocation. | |
853 | (mips_elf64_howto_table_rela): Likewise. | |
854 | ||
855 | * elf32-mips.c (struct mips_elf_link_hash_entry): Added no_fn_stub | |
856 | member to mark symbols that have non-CALL relocations against | |
857 | them. | |
858 | (mips_elf_link_hash_newfunc): Initialize no_fn_stub. | |
859 | (mips_elf_calculate_relocation): Handle R_MIPS_CALL16 like | |
860 | R_MIPS_GOT16. | |
861 | (_bfd_mips_elf_check_relocs): Set no_fn_stub for a symbol if a | |
862 | non-CALL relocation against it is encountered. | |
863 | (_bfd_mips_elf_copy_indirect_symbol): Merge no_fn_stub as well. | |
864 | (_bfd_mips_elf_adjust_dynamic_symbol): Only create a stub if | |
865 | no_fn_stub is not set. | |
866 | ||
867 | * elf32-mips.c (mips_elf_output_extsym): Get the output section | |
868 | information from the real symbol for indirect ones. | |
869 | Check no_fn_stub to find out if a symbol has a function stub | |
870 | indeed. | |
871 | ||
9f93bca5 MS |
872 | 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
873 | ||
874 | * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory. | |
875 | * Makefile.in: Regenerate. | |
876 | ||
81545d45 RH |
877 | 2001-02-09 David Mosberger <davidm@hpl.hp.com> |
878 | ||
879 | * elfxx-ia64.c (is_unwind_section_name): New function. Returns | |
880 | true if section name is an unwind table section name. | |
881 | (elfNN_ia64_additional_program_headers): Count each unwind section | |
882 | separately. | |
883 | (elfNN_ia64_modify_segment_map): Install one unwind program header | |
884 | for each unwind separate section. Note: normally the linker | |
885 | script merges the unwind sections that go into a single segment, | |
886 | so this still generates at most one unwind program header per | |
887 | segment. | |
888 | ||
889 | * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section | |
890 | name for SHT_IA_64_UNWIND, not just .IA_64.unwind. | |
891 | (elfNN_ia64_fake_sections): Mark sections with names that start | |
892 | with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64 | |
893 | unwind section. | |
894 | ||
895 | * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function. | |
896 | Use it to make sh_info in unwind section point to the text section | |
897 | it applies to. | |
898 | ||
a85d7ed0 NC |
899 | 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com> |
900 | ||
901 | * Makefile.am: Add linux target for S/390. | |
902 | * archures.c: Likewise. | |
903 | * bfd-in2.h: Likewise. | |
904 | * config.bfd: Likewise. | |
905 | * configure.in: Likewise. | |
906 | * elf.c: Likewise. | |
907 | * libbfd.h: Likewise. | |
908 | * targets.c: Likewise. | |
909 | * cpu-s390.c: New file. | |
910 | * elf32-s390.c: New file. | |
911 | * elf64-s390.c: New file. | |
912 | ||
356d255d NC |
913 | 2001-02-09 Nick Clifton <nickc@redhat.com> |
914 | ||
915 | * peigen.c (_bfd_pe_get_symbol_info): Suppress addition of | |
916 | ImageBase. This has already been done by coff_swap_hdr_in. | |
917 | ||
069f40e5 JJ |
918 | 2001-02-09 Jakub Jelinek <jakub@redhat.com> |
919 | ||
920 | * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function. | |
921 | ||
eadfa8ab JJ |
922 | 2001-02-09 Jakub Jelinek <jakub@redhat.com> |
923 | ||
924 | * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count. | |
925 | (sparc64_elf_relocate_section): Likewise. | |
926 | ||
9fc54e19 MK |
927 | 2001-02-09 Mark Kettenis <kettenis@gnu.org> |
928 | ||
929 | * elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32 | |
930 | similar to R_SPARC_32. | |
931 | * elf64-sparc.c (sparc64_elf_howto_table): Likewise. | |
932 | ||
1f655a09 L |
933 | 2001-02-08 H.J. Lu <hjl@gnu.org> |
934 | ||
935 | * elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32 | |
936 | relocation entries for weak definitions when building DSO with | |
937 | -Bsymbolic. | |
938 | ||
ca88208a RH |
939 | 2001-02-08 Richard Henderson <rth@redhat.com> |
940 | ||
941 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness | |
942 | before visibility. Locally defined protected symbols are not | |
943 | dynamic. | |
944 | ||
4603e845 GK |
945 | 2001-02-08 Geoffrey Keating <geoffk@redhat.com> |
946 | ||
947 | * config.bfd: Enable coff64 for rs6000-*. Patch from | |
948 | <hzoli@austin.ibm.com>. | |
949 | ||
4ca29a6a NC |
950 | 2001-02-07 Mark Elbrecht <snowball3@bigfoot.com> |
951 | ||
952 | * coffgen.c (coff_find_nearest_line): If stabs info is successfully | |
953 | found, do not attempt to find dwarf2 info before returning. | |
954 | ||
7da9d88f NC |
955 | 2001-02-07 Jakub Jelinek <jakub@redhat.com> |
956 | ||
957 | * elflink.h (is_global_symbol_definition): Rename to | |
958 | is_global_data_symbol_definition and have it reject function | |
959 | symbols. | |
960 | (elf_link_is_defined_archive_symbol): Use renamed function. | |
961 | ||
7340082d NC |
962 | 2001-02-07 Todd Vierling <tv@wasabisystems.com> |
963 | ||
964 | * libbfd-in.h (bfd_target_vector): Change extern array to pointer. | |
965 | * libbfd.h (bfd_target_vector): Likewise. | |
966 | * targets.c (bfd_target_vector): Rename to _bfd_target_vector and | |
81545d45 | 967 | make static; create pointer reference named bfd_target_vector. |
7340082d NC |
968 | (_bfd_target_vector_entries): Calculate this based on the array |
969 | typed _bfd_target_vector. | |
970 | ||
2719f880 L |
971 | 2001-02-06 H.J. Lu <hjl@gnu.org> |
972 | ||
973 | * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and | |
974 | internal symbols are not dynamic. | |
975 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. | |
976 | ||
175aa013 NC |
977 | 2001-02-06 Nick Clifton <nickc@redhat.com> |
978 | ||
979 | * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-ia64.c, so | |
980 | that it will not be pulled into the list of files that make up | |
981 | po/POTFILES.in. | |
982 | * Makefile.in: Regenerate. | |
983 | * po/bfd.pot: Regenerate. | |
984 | ||
15e0ecd9 L |
985 | 2001-02-06 H.J. Lu <hjl@gnu.org> |
986 | ||
7898deda | 987 | * peicode.h (coff_swap_filehdr_in): Remove the e_magic |
15e0ecd9 L |
988 | checking. |
989 | (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and | |
990 | external_PEI_IMAGE_hdr. | |
991 | ||
27def10f KH |
992 | 2001-02-06 Kazu Hirata <kazu@hxi.com> |
993 | ||
994 | * elf-m10200.c: Fix formatting. | |
995 | ||
a0f2e916 NC |
996 | 2001-02-04 Nick Clifton <nickc@redhat.com> |
997 | ||
998 | * elf32-v850.c (v850_elf_reloc): Do not convert reloc addend to PC | |
999 | rel, it will be handled later on. | |
1000 | ||
d96031fb NC |
1001 | 2001-02-02 Fred Fish <fnf@ninemoons.com> |
1002 | ||
1003 | * Makefile.in: Fix typo. | |
1004 | ||
010ac81f KH |
1005 | 2001-02-01 Kazu Hirata <kazu@hxi.com> |
1006 | ||
1007 | * elf-m10300.c: Fix formatting. | |
1008 | ||
3fab46d0 AM |
1009 | 2001-01-30 Alan Modra <alan@linuxcare.com.au> |
1010 | ||
1011 | * elf64-hppa.c (elf64_hppa_elf_get_symbol_type): New function. | |
1012 | (elf_backend_get_symbol_type): Define. | |
d9634ba1 AM |
1013 | (elf64_hppa_object_p): Set architecture and machine from elf |
1014 | header flags. | |
3fab46d0 | 1015 | |
95404643 RH |
1016 | 2001-01-30 Curtis L. Janssen <cljanss@ca.sandia.gov> |
1017 | ||
1018 | * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2 | |
1019 | before mdebug. | |
1020 | ||
8fb35fed RH |
1021 | 2001-01-26 Richard Henderson <rth@redhat.com> |
1022 | ||
1023 | * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false | |
1024 | for non-default visibility. | |
1025 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but | |
1026 | delete ugly macro and replace with pretty function. | |
1027 | ||
a4f68544 NC |
1028 | 2001-01-25 Mark Elbrecht <snowball3@bigfoot.com> |
1029 | ||
1030 | * coff-go32.c: Update copyright. | |
1031 | * coff-stgo32.c: Likewise. | |
1032 | * coff-go32.c (COFF_LONG_FILENAMES): Define. | |
1033 | * coff-stgo32.c (COFF_LONG_FILENAMES): Likewise. | |
1034 | * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Remove .bss entry. | |
1035 | * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. | |
1036 | ||
c02e7c3e KH |
1037 | 2001-01-25 Kazu Hirata <kazu@hxi.com> |
1038 | ||
1039 | * bfd-in2.h: Rebuild. | |
1040 | * libbfd.h: Likewise. | |
1041 | ||
541389e2 L |
1042 | 2001-01-23 H.J. Lu <hjl@gnu.org> |
1043 | ||
1044 | * bfd-in2.h: Rebuild. | |
1045 | ||
0007625f L |
1046 | 2001-01-23 H.J. Lu <hjl@gnu.org> |
1047 | ||
1048 | * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf) | |
1049 | is NULL or PRIV(vms_rec) is outside of the buffer. | |
1050 | ||
b653e1b1 KH |
1051 | 2001-01-23 Kazu Hirata <kazu@hxi.com> |
1052 | ||
1053 | * coff64-rs6000.c: Fix formatting. | |
1054 | * coff-arm.c: Likewise. | |
1055 | * coffgen.c: Likewise. | |
1056 | * cofflink.c: Likewise. | |
1057 | * coff-mcore.c: Likewise. | |
1058 | * coff-mips.c: Likewise. | |
1059 | * coff-pmac.c: Likewise. | |
1060 | * coff-ppc.c: Likewise. | |
1061 | * coff-rs6000.c: Likewise. | |
1062 | * elf32.c: Likewise. | |
1063 | * elf32-fr30.c: Likewise. | |
1064 | * elf32-i370.c: Likewise. | |
1065 | * elf32-i860.c: Likewise. | |
1066 | * elf32-m32r.c: Likewise. | |
1067 | * elf32-m68k.c: Likewise. | |
1068 | * elf32-mcore.c: Likewise. | |
1069 | * elf32-ppc.c: Likewise. | |
1070 | * elf32-sh.c: Likewise. | |
1071 | * elf32-v850.c: Likewise. | |
1072 | * elf64-alpha.c: Likewise. | |
1073 | * elf64-sparc.c: Likewise. | |
1074 | * elflink.c: Likewise. | |
1075 | * elflink.h: Likewise. | |
1076 | * elf-m10200.c: Likewise. | |
1077 | * elf-m10300.c: Likewise. | |
1078 | * elfxx-ia64.c: Likewise. | |
1079 | ||
3fde5a36 KH |
1080 | * aoutx.h: Fix formatting. |
1081 | * bfd.c: Likewise. | |
1082 | * bfd-in2.h: Likewise. | |
1083 | * bfd-in.h: Likewise. | |
1084 | * cpu-i386.c: Likewise. | |
1085 | * cpu-m68hc11.c: Likewise. | |
1086 | * dwarf2.c: Likewise. | |
1087 | * elf64-x86-64.c: Likewise. | |
1088 | * format.c: Likewise. | |
1089 | * freebsd.h: Likewise. | |
1090 | * hash.c: Likewise. | |
1091 | * hp300hpux.c: Likewise. | |
1092 | * hppabsd-core.c: Likewise. | |
1093 | * hpux-core.c: Likewise. | |
1094 | ||
70256ad8 AJ |
1095 | 2001-01-22 Bo Thorsen <bo@suse.de> |
1096 | ||
1097 | * elf64-x86-64.c: Added PIC support for X86-64. | |
1098 | (elf64_x86_64_link_hash_newfunc): Function added. | |
1099 | (elf64_x86_64_link_hash_table_create): Likewise. | |
1100 | (elf64_x86_64_check_relocs): Likewise. | |
1101 | (elf64_x86_64_gc_mark_hook): Likewise. | |
1102 | (elf64_x86_64_gc_sweep_hook): Likewise. | |
1103 | (elf64_x86_64_adjust_dynamic_symbol): Likewise. | |
1104 | (elf64_x86_64_size_dynamic_sections): Likewise. | |
1105 | (elf64_x86_64_discard_copies): Likewise. | |
1106 | (elf64_x86_64_finish_dynamic_symbol): Likewise. | |
1107 | (elf64_x86_64_finish_dynamic_sections): Likewise. | |
1108 | (elf64_x86_64_relocate_section): Add relocation of PIC sections. | |
1109 | ||
ee0bebb8 AJ |
1110 | 2001-01-21 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1111 | ||
1112 | * Makefile.am (install-data-local): Make use of $(DESTDIR). | |
1113 | * Makefile.in: Regenerate. | |
1114 | ||
2a38f751 KH |
1115 | 2001-01-21 Kazu Hirata <kazu@hxi.com> |
1116 | ||
1117 | * coff-a29k.c: Fix formatting. | |
1118 | ||
c8492176 L |
1119 | 2001-01-19 H.J. Lu <hjl@gnu.org> |
1120 | ||
1121 | * elf32-i386.c (elf_i386_check_relocs): Report files with bad | |
1122 | relocation section names. | |
1123 | (elf_i386_relocate_section): Report files with bad relocation | |
1124 | section names and return false. | |
1125 | ||
a5377ec0 AJ |
1126 | 2001-01-17 Bo Thorsen <bo@suse.de> |
1127 | ||
1128 | * targets.c: Alphabetize list of xvecs. | |
1129 | ||
b352eebf AM |
1130 | 2001-01-14 Alan Modra <alan@linuxcare.com.au> |
1131 | ||
d952f17a AM |
1132 | * config.bfd: Add linux target variant for elfxx-hppa. |
1133 | * configure.in: Recognize bfd_elf32_hppa_linux_vec and | |
1134 | bfd_elf64_hppa_linux_vec. | |
1135 | * configure: Regenerate. | |
1136 | * elf64-hppa.c: Include elf64-target.h again to support linux | |
1137 | target variant. | |
1138 | (elf64_hppa_post_process_headers): Set ELFOSABI_LINUX for linux. | |
1139 | * elf32-hppa.c: Include elf32-target.h again to support linux | |
1140 | target variant. | |
1141 | (elf32_hppa_post_process_headers): New function. | |
1142 | (elf_backend_post_process_headers): Define. | |
1143 | * targets.c (bfd_target_vector): Add bfd_elf64_hppa_linux_vec and | |
1144 | bfd_elf32_hppa_linux_vec. | |
1145 | ||
c46b7515 AM |
1146 | * elf32-hppa.c (elf32_hppa_link_hash_table): Add text_segment_base, |
1147 | and data_segment_base fields. | |
1148 | (elf32_hppa_link_hash_table_create ): Init them. | |
1149 | (elf32_hppa_check_relocs): Update comments. | |
1150 | (hppa_record_segment_addr): New function. | |
1151 | (elf32_hppa_relocate_section): Call it. | |
1152 | (final_link_relocate): Handle R_PARISC_SEGREL32. | |
1153 | (elf32_hppa_final_link): New function. | |
1154 | (bfd_elf32_bfd_final_link): Define to call it. | |
1155 | (hppa_unwind_entry_compare): New function. | |
1156 | * cache.c (bfd_open_file): Create files in write+read mode. | |
1157 | ||
1158 | * elf-hppa.h (elf_hppa_howto_table): Set bitsize value for | |
1159 | SEGREL32 and numerous other relocs. Change duplicate | |
1160 | R_PARISC_NONE relocs to R_PARISC_UNIMPLEMENTED. | |
1161 | ||
d768008d AM |
1162 | * opncls.c (bfd_fdopenr): Add parens like the comment says around |
1163 | O_ACCMODE. | |
1164 | ||
150ccafb AM |
1165 | * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Don't create |
1166 | .plt entries for DT_INIT and DT_FINI. | |
1167 | (elf32_hppa_finish_dynamic_sections): Remove special handling of | |
1168 | DT_INIT and DT_FINI. | |
1169 | ||
b352eebf AM |
1170 | * elf64-hppa.c (elf64_hppa_finish_dynamic_symbol): Use 16-bit |
1171 | offsets for stub .plt access if wide mode. Check offset in range. | |
1172 | ||
b3b9a062 NC |
1173 | 2001-01-13 Nick Clifton <nickc@redhat.com> |
1174 | ||
b7ed8fad NC |
1175 | * elf32-fr30.c (fr30_elf_howto_table): Remove spurious blank |
1176 | line. | |
1177 | ||
b3b9a062 NC |
1178 | * coffcode.h (coff_canonicalize_reloc): Remove spurious blank |
1179 | line. | |
1180 | ||
6e0b89ee AM |
1181 | 2001-01-12 Alan Modra <alan@linuxcare.com.au> |
1182 | ||
1183 | * configure.in ([bfd_elf64_x86_64_vec]): Set target64. | |
1184 | * configure: Regenerate. | |
1185 | ||
0d2bcfaf NC |
1186 | 2001-01-11 Peter Targett <peter.targett@arccores.com> |
1187 | ||
1188 | * bfd-in2.h (bfd_architecture): Add bfd_mach_arc_5, | |
1189 | bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8 for ARC variants. | |
1190 | * cpu-arc.c (arch_info_struct): Add entries for variants. | |
1191 | (bfd_arc_arch) Set default to bfd_mach_arc_5. | |
1192 | (arc_get_mach) Don't assume machine names prefixed arc- before | |
1193 | testing. | |
1194 | * elf32-arc.c (arc_elf_object_p): Set machine number based on new | |
1195 | selections. | |
1196 | (arc_elf_final_write_processing) Likewise. | |
1197 | (ELF_MACHINE_CODE) Use EM_ARC. | |
1198 | ||
c31c1f70 NC |
1199 | 2001-01-10 Nick Clifton <nickc@redhat.com> |
1200 | ||
2758140b | 1201 | * coff-arm.c (LOCAL_LABEL_PREFIX): Change definition to "". |
c31c1f70 | 1202 | |
5ad083e3 PB |
1203 | 2001-01-07 Philip Blundell <philb@gnu.org> |
1204 | ||
1205 | * README: Replace `bug-gnu-utils@gnu.org' with | |
1206 | `bug-binutils@gnu.org'. | |
1207 | ||
7eae7d22 KH |
1208 | 2001-01-04 Kazu Hirata <kazu@hxi.com> |
1209 | ||
1210 | * som.c: Fix formatting. | |
1211 | ||
509945ae KH |
1212 | 2001-01-03 Kazu Hirata <kazu@hxi.com> |
1213 | ||
3e932841 KH |
1214 | * ecoffswap.h: Fix formatting. |
1215 | * elf-bfd.h: Likewise. | |
1216 | * elfarm-nabi.c: Likewise. | |
1217 | * elfarm-oabi.c: Likewise. | |
1218 | * elfcode.h: Likewise. | |
1219 | * elfcore.h: Likewise. | |
1220 | * elflink.c: Likewise. | |
1221 | * elflink.h: Likewise. | |
1222 | * elfxx-ia64.c: Likewise. | |
1223 | * elfxx-target.h: Likewise. | |
1224 | * libbfd.c: Likewise | |
509945ae KH |
1225 | * linker.c: Likewise. |
1226 | * lynx-core.c: Likewise. | |
1227 | ||
892339ee KH |
1228 | 2001-01-02 Kazu Hirata <kazu@hxi.com> |
1229 | ||
1230 | * pc532-mach.c: Fix formatting. | |
1231 | * pe-arm.c: Likewise. | |
1232 | * pe-i386.c: Likewise. | |
1233 | * pe-mips.c: Likewise. | |
1234 | * pe-ppc.c: Likewise. | |
1235 | * pe-sh.c: Likewise. | |
1236 | * pei-mips.c: Likewise. | |
1237 | * pei-sh.c: Likewise. | |
ee91ed79 | 1238 | * peicode.h: Likewise. |
892339ee KH |
1239 | * ppcboot.c: Likewise. |
1240 | * ptrace-core.c: Likewise. | |
1241 | ||
3d855632 KH |
1242 | 2001-01-01 Kazu Hirata <kazu@hxi.com> |
1243 | ||
1244 | * reloc.c: Fix formatting. | |
1245 | * riscix.c: Likewise. | |
1246 | * rs6000-core.c: Likewise. | |
1247 | * xcoff-target.h: Likewise. | |
1248 | ||
a77a9fef HPN |
1249 | 2000-12-29 Hans-Peter Nilsson <hp@bitrange.com> |
1250 | ||
1251 | * elfcode.h (elf_object_p): Also restore the bfd mach field on | |
1252 | error, by calling bfd_default_set_arch_mach with incoming | |
1253 | values. | |
1254 | ||
558e161f KH |
1255 | 2000-12-26 Kazu Hirata <kazu@hxi.com> |
1256 | ||
1257 | * vaxnetbsd.c: Fix formatting. | |
1258 | * versados.c: Likewise. | |
1259 | * vms-gsd.c: Likewise. | |
1260 | * vms-hdr.c: Likewise. | |
1261 | * vms-misc.c: Likewise. | |
1262 | ||
3c579812 AO |
1263 | 2000-12-25 Alexandre Oliva <aoliva@redhat.com> |
1264 | ||
1265 | * archive.c (coff_write_armap): Don't write more than symbol_count | |
1266 | `archive_member_file_ptr's. | |
1267 | ||
672579e9 KH |
1268 | 2000-12-25 Kazu Hirata <kazu@hxi.com> |
1269 | ||
1270 | * vms-tir.c: Fix formatting. | |
1271 | ||
55f2d5ed KH |
1272 | 2000-12-23 Kazu Hirata <kazu@hxi.com> |
1273 | ||
1274 | * vms.c: Fix formatting. | |
1275 | * vms.h: Likewise. | |
1276 | ||
23ccc829 NC |
1277 | 2000-12-21 Santeri Paavolainen <santtu@ssh.com> |
1278 | ||
1279 | * vms-hdr.c: Include alloca.h if HAVE_ALLOCA_H is defined. | |
1280 | ||
1281 | * peicode.h (pe_ILF_object_p): Add const to import of TARGET_LITTLE_SYM. | |
1282 | ||
1283 | * elf32-m32r.c (m32r_elf_generic_reloc): Add cast to avoid (void *) | |
1284 | arithmetic. | |
1285 | ||
1286 | * elf32-fr30.c: Add casts to avoid (void *) arithmetic. | |
1287 | ||
1288 | * coffcode.h (styp_to_sec_flags): Add empty statement after label. | |
1289 | ||
8c603c85 NC |
1290 | 2000-12-21 Richard Sandiford <rsandifo@redhat.com> |
1291 | ||
1292 | * libbfd.c (bfd_get_bits): Added | |
1293 | (bfd_put_bits): Likewise | |
1294 | * bfd-in.h: Declared the above. | |
1295 | * bfd-in2.h: Regenerated. | |
1296 | ||
5bff4f56 KH |
1297 | 2000-12-20 Kazu Hirata <kazu@hxi.com> |
1298 | ||
1299 | * targets.c: Fix formatting. | |
1300 | * tekhex.c: Likewise. | |
1301 | * trad-core.c: Likewise. | |
1302 | ||
7b82c249 KH |
1303 | 2000-12-19 Kazu Hirata <kazu@hxi.com> |
1304 | ||
1305 | * sco5-core.c: Fix formatting. | |
1306 | * section.c: Likewise. | |
1307 | * sparclinux.c: Likewise. | |
1308 | * sparclynx.c: Likewise. | |
1309 | * sparcnetbsd.c: Likewise. | |
1310 | * srec.c: Likewise. | |
1311 | * stabs.c: Likewise. | |
1312 | * stab-syms.c: Likewise. | |
1313 | * sunos.c: Likewise. | |
1314 | * syms.c: Likewise. | |
1315 | * sysdep.h: Likewise. | |
1316 | ||
f78c5281 NC |
1317 | 2000-12-18 Nick Clifton <nickc@redhat.com> |
1318 | ||
1319 | * coff-arm.c (EXTRA_S_FLAGS): Only define if not already | |
1320 | defined. | |
1321 | * epoc-pe-arm.c (EXTRA_S_FLAGS): Define. | |
1322 | * epoc-pei-arm.c (EXTRA_S_FLAGS): Define. | |
1323 | ||
02b89dce NC |
1324 | 2000-12-18 Nick Clifton <nickc@redhat.com> |
1325 | ||
1326 | * vms-misc.c (_bfd_vms_get_record): Add default case to | |
1327 | file_format switch. | |
1328 | ||
d20966a7 NC |
1329 | 2000-12-15 Miloslav Trmac <mitr@volny.cz> |
1330 | ||
1331 | * elfcore.h (elf_core_file_p): Move to the start of the program | |
1332 | headers before attempting to read them. | |
1333 | ||
6fa957a9 KH |
1334 | 2000-12-14 Kazu Hirata <kazu@hxi.com> |
1335 | ||
1336 | * peigen.c: Fix formatting. | |
1337 | * som.c: Likewise. | |
1338 | * som.h: Likewise. | |
1339 | ||
9602af51 KH |
1340 | 2000-12-13 Kazu Hirata <kazu@hxi.com> |
1341 | ||
1342 | * peigen.c: Fix formatting. | |
1343 | ||
514829c3 JW |
1344 | 2000-12-12 Jim Wilson <wilson@redhat.com> |
1345 | ||
1346 | * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *. | |
1347 | ||
3a71aec8 NC |
1348 | 2000-12-08 Mark Salter <msalter@redhat.com> |
1349 | ||
1350 | * binary.c (binary_set_section_contents): Ignore sections | |
1351 | with zero size. | |
1352 | ||
1518639e KH |
1353 | 2000-12-12 Kazu Hirata <kazu@hxi.com> |
1354 | ||
1355 | * m68klinux.c: Fix formatting. | |
1356 | * m68knetbsd.c: Likewise. | |
1357 | * mipsbsd.c: Likewise. | |
1358 | * netbsd-core.c: Likewise. | |
1359 | * netbsd.h: Likewise. | |
1360 | * newsos3.c: Likewise. | |
1361 | * nlm32-alpha.c: Likewise. | |
1362 | * nlm32-i386.c: Likewise. | |
1363 | * nlm32-ppc.c: Likewise. | |
1364 | * nlm32-sparc.c: Likewise. | |
1365 | * nlmcode.h: Likewise. | |
1366 | * nlmswap.h: Likewise. | |
1367 | * nlm-target.h: Likewise. | |
1368 | * ns32knetbsd.c: Likewise. | |
1369 | ||
b79e8c78 NC |
1370 | 2000-12-10 Fred Fish <fnf@be.com> |
1371 | ||
d952f17a AM |
1372 | * elflink.h (elf_link_output_extsym): Don't complain about undefined |
1373 | symbols in shared objects if allow_shlib_undefined is true. | |
b79e8c78 | 1374 | |
38b1a46c NC |
1375 | 2000-12-12 Nick Clifton <nickc@redhat.com> |
1376 | ||
1377 | * cpu-sh.c: Fix formattng. | |
1378 | * elf.c: Fix formattng. | |
1379 | * elf32-mips.c: Fix formattng. | |
1380 | * elf32-sh.c: Fix formattng. | |
1381 | * elf64-alpha.c: Fix formattng. | |
1382 | ||
857ec808 NC |
1383 | 2000-12-09 Nick Clifton <nickc@redhat.com> |
1384 | ||
1385 | * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Pass | |
1386 | dwarf2_find_line_info as last parameter to invocation of | |
1387 | _bfd_dwarf2_find_nearest_line. | |
1388 | * elf32-arm.h (elf32_arm_find_nearest_line): Pass | |
1389 | dwarf2_find_line_info as last parameter to invocation of | |
1390 | _bfd_dwarf2_find_nearest_line. | |
1391 | ||
51db3708 NC |
1392 | 2000-12-08 Mark Elbrecht <snowball3@bigfoot.com> |
1393 | ||
1394 | * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here... | |
857ec808 NC |
1395 | (BFD_LIBS): ...to here. |
1396 | (BFD32_BACKENDS_CFILES): Move dwarf2.c from here... | |
1397 | (BFD_LIBS_CFILES): ...to here. | |
51db3708 NC |
1398 | * Makefile.in: Regenerate. |
1399 | * configure.in: Remove dwarf.lo from the elf shell variable. | |
1400 | * configure: Regenerate. | |
1401 | * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info. | |
1402 | * libcoff.h: Regenerate. | |
d952f17a | 1403 | * coffgen.c (coff_find_nearest_line): Call |
857ec808 | 1404 | _bfd_dwarf2_find_nearest_line. |
51db3708 | 1405 | * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update |
857ec808 NC |
1406 | accordingly. |
1407 | (read_abbrevs): Likewise | |
1408 | (decode_line_info): Likewise. | |
1409 | (parse_comp_unit): Likewise. | |
1410 | (comp_unit_find_nearest_line): Likewise. | |
51db3708 NC |
1411 | * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype. |
1412 | * libbfd.h: Regenerate. | |
1413 | * elf.c (_bfd_elf_find_nearest_line): Update call. | |
1414 | * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR. | |
1415 | * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH. | |
1416 | * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros. | |
857ec808 NC |
1417 | (sec_to_styp_flags): Use them. Handle DWARF2 sections. |
1418 | (styp_to_sec_flags): Handle DWARF2 sections. | |
1419 | * elf32-arm.h (elf32_arm_find_nearest_line): Add parameter to call | |
1420 | to _bfd_find_nearest_line. | |
1421 | * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to | |
1422 | call to _bfd_find_nearest_line. | |
d952f17a | 1423 | |
435b1e90 KH |
1424 | 2000-12-08 Kazu Hirata <kazu@hxi.com> |
1425 | ||
1426 | * coffgen.c: Fix formatting. | |
fe8bc63d | 1427 | * elf-m10300.c: Likewise. |
435b1e90 KH |
1428 | * elf32-i386.c: Likewise. |
1429 | * elf32-i960.c: Likewise. | |
1430 | * elf32-m68k.c: Likewise. | |
1431 | * elf32-mcore.c: Likewise. | |
1432 | * elf32-ppc.c: Likewise. | |
1433 | * elf32-sh.c: Likewise. | |
1434 | * elf32-sparc.c: Likewise. | |
1435 | * elf32-v850.c: Likewise. | |
fe8bc63d KH |
1436 | * elf64-alpha.c: Likewise. |
1437 | * elf64-hppa.c: Likewise. | |
1438 | * elf64-mips.c: Likewise. | |
435b1e90 | 1439 | * elf64-sparc.c: Likewise. |
435b1e90 | 1440 | |
8da6118f KH |
1441 | 2000-12-07 Kazu Hirata <kazu@hxi.com> |
1442 | ||
1443 | * elf32-ppc.c: Fix formatting. | |
1444 | * elf64-x86-64.c: Likewise. | |
1445 | ||
a9922e52 UC |
1446 | 2000-12-06 Ulf Carlsson <ulfc@engr.sgi.com> |
1447 | ||
1448 | From Ralf Baechle <ralf@gnu.org> | |
1449 | ||
1450 | * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit | |
1451 | BFDs containing no sections or empty .text, .data or .bss sections | |
1452 | to be merged, regardless of their flags. | |
1453 | ||
c3668558 KH |
1454 | 2000-12-06 Kazu Hirata <kazu@hxi.com> |
1455 | ||
1456 | * elf32-m32r.c: Fix formatting. | |
1457 | * elf32-m68hc11.c: Likewise. | |
1458 | * elf32-m68hc12.c: Likewise. | |
1459 | * elf32-m68k.c: Likewise. | |
1460 | * elf32-mcore.c: Likewise. | |
1461 | * elf32-pj.c: Likewise. | |
1462 | * elf32-ppc.c: Likewise. | |
1463 | ||
6609fa74 KH |
1464 | 2000-12-05 Kazu Hirata <kazu@hxi.com> |
1465 | ||
1466 | * elf32-fr30.c: Fix formatting. | |
1467 | * elf32-hppa.c: Likewise. | |
1468 | * elf32-i370.c: Likewise. | |
1469 | * elf32-i386.c: Likewise. | |
1470 | * elf32-i860.c: Likewise. | |
1471 | * elf32-i960.c: Likewise. | |
1472 | ||
a7c10850 KH |
1473 | 2000-12-03 Kazu Hirata <kazu@hxi.com> |
1474 | ||
1475 | * elf32-arm.h: Fix formatting. | |
1476 | * elf32-avr.c: Likewise. | |
1477 | * elf32-cris.c: Likewise. | |
1478 | * elf32-d10v.c: Likewise. | |
1479 | * elf32-d30v.c: Likewise. | |
1480 | * elf-hppa.h: Likewise. | |
1481 | * elf-m10200.c: Likewise. | |
1482 | * elf-m10300.c: Likewise. | |
1483 | ||
e7af610e NC |
1484 | 2000-12-01 Chris Demetriou <cgd@sibyte.com> |
1485 | ||
d952f17a AM |
1486 | * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and |
1487 | bfd_mach_mips32_4k. Update FIXME comment. | |
1488 | * archures.c (bfd_mach_mips32): New constant. | |
1489 | (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to | |
1490 | the latter, renumber it. | |
1491 | * bfd-in2.h (bfd_mach_mips32): New constant. | |
1492 | (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to | |
1493 | the latter, renumber it. | |
1494 | * cpu-mips.c (I_mips32): New constant. | |
1495 | (I_mips4K, I_mips32_4k): Rename the former to the latter. | |
1496 | (arch_info_struct): Add bfd_mach_mips32 entry, replace | |
1497 | bfd_mach_mips4K entry with bfd_mach_mips32_4k entry. | |
1498 | * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case. | |
1499 | (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32 | |
1500 | with E_MIPS_MACH_MIPS32_4K. | |
1501 | (_bfd_mips_elf_final_write_processing): Replace | |
1502 | bfd_mach_mips4K with bfd_mach_mips32_4k case, add | |
1503 | bfd_mach_mips32 case. | |
1504 | (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing | |
1505 | comparison with support for MIPS32. | |
1506 | (_bfd_mips_elf_print_private_bfd_data): Print ISA name for | |
1507 | MIPS32. | |
1508 | ||
1509 | * aoutx.h (NAME(aout,machine_type)): Add cases for | |
1510 | bfd_mach_mips5 and bfd_mach_mips64. | |
1511 | * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants. | |
1512 | * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise. | |
1513 | * cpu_mips.c (I_mips5, I_mips64): New definitions. | |
1514 | (arch_info_struct): Add entries for bfd_mach_mips5 and | |
1515 | bfd_mach_mips64. | |
1516 | * elf32-mips.c (elf_mips_isa, elf_mips_mach, | |
1517 | _bfd_mips_elf_print_private_bfd_data): Add cases for | |
1518 | E_MIPS_ARCH_5 and E_MIPS_ARCH_64. | |
1519 | (_bfd_mips_elf_final_write_processing): Add cases for | |
1520 | bfd_mach_mips5 and bfd_mach_mips64. | |
1521 | ||
7898deda | 1522 | * aoutx.h (NAME(aout,machine_type)): Add a |
d952f17a | 1523 | bfd_mach_mips_sb1 case. |
7898deda NC |
1524 | * archures.c (bfd_mach_mips_sb1): New constant. |
1525 | * bfd-in2.h (bfd_mach_mips_sb1): New constant. | |
1526 | * cpu-mips.c (I_sb1): New constant. | |
d952f17a | 1527 | (arch_info_struct): Add entry for bfd_mach_mips_sb1. |
7898deda | 1528 | * elf32-mips.c (elf_mips_mach): Add case for |
d952f17a AM |
1529 | E_MIPS_MACH_SB1. |
1530 | (_bfd_mips_elf_final_write_processing): Add case for | |
1531 | bfd_mach_mips_sb1. | |
1532 | ||
1533 | 2000-12-01 Joel Sherrill <joel@OARcorp.com> | |
ddcfc5fc NC |
1534 | |
1535 | * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets. | |
1536 | (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. | |
1537 | (sparc*-*-rtems*): Switched from a.out to ELF. | |
1538 | ||
8d88c4ca | 1539 | 2000-11-30 Jan Hubicka <jh@suse.cz> |
d952f17a AM |
1540 | |
1541 | * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo | |
1542 | BFD64_BACKENDS_CFILES): Add elf64-x86-64.c | |
1543 | (elf64-x86-64.lo): Add dependencies. | |
1544 | * archures.c (DESCRIPTION): Add bfd_mach_x86_64, | |
1545 | bfd_mach_x86_64_intel_syntax. | |
1546 | * elf.c (prep_headers): Use EM_x86_64 for 64bit output. | |
1547 | * config.bfd (x86_64): Add. | |
1548 | * configure.in: Add support for bfd_elf64_x86_64_vec. | |
1549 | * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add. | |
1550 | (bfd_i386_arch, i8086_ar): Link in. | |
1551 | * elf64-x86-64.c: New file. | |
1552 | * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*. | |
1553 | * targets.c (bfd_elf64_x86_64_vec): Add. | |
1554 | (bfd_target_vect): Add bfd_elf64_x86_64_vec. | |
8d88c4ca | 1555 | |
fbc4fff4 KH |
1556 | 2000-11-30 Kazu Hirata <kazu@hxi.com> |
1557 | ||
1558 | * xcofflink.c: Fix formatting. | |
1559 | ||
e60b52c6 KH |
1560 | 2000-11-28 Kazu Hirata <kazu@hxi.com> |
1561 | ||
1562 | * aoutx.h: Fix formatting. | |
1563 | * bfd-in.h: Likewise. | |
1564 | * bfd-in2.h: Likewise. | |
1565 | * cache.c: Likewise. | |
1566 | * cisco-core.c: Likewise. | |
1567 | * coff64-rs6000.c: Likewise. | |
1568 | * coffcode.h: Likewise. | |
1569 | * coffswap.h: Likewise. | |
1570 | * corefile.c: Likewise. | |
be3ccd9c | 1571 | * elf32-mips.c: Likewise. |
e60b52c6 | 1572 | |
336eced2 KH |
1573 | 2000-11-27 Kazu Hirata <kazu@hxi.com> |
1574 | ||
1575 | * aout-adobe.c: Fix formatting. | |
244148ad KH |
1576 | * coff64-rs6000.c: Likewise. |
1577 | * coffgen.c: Likewise. | |
1578 | * cofflink.c: Likewise. | |
336eced2 | 1579 | |
d71f672e PB |
1580 | 2000-11-27 Philip Blundell <pb@futuretv.com> |
1581 | ||
1582 | * libcoff-in.h (coff_tdata): Add `strings_written' flag. | |
1583 | (obj_coff_strings_written): New accessor macro for above. | |
1584 | * libcoff.h: Regenerate. | |
1585 | * cofflink.c (_bfd_coff_final_link): Say that we wrote the | |
1586 | strings. | |
1587 | * coffcode.h (coff_write_object_contents): No need to write out | |
1588 | the string table if it's already been done. | |
1589 | ||
bc7a577d PB |
1590 | 2000-11-22 Philip Blundell <pb@futuretv.com> |
1591 | ||
d952f17a | 1592 | * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to |
bc7a577d PB |
1593 | weak undefined symbols. |
1594 | ||
077b8428 NC |
1595 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
1596 | ||
1597 | * archures.c (bfd_mach_arm_5TE): Define. | |
1598 | (bfd_mach_arm+XScale): Define. | |
1599 | * bfd-in2.h: Regenerate. | |
1600 | ||
1601 | * coff-arm.c (coff_arm_reloc_type_lookup): Accept | |
1602 | BFD_RELOC_ARM_PCREL_BLX. | |
1603 | ||
1604 | * coffcode.h (coff_set_flags): Set flags for 5t, 5te and | |
1605 | XScale machine numbers. | |
1606 | ||
1607 | * config.bfd (xscale-elf): Add target. | |
1608 | (xscale-coff): Add target. | |
1609 | ||
1610 | * cpu-arm.c: Add xscale machine name. | |
1611 | Add v5t, v5te and XScale machine numbers. | |
1612 | ||
e9e41bd9 KH |
1613 | 2000-11-23 Kazu Hirata <kazu@hxi.com> |
1614 | ||
1615 | * aix386-core.c: Fix formatting. | |
1616 | ||
64bf6ae6 JW |
1617 | 2000-11-22 Jim Wilson <wilson@redhat.com> |
1618 | ||
1619 | * coff-ia64.c (howto_table): Use EMPTY_HOWTO. | |
1620 | (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters. | |
1621 | * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise. | |
1622 | (ins_imms_scaled): Initialize sign_bit at function entry. | |
1623 | (elf64_ia64_operands): Add missing initializers. | |
1624 | * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup, | |
1625 | elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections, | |
1626 | elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name, | |
1627 | elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff, | |
1628 | elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused | |
1629 | parameters. | |
1630 | (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents, | |
1631 | and free_extsyms at function entry. | |
1632 | (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result. | |
1633 | (elfNN_ia64_create_dynamic_sections): Delete unused local h. | |
1634 | (get_got): Delete unused local srel. | |
1635 | (elfNN_ia64_check_relocs): Initialize dynrel_type when declared. | |
1636 | (elfNN_ia64_relocate_section): Delete unused local dynindx. | |
d952f17a | 1637 | |
1abaf976 KH |
1638 | 2000-11-21 Kazu Hirata <kazu@hxi.com> |
1639 | ||
6e301b2b KH |
1640 | * coff-a29k.c: Fix formatting. |
1641 | * coff-h8500.c: Likewise. | |
1642 | * coff-i960.c: Likewise. | |
1643 | * coff-ppc.c: Likewise. | |
1644 | * coff-rs6000.c: Likewise. | |
1645 | * coff-stgo32.c: Likewise. | |
1646 | * coff-tic54x.c: Likewise. | |
1647 | * coff-w65.c: Likewise. | |
1648 | * cpu-h8500.c: Likewise. | |
1649 | * cpu-hppa.c: Likewise. | |
1650 | * cpu-ns32k.c: Likewise. | |
1651 | * ecoff.c: Likewise. | |
1abaf976 KH |
1652 | * ecofflink.c: Likewise. |
1653 | ||
a0fc8ba1 NC |
1654 | 2000-11-21 Nick Clifton <nickc@redhat.com> |
1655 | ||
1656 | * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and | |
1657 | remove possibility of infinite loop. | |
1658 | ||
beb0d161 KH |
1659 | 2000-11-20 Kazu Hirata <kazu@hxi.com> |
1660 | ||
1661 | * aix386-core.c: Fix formatting. | |
1662 | * aout-adobe.c: Likewise. | |
1663 | * aout-arm.c: Likewise. | |
1664 | * aout-encap.c: Likewise. | |
1665 | * aout-ns32k.c: Likewise. | |
1666 | * aout-target.h: Likewise. | |
1667 | * aout-tic30.c: Likewise. | |
1668 | * aoutf1.h: Likewise. | |
1669 | * aoutx.h: Likewise. | |
1670 | * archive.c: Likewise. | |
eb6e10cb KH |
1671 | * bfd-in.h: Likewise. |
1672 | * bfd-in2.h: Likewise. | |
1673 | * bfd.c: Likewise. | |
1674 | * bout.c: Likewise. | |
beb0d161 | 1675 | |
2c2475db JW |
1676 | 2000-11-17 H.J. Lu <hjl@gnu.org> |
1677 | ||
1678 | * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create | |
1679 | pltoff entries for DT_INIT and DT_FINI. | |
1680 | (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries. | |
1681 | (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI | |
1682 | entries. | |
1683 | ||
18b27f17 RH |
1684 | 2000-11-16 Richard Henderson <rth@redhat.com> |
1685 | ||
1686 | * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs. | |
1687 | (allocate_dynrel_entries): Likewise. | |
1688 | (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly. | |
1689 | (set_pltoff_entry): Likewise. | |
1690 | (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB | |
1691 | (elfNN_ia64_reloc_type_lookup): Likewise. | |
1692 | (elfNN_ia64_install_value): Likewise. | |
1693 | (elfNN_ia64_relocate_section): Likewise. | |
1694 | * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove. | |
1695 | (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove. | |
1696 | ||
98591c73 KH |
1697 | 2000-11-16 Kazu Hirata <kazu@hxi.com> |
1698 | ||
71f6b586 KH |
1699 | * cpu-a29k.c: Fix formatting. |
1700 | * cpu-alpha.c: Likewise. | |
1701 | * cpu-arm.c: Likewise. | |
1702 | * cpu-avr.c: Likewise. | |
1703 | * cpu-d10v.c: Likewise. | |
1704 | * cpu-h8500.c: Likewise. | |
1705 | * cpu-hppa.c: Likewise. | |
1706 | * cpu-i370.c: Likewise. | |
1707 | * cpu-i386.c: Likewise. | |
1708 | * cpu-i960.c: Likewise. | |
1709 | * cpu-ia64-opc.c: Likewise. | |
1710 | * cpu-ia64.c: Likewise. | |
1711 | * cpu-m32r.c: Likewise. | |
1712 | * cpu-m68hc11.c: Likewise. | |
1713 | * cpu-m68hc12.c: Likewise. | |
1714 | * cpu-m68k.c: Likewise. | |
1715 | * cpu-m88k.c: Likewise. | |
1716 | * cpu-mips.c: Likewise. | |
1717 | * cpu-ns32k.c: Likewise. | |
1718 | * cpu-pj.c: Likewise. | |
1719 | * cpu-powerpc.c: Likewise. | |
1720 | * cpu-sh.c: Likewise. | |
1721 | * cpu-sparc.c: Likewise. | |
1722 | * cpu-tic54x.c: Likewise. | |
1723 | * cpu-v850.c: Likewise. | |
1724 | * cpu-vax.c: Likewise. | |
1725 | * cpu-w65.c: Likewise. | |
1726 | * cpu-we32k.c: Likewise. | |
1727 | * cpu-z8k.c: Likewise. | |
1728 | * dwarf1.c: Likewise. | |
98591c73 KH |
1729 | * dwarf2.c: Likewise. |
1730 | ||
c5930ee6 KH |
1731 | 2000-11-15 Kazu Hirata <kazu@hxi.com> |
1732 | ||
1733 | * coff-arm.c: Fix formatting. | |
1734 | * coff-ppc.c: Likewise. | |
1735 | * coff-rs6000.c: Likewise. | |
cbfe05c4 KH |
1736 | * coff-sh.c: Likewise. |
1737 | * coff-sparc.c: Likewise. | |
1738 | * coff-tic30.c: Likewise. | |
1739 | * coff-tic54x.c: Likewise. | |
1740 | * coff-tic80.c: Likewise. | |
1741 | * coff-w65.c: Likewise. | |
1742 | * coff-we32k.c: Likewise. | |
1743 | * coff-z8k.c: Likewise. | |
c5930ee6 | 1744 | |
dac544a8 RH |
1745 | 2000-11-15 Richard Henderson <rth@redhat.com> |
1746 | ||
1747 | * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc | |
1748 | section with the same ALLOC|LOAD flags as the source section. | |
1749 | ||
c810873d JJ |
1750 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
1751 | ||
1752 | * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used | |
1753 | by STO_ALPHA constants. | |
1754 | ||
43646c9d KH |
1755 | 2000-11-14 Kazu Hirata <kazu@hxi.com> |
1756 | ||
1757 | * coff-pmac.c: Fix formatting. | |
1758 | * coff-ppc.c: Likewise. | |
1759 | ||
051b8577 L |
1760 | 2000-11-13 H.J. Lu <hjl@gnu.org> |
1761 | ||
1762 | * elflink.h (elf_link_add_object_symbols): Also add indirect | |
1763 | symbols for common symbols with the default version. | |
1764 | ||
90460d97 PB |
1765 | 2000-11-09 Philip Blundell <pb@futuretv.com> |
1766 | ||
1767 | * section.c (STD_SECTION): Set gc_mark flag. | |
1768 | ||
b48499ec KH |
1769 | 2000-11-11 Kazu Hirata <kazu@hxi.com> |
1770 | ||
1771 | * coff-i960.c: Likewise. | |
1772 | * coff-m68k.c: Likewise. | |
1773 | * coff-m88k.c: Likewise. | |
1774 | * coff-mcore.c: Likewise. | |
1775 | * coff-mips.c: Likewise. | |
1776 | ||
c5aeb40f AO |
1777 | 2000-11-11 Bernd Schmidt <bernds@cygnus.co.uk> |
1778 | ||
1779 | * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs. | |
1780 | ||
5fcfd273 KH |
1781 | 2000-11-10 Kazu Hirata <kazu@hxi.com> |
1782 | ||
1783 | * coff-h8300.c: Fix formatting. | |
1784 | * coff-h8500.c: Likewise. | |
1785 | * coff-i386.c: Likewise. | |
1786 | * coff-i860.c: Likewise. | |
1787 | * coff-i960.c: Likewise. | |
1788 | * coff-ia64.c: Likewise. | |
1789 | ||
047066e1 KH |
1790 | 2000-11-09 Kazu Hirata <kazu@hxi.com> |
1791 | ||
1792 | * archive.c: Fix formatting. | |
1793 | * archures.c: Likewise. | |
1794 | ||
9a951beb RH |
1795 | 2000-11-07 Richard Henderson <rth@redhat.com> |
1796 | ||
1797 | * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec. | |
1798 | Set it before bfd_elf64_bfd_final_link call. Use it after the call. | |
1799 | * section.c (bfd_set_section_contents): Call memcpy if | |
1800 | section->contents set and location not equal to contents plus offset. | |
1801 | ||
aebad5fe KH |
1802 | 2000-11-08 Kazu Hirata <kazu@hxi.com> |
1803 | ||
8546af74 KH |
1804 | * bfd-in.h: Fix formatting. |
1805 | * bfd-in2.h: Likewise. | |
1806 | * bfd.c: Likewise. | |
aebad5fe KH |
1807 | * binary.c: Likewise. |
1808 | * bout.c: Likewise. | |
346ceb11 KH |
1809 | * coff-a29k.c: Likewise. |
1810 | * coff-alpha.c: Likewise. | |
1811 | * coff-apollo.c: Likewise. | |
1812 | * coff-aux.c: Likewise. | |
aebad5fe | 1813 | |
0ef5a5bd KH |
1814 | 2000-11-07 Kazu Hirata <kazu@hxi.com> |
1815 | ||
1816 | * aix386-core.c: Fix formatting. | |
1817 | * aoutf1.h: Likewise. | |
1818 | * aoutx.h: Likewise. | |
1819 | * archures.c: Likewise. | |
1820 | * armnetbsd.c: Likewise. | |
1821 | ||
d562d2fb AM |
1822 | 2000-11-07 Alan Modra <alan@linuxcare.com.au> |
1823 | ||
1824 | * coff-h8300.c (special): Adjust reloc address. | |
1825 | ||
bbe66d08 JW |
1826 | 2000-11-06 Steve Ellcey <sje@cup.hp.com> |
1827 | ||
4efc3e05 | 1828 | * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines |
bbe66d08 JW |
1829 | to differentiate elf32 and elf64 on ia64. |
1830 | * bfd-in2.h: Regenerate. | |
1831 | * config.bfd: Add target for "ia64*-*-hpux*". | |
1832 | * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch. | |
1833 | * configure: Regenerate. | |
4efc3e05 | 1834 | * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure. |
bbe66d08 JW |
1835 | * targets.c: Add bfd_target bfd_elf32_ia64_big_vec. |
1836 | ||
1837 | * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects | |
1838 | from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo. | |
1839 | * Makefile.in: Regnerate. | |
4efc3e05 | 1840 | * elf64-ia64.c: Deleted. |
bbe66d08 JW |
1841 | * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c. |
1842 | ||
c4dfa77f KH |
1843 | 2000-11-06 Kazu Hirata <kazu@hxi.com> |
1844 | ||
1845 | * aout-adobe.c: Fix formatting. | |
1846 | * aout-arm.c: Likewise. | |
1847 | * aout-cris.c: Likewise. | |
1848 | * aout-encap.c: Likewise. | |
1849 | * aout-ns32k.c: Likewise. | |
1850 | * aout-target.h: Likewise. | |
1851 | * aout-tic30.c: Likewise. | |
1852 | ||
cf919dfd PB |
1853 | 2000-11-05 Philip Blundell <philb@gnu.org> |
1854 | ||
1855 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit | |
1856 | BFDs containing no sections to be merged, regardless of their flags. | |
1857 | ||
1858 | 2000-11-04 Philip Blundell <philb@gnu.org> | |
1859 | ||
1860 | * elf32-arm.h (elf32_arm_relocate_section): Suppress error message | |
1861 | if a relocation for an undefined symbol also results in an | |
1862 | overflow. | |
1863 | ||
8d88c4ca | 1864 | 2000-11-06 Christopher Faylor <cgf@cygnus.com> |
8848a8d0 CF |
1865 | |
1866 | * config.bfd: Add support for Sun Chorus. | |
1867 | ||
46d59bfa DB |
1868 | 2000-11-05 David O'Brien <obrien@FreeBSD.org> |
1869 | ||
1870 | * configure.in: Recognize alpha-*-freebsd*. | |
1871 | * configure: Regenerate. | |
1872 | ||
d952f17a | 1873 | 2000-11-02 Luciano Gemme <ishitawa@yahoo.com> |
420496c1 NC |
1874 | |
1875 | * srec.c (CHUNK): Rename to DEFAULT_CHUNK. | |
1876 | (Chunk): New global variable set by a parameter in objcopy.c. | |
1877 | (S3Forced): New global variable set by a parameter in | |
1878 | objcopy.c. | |
1879 | (srec_set_section_contents): If S3Forced is true, always generate | |
1880 | S3 records. | |
1881 | (srec_write_section): Use 'Chunk' to limit maximum length of S | |
1882 | records. | |
1883 | ||
59ff2774 NC |
1884 | 2000-11-02 Per Lundberg <plundis@chaosdev.org> |
1885 | ||
1886 | * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos. | |
1887 | * Makefile.in: Regenerate. | |
1888 | * bfd-in2.h: Regenerate. | |
1889 | * po/bfd.pot: Regenerate. | |
d952f17a | 1890 | |
ee43f35e PB |
1891 | 2000-10-31 Philip Blundell <philb@gnu.org> |
1892 | ||
1893 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle | |
1894 | EF_SOFT_FLOAT if it is defined. | |
1895 | ||
1006ba19 PB |
1896 | 2000-10-27 Philip Blundell <philb@gnu.org> |
1897 | ||
1898 | * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse | |
1899 | attempts to mix PIC code with non-PIC, just mark the output as | |
1900 | being position dependent. | |
d952f17a AM |
1901 | (elf32_arm_merge_private_bfd_data): Likewise. Print an error |
1902 | message for EF_SOFT_FLOAT mismatches. Display diagnostics for | |
1006ba19 | 1903 | all mismatches, not just the first one. |
d952f17a | 1904 | |
c4920b97 NC |
1905 | 2000-10-25 Chris Demetriou <cgd@sibyte.com> |
1906 | ||
1907 | * ieee.c (ieee_archive_p): Plug one of many possible | |
1908 | memory leaks in error handling. | |
1909 | ||
19f7b010 JJ |
1910 | 2000-10-20 Jakub Jelinek <jakub@redhat.com> |
1911 | ||
1912 | * elf32-sparc.c (elf32_sparc_merge_private_bfd_data, | |
1913 | elf32_sparc_object_p, elf32_sparc_final_write_processing): | |
1914 | Support v8plusb. | |
1915 | * elf64-sparc.c (sparc64_elf_merge_private_bfd_data, | |
1916 | sparc64_elf_object_p): Support v9b. | |
1917 | * archures.c: Declare v8plusb and v9b machines. | |
1918 | * bfd-in2.h: Ditto. | |
1919 | * cpu-sparc.c: Ditto. | |
1920 | ||
e1e0340b GK |
1921 | 2000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com> |
1922 | ||
ea5fbc67 GK |
1923 | * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location |
1924 | of a GOT reloc. | |
1925 | ||
e1e0340b GK |
1926 | * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro. |
1927 | (SYMBOL_CALLS_LOCAL): New macro. | |
1928 | (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL. | |
1929 | (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL. | |
1930 | (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL. | |
1931 | (ppc_elf_relocate_section): Use flag variable to determine | |
1932 | whether the relocation refers to a local symbol. | |
1933 | Test whether a PLTREL24 reloc will produce a reloc by looking | |
1934 | to see whether a PLT entry was made. | |
1935 | ||
a4b120e1 GK |
1936 | 2000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com> |
1937 | ||
1938 | * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT | |
1939 | entries that could serve as a definition for a weak symbol. | |
1940 | ||
5af5b85b UC |
1941 | 2000-10-13 Ulf Carlsson <ulfc@engr.sgi.com> |
1942 | ||
1943 | From Ralf Baechle <ralf@gnu.org> | |
1944 | ||
1945 | * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument | |
1946 | local_p. Add symbol value only for non-R_MIPS_REL32 relocations | |
1947 | against local symbols. | |
1948 | (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01. | |
d952f17a | 1949 | |
3ef20aaa AM |
1950 | 2000-10-12 Alan Modra <alan@linuxcare.com.au> |
1951 | ||
24376d1b AM |
1952 | * section.c (struct sec): Add kept_section. |
1953 | (struct bfd_comdat_info): Remove sec, we can use above. | |
1954 | (STD_SECTION): Add initializer. | |
1955 | (bfd_make_section_anyway): Init here too. | |
1956 | ||
1957 | * bfd-in2.h: Regenerate. | |
1958 | ||
1959 | * elflink.h (elf_link_add_object_symbols): Remove unnecessary | |
d952f17a | 1960 | zeroing of `flags'. |
24376d1b AM |
1961 | (elf_link_input_bfd): Set all asection->symbol->value's here, and |
1962 | fudge values for discarded link-once section symbols. | |
1963 | ||
3ef20aaa AM |
1964 | * elf64-hppa.c: Include alloca-conf.h |
1965 | ||
c0e219cc AM |
1966 | 2000-10-11 Alan Modra <alan@linuxcare.com.au> |
1967 | ||
d01e2a23 AM |
1968 | * elf.c (swap_out_syms): Revert 2000-10-07 changes. |
1969 | ||
c0e219cc AM |
1970 | * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg. |
1971 | ||
fe268b66 AM |
1972 | 2000-10-10 Alan Modra <alan@linuxcare.com.au> |
1973 | ||
1974 | * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc. | |
1975 | ||
4d7ce4dd AM |
1976 | 2000-10-10 Tom Rix <trix@redhat.com> |
1977 | ||
d952f17a | 1978 | * section.c (bfd_make_section_anyway): Release newsect ptr when |
4d7ce4dd AM |
1979 | newsect->symbol fails to alloc. Use bfd_release instead of free. |
1980 | ||
f3b6f7c3 RH |
1981 | 2000-10-09 Richard Henderson <rth@cygnus.com |
1982 | ||
1983 | * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New. | |
1984 | (elf64_ia64_unwind_entry_compare): New. | |
1985 | (elf64_ia64_final_link): Sort the .IA_64.unwind section. | |
1986 | ||
44852b19 AM |
1987 | 2000-10-07 Alan Modra <alan@linuxcare.com.au> |
1988 | ||
fc8c40a0 AM |
1989 | * elflink.h (size_dynamic_sections): Don't create various tags if |
1990 | .dynstr is excluded from the link. Don't set first dynsym entry | |
1991 | if dynsymcount is zero. | |
1992 | (elf_bfd_final_link): Don't try to swap out dynamic syms if | |
1993 | .dynsym excluded from the link. Don't try to write any dynamic | |
1994 | sections excluded from the link. | |
1995 | ||
44852b19 AM |
1996 | * elf.c (swap_out_syms): Handle global section symbols. |
1997 | ||
3e4554a2 DD |
1998 | 2000-10-05 DJ Delorie <dj@redhat.com> |
1999 | ||
2000 | * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs | |
2001 | * coffcode.h (coff_set_alignment_hook): read extended reloc count | |
2002 | (coff_write_relocs): write extended reloc count | |
2003 | (coff_write_object_contents): account for extended relocs | |
2004 | ||
fa152c49 JW |
2005 | 2000-10-05 Jim Wilson <wilson@cygnus.com> |
2006 | ||
2007 | * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags | |
2008 | field. | |
2009 | * elf.c (_bfd_elf_make_section_from_shdr): Call the | |
2010 | elf_backend_section_flags function. | |
2011 | * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion | |
2012 | code. | |
2013 | (elf64_ia64_section_flags): New function containing flag conversion | |
2014 | code. | |
2015 | (elf_backend_section_flags): Define to elf64_ia64_section_flags. | |
2016 | * elfxx-target.h (elf_backend_section_flags): Define. | |
2017 | (elfNN_bed): Initialize elf_backend_section_flags field. | |
2018 | ||
36605136 AM |
2019 | 2000-10-02 Alan Modra <alan@linuxcare.com.au> |
2020 | ||
2021 | * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to | |
2022 | _bfd_elf32_gc_record_vtable. Correct a comment. | |
2023 | ||
4b6609a0 UC |
2024 | 2000-10-01 Ulf Carlsson <ulfc@engr.sgi.com> |
2025 | ||
2026 | From Ralf Baechle <ralf@gnu.org> | |
2027 | ||
2028 | * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld | |
2029 | produces binaries with got[1] = 0x80000001 to differenciate them | |
2030 | for the dynamic linker from the broken binaries produced by old | |
2031 | versions. | |
36605136 | 2032 | |
f572a39d AM |
2033 | 2000-09-30 Petr Sorfa <petrs@sco.com> |
2034 | ||
2035 | * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t. | |
2036 | (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t. | |
2037 | * configure.in: Add check for pxstatus_t and lwpxstatus_t. | |
2038 | * configure: Regenerate. | |
2039 | ||
4da81684 HPN |
2040 | 2000-09-27 Hans-Peter Nilsson <hp@axis.com> |
2041 | ||
2042 | Define two bfd_targets for absence and presence of leading | |
2043 | underscore on symbols. Make sure to only link same kind. | |
2044 | * elf32-cris.c (cris_elf_object_p, | |
2045 | cris_elf_final_write_processing, cris_elf_print_private_bfd_data, | |
2046 | cris_elf_merge_private_bfd_data): New. | |
2047 | (elf_backend_object_p, elf_backend_final_write_processing, | |
2048 | bfd_elf32_bfd_print_private_bfd_data, | |
2049 | bfd_elf32_bfd_merge_private_bfd_data): Define. | |
2050 | <Target vector definition>: Include elf32-target.h twice with | |
2051 | different macro settings: | |
2052 | (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as | |
2053 | bfd_elf32_us_cris_vec. | |
2054 | (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris". | |
2055 | (elf_symbol_leading_char): First as 0, then '_'. | |
2056 | (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h. | |
2057 | * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs. | |
2058 | * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector. | |
2059 | * configure: Regenerate. | |
2060 | * targets.c: Declare bfd_elf32_us_cris_vec. | |
2061 | * po/bfd.pot: Regenerate. | |
2062 | ||
9a5aca8c AM |
2063 | 2000-09-29 Momchil Velikov <velco@fadata.bg> |
2064 | ||
2065 | * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for | |
2066 | R_ARM_THM_PC22 relocations. | |
2067 | ||
512a2384 AM |
2068 | 2000-09-29 NIIBE Yutaka <gniibe@chroot.org> |
2069 | ||
2070 | * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath. | |
2071 | ||
6c99a5c3 AM |
2072 | 2000-09-29 Momchil Velikov <velco@fadata.bg> |
2073 | ||
2074 | * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if | |
2075 | is has the SEC_HAS_CONTENTS flag set. | |
2076 |