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