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