* elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
9fc54e19
MK
12001-02-09 Mark Kettenis <kettenis@gnu.org>
2
3 * elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32
4 similar to R_SPARC_32.
5 * elf64-sparc.c (sparc64_elf_howto_table): Likewise.
6
1f655a09
L
72001-02-08 H.J. Lu <hjl@gnu.org>
8
9 * elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32
10 relocation entries for weak definitions when building DSO with
11 -Bsymbolic.
12
ca88208a
RH
132001-02-08 Richard Henderson <rth@redhat.com>
14
15 * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness
16 before visibility. Locally defined protected symbols are not
17 dynamic.
18
4603e845
GK
192001-02-08 Geoffrey Keating <geoffk@redhat.com>
20
21 * config.bfd: Enable coff64 for rs6000-*. Patch from
22 <hzoli@austin.ibm.com>.
23
4ca29a6a
NC
242001-02-07 Mark Elbrecht <snowball3@bigfoot.com>
25
26 * coffgen.c (coff_find_nearest_line): If stabs info is successfully
27 found, do not attempt to find dwarf2 info before returning.
28
7da9d88f
NC
292001-02-07 Jakub Jelinek <jakub@redhat.com>
30
31 * elflink.h (is_global_symbol_definition): Rename to
32 is_global_data_symbol_definition and have it reject function
33 symbols.
34 (elf_link_is_defined_archive_symbol): Use renamed function.
35
7340082d
NC
362001-02-07 Todd Vierling <tv@wasabisystems.com>
37
38 * libbfd-in.h (bfd_target_vector): Change extern array to pointer.
39 * libbfd.h (bfd_target_vector): Likewise.
40 * targets.c (bfd_target_vector): Rename to _bfd_target_vector and
41 make static; create pointer reference named bfd_target_vector.
42 (_bfd_target_vector_entries): Calculate this based on the array
43 typed _bfd_target_vector.
44
2719f880
L
452001-02-06 H.J. Lu <hjl@gnu.org>
46
47 * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and
48 internal symbols are not dynamic.
49 * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
50
175aa013
NC
512001-02-06 Nick Clifton <nickc@redhat.com>
52
53 * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-ia64.c, so
54 that it will not be pulled into the list of files that make up
55 po/POTFILES.in.
56 * Makefile.in: Regenerate.
57 * po/bfd.pot: Regenerate.
58
15e0ecd9
L
592001-02-06 H.J. Lu <hjl@gnu.org>
60
61 * bfd/peicode.h (coff_swap_filehdr_in): Remove the e_magic
62 checking.
63 (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and
64 external_PEI_IMAGE_hdr.
65
27def10f
KH
662001-02-06 Kazu Hirata <kazu@hxi.com>
67
68 * elf-m10200.c: Fix formatting.
69
a0f2e916
NC
702001-02-04 Nick Clifton <nickc@redhat.com>
71
72 * elf32-v850.c (v850_elf_reloc): Do not convert reloc addend to PC
73 rel, it will be handled later on.
74
d96031fb
NC
752001-02-02 Fred Fish <fnf@ninemoons.com>
76
77 * Makefile.in: Fix typo.
78
010ac81f
KH
792001-02-01 Kazu Hirata <kazu@hxi.com>
80
81 * elf-m10300.c: Fix formatting.
82
3fab46d0
AM
832001-01-30 Alan Modra <alan@linuxcare.com.au>
84
85 * elf64-hppa.c (elf64_hppa_elf_get_symbol_type): New function.
86 (elf_backend_get_symbol_type): Define.
d9634ba1
AM
87 (elf64_hppa_object_p): Set architecture and machine from elf
88 header flags.
3fab46d0 89
95404643
RH
902001-01-30 Curtis L. Janssen <cljanss@ca.sandia.gov>
91
92 * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
93 before mdebug.
94
8fb35fed
RH
952001-01-26 Richard Henderson <rth@redhat.com>
96
97 * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false
98 for non-default visibility.
99 * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but
100 delete ugly macro and replace with pretty function.
101
a4f68544
NC
1022001-01-25 Mark Elbrecht <snowball3@bigfoot.com>
103
104 * coff-go32.c: Update copyright.
105 * coff-stgo32.c: Likewise.
106 * coff-go32.c (COFF_LONG_FILENAMES): Define.
107 * coff-stgo32.c (COFF_LONG_FILENAMES): Likewise.
108 * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Remove .bss entry.
109 * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
110
c02e7c3e
KH
1112001-01-25 Kazu Hirata <kazu@hxi.com>
112
113 * bfd-in2.h: Rebuild.
114 * libbfd.h: Likewise.
115
541389e2
L
1162001-01-23 H.J. Lu <hjl@gnu.org>
117
118 * bfd-in2.h: Rebuild.
119
0007625f
L
1202001-01-23 H.J. Lu <hjl@gnu.org>
121
122 * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf)
123 is NULL or PRIV(vms_rec) is outside of the buffer.
124
b653e1b1
KH
1252001-01-23 Kazu Hirata <kazu@hxi.com>
126
127 * coff64-rs6000.c: Fix formatting.
128 * coff-arm.c: Likewise.
129 * coffgen.c: Likewise.
130 * cofflink.c: Likewise.
131 * coff-mcore.c: Likewise.
132 * coff-mips.c: Likewise.
133 * coff-pmac.c: Likewise.
134 * coff-ppc.c: Likewise.
135 * coff-rs6000.c: Likewise.
136 * elf32.c: Likewise.
137 * elf32-fr30.c: Likewise.
138 * elf32-i370.c: Likewise.
139 * elf32-i860.c: Likewise.
140 * elf32-m32r.c: Likewise.
141 * elf32-m68k.c: Likewise.
142 * elf32-mcore.c: Likewise.
143 * elf32-ppc.c: Likewise.
144 * elf32-sh.c: Likewise.
145 * elf32-v850.c: Likewise.
146 * elf64-alpha.c: Likewise.
147 * elf64-sparc.c: Likewise.
148 * elflink.c: Likewise.
149 * elflink.h: Likewise.
150 * elf-m10200.c: Likewise.
151 * elf-m10300.c: Likewise.
152 * elfxx-ia64.c: Likewise.
153
3fde5a36
KH
154 * aoutx.h: Fix formatting.
155 * bfd.c: Likewise.
156 * bfd-in2.h: Likewise.
157 * bfd-in.h: Likewise.
158 * cpu-i386.c: Likewise.
159 * cpu-m68hc11.c: Likewise.
160 * dwarf2.c: Likewise.
161 * elf64-x86-64.c: Likewise.
162 * format.c: Likewise.
163 * freebsd.h: Likewise.
164 * hash.c: Likewise.
165 * hp300hpux.c: Likewise.
166 * hppabsd-core.c: Likewise.
167 * hpux-core.c: Likewise.
168
70256ad8
AJ
1692001-01-22 Bo Thorsen <bo@suse.de>
170
171 * elf64-x86-64.c: Added PIC support for X86-64.
172 (elf64_x86_64_link_hash_newfunc): Function added.
173 (elf64_x86_64_link_hash_table_create): Likewise.
174 (elf64_x86_64_check_relocs): Likewise.
175 (elf64_x86_64_gc_mark_hook): Likewise.
176 (elf64_x86_64_gc_sweep_hook): Likewise.
177 (elf64_x86_64_adjust_dynamic_symbol): Likewise.
178 (elf64_x86_64_size_dynamic_sections): Likewise.
179 (elf64_x86_64_discard_copies): Likewise.
180 (elf64_x86_64_finish_dynamic_symbol): Likewise.
181 (elf64_x86_64_finish_dynamic_sections): Likewise.
182 (elf64_x86_64_relocate_section): Add relocation of PIC sections.
183
ee0bebb8
AJ
1842001-01-21 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
185
186 * Makefile.am (install-data-local): Make use of $(DESTDIR).
187 * Makefile.in: Regenerate.
188
2a38f751
KH
1892001-01-21 Kazu Hirata <kazu@hxi.com>
190
191 * coff-a29k.c: Fix formatting.
192
c8492176
L
1932001-01-19 H.J. Lu <hjl@gnu.org>
194
195 * elf32-i386.c (elf_i386_check_relocs): Report files with bad
196 relocation section names.
197 (elf_i386_relocate_section): Report files with bad relocation
198 section names and return false.
199
a5377ec0
AJ
2002001-01-17 Bo Thorsen <bo@suse.de>
201
202 * targets.c: Alphabetize list of xvecs.
203
b352eebf
AM
2042001-01-14 Alan Modra <alan@linuxcare.com.au>
205
d952f17a
AM
206 * config.bfd: Add linux target variant for elfxx-hppa.
207 * configure.in: Recognize bfd_elf32_hppa_linux_vec and
208 bfd_elf64_hppa_linux_vec.
209 * configure: Regenerate.
210 * elf64-hppa.c: Include elf64-target.h again to support linux
211 target variant.
212 (elf64_hppa_post_process_headers): Set ELFOSABI_LINUX for linux.
213 * elf32-hppa.c: Include elf32-target.h again to support linux
214 target variant.
215 (elf32_hppa_post_process_headers): New function.
216 (elf_backend_post_process_headers): Define.
217 * targets.c (bfd_target_vector): Add bfd_elf64_hppa_linux_vec and
218 bfd_elf32_hppa_linux_vec.
219
c46b7515
AM
220 * elf32-hppa.c (elf32_hppa_link_hash_table): Add text_segment_base,
221 and data_segment_base fields.
222 (elf32_hppa_link_hash_table_create ): Init them.
223 (elf32_hppa_check_relocs): Update comments.
224 (hppa_record_segment_addr): New function.
225 (elf32_hppa_relocate_section): Call it.
226 (final_link_relocate): Handle R_PARISC_SEGREL32.
227 (elf32_hppa_final_link): New function.
228 (bfd_elf32_bfd_final_link): Define to call it.
229 (hppa_unwind_entry_compare): New function.
230 * cache.c (bfd_open_file): Create files in write+read mode.
231
232 * elf-hppa.h (elf_hppa_howto_table): Set bitsize value for
233 SEGREL32 and numerous other relocs. Change duplicate
234 R_PARISC_NONE relocs to R_PARISC_UNIMPLEMENTED.
235
d768008d
AM
236 * opncls.c (bfd_fdopenr): Add parens like the comment says around
237 O_ACCMODE.
238
150ccafb
AM
239 * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Don't create
240 .plt entries for DT_INIT and DT_FINI.
241 (elf32_hppa_finish_dynamic_sections): Remove special handling of
242 DT_INIT and DT_FINI.
243
b352eebf
AM
244 * elf64-hppa.c (elf64_hppa_finish_dynamic_symbol): Use 16-bit
245 offsets for stub .plt access if wide mode. Check offset in range.
246
b3b9a062
NC
2472001-01-13 Nick Clifton <nickc@redhat.com>
248
b7ed8fad
NC
249 * elf32-fr30.c (fr30_elf_howto_table): Remove spurious blank
250 line.
251
b3b9a062
NC
252 * coffcode.h (coff_canonicalize_reloc): Remove spurious blank
253 line.
254
6e0b89ee
AM
2552001-01-12 Alan Modra <alan@linuxcare.com.au>
256
257 * configure.in ([bfd_elf64_x86_64_vec]): Set target64.
258 * configure: Regenerate.
259
0d2bcfaf
NC
2602001-01-11 Peter Targett <peter.targett@arccores.com>
261
262 * bfd-in2.h (bfd_architecture): Add bfd_mach_arc_5,
263 bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8 for ARC variants.
264 * cpu-arc.c (arch_info_struct): Add entries for variants.
265 (bfd_arc_arch) Set default to bfd_mach_arc_5.
266 (arc_get_mach) Don't assume machine names prefixed arc- before
267 testing.
268 * elf32-arc.c (arc_elf_object_p): Set machine number based on new
269 selections.
270 (arc_elf_final_write_processing) Likewise.
271 (ELF_MACHINE_CODE) Use EM_ARC.
272
c31c1f70
NC
2732001-01-10 Nick Clifton <nickc@redhat.com>
274
2758140b 275 * coff-arm.c (LOCAL_LABEL_PREFIX): Change definition to "".
c31c1f70 276
5ad083e3
PB
2772001-01-07 Philip Blundell <philb@gnu.org>
278
279 * README: Replace `bug-gnu-utils@gnu.org' with
280 `bug-binutils@gnu.org'.
281
7eae7d22
KH
2822001-01-04 Kazu Hirata <kazu@hxi.com>
283
284 * som.c: Fix formatting.
285
509945ae
KH
2862001-01-03 Kazu Hirata <kazu@hxi.com>
287
3e932841
KH
288 * ecoffswap.h: Fix formatting.
289 * elf-bfd.h: Likewise.
290 * elfarm-nabi.c: Likewise.
291 * elfarm-oabi.c: Likewise.
292 * elfcode.h: Likewise.
293 * elfcore.h: Likewise.
294 * elflink.c: Likewise.
295 * elflink.h: Likewise.
296 * elfxx-ia64.c: Likewise.
297 * elfxx-target.h: Likewise.
298 * libbfd.c: Likewise
509945ae
KH
299 * linker.c: Likewise.
300 * lynx-core.c: Likewise.
301
892339ee
KH
3022001-01-02 Kazu Hirata <kazu@hxi.com>
303
304 * pc532-mach.c: Fix formatting.
305 * pe-arm.c: Likewise.
306 * pe-i386.c: Likewise.
307 * pe-mips.c: Likewise.
308 * pe-ppc.c: Likewise.
309 * pe-sh.c: Likewise.
310 * pei-mips.c: Likewise.
311 * pei-sh.c: Likewise.
ee91ed79 312 * peicode.h: Likewise.
892339ee
KH
313 * ppcboot.c: Likewise.
314 * ptrace-core.c: Likewise.
315
3d855632
KH
3162001-01-01 Kazu Hirata <kazu@hxi.com>
317
318 * reloc.c: Fix formatting.
319 * riscix.c: Likewise.
320 * rs6000-core.c: Likewise.
321 * xcoff-target.h: Likewise.
322
a77a9fef
HPN
3232000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
324
325 * elfcode.h (elf_object_p): Also restore the bfd mach field on
326 error, by calling bfd_default_set_arch_mach with incoming
327 values.
328
558e161f
KH
3292000-12-26 Kazu Hirata <kazu@hxi.com>
330
331 * vaxnetbsd.c: Fix formatting.
332 * versados.c: Likewise.
333 * vms-gsd.c: Likewise.
334 * vms-hdr.c: Likewise.
335 * vms-misc.c: Likewise.
336
3c579812
AO
3372000-12-25 Alexandre Oliva <aoliva@redhat.com>
338
339 * archive.c (coff_write_armap): Don't write more than symbol_count
340 `archive_member_file_ptr's.
341
672579e9
KH
3422000-12-25 Kazu Hirata <kazu@hxi.com>
343
344 * vms-tir.c: Fix formatting.
345
55f2d5ed
KH
3462000-12-23 Kazu Hirata <kazu@hxi.com>
347
348 * vms.c: Fix formatting.
349 * vms.h: Likewise.
350
23ccc829
NC
3512000-12-21 Santeri Paavolainen <santtu@ssh.com>
352
353 * vms-hdr.c: Include alloca.h if HAVE_ALLOCA_H is defined.
354
355 * peicode.h (pe_ILF_object_p): Add const to import of TARGET_LITTLE_SYM.
356
357 * elf32-m32r.c (m32r_elf_generic_reloc): Add cast to avoid (void *)
358 arithmetic.
359
360 * elf32-fr30.c: Add casts to avoid (void *) arithmetic.
361
362 * coffcode.h (styp_to_sec_flags): Add empty statement after label.
363
8c603c85
NC
3642000-12-21 Richard Sandiford <rsandifo@redhat.com>
365
366 * libbfd.c (bfd_get_bits): Added
367 (bfd_put_bits): Likewise
368 * bfd-in.h: Declared the above.
369 * bfd-in2.h: Regenerated.
370
5bff4f56
KH
3712000-12-20 Kazu Hirata <kazu@hxi.com>
372
373 * targets.c: Fix formatting.
374 * tekhex.c: Likewise.
375 * trad-core.c: Likewise.
376
7b82c249
KH
3772000-12-19 Kazu Hirata <kazu@hxi.com>
378
379 * sco5-core.c: Fix formatting.
380 * section.c: Likewise.
381 * sparclinux.c: Likewise.
382 * sparclynx.c: Likewise.
383 * sparcnetbsd.c: Likewise.
384 * srec.c: Likewise.
385 * stabs.c: Likewise.
386 * stab-syms.c: Likewise.
387 * sunos.c: Likewise.
388 * syms.c: Likewise.
389 * sysdep.h: Likewise.
390
f78c5281
NC
3912000-12-18 Nick Clifton <nickc@redhat.com>
392
393 * coff-arm.c (EXTRA_S_FLAGS): Only define if not already
394 defined.
395 * epoc-pe-arm.c (EXTRA_S_FLAGS): Define.
396 * epoc-pei-arm.c (EXTRA_S_FLAGS): Define.
397
02b89dce
NC
3982000-12-18 Nick Clifton <nickc@redhat.com>
399
400 * vms-misc.c (_bfd_vms_get_record): Add default case to
401 file_format switch.
402
d20966a7
NC
4032000-12-15 Miloslav Trmac <mitr@volny.cz>
404
405 * elfcore.h (elf_core_file_p): Move to the start of the program
406 headers before attempting to read them.
407
6fa957a9
KH
4082000-12-14 Kazu Hirata <kazu@hxi.com>
409
410 * peigen.c: Fix formatting.
411 * som.c: Likewise.
412 * som.h: Likewise.
413
9602af51
KH
4142000-12-13 Kazu Hirata <kazu@hxi.com>
415
416 * peigen.c: Fix formatting.
417
514829c3
JW
4182000-12-12 Jim Wilson <wilson@redhat.com>
419
420 * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
421
3a71aec8
NC
4222000-12-08 Mark Salter <msalter@redhat.com>
423
424 * binary.c (binary_set_section_contents): Ignore sections
425 with zero size.
426
1518639e
KH
4272000-12-12 Kazu Hirata <kazu@hxi.com>
428
429 * m68klinux.c: Fix formatting.
430 * m68knetbsd.c: Likewise.
431 * mipsbsd.c: Likewise.
432 * netbsd-core.c: Likewise.
433 * netbsd.h: Likewise.
434 * newsos3.c: Likewise.
435 * nlm32-alpha.c: Likewise.
436 * nlm32-i386.c: Likewise.
437 * nlm32-ppc.c: Likewise.
438 * nlm32-sparc.c: Likewise.
439 * nlmcode.h: Likewise.
440 * nlmswap.h: Likewise.
441 * nlm-target.h: Likewise.
442 * ns32knetbsd.c: Likewise.
443
b79e8c78
NC
4442000-12-10 Fred Fish <fnf@be.com>
445
d952f17a
AM
446 * elflink.h (elf_link_output_extsym): Don't complain about undefined
447 symbols in shared objects if allow_shlib_undefined is true.
b79e8c78 448
38b1a46c
NC
4492000-12-12 Nick Clifton <nickc@redhat.com>
450
451 * cpu-sh.c: Fix formattng.
452 * elf.c: Fix formattng.
453 * elf32-mips.c: Fix formattng.
454 * elf32-sh.c: Fix formattng.
455 * elf64-alpha.c: Fix formattng.
456
857ec808
NC
4572000-12-09 Nick Clifton <nickc@redhat.com>
458
459 * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Pass
460 dwarf2_find_line_info as last parameter to invocation of
461 _bfd_dwarf2_find_nearest_line.
462 * elf32-arm.h (elf32_arm_find_nearest_line): Pass
463 dwarf2_find_line_info as last parameter to invocation of
464 _bfd_dwarf2_find_nearest_line.
465
51db3708
NC
4662000-12-08 Mark Elbrecht <snowball3@bigfoot.com>
467
468 * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here...
857ec808
NC
469 (BFD_LIBS): ...to here.
470 (BFD32_BACKENDS_CFILES): Move dwarf2.c from here...
471 (BFD_LIBS_CFILES): ...to here.
51db3708
NC
472 * Makefile.in: Regenerate.
473 * configure.in: Remove dwarf.lo from the elf shell variable.
474 * configure: Regenerate.
475 * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info.
476 * libcoff.h: Regenerate.
d952f17a 477 * coffgen.c (coff_find_nearest_line): Call
857ec808 478 _bfd_dwarf2_find_nearest_line.
51db3708 479 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update
857ec808
NC
480 accordingly.
481 (read_abbrevs): Likewise
482 (decode_line_info): Likewise.
483 (parse_comp_unit): Likewise.
484 (comp_unit_find_nearest_line): Likewise.
51db3708
NC
485 * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype.
486 * libbfd.h: Regenerate.
487 * elf.c (_bfd_elf_find_nearest_line): Update call.
488 * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR.
489 * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH.
490 * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros.
857ec808
NC
491 (sec_to_styp_flags): Use them. Handle DWARF2 sections.
492 (styp_to_sec_flags): Handle DWARF2 sections.
493 * elf32-arm.h (elf32_arm_find_nearest_line): Add parameter to call
494 to _bfd_find_nearest_line.
495 * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to
496 call to _bfd_find_nearest_line.
d952f17a 497
435b1e90
KH
4982000-12-08 Kazu Hirata <kazu@hxi.com>
499
500 * coffgen.c: Fix formatting.
fe8bc63d 501 * elf-m10300.c: Likewise.
435b1e90
KH
502 * elf32-i386.c: Likewise.
503 * elf32-i960.c: Likewise.
504 * elf32-m68k.c: Likewise.
505 * elf32-mcore.c: Likewise.
506 * elf32-ppc.c: Likewise.
507 * elf32-sh.c: Likewise.
508 * elf32-sparc.c: Likewise.
509 * elf32-v850.c: Likewise.
fe8bc63d
KH
510 * elf64-alpha.c: Likewise.
511 * elf64-hppa.c: Likewise.
512 * elf64-mips.c: Likewise.
435b1e90 513 * elf64-sparc.c: Likewise.
435b1e90 514
8da6118f
KH
5152000-12-07 Kazu Hirata <kazu@hxi.com>
516
517 * elf32-ppc.c: Fix formatting.
518 * elf64-x86-64.c: Likewise.
519
a9922e52
UC
5202000-12-06 Ulf Carlsson <ulfc@engr.sgi.com>
521
522 From Ralf Baechle <ralf@gnu.org>
523
524 * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit
525 BFDs containing no sections or empty .text, .data or .bss sections
526 to be merged, regardless of their flags.
527
c3668558
KH
5282000-12-06 Kazu Hirata <kazu@hxi.com>
529
530 * elf32-m32r.c: Fix formatting.
531 * elf32-m68hc11.c: Likewise.
532 * elf32-m68hc12.c: Likewise.
533 * elf32-m68k.c: Likewise.
534 * elf32-mcore.c: Likewise.
535 * elf32-pj.c: Likewise.
536 * elf32-ppc.c: Likewise.
537
6609fa74
KH
5382000-12-05 Kazu Hirata <kazu@hxi.com>
539
540 * elf32-fr30.c: Fix formatting.
541 * elf32-hppa.c: Likewise.
542 * elf32-i370.c: Likewise.
543 * elf32-i386.c: Likewise.
544 * elf32-i860.c: Likewise.
545 * elf32-i960.c: Likewise.
546
a7c10850
KH
5472000-12-03 Kazu Hirata <kazu@hxi.com>
548
549 * elf32-arm.h: Fix formatting.
550 * elf32-avr.c: Likewise.
551 * elf32-cris.c: Likewise.
552 * elf32-d10v.c: Likewise.
553 * elf32-d30v.c: Likewise.
554 * elf-hppa.h: Likewise.
555 * elf-m10200.c: Likewise.
556 * elf-m10300.c: Likewise.
557
e7af610e
NC
5582000-12-01 Chris Demetriou <cgd@sibyte.com>
559
d952f17a
AM
560 * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and
561 bfd_mach_mips32_4k. Update FIXME comment.
562 * archures.c (bfd_mach_mips32): New constant.
563 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
564 the latter, renumber it.
565 * bfd-in2.h (bfd_mach_mips32): New constant.
566 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
567 the latter, renumber it.
568 * cpu-mips.c (I_mips32): New constant.
569 (I_mips4K, I_mips32_4k): Rename the former to the latter.
570 (arch_info_struct): Add bfd_mach_mips32 entry, replace
571 bfd_mach_mips4K entry with bfd_mach_mips32_4k entry.
572 * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case.
573 (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32
574 with E_MIPS_MACH_MIPS32_4K.
575 (_bfd_mips_elf_final_write_processing): Replace
576 bfd_mach_mips4K with bfd_mach_mips32_4k case, add
577 bfd_mach_mips32 case.
578 (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing
579 comparison with support for MIPS32.
580 (_bfd_mips_elf_print_private_bfd_data): Print ISA name for
581 MIPS32.
582
583 * aoutx.h (NAME(aout,machine_type)): Add cases for
584 bfd_mach_mips5 and bfd_mach_mips64.
585 * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants.
586 * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise.
587 * cpu_mips.c (I_mips5, I_mips64): New definitions.
588 (arch_info_struct): Add entries for bfd_mach_mips5 and
589 bfd_mach_mips64.
590 * elf32-mips.c (elf_mips_isa, elf_mips_mach,
591 _bfd_mips_elf_print_private_bfd_data): Add cases for
592 E_MIPS_ARCH_5 and E_MIPS_ARCH_64.
593 (_bfd_mips_elf_final_write_processing): Add cases for
594 bfd_mach_mips5 and bfd_mach_mips64.
595
596 * bfd/aoutx.h (NAME(aout,machine_type)): Add a
597 bfd_mach_mips_sb1 case.
598 * bfd/archures.c (bfd_mach_mips_sb1): New constant.
599 * bfd/bfd-in2.h (bfd_mach_mips_sb1): New constant.
600 * bfd/cpu-mips.c (I_sb1): New constant.
601 (arch_info_struct): Add entry for bfd_mach_mips_sb1.
602 * bfd/elf32-mips.c (elf_mips_mach): Add case for
603 E_MIPS_MACH_SB1.
604 (_bfd_mips_elf_final_write_processing): Add case for
605 bfd_mach_mips_sb1.
606
6072000-12-01 Joel Sherrill <joel@OARcorp.com>
ddcfc5fc
NC
608
609 * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets.
610 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
611 (sparc*-*-rtems*): Switched from a.out to ELF.
612
8d88c4ca 6132000-11-30 Jan Hubicka <jh@suse.cz>
d952f17a
AM
614
615 * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo
616 BFD64_BACKENDS_CFILES): Add elf64-x86-64.c
617 (elf64-x86-64.lo): Add dependencies.
618 * archures.c (DESCRIPTION): Add bfd_mach_x86_64,
619 bfd_mach_x86_64_intel_syntax.
620 * elf.c (prep_headers): Use EM_x86_64 for 64bit output.
621 * config.bfd (x86_64): Add.
622 * configure.in: Add support for bfd_elf64_x86_64_vec.
623 * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add.
624 (bfd_i386_arch, i8086_ar): Link in.
625 * elf64-x86-64.c: New file.
626 * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*.
627 * targets.c (bfd_elf64_x86_64_vec): Add.
628 (bfd_target_vect): Add bfd_elf64_x86_64_vec.
8d88c4ca 629
fbc4fff4
KH
6302000-11-30 Kazu Hirata <kazu@hxi.com>
631
632 * xcofflink.c: Fix formatting.
633
e60b52c6
KH
6342000-11-28 Kazu Hirata <kazu@hxi.com>
635
636 * aoutx.h: Fix formatting.
637 * bfd-in.h: Likewise.
638 * bfd-in2.h: Likewise.
639 * cache.c: Likewise.
640 * cisco-core.c: Likewise.
641 * coff64-rs6000.c: Likewise.
642 * coffcode.h: Likewise.
643 * coffswap.h: Likewise.
644 * corefile.c: Likewise.
be3ccd9c 645 * elf32-mips.c: Likewise.
e60b52c6 646
336eced2
KH
6472000-11-27 Kazu Hirata <kazu@hxi.com>
648
649 * aout-adobe.c: Fix formatting.
244148ad
KH
650 * coff64-rs6000.c: Likewise.
651 * coffgen.c: Likewise.
652 * cofflink.c: Likewise.
336eced2 653
d71f672e
PB
6542000-11-27 Philip Blundell <pb@futuretv.com>
655
656 * libcoff-in.h (coff_tdata): Add `strings_written' flag.
657 (obj_coff_strings_written): New accessor macro for above.
658 * libcoff.h: Regenerate.
659 * cofflink.c (_bfd_coff_final_link): Say that we wrote the
660 strings.
661 * coffcode.h (coff_write_object_contents): No need to write out
662 the string table if it's already been done.
663
bc7a577d
PB
6642000-11-22 Philip Blundell <pb@futuretv.com>
665
d952f17a 666 * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
bc7a577d
PB
667 weak undefined symbols.
668
077b8428
NC
6692000-11-24 Nick Clifton <nickc@redhat.com>
670
671 * archures.c (bfd_mach_arm_5TE): Define.
672 (bfd_mach_arm+XScale): Define.
673 * bfd-in2.h: Regenerate.
674
675 * coff-arm.c (coff_arm_reloc_type_lookup): Accept
676 BFD_RELOC_ARM_PCREL_BLX.
677
678 * coffcode.h (coff_set_flags): Set flags for 5t, 5te and
679 XScale machine numbers.
680
681 * config.bfd (xscale-elf): Add target.
682 (xscale-coff): Add target.
683
684 * cpu-arm.c: Add xscale machine name.
685 Add v5t, v5te and XScale machine numbers.
686
e9e41bd9
KH
6872000-11-23 Kazu Hirata <kazu@hxi.com>
688
689 * aix386-core.c: Fix formatting.
690
64bf6ae6
JW
6912000-11-22 Jim Wilson <wilson@redhat.com>
692
693 * coff-ia64.c (howto_table): Use EMPTY_HOWTO.
694 (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
695 * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
696 (ins_imms_scaled): Initialize sign_bit at function entry.
697 (elf64_ia64_operands): Add missing initializers.
698 * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
699 elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
700 elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
701 elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
702 elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
703 parameters.
704 (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
705 and free_extsyms at function entry.
706 (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
707 (elfNN_ia64_create_dynamic_sections): Delete unused local h.
708 (get_got): Delete unused local srel.
709 (elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
710 (elfNN_ia64_relocate_section): Delete unused local dynindx.
d952f17a 711
1abaf976
KH
7122000-11-21 Kazu Hirata <kazu@hxi.com>
713
6e301b2b
KH
714 * coff-a29k.c: Fix formatting.
715 * coff-h8500.c: Likewise.
716 * coff-i960.c: Likewise.
717 * coff-ppc.c: Likewise.
718 * coff-rs6000.c: Likewise.
719 * coff-stgo32.c: Likewise.
720 * coff-tic54x.c: Likewise.
721 * coff-w65.c: Likewise.
722 * cpu-h8500.c: Likewise.
723 * cpu-hppa.c: Likewise.
724 * cpu-ns32k.c: Likewise.
725 * ecoff.c: Likewise.
1abaf976
KH
726 * ecofflink.c: Likewise.
727
a0fc8ba1
NC
7282000-11-21 Nick Clifton <nickc@redhat.com>
729
730 * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and
731 remove possibility of infinite loop.
732
beb0d161
KH
7332000-11-20 Kazu Hirata <kazu@hxi.com>
734
735 * aix386-core.c: Fix formatting.
736 * aout-adobe.c: Likewise.
737 * aout-arm.c: Likewise.
738 * aout-encap.c: Likewise.
739 * aout-ns32k.c: Likewise.
740 * aout-target.h: Likewise.
741 * aout-tic30.c: Likewise.
742 * aoutf1.h: Likewise.
743 * aoutx.h: Likewise.
744 * archive.c: Likewise.
eb6e10cb
KH
745 * bfd-in.h: Likewise.
746 * bfd-in2.h: Likewise.
747 * bfd.c: Likewise.
748 * bout.c: Likewise.
beb0d161 749
2c2475db
JW
7502000-11-17 H.J. Lu <hjl@gnu.org>
751
752 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
753 pltoff entries for DT_INIT and DT_FINI.
754 (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
755 (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
756 entries.
757
18b27f17
RH
7582000-11-16 Richard Henderson <rth@redhat.com>
759
760 * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
761 (allocate_dynrel_entries): Likewise.
762 (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
763 (set_pltoff_entry): Likewise.
764 (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
765 (elfNN_ia64_reloc_type_lookup): Likewise.
766 (elfNN_ia64_install_value): Likewise.
767 (elfNN_ia64_relocate_section): Likewise.
768 * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
769 (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
770
98591c73
KH
7712000-11-16 Kazu Hirata <kazu@hxi.com>
772
71f6b586
KH
773 * cpu-a29k.c: Fix formatting.
774 * cpu-alpha.c: Likewise.
775 * cpu-arm.c: Likewise.
776 * cpu-avr.c: Likewise.
777 * cpu-d10v.c: Likewise.
778 * cpu-h8500.c: Likewise.
779 * cpu-hppa.c: Likewise.
780 * cpu-i370.c: Likewise.
781 * cpu-i386.c: Likewise.
782 * cpu-i960.c: Likewise.
783 * cpu-ia64-opc.c: Likewise.
784 * cpu-ia64.c: Likewise.
785 * cpu-m32r.c: Likewise.
786 * cpu-m68hc11.c: Likewise.
787 * cpu-m68hc12.c: Likewise.
788 * cpu-m68k.c: Likewise.
789 * cpu-m88k.c: Likewise.
790 * cpu-mips.c: Likewise.
791 * cpu-ns32k.c: Likewise.
792 * cpu-pj.c: Likewise.
793 * cpu-powerpc.c: Likewise.
794 * cpu-sh.c: Likewise.
795 * cpu-sparc.c: Likewise.
796 * cpu-tic54x.c: Likewise.
797 * cpu-v850.c: Likewise.
798 * cpu-vax.c: Likewise.
799 * cpu-w65.c: Likewise.
800 * cpu-we32k.c: Likewise.
801 * cpu-z8k.c: Likewise.
802 * dwarf1.c: Likewise.
98591c73
KH
803 * dwarf2.c: Likewise.
804
c5930ee6
KH
8052000-11-15 Kazu Hirata <kazu@hxi.com>
806
807 * coff-arm.c: Fix formatting.
808 * coff-ppc.c: Likewise.
809 * coff-rs6000.c: Likewise.
cbfe05c4
KH
810 * coff-sh.c: Likewise.
811 * coff-sparc.c: Likewise.
812 * coff-tic30.c: Likewise.
813 * coff-tic54x.c: Likewise.
814 * coff-tic80.c: Likewise.
815 * coff-w65.c: Likewise.
816 * coff-we32k.c: Likewise.
817 * coff-z8k.c: Likewise.
c5930ee6 818
dac544a8
RH
8192000-11-15 Richard Henderson <rth@redhat.com>
820
821 * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
822 section with the same ALLOC|LOAD flags as the source section.
823
c810873d
JJ
8242000-11-14 Jakub Jelinek <jakub@redhat.com>
825
826 * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
827 by STO_ALPHA constants.
828
43646c9d
KH
8292000-11-14 Kazu Hirata <kazu@hxi.com>
830
831 * coff-pmac.c: Fix formatting.
832 * coff-ppc.c: Likewise.
833
051b8577
L
8342000-11-13 H.J. Lu <hjl@gnu.org>
835
836 * elflink.h (elf_link_add_object_symbols): Also add indirect
837 symbols for common symbols with the default version.
838
90460d97
PB
8392000-11-09 Philip Blundell <pb@futuretv.com>
840
841 * section.c (STD_SECTION): Set gc_mark flag.
842
b48499ec
KH
8432000-11-11 Kazu Hirata <kazu@hxi.com>
844
845 * coff-i960.c: Likewise.
846 * coff-m68k.c: Likewise.
847 * coff-m88k.c: Likewise.
848 * coff-mcore.c: Likewise.
849 * coff-mips.c: Likewise.
850
c5aeb40f
AO
8512000-11-11 Bernd Schmidt <bernds@cygnus.co.uk>
852
853 * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
854
5fcfd273
KH
8552000-11-10 Kazu Hirata <kazu@hxi.com>
856
857 * coff-h8300.c: Fix formatting.
858 * coff-h8500.c: Likewise.
859 * coff-i386.c: Likewise.
860 * coff-i860.c: Likewise.
861 * coff-i960.c: Likewise.
862 * coff-ia64.c: Likewise.
863
047066e1
KH
8642000-11-09 Kazu Hirata <kazu@hxi.com>
865
866 * archive.c: Fix formatting.
867 * archures.c: Likewise.
868
9a951beb
RH
8692000-11-07 Richard Henderson <rth@redhat.com>
870
871 * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
872 Set it before bfd_elf64_bfd_final_link call. Use it after the call.
873 * section.c (bfd_set_section_contents): Call memcpy if
874 section->contents set and location not equal to contents plus offset.
875
aebad5fe
KH
8762000-11-08 Kazu Hirata <kazu@hxi.com>
877
8546af74
KH
878 * bfd-in.h: Fix formatting.
879 * bfd-in2.h: Likewise.
880 * bfd.c: Likewise.
aebad5fe
KH
881 * binary.c: Likewise.
882 * bout.c: Likewise.
346ceb11
KH
883 * coff-a29k.c: Likewise.
884 * coff-alpha.c: Likewise.
885 * coff-apollo.c: Likewise.
886 * coff-aux.c: Likewise.
aebad5fe 887
0ef5a5bd
KH
8882000-11-07 Kazu Hirata <kazu@hxi.com>
889
890 * aix386-core.c: Fix formatting.
891 * aoutf1.h: Likewise.
892 * aoutx.h: Likewise.
893 * archures.c: Likewise.
894 * armnetbsd.c: Likewise.
895
d562d2fb
AM
8962000-11-07 Alan Modra <alan@linuxcare.com.au>
897
898 * coff-h8300.c (special): Adjust reloc address.
899
bbe66d08
JW
9002000-11-06 Steve Ellcey <sje@cup.hp.com>
901
4efc3e05 902 * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
bbe66d08
JW
903 to differentiate elf32 and elf64 on ia64.
904 * bfd-in2.h: Regenerate.
905 * config.bfd: Add target for "ia64*-*-hpux*".
906 * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
907 * configure: Regenerate.
4efc3e05 908 * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
bbe66d08
JW
909 * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
910
911 * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
912 from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
913 * Makefile.in: Regnerate.
4efc3e05 914 * elf64-ia64.c: Deleted.
bbe66d08
JW
915 * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
916
c4dfa77f
KH
9172000-11-06 Kazu Hirata <kazu@hxi.com>
918
919 * aout-adobe.c: Fix formatting.
920 * aout-arm.c: Likewise.
921 * aout-cris.c: Likewise.
922 * aout-encap.c: Likewise.
923 * aout-ns32k.c: Likewise.
924 * aout-target.h: Likewise.
925 * aout-tic30.c: Likewise.
926
cf919dfd
PB
9272000-11-05 Philip Blundell <philb@gnu.org>
928
929 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
930 BFDs containing no sections to be merged, regardless of their flags.
931
9322000-11-04 Philip Blundell <philb@gnu.org>
933
934 * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
935 if a relocation for an undefined symbol also results in an
936 overflow.
937
8d88c4ca 9382000-11-06 Christopher Faylor <cgf@cygnus.com>
8848a8d0
CF
939
940 * config.bfd: Add support for Sun Chorus.
941
46d59bfa
DB
9422000-11-05 David O'Brien <obrien@FreeBSD.org>
943
944 * configure.in: Recognize alpha-*-freebsd*.
945 * configure: Regenerate.
946
d952f17a 9472000-11-02 Luciano Gemme <ishitawa@yahoo.com>
420496c1
NC
948
949 * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
950 (Chunk): New global variable set by a parameter in objcopy.c.
951 (S3Forced): New global variable set by a parameter in
952 objcopy.c.
953 (srec_set_section_contents): If S3Forced is true, always generate
954 S3 records.
955 (srec_write_section): Use 'Chunk' to limit maximum length of S
956 records.
957
59ff2774
NC
9582000-11-02 Per Lundberg <plundis@chaosdev.org>
959
960 * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
961 * Makefile.in: Regenerate.
962 * bfd-in2.h: Regenerate.
963 * po/bfd.pot: Regenerate.
d952f17a 964
ee43f35e
PB
9652000-10-31 Philip Blundell <philb@gnu.org>
966
967 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
968 EF_SOFT_FLOAT if it is defined.
969
1006ba19
PB
9702000-10-27 Philip Blundell <philb@gnu.org>
971
972 * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
973 attempts to mix PIC code with non-PIC, just mark the output as
974 being position dependent.
d952f17a
AM
975 (elf32_arm_merge_private_bfd_data): Likewise. Print an error
976 message for EF_SOFT_FLOAT mismatches. Display diagnostics for
1006ba19 977 all mismatches, not just the first one.
d952f17a 978
c4920b97
NC
9792000-10-25 Chris Demetriou <cgd@sibyte.com>
980
981 * ieee.c (ieee_archive_p): Plug one of many possible
982 memory leaks in error handling.
983
19f7b010
JJ
9842000-10-20 Jakub Jelinek <jakub@redhat.com>
985
986 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
987 elf32_sparc_object_p, elf32_sparc_final_write_processing):
988 Support v8plusb.
989 * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
990 sparc64_elf_object_p): Support v9b.
991 * archures.c: Declare v8plusb and v9b machines.
992 * bfd-in2.h: Ditto.
993 * cpu-sparc.c: Ditto.
994
e1e0340b
GK
9952000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
996
ea5fbc67
GK
997 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
998 of a GOT reloc.
999
e1e0340b
GK
1000 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
1001 (SYMBOL_CALLS_LOCAL): New macro.
1002 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
1003 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
1004 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
1005 (ppc_elf_relocate_section): Use flag variable to determine
1006 whether the relocation refers to a local symbol.
1007 Test whether a PLTREL24 reloc will produce a reloc by looking
1008 to see whether a PLT entry was made.
1009
a4b120e1
GK
10102000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
1011
1012 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
1013 entries that could serve as a definition for a weak symbol.
1014
5af5b85b
UC
10152000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
1016
1017 From Ralf Baechle <ralf@gnu.org>
1018
1019 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
1020 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
1021 against local symbols.
1022 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
d952f17a 1023
3ef20aaa
AM
10242000-10-12 Alan Modra <alan@linuxcare.com.au>
1025
24376d1b
AM
1026 * section.c (struct sec): Add kept_section.
1027 (struct bfd_comdat_info): Remove sec, we can use above.
1028 (STD_SECTION): Add initializer.
1029 (bfd_make_section_anyway): Init here too.
1030
1031 * bfd-in2.h: Regenerate.
1032
1033 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
d952f17a 1034 zeroing of `flags'.
24376d1b
AM
1035 (elf_link_input_bfd): Set all asection->symbol->value's here, and
1036 fudge values for discarded link-once section symbols.
1037
3ef20aaa
AM
1038 * elf64-hppa.c: Include alloca-conf.h
1039
c0e219cc
AM
10402000-10-11 Alan Modra <alan@linuxcare.com.au>
1041
d01e2a23
AM
1042 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
1043
c0e219cc
AM
1044 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
1045
fe268b66
AM
10462000-10-10 Alan Modra <alan@linuxcare.com.au>
1047
1048 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
1049
4d7ce4dd
AM
10502000-10-10 Tom Rix <trix@redhat.com>
1051
d952f17a 1052 * section.c (bfd_make_section_anyway): Release newsect ptr when
4d7ce4dd
AM
1053 newsect->symbol fails to alloc. Use bfd_release instead of free.
1054
f3b6f7c3
RH
10552000-10-09 Richard Henderson <rth@cygnus.com
1056
1057 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
1058 (elf64_ia64_unwind_entry_compare): New.
1059 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
1060
44852b19
AM
10612000-10-07 Alan Modra <alan@linuxcare.com.au>
1062
fc8c40a0
AM
1063 * elflink.h (size_dynamic_sections): Don't create various tags if
1064 .dynstr is excluded from the link. Don't set first dynsym entry
1065 if dynsymcount is zero.
1066 (elf_bfd_final_link): Don't try to swap out dynamic syms if
1067 .dynsym excluded from the link. Don't try to write any dynamic
1068 sections excluded from the link.
1069
44852b19
AM
1070 * elf.c (swap_out_syms): Handle global section symbols.
1071
3e4554a2
DD
10722000-10-05 DJ Delorie <dj@redhat.com>
1073
1074 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
1075 * coffcode.h (coff_set_alignment_hook): read extended reloc count
1076 (coff_write_relocs): write extended reloc count
1077 (coff_write_object_contents): account for extended relocs
1078
fa152c49
JW
10792000-10-05 Jim Wilson <wilson@cygnus.com>
1080
1081 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
1082 field.
1083 * elf.c (_bfd_elf_make_section_from_shdr): Call the
1084 elf_backend_section_flags function.
1085 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
1086 code.
1087 (elf64_ia64_section_flags): New function containing flag conversion
1088 code.
1089 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
1090 * elfxx-target.h (elf_backend_section_flags): Define.
1091 (elfNN_bed): Initialize elf_backend_section_flags field.
1092
36605136
AM
10932000-10-02 Alan Modra <alan@linuxcare.com.au>
1094
1095 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
1096 _bfd_elf32_gc_record_vtable. Correct a comment.
1097
4b6609a0
UC
10982000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
1099
1100 From Ralf Baechle <ralf@gnu.org>
1101
1102 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
1103 produces binaries with got[1] = 0x80000001 to differenciate them
1104 for the dynamic linker from the broken binaries produced by old
1105 versions.
36605136 1106
f572a39d
AM
11072000-09-30 Petr Sorfa <petrs@sco.com>
1108
1109 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
1110 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
1111 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
1112 * configure: Regenerate.
1113
4da81684
HPN
11142000-09-27 Hans-Peter Nilsson <hp@axis.com>
1115
1116 Define two bfd_targets for absence and presence of leading
1117 underscore on symbols. Make sure to only link same kind.
1118 * elf32-cris.c (cris_elf_object_p,
1119 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
1120 cris_elf_merge_private_bfd_data): New.
1121 (elf_backend_object_p, elf_backend_final_write_processing,
1122 bfd_elf32_bfd_print_private_bfd_data,
1123 bfd_elf32_bfd_merge_private_bfd_data): Define.
1124 <Target vector definition>: Include elf32-target.h twice with
1125 different macro settings:
1126 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
1127 bfd_elf32_us_cris_vec.
1128 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
1129 (elf_symbol_leading_char): First as 0, then '_'.
1130 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
1131 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
1132 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
1133 * configure: Regenerate.
1134 * targets.c: Declare bfd_elf32_us_cris_vec.
1135 * po/bfd.pot: Regenerate.
1136
9a5aca8c
AM
11372000-09-29 Momchil Velikov <velco@fadata.bg>
1138
1139 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
1140 R_ARM_THM_PC22 relocations.
1141
512a2384
AM
11422000-09-29 NIIBE Yutaka <gniibe@chroot.org>
1143
1144 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
1145
6c99a5c3
AM
11462000-09-29 Momchil Velikov <velco@fadata.bg>
1147
1148 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
1149 is has the SEC_HAS_CONTENTS flag set.
1150