2000-10-27 Philip Blundell <philb@gnu.org>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
1006ba19
PB
12000-10-27 Philip Blundell <philb@gnu.org>
2
3 * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
4 attempts to mix PIC code with non-PIC, just mark the output as
5 being position dependent.
6 (elf32_arm_merge_private_bfd_data): Likewise. Print an error
7 message for EF_SOFT_FLOAT mismatches. Display diagnostics for
8 all mismatches, not just the first one.
9
c4920b97
NC
102000-10-25 Chris Demetriou <cgd@sibyte.com>
11
12 * ieee.c (ieee_archive_p): Plug one of many possible
13 memory leaks in error handling.
14
19f7b010
JJ
152000-10-20 Jakub Jelinek <jakub@redhat.com>
16
17 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
18 elf32_sparc_object_p, elf32_sparc_final_write_processing):
19 Support v8plusb.
20 * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
21 sparc64_elf_object_p): Support v9b.
22 * archures.c: Declare v8plusb and v9b machines.
23 * bfd-in2.h: Ditto.
24 * cpu-sparc.c: Ditto.
25
e1e0340b
GK
262000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
27
ea5fbc67
GK
28 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
29 of a GOT reloc.
30
e1e0340b
GK
31 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
32 (SYMBOL_CALLS_LOCAL): New macro.
33 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
34 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
35 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
36 (ppc_elf_relocate_section): Use flag variable to determine
37 whether the relocation refers to a local symbol.
38 Test whether a PLTREL24 reloc will produce a reloc by looking
39 to see whether a PLT entry was made.
40
a4b120e1
GK
412000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
42
43 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
44 entries that could serve as a definition for a weak symbol.
45
5af5b85b
UC
462000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
47
48 From Ralf Baechle <ralf@gnu.org>
49
50 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
51 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
52 against local symbols.
53 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
54
3ef20aaa
AM
552000-10-12 Alan Modra <alan@linuxcare.com.au>
56
24376d1b
AM
57 * section.c (struct sec): Add kept_section.
58 (struct bfd_comdat_info): Remove sec, we can use above.
59 (STD_SECTION): Add initializer.
60 (bfd_make_section_anyway): Init here too.
61
62 * bfd-in2.h: Regenerate.
63
64 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
65 zeroing of `flags'.
66 (elf_link_input_bfd): Set all asection->symbol->value's here, and
67 fudge values for discarded link-once section symbols.
68
3ef20aaa
AM
69 * elf64-hppa.c: Include alloca-conf.h
70
c0e219cc
AM
712000-10-11 Alan Modra <alan@linuxcare.com.au>
72
d01e2a23
AM
73 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
74
c0e219cc
AM
75 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
76
fe268b66
AM
772000-10-10 Alan Modra <alan@linuxcare.com.au>
78
79 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
80
4d7ce4dd
AM
812000-10-10 Tom Rix <trix@redhat.com>
82
83 * section.c (bfd_make_section_anyway): Release newsect ptr when
84 newsect->symbol fails to alloc. Use bfd_release instead of free.
85
f3b6f7c3
RH
862000-10-09 Richard Henderson <rth@cygnus.com
87
88 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
89 (elf64_ia64_unwind_entry_compare): New.
90 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
91
44852b19
AM
922000-10-07 Alan Modra <alan@linuxcare.com.au>
93
fc8c40a0
AM
94 * elflink.h (size_dynamic_sections): Don't create various tags if
95 .dynstr is excluded from the link. Don't set first dynsym entry
96 if dynsymcount is zero.
97 (elf_bfd_final_link): Don't try to swap out dynamic syms if
98 .dynsym excluded from the link. Don't try to write any dynamic
99 sections excluded from the link.
100
44852b19
AM
101 * elf.c (swap_out_syms): Handle global section symbols.
102
3e4554a2
DD
1032000-10-05 DJ Delorie <dj@redhat.com>
104
105 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
106 * coffcode.h (coff_set_alignment_hook): read extended reloc count
107 (coff_write_relocs): write extended reloc count
108 (coff_write_object_contents): account for extended relocs
109
fa152c49
JW
1102000-10-05 Jim Wilson <wilson@cygnus.com>
111
112 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
113 field.
114 * elf.c (_bfd_elf_make_section_from_shdr): Call the
115 elf_backend_section_flags function.
116 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
117 code.
118 (elf64_ia64_section_flags): New function containing flag conversion
119 code.
120 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
121 * elfxx-target.h (elf_backend_section_flags): Define.
122 (elfNN_bed): Initialize elf_backend_section_flags field.
123
36605136
AM
1242000-10-02 Alan Modra <alan@linuxcare.com.au>
125
126 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
127 _bfd_elf32_gc_record_vtable. Correct a comment.
128
4b6609a0
UC
1292000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
130
131 From Ralf Baechle <ralf@gnu.org>
132
133 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
134 produces binaries with got[1] = 0x80000001 to differenciate them
135 for the dynamic linker from the broken binaries produced by old
136 versions.
36605136 137
f572a39d
AM
1382000-09-30 Petr Sorfa <petrs@sco.com>
139
140 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
141 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
142 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
143 * configure: Regenerate.
144
4da81684
HPN
1452000-09-27 Hans-Peter Nilsson <hp@axis.com>
146
147 Define two bfd_targets for absence and presence of leading
148 underscore on symbols. Make sure to only link same kind.
149 * elf32-cris.c (cris_elf_object_p,
150 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
151 cris_elf_merge_private_bfd_data): New.
152 (elf_backend_object_p, elf_backend_final_write_processing,
153 bfd_elf32_bfd_print_private_bfd_data,
154 bfd_elf32_bfd_merge_private_bfd_data): Define.
155 <Target vector definition>: Include elf32-target.h twice with
156 different macro settings:
157 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
158 bfd_elf32_us_cris_vec.
159 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
160 (elf_symbol_leading_char): First as 0, then '_'.
161 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
162 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
163 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
164 * configure: Regenerate.
165 * targets.c: Declare bfd_elf32_us_cris_vec.
166 * po/bfd.pot: Regenerate.
167
9a5aca8c
AM
1682000-09-29 Momchil Velikov <velco@fadata.bg>
169
170 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
171 R_ARM_THM_PC22 relocations.
172
512a2384
AM
1732000-09-29 NIIBE Yutaka <gniibe@chroot.org>
174
175 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
176
6c99a5c3
AM
1772000-09-29 Momchil Velikov <velco@fadata.bg>
178
179 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
180 is has the SEC_HAS_CONTENTS flag set.
181