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