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