Add MIPS32 as a seperate MIPS architecture
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
e7af610e
NC
12000-12-01 Chris Demetriou <cgd@sibyte.com>
2
3 * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and
4 bfd_mach_mips32_4k. Update FIXME comment.
5 * archures.c (bfd_mach_mips32): New constant.
6 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
7 the latter, renumber it.
8 * bfd-in2.h (bfd_mach_mips32): New constant.
9 (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
10 the latter, renumber it.
11 * cpu-mips.c (I_mips32): New constant.
12 (I_mips4K, I_mips32_4k): Rename the former to the latter.
13 (arch_info_struct): Add bfd_mach_mips32 entry, replace
14 bfd_mach_mips4K entry with bfd_mach_mips32_4k entry.
15 * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case.
16 (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32
17 with E_MIPS_MACH_MIPS32_4K.
18 (_bfd_mips_elf_final_write_processing): Replace
19 bfd_mach_mips4K with bfd_mach_mips32_4k case, add
20 bfd_mach_mips32 case.
21 (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing
22 comparison with support for MIPS32.
23 (_bfd_mips_elf_print_private_bfd_data): Print ISA name for
24 MIPS32.
25
ddcfc5fc
NC
262000-12-01 Joel Sherrill <joel@OARcorp.com>
27
28 * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets.
29 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
30 (sparc*-*-rtems*): Switched from a.out to ELF.
31
8d88c4ca
NC
322000-11-30 Jan Hubicka <jh@suse.cz>
33
34 * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo
35 BFD64_BACKENDS_CFILES): Add elf64-x86-64.c
36 (elf64-x86-64.lo): Add dependencies.
37 * archures.c (DESCRIPTION): Add bfd_mach_x86_64,
38 bfd_mach_x86_64_intel_syntax.
39 * elf.c (prep_headers): Use EM_x86_64 for 64bit output.
40 * config.bfd (x86_64): Add.
41 * configure.in: Add support for bfd_elf64_x86_64_vec.
42 * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add.
43 (bfd_i386_arch, i8086_ar): Link in.
44 * elf64-x86-64.c: New file.
45 * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*.
46 * targets.c (bfd_elf64_x86_64_vec): Add.
47 (bfd_target_vect): Add bfd_elf64_x86_64_vec.
48
fbc4fff4
KH
492000-11-30 Kazu Hirata <kazu@hxi.com>
50
51 * xcofflink.c: Fix formatting.
52
e60b52c6
KH
532000-11-28 Kazu Hirata <kazu@hxi.com>
54
55 * aoutx.h: Fix formatting.
56 * bfd-in.h: Likewise.
57 * bfd-in2.h: Likewise.
58 * cache.c: Likewise.
59 * cisco-core.c: Likewise.
60 * coff64-rs6000.c: Likewise.
61 * coffcode.h: Likewise.
62 * coffswap.h: Likewise.
63 * corefile.c: Likewise.
be3ccd9c 64 * elf32-mips.c: Likewise.
e60b52c6 65
336eced2
KH
662000-11-27 Kazu Hirata <kazu@hxi.com>
67
68 * aout-adobe.c: Fix formatting.
244148ad
KH
69 * coff64-rs6000.c: Likewise.
70 * coffgen.c: Likewise.
71 * cofflink.c: Likewise.
336eced2 72
d71f672e
PB
732000-11-27 Philip Blundell <pb@futuretv.com>
74
75 * libcoff-in.h (coff_tdata): Add `strings_written' flag.
76 (obj_coff_strings_written): New accessor macro for above.
77 * libcoff.h: Regenerate.
78 * cofflink.c (_bfd_coff_final_link): Say that we wrote the
79 strings.
80 * coffcode.h (coff_write_object_contents): No need to write out
81 the string table if it's already been done.
82
bc7a577d
PB
832000-11-22 Philip Blundell <pb@futuretv.com>
84
85 * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
86 weak undefined symbols.
87
077b8428
NC
882000-11-24 Nick Clifton <nickc@redhat.com>
89
90 * archures.c (bfd_mach_arm_5TE): Define.
91 (bfd_mach_arm+XScale): Define.
92 * bfd-in2.h: Regenerate.
93
94 * coff-arm.c (coff_arm_reloc_type_lookup): Accept
95 BFD_RELOC_ARM_PCREL_BLX.
96
97 * coffcode.h (coff_set_flags): Set flags for 5t, 5te and
98 XScale machine numbers.
99
100 * config.bfd (xscale-elf): Add target.
101 (xscale-coff): Add target.
102
103 * cpu-arm.c: Add xscale machine name.
104 Add v5t, v5te and XScale machine numbers.
105
e9e41bd9
KH
1062000-11-23 Kazu Hirata <kazu@hxi.com>
107
108 * aix386-core.c: Fix formatting.
109
64bf6ae6
JW
1102000-11-22 Jim Wilson <wilson@redhat.com>
111
112 * coff-ia64.c (howto_table): Use EMPTY_HOWTO.
113 (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
114 * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
115 (ins_imms_scaled): Initialize sign_bit at function entry.
116 (elf64_ia64_operands): Add missing initializers.
117 * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
118 elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
119 elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
120 elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
121 elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
122 parameters.
123 (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
124 and free_extsyms at function entry.
125 (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
126 (elfNN_ia64_create_dynamic_sections): Delete unused local h.
127 (get_got): Delete unused local srel.
128 (elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
129 (elfNN_ia64_relocate_section): Delete unused local dynindx.
130
1abaf976
KH
1312000-11-21 Kazu Hirata <kazu@hxi.com>
132
6e301b2b
KH
133 * coff-a29k.c: Fix formatting.
134 * coff-h8500.c: Likewise.
135 * coff-i960.c: Likewise.
136 * coff-ppc.c: Likewise.
137 * coff-rs6000.c: Likewise.
138 * coff-stgo32.c: Likewise.
139 * coff-tic54x.c: Likewise.
140 * coff-w65.c: Likewise.
141 * cpu-h8500.c: Likewise.
142 * cpu-hppa.c: Likewise.
143 * cpu-ns32k.c: Likewise.
144 * ecoff.c: Likewise.
1abaf976
KH
145 * ecofflink.c: Likewise.
146
a0fc8ba1
NC
1472000-11-21 Nick Clifton <nickc@redhat.com>
148
149 * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and
150 remove possibility of infinite loop.
151
beb0d161
KH
1522000-11-20 Kazu Hirata <kazu@hxi.com>
153
154 * aix386-core.c: Fix formatting.
155 * aout-adobe.c: Likewise.
156 * aout-arm.c: Likewise.
157 * aout-encap.c: Likewise.
158 * aout-ns32k.c: Likewise.
159 * aout-target.h: Likewise.
160 * aout-tic30.c: Likewise.
161 * aoutf1.h: Likewise.
162 * aoutx.h: Likewise.
163 * archive.c: Likewise.
eb6e10cb
KH
164 * bfd-in.h: Likewise.
165 * bfd-in2.h: Likewise.
166 * bfd.c: Likewise.
167 * bout.c: Likewise.
beb0d161 168
2c2475db
JW
1692000-11-17 H.J. Lu <hjl@gnu.org>
170
171 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
172 pltoff entries for DT_INIT and DT_FINI.
173 (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
174 (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
175 entries.
176
18b27f17
RH
1772000-11-16 Richard Henderson <rth@redhat.com>
178
179 * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
180 (allocate_dynrel_entries): Likewise.
181 (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
182 (set_pltoff_entry): Likewise.
183 (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
184 (elfNN_ia64_reloc_type_lookup): Likewise.
185 (elfNN_ia64_install_value): Likewise.
186 (elfNN_ia64_relocate_section): Likewise.
187 * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
188 (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
189
98591c73
KH
1902000-11-16 Kazu Hirata <kazu@hxi.com>
191
71f6b586
KH
192 * cpu-a29k.c: Fix formatting.
193 * cpu-alpha.c: Likewise.
194 * cpu-arm.c: Likewise.
195 * cpu-avr.c: Likewise.
196 * cpu-d10v.c: Likewise.
197 * cpu-h8500.c: Likewise.
198 * cpu-hppa.c: Likewise.
199 * cpu-i370.c: Likewise.
200 * cpu-i386.c: Likewise.
201 * cpu-i960.c: Likewise.
202 * cpu-ia64-opc.c: Likewise.
203 * cpu-ia64.c: Likewise.
204 * cpu-m32r.c: Likewise.
205 * cpu-m68hc11.c: Likewise.
206 * cpu-m68hc12.c: Likewise.
207 * cpu-m68k.c: Likewise.
208 * cpu-m88k.c: Likewise.
209 * cpu-mips.c: Likewise.
210 * cpu-ns32k.c: Likewise.
211 * cpu-pj.c: Likewise.
212 * cpu-powerpc.c: Likewise.
213 * cpu-sh.c: Likewise.
214 * cpu-sparc.c: Likewise.
215 * cpu-tic54x.c: Likewise.
216 * cpu-v850.c: Likewise.
217 * cpu-vax.c: Likewise.
218 * cpu-w65.c: Likewise.
219 * cpu-we32k.c: Likewise.
220 * cpu-z8k.c: Likewise.
221 * dwarf1.c: Likewise.
98591c73
KH
222 * dwarf2.c: Likewise.
223
c5930ee6
KH
2242000-11-15 Kazu Hirata <kazu@hxi.com>
225
226 * coff-arm.c: Fix formatting.
227 * coff-ppc.c: Likewise.
228 * coff-rs6000.c: Likewise.
cbfe05c4
KH
229 * coff-sh.c: Likewise.
230 * coff-sparc.c: Likewise.
231 * coff-tic30.c: Likewise.
232 * coff-tic54x.c: Likewise.
233 * coff-tic80.c: Likewise.
234 * coff-w65.c: Likewise.
235 * coff-we32k.c: Likewise.
236 * coff-z8k.c: Likewise.
c5930ee6 237
dac544a8
RH
2382000-11-15 Richard Henderson <rth@redhat.com>
239
240 * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
241 section with the same ALLOC|LOAD flags as the source section.
242
c810873d
JJ
2432000-11-14 Jakub Jelinek <jakub@redhat.com>
244
245 * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
246 by STO_ALPHA constants.
247
43646c9d
KH
2482000-11-14 Kazu Hirata <kazu@hxi.com>
249
250 * coff-pmac.c: Fix formatting.
251 * coff-ppc.c: Likewise.
252
051b8577
L
2532000-11-13 H.J. Lu <hjl@gnu.org>
254
255 * elflink.h (elf_link_add_object_symbols): Also add indirect
256 symbols for common symbols with the default version.
257
90460d97
PB
2582000-11-09 Philip Blundell <pb@futuretv.com>
259
260 * section.c (STD_SECTION): Set gc_mark flag.
261
b48499ec
KH
2622000-11-11 Kazu Hirata <kazu@hxi.com>
263
264 * coff-i960.c: Likewise.
265 * coff-m68k.c: Likewise.
266 * coff-m88k.c: Likewise.
267 * coff-mcore.c: Likewise.
268 * coff-mips.c: Likewise.
269
c5aeb40f
AO
2702000-11-11 Bernd Schmidt <bernds@cygnus.co.uk>
271
272 * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
273
5fcfd273
KH
2742000-11-10 Kazu Hirata <kazu@hxi.com>
275
276 * coff-h8300.c: Fix formatting.
277 * coff-h8500.c: Likewise.
278 * coff-i386.c: Likewise.
279 * coff-i860.c: Likewise.
280 * coff-i960.c: Likewise.
281 * coff-ia64.c: Likewise.
282
047066e1
KH
2832000-11-09 Kazu Hirata <kazu@hxi.com>
284
285 * archive.c: Fix formatting.
286 * archures.c: Likewise.
287
9a951beb
RH
2882000-11-07 Richard Henderson <rth@redhat.com>
289
290 * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
291 Set it before bfd_elf64_bfd_final_link call. Use it after the call.
292 * section.c (bfd_set_section_contents): Call memcpy if
293 section->contents set and location not equal to contents plus offset.
294
aebad5fe
KH
2952000-11-08 Kazu Hirata <kazu@hxi.com>
296
8546af74
KH
297 * bfd-in.h: Fix formatting.
298 * bfd-in2.h: Likewise.
299 * bfd.c: Likewise.
aebad5fe
KH
300 * binary.c: Likewise.
301 * bout.c: Likewise.
346ceb11
KH
302 * coff-a29k.c: Likewise.
303 * coff-alpha.c: Likewise.
304 * coff-apollo.c: Likewise.
305 * coff-aux.c: Likewise.
aebad5fe 306
0ef5a5bd
KH
3072000-11-07 Kazu Hirata <kazu@hxi.com>
308
309 * aix386-core.c: Fix formatting.
310 * aoutf1.h: Likewise.
311 * aoutx.h: Likewise.
312 * archures.c: Likewise.
313 * armnetbsd.c: Likewise.
314
d562d2fb
AM
3152000-11-07 Alan Modra <alan@linuxcare.com.au>
316
317 * coff-h8300.c (special): Adjust reloc address.
318
bbe66d08
JW
3192000-11-06 Steve Ellcey <sje@cup.hp.com>
320
4efc3e05 321 * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
bbe66d08
JW
322 to differentiate elf32 and elf64 on ia64.
323 * bfd-in2.h: Regenerate.
324 * config.bfd: Add target for "ia64*-*-hpux*".
325 * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
326 * configure: Regenerate.
4efc3e05 327 * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
bbe66d08
JW
328 * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
329
330 * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
331 from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
332 * Makefile.in: Regnerate.
4efc3e05 333 * elf64-ia64.c: Deleted.
bbe66d08
JW
334 * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
335
c4dfa77f
KH
3362000-11-06 Kazu Hirata <kazu@hxi.com>
337
338 * aout-adobe.c: Fix formatting.
339 * aout-arm.c: Likewise.
340 * aout-cris.c: Likewise.
341 * aout-encap.c: Likewise.
342 * aout-ns32k.c: Likewise.
343 * aout-target.h: Likewise.
344 * aout-tic30.c: Likewise.
345
cf919dfd
PB
3462000-11-05 Philip Blundell <philb@gnu.org>
347
348 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
349 BFDs containing no sections to be merged, regardless of their flags.
350
3512000-11-04 Philip Blundell <philb@gnu.org>
352
353 * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
354 if a relocation for an undefined symbol also results in an
355 overflow.
356
8d88c4ca 3572000-11-06 Christopher Faylor <cgf@cygnus.com>
8848a8d0
CF
358
359 * config.bfd: Add support for Sun Chorus.
360
46d59bfa
DB
3612000-11-05 David O'Brien <obrien@FreeBSD.org>
362
363 * configure.in: Recognize alpha-*-freebsd*.
364 * configure: Regenerate.
365
420496c1
NC
3662000-11-02 Luciano Gemme <ishitawa@yahoo.com>
367
368 * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
369 (Chunk): New global variable set by a parameter in objcopy.c.
370 (S3Forced): New global variable set by a parameter in
371 objcopy.c.
372 (srec_set_section_contents): If S3Forced is true, always generate
373 S3 records.
374 (srec_write_section): Use 'Chunk' to limit maximum length of S
375 records.
376
59ff2774
NC
3772000-11-02 Per Lundberg <plundis@chaosdev.org>
378
379 * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
380 * Makefile.in: Regenerate.
381 * bfd-in2.h: Regenerate.
382 * po/bfd.pot: Regenerate.
383
ee43f35e
PB
3842000-10-31 Philip Blundell <philb@gnu.org>
385
386 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
387 EF_SOFT_FLOAT if it is defined.
388
1006ba19
PB
3892000-10-27 Philip Blundell <philb@gnu.org>
390
391 * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
392 attempts to mix PIC code with non-PIC, just mark the output as
393 being position dependent.
394 (elf32_arm_merge_private_bfd_data): Likewise. Print an error
395 message for EF_SOFT_FLOAT mismatches. Display diagnostics for
396 all mismatches, not just the first one.
397
c4920b97
NC
3982000-10-25 Chris Demetriou <cgd@sibyte.com>
399
400 * ieee.c (ieee_archive_p): Plug one of many possible
401 memory leaks in error handling.
402
19f7b010
JJ
4032000-10-20 Jakub Jelinek <jakub@redhat.com>
404
405 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
406 elf32_sparc_object_p, elf32_sparc_final_write_processing):
407 Support v8plusb.
408 * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
409 sparc64_elf_object_p): Support v9b.
410 * archures.c: Declare v8plusb and v9b machines.
411 * bfd-in2.h: Ditto.
412 * cpu-sparc.c: Ditto.
413
e1e0340b
GK
4142000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
415
ea5fbc67
GK
416 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
417 of a GOT reloc.
418
e1e0340b
GK
419 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
420 (SYMBOL_CALLS_LOCAL): New macro.
421 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
422 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
423 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
424 (ppc_elf_relocate_section): Use flag variable to determine
425 whether the relocation refers to a local symbol.
426 Test whether a PLTREL24 reloc will produce a reloc by looking
427 to see whether a PLT entry was made.
428
a4b120e1
GK
4292000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
430
431 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
432 entries that could serve as a definition for a weak symbol.
433
5af5b85b
UC
4342000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
435
436 From Ralf Baechle <ralf@gnu.org>
437
438 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
439 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
440 against local symbols.
441 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
442
3ef20aaa
AM
4432000-10-12 Alan Modra <alan@linuxcare.com.au>
444
24376d1b
AM
445 * section.c (struct sec): Add kept_section.
446 (struct bfd_comdat_info): Remove sec, we can use above.
447 (STD_SECTION): Add initializer.
448 (bfd_make_section_anyway): Init here too.
449
450 * bfd-in2.h: Regenerate.
451
452 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
453 zeroing of `flags'.
454 (elf_link_input_bfd): Set all asection->symbol->value's here, and
455 fudge values for discarded link-once section symbols.
456
3ef20aaa
AM
457 * elf64-hppa.c: Include alloca-conf.h
458
c0e219cc
AM
4592000-10-11 Alan Modra <alan@linuxcare.com.au>
460
d01e2a23
AM
461 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
462
c0e219cc
AM
463 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
464
fe268b66
AM
4652000-10-10 Alan Modra <alan@linuxcare.com.au>
466
467 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
468
4d7ce4dd
AM
4692000-10-10 Tom Rix <trix@redhat.com>
470
471 * section.c (bfd_make_section_anyway): Release newsect ptr when
472 newsect->symbol fails to alloc. Use bfd_release instead of free.
473
f3b6f7c3
RH
4742000-10-09 Richard Henderson <rth@cygnus.com
475
476 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
477 (elf64_ia64_unwind_entry_compare): New.
478 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
479
44852b19
AM
4802000-10-07 Alan Modra <alan@linuxcare.com.au>
481
fc8c40a0
AM
482 * elflink.h (size_dynamic_sections): Don't create various tags if
483 .dynstr is excluded from the link. Don't set first dynsym entry
484 if dynsymcount is zero.
485 (elf_bfd_final_link): Don't try to swap out dynamic syms if
486 .dynsym excluded from the link. Don't try to write any dynamic
487 sections excluded from the link.
488
44852b19
AM
489 * elf.c (swap_out_syms): Handle global section symbols.
490
3e4554a2
DD
4912000-10-05 DJ Delorie <dj@redhat.com>
492
493 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
494 * coffcode.h (coff_set_alignment_hook): read extended reloc count
495 (coff_write_relocs): write extended reloc count
496 (coff_write_object_contents): account for extended relocs
497
fa152c49
JW
4982000-10-05 Jim Wilson <wilson@cygnus.com>
499
500 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
501 field.
502 * elf.c (_bfd_elf_make_section_from_shdr): Call the
503 elf_backend_section_flags function.
504 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
505 code.
506 (elf64_ia64_section_flags): New function containing flag conversion
507 code.
508 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
509 * elfxx-target.h (elf_backend_section_flags): Define.
510 (elfNN_bed): Initialize elf_backend_section_flags field.
511
36605136
AM
5122000-10-02 Alan Modra <alan@linuxcare.com.au>
513
514 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
515 _bfd_elf32_gc_record_vtable. Correct a comment.
516
4b6609a0
UC
5172000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
518
519 From Ralf Baechle <ralf@gnu.org>
520
521 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
522 produces binaries with got[1] = 0x80000001 to differenciate them
523 for the dynamic linker from the broken binaries produced by old
524 versions.
36605136 525
f572a39d
AM
5262000-09-30 Petr Sorfa <petrs@sco.com>
527
528 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
529 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
530 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
531 * configure: Regenerate.
532
4da81684
HPN
5332000-09-27 Hans-Peter Nilsson <hp@axis.com>
534
535 Define two bfd_targets for absence and presence of leading
536 underscore on symbols. Make sure to only link same kind.
537 * elf32-cris.c (cris_elf_object_p,
538 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
539 cris_elf_merge_private_bfd_data): New.
540 (elf_backend_object_p, elf_backend_final_write_processing,
541 bfd_elf32_bfd_print_private_bfd_data,
542 bfd_elf32_bfd_merge_private_bfd_data): Define.
543 <Target vector definition>: Include elf32-target.h twice with
544 different macro settings:
545 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
546 bfd_elf32_us_cris_vec.
547 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
548 (elf_symbol_leading_char): First as 0, then '_'.
549 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
550 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
551 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
552 * configure: Regenerate.
553 * targets.c: Declare bfd_elf32_us_cris_vec.
554 * po/bfd.pot: Regenerate.
555
9a5aca8c
AM
5562000-09-29 Momchil Velikov <velco@fadata.bg>
557
558 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
559 R_ARM_THM_PC22 relocations.
560
512a2384
AM
5612000-09-29 NIIBE Yutaka <gniibe@chroot.org>
562
563 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
564
6c99a5c3
AM
5652000-09-29 Momchil Velikov <velco@fadata.bg>
566
567 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
568 is has the SEC_HAS_CONTENTS flag set.
569