]> Git Repo - binutils.git/blame - bfd/ChangeLog
* config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
[binutils.git] / bfd / ChangeLog
CommitLineData
b653e1b1
KH
12001-01-23 Kazu Hirata <[email protected]>
2
3 * coff64-rs6000.c: Fix formatting.
4 * coff-arm.c: Likewise.
5 * coffgen.c: Likewise.
6 * cofflink.c: Likewise.
7 * coff-mcore.c: Likewise.
8 * coff-mips.c: Likewise.
9 * coff-pmac.c: Likewise.
10 * coff-ppc.c: Likewise.
11 * coff-rs6000.c: Likewise.
12 * elf32.c: Likewise.
13 * elf32-fr30.c: Likewise.
14 * elf32-i370.c: Likewise.
15 * elf32-i860.c: Likewise.
16 * elf32-m32r.c: Likewise.
17 * elf32-m68k.c: Likewise.
18 * elf32-mcore.c: Likewise.
19 * elf32-ppc.c: Likewise.
20 * elf32-sh.c: Likewise.
21 * elf32-v850.c: Likewise.
22 * elf64-alpha.c: Likewise.
23 * elf64-sparc.c: Likewise.
24 * elflink.c: Likewise.
25 * elflink.h: Likewise.
26 * elf-m10200.c: Likewise.
27 * elf-m10300.c: Likewise.
28 * elfxx-ia64.c: Likewise.
29
70256ad8
AJ
302001-01-22 Bo Thorsen <[email protected]>
31
32 * elf64-x86-64.c: Added PIC support for X86-64.
33 (elf64_x86_64_link_hash_newfunc): Function added.
34 (elf64_x86_64_link_hash_table_create): Likewise.
35 (elf64_x86_64_check_relocs): Likewise.
36 (elf64_x86_64_gc_mark_hook): Likewise.
37 (elf64_x86_64_gc_sweep_hook): Likewise.
38 (elf64_x86_64_adjust_dynamic_symbol): Likewise.
39 (elf64_x86_64_size_dynamic_sections): Likewise.
40 (elf64_x86_64_discard_copies): Likewise.
41 (elf64_x86_64_finish_dynamic_symbol): Likewise.
42 (elf64_x86_64_finish_dynamic_sections): Likewise.
43 (elf64_x86_64_relocate_section): Add relocation of PIC sections.
44
ee0bebb8
AJ
452001-01-21 Maciej W. Rozycki <[email protected]>
46
47 * Makefile.am (install-data-local): Make use of $(DESTDIR).
48 * Makefile.in: Regenerate.
49
2a38f751
KH
502001-01-21 Kazu Hirata <[email protected]>
51
52 * coff-a29k.c: Fix formatting.
53
c8492176
L
542001-01-19 H.J. Lu <[email protected]>
55
56 * elf32-i386.c (elf_i386_check_relocs): Report files with bad
57 relocation section names.
58 (elf_i386_relocate_section): Report files with bad relocation
59 section names and return false.
60
a5377ec0
AJ
612001-01-17 Bo Thorsen <[email protected]>
62
63 * targets.c: Alphabetize list of xvecs.
64
b352eebf
AM
652001-01-14 Alan Modra <[email protected]>
66
d952f17a
AM
67 * config.bfd: Add linux target variant for elfxx-hppa.
68 * configure.in: Recognize bfd_elf32_hppa_linux_vec and
69 bfd_elf64_hppa_linux_vec.
70 * configure: Regenerate.
71 * elf64-hppa.c: Include elf64-target.h again to support linux
72 target variant.
73 (elf64_hppa_post_process_headers): Set ELFOSABI_LINUX for linux.
74 * elf32-hppa.c: Include elf32-target.h again to support linux
75 target variant.
76 (elf32_hppa_post_process_headers): New function.
77 (elf_backend_post_process_headers): Define.
78 * targets.c (bfd_target_vector): Add bfd_elf64_hppa_linux_vec and
79 bfd_elf32_hppa_linux_vec.
80
c46b7515
AM
81 * elf32-hppa.c (elf32_hppa_link_hash_table): Add text_segment_base,
82 and data_segment_base fields.
83 (elf32_hppa_link_hash_table_create ): Init them.
84 (elf32_hppa_check_relocs): Update comments.
85 (hppa_record_segment_addr): New function.
86 (elf32_hppa_relocate_section): Call it.
87 (final_link_relocate): Handle R_PARISC_SEGREL32.
88 (elf32_hppa_final_link): New function.
89 (bfd_elf32_bfd_final_link): Define to call it.
90 (hppa_unwind_entry_compare): New function.
91 * cache.c (bfd_open_file): Create files in write+read mode.
92
93 * elf-hppa.h (elf_hppa_howto_table): Set bitsize value for
94 SEGREL32 and numerous other relocs. Change duplicate
95 R_PARISC_NONE relocs to R_PARISC_UNIMPLEMENTED.
96
d768008d
AM
97 * opncls.c (bfd_fdopenr): Add parens like the comment says around
98 O_ACCMODE.
99
150ccafb
AM
100 * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Don't create
101 .plt entries for DT_INIT and DT_FINI.
102 (elf32_hppa_finish_dynamic_sections): Remove special handling of
103 DT_INIT and DT_FINI.
104
b352eebf
AM
105 * elf64-hppa.c (elf64_hppa_finish_dynamic_symbol): Use 16-bit
106 offsets for stub .plt access if wide mode. Check offset in range.
107
b3b9a062
NC
1082001-01-13 Nick Clifton <[email protected]>
109
b7ed8fad
NC
110 * elf32-fr30.c (fr30_elf_howto_table): Remove spurious blank
111 line.
112
b3b9a062
NC
113 * coffcode.h (coff_canonicalize_reloc): Remove spurious blank
114 line.
115
6e0b89ee
AM
1162001-01-12 Alan Modra <[email protected]>
117
118 * configure.in ([bfd_elf64_x86_64_vec]): Set target64.
119 * configure: Regenerate.
120
0d2bcfaf
NC
1212001-01-11 Peter Targett <[email protected]>
122
123 * bfd-in2.h (bfd_architecture): Add bfd_mach_arc_5,
124 bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8 for ARC variants.
125 * cpu-arc.c (arch_info_struct): Add entries for variants.
126 (bfd_arc_arch) Set default to bfd_mach_arc_5.
127 (arc_get_mach) Don't assume machine names prefixed arc- before
128 testing.
129 * elf32-arc.c (arc_elf_object_p): Set machine number based on new
130 selections.
131 (arc_elf_final_write_processing) Likewise.
132 (ELF_MACHINE_CODE) Use EM_ARC.
133
c31c1f70
NC
1342001-01-10 Nick Clifton <[email protected]>
135
2758140b 136 * coff-arm.c (LOCAL_LABEL_PREFIX): Change definition to "".
c31c1f70 137
5ad083e3
PB
1382001-01-07 Philip Blundell <[email protected]>
139
140 * README: Replace `[email protected]' with
141 `[email protected]'.
142
7eae7d22
KH
1432001-01-04 Kazu Hirata <[email protected]>
144
145 * som.c: Fix formatting.
146
509945ae
KH
1472001-01-03 Kazu Hirata <[email protected]>
148
3e932841
KH
149 * ecoffswap.h: Fix formatting.
150 * elf-bfd.h: Likewise.
151 * elfarm-nabi.c: Likewise.
152 * elfarm-oabi.c: Likewise.
153 * elfcode.h: Likewise.
154 * elfcore.h: Likewise.
155 * elflink.c: Likewise.
156 * elflink.h: Likewise.
157 * elfxx-ia64.c: Likewise.
158 * elfxx-target.h: Likewise.
159 * libbfd.c: Likewise
509945ae
KH
160 * linker.c: Likewise.
161 * lynx-core.c: Likewise.
162
892339ee
KH
1632001-01-02 Kazu Hirata <[email protected]>
164
165 * pc532-mach.c: Fix formatting.
166 * pe-arm.c: Likewise.
167 * pe-i386.c: Likewise.
168 * pe-mips.c: Likewise.
169 * pe-ppc.c: Likewise.
170 * pe-sh.c: Likewise.
171 * pei-mips.c: Likewise.
172 * pei-sh.c: Likewise.
ee91ed79 173 * peicode.h: Likewise.
892339ee
KH
174 * ppcboot.c: Likewise.
175 * ptrace-core.c: Likewise.
176
3d855632
KH
1772001-01-01 Kazu Hirata <[email protected]>
178
179 * reloc.c: Fix formatting.
180 * riscix.c: Likewise.
181 * rs6000-core.c: Likewise.
182 * xcoff-target.h: Likewise.
183
a77a9fef
HPN
1842000-12-29 Hans-Peter Nilsson <[email protected]>
185
186 * elfcode.h (elf_object_p): Also restore the bfd mach field on
187 error, by calling bfd_default_set_arch_mach with incoming
188 values.
189
558e161f
KH
1902000-12-26 Kazu Hirata <[email protected]>
191
192 * vaxnetbsd.c: Fix formatting.
193 * versados.c: Likewise.
194 * vms-gsd.c: Likewise.
195 * vms-hdr.c: Likewise.
196 * vms-misc.c: Likewise.
197
3c579812
AO
1982000-12-25 Alexandre Oliva <[email protected]>
199
200 * archive.c (coff_write_armap): Don't write more than symbol_count
201 `archive_member_file_ptr's.
202
672579e9
KH
2032000-12-25 Kazu Hirata <[email protected]>
204
205 * vms-tir.c: Fix formatting.
206
55f2d5ed
KH
2072000-12-23 Kazu Hirata <[email protected]>
208
209 * vms.c: Fix formatting.
210 * vms.h: Likewise.
211
23ccc829
NC
2122000-12-21 Santeri Paavolainen <[email protected]>
213
214 * vms-hdr.c: Include alloca.h if HAVE_ALLOCA_H is defined.
215
216 * peicode.h (pe_ILF_object_p): Add const to import of TARGET_LITTLE_SYM.
217
218 * elf32-m32r.c (m32r_elf_generic_reloc): Add cast to avoid (void *)
219 arithmetic.
220
221 * elf32-fr30.c: Add casts to avoid (void *) arithmetic.
222
223 * coffcode.h (styp_to_sec_flags): Add empty statement after label.
224
8c603c85
NC
2252000-12-21 Richard Sandiford <[email protected]>
226
227 * libbfd.c (bfd_get_bits): Added
228 (bfd_put_bits): Likewise
229 * bfd-in.h: Declared the above.
230 * bfd-in2.h: Regenerated.
231
5bff4f56
KH
2322000-12-20 Kazu Hirata <[email protected]>
233
234 * targets.c: Fix formatting.
235 * tekhex.c: Likewise.
236 * trad-core.c: Likewise.
237
7b82c249
KH
2382000-12-19 Kazu Hirata <[email protected]>
239
240 * sco5-core.c: Fix formatting.
241 * section.c: Likewise.
242 * sparclinux.c: Likewise.
243 * sparclynx.c: Likewise.
244 * sparcnetbsd.c: Likewise.
245 * srec.c: Likewise.
246 * stabs.c: Likewise.
247 * stab-syms.c: Likewise.
248 * sunos.c: Likewise.
249 * syms.c: Likewise.
250 * sysdep.h: Likewise.
251
f78c5281
NC
2522000-12-18 Nick Clifton <[email protected]>
253
254 * coff-arm.c (EXTRA_S_FLAGS): Only define if not already
255 defined.
256 * epoc-pe-arm.c (EXTRA_S_FLAGS): Define.
257 * epoc-pei-arm.c (EXTRA_S_FLAGS): Define.
258
02b89dce
NC
2592000-12-18 Nick Clifton <[email protected]>
260
261 * vms-misc.c (_bfd_vms_get_record): Add default case to
262 file_format switch.
263
d20966a7
NC
2642000-12-15 Miloslav Trmac <[email protected]>
265
266 * elfcore.h (elf_core_file_p): Move to the start of the program
267 headers before attempting to read them.
268
6fa957a9
KH
2692000-12-14 Kazu Hirata <[email protected]>
270
271 * peigen.c: Fix formatting.
272 * som.c: Likewise.
273 * som.h: Likewise.
274
9602af51
KH
2752000-12-13 Kazu Hirata <[email protected]>
276
277 * peigen.c: Fix formatting.
278
514829c3
JW
2792000-12-12 Jim Wilson <[email protected]>
280
281 * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
282
3a71aec8
NC
2832000-12-08 Mark Salter <[email protected]>
284
285 * binary.c (binary_set_section_contents): Ignore sections
286 with zero size.
287
1518639e
KH
2882000-12-12 Kazu Hirata <[email protected]>
289
290 * m68klinux.c: Fix formatting.
291 * m68knetbsd.c: Likewise.
292 * mipsbsd.c: Likewise.
293 * netbsd-core.c: Likewise.
294 * netbsd.h: Likewise.
295 * newsos3.c: Likewise.
296 * nlm32-alpha.c: Likewise.
297 * nlm32-i386.c: Likewise.
298 * nlm32-ppc.c: Likewise.
299 * nlm32-sparc.c: Likewise.
300 * nlmcode.h: Likewise.
301 * nlmswap.h: Likewise.
302 * nlm-target.h: Likewise.
303 * ns32knetbsd.c: Likewise.
304
b79e8c78
NC
3052000-12-10 Fred Fish <[email protected]>
306
d952f17a
AM
307 * elflink.h (elf_link_output_extsym): Don't complain about undefined
308 symbols in shared objects if allow_shlib_undefined is true.
b79e8c78 309
38b1a46c
NC
3102000-12-12 Nick Clifton <[email protected]>
311
312 * cpu-sh.c: Fix formattng.
313 * elf.c: Fix formattng.
314 * elf32-mips.c: Fix formattng.
315 * elf32-sh.c: Fix formattng.
316 * elf64-alpha.c: Fix formattng.
317
857ec808
NC
3182000-12-09 Nick Clifton <[email protected]>
319
320 * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Pass
321 dwarf2_find_line_info as last parameter to invocation of
322 _bfd_dwarf2_find_nearest_line.
323 * elf32-arm.h (elf32_arm_find_nearest_line): Pass
324 dwarf2_find_line_info as last parameter to invocation of
325 _bfd_dwarf2_find_nearest_line.
326
51db3708
NC
3272000-12-08 Mark Elbrecht <[email protected]>
328
329 * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here...
857ec808
NC
330 (BFD_LIBS): ...to here.
331 (BFD32_BACKENDS_CFILES): Move dwarf2.c from here...
332 (BFD_LIBS_CFILES): ...to here.
51db3708
NC
333 * Makefile.in: Regenerate.
334 * configure.in: Remove dwarf.lo from the elf shell variable.
335 * configure: Regenerate.
336 * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info.
337 * libcoff.h: Regenerate.
d952f17a 338 * coffgen.c (coff_find_nearest_line): Call
857ec808 339 _bfd_dwarf2_find_nearest_line.
51db3708 340 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update
857ec808
NC
341 accordingly.
342 (read_abbrevs): Likewise
343 (decode_line_info): Likewise.
344 (parse_comp_unit): Likewise.
345 (comp_unit_find_nearest_line): Likewise.
51db3708
NC
346 * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype.
347 * libbfd.h: Regenerate.
348 * elf.c (_bfd_elf_find_nearest_line): Update call.
349 * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR.
350 * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH.
351 * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros.
857ec808
NC
352 (sec_to_styp_flags): Use them. Handle DWARF2 sections.
353 (styp_to_sec_flags): Handle DWARF2 sections.
354 * elf32-arm.h (elf32_arm_find_nearest_line): Add parameter to call
355 to _bfd_find_nearest_line.
356 * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to
357 call to _bfd_find_nearest_line.
d952f17a 358
435b1e90
KH
3592000-12-08 Kazu Hirata <[email protected]>
360
361 * coffgen.c: Fix formatting.
fe8bc63d 362 * elf-m10300.c: Likewise.
435b1e90
KH
363 * elf32-i386.c: Likewise.
364 * elf32-i960.c: Likewise.
365 * elf32-m68k.c: Likewise.
366 * elf32-mcore.c: Likewise.
367 * elf32-ppc.c: Likewise.
368 * elf32-sh.c: Likewise.
369 * elf32-sparc.c: Likewise.
370 * elf32-v850.c: Likewise.
fe8bc63d
KH
371 * elf64-alpha.c: Likewise.
372 * elf64-hppa.c: Likewise.
373 * elf64-mips.c: Likewise.
435b1e90 374 * elf64-sparc.c: Likewise.
435b1e90 375
8da6118f
KH
3762000-12-07 Kazu Hirata <[email protected]>
377
378 * elf32-ppc.c: Fix formatting.
379 * elf64-x86-64.c: Likewise.
380
a9922e52
UC
3812000-12-06 Ulf Carlsson <[email protected]>
382
383 From Ralf Baechle <[email protected]>
384
385 * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit
386 BFDs containing no sections or empty .text, .data or .bss sections
387 to be merged, regardless of their flags.
388
c3668558
KH
3892000-12-06 Kazu Hirata <[email protected]>
390
391 * elf32-m32r.c: Fix formatting.
392 * elf32-m68hc11.c: Likewise.
393 * elf32-m68hc12.c: Likewise.
394 * elf32-m68k.c: Likewise.
395 * elf32-mcore.c: Likewise.
396 * elf32-pj.c: Likewise.
397 * elf32-ppc.c: Likewise.
398
6609fa74
KH
3992000-12-05 Kazu Hirata <[email protected]>
400
401 * elf32-fr30.c: Fix formatting.
402 * elf32-hppa.c: Likewise.
403 * elf32-i370.c: Likewise.
404 * elf32-i386.c: Likewise.
405 * elf32-i860.c: Likewise.
406 * elf32-i960.c: Likewise.
407
a7c10850
KH
4082000-12-03 Kazu Hirata <[email protected]>
409
410 * elf32-arm.h: Fix formatting.
411 * elf32-avr.c: Likewise.
412 * elf32-cris.c: Likewise.
413 * elf32-d10v.c: Likewise.
414 * elf32-d30v.c: Likewise.
415 * elf-hppa.h: Likewise.
416 * elf-m10200.c: Likewise.
417 * elf-m10300.c: Likewise.
418
e7af610e
NC
4192000-12-01 Chris Demetriou <[email protected]>
420
d952f17a
AM
421 * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and
422 bfd_mach_mips32_4k. Update FIXME comment.
423 * archures.c (bfd_mach_mips32): New constant.
424 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
425 the latter, renumber it.
426 * bfd-in2.h (bfd_mach_mips32): New constant.
427 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
428 the latter, renumber it.
429 * cpu-mips.c (I_mips32): New constant.
430 (I_mips4K, I_mips32_4k): Rename the former to the latter.
431 (arch_info_struct): Add bfd_mach_mips32 entry, replace
432 bfd_mach_mips4K entry with bfd_mach_mips32_4k entry.
433 * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case.
434 (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32
435 with E_MIPS_MACH_MIPS32_4K.
436 (_bfd_mips_elf_final_write_processing): Replace
437 bfd_mach_mips4K with bfd_mach_mips32_4k case, add
438 bfd_mach_mips32 case.
439 (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing
440 comparison with support for MIPS32.
441 (_bfd_mips_elf_print_private_bfd_data): Print ISA name for
442 MIPS32.
443
444 * aoutx.h (NAME(aout,machine_type)): Add cases for
445 bfd_mach_mips5 and bfd_mach_mips64.
446 * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants.
447 * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise.
448 * cpu_mips.c (I_mips5, I_mips64): New definitions.
449 (arch_info_struct): Add entries for bfd_mach_mips5 and
450 bfd_mach_mips64.
451 * elf32-mips.c (elf_mips_isa, elf_mips_mach,
452 _bfd_mips_elf_print_private_bfd_data): Add cases for
453 E_MIPS_ARCH_5 and E_MIPS_ARCH_64.
454 (_bfd_mips_elf_final_write_processing): Add cases for
455 bfd_mach_mips5 and bfd_mach_mips64.
456
457 * bfd/aoutx.h (NAME(aout,machine_type)): Add a
458 bfd_mach_mips_sb1 case.
459 * bfd/archures.c (bfd_mach_mips_sb1): New constant.
460 * bfd/bfd-in2.h (bfd_mach_mips_sb1): New constant.
461 * bfd/cpu-mips.c (I_sb1): New constant.
462 (arch_info_struct): Add entry for bfd_mach_mips_sb1.
463 * bfd/elf32-mips.c (elf_mips_mach): Add case for
464 E_MIPS_MACH_SB1.
465 (_bfd_mips_elf_final_write_processing): Add case for
466 bfd_mach_mips_sb1.
467
4682000-12-01 Joel Sherrill <[email protected]>
ddcfc5fc
NC
469
470 * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets.
471 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
472 (sparc*-*-rtems*): Switched from a.out to ELF.
473
8d88c4ca 4742000-11-30 Jan Hubicka <[email protected]>
d952f17a
AM
475
476 * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo
477 BFD64_BACKENDS_CFILES): Add elf64-x86-64.c
478 (elf64-x86-64.lo): Add dependencies.
479 * archures.c (DESCRIPTION): Add bfd_mach_x86_64,
480 bfd_mach_x86_64_intel_syntax.
481 * elf.c (prep_headers): Use EM_x86_64 for 64bit output.
482 * config.bfd (x86_64): Add.
483 * configure.in: Add support for bfd_elf64_x86_64_vec.
484 * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add.
485 (bfd_i386_arch, i8086_ar): Link in.
486 * elf64-x86-64.c: New file.
487 * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*.
488 * targets.c (bfd_elf64_x86_64_vec): Add.
489 (bfd_target_vect): Add bfd_elf64_x86_64_vec.
8d88c4ca 490
fbc4fff4
KH
4912000-11-30 Kazu Hirata <[email protected]>
492
493 * xcofflink.c: Fix formatting.
494
e60b52c6
KH
4952000-11-28 Kazu Hirata <[email protected]>
496
497 * aoutx.h: Fix formatting.
498 * bfd-in.h: Likewise.
499 * bfd-in2.h: Likewise.
500 * cache.c: Likewise.
501 * cisco-core.c: Likewise.
502 * coff64-rs6000.c: Likewise.
503 * coffcode.h: Likewise.
504 * coffswap.h: Likewise.
505 * corefile.c: Likewise.
be3ccd9c 506 * elf32-mips.c: Likewise.
e60b52c6 507
336eced2
KH
5082000-11-27 Kazu Hirata <[email protected]>
509
510 * aout-adobe.c: Fix formatting.
244148ad
KH
511 * coff64-rs6000.c: Likewise.
512 * coffgen.c: Likewise.
513 * cofflink.c: Likewise.
336eced2 514
d71f672e
PB
5152000-11-27 Philip Blundell <[email protected]>
516
517 * libcoff-in.h (coff_tdata): Add `strings_written' flag.
518 (obj_coff_strings_written): New accessor macro for above.
519 * libcoff.h: Regenerate.
520 * cofflink.c (_bfd_coff_final_link): Say that we wrote the
521 strings.
522 * coffcode.h (coff_write_object_contents): No need to write out
523 the string table if it's already been done.
524
bc7a577d
PB
5252000-11-22 Philip Blundell <[email protected]>
526
d952f17a 527 * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
bc7a577d
PB
528 weak undefined symbols.
529
077b8428
NC
5302000-11-24 Nick Clifton <[email protected]>
531
532 * archures.c (bfd_mach_arm_5TE): Define.
533 (bfd_mach_arm+XScale): Define.
534 * bfd-in2.h: Regenerate.
535
536 * coff-arm.c (coff_arm_reloc_type_lookup): Accept
537 BFD_RELOC_ARM_PCREL_BLX.
538
539 * coffcode.h (coff_set_flags): Set flags for 5t, 5te and
540 XScale machine numbers.
541
542 * config.bfd (xscale-elf): Add target.
543 (xscale-coff): Add target.
544
545 * cpu-arm.c: Add xscale machine name.
546 Add v5t, v5te and XScale machine numbers.
547
e9e41bd9
KH
5482000-11-23 Kazu Hirata <[email protected]>
549
550 * aix386-core.c: Fix formatting.
551
64bf6ae6
JW
5522000-11-22 Jim Wilson <[email protected]>
553
554 * coff-ia64.c (howto_table): Use EMPTY_HOWTO.
555 (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
556 * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
557 (ins_imms_scaled): Initialize sign_bit at function entry.
558 (elf64_ia64_operands): Add missing initializers.
559 * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
560 elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
561 elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
562 elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
563 elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
564 parameters.
565 (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
566 and free_extsyms at function entry.
567 (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
568 (elfNN_ia64_create_dynamic_sections): Delete unused local h.
569 (get_got): Delete unused local srel.
570 (elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
571 (elfNN_ia64_relocate_section): Delete unused local dynindx.
d952f17a 572
1abaf976
KH
5732000-11-21 Kazu Hirata <[email protected]>
574
6e301b2b
KH
575 * coff-a29k.c: Fix formatting.
576 * coff-h8500.c: Likewise.
577 * coff-i960.c: Likewise.
578 * coff-ppc.c: Likewise.
579 * coff-rs6000.c: Likewise.
580 * coff-stgo32.c: Likewise.
581 * coff-tic54x.c: Likewise.
582 * coff-w65.c: Likewise.
583 * cpu-h8500.c: Likewise.
584 * cpu-hppa.c: Likewise.
585 * cpu-ns32k.c: Likewise.
586 * ecoff.c: Likewise.
1abaf976
KH
587 * ecofflink.c: Likewise.
588
a0fc8ba1
NC
5892000-11-21 Nick Clifton <[email protected]>
590
591 * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and
592 remove possibility of infinite loop.
593
beb0d161
KH
5942000-11-20 Kazu Hirata <[email protected]>
595
596 * aix386-core.c: Fix formatting.
597 * aout-adobe.c: Likewise.
598 * aout-arm.c: Likewise.
599 * aout-encap.c: Likewise.
600 * aout-ns32k.c: Likewise.
601 * aout-target.h: Likewise.
602 * aout-tic30.c: Likewise.
603 * aoutf1.h: Likewise.
604 * aoutx.h: Likewise.
605 * archive.c: Likewise.
eb6e10cb
KH
606 * bfd-in.h: Likewise.
607 * bfd-in2.h: Likewise.
608 * bfd.c: Likewise.
609 * bout.c: Likewise.
beb0d161 610
2c2475db
JW
6112000-11-17 H.J. Lu <[email protected]>
612
613 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
614 pltoff entries for DT_INIT and DT_FINI.
615 (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
616 (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
617 entries.
618
18b27f17
RH
6192000-11-16 Richard Henderson <[email protected]>
620
621 * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
622 (allocate_dynrel_entries): Likewise.
623 (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
624 (set_pltoff_entry): Likewise.
625 (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
626 (elfNN_ia64_reloc_type_lookup): Likewise.
627 (elfNN_ia64_install_value): Likewise.
628 (elfNN_ia64_relocate_section): Likewise.
629 * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
630 (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
631
98591c73
KH
6322000-11-16 Kazu Hirata <[email protected]>
633
71f6b586
KH
634 * cpu-a29k.c: Fix formatting.
635 * cpu-alpha.c: Likewise.
636 * cpu-arm.c: Likewise.
637 * cpu-avr.c: Likewise.
638 * cpu-d10v.c: Likewise.
639 * cpu-h8500.c: Likewise.
640 * cpu-hppa.c: Likewise.
641 * cpu-i370.c: Likewise.
642 * cpu-i386.c: Likewise.
643 * cpu-i960.c: Likewise.
644 * cpu-ia64-opc.c: Likewise.
645 * cpu-ia64.c: Likewise.
646 * cpu-m32r.c: Likewise.
647 * cpu-m68hc11.c: Likewise.
648 * cpu-m68hc12.c: Likewise.
649 * cpu-m68k.c: Likewise.
650 * cpu-m88k.c: Likewise.
651 * cpu-mips.c: Likewise.
652 * cpu-ns32k.c: Likewise.
653 * cpu-pj.c: Likewise.
654 * cpu-powerpc.c: Likewise.
655 * cpu-sh.c: Likewise.
656 * cpu-sparc.c: Likewise.
657 * cpu-tic54x.c: Likewise.
658 * cpu-v850.c: Likewise.
659 * cpu-vax.c: Likewise.
660 * cpu-w65.c: Likewise.
661 * cpu-we32k.c: Likewise.
662 * cpu-z8k.c: Likewise.
663 * dwarf1.c: Likewise.
98591c73
KH
664 * dwarf2.c: Likewise.
665
c5930ee6
KH
6662000-11-15 Kazu Hirata <[email protected]>
667
668 * coff-arm.c: Fix formatting.
669 * coff-ppc.c: Likewise.
670 * coff-rs6000.c: Likewise.
cbfe05c4
KH
671 * coff-sh.c: Likewise.
672 * coff-sparc.c: Likewise.
673 * coff-tic30.c: Likewise.
674 * coff-tic54x.c: Likewise.
675 * coff-tic80.c: Likewise.
676 * coff-w65.c: Likewise.
677 * coff-we32k.c: Likewise.
678 * coff-z8k.c: Likewise.
c5930ee6 679
dac544a8
RH
6802000-11-15 Richard Henderson <[email protected]>
681
682 * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
683 section with the same ALLOC|LOAD flags as the source section.
684
c810873d
JJ
6852000-11-14 Jakub Jelinek <[email protected]>
686
687 * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
688 by STO_ALPHA constants.
689
43646c9d
KH
6902000-11-14 Kazu Hirata <[email protected]>
691
692 * coff-pmac.c: Fix formatting.
693 * coff-ppc.c: Likewise.
694
051b8577
L
6952000-11-13 H.J. Lu <[email protected]>
696
697 * elflink.h (elf_link_add_object_symbols): Also add indirect
698 symbols for common symbols with the default version.
699
90460d97
PB
7002000-11-09 Philip Blundell <[email protected]>
701
702 * section.c (STD_SECTION): Set gc_mark flag.
703
b48499ec
KH
7042000-11-11 Kazu Hirata <[email protected]>
705
706 * coff-i960.c: Likewise.
707 * coff-m68k.c: Likewise.
708 * coff-m88k.c: Likewise.
709 * coff-mcore.c: Likewise.
710 * coff-mips.c: Likewise.
711
c5aeb40f
AO
7122000-11-11 Bernd Schmidt <[email protected]>
713
714 * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
715
5fcfd273
KH
7162000-11-10 Kazu Hirata <[email protected]>
717
718 * coff-h8300.c: Fix formatting.
719 * coff-h8500.c: Likewise.
720 * coff-i386.c: Likewise.
721 * coff-i860.c: Likewise.
722 * coff-i960.c: Likewise.
723 * coff-ia64.c: Likewise.
724
047066e1
KH
7252000-11-09 Kazu Hirata <[email protected]>
726
727 * archive.c: Fix formatting.
728 * archures.c: Likewise.
729
9a951beb
RH
7302000-11-07 Richard Henderson <[email protected]>
731
732 * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
733 Set it before bfd_elf64_bfd_final_link call. Use it after the call.
734 * section.c (bfd_set_section_contents): Call memcpy if
735 section->contents set and location not equal to contents plus offset.
736
aebad5fe
KH
7372000-11-08 Kazu Hirata <[email protected]>
738
8546af74
KH
739 * bfd-in.h: Fix formatting.
740 * bfd-in2.h: Likewise.
741 * bfd.c: Likewise.
aebad5fe
KH
742 * binary.c: Likewise.
743 * bout.c: Likewise.
346ceb11
KH
744 * coff-a29k.c: Likewise.
745 * coff-alpha.c: Likewise.
746 * coff-apollo.c: Likewise.
747 * coff-aux.c: Likewise.
aebad5fe 748
0ef5a5bd
KH
7492000-11-07 Kazu Hirata <[email protected]>
750
751 * aix386-core.c: Fix formatting.
752 * aoutf1.h: Likewise.
753 * aoutx.h: Likewise.
754 * archures.c: Likewise.
755 * armnetbsd.c: Likewise.
756
d562d2fb
AM
7572000-11-07 Alan Modra <[email protected]>
758
759 * coff-h8300.c (special): Adjust reloc address.
760
bbe66d08
JW
7612000-11-06 Steve Ellcey <[email protected]>
762
4efc3e05 763 * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
bbe66d08
JW
764 to differentiate elf32 and elf64 on ia64.
765 * bfd-in2.h: Regenerate.
766 * config.bfd: Add target for "ia64*-*-hpux*".
767 * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
768 * configure: Regenerate.
4efc3e05 769 * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
bbe66d08
JW
770 * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
771
772 * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
773 from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
774 * Makefile.in: Regnerate.
4efc3e05 775 * elf64-ia64.c: Deleted.
bbe66d08
JW
776 * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
777
c4dfa77f
KH
7782000-11-06 Kazu Hirata <[email protected]>
779
780 * aout-adobe.c: Fix formatting.
781 * aout-arm.c: Likewise.
782 * aout-cris.c: Likewise.
783 * aout-encap.c: Likewise.
784 * aout-ns32k.c: Likewise.
785 * aout-target.h: Likewise.
786 * aout-tic30.c: Likewise.
787
cf919dfd
PB
7882000-11-05 Philip Blundell <[email protected]>
789
790 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
791 BFDs containing no sections to be merged, regardless of their flags.
792
7932000-11-04 Philip Blundell <[email protected]>
794
795 * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
796 if a relocation for an undefined symbol also results in an
797 overflow.
798
8d88c4ca 7992000-11-06 Christopher Faylor <[email protected]>
8848a8d0
CF
800
801 * config.bfd: Add support for Sun Chorus.
802
46d59bfa
DB
8032000-11-05 David O'Brien <[email protected]>
804
805 * configure.in: Recognize alpha-*-freebsd*.
806 * configure: Regenerate.
807
d952f17a 8082000-11-02 Luciano Gemme <[email protected]>
420496c1
NC
809
810 * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
811 (Chunk): New global variable set by a parameter in objcopy.c.
812 (S3Forced): New global variable set by a parameter in
813 objcopy.c.
814 (srec_set_section_contents): If S3Forced is true, always generate
815 S3 records.
816 (srec_write_section): Use 'Chunk' to limit maximum length of S
817 records.
818
59ff2774
NC
8192000-11-02 Per Lundberg <[email protected]>
820
821 * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
822 * Makefile.in: Regenerate.
823 * bfd-in2.h: Regenerate.
824 * po/bfd.pot: Regenerate.
d952f17a 825
ee43f35e
PB
8262000-10-31 Philip Blundell <[email protected]>
827
828 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
829 EF_SOFT_FLOAT if it is defined.
830
1006ba19
PB
8312000-10-27 Philip Blundell <[email protected]>
832
833 * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
834 attempts to mix PIC code with non-PIC, just mark the output as
835 being position dependent.
d952f17a
AM
836 (elf32_arm_merge_private_bfd_data): Likewise. Print an error
837 message for EF_SOFT_FLOAT mismatches. Display diagnostics for
1006ba19 838 all mismatches, not just the first one.
d952f17a 839
c4920b97
NC
8402000-10-25 Chris Demetriou <[email protected]>
841
842 * ieee.c (ieee_archive_p): Plug one of many possible
843 memory leaks in error handling.
844
19f7b010
JJ
8452000-10-20 Jakub Jelinek <[email protected]>
846
847 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
848 elf32_sparc_object_p, elf32_sparc_final_write_processing):
849 Support v8plusb.
850 * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
851 sparc64_elf_object_p): Support v9b.
852 * archures.c: Declare v8plusb and v9b machines.
853 * bfd-in2.h: Ditto.
854 * cpu-sparc.c: Ditto.
855
e1e0340b
GK
8562000-10-16 Geoffrey Keating <[email protected]>
857
ea5fbc67
GK
858 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
859 of a GOT reloc.
860
e1e0340b
GK
861 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
862 (SYMBOL_CALLS_LOCAL): New macro.
863 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
864 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
865 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
866 (ppc_elf_relocate_section): Use flag variable to determine
867 whether the relocation refers to a local symbol.
868 Test whether a PLTREL24 reloc will produce a reloc by looking
869 to see whether a PLT entry was made.
870
a4b120e1
GK
8712000-10-14 Geoffrey Keating <[email protected]>
872
873 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
874 entries that could serve as a definition for a weak symbol.
875
5af5b85b
UC
8762000-10-13 Ulf Carlsson <[email protected]>
877
878 From Ralf Baechle <[email protected]>
879
880 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
881 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
882 against local symbols.
883 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
d952f17a 884
3ef20aaa
AM
8852000-10-12 Alan Modra <[email protected]>
886
24376d1b
AM
887 * section.c (struct sec): Add kept_section.
888 (struct bfd_comdat_info): Remove sec, we can use above.
889 (STD_SECTION): Add initializer.
890 (bfd_make_section_anyway): Init here too.
891
892 * bfd-in2.h: Regenerate.
893
894 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
d952f17a 895 zeroing of `flags'.
24376d1b
AM
896 (elf_link_input_bfd): Set all asection->symbol->value's here, and
897 fudge values for discarded link-once section symbols.
898
3ef20aaa
AM
899 * elf64-hppa.c: Include alloca-conf.h
900
c0e219cc
AM
9012000-10-11 Alan Modra <[email protected]>
902
d01e2a23
AM
903 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
904
c0e219cc
AM
905 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
906
fe268b66
AM
9072000-10-10 Alan Modra <[email protected]>
908
909 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
910
4d7ce4dd
AM
9112000-10-10 Tom Rix <[email protected]>
912
d952f17a 913 * section.c (bfd_make_section_anyway): Release newsect ptr when
4d7ce4dd
AM
914 newsect->symbol fails to alloc. Use bfd_release instead of free.
915
f3b6f7c3
RH
9162000-10-09 Richard Henderson <[email protected]
917
918 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
919 (elf64_ia64_unwind_entry_compare): New.
920 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
921
44852b19
AM
9222000-10-07 Alan Modra <[email protected]>
923
fc8c40a0
AM
924 * elflink.h (size_dynamic_sections): Don't create various tags if
925 .dynstr is excluded from the link. Don't set first dynsym entry
926 if dynsymcount is zero.
927 (elf_bfd_final_link): Don't try to swap out dynamic syms if
928 .dynsym excluded from the link. Don't try to write any dynamic
929 sections excluded from the link.
930
44852b19
AM
931 * elf.c (swap_out_syms): Handle global section symbols.
932
3e4554a2
DD
9332000-10-05 DJ Delorie <[email protected]>
934
935 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
936 * coffcode.h (coff_set_alignment_hook): read extended reloc count
937 (coff_write_relocs): write extended reloc count
938 (coff_write_object_contents): account for extended relocs
939
fa152c49
JW
9402000-10-05 Jim Wilson <[email protected]>
941
942 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
943 field.
944 * elf.c (_bfd_elf_make_section_from_shdr): Call the
945 elf_backend_section_flags function.
946 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
947 code.
948 (elf64_ia64_section_flags): New function containing flag conversion
949 code.
950 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
951 * elfxx-target.h (elf_backend_section_flags): Define.
952 (elfNN_bed): Initialize elf_backend_section_flags field.
953
36605136
AM
9542000-10-02 Alan Modra <[email protected]>
955
956 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
957 _bfd_elf32_gc_record_vtable. Correct a comment.
958
4b6609a0
UC
9592000-10-01 Ulf Carlsson <[email protected]>
960
961 From Ralf Baechle <[email protected]>
962
963 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
964 produces binaries with got[1] = 0x80000001 to differenciate them
965 for the dynamic linker from the broken binaries produced by old
966 versions.
36605136 967
f572a39d
AM
9682000-09-30 Petr Sorfa <[email protected]>
969
970 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
971 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
972 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
973 * configure: Regenerate.
974
4da81684
HPN
9752000-09-27 Hans-Peter Nilsson <[email protected]>
976
977 Define two bfd_targets for absence and presence of leading
978 underscore on symbols. Make sure to only link same kind.
979 * elf32-cris.c (cris_elf_object_p,
980 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
981 cris_elf_merge_private_bfd_data): New.
982 (elf_backend_object_p, elf_backend_final_write_processing,
983 bfd_elf32_bfd_print_private_bfd_data,
984 bfd_elf32_bfd_merge_private_bfd_data): Define.
985 <Target vector definition>: Include elf32-target.h twice with
986 different macro settings:
987 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
988 bfd_elf32_us_cris_vec.
989 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
990 (elf_symbol_leading_char): First as 0, then '_'.
991 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
992 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
993 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
994 * configure: Regenerate.
995 * targets.c: Declare bfd_elf32_us_cris_vec.
996 * po/bfd.pot: Regenerate.
997
9a5aca8c
AM
9982000-09-29 Momchil Velikov <[email protected]>
999
1000 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
1001 R_ARM_THM_PC22 relocations.
1002
512a2384
AM
10032000-09-29 NIIBE Yutaka <[email protected]>
1004
1005 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
1006
6c99a5c3
AM
10072000-09-29 Momchil Velikov <[email protected]>
1008
1009 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
1010 is has the SEC_HAS_CONTENTS flag set.
1011
b16885a1
HPN
1012