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