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