* elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
dac544a8
RH
12000-11-15 Richard Henderson <rth@redhat.com>
2
3 * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
4 section with the same ALLOC|LOAD flags as the source section.
5
c810873d
JJ
62000-11-14 Jakub Jelinek <jakub@redhat.com>
7
8 * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
9 by STO_ALPHA constants.
10
43646c9d
KH
112000-11-14 Kazu Hirata <kazu@hxi.com>
12
13 * coff-pmac.c: Fix formatting.
14 * coff-ppc.c: Likewise.
15
051b8577
L
162000-11-13 H.J. Lu <hjl@gnu.org>
17
18 * elflink.h (elf_link_add_object_symbols): Also add indirect
19 symbols for common symbols with the default version.
20
90460d97
PB
212000-11-09 Philip Blundell <pb@futuretv.com>
22
23 * section.c (STD_SECTION): Set gc_mark flag.
24
b48499ec
KH
252000-11-11 Kazu Hirata <kazu@hxi.com>
26
27 * coff-i960.c: Likewise.
28 * coff-m68k.c: Likewise.
29 * coff-m88k.c: Likewise.
30 * coff-mcore.c: Likewise.
31 * coff-mips.c: Likewise.
32
c5aeb40f
AO
332000-11-11 Bernd Schmidt <bernds@cygnus.co.uk>
34
35 * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
36
5fcfd273
KH
372000-11-10 Kazu Hirata <kazu@hxi.com>
38
39 * coff-h8300.c: Fix formatting.
40 * coff-h8500.c: Likewise.
41 * coff-i386.c: Likewise.
42 * coff-i860.c: Likewise.
43 * coff-i960.c: Likewise.
44 * coff-ia64.c: Likewise.
45
047066e1
KH
462000-11-09 Kazu Hirata <kazu@hxi.com>
47
48 * archive.c: Fix formatting.
49 * archures.c: Likewise.
50
9a951beb
RH
512000-11-07 Richard Henderson <rth@redhat.com>
52
53 * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
54 Set it before bfd_elf64_bfd_final_link call. Use it after the call.
55 * section.c (bfd_set_section_contents): Call memcpy if
56 section->contents set and location not equal to contents plus offset.
57
aebad5fe
KH
582000-11-08 Kazu Hirata <kazu@hxi.com>
59
8546af74
KH
60 * bfd-in.h: Fix formatting.
61 * bfd-in2.h: Likewise.
62 * bfd.c: Likewise.
aebad5fe
KH
63 * binary.c: Likewise.
64 * bout.c: Likewise.
346ceb11
KH
65 * coff-a29k.c: Likewise.
66 * coff-alpha.c: Likewise.
67 * coff-apollo.c: Likewise.
68 * coff-aux.c: Likewise.
aebad5fe 69
0ef5a5bd
KH
702000-11-07 Kazu Hirata <kazu@hxi.com>
71
72 * aix386-core.c: Fix formatting.
73 * aoutf1.h: Likewise.
74 * aoutx.h: Likewise.
75 * archures.c: Likewise.
76 * armnetbsd.c: Likewise.
77
d562d2fb
AM
782000-11-07 Alan Modra <alan@linuxcare.com.au>
79
80 * coff-h8300.c (special): Adjust reloc address.
81
bbe66d08
JW
822000-11-06 Steve Ellcey <sje@cup.hp.com>
83
4efc3e05 84 * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
bbe66d08
JW
85 to differentiate elf32 and elf64 on ia64.
86 * bfd-in2.h: Regenerate.
87 * config.bfd: Add target for "ia64*-*-hpux*".
88 * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
89 * configure: Regenerate.
4efc3e05 90 * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
bbe66d08
JW
91 * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
92
93 * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
94 from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
95 * Makefile.in: Regnerate.
4efc3e05 96 * elf64-ia64.c: Deleted.
bbe66d08
JW
97 * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
98
c4dfa77f
KH
992000-11-06 Kazu Hirata <kazu@hxi.com>
100
101 * aout-adobe.c: Fix formatting.
102 * aout-arm.c: Likewise.
103 * aout-cris.c: Likewise.
104 * aout-encap.c: Likewise.
105 * aout-ns32k.c: Likewise.
106 * aout-target.h: Likewise.
107 * aout-tic30.c: Likewise.
108
cf919dfd
PB
1092000-11-05 Philip Blundell <philb@gnu.org>
110
111 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
112 BFDs containing no sections to be merged, regardless of their flags.
113
1142000-11-04 Philip Blundell <philb@gnu.org>
115
116 * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
117 if a relocation for an undefined symbol also results in an
118 overflow.
119
8848a8d0
CF
120Mon Nov 6 13:35:07 2000 Christopher Faylor <cgf@cygnus.com>
121
122 * config.bfd: Add support for Sun Chorus.
123
46d59bfa
DB
1242000-11-05 David O'Brien <obrien@FreeBSD.org>
125
126 * configure.in: Recognize alpha-*-freebsd*.
127 * configure: Regenerate.
128
420496c1
NC
1292000-11-02 Luciano Gemme <ishitawa@yahoo.com>
130
131 * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
132 (Chunk): New global variable set by a parameter in objcopy.c.
133 (S3Forced): New global variable set by a parameter in
134 objcopy.c.
135 (srec_set_section_contents): If S3Forced is true, always generate
136 S3 records.
137 (srec_write_section): Use 'Chunk' to limit maximum length of S
138 records.
139
59ff2774
NC
1402000-11-02 Per Lundberg <plundis@chaosdev.org>
141
142 * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
143 * Makefile.in: Regenerate.
144 * bfd-in2.h: Regenerate.
145 * po/bfd.pot: Regenerate.
146
ee43f35e
PB
1472000-10-31 Philip Blundell <philb@gnu.org>
148
149 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
150 EF_SOFT_FLOAT if it is defined.
151
1006ba19
PB
1522000-10-27 Philip Blundell <philb@gnu.org>
153
154 * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
155 attempts to mix PIC code with non-PIC, just mark the output as
156 being position dependent.
157 (elf32_arm_merge_private_bfd_data): Likewise. Print an error
158 message for EF_SOFT_FLOAT mismatches. Display diagnostics for
159 all mismatches, not just the first one.
160
c4920b97
NC
1612000-10-25 Chris Demetriou <cgd@sibyte.com>
162
163 * ieee.c (ieee_archive_p): Plug one of many possible
164 memory leaks in error handling.
165
19f7b010
JJ
1662000-10-20 Jakub Jelinek <jakub@redhat.com>
167
168 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
169 elf32_sparc_object_p, elf32_sparc_final_write_processing):
170 Support v8plusb.
171 * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
172 sparc64_elf_object_p): Support v9b.
173 * archures.c: Declare v8plusb and v9b machines.
174 * bfd-in2.h: Ditto.
175 * cpu-sparc.c: Ditto.
176
e1e0340b
GK
1772000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
178
ea5fbc67
GK
179 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
180 of a GOT reloc.
181
e1e0340b
GK
182 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
183 (SYMBOL_CALLS_LOCAL): New macro.
184 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
185 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
186 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
187 (ppc_elf_relocate_section): Use flag variable to determine
188 whether the relocation refers to a local symbol.
189 Test whether a PLTREL24 reloc will produce a reloc by looking
190 to see whether a PLT entry was made.
191
a4b120e1
GK
1922000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
193
194 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
195 entries that could serve as a definition for a weak symbol.
196
5af5b85b
UC
1972000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
198
199 From Ralf Baechle <ralf@gnu.org>
200
201 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
202 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
203 against local symbols.
204 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
205
3ef20aaa
AM
2062000-10-12 Alan Modra <alan@linuxcare.com.au>
207
24376d1b
AM
208 * section.c (struct sec): Add kept_section.
209 (struct bfd_comdat_info): Remove sec, we can use above.
210 (STD_SECTION): Add initializer.
211 (bfd_make_section_anyway): Init here too.
212
213 * bfd-in2.h: Regenerate.
214
215 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
216 zeroing of `flags'.
217 (elf_link_input_bfd): Set all asection->symbol->value's here, and
218 fudge values for discarded link-once section symbols.
219
3ef20aaa
AM
220 * elf64-hppa.c: Include alloca-conf.h
221
c0e219cc
AM
2222000-10-11 Alan Modra <alan@linuxcare.com.au>
223
d01e2a23
AM
224 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
225
c0e219cc
AM
226 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
227
fe268b66
AM
2282000-10-10 Alan Modra <alan@linuxcare.com.au>
229
230 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
231
4d7ce4dd
AM
2322000-10-10 Tom Rix <trix@redhat.com>
233
234 * section.c (bfd_make_section_anyway): Release newsect ptr when
235 newsect->symbol fails to alloc. Use bfd_release instead of free.
236
f3b6f7c3
RH
2372000-10-09 Richard Henderson <rth@cygnus.com
238
239 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
240 (elf64_ia64_unwind_entry_compare): New.
241 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
242
44852b19
AM
2432000-10-07 Alan Modra <alan@linuxcare.com.au>
244
fc8c40a0
AM
245 * elflink.h (size_dynamic_sections): Don't create various tags if
246 .dynstr is excluded from the link. Don't set first dynsym entry
247 if dynsymcount is zero.
248 (elf_bfd_final_link): Don't try to swap out dynamic syms if
249 .dynsym excluded from the link. Don't try to write any dynamic
250 sections excluded from the link.
251
44852b19
AM
252 * elf.c (swap_out_syms): Handle global section symbols.
253
3e4554a2
DD
2542000-10-05 DJ Delorie <dj@redhat.com>
255
256 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
257 * coffcode.h (coff_set_alignment_hook): read extended reloc count
258 (coff_write_relocs): write extended reloc count
259 (coff_write_object_contents): account for extended relocs
260
fa152c49
JW
2612000-10-05 Jim Wilson <wilson@cygnus.com>
262
263 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
264 field.
265 * elf.c (_bfd_elf_make_section_from_shdr): Call the
266 elf_backend_section_flags function.
267 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
268 code.
269 (elf64_ia64_section_flags): New function containing flag conversion
270 code.
271 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
272 * elfxx-target.h (elf_backend_section_flags): Define.
273 (elfNN_bed): Initialize elf_backend_section_flags field.
274
36605136
AM
2752000-10-02 Alan Modra <alan@linuxcare.com.au>
276
277 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
278 _bfd_elf32_gc_record_vtable. Correct a comment.
279
4b6609a0
UC
2802000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
281
282 From Ralf Baechle <ralf@gnu.org>
283
284 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
285 produces binaries with got[1] = 0x80000001 to differenciate them
286 for the dynamic linker from the broken binaries produced by old
287 versions.
36605136 288
f572a39d
AM
2892000-09-30 Petr Sorfa <petrs@sco.com>
290
291 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
292 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
293 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
294 * configure: Regenerate.
295
4da81684
HPN
2962000-09-27 Hans-Peter Nilsson <hp@axis.com>
297
298 Define two bfd_targets for absence and presence of leading
299 underscore on symbols. Make sure to only link same kind.
300 * elf32-cris.c (cris_elf_object_p,
301 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
302 cris_elf_merge_private_bfd_data): New.
303 (elf_backend_object_p, elf_backend_final_write_processing,
304 bfd_elf32_bfd_print_private_bfd_data,
305 bfd_elf32_bfd_merge_private_bfd_data): Define.
306 <Target vector definition>: Include elf32-target.h twice with
307 different macro settings:
308 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
309 bfd_elf32_us_cris_vec.
310 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
311 (elf_symbol_leading_char): First as 0, then '_'.
312 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
313 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
314 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
315 * configure: Regenerate.
316 * targets.c: Declare bfd_elf32_us_cris_vec.
317 * po/bfd.pot: Regenerate.
318
9a5aca8c
AM
3192000-09-29 Momchil Velikov <velco@fadata.bg>
320
321 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
322 R_ARM_THM_PC22 relocations.
323
512a2384
AM
3242000-09-29 NIIBE Yutaka <gniibe@chroot.org>
325
326 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
327
6c99a5c3
AM
3282000-09-29 Momchil Velikov <velco@fadata.bg>
329
330 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
331 is has the SEC_HAS_CONTENTS flag set.
332