2000-11-08 Kazu Hirata <kazu@hxi.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
9a951beb
RH
12000-11-07 Richard Henderson <rth@redhat.com>
2
3 * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
4 Set it before bfd_elf64_bfd_final_link call. Use it after the call.
5 * section.c (bfd_set_section_contents): Call memcpy if
6 section->contents set and location not equal to contents plus offset.
7
aebad5fe
KH
82000-11-08 Kazu Hirata <kazu@hxi.com>
9
8546af74
KH
10 * bfd-in.h: Fix formatting.
11 * bfd-in2.h: Likewise.
12 * bfd.c: Likewise.
aebad5fe
KH
13 * binary.c: Likewise.
14 * bout.c: Likewise.
15
0ef5a5bd
KH
162000-11-07 Kazu Hirata <kazu@hxi.com>
17
18 * aix386-core.c: Fix formatting.
19 * aoutf1.h: Likewise.
20 * aoutx.h: Likewise.
21 * archures.c: Likewise.
22 * armnetbsd.c: Likewise.
23
d562d2fb
AM
242000-11-07 Alan Modra <alan@linuxcare.com.au>
25
26 * coff-h8300.c (special): Adjust reloc address.
27
bbe66d08
JW
282000-11-06 Steve Ellcey <sje@cup.hp.com>
29
4efc3e05 30 * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
bbe66d08
JW
31 to differentiate elf32 and elf64 on ia64.
32 * bfd-in2.h: Regenerate.
33 * config.bfd: Add target for "ia64*-*-hpux*".
34 * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
35 * configure: Regenerate.
4efc3e05 36 * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
bbe66d08
JW
37 * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
38
39 * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
40 from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
41 * Makefile.in: Regnerate.
4efc3e05 42 * elf64-ia64.c: Deleted.
bbe66d08
JW
43 * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
44
c4dfa77f
KH
452000-11-06 Kazu Hirata <kazu@hxi.com>
46
47 * aout-adobe.c: Fix formatting.
48 * aout-arm.c: Likewise.
49 * aout-cris.c: Likewise.
50 * aout-encap.c: Likewise.
51 * aout-ns32k.c: Likewise.
52 * aout-target.h: Likewise.
53 * aout-tic30.c: Likewise.
54
cf919dfd
PB
552000-11-05 Philip Blundell <philb@gnu.org>
56
57 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
58 BFDs containing no sections to be merged, regardless of their flags.
59
602000-11-04 Philip Blundell <philb@gnu.org>
61
62 * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
63 if a relocation for an undefined symbol also results in an
64 overflow.
65
8848a8d0
CF
66Mon Nov 6 13:35:07 2000 Christopher Faylor <cgf@cygnus.com>
67
68 * config.bfd: Add support for Sun Chorus.
69
46d59bfa
DB
702000-11-05 David O'Brien <obrien@FreeBSD.org>
71
72 * configure.in: Recognize alpha-*-freebsd*.
73 * configure: Regenerate.
74
420496c1
NC
752000-11-02 Luciano Gemme <ishitawa@yahoo.com>
76
77 * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
78 (Chunk): New global variable set by a parameter in objcopy.c.
79 (S3Forced): New global variable set by a parameter in
80 objcopy.c.
81 (srec_set_section_contents): If S3Forced is true, always generate
82 S3 records.
83 (srec_write_section): Use 'Chunk' to limit maximum length of S
84 records.
85
59ff2774
NC
862000-11-02 Per Lundberg <plundis@chaosdev.org>
87
88 * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
89 * Makefile.in: Regenerate.
90 * bfd-in2.h: Regenerate.
91 * po/bfd.pot: Regenerate.
92
ee43f35e
PB
932000-10-31 Philip Blundell <philb@gnu.org>
94
95 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
96 EF_SOFT_FLOAT if it is defined.
97
1006ba19
PB
982000-10-27 Philip Blundell <philb@gnu.org>
99
100 * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
101 attempts to mix PIC code with non-PIC, just mark the output as
102 being position dependent.
103 (elf32_arm_merge_private_bfd_data): Likewise. Print an error
104 message for EF_SOFT_FLOAT mismatches. Display diagnostics for
105 all mismatches, not just the first one.
106
c4920b97
NC
1072000-10-25 Chris Demetriou <cgd@sibyte.com>
108
109 * ieee.c (ieee_archive_p): Plug one of many possible
110 memory leaks in error handling.
111
19f7b010
JJ
1122000-10-20 Jakub Jelinek <jakub@redhat.com>
113
114 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
115 elf32_sparc_object_p, elf32_sparc_final_write_processing):
116 Support v8plusb.
117 * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
118 sparc64_elf_object_p): Support v9b.
119 * archures.c: Declare v8plusb and v9b machines.
120 * bfd-in2.h: Ditto.
121 * cpu-sparc.c: Ditto.
122
e1e0340b
GK
1232000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
124
ea5fbc67
GK
125 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
126 of a GOT reloc.
127
e1e0340b
GK
128 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
129 (SYMBOL_CALLS_LOCAL): New macro.
130 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
131 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
132 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
133 (ppc_elf_relocate_section): Use flag variable to determine
134 whether the relocation refers to a local symbol.
135 Test whether a PLTREL24 reloc will produce a reloc by looking
136 to see whether a PLT entry was made.
137
a4b120e1
GK
1382000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
139
140 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
141 entries that could serve as a definition for a weak symbol.
142
5af5b85b
UC
1432000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
144
145 From Ralf Baechle <ralf@gnu.org>
146
147 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
148 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
149 against local symbols.
150 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
151
3ef20aaa
AM
1522000-10-12 Alan Modra <alan@linuxcare.com.au>
153
24376d1b
AM
154 * section.c (struct sec): Add kept_section.
155 (struct bfd_comdat_info): Remove sec, we can use above.
156 (STD_SECTION): Add initializer.
157 (bfd_make_section_anyway): Init here too.
158
159 * bfd-in2.h: Regenerate.
160
161 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
162 zeroing of `flags'.
163 (elf_link_input_bfd): Set all asection->symbol->value's here, and
164 fudge values for discarded link-once section symbols.
165
3ef20aaa
AM
166 * elf64-hppa.c: Include alloca-conf.h
167
c0e219cc
AM
1682000-10-11 Alan Modra <alan@linuxcare.com.au>
169
d01e2a23
AM
170 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
171
c0e219cc
AM
172 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
173
fe268b66
AM
1742000-10-10 Alan Modra <alan@linuxcare.com.au>
175
176 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
177
4d7ce4dd
AM
1782000-10-10 Tom Rix <trix@redhat.com>
179
180 * section.c (bfd_make_section_anyway): Release newsect ptr when
181 newsect->symbol fails to alloc. Use bfd_release instead of free.
182
f3b6f7c3
RH
1832000-10-09 Richard Henderson <rth@cygnus.com
184
185 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
186 (elf64_ia64_unwind_entry_compare): New.
187 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
188
44852b19
AM
1892000-10-07 Alan Modra <alan@linuxcare.com.au>
190
fc8c40a0
AM
191 * elflink.h (size_dynamic_sections): Don't create various tags if
192 .dynstr is excluded from the link. Don't set first dynsym entry
193 if dynsymcount is zero.
194 (elf_bfd_final_link): Don't try to swap out dynamic syms if
195 .dynsym excluded from the link. Don't try to write any dynamic
196 sections excluded from the link.
197
44852b19
AM
198 * elf.c (swap_out_syms): Handle global section symbols.
199
3e4554a2
DD
2002000-10-05 DJ Delorie <dj@redhat.com>
201
202 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
203 * coffcode.h (coff_set_alignment_hook): read extended reloc count
204 (coff_write_relocs): write extended reloc count
205 (coff_write_object_contents): account for extended relocs
206
fa152c49
JW
2072000-10-05 Jim Wilson <wilson@cygnus.com>
208
209 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
210 field.
211 * elf.c (_bfd_elf_make_section_from_shdr): Call the
212 elf_backend_section_flags function.
213 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
214 code.
215 (elf64_ia64_section_flags): New function containing flag conversion
216 code.
217 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
218 * elfxx-target.h (elf_backend_section_flags): Define.
219 (elfNN_bed): Initialize elf_backend_section_flags field.
220
36605136
AM
2212000-10-02 Alan Modra <alan@linuxcare.com.au>
222
223 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
224 _bfd_elf32_gc_record_vtable. Correct a comment.
225
4b6609a0
UC
2262000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
227
228 From Ralf Baechle <ralf@gnu.org>
229
230 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
231 produces binaries with got[1] = 0x80000001 to differenciate them
232 for the dynamic linker from the broken binaries produced by old
233 versions.
36605136 234
f572a39d
AM
2352000-09-30 Petr Sorfa <petrs@sco.com>
236
237 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
238 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
239 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
240 * configure: Regenerate.
241
4da81684
HPN
2422000-09-27 Hans-Peter Nilsson <hp@axis.com>
243
244 Define two bfd_targets for absence and presence of leading
245 underscore on symbols. Make sure to only link same kind.
246 * elf32-cris.c (cris_elf_object_p,
247 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
248 cris_elf_merge_private_bfd_data): New.
249 (elf_backend_object_p, elf_backend_final_write_processing,
250 bfd_elf32_bfd_print_private_bfd_data,
251 bfd_elf32_bfd_merge_private_bfd_data): Define.
252 <Target vector definition>: Include elf32-target.h twice with
253 different macro settings:
254 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
255 bfd_elf32_us_cris_vec.
256 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
257 (elf_symbol_leading_char): First as 0, then '_'.
258 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
259 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
260 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
261 * configure: Regenerate.
262 * targets.c: Declare bfd_elf32_us_cris_vec.
263 * po/bfd.pot: Regenerate.
264
9a5aca8c
AM
2652000-09-29 Momchil Velikov <velco@fadata.bg>
266
267 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
268 R_ARM_THM_PC22 relocations.
269
512a2384
AM
2702000-09-29 NIIBE Yutaka <gniibe@chroot.org>
271
272 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
273
6c99a5c3
AM
2742000-09-29 Momchil Velikov <velco@fadata.bg>
275
276 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
277 is has the SEC_HAS_CONTENTS flag set.
278