2000-11-21 Kazu Hirata <kazu@hxi.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
1abaf976
KH
12000-11-21 Kazu Hirata <kazu@hxi.com>
2
3 * ecoff.c: Fix formatting.
4 * ecofflink.c: Likewise.
5
a0fc8ba1
NC
62000-11-21 Nick Clifton <nickc@redhat.com>
7
8 * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and
9 remove possibility of infinite loop.
10
beb0d161
KH
112000-11-20 Kazu Hirata <kazu@hxi.com>
12
13 * aix386-core.c: Fix formatting.
14 * aout-adobe.c: Likewise.
15 * aout-arm.c: Likewise.
16 * aout-encap.c: Likewise.
17 * aout-ns32k.c: Likewise.
18 * aout-target.h: Likewise.
19 * aout-tic30.c: Likewise.
20 * aoutf1.h: Likewise.
21 * aoutx.h: Likewise.
22 * archive.c: Likewise.
eb6e10cb
KH
23 * bfd-in.h: Likewise.
24 * bfd-in2.h: Likewise.
25 * bfd.c: Likewise.
26 * bout.c: Likewise.
beb0d161 27
2c2475db
JW
282000-11-17 H.J. Lu <hjl@gnu.org>
29
30 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
31 pltoff entries for DT_INIT and DT_FINI.
32 (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
33 (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
34 entries.
35
18b27f17
RH
362000-11-16 Richard Henderson <rth@redhat.com>
37
38 * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
39 (allocate_dynrel_entries): Likewise.
40 (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
41 (set_pltoff_entry): Likewise.
42 (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
43 (elfNN_ia64_reloc_type_lookup): Likewise.
44 (elfNN_ia64_install_value): Likewise.
45 (elfNN_ia64_relocate_section): Likewise.
46 * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
47 (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
48
98591c73
KH
492000-11-16 Kazu Hirata <kazu@hxi.com>
50
71f6b586
KH
51 * cpu-a29k.c: Fix formatting.
52 * cpu-alpha.c: Likewise.
53 * cpu-arm.c: Likewise.
54 * cpu-avr.c: Likewise.
55 * cpu-d10v.c: Likewise.
56 * cpu-h8500.c: Likewise.
57 * cpu-hppa.c: Likewise.
58 * cpu-i370.c: Likewise.
59 * cpu-i386.c: Likewise.
60 * cpu-i960.c: Likewise.
61 * cpu-ia64-opc.c: Likewise.
62 * cpu-ia64.c: Likewise.
63 * cpu-m32r.c: Likewise.
64 * cpu-m68hc11.c: Likewise.
65 * cpu-m68hc12.c: Likewise.
66 * cpu-m68k.c: Likewise.
67 * cpu-m88k.c: Likewise.
68 * cpu-mips.c: Likewise.
69 * cpu-ns32k.c: Likewise.
70 * cpu-pj.c: Likewise.
71 * cpu-powerpc.c: Likewise.
72 * cpu-sh.c: Likewise.
73 * cpu-sparc.c: Likewise.
74 * cpu-tic54x.c: Likewise.
75 * cpu-v850.c: Likewise.
76 * cpu-vax.c: Likewise.
77 * cpu-w65.c: Likewise.
78 * cpu-we32k.c: Likewise.
79 * cpu-z8k.c: Likewise.
80 * dwarf1.c: Likewise.
98591c73
KH
81 * dwarf2.c: Likewise.
82
c5930ee6
KH
832000-11-15 Kazu Hirata <kazu@hxi.com>
84
85 * coff-arm.c: Fix formatting.
86 * coff-ppc.c: Likewise.
87 * coff-rs6000.c: Likewise.
cbfe05c4
KH
88 * coff-sh.c: Likewise.
89 * coff-sparc.c: Likewise.
90 * coff-tic30.c: Likewise.
91 * coff-tic54x.c: Likewise.
92 * coff-tic80.c: Likewise.
93 * coff-w65.c: Likewise.
94 * coff-we32k.c: Likewise.
95 * coff-z8k.c: Likewise.
c5930ee6 96
dac544a8
RH
972000-11-15 Richard Henderson <rth@redhat.com>
98
99 * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
100 section with the same ALLOC|LOAD flags as the source section.
101
c810873d
JJ
1022000-11-14 Jakub Jelinek <jakub@redhat.com>
103
104 * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
105 by STO_ALPHA constants.
106
43646c9d
KH
1072000-11-14 Kazu Hirata <kazu@hxi.com>
108
109 * coff-pmac.c: Fix formatting.
110 * coff-ppc.c: Likewise.
111
051b8577
L
1122000-11-13 H.J. Lu <hjl@gnu.org>
113
114 * elflink.h (elf_link_add_object_symbols): Also add indirect
115 symbols for common symbols with the default version.
116
90460d97
PB
1172000-11-09 Philip Blundell <pb@futuretv.com>
118
119 * section.c (STD_SECTION): Set gc_mark flag.
120
b48499ec
KH
1212000-11-11 Kazu Hirata <kazu@hxi.com>
122
123 * coff-i960.c: Likewise.
124 * coff-m68k.c: Likewise.
125 * coff-m88k.c: Likewise.
126 * coff-mcore.c: Likewise.
127 * coff-mips.c: Likewise.
128
c5aeb40f
AO
1292000-11-11 Bernd Schmidt <bernds@cygnus.co.uk>
130
131 * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
132
5fcfd273
KH
1332000-11-10 Kazu Hirata <kazu@hxi.com>
134
135 * coff-h8300.c: Fix formatting.
136 * coff-h8500.c: Likewise.
137 * coff-i386.c: Likewise.
138 * coff-i860.c: Likewise.
139 * coff-i960.c: Likewise.
140 * coff-ia64.c: Likewise.
141
047066e1
KH
1422000-11-09 Kazu Hirata <kazu@hxi.com>
143
144 * archive.c: Fix formatting.
145 * archures.c: Likewise.
146
9a951beb
RH
1472000-11-07 Richard Henderson <rth@redhat.com>
148
149 * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
150 Set it before bfd_elf64_bfd_final_link call. Use it after the call.
151 * section.c (bfd_set_section_contents): Call memcpy if
152 section->contents set and location not equal to contents plus offset.
153
aebad5fe
KH
1542000-11-08 Kazu Hirata <kazu@hxi.com>
155
8546af74
KH
156 * bfd-in.h: Fix formatting.
157 * bfd-in2.h: Likewise.
158 * bfd.c: Likewise.
aebad5fe
KH
159 * binary.c: Likewise.
160 * bout.c: Likewise.
346ceb11
KH
161 * coff-a29k.c: Likewise.
162 * coff-alpha.c: Likewise.
163 * coff-apollo.c: Likewise.
164 * coff-aux.c: Likewise.
aebad5fe 165
0ef5a5bd
KH
1662000-11-07 Kazu Hirata <kazu@hxi.com>
167
168 * aix386-core.c: Fix formatting.
169 * aoutf1.h: Likewise.
170 * aoutx.h: Likewise.
171 * archures.c: Likewise.
172 * armnetbsd.c: Likewise.
173
d562d2fb
AM
1742000-11-07 Alan Modra <alan@linuxcare.com.au>
175
176 * coff-h8300.c (special): Adjust reloc address.
177
bbe66d08
JW
1782000-11-06 Steve Ellcey <sje@cup.hp.com>
179
4efc3e05 180 * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
bbe66d08
JW
181 to differentiate elf32 and elf64 on ia64.
182 * bfd-in2.h: Regenerate.
183 * config.bfd: Add target for "ia64*-*-hpux*".
184 * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
185 * configure: Regenerate.
4efc3e05 186 * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
bbe66d08
JW
187 * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
188
189 * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
190 from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
191 * Makefile.in: Regnerate.
4efc3e05 192 * elf64-ia64.c: Deleted.
bbe66d08
JW
193 * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
194
c4dfa77f
KH
1952000-11-06 Kazu Hirata <kazu@hxi.com>
196
197 * aout-adobe.c: Fix formatting.
198 * aout-arm.c: Likewise.
199 * aout-cris.c: Likewise.
200 * aout-encap.c: Likewise.
201 * aout-ns32k.c: Likewise.
202 * aout-target.h: Likewise.
203 * aout-tic30.c: Likewise.
204
cf919dfd
PB
2052000-11-05 Philip Blundell <philb@gnu.org>
206
207 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
208 BFDs containing no sections to be merged, regardless of their flags.
209
2102000-11-04 Philip Blundell <philb@gnu.org>
211
212 * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
213 if a relocation for an undefined symbol also results in an
214 overflow.
215
8848a8d0
CF
216Mon Nov 6 13:35:07 2000 Christopher Faylor <cgf@cygnus.com>
217
218 * config.bfd: Add support for Sun Chorus.
219
46d59bfa
DB
2202000-11-05 David O'Brien <obrien@FreeBSD.org>
221
222 * configure.in: Recognize alpha-*-freebsd*.
223 * configure: Regenerate.
224
420496c1
NC
2252000-11-02 Luciano Gemme <ishitawa@yahoo.com>
226
227 * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
228 (Chunk): New global variable set by a parameter in objcopy.c.
229 (S3Forced): New global variable set by a parameter in
230 objcopy.c.
231 (srec_set_section_contents): If S3Forced is true, always generate
232 S3 records.
233 (srec_write_section): Use 'Chunk' to limit maximum length of S
234 records.
235
59ff2774
NC
2362000-11-02 Per Lundberg <plundis@chaosdev.org>
237
238 * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
239 * Makefile.in: Regenerate.
240 * bfd-in2.h: Regenerate.
241 * po/bfd.pot: Regenerate.
242
ee43f35e
PB
2432000-10-31 Philip Blundell <philb@gnu.org>
244
245 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
246 EF_SOFT_FLOAT if it is defined.
247
1006ba19
PB
2482000-10-27 Philip Blundell <philb@gnu.org>
249
250 * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
251 attempts to mix PIC code with non-PIC, just mark the output as
252 being position dependent.
253 (elf32_arm_merge_private_bfd_data): Likewise. Print an error
254 message for EF_SOFT_FLOAT mismatches. Display diagnostics for
255 all mismatches, not just the first one.
256
c4920b97
NC
2572000-10-25 Chris Demetriou <cgd@sibyte.com>
258
259 * ieee.c (ieee_archive_p): Plug one of many possible
260 memory leaks in error handling.
261
19f7b010
JJ
2622000-10-20 Jakub Jelinek <jakub@redhat.com>
263
264 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
265 elf32_sparc_object_p, elf32_sparc_final_write_processing):
266 Support v8plusb.
267 * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
268 sparc64_elf_object_p): Support v9b.
269 * archures.c: Declare v8plusb and v9b machines.
270 * bfd-in2.h: Ditto.
271 * cpu-sparc.c: Ditto.
272
e1e0340b
GK
2732000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
274
ea5fbc67
GK
275 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
276 of a GOT reloc.
277
e1e0340b
GK
278 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
279 (SYMBOL_CALLS_LOCAL): New macro.
280 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
281 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
282 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
283 (ppc_elf_relocate_section): Use flag variable to determine
284 whether the relocation refers to a local symbol.
285 Test whether a PLTREL24 reloc will produce a reloc by looking
286 to see whether a PLT entry was made.
287
a4b120e1
GK
2882000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
289
290 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
291 entries that could serve as a definition for a weak symbol.
292
5af5b85b
UC
2932000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
294
295 From Ralf Baechle <ralf@gnu.org>
296
297 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
298 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
299 against local symbols.
300 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
301
3ef20aaa
AM
3022000-10-12 Alan Modra <alan@linuxcare.com.au>
303
24376d1b
AM
304 * section.c (struct sec): Add kept_section.
305 (struct bfd_comdat_info): Remove sec, we can use above.
306 (STD_SECTION): Add initializer.
307 (bfd_make_section_anyway): Init here too.
308
309 * bfd-in2.h: Regenerate.
310
311 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
312 zeroing of `flags'.
313 (elf_link_input_bfd): Set all asection->symbol->value's here, and
314 fudge values for discarded link-once section symbols.
315
3ef20aaa
AM
316 * elf64-hppa.c: Include alloca-conf.h
317
c0e219cc
AM
3182000-10-11 Alan Modra <alan@linuxcare.com.au>
319
d01e2a23
AM
320 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
321
c0e219cc
AM
322 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
323
fe268b66
AM
3242000-10-10 Alan Modra <alan@linuxcare.com.au>
325
326 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
327
4d7ce4dd
AM
3282000-10-10 Tom Rix <trix@redhat.com>
329
330 * section.c (bfd_make_section_anyway): Release newsect ptr when
331 newsect->symbol fails to alloc. Use bfd_release instead of free.
332
f3b6f7c3
RH
3332000-10-09 Richard Henderson <rth@cygnus.com
334
335 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
336 (elf64_ia64_unwind_entry_compare): New.
337 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
338
44852b19
AM
3392000-10-07 Alan Modra <alan@linuxcare.com.au>
340
fc8c40a0
AM
341 * elflink.h (size_dynamic_sections): Don't create various tags if
342 .dynstr is excluded from the link. Don't set first dynsym entry
343 if dynsymcount is zero.
344 (elf_bfd_final_link): Don't try to swap out dynamic syms if
345 .dynsym excluded from the link. Don't try to write any dynamic
346 sections excluded from the link.
347
44852b19
AM
348 * elf.c (swap_out_syms): Handle global section symbols.
349
3e4554a2
DD
3502000-10-05 DJ Delorie <dj@redhat.com>
351
352 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
353 * coffcode.h (coff_set_alignment_hook): read extended reloc count
354 (coff_write_relocs): write extended reloc count
355 (coff_write_object_contents): account for extended relocs
356
fa152c49
JW
3572000-10-05 Jim Wilson <wilson@cygnus.com>
358
359 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
360 field.
361 * elf.c (_bfd_elf_make_section_from_shdr): Call the
362 elf_backend_section_flags function.
363 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
364 code.
365 (elf64_ia64_section_flags): New function containing flag conversion
366 code.
367 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
368 * elfxx-target.h (elf_backend_section_flags): Define.
369 (elfNN_bed): Initialize elf_backend_section_flags field.
370
36605136
AM
3712000-10-02 Alan Modra <alan@linuxcare.com.au>
372
373 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
374 _bfd_elf32_gc_record_vtable. Correct a comment.
375
4b6609a0
UC
3762000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
377
378 From Ralf Baechle <ralf@gnu.org>
379
380 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
381 produces binaries with got[1] = 0x80000001 to differenciate them
382 for the dynamic linker from the broken binaries produced by old
383 versions.
36605136 384
f572a39d
AM
3852000-09-30 Petr Sorfa <petrs@sco.com>
386
387 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
388 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
389 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
390 * configure: Regenerate.
391
4da81684
HPN
3922000-09-27 Hans-Peter Nilsson <hp@axis.com>
393
394 Define two bfd_targets for absence and presence of leading
395 underscore on symbols. Make sure to only link same kind.
396 * elf32-cris.c (cris_elf_object_p,
397 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
398 cris_elf_merge_private_bfd_data): New.
399 (elf_backend_object_p, elf_backend_final_write_processing,
400 bfd_elf32_bfd_print_private_bfd_data,
401 bfd_elf32_bfd_merge_private_bfd_data): Define.
402 <Target vector definition>: Include elf32-target.h twice with
403 different macro settings:
404 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
405 bfd_elf32_us_cris_vec.
406 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
407 (elf_symbol_leading_char): First as 0, then '_'.
408 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
409 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
410 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
411 * configure: Regenerate.
412 * targets.c: Declare bfd_elf32_us_cris_vec.
413 * po/bfd.pot: Regenerate.
414
9a5aca8c
AM
4152000-09-29 Momchil Velikov <velco@fadata.bg>
416
417 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
418 R_ARM_THM_PC22 relocations.
419
512a2384
AM
4202000-09-29 NIIBE Yutaka <gniibe@chroot.org>
421
422 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
423
6c99a5c3
AM
4242000-09-29 Momchil Velikov <velco@fadata.bg>
425
426 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
427 is has the SEC_HAS_CONTENTS flag set.
428