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