ChangeLog-0001 revision 1.1.1.2 1 1.1 skrll 2001-12-31 Jakub Jelinek <jakub (a] redhat.com>
2 1.1 skrll
3 1.1 skrll * elflink.h (elf_bfd_final_link): Check if dynobj is not NULL
4 1.1 skrll before looking for .eh_frame_hdr section.
5 1.1 skrll * elf-eh-frame.c (_bfd_elf_write_section_eh_frame_hdr): If
6 1.1 skrll .eh_frame_hdr section is being stripped from output, don't do
7 1.1 skrll anything.
8 1.1 skrll
9 1.1 skrll 2001-12-27 Tom Rix <trix (a] redhat.com>
10 1.1 skrll
11 1.1 skrll * coff-rs6000.c (xcoff_generate_rtinit): Clean data_buffer alloc/free.
12 1.1 skrll * coff64-rs6000.c (xcoff64_generate_rtinit): Same.
13 1.1 skrll (xcoff_write_archive_contents_big): Rewrite.
14 1.1 skrll (xcoff_write_armap_big): Rewrite.
15 1.1 skrll (xcoff_write_one_armap_big): Delete.
16 1.1 skrll * libxcoff.h : Clean up.
17 1.1 skrll
18 1.1 skrll 2001-12-21 Tom Rix <trix (a] redhat.com>
19 1.1 skrll
20 1.1 skrll * xcofflink.c (bfd_xcoff_link_generate_rtinit): New function.
21 1.1 skrll Interface to linker for generation of __rtinit.
22 1.1 skrll * libxcoff.h (struct xcoff_backend_data_rec): Add new ops to xcoff
23 1.1 skrll backend to generate special linker symbol __rtinit.
24 1.1 skrll * coff-rs6000.c (bfd_xcoff_backend_data, bfd_pmac_xcoff_backend_data)
25 1.1 skrll : Add new rtinit ops
26 1.1 skrll * coff64-rs6000.c (bfd_xcoff_aix5_backend_data,
27 1.1 skrll bfd_xcoff_backend_data): Same.
28 1.1 skrll * bfd-in.h: Add bfd_xcoff_link_generate_rtinit.
29 1.1 skrll * bfd-in2.h : Regenerate.
30 1.1 skrll
31 1.1 skrll 2001-12-21 Jakub Jelinek <jakub (a] redhat.com>
32 1.1 skrll
33 1.1 skrll * elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix dst_mask for
34 1.1 skrll R_SPARC_DISP32. Support R_SPARC_PLT32.
35 1.1 skrll (sparc_reloc_map): Add BFD_RELOC_16_PCREL and BFD_RELOC_SPARC_PLT32.
36 1.1 skrll (elf32_sparc_check_relocs): Handle R_SPARC_PLT32.
37 1.1 skrll (elf32_sparc_relocate_section): Likewise.
38 1.1 skrll * elf64-sparc.c (sparc64_elf_howto_table): Fix dst_mask for
39 1.1 skrll R_SPARC_DISP32. Support R_SPARC_PLT32 and R_SPARC_PLT64.
40 1.1 skrll (sparc_reloc_map): Add BFD_RELOC_16_PCREL, BFD_RELOC_64_PCREL
41 1.1 skrll and BFD_RELOC_SPARC_PLT32.
42 1.1 skrll (sparc64_elf_check_relocs): Handle R_SPARC_PLT32 and R_SPARC_PLT64.
43 1.1 skrll (sparc64_elf_relocate_section): Likewise.
44 1.1 skrll * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SPARC_PLT32.
45 1.1 skrll * bfd-in2.h, libbfd.h: Rebuilt.
46 1.1 skrll
47 1.1 skrll 2001-12-20 Tom Rix <trix (a] redhat.com>
48 1.1 skrll
49 1.1 skrll * coffcode.h (coff_compute_section_file_positions): Add special AIX
50 1.1 skrll loader alignment of text section.
51 1.1 skrll
52 1.1 skrll 2001-12-20 Jason Thorpe <thorpej (a] wasabisystems.com>
53 1.1 skrll
54 1.1 skrll * config.bfd (mips-dec-netbsd*): Delete alias for mips*el-*-netbsd*.
55 1.1 skrll
56 1.1 skrll * config.bfd (arm-*-netbsdelf*): Add target.
57 1.1 skrll * configure.in: Include netbsd-core.lo for native arm-*-netbsd*.
58 1.1 skrll * configure: Regenerate.
59 1.1 skrll
60 1.1 skrll 2001-12-20 Alan Modra <amodra (a] bigpond.net.au>
61 1.1 skrll
62 1.1 skrll * elfcode.h (elf_slurp_symbol_table): Test elf_elfsections for NULL,
63 1.1 skrll as can happen with a core file, before dereferencing.
64 1.1 skrll
65 1.1 skrll 2001-12-19 Michael Snyder <msnyder (a] redhat.com>
66 1.1 skrll
67 1.1 skrll * elf32-i386.c (elf_i386_grok_psinfo): Fix copy-and-paste error:
68 1.1 skrll target is i386 (not mips), and size of descdata is 124 (not 128).
69 1.1 skrll
70 1.1 skrll 2001-12-19 Jakub Jelinek <jakub (a] redhat.com>
71 1.1 skrll
72 1.1 skrll * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): If new_size
73 1.1 skrll is 0, temporarily grow it to minimal CIE size.
74 1.1 skrll (_bfd_elf_write_section_eh_frame): If input .eh_frame section would
75 1.1 skrll end up empty, build a fake minimal CIE.
76 1.1 skrll
77 1.1 skrll 2001-12-19 Steve Ellcey <sje (a] cup.hp.com>
78 1.1 skrll
79 1.1 skrll * config.bfd (bfd_elf32_ia64_hpux_big_vec): New vector for
80 1.1 skrll ia64*-*-hpux* target.
81 1.1 skrll (bfd_elf64_ia64_hpux_big_vec): Likewise.
82 1.1 skrll * targets.c: Ditto.
83 1.1 skrll * configure.in: Ditto.
84 1.1 skrll * configure: Regenerate
85 1.1 skrll * elfxx-ia64.c (elfNN_ia64_final_write_processing): Replace use of
86 1.1 skrll alloca with bfd_malloc.
87 1.1 skrll (get_local_sym_hash): Likewise.
88 1.1 skrll (elfNN_hpux_post_process_headers): New function.
89 1.1 skrll #include elfNN-target.h again with values for IA64 HP-UX vector.
90 1.1 skrll
91 1.1 skrll 2001-12-18 Michael Snyder <msnyder (a] redhat.com>
92 1.1 skrll
93 1.1 skrll * elf.c (assign_file_positions_for_segments): Don't sort PT_NOTE
94 1.1 skrll sections of corefiles. Also it makes no sense to sort if count == 1.
95 1.1 skrll
96 1.1 skrll 2001-12-18 H.J. Lu <hjl (a] gnu.org>
97 1.1 skrll
98 1.1 skrll * elf.c (_bfd_elf_copy_private_bfd_data): Also copy GP.
99 1.1 skrll
100 1.1 skrll 2001-12-18 H.J. Lu <hjl (a] gnu.org>
101 1.1 skrll
102 1.1 skrll * elf.c (_bfd_elf_copy_private_bfd_data): Update comments.
103 1.1 skrll
104 1.1 skrll 2001-12-18 H.J. Lu <hjl (a] gnu.org>
105 1.1 skrll
106 1.1 skrll * elf-bfd.h (_bfd_elf_copy_private_bfd_data): New. Prototype.
107 1.1 skrll (_bfd_mips_elf_copy_private_bfd_data): Removed.
108 1.1 skrll
109 1.1 skrll * elf.c (_bfd_elf_copy_private_bfd_data): New. Copy e_flags in
110 1.1 skrll the ELF header.
111 1.1 skrll
112 1.1 skrll * elf32-i370.c (??_elf_copy_private_bfd_data): Removed.
113 1.1 skrll (bfd_elf??_bfd_copy_private_bfd_data): Removed.
114 1.1 skrll * elf32-m32r.c: Likewise.
115 1.1 skrll * elf32-m68k.c: Likewise.
116 1.1 skrll * elf32-mcore.c: Likewise.
117 1.1 skrll * elf32-mips.c: Likewise.
118 1.1 skrll * elf32-ppc.c: Likewise.
119 1.1 skrll * elf32-v850.c: Likewise.
120 1.1 skrll * elf64-ppc.c: Likewise.
121 1.1 skrll * elf64-sparc.c: Likewise.
122 1.1 skrll * elfxx-ia64.c: Likewise.
123 1.1 skrll
124 1.1 skrll * elf64-mips.c (bfd_elf64_bfd_copy_private_bfd_data): Removed.
125 1.1 skrll
126 1.1 skrll * elfxx-target.h (bfd_elfNN_bfd_copy_private_bfd_data): Defined
127 1.1 skrll to _bfd_elf_copy_private_bfd_data.
128 1.1 skrll
129 1.1 skrll 2001-12-18 Martin Schwidefsky <schwidefsky (a] de.ibm.com>
130 1.1 skrll
131 1.1 skrll * elf32-s390 (elf_s390_check_relocs): Pass addend to
132 1.1 skrll gc_record_vtentry.
133 1.1 skrll * elf64-s390 (elf_s390_check_relocs): Likewise.
134 1.1 skrll Fix by Andreas Jaeger <aj (a] suse.de>.
135 1.1 skrll
136 1.1 skrll 2001-12-18 Jason Thorpe <thorpej (a] wasabisystems.com>
137 1.1 skrll
138 1.1 skrll * configure.host: Correctly match all NetBSD/mips
139 1.1 skrll hosts.
140 1.1 skrll
141 1.1 skrll 2001-12-18 matthew green <mrg (a] eterna.com.au>
142 1.1 skrll
143 1.1 skrll * config.bfd (m68*-*-netbsdelf*): New target.
144 1.1 skrll (m68*-*-netbsd): Also include bfd_elf32_m68k_vec.
145 1.1 skrll (m68*-*-netbsdaout*): New alias for m68*-*-netbsd.
146 1.1 skrll
147 1.1 skrll 2001-12-18 Jakub Jelinek <jakub (a] redhat.com>
148 1.1 skrll
149 1.1 skrll * elflink.h (size_dynamic_sections): Skip anonymous version tag.
150 1.1 skrll (elf_link_assign_sym_version): Don't count anonymous version tag.
151 1.1 skrll
152 1.1 skrll 2001-12-18 Jakub Jelinek <jakub (a] redhat.com>
153 1.1 skrll
154 1.1 skrll * elf-eh-frame.c (struct cie): Add make_lsda_relative.
155 1.1 skrll (struct eh_cie_fde): Add lsda_encoding, lsda_offset,
156 1.1 skrll make_lsda_relative.
157 1.1 skrll (read_value, write_value): New.
158 1.1 skrll (_bfd_elf_discard_section_eh_frame): Inicialize
159 1.1 skrll lsda_encoding, lsda_offset and make_lsda_relative.
160 1.1 skrll (_bfd_elf_eh_frame_section_offset): If make_lsda_relative,
161 1.1 skrll request no dynamic reloc for LSDA field of FDE.
162 1.1 skrll (_bfd_elf_write_section_eh_frame): Handle make_lsda_relative.
163 1.1 skrll If a non-DW_EH_PE_absptr value is 0, don't adjust it by base
164 1.1 skrll or pcrel. Fix address computation for DW_EH_PE_pcrel relocs.
165 1.1 skrll Update LSDA field if LSDA encoding is DW_EH_PE_pcrel, because
166 1.1 skrll . might have changed due to deleted FDE or CIEs.
167 1.1 skrll
168 1.1 skrll 2001-12-18 Jakub Jelinek <jakub (a] redhat.com>
169 1.1 skrll
170 1.1 skrll * elf-strtab.c (struct elf_strtab_hash_entry): Add u.next.
171 1.1 skrll (last_eq): Remove.
172 1.1 skrll (_bfd_elf_strtab_finalize): Don't use a hash table for last
173 1.1 skrll character chains, instead use an array.
174 1.1 skrll
175 1.1 skrll 2001-12-18 Jason Thorpe <thorpej (a] wasabisystems.com>
176 1.1 skrll
177 1.1 skrll * elf.c (elfcore_netbsd_get_lwpid): New function.
178 1.1 skrll (elfcore_grok_netbsd_procinfo): New function.
179 1.1 skrll (elfcore_grok_netbsd_note): New function.
180 1.1 skrll (elfcore_read_notes): Call elfcore_grok_netbsd_note to process
181 1.1 skrll NetBSD ELF core file notes.
182 1.1 skrll
183 1.1 skrll 2001-12-18 Alan Modra <amodra (a] bigpond.net.au>
184 1.1 skrll
185 1.1 skrll * elfcode.h (struct bfd_preserve): New.
186 1.1 skrll (elf_object_p): Replace preserved_* vars with instance of above.
187 1.1 skrll Save and restore arch_info pointer rather than arch, mach so that
188 1.1 skrll more cases can be restored. Save and restore new section_tail,
189 1.1 skrll section_htab structure, and init appropriately. Move "rest of
190 1.1 skrll section header" code so that i_shdrp needs no NULL initialisation.
191 1.1 skrll Free old section_htab on success.
192 1.1 skrll * elfcore.h (elf_core_file_p): Likewise.
193 1.1 skrll
194 1.1 skrll 2001-12-17 Tom Rix <trix (a] redhat.com>
195 1.1 skrll
196 1.1 skrll * coffcode.h (sec_to_styp_flags): Add STYP_EXCEPT and STYP_TYPCHK for
197 1.1 skrll xcoff.
198 1.1 skrll
199 1.1 skrll 2001-12-17 Jakub Jelinek <jakub (a] redhat.com>
200 1.1 skrll
201 1.1 skrll * elf-bfd.h (elf_discarded_section): Define.
202 1.1 skrll * elflink.h (elf_link_input_bfd): Use it.
203 1.1 skrll (elf_reloc_symbol_deleted_p): Likewise.
204 1.1 skrll
205 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Don't warn about
206 1.1 skrll overflows for pc relative relocs against discarded sections.
207 1.1 skrll
208 1.1 skrll 2001-12-17 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
209 1.1 skrll
210 1.1 skrll * elf32-mips.c (_bfd_mips_elf_relocate_section): Formatting.
211 1.1 skrll * elf64-mips.c: Add most of the fixes and tweaks done in elf32-mips.c
212 1.1 skrll over the last months. Add some code for mips16 handling.
213 1.1 skrll (mips_elf64_check_mips16_stubs): New function.
214 1.1 skrll (mips_elf64_stub_section_p): Likewise.
215 1.1 skrll (mips_elf64_calculate_relocation): Change interface to support mips16.
216 1.1 skrll (mips_elf64_perform_relocation): Likewise.
217 1.1 skrll
218 1.1 skrll 2001-12-17 Alan Modra <amodra (a] bigpond.net.au>
219 1.1 skrll
220 1.1 skrll Support for more than 64k ELF sections.
221 1.1 skrll * elf-bfd.h (elf_size_info <swap_symbol_out>): Add shndx param.
222 1.1 skrll (bfd_elf32_swap_symbol_in): Likewise.
223 1.1 skrll (bfd_elf32_swap_symbol_out): Likewise.
224 1.1 skrll (bfd_elf64_swap_symbol_in): Likewise.
225 1.1 skrll (bfd_elf64_swap_symbol_out): Likewise.
226 1.1 skrll (elf_reloc_cookie): Add locsym_shndx field. Make locsyms a PTR.
227 1.1 skrll (elf_obj_tdata): Add num_elf_sections, symtab_shndx_hdr and
228 1.1 skrll symtab_shndx_section.
229 1.1 skrll (elf_numsections): Define.
230 1.1 skrll (elf_symtab_shndx): Define.
231 1.1 skrll * elf.c (setup_group): Use elf_numsections rather than header e_shnum.
232 1.1 skrll (bfd_elf_find_section): Likewise.
233 1.1 skrll (bfd_section_from_elf_index): Likewise.
234 1.1 skrll (bfd_section_from_shdr): Likewise. Handle SHT_SYMTAB_SHNDX.
235 1.1 skrll (bfd_section_from_r_symndx): Read symbol shndx extension, and
236 1.1 skrll translate st_shndx for > SHN_HIRESERVE.
237 1.1 skrll (assign_section_numbers): Skip reserved sections. Assign
238 1.1 skrll symtab_shndx_section and elf_numsections. Exclude reserved
239 1.1 skrll sections from e_shnum. Set up symtab_shndx_hdr.
240 1.1 skrll (_bfd_elf_compute_section_file_positions): Handle symtab_shndx_hdr.
241 1.1 skrll (map_sections_to_segments): Don't map eh_frame_hdr unless required.
242 1.1 skrll (assign_file_positions_except_relocs): Use elf_numsections rather
243 1.1 skrll than header e_shnum. Skip reserved sections and symtab_shndx_section.
244 1.1 skrll (prep_headers): Set name for symtab_shndx_hdr.
245 1.1 skrll (_bfd_elf_assign_file_positions_for_relocs): Use elf_numsections.
246 1.1 skrll (_bfd_elf_write_object_contents): Likewise. Skip reserved sections.
247 1.1 skrll (_bfd_elf_section_from_bfd_section): Check bfd_{abs,com,und}_section
248 1.1 skrll first. Use elf_section_data if available. Use elf_numsections.
249 1.1 skrll Start scan at index 1.
250 1.1 skrll (copy_private_bfd_data ): Comment fixes.
251 1.1 skrll (MAP_ONESYMTAB): Define above SHN_HIOS.
252 1.1 skrll (MAP_DYNSYMTAB): Likewise.
253 1.1 skrll (MAP_STRTAB): Likewise.
254 1.1 skrll (MAP_SHSTRTAB): Likewise.
255 1.1 skrll (MAP_SYM_SHNDX): New define.
256 1.1 skrll (_bfd_elf_copy_private_symbol_data): Handle symtab_shndx_section.
257 1.1 skrll (swap_out_syms): Swap out SHT_SYMTAB_SHNDX section too.
258 1.1 skrll * elfcode.h (elf_swap_symbol_in): Add shndx param, and handle shndx
259 1.1 skrll extension.
260 1.1 skrll (elf_swap_symbol_out): Likewise.
261 1.1 skrll (elf_object_p): Set elf_numsections, and use instead of e_shnum.
262 1.1 skrll Initialialise reserved elf_elfsections to point at shdr[0]. Remove
263 1.1 skrll redundant bfd_release calls.
264 1.1 skrll (elf_slurp_symbol_table): Read symbol shndx extension, and use with
265 1.1 skrll elf_swap_symbol_in. Translate st_shndx for > SHN_HIRESERVE too.
266 1.1 skrll * elflink.h (elf_link_is_defined_archive_symbol): Read symbol shndx
267 1.1 skrll extension, and use with elf_swap_symbol_in.
268 1.1 skrll (elf_link_record_local_dynamic_symbol): Likewise.
269 1.1 skrll (elf_link_add_object_symbols): Likewise. Also translate st_shndx
270 1.1 skrll for elf sections > SHN_HIRESERVE.
271 1.1 skrll (NAME(bfd_elf,size_dynamic_sections)): Adjust elf_swap_symbol_out
272 1.1 skrll call.
273 1.1 skrll (struct elf_final_link_info): Add locsym_shndx and symshndxbuf.
274 1.1 skrll (elf_bfd_final_link): Allocate the above, and tidy code allocating
275 1.1 skrll other buffers. Use elf_numsections instead of e_shnum. Adjust
276 1.1 skrll elf_swap_symbol_out calls.
277 1.1 skrll (elf_link_output_sym): Swap out symbol shndx extension too.
278 1.1 skrll (elf_link_flush_output_syms): And flush them to disk.
279 1.1 skrll (elf_link_output_extsym): Use SHN_BAD. Adjust elf_swap_symbol_out
280 1.1 skrll calls.
281 1.1 skrll (elf_gc_mark): Read symbol shndx extension, and use with
282 1.1 skrll elf_swap_symbol_in.
283 1.1 skrll (elf_link_input_bfd): Likewise, Translate st_shndx for elf sections
284 1.1 skrll > SHN_HIRESERVE too. Use SHN_BAD.
285 1.1 skrll (elf_reloc_symbol_deleted_p): Use symbol shndx extensions with
286 1.1 skrll elf_swap_symbol_in. Translate st_shndx > SHN_HIRESERVE too.
287 1.1 skrll (elf_bfd_discard_info): Read symbol shndx extension. Don't attempt
288 1.1 skrll to continue after a bfd error.
289 1.1 skrll * elf-m10200.c (mn10200_elf_relax_section): Only read local syms.
290 1.1 skrll Stash them immediately to symtab_hdr->contents rather than later
291 1.1 skrll in multiple places. Clean up afterwards. Read symbol shndx
292 1.1 skrll extension, and use with swap_symbol_in. Translate SHN_UNDEF,
293 1.1 skrll SHN_ABS, SHN_COMMON and elf sections > SHN_HIRESERVE to bfd
294 1.1 skrll sections too. Remove dead code.
295 1.1 skrll (mn10200_elf_relax_delete_bytes): Use symbol shndx extension
296 1.1 skrll when swapping in symbols. Tidy code adjusting global syms.
297 1.1 skrll Don't swap in global syms.
298 1.1 skrll (mn10200_elf_symbol_address_p): Likewise. Remove extsyms param.
299 1.1 skrll (mn10200_elf_get_relocated_section_contents): Read symbol shndx
300 1.1 skrll extension, and use with swap_symbol_in. Rename "size" -> "amt"
301 1.1 skrll to maximize code in common with other files. Translate st_shndx
302 1.1 skrll for > SHN_HIRESERVE too. Remove dead code.
303 1.1 skrll * elf-m10300.c (mn10300_elf_relax_section): Only read local syms.
304 1.1 skrll Stash them immediately to symtab_hdr->contents rather than later
305 1.1 skrll in multiple places. Clean up afterwards. Read symbol shndx
306 1.1 skrll extension, and use with swap_symbol_in. Remove dead code.
307 1.1 skrll (mn10300_elf_relax_delete_bytes): As for elf-m10200.c.
308 1.1 skrll (mn10300_elf_symbol_address_p): Likewise.
309 1.1 skrll (mn10300_elf_get_relocated_section_contents): Likewise.
310 1.1 skrll * elf32-h8300.c (elf32_h8_relax_section): As for elf-m10300.c.
311 1.1 skrll (elf32_h8_relax_delete_bytes): Likewise.
312 1.1 skrll (elf32_h8_symbol_address_p): Likewise.
313 1.1 skrll (elf32_h8_get_relocated_section_contents): Likewise.
314 1.1 skrll * elf32-hppa.c (elf32_hppa_size_stubs): Read symbol shndx
315 1.1 skrll extension, and use with swap_symbol_in.
316 1.1 skrll * elf64-hppa.c (elf64_hppa_check_relocs): Likewise.
317 1.1 skrll * elf32-i370.c (i370_elf_finish_dynamic_sections): Adjust call to
318 1.1 skrll bfd_elf32_swap_symbol_out.
319 1.1 skrll * elf32-m32r.c (m32r_elf_get_relocated_section_contents): Translate
320 1.1 skrll elf sections > SHN_HIRESERVE too.
321 1.1 skrll * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Only read
322 1.1 skrll local syms. Read symbol shndx extension, and use with swap_symbol_in.
323 1.1 skrll * elf32-mips.c (_bfd_mips_elf_final_write_processing): Use
324 1.1 skrll elf_numsections rather than header e_shnum.
325 1.1 skrll * elf32-sh.c (sh_elf_relax_section): As for elf-m10300.c.
326 1.1 skrll (sh_elf_relax_delete_bytes): Likewise.
327 1.1 skrll (sh_elf_get_relocated_section_contents): Likewise. Only read local
328 1.1 skrll symbols.
329 1.1 skrll * elf32-v850.c (v850_elf_symbol_processing): Use an unsigned int to
330 1.1 skrll hold section index. Use elf_numsections rather than e_shnum.
331 1.1 skrll Rename "index" -> "indx" to avoid shadowing warning.
332 1.1 skrll (v850_elf_add_symbol_hook): Likewise.
333 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_section): Only read local syms.
334 1.1 skrll Read symbol shndx extension, and use with swap_symbol_in.
335 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise.
336 1.1 skrll Translate SHN_COMMON and elf sections > SHN_HIRESERVE too.
337 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
338 1.1 skrll (elfNN_ia64_aix_add_symbol_hook): Use elf_numsections.
339 1.1 skrll
340 1.1 skrll * elf-m10300.c (mn10300_elf_gc_mark_hook): Remove unnecessary checks
341 1.1 skrll before calling bfd_section_from_elf_index on local syms.
342 1.1 skrll * elf32-arm.h (elf32_arm_gc_mark_hook): Likewise.
343 1.1 skrll * elf32-avr.c (elf32_avr_gc_mark_hook): Likewise.
344 1.1 skrll * elf32-cris.c (cris_elf_gc_mark_hook): Likewise.
345 1.1 skrll * elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise.
346 1.1 skrll * elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise.
347 1.1 skrll * elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise.
348 1.1 skrll * elf32-i386.c (elf_i386_gc_mark_hook): Likewise.
349 1.1 skrll * elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise.
350 1.1 skrll * elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise.
351 1.1 skrll * elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise.
352 1.1 skrll * elf32-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise.
353 1.1 skrll * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise.
354 1.1 skrll * elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise.
355 1.1 skrll * elf32-s390.c (elf_s390_gc_mark_hook): Likewise.
356 1.1 skrll * elf32-sh.c (sh_elf_gc_mark_hook): Likewise.
357 1.1 skrll * elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise.
358 1.1 skrll * elf32-v850.c (v850_elf_gc_mark_hook): Likewise.
359 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise.
360 1.1 skrll * elf64-mips.c (mips_elf64_gc_mark_hook): Likewise.
361 1.1 skrll * elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise.
362 1.1 skrll * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
363 1.1 skrll * elf64-s390.c (elf_s390_gc_mark_hook): Likewise.
364 1.1 skrll * elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise.
365 1.1 skrll
366 1.1 skrll 2001-12-17 Alan Modra <amodra (a] bigpond.net.au>
367 1.1 skrll
368 1.1 skrll Hash bfd sections for fast lookup and create.
369 1.1 skrll * bfd.c (struct _bfd): Add section_htab, section_tail.
370 1.1 skrll * libbfd-in.h (_bfd_delete_bfd): Declare.
371 1.1 skrll (bfd_section_hash_newfunc): Declare.
372 1.1 skrll * opncls.c (_bfd_new_bfd): Free memory on failure. Init
373 1.1 skrll section_htab and section_tail.
374 1.1 skrll (_bfd_delete_bfd): New function.
375 1.1 skrll (bfd_openr): Use it.
376 1.1 skrll (bfd_fdopenr): Likewise.
377 1.1 skrll (bfd_openstreamr): Likewise.
378 1.1 skrll (bfd_openw): Likewise.
379 1.1 skrll (bfd_close): Likewise.
380 1.1 skrll (bfd_close_all_done): Likewise.
381 1.1 skrll (bfd_release): Comment.
382 1.1 skrll * section.c (struct section_hash_entry): New.
383 1.1 skrll (bfd_section_hash_newfunc): New function.
384 1.1 skrll (section_hash_lookup): Define.
385 1.1 skrll (bfd_section_init): New function, split out from
386 1.1 skrll bfd_make_section_anyway.
387 1.1 skrll (bfd_get_section_by_name): Lookup via hash table.
388 1.1 skrll (bfd_get_unique_section_name): Likewise.
389 1.1 skrll (bfd_make_section_old_way): Rewrite to use hash table.
390 1.1 skrll (bfd_make_section_anyway): Likewise.
391 1.1 skrll (bfd_make_section): Likewise. Return NULL for attempts to make
392 1.1 skrll BFD_{ABS,COM,UND,IND}_SECTION_NAME.
393 1.1 skrll (_bfd_strip_section_from_output): Adjust section_tail if needed.
394 1.1 skrll * configure.in: Bump bfd version.
395 1.1 skrll * configure: Regenerate.
396 1.1 skrll * libbfd.h: Regenerate.
397 1.1 skrll * bfd-in2.h: Regenerate.
398 1.1 skrll
399 1.1 skrll 2001-12-15 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
400 1.1 skrll
401 1.1 skrll * elf64-mips.c (mips_elf64_link_hash_entry): New link hash.
402 1.1 skrll (mips_elf64_high): New Function.
403 1.1 skrll (mips_elf64_higher): Likewise.
404 1.1 skrll (mips_elf64_highest): Likewise.
405 1.1 skrll (mips_elf64_info_to_howto_rel): Likewise.
406 1.1 skrll (mips_elf64_info_to_howto_rela): Likewise.
407 1.1 skrll (mips_elf64_write_rel): Likewise.
408 1.1 skrll (mips_elf64_write_rela): Likewise.
409 1.1 skrll (mips_elf64_link_hash_newfunc): Likewise.
410 1.1 skrll (mips_elf64_hi16_reloc): Likewise.
411 1.1 skrll (mips_elf64_higher_reloc): Likewise.
412 1.1 skrll (mips_elf64_highest_reloc): Likewise.
413 1.1 skrll (mips_elf64_gprel16_reloc): Likewise.
414 1.1 skrll (mips_elf64_gprel16_reloca): Likewise.
415 1.1 skrll (mips_elf64_literal_reloc): Likewise.
416 1.1 skrll (mips_elf64_gprel32_reloc): Likewise.
417 1.1 skrll (mips_elf64_shift6_reloc): Likewise.
418 1.1 skrll (mips_elf64_got16_reloc): Likewise.
419 1.1 skrll (mips_elf64_assign_gp): Likewise.
420 1.1 skrll (mips_elf64_final_gp): Likewise.
421 1.1 skrll (gprel16_with_gp): Likewise.
422 1.1 skrll (mips_elf64_additional_program_headers): Likewise.
423 1.1 skrll (mips_elf64_link_hash_table_create): Likewise.
424 1.1 skrll (mips_elf64_got_offset_from_index): Likewise.
425 1.1 skrll (_mips_elf64_got_info): Likewise.
426 1.1 skrll (mips_elf64_sign_extend): Likewise.
427 1.1 skrll (mips_elf64_overflow_p): Likewise.
428 1.1 skrll (mips_elf64_global_got_index): Likewise.
429 1.1 skrll (mips_elf64_sort_hash_table_f): Likewise.
430 1.1 skrll (mips_elf64_sort_hash_table): Likewise.
431 1.1 skrll (mips_elf64_swap_msym_out): Likewise.
432 1.1 skrll (mips_elf64_create_local_got_entry): Likewise.
433 1.1 skrll (mips_elf64_local_got_index): Likewise.
434 1.1 skrll (mips_elf64_got_page): Likewise.
435 1.1 skrll (mips_elf64_got16_entry): Likewise.
436 1.1 skrll (mips_elf64_local_relocation_p): Likewise.
437 1.1 skrll (mips_elf64_next_relocation): Likewise.
438 1.1 skrll (mips_elf64_create_dynamic_relocation): Likewise.
439 1.1 skrll (mips_elf64_calculate_relocation): Likewise.
440 1.1 skrll (mips_elf64_obtain_contents): Likewise.
441 1.1 skrll (mips_elf64_perform_relocation): Likewise.
442 1.1 skrll (mips_elf64_relocate_section): Likewise.
443 1.1 skrll (mips_elf64_create_dynamic_sections): Likewise.
444 1.1 skrll (mips_elf64_adjust_dynamic_symbol): Likewise.
445 1.1 skrll (mips_elf64_always_size_sections): Likewise.
446 1.1 skrll (mips_elf64_size_dynamic_sections): Likewise.
447 1.1 skrll (mips_elf64_finish_dynamic_symbol): Likewise.
448 1.1 skrll (mips_elf64_finish_dynamic_sections): Likewise.
449 1.1 skrll (mips_elf64_gc_mark_hook): Likewise.
450 1.1 skrll (mips_elf64_gc_sweep_hook): Likewise.
451 1.1 skrll (mips_elf64_create_got_section): Likewise.
452 1.1 skrll (mips_elf64_record_global_got_symbol): Likewise.
453 1.1 skrll (mips_elf64_create_msym_section): Likewise.
454 1.1 skrll (mips_elf64_allocate_dynamic_relocations): Likewise.
455 1.1 skrll (mips_elf64_check_relocs): Likewise.
456 1.1 skrll (mips_elf64_output_extsym): Likewise.
457 1.1 skrll (mips_elf64_swap_gptab_in): Likewise.
458 1.1 skrll (mips_elf64_swap_gptab_out): Likewise.
459 1.1 skrll (gptab_compare): Likewise.
460 1.1 skrll (mips_elf64_final_link): Likewise.
461 1.1 skrll (prev_reloc_addend): Remenber addend of previous parts of a combined
462 1.1 skrll reloc.
463 1.1 skrll (ELF_MIPS_GP_OFFSET): New define.
464 1.1 skrll (STUB_LW,STUB_MOVE,STUB_JALR,STUB_LI16): Likewise.
465 1.1 skrll (MIPS_FUNCTION_STUB_SIZE): Likewise.
466 1.1 skrll (mips_elf64_howto_rel): Fix HOWTO defines.
467 1.1 skrll (mips_elf64_howto_rela): Likewise.
468 1.1 skrll (mips_elf64_swap_reloca_out): Fix signedness.
469 1.1 skrll (mips_elf64_be_swap_reloc_in): Use ELF64* instead of ELF32*.
470 1.1 skrll (mips_elf64_be_swap_reloca_in): Likewise.
471 1.1 skrll (mips_elf64_be_swap_reloc_out): Likewise. Preserve extended type info.
472 1.1 skrll (mips_elf64_be_swap_reloca_out): Likewise.
473 1.1 skrll
474 1.1 skrll 2001-12-15 Jakub Jelinek <jakub (a] redhat.com>
475 1.1 skrll
476 1.1 skrll * elf-bfd.h (_bfd_elf_maybe_strip_eh_frame_hdr): New prototype.
477 1.1 skrll * elf-eh-frame.c (struct eh_frame_hdr_info): Add strip.
478 1.1 skrll (_bfd_elf_discard_section_eh_frame): Don't create .eh_frame_hdr
479 1.1 skrll sec_info here. Free ehbuf.
480 1.1 skrll (_bfd_elf_discard_section_eh_frame_hdr): Don't size the section
481 1.1 skrll if hdr_info->strip.
482 1.1 skrll (_bfd_elf_maybe_strip_eh_frame_hdr): New.
483 1.1 skrll * elflink.h (size_dynamic_sections): Call it.
484 1.1 skrll
485 1.1 skrll 2001-12-14 Alan Modra <amodra (a] bigpond.net.au>
486 1.1 skrll
487 1.1 skrll * elflink.h (elf_bfd_discard_info): Fix segfault when dynobj NULL.
488 1.1 skrll
489 1.1 skrll 2001-12-13 Jakub Jelinek <jakub (a] redhat.com>
490 1.1 skrll
491 1.1 skrll * elf-bfd.h (enum elf_link_info_type): New.
492 1.1 skrll (struct bfd_elf_section_data): Remove stab_info and merge_info
493 1.1 skrll fields, add sec_info and sec_info_type.
494 1.1 skrll (struct elf_obj_tdata): Add eh_frame_hdr field.
495 1.1 skrll (_bfd_elf_discard_section_eh_frame): New prototype.
496 1.1 skrll (_bfd_elf_discard_section_eh_frame_hdr): Likewise.
497 1.1 skrll (_bfd_elf_eh_frame_section_offset): Likewise.
498 1.1 skrll (_bfd_elf_write_section_eh_frame): Likewise.
499 1.1 skrll (_bfd_elf_write_section_eh_frame_hdr): Likewise.
500 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add elf-eh-frame.lo.
501 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf-eh-frame.c.
502 1.1 skrll (elf-eh-frame.lo): New.
503 1.1 skrll * Makefile.in: Rebuilt.
504 1.1 skrll * configure.in (elf): Add elf-eh-frame.lo.
505 1.1 skrll * configure: Rebuilt.
506 1.1 skrll * elf.c (_bfd_elf_print_private_bfd_data): Support PT_GNU_EH_FRAME.
507 1.1 skrll (map_sections_to_segments): Create PT_GNU_EH_FRAME if requested.
508 1.1 skrll (get_program_header_size): Take into account PT_GNU_EH_FRAME
509 1.1 skrll segment.
510 1.1 skrll (_bfd_elf_rela_local_sym): Use sec_info_type and sec_info.
511 1.1 skrll (_bfd_elf_rel_local_sym): Likewise.
512 1.1 skrll (_bfd_elf_section_offset): Likewise. Call
513 1.1 skrll _bfd_elf_eh_frame_section_offset too.
514 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Use sec_info_type and
515 1.1 skrll sec_info.
516 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
517 1.1 skrll * elf-eh-frame.c: New file.
518 1.1 skrll * elflink.h (elf_link_add_object_symbols): Don't optimize SHF_MERGE
519 1.1 skrll .stab sections. Set sec_info_type, use sec_info instead
520 1.1 skrll of merge_info and stab_info.
521 1.1 skrll (elf_link_create_dynamic_sections): Create .eh_frame_hdr section
522 1.1 skrll if --eh-frame-hdr.
523 1.1 skrll (elf_bfd_final_link): Write .eh_frame_hdr section.
524 1.1 skrll (elf_link_sec_merge_syms): Use sec_info_type and sec_info.
525 1.1 skrll (elf_link_input_bfd): Likewise.
526 1.1 skrll Call _bfd_elf_write_section_eh_frame to write .eh_frame sections.
527 1.1 skrll (elf_bfd_discard_info): Add output_bfd argument.
528 1.1 skrll Call _bfd_elf_discard_section_eh_frame and
529 1.1 skrll _bfd_elf_discard_section_eh_frame_hdr.
530 1.1 skrll (elf_section_ignore_discarded_relocs): Use sec_info_type, not section
531 1.1 skrll names.
532 1.1 skrll * bfd-in.h (bfd_elf32_discard_info, bfd_elf64_discard_info): Adjust
533 1.1 skrll prototypes.
534 1.1 skrll * bfd-in2.h (bfd_elf32_discard_info, bfd_elf64_discard_info): Likewise.
535 1.1 skrll
536 1.1 skrll 2001-12-12 Richard Henderson <rth (a] redhat.com>
537 1.1 skrll
538 1.1 skrll * syms.c (_bfd_generic_read_minisymbols): Early return for
539 1.1 skrll no symbols. Patch from FreeBSD folk; exact origin unknown.
540 1.1 skrll
541 1.1 skrll 2001-12-11 Alan Modra <amodra (a] bigpond.net.au>
542 1.1 skrll
543 1.1 skrll * elfcode.h (elf_swap_ehdr_out): Adjust value written for e_shnum
544 1.1 skrll and e_shstrndx if out of range.
545 1.1 skrll (elf_object_p): Read extended values for e_shnum and e_shstrndx
546 1.1 skrll from the first section header. Allocate space in elf_elfsections
547 1.1 skrll for reserved sections and set to NULLs.
548 1.1 skrll (elf_write_shdrs_and_ehdr): Set overflow fields in first section
549 1.1 skrll header. Skip reserved sections in elf_elfsections. Remove
550 1.1 skrll duplicate size calculation.
551 1.1 skrll
552 1.1 skrll 2001-12-07 Geoffrey Keating <geoffk (a] redhat.com>
553 1.1 skrll Richard Henderson <rth (a] redhat.com>
554 1.1 skrll Corinna Vinschen <vinschen (a] redhat.com>
555 1.1 skrll
556 1.1 skrll * Makefile.am: Add support for xstormy16.
557 1.1 skrll * archures.c: Add support for xstormy16.
558 1.1 skrll * config.bfd: Add support for xstormy16.
559 1.1 skrll * configure.in: Add support for xstormy16.
560 1.1 skrll * reloc.c: Add support for xstormy16.
561 1.1 skrll * targets.c: Add support for xstormy16.
562 1.1 skrll * cpu-xstormy16.c: New file.
563 1.1 skrll * elf32-xstormy16.c: New file.
564 1.1 skrll * Makefile.in: Regenerated.
565 1.1 skrll * bfd-in2.h: Regenerated.
566 1.1 skrll * configure: Regenerated.
567 1.1 skrll * libbfd.h: Regenerated.
568 1.1 skrll
569 1.1 skrll 2001-12-07 Nick Clifton <nickc (a] cambridge.redhat.com>
570 1.1 skrll
571 1.1 skrll * elf.c (assign_file_positions_for_segments): Combine sentance
572 1.1 skrll fragments into a single sentance in order to permit better
573 1.1 skrll translation into foreign languages.
574 1.1 skrll
575 1.1 skrll 2001-12-07 Jim Blandy <jimb (a] redhat.com>
576 1.1 skrll
577 1.1 skrll * elf32-s390.c (elf32_s390_grok_prstatus): New function.
578 1.1 skrll (elf_backend_grok_prstatus): Define.
579 1.1 skrll
580 1.1 skrll 2001-12-07 Jakub Jelinek <jakub (a] redhat.com>
581 1.1 skrll
582 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Revert
583 1.1 skrll 2001-09-14 change.
584 1.1 skrll
585 1.1 skrll 2001-12-07 Jakub Jelinek <jakub (a] redhat.com>
586 1.1 skrll
587 1.1 skrll * elf.c (_bfd_elf_rela_local_sym): Only call
588 1.1 skrll _bfd_merged_section_offset if merge_info is non-NULL.
589 1.1 skrll (_bfd_elf_rel_local_sym, _bfd_elf_section_offset): New.
590 1.1 skrll * elf-bfd.h (_bfd_elf_rel_local_sym, _bfd_elf_section_offset): New
591 1.1 skrll prototypes.
592 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Use
593 1.1 skrll _bfd_elf_section_offset.
594 1.1 skrll (elf32_arm_relocate_section): Use _bfd_elf_rel_local_sym.
595 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Use
596 1.1 skrll _bfd_elf_section_offset and _bfd_elf_rel_local_sym.
597 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Likewise.
598 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Use
599 1.1 skrll _bfd_elf_section_offset.
600 1.1 skrll * elf32-cris.c (cris_elf_relocate_section): Likewise.
601 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
602 1.1 skrll * elf32-i370.c (i370_elf_relocate_section): Likewise.
603 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
604 1.1 skrll * elf32-mips.c (mips_elf_create_dynamic_relocation): Likewise.
605 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
606 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Likewise.
607 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
608 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
609 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise.
610 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
611 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
612 1.1 skrll * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise.
613 1.1 skrll
614 1.1 skrll 2001-12-07 Alan Modra <amodra (a] bigpond.net.au>
615 1.1 skrll
616 1.1 skrll * elf32-hppa.c (clobber_millicode_symbols): Don't do anything if
617 1.1 skrll already forced local.
618 1.1 skrll
619 1.1 skrll 2001-12-05 Nick Clifton <nickc (a] cambridge.redhat.com>
620 1.1 skrll
621 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Combine
622 1.1 skrll fragmented sentence parts into a whole sentence to permit
623 1.1 skrll better translation into foreign languages.
624 1.1 skrll
625 1.1 skrll 2001-12-06 Hans-Peter Nilsson <hp (a] bitrange.com>
626 1.1 skrll
627 1.1 skrll * configure: Regenerate.
628 1.1 skrll * Makefile.in: Regenerate.
629 1.1 skrll
630 1.1 skrll 2001-12-05 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
631 1.1 skrll
632 1.1 skrll * Makefile.am: split up BFD_LIBS like statements in BFD32_LIBS and
633 1.1 skrll BFD64_LIBS, make the latter depending on the availability of BFD64.
634 1.1 skrll Add archive64.c source file.
635 1.1 skrll * archive64.c: New file implementing bfd_elf64_archive_slurp_armap
636 1.1 skrll and bfd_elf64_archive_write_armap, code from elf64-mips.c
637 1.1 skrll * archive.c (bfd_slurp_armap): Add ELF64 archive support.
638 1.1 skrll * config.bfd (mips*-*-irix6*): Allow with BFD64 only.
639 1.1 skrll (mips64*el-*-linux*): Likewise.
640 1.1 skrll (mips*el-*-linux*): Likewise. Reorder entries.
641 1.1 skrll * configure.in (bfd_libs): Define in dependency of BFD64 and
642 1.1 skrll AC_SUBST it.
643 1.1 skrll * elf64-mips.c (mips_elf64_slurp_armap): Remove, use
644 1.1 skrll bfd_elf64_archive_slurp_armap instead.
645 1.1 skrll (mips_elf64_write_armap): Remove, use bfd_elf64_archive_write_armap
646 1.1 skrll instead.
647 1.1 skrll
648 1.1 skrll 2001-12-04 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
649 1.1 skrll
650 1.1 skrll * config.bfd: Remove trailing blanks.
651 1.1 skrll * elf32-mips.c (gprel16_with_gp): Remove superfluous casts.
652 1.1 skrll
653 1.1 skrll 2001-12-04 Alexandre Oliva <aoliva (a] redhat.com>
654 1.1 skrll
655 1.1 skrll * elf32-d10v.c (elf_d10v_howto_table): Adjust bit-size of
656 1.1 skrll R_D10V_10_PCREL_L, R_D10V_10_PCREL_R, R_D10V_18,
657 1.1 skrll R_D10V_18_PCREL. Check 10_PCREL relocations as signed.
658 1.1 skrll Disable pointless overflow checking of NONE and 32.
659 1.1 skrll
660 1.1 skrll 2001-12-04 Alan Modra <amodra (a] bigpond.net.au>
661 1.1 skrll
662 1.1 skrll * reloc.c (bfd_install_relocation): Correct reloc address test.
663 1.1 skrll (bfd_perform_relocation): Formatting fix.
664 1.1 skrll * bfd-in2.h: Regenerate for 2001-12-02 reloc.c change.
665 1.1 skrll
666 1.1 skrll 2001-12-03 Nick Clifton <nickc (a] cambridge.redhat.com>
667 1.1 skrll
668 1.1 skrll * configure.in (LINGUAS): Add tr.
669 1.1 skrll * configure: Regenerate.
670 1.1 skrll * po/tr.po: Import from translation project's web site.
671 1.1 skrll
672 1.1 skrll 2001-12-03 Alan Modra <amodra (a] bigpond.net.au>
673 1.1 skrll
674 1.1 skrll * elf32-hppa.c (hppa_get_stub_entry): Remove debug message that
675 1.1 skrll happens to trigger on undefined symbols.
676 1.1 skrll (final_link_relocate): Return bfd_reloc_undefined for undefined
677 1.1 skrll stubs.
678 1.1 skrll (elf32_hppa_relocate_section): Don't say we can't handle a reloc
679 1.1 skrll if we have already warned about an undefined symbol.
680 1.1 skrll
681 1.1 skrll 2001-12-02 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
682 1.1 skrll
683 1.1 skrll * elf32-mips.c (NEWABI_P): New define.
684 1.1 skrll (USE_REL): Remove, replaced by
685 1.1 skrll (elf_backend_may_use_rel_p): New define.
686 1.1 skrll (elf_backend_may_use_rela_p): Likewise.
687 1.1 skrll (elf_backend_default_use_rela_p): Likewise.
688 1.1 skrll (elf_mips_howto_table): Rename to elf_mips_howto_table_rel.
689 1.1 skrll Fix some relocation definitions.
690 1.1 skrll (elf_mips_howto_table_rela): New RELA relocation definitions for
691 1.1 skrll NewABI support.
692 1.1 skrll (mips32_64bit_reloc): Use the renamed elf_mips_howto_table_rel.
693 1.1 skrll (bfd_elf32_bfd_reloc_type_lookup): Likewise.
694 1.1 skrll (mips_rtype_to_howto): Likewise.
695 1.1 skrll (_bfd_mips_elf_relocate_section): Likewise.
696 1.1 skrll (_bfd_mips_elf_object_p): Typo.
697 1.1 skrll (elf_backend_sign_extend_vma): Reordered together with many other
698 1.1 skrll defines nearby to resemble the order of declaration in the header
699 1.1 skrll file.
700 1.1 skrll
701 1.1 skrll 2001-12-02 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
702 1.1 skrll
703 1.1 skrll * coff-mips.c (mips_bfd_reloc_type_lookup): Replace
704 1.1 skrll BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
705 1.1 skrll * pe-mips.c (mips_bfd_reloc_type_lookup): Likewise.
706 1.1 skrll * elf32-mips.c (mips_reloc_map): Likewise. Replace
707 1.1 skrll BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32.
708 1.1 skrll * elf64-mips.c (mips_reloc_map): Likewise.
709 1.1 skrll * reloc.c (BFD_RELOC_MIPS_GPREL): Remove.
710 1.1 skrll (BFD_RELOC_MIPS_GPREL32): Remove.
711 1.1 skrll
712 1.1 skrll 2001-11-30 H.J. Lu <hjl (a] gnu.org>
713 1.1 skrll
714 1.1 skrll * elflink.h (elf_add_default_symbol): New.
715 1.1 skrll (elf_link_add_object_symbols): Call elf_add_default_symbol ()
716 1.1 skrll to create an indirect symbol from the default for the symbol
717 1.1 skrll with the default version if needed.
718 1.1 skrll
719 1.1 skrll 2001-11-29 "Peter.Schauer" <Peter.Schauer (a] regent.e-technik.tu-muenchen.de>
720 1.1 skrll
721 1.1 skrll * elf.c (elfcore_grok_prstatus): Do not overwite the core signal
722 1.1 skrll if it has already been set by another thread.
723 1.1 skrll
724 1.1 skrll 2001-11-28 Jakub Jelinek <jakub (a] redhat.com>
725 1.1 skrll
726 1.1 skrll * elf64-alpha.c (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Defined.
727 1.1 skrll (elf64_alpha_relocate_section): Translate local_got_entries
728 1.1 skrll for STT_SECTION symbol to SHF_MERGE section the first time
729 1.1 skrll we see it.
730 1.1 skrll * elfxx-ia64.c (struct elfNN_ia64_local_hash_entry): Add
731 1.1 skrll sec_merge_done.
732 1.1 skrll (get_local_sym_hash): New, extracted from get_dyn_sym_info.
733 1.1 skrll (get_dyn_sym_info): Use it.
734 1.1 skrll (elfNN_ia64_relocate_section): Translate local dyn entries
735 1.1 skrll for STT_SECTION symbol to SHF_MERGE section the first time
736 1.1 skrll we see it.
737 1.1 skrll
738 1.1 skrll 2001-11-27 H.J. Lu <hjl (a] gnu.org>
739 1.1 skrll
740 1.1 skrll * elflink.h (elf_bfd_discard_info): Skip if the input bfd isn't
741 1.1 skrll ELF.
742 1.1 skrll
743 1.1 skrll 2001-11-26 Jeffrey A Law (law (a] cygnus.com)
744 1.1 skrll
745 1.1 skrll * stabs.c (_bfd_discard_section_stabs): Use PARAMS in function
746 1.1 skrll prototypes.
747 1.1 skrll
748 1.1 skrll 2001-11-24 Alan Modra <amodra (a] bigpond.net.au>
749 1.1 skrll
750 1.1 skrll * elf32-hppa.c (elf32_hppa_size_stubs): Decrease default stub
751 1.1 skrll group sizes to accommodate c++.
752 1.1 skrll
753 1.1 skrll 2001-11-23 Jakub Jelinek <jakub (a] redhat.com>
754 1.1 skrll
755 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Don't clear
756 1.1 skrll relocations in non-alloced sections against global symbols
757 1.1 skrll defined in shared library being built.
758 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
759 1.1 skrll
760 1.1 skrll 2001-11-23 Jakub Jelinek <jakub (a] redhat.com>
761 1.1 skrll
762 1.1 skrll * elf.c (_bfd_elf_rela_local_sym): New.
763 1.1 skrll * elflink.h (elf_link_input_bfd): Don't consider empty
764 1.1 skrll merged sections as removed in relocation tests.
765 1.1 skrll * elf-bfd.h (_bfd_elf_rela_local_sym): Add prototype.
766 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Handle relocs
767 1.1 skrll against STT_SECTION symbol of SHF_MERGE section.
768 1.1 skrll * elf32-arm.h (elf32_arm_relocate_section): Likewise.
769 1.1 skrll * elf32-avr.c (elf32_avr_relocate_section): Call
770 1.1 skrll _bfd_elf_rela_local_sym.
771 1.1 skrll * elf32-cris.c (cris_elf_relocate_section): Likewise.
772 1.1 skrll * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
773 1.1 skrll * elf32-fr30.c (fr30_final_link_relocate): Likewise.
774 1.1 skrll * elf32-h8300.c (elf32_h8_relocate_section): Likewise.
775 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
776 1.1 skrll * elf32-i370.c (i370_elf_relocate_section): Likewise.
777 1.1 skrll * elf32-i860.c (elf32_i860_relocate_section): Likewise.
778 1.1 skrll * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
779 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
780 1.1 skrll * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
781 1.1 skrll * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
782 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
783 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Likewise.
784 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
785 1.1 skrll * elf32-v850.c (v850_elf_relocate_section): Likewise.
786 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
787 1.1 skrll * elf64-mmix.c (mmix_elf_relocate_section): Likewise.
788 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
789 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise.
790 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
791 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
792 1.1 skrll * elf-hppa.h (elf_hppa_relocate_section): Likewise.
793 1.1 skrll * elf-m10200.c (mn10200_elf_relocate_section): Likewise.
794 1.1 skrll * elf-m10300.c (mn10300_elf_relocate_section): Likewise.
795 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
796 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Likewise for
797 1.1 skrll !partial_inplace relocs. Handle relocs against STT_SECTION
798 1.1 skrll symbol of SHF_MERGE for partial_inplace relocs.
799 1.1 skrll
800 1.1 skrll 2001-11-21 Nick Clifton <nickc (a] cambridge.redhat.com>
801 1.1 skrll
802 1.1 skrll * po/Make-in (distclean): Move SRC-POTFILES.in and
803 1.1 skrll BLD-POTFILES.in to maintainer-clean target.
804 1.1 skrll
805 1.1 skrll 2001-11-21 Alan Modra <amodra (a] bigpond.net.au>
806 1.1 skrll
807 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Test r_symndx rather
808 1.1 skrll than sym_sec->output_section to detect relocs against discarded
809 1.1 skrll sections.
810 1.1 skrll
811 1.1 skrll 2001-11-19 H.J. Lu <hjl (a] gnu.org>
812 1.1 skrll
813 1.1 skrll * elflink.h (elf_link_input_bfd): Assert r_symndx != 0 when
814 1.1 skrll discarding relocations.
815 1.1 skrll
816 1.1 skrll 2001-11-19 Nick Clifton <nickc (a] cambridge.redhat.com>
817 1.1 skrll
818 1.1 skrll * section.c (bfd_is_const_section): New macro. Return true if the
819 1.1 skrll given seciton is one of the special, constant, sections.
820 1.1 skrll * bfd-in2.h: Regenerate.
821 1.1 skrll * coffgen.c (coff_count_linenumbers): Use bfd_is_const_section.
822 1.1 skrll (coff_write_native_symbol): Use bfd_is_const_section.
823 1.1 skrll
824 1.1 skrll 2001-11-19 Alan Modra <amodra (a] bigpond.net.au>
825 1.1 skrll
826 1.1 skrll * elf32-hppa.c (clobber_millicode_symbols): Dec dynstr refcount.
827 1.1 skrll
828 1.1 skrll * elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined
829 1.1 skrll millicode syms as candidates for import stubs.
830 1.1 skrll
831 1.1 skrll * elf32-hppa.c (PLABEL_PLT_ENTRY_SIZE): Delete.
832 1.1 skrll (allocate_PIC_calls): Rename to allocate_plt_static.
833 1.1 skrll (allocate_dynrelocs): Move most of code handling .plt entries to..
834 1.1 skrll (allocate_plt_static): ..here. Don't drop plabel entries.
835 1.1 skrll
836 1.1 skrll 2001-11-19 Hans-Peter Nilsson <hp (a] bitrange.com>
837 1.1 skrll
838 1.1 skrll * mmo.c: Adjust documentation tags to use texinfo 4 features.
839 1.1 skrll
840 1.1 skrll 2001-11-16 Nick Clifton <nickc (a] cambridge.redhat.com>
841 1.1 skrll
842 1.1 skrll * section.c (bfd_is_const_section): New macro. Return true if the
843 1.1 skrll section pointer refers to one of the special, constant sections.
844 1.1 skrll * bfd-in2.h: Regenerate.
845 1.1 skrll
846 1.1 skrll * coffgen.c (coff_count_linenumbers): Only update the line number
847 1.1 skrll count in non-special sections.
848 1.1 skrll (coff_write_native_symbol): Only update the line number file
849 1.1 skrll position in non-special sections.
850 1.1 skrll
851 1.1 skrll 2001-11-15 Daniel Jacobowitz <drow (a] mvista.com>
852 1.1 skrll
853 1.1 skrll * elflink.h (elf_reloc_symbol_deleted_p): Catch all relocs against
854 1.1 skrll local syms from discarded sections. Update comment.
855 1.1 skrll
856 1.1 skrll 2001-11-15 Alan Modra <amodra (a] bigpond.net.au>
857 1.1 skrll
858 1.1 skrll * po/SRC-POTFILES.in: Regenerate.
859 1.1 skrll
860 1.1 skrll * elflink.h (elf_link_input_bfd): Complain about all relocs
861 1.1 skrll against local syms from discarded sections. K&R fixes.
862 1.1 skrll (elf_reloc_symbol_deleted_p): Don't try to swap in external syms.
863 1.1 skrll K&R fixes.
864 1.1 skrll
865 1.1 skrll 2001-11-15 Alexandre Oliva <aoliva (a] redhat.com>
866 1.1 skrll
867 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Disregard
868 1.1 skrll overflows in the .stab section.
869 1.1 skrll
870 1.1 skrll 2001-11-14 Daniel Jacobowitz <drow (a] mvista.com>
871 1.1 skrll
872 1.1 skrll * bfd-in.h (bfd_elf32_discard_info): Add prototype.
873 1.1 skrll (bfd_elf64_discard_info): Likewise.
874 1.1 skrll * bfd-in2.h: Regenerate.
875 1.1 skrll * elf-bfd.h (struct elf_reloc_cookie): New.
876 1.1 skrll (struct elf_backend_data): Add elf_backend_discard_info,
877 1.1 skrll elf_backend_ignore_discarded_relocs, and elf_backend_write_section.
878 1.1 skrll (_bfd_elf32_reloc_symbol_deleted_p): Add prototype.
879 1.1 skrll (_bfd_elf64_reloc_symbol_deleted_p): Likewise.
880 1.1 skrll * elf32-mips.c (_bfd_elf32_mips_discard_info): New.
881 1.1 skrll (_bfd_elf32_mips_ignore_discarded_relocs): New.
882 1.1 skrll (_bfd_elf32_mips_write_section): New.
883 1.1 skrll (elf_backend_discard_info): Define.
884 1.1 skrll (elf_backend_ignore_discarded_relocs): Define.
885 1.1 skrll (elf_backend_write_section): Define.
886 1.1 skrll * elfcode.h (elf_bfd_discard_info): Define.
887 1.1 skrll (elf_reloc_symbol_deleted_p): Define.
888 1.1 skrll * elflink.h (elf_link_input_bfd): Check
889 1.1 skrll elf_section_ignore_discarded_relocs. Call
890 1.1 skrll bed->elf_backend_write_section if available.
891 1.1 skrll (elf_reloc_symbol_deleted_p): New.
892 1.1 skrll (elf_bfd_discard_info): New.
893 1.1 skrll (elf_section_ignore_discarded_relocs): New.
894 1.1 skrll * elfxx-target.h (elf_backend_discard_info): Define.
895 1.1 skrll (elf_backend_ignore_discarded_relocs): Define.
896 1.1 skrll (elf_backend_write_section): Define.
897 1.1 skrll (elfNN_bed): Add elf_backend_discard_info,
898 1.1 skrll elf_backend_ignore_discarded_relocs, and
899 1.1 skrll elf_backend_write_section.
900 1.1 skrll * libbfd-in.h (_bfd_discard_section_stabs): Add prototype.
901 1.1 skrll * libbfd.h: Regenerate.
902 1.1 skrll * stabs.c (_bfd_discard_section_stabs): New.
903 1.1 skrll
904 1.1 skrll 2001-11-14 Martin Schwidefsky <schwidefsky (a] de.ibm.com>
905 1.1 skrll
906 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Use the "unresolved_reloc"
907 1.1 skrll scheme to get rid of an ugly complicated test.
908 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise.
909 1.1 skrll
910 1.1 skrll 2001-11-14 Andreas Jaeger <aj (a] suse.de>
911 1.1 skrll
912 1.1 skrll * cpu-i386.c (bfd_x86_64_arch_intel_syntax,bfd_x86_64_arch): Use
913 1.1 skrll x86-64 for display.
914 1.1 skrll
915 1.1 skrll 2001-11-14 Jakub Jelinek <jakub (a] redhat.com>
916 1.1 skrll
917 1.1 skrll * dwarf2.c (struct line_head) [total_length]: Change type to
918 1.1 skrll bfd_vma.
919 1.1 skrll (struct dwarf2_debug): Add dwarf_str_buffer and dwarf_str_size.
920 1.1 skrll (struct comp_unit): Add stash and offset_size.
921 1.1 skrll (read_8_bytes): Return bfd_vma.
922 1.1 skrll (read_indirect_string): New.
923 1.1 skrll (read_attribute): Handle DW_FORM_strp.
924 1.1 skrll (decode_line_info): Support 64-bit DWARF format.
925 1.1 skrll (_bfd_dwarf2_find_nearest_line): Likewise.
926 1.1 skrll (parse_comp_unit): Set offset_size and stash.
927 1.1 skrll
928 1.1 skrll 2001-11-13 Keith Walker <keith.walker (a] arm.com>
929 1.1 skrll
930 1.1 skrll * dwarf2.c (read_attribute_value): New function to handle
931 1.1 skrll DW_FORM_indirect.
932 1.1 skrll (read_attribute): Use it.
933 1.1 skrll
934 1.1 skrll 2001-11-13 Geoffrey Keating <geoffk (a] redhat.com>
935 1.1 skrll
936 1.1 skrll * dwarf2.c (decode_line_info): Properly deal with unknown standard
937 1.1 skrll opcodes.
938 1.1 skrll
939 1.1 skrll 2001-11-13 John Marshall <jmarshall (a] acm.org>
940 1.1 skrll Alan Modra <amodra (a] bigpond.net.au>
941 1.1 skrll
942 1.1 skrll * section.c (bfd_make_section_anyway): Don't increment section_id
943 1.1 skrll and the BFD's section_count if adding the section failed.
944 1.1 skrll * vms.c (vms_new_section_hook): Adjust for bfd_make_section_anyway
945 1.1 skrll change.
946 1.1 skrll
947 1.1 skrll 2001-11-12 Orjan Friberg <orjanf (a] axis.com>
948 1.1 skrll
949 1.1 skrll * elf32-cris.c (cris_elf_grok_prstatus): Adjust values to match new
950 1.1 skrll core dump format.
951 1.1 skrll
952 1.1 skrll 2001-11-11 H.J. Lu <hjl (a] gnu.org>
953 1.1 skrll
954 1.1 skrll * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Call
955 1.1 skrll _bfd_elf_strtab_size instead of _bfd_stringtab_size.
956 1.1 skrll
957 1.1 skrll * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Change
958 1.1 skrll dynstr type to `struct elf_strtab_hash *'.
959 1.1 skrll
960 1.1 skrll 2001-11-11 Hans-Peter Nilsson <hp (a] bitrange.com>
961 1.1 skrll
962 1.1 skrll * elf-strtab.c (_bfd_elf_strtab_finalize): Make first variable i
963 1.1 skrll size_t. Rename second i to j.
964 1.1 skrll
965 1.1 skrll 2001-11-10 Jeffrey A Law (law (a] cygnus.com)
966 1.1 skrll
967 1.1 skrll * binary.c: Include safe-ctype.h after bfd.h and sysdep.h.
968 1.1 skrll
969 1.1 skrll 2001-11-10 Alan Modra <amodra (a] bigpond.net.au>
970 1.1 skrll
971 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Don't copy STN_UNDEF
972 1.1 skrll relocs into shared libs.
973 1.1 skrll * elf32-cris.c (cris_elf_relocate_section): Likewise.
974 1.1 skrll * elf32-i370.c (i370_elf_relocate_section): Likewise.
975 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
976 1.1 skrll * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
977 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
978 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Likewise.
979 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
980 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
981 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise.
982 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
983 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
984 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
985 1.1 skrll
986 1.1 skrll * elf.c (bfd_section_from_r_symndx): New function.
987 1.1 skrll * elf-bfd.h (LOCAL_SYM_CACHE_SIZE): Define.
988 1.1 skrll (struct sym_sec_cache): New.
989 1.1 skrll (bfd_section_from_r_symndx): Declare.
990 1.1 skrll (struct bfd_elf_section_data): Change local_dynrel type to PTR.
991 1.1 skrll * elflink.h (elf_link_input_bfd): Don't test for removed linkonce
992 1.1 skrll relocs when relocatable. Don't zero entire reloc, just zero the
993 1.1 skrll addend and sym.
994 1.1 skrll * elf32-hppa.c (struct elf32_hppa_link_hash_table): Add sym_sec.
995 1.1 skrll (elf32_hppa_link_hash_table_create): Init it.
996 1.1 skrll (elf32_hppa_check_relocs): Track dynamic relocs needed for local
997 1.1 skrll syms on a per-section basis as we do for globals.
998 1.1 skrll (elf32_hppa_gc_sweep_hook): Update for local_dynrel change.
999 1.1 skrll (allocate_dynrelocs): Warning fix.
1000 1.1 skrll (elf32_hppa_size_dynamic_sections): Don't allocate relocs when
1001 1.1 skrll section has been discarded.
1002 1.1 skrll (elf32_hppa_relocate_section): Don't copy STN_UNDEF relocs
1003 1.1 skrll into shared libs.
1004 1.1 skrll * elf32-i386.c (struct elf_i386_link_hash_table): Add sym_sec.
1005 1.1 skrll (elf_i386_link_hash_table_create): Init it.
1006 1.1 skrll (elf_i386_check_relocs): Track dynamic relocs needed for local
1007 1.1 skrll syms on a per-section basis as we do for globals.
1008 1.1 skrll (elf_i386_gc_sweep_hook): Update for local_dynrel change.
1009 1.1 skrll Remove dead code.
1010 1.1 skrll (allocate_dynrelocs): Warning fix.
1011 1.1 skrll (elf_i386_size_dynamic_sections): Don't allocate relocs when
1012 1.1 skrll section has been discarded.
1013 1.1 skrll (elf_i386_relocate_section): Don't copy STN_UNDEF relocs
1014 1.1 skrll into shared libs.
1015 1.1 skrll * elf32-s390.c (struct elf_s390_link_hash_table): Add sym_sec.
1016 1.1 skrll (elf_s390_link_hash_table_create): Init it.
1017 1.1 skrll (elf_s390_check_relocs): Track dynamic relocs needed for local
1018 1.1 skrll syms on a per-section basis as we do for globals.
1019 1.1 skrll (elf_s390_gc_sweep_hook): Update for local_dynrel change.
1020 1.1 skrll Remove dead code.
1021 1.1 skrll (allocate_dynrelocs): Warning fix.
1022 1.1 skrll (elf_s390_size_dynamic_sections): Don't allocate relocs when
1023 1.1 skrll section has been discarded.
1024 1.1 skrll (elf_s390_relocate_section): Don't copy STN_UNDEF relocs
1025 1.1 skrll into shared libs.
1026 1.1 skrll * elf64-ppc.c (struct ppc_link_hash_table): Add sym_sec.
1027 1.1 skrll (ppc64_link_hash_table_create): Init it.
1028 1.1 skrll (ppc64_elf_check_relocs): Track dynamic relocs needed for local
1029 1.1 skrll syms on a per-section basis as we do for globals.
1030 1.1 skrll (ppc64_elf_gc_sweep_hook): Update for local_dynrel change.
1031 1.1 skrll (allocate_dynrelocs): Call the correct record_dynamic_dymbol
1032 1.1 skrll function. Warning fix.
1033 1.1 skrll (ppc64_elf_size_dynamic_sections): Don't allocate relocs when
1034 1.1 skrll section has been discarded.
1035 1.1 skrll (ppc64_elf_relocate_section): Don't copy STN_UNDEF relocs
1036 1.1 skrll into shared libs.
1037 1.1 skrll * elf64-s390.c (struct elf_s390_link_hash_table): Add sym_sec.
1038 1.1 skrll (elf_s390_link_hash_table_create): Init it.
1039 1.1 skrll (elf_s390_check_relocs): Track dynamic relocs needed for local
1040 1.1 skrll syms on a per-section basis as we do for globals.
1041 1.1 skrll (elf_s390_gc_sweep_hook): Update for local_dynrel change.
1042 1.1 skrll Remove dead code.
1043 1.1 skrll (allocate_dynrelocs): Warning fix.
1044 1.1 skrll (elf_s390_size_dynamic_sections): Don't allocate relocs when
1045 1.1 skrll section has been discarded.
1046 1.1 skrll (elf_s390_relocate_section): Don't copy STN_UNDEF relocs
1047 1.1 skrll into shared libs.
1048 1.1 skrll
1049 1.1 skrll 2001-11-08 Martin Schwidefsky <schwidefsky (a] de.ibm.com>
1050 1.1 skrll
1051 1.1 skrll * elf32-s390: Major rework that introduces all recent changes to
1052 1.1 skrll the s390 backends. Get a closer match to elf32-i386.
1053 1.1 skrll (elf_s390_relocate_section): Make use of dynamic section short-cuts.
1054 1.1 skrll Localise vars, and delay setting. Better error reporting, replace
1055 1.1 skrll BFD_ASSERT with abort. Check ELF_LINK_HASH_DEF_DYNAMIC to see if a
1056 1.1 skrll symbol is not defined in the regular object file and tread the weak
1057 1.1 skrll definition as the normal one. Don't discard relocs for undefweak or
1058 1.1 skrll undefined symbols and check !DEF_REGULAR as well as DEF_DYNAMIC in
1059 1.1 skrll test for avoided copy relocs. Reinstate fudge for unresolved relocs
1060 1.1 skrll in debugging sections.
1061 1.1 skrll (elf32_s390_adjust_dynamic_symbol): Handle nocopyreloc. Don't do copy
1062 1.1 skrll reloc processing for weakdefs. Remove redundant casts and aborts.
1063 1.1 skrll Delay setting of vars until needed. Move creation of dynamic symbols
1064 1.1 skrll and allocation of .plt and .rela.plt to allocate_dynrelocs. Replace
1065 1.1 skrll BFD_ASSERT with abort. Discard .plt entries for everything with
1066 1.1 skrll plt.refcount <= 0.
1067 1.1 skrll (elf_s390_check_relocs): Don't allocate space for dynamic relocs,
1068 1.1 skrll .got or .relgot here but do it in allocate_dynrelocs. Reference count
1069 1.1 skrll possible .plt and .got entries. Don't test input section SEC_READONLY
1070 1.1 skrll here to try to avoid copy relocs, and keep dyn_relocs regardless of
1071 1.1 skrll ELF_LINK_NON_GOT_REF. Don't set DF_TEXTREL here. Delay setting of
1072 1.1 skrll variables until needed. Remove separate switch stmt for creating .got
1073 1.1 skrll section. Initialise local_got_refcounts to 0. Cache pointer to
1074 1.1 skrll "sreloc" section in elf_section_data. Tweak condition under which .got
1075 1.1 skrll created. Report files with bad relocation section names.
1076 1.1 skrll (elf_s390_finish_dynamic_symbol): Don't copy relocs for symbols that
1077 1.1 skrll have been forced local. Use same test to decide if we can use a
1078 1.1 skrll relative reloc for got as elf_s390_relocate_section. Expand SHN_UNDEF
1079 1.1 skrll comment. Move expressions out of function calls. Replace BFD_ASSERT
1080 1.1 skrll with abort.
1081 1.1 skrll (elf_s390_finish_dynamic_sections): Migrate common code out of switch
1082 1.1 skrll statement. Replace BFD_ASSERT with abort.
1083 1.1 skrll (elf_s390_size_dynamic_sections): Call readonly_dynrelocs. Rename "i"
1084 1.1 skrll to "ibfd". Allocate space for local dyn relocs. Use DF_TEXTREL flag
1085 1.1 skrll instead of looking up section names for DT_TEXTREL. Replace
1086 1.1 skrll BFD_ASSERT with abort. Zero out the dynamic allocated content space.
1087 1.1 skrll Add a comment to remind us that one day this ought to be fixed.
1088 1.1 skrll (struct elf_s390_link_hash_entry): Rename "root" to "elf".
1089 1.1 skrll (struct elf_s390_link_hash_table): Likewise.
1090 1.1 skrll (elf_s390_link_hash_newfunc): Rename to link_hash_newfunc and get
1091 1.1 skrll rid of unnecessary casts.
1092 1.1 skrll (struct elf_s390_dyn_relocs): Add "sec", and "pc_count" fields.
1093 1.1 skrll Remove "section" field.
1094 1.1 skrll (elf_s390_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
1095 1.1 skrll Reference count possible .plt entries. Don't deallocate .got and
1096 1.1 skrll .relgot space here.
1097 1.1 skrll (struct elf_s390_pcrel_relocs_copied): Rename to elf_s390_dyn_relocs.
1098 1.1 skrll Update comment.
1099 1.1 skrll (struct elf_s390_link_hash_entry): Rename pcrel_relocs_copied to
1100 1.1 skrll dyn_relocs.
1101 1.1 skrll (elf_s390_discard_copies): Delete.
1102 1.1 skrll (elf_s390_link_hash_traverse): Delete.
1103 1.1 skrll (bfd_elf32_bfd_final_link): Delete. (ie. use regular final link
1104 1.1 skrll rather than gc variety).
1105 1.1 skrll (struct elf_s390_link_hash_table): Add sgot, sgotplt, srelgot, splt,
1106 1.1 skrll srelplt, sdynbss, srelbss fields.
1107 1.1 skrll (elf_s390_link_hash_table_create): Init them.
1108 1.1 skrll (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
1109 1.1 skrll (allocate_dynrelocs): New function.
1110 1.1 skrll (create_got_section): New function.
1111 1.1 skrll (elf_backend_can_refcount): Define.
1112 1.1 skrll (elf_backend_copy_indirect_symbol): Define.
1113 1.1 skrll (elf_s390_copy_indirect_symbol): New function.
1114 1.1 skrll (elf_s390_create_dynamic_sections): New function.
1115 1.1 skrll (readonly_dynrelocs): New function.
1116 1.1 skrll * elf64-s390.c: Likewise.
1117 1.1 skrll
1118 1.1 skrll 2001-11-07 Jakub Jelinek <jakub (a] redhat.com>
1119 1.1 skrll
1120 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add elf-strtab.lo.
1121 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf-strtab.c.
1122 1.1 skrll (elf-strtab.lo): Add rule.
1123 1.1 skrll * Makefile.in: Rebuilt.
1124 1.1 skrll * configure.in (elf): Add elf-strtab.lo.
1125 1.1 skrll * configure: Rebuilt.
1126 1.1 skrll * elf-bfd.h (elf_strtab_hash): Forward declare.
1127 1.1 skrll (struct elf_link_hash_table): Change dynstr type to
1128 1.1 skrll struct elf_strtab_hash *.
1129 1.1 skrll (struct elf_obj_tdata): Change strtab_ptr type to
1130 1.1 skrll struct elf_strtab_hash *.
1131 1.1 skrll (_bfd_elf_strtab_init, _bfd_elf_strtab_free, _bfd_elf_strtab_add,
1132 1.1 skrll _bfd_elf_strtab_addref, _bfd_elf_strtab_delref,
1133 1.1 skrll _bfd_elf_strtab_clear_all_refs, _bfd_elf_strtab_size,
1134 1.1 skrll _bfd_elf_strtab_offset, _bfd_elf_strtab_emit,
1135 1.1 skrll _bfd_elf_strtab_finalize): New prototypes.
1136 1.1 skrll * elf-strtab.c: New file.
1137 1.1 skrll * elflink.h (elf_link_add_object_symbols): Use _bfd_elf_strtab_add
1138 1.1 skrll and _bfd_elf_strtab_size instead of _bfd_stringtab calls.
1139 1.1 skrll Call _bfd_elf_strtab_delref if DT_NEEDED entry is not needed or
1140 1.1 skrll when forcing dynamic symbol to local.
1141 1.1 skrll (elf_link_create_dynamic_sections): Call
1142 1.1 skrll _bfd_elf_strtab_init instead of elf_stringtab_init.
1143 1.1 skrll (elf_link_record_local_dynamic_symbol): Likewise, change
1144 1.1 skrll dynstr type. Use _bfd_elf_strtab functions instead of
1145 1.1 skrll _bfd_stringtab calls.
1146 1.1 skrll (size_dynamic_sections): Use _bfd_elf_strtab functions instead of
1147 1.1 skrll _bfd_stringtab calls. For DT_RUNPATH and Verdaux vda_name fields,
1148 1.1 skrll call _bfd_elf_strtab_addref. Call elf_finalize_dynstr.
1149 1.1 skrll (elf_adjust_dynstr_offsets, elf_finalize_dynstr): New functions.
1150 1.1 skrll (elf_fix_symbol_flags): Call _bfd_elf_strtab_delref when forcing
1151 1.1 skrll dynamic symbol to local.
1152 1.1 skrll (elf_link_assign_sym_version): Likewise.
1153 1.1 skrll (elf_bfd_final_link): Call _bfd_elf_strtab_emit instead of
1154 1.1 skrll _bfd_stringtab_emit.
1155 1.1 skrll * elflink.c (_bfd_elf_link_record_dynamic_symbol): Change dynstr
1156 1.1 skrll type. Call _bfd_elf_strtab functions instead of
1157 1.1 skrll _bfd_stringtab functions.
1158 1.1 skrll * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise.
1159 1.1 skrll * elf.c (_bfd_elf_init_reloc_shdr): Likewise.
1160 1.1 skrll (elf_fake_sections): Likewise.
1161 1.1 skrll (assign_section_numbers): Call _bfd_elf_strtab_clear_all_refs
1162 1.1 skrll on shstrtab hash table, call _bfd_elf_strtab_addref on each section
1163 1.1 skrll name in the output. Call _bfd_elf_strtab_finalize and
1164 1.1 skrll use _bfd_elf_strtab_offset to finalize sh_name section header fields.
1165 1.1 skrll (_bfd_elf_compute_section_file_positions): Use _bfd_elf_strtab_size
1166 1.1 skrll instead of _bfd_stringtab_size.
1167 1.1 skrll (prep_headers): Change shstrtab type.
1168 1.1 skrll Use _bfd_elf_strtab calls instead of _bfd_stringtab calls.
1169 1.1 skrll
1170 1.1 skrll 2001-11-07 Alan Modra <amodra (a] bigpond.net.au>
1171 1.1 skrll
1172 1.1 skrll * elflink.h (elf_link_input_bfd <removed linkonce relocs>): Fix
1173 1.1 skrll bad symtab segfault. Formatting and warning fixes. Improve
1174 1.1 skrll error message for internationalisation.
1175 1.1 skrll
1176 1.1 skrll 2001-11-06 H.J. Lu (hjl (a] gnu.org)
1177 1.1 skrll
1178 1.1 skrll * elflink.h (elf_link_input_bfd): Complain about relocs against
1179 1.1 skrll discarded sections.
1180 1.1 skrll
1181 1.1 skrll 2001-11-03 Alan Modra <amodra (a] bigpond.net.au>
1182 1.1 skrll
1183 1.1 skrll * elfxx-target.h (elfNN_bed): Correct want_got_sym, want_dynbss order.
1184 1.1 skrll
1185 1.1 skrll 2001-11-02 H.J. Lu <hjl (a] gnu.org>
1186 1.1 skrll
1187 1.1 skrll * elf32-mips.c (mips_elf_calculate_relocation): Don't create
1188 1.1 skrll dynamic relocation for symbols defined in regular objects when
1189 1.1 skrll creating executables.
1190 1.1 skrll
1191 1.1 skrll 2001-11-02 Nick Clifton <nickc (a] cambridge.redhat.com>
1192 1.1 skrll
1193 1.1 skrll * configure.in (ALL_LINGUAS): Add "fr".
1194 1.1 skrll * configure: Regenerate.
1195 1.1 skrll * po/fr.po: New file.
1196 1.1 skrll
1197 1.1 skrll * coffgen.c (coff_object_p): Add comment to H.J.'s recent patch.
1198 1.1 skrll
1199 1.1 skrll 2001-11-02 John David Anglin <dave (a] hiauly1.hia.nrc.ca>
1200 1.1 skrll
1201 1.1 skrll * som.c (setup_sections): Initialize subspace_sections.
1202 1.1 skrll
1203 1.1 skrll 2001-11-02 H.J. Lu (hjl (a] gnu.org)
1204 1.1 skrll
1205 1.1 skrll * coffgen.c (coff_object_p): Return 0 if the header is too big.
1206 1.1 skrll
1207 1.1 skrll 2001-11-02 Hans-Peter Nilsson <hp (a] axis.com>
1208 1.1 skrll
1209 1.1 skrll * elfcore.h (elf_core_file_p): Preserve and clear abfd section
1210 1.1 skrll information. Save bfd arch and mach values. Restore on error.
1211 1.1 skrll
1212 1.1 skrll 2001-11-02 Alan Modra <amodra (a] bigpond.net.au>
1213 1.1 skrll
1214 1.1 skrll * elf32-hppa.c (hppa_handle_PIC_calls): Rename to mark_PIC_calls.
1215 1.1 skrll (allocate_PIC_calls): New function.
1216 1.1 skrll (allocate_dynrelocs): Don't allocate pic_call plt entries here.
1217 1.1 skrll (elf32_hppa_size_dynamic_sections): Call allocate_PIC_calls.
1218 1.1 skrll (elf32_hppa_finish_dynamic_symbol): Remove dead code.
1219 1.1 skrll
1220 1.1 skrll 2001-11-02 Hans-Peter Nilsson <hp (a] axis.com>
1221 1.1 skrll
1222 1.1 skrll * elf32-cris.c (cris_elf_grok_prstatus): New function.
1223 1.1 skrll (cris_elf_grok_psinfo): New function.
1224 1.1 skrll (elf_backend_grok_prstatus): Define.
1225 1.1 skrll (elf_backend_grok_psinfo): Define.
1226 1.1 skrll
1227 1.1 skrll 2001-11-01 Alan Modra <amodra (a] bigpond.net.au>
1228 1.1 skrll
1229 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Correct branch
1230 1.1 skrll prediction bits.
1231 1.1 skrll
1232 1.1 skrll 2001-10-31 Chris Demetriou <cgd (a] demetriou.com>
1233 1.1 skrll
1234 1.1 skrll * elf32-mips.c (_bfd_mips_elf_hi16_reloc): Handle PC-relative
1235 1.1 skrll relocations properly.
1236 1.1 skrll
1237 1.1 skrll 2001-10-31 H.J. Lu <hjl (a] gnu.org>
1238 1.1 skrll
1239 1.1 skrll * elflink.h (elf_link_output_extsym): Don't clear the visibility
1240 1.1 skrll field for relocateable.
1241 1.1 skrll
1242 1.1 skrll 2001-11-01 Alan Modra <amodra (a] bigpond.net.au>
1243 1.1 skrll
1244 1.1 skrll * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Don't count
1245 1.1 skrll .plt relocs in DT_RELASZ.
1246 1.1 skrll
1247 1.1 skrll 2001-10-29 NIIBE Yutaka <gniibe (a] m17n.org>
1248 1.1 skrll
1249 1.1 skrll * config.bfd: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
1250 1.1 skrll targets.
1251 1.1 skrll
1252 1.1 skrll 2001-10-31 Nick Clifton <nickc (a] cambridge.redhat.com>
1253 1.1 skrll
1254 1.1 skrll * targets.c: Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.
1255 1.1 skrll
1256 1.1 skrll 2001-10-30 Hans-Peter Nilsson <hp (a] bitrange.com>
1257 1.1 skrll
1258 1.1 skrll * Makefile.am (ALL_MACHINES): Add cpu-mmix.lo.
1259 1.1 skrll (BFD64_BACKENDS): Add elf64-mmix.lo and mmo.lo.
1260 1.1 skrll (BFD64_BACKENDS_CFILES): Add elf64-mmix.c and mmo.c.
1261 1.1 skrll Regenerate dependencies.
1262 1.1 skrll * configure.in (bfd_elf64_mmix_vec, bfd_mmo_vec): New vectors.
1263 1.1 skrll * config.bfd: [BFD64] (mmix-*-*): New case.
1264 1.1 skrll * cpu-mmix.c, mmo.c, elf64-mmix.c: New files.
1265 1.1 skrll * archures.c (enum bfd_architecture): Add bfd_arch_mmix.
1266 1.1 skrll (bfd_mmix_arch): Declare.
1267 1.1 skrll (bfd_archures_list): Add bfd_mmix_arch.
1268 1.1 skrll * targets.c (enum bfd_flavour): Add bfd_target_mmo_flavour.
1269 1.1 skrll (bfd_elf64_mmix_vec, bfd_mmo_vec): Declare.
1270 1.1 skrll (bfd_target_vect) [BFD64]: Add bfd_elf64_mmix_vec and
1271 1.1 skrll bfd_mmo_mmix_vec.
1272 1.1 skrll * reloc.c: Add MMIX relocations.
1273 1.1 skrll * bfd.c (struct _bfd, tdata): Add mmo_data.
1274 1.1 skrll * Makefile.in: Regenerate.
1275 1.1 skrll * configure: Regenerate.
1276 1.1 skrll * libbfd.h: Regenerate.
1277 1.1 skrll * bfd-in2.h: Regenerate.
1278 1.1 skrll * configure: Rebuild.
1279 1.1 skrll
1280 1.1 skrll 2001-10-30 Richard Earnshaw (rearnsha (a] arm.com)
1281 1.1 skrll
1282 1.1 skrll * elf.c (_bfd_elf_make_section_from_shdr): Set the LMA based on the
1283 1.1 skrll p_paddr of the segment that contains it.
1284 1.1 skrll (copy_private_bfd_data): If the LMA for a segment is known, use it
1285 1.1 skrll for matching sections to segments.
1286 1.1 skrll (assign_file_positions_for_segments): Use the LMA when adjusting
1287 1.1 skrll for inter-section alignment padding.
1288 1.1 skrll
1289 1.1 skrll 2001-10-29 Kazu Hirata <kazu (a] hxi.com>
1290 1.1 skrll
1291 1.1 skrll * README: Fix a typo.
1292 1.1 skrll
1293 1.1 skrll 2001-10-24 Richard Henderson <rth (a] redhat.com>
1294 1.1 skrll
1295 1.1 skrll * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Copy
1296 1.1 skrll timestamp to time_t for ctime.
1297 1.1 skrll
1298 1.1 skrll 2001-10-24 Hans-Peter Nilsson <hp (a] axis.com>
1299 1.1 skrll
1300 1.1 skrll * elf32-cris.c (cris_reloc_type_lookup): Change loop to use
1301 1.1 skrll unsigned, increasing index.
1302 1.1 skrll
1303 1.1 skrll 2001-10-23 H.J. Lu <hjl (a] gnu.org>
1304 1.1 skrll
1305 1.1 skrll * elf32-mips.c (_bfd_mips_elf_modify_segment_map): Check
1306 1.1 skrll m != NULL before accessing it.
1307 1.1 skrll
1308 1.1 skrll 2001-10-23 Alan Modra <amodra (a] bigpond.net.au>
1309 1.1 skrll
1310 1.1 skrll * elflink.h (elf_link_input_bfd): Zero the reloc instead of doing
1311 1.1 skrll bfd_reloc_type_lookup (bfd, BFD_RELOC_NONE) as bfd_reloc_type_lookup
1312 1.1 skrll doesn't accept BFD_RELOC_* on some targets, eg. hppa.
1313 1.1 skrll
1314 1.1 skrll * elf32-hppa.c (elf32_hppa_link_hash_entry): Remove plt_abs.
1315 1.1 skrll (hppa_link_hash_newfunc): Likewise.
1316 1.1 skrll (elf32_hppa_finish_dynamic_symbol): Likewise.
1317 1.1 skrll (allocate_dynrelocs): Always allocate .got relocs if shared.
1318 1.1 skrll (elf32_hppa_relocate_section): Output them too. Similarly
1319 1.1 skrll consolidate .plt reloc code, and no longer initialise .plt
1320 1.1 skrll when a reloc is output.
1321 1.1 skrll (elf32_hppa_finish_dynamic_symbol): Only initialise .plt entries
1322 1.1 skrll when no reloc is output.
1323 1.1 skrll
1324 1.1 skrll From Herbert Xu <herbert (a] gondor.apana.org.au>
1325 1.1 skrll * elf32-hppa.c (final_link_relocate): Call bfd_set_error for
1326 1.1 skrll unreachable branches.
1327 1.1 skrll
1328 1.1 skrll 2001-10-22 H.J. Lu <hjl (a] gnu.org>
1329 1.1 skrll
1330 1.1 skrll * configure.in (WIN32LIBADD): Use -L../libiberty for
1331 1.1 skrll mips*-*-linux*.
1332 1.1 skrll * configure: Rebuild.
1333 1.1 skrll
1334 1.1 skrll 2001-10-21 H.J. Lu <hjl (a] gnu.org>
1335 1.1 skrll
1336 1.1 skrll * configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
1337 1.1 skrll if shared library is enabled only for Linux hosts.
1338 1.1 skrll * configure: Rebuild.
1339 1.1 skrll
1340 1.1 skrll 2001-10-21 H.J. Lu <hjl (a] gnu.org>
1341 1.1 skrll
1342 1.1 skrll * configure.in (WIN32LIBADD): Check if PICFLAG is defined in
1343 1.1 skrll ../libiberty/Makefile instead of $enable_shared.
1344 1.1 skrll * configure: Rebuild.
1345 1.1 skrll
1346 1.1 skrll 2001-10-21 H.J. Lu <hjl (a] gnu.org>
1347 1.1 skrll
1348 1.1 skrll * elf32-cris.c (cris_reloc_type_lookup): Use int for index. Cover
1349 1.1 skrll index 0.
1350 1.1 skrll
1351 1.1 skrll 2001-10-20 H.J. Lu <hjl (a] gnu.org>
1352 1.1 skrll
1353 1.1 skrll * configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
1354 1.1 skrll if shared library is enabled.
1355 1.1 skrll * configure: Rebuild.
1356 1.1 skrll
1357 1.1 skrll 2001-10-20 H.J. Lu <hjl (a] gnu.org>
1358 1.1 skrll
1359 1.1 skrll * elf32-cris.c (cris_reloc_type_lookup): Allow index 0.
1360 1.1 skrll
1361 1.1 skrll 2001-10-19 H.J. Lu <hjl (a] gnu.org>
1362 1.1 skrll
1363 1.1 skrll * elfcode.h (elf_object_p): Don't clear D_PAGED if the section
1364 1.1 skrll size is empty.
1365 1.1 skrll
1366 1.1 skrll 2001-10-18 H.J. Lu <hjl (a] gnu.org>
1367 1.1 skrll
1368 1.1 skrll * elf32-i370.c (i370_elf_relocate_section): Ignore R_XXX_NONE.
1369 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
1370 1.1 skrll
1371 1.1 skrll 2001-10-18 Jakub Jelinek <jakub (a] redhat.com>
1372 1.1 skrll
1373 1.1 skrll * section.c (_bfd_strip_section_from_output): Don't count
1374 1.1 skrll SEC_EXCLUDE sections as references. Set SEC_EXCLUDE.
1375 1.1 skrll
1376 1.1 skrll 2001-10-17 Alan Modra <amodra (a] bigpond.net.au>
1377 1.1 skrll
1378 1.1 skrll * elf-m10200.c (mn10200_elf_relax_section): Cast assignment to
1379 1.1 skrll Elf_Internal_Shdr.contents now that it's no longer a PTR.
1380 1.1 skrll * elf-m10300.c (mn10300_elf_relax_section): Likewise.
1381 1.1 skrll * elf32-h8300.c (elf32_h8_relax_section): Likewise.
1382 1.1 skrll * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise.
1383 1.1 skrll * elf32-sh.c (sh_elf_relax_section): Likewise.
1384 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_section): Likewise.
1385 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
1386 1.1 skrll * elf.c (setup_group): Warning fixes.
1387 1.1 skrll * elflink.h (elf_link_sort_relocs): Likewise.
1388 1.1 skrll * pdp11.c (slurp_reloc_table): Likewise.
1389 1.1 skrll
1390 1.1 skrll 2001-10-16 Jeff Holcomb <jeffh (a] redhat.com>
1391 1.1 skrll
1392 1.1 skrll * elflink.h (elf_link_sort_relocs): Remove unnecessary pointer
1393 1.1 skrll casts.
1394 1.1 skrll
1395 1.1 skrll 2001-10-15 H.J. Lu <hjl (a] gnu.org>
1396 1.1 skrll
1397 1.1 skrll * elflink.h (elf_link_input_bfd): Set type to BFD_RELOC_NONE
1398 1.1 skrll for relocations against discarded link-once section.
1399 1.1 skrll
1400 1.1 skrll 2001-10-15 Alan Modra <amodra (a] bigpond.net.au>
1401 1.1 skrll
1402 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Report some detail on
1403 1.1 skrll bfd_reloc_outofrange and similar errors.
1404 1.1 skrll
1405 1.1 skrll * elf.c (_bfd_elf_link_hash_copy_indirect): Test ind->root.type
1406 1.1 skrll rather than ind->weakdef.
1407 1.1 skrll * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
1408 1.1 skrll * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
1409 1.1 skrll * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise.
1410 1.1 skrll * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
1411 1.1 skrll * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
1412 1.1 skrll
1413 1.1 skrll 2001-10-15 Alan Modra <amodra (a] bigpond.net.au>
1414 1.1 skrll H.J. Lu <hjl (a] gnu.org>
1415 1.1 skrll
1416 1.1 skrll * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Merge dyn_reloc
1417 1.1 skrll counts for aliases instead of aborting.
1418 1.1 skrll * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
1419 1.1 skrll * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
1420 1.1 skrll
1421 1.1 skrll * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Set plt.offset
1422 1.1 skrll to -1 for non-function symbols.
1423 1.1 skrll * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
1424 1.1 skrll * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
1425 1.1 skrll * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
1426 1.1 skrll * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
1427 1.1 skrll * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
1428 1.1 skrll * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Refer to
1429 1.1 skrll plt.offset instead of plt.refcount when setting to -1.
1430 1.1 skrll
1431 1.1 skrll 2001-10-12 Nick Clifton <nickc (a] cambridge.redhat.com>
1432 1.1 skrll
1433 1.1 skrll * elf32-arm.h (elf32_arm_relocate_section): Treat R_ARM_THM_PC22
1434 1.1 skrll like R_ARM_PC24. Include reloc number in error message about
1435 1.1 skrll unresolvable relocs.
1436 1.1 skrll
1437 1.1 skrll 2001-10-10 Jakub Jelinek <jakub (a] redhat.com>
1438 1.1 skrll
1439 1.1 skrll * elflink.h (elf_link_sort_cmp2): Don't mix PLT and non-PLT
1440 1.1 skrll relocations against the same symbol in .rel{,a}.dyn section.
1441 1.1 skrll
1442 1.1 skrll 2001-10-10 Kazu Hirata <kazu (a] hxi.com>
1443 1.1 skrll
1444 1.1 skrll * aout-encap.c: Fix comment typos.
1445 1.1 skrll * aoutx.h: Likewise.
1446 1.1 skrll * archive.c: Likewise.
1447 1.1 skrll * bout.c: Likewise.
1448 1.1 skrll * coff64-rs6000.c: Likewise.
1449 1.1 skrll * coffcode.h: Likewise.
1450 1.1 skrll * coffgen.c: Likewise.
1451 1.1 skrll * cofflink.c: Likewise.
1452 1.1 skrll * coff-mips.c: Likewise.
1453 1.1 skrll * ecoff.c: Likewise.
1454 1.1 skrll * elf32-m32r.c: Likewise.
1455 1.1 skrll * libcoff-in.h: Likewise.
1456 1.1 skrll * libecoff.h: Likewise.
1457 1.1 skrll * libxcoff.h: Likewise.
1458 1.1 skrll * nlm32-i386.c: Likewise.
1459 1.1 skrll * pdp11.c: Likewise.
1460 1.1 skrll * section.c: Likewise.
1461 1.1 skrll * som.c: Likewise.
1462 1.1 skrll * som.h: Likewise.
1463 1.1 skrll * bfd-in2.h: Regenerate.
1464 1.1 skrll * libcoff.h: Likewise.
1465 1.1 skrll
1466 1.1 skrll 2001-10-10 Alan Modra <amodra (a] bigpond.net.au>
1467 1.1 skrll
1468 1.1 skrll * elf.c (elf_map_symbols): Don't create new section symbols; Use
1469 1.1 skrll existing section syms. Update comments.
1470 1.1 skrll (copy_private_bfd_data): Formatting fixes.
1471 1.1 skrll (elfcore_grok_win32pstatus): Likewise.
1472 1.1 skrll (swap_out_syms): Likewise. Remove unnecessary level of braces.
1473 1.1 skrll
1474 1.1 skrll 2001-10-09 Alan Modra <amodra (a] bigpond.net.au>
1475 1.1 skrll
1476 1.1 skrll * elf-bfd.h (struct bfd_elf_section_data): Rename "group" to
1477 1.1 skrll "group_name".
1478 1.1 skrll (elf_group_name): Define.
1479 1.1 skrll (elf_next_in_group): Define.
1480 1.1 skrll * elf.c: Make use of elf_group_name and elf_next_in_group throughout.
1481 1.1 skrll (setup_group): Don't use sec->lineno for SHT_GROUP section to store
1482 1.1 skrll first member section; Instead use elf_next_in_group.
1483 1.1 skrll (bfd_section_from_shdr): Likewise.
1484 1.1 skrll (set_group_contents): Likewise. Use elf_section_syms, not sec->symbol.
1485 1.1 skrll
1486 1.1 skrll 2001-10-09 Alan Modra <amodra (a] bigpond.net.au>
1487 1.1 skrll
1488 1.1 skrll * elf-bfd.h (struct bfd_elf_section_data): Add "group" and
1489 1.1 skrll "next_in_group". Fix gp and gp_size comments.
1490 1.1 skrll * elf.c (union elf_internal_group): New.
1491 1.1 skrll (setup_group): New function.
1492 1.1 skrll (_bfd_elf_make_section_from_shdr): Set BFD flags for SHT_GROUP.
1493 1.1 skrll Call setup_group for SHF_GROUP sections.
1494 1.1 skrll (bfd_section_from_shdr): Build a BFD section for SHT_GROUP.
1495 1.1 skrll (elf_fake_sections): Set header type for SEC_GROUP, and header
1496 1.1 skrll flags for sections in a group.
1497 1.1 skrll (set_group_contents): New function.
1498 1.1 skrll (_bfd_elf_compute_section_file_positions): Call it.
1499 1.1 skrll (assign_section_numbers): Set sh_link for SHT_GROUP.
1500 1.1 skrll
1501 1.1 skrll * elflink.h (gc_mark_hook): Handle section groups.
1502 1.1 skrll * elfxx-target.h: Add SEC_GROUP to applicable_flags.
1503 1.1 skrll * section.c (SEC_GROUP): Define.
1504 1.1 skrll (struct sec): Comment fixes.
1505 1.1 skrll * bfd-in2.h: Regenerate.
1506 1.1 skrll
1507 1.1 skrll * elf.c (bfd_elf_print_symbol): Formatting fix; migrate expression
1508 1.1 skrll out of function args.
1509 1.1 skrll (_bfd_elf_canonicalize_reloc): Similarly.
1510 1.1 skrll (_bfd_elf_get_symtab): Here too.
1511 1.1 skrll (_bfd_elf_canonicalize_dynamic_symtab): And here.
1512 1.1 skrll * elfcode.h (elf_slurp_symbol_table): Don't recalculate size for
1513 1.1 skrll bfd_bread, and remove unnecessary cast.
1514 1.1 skrll
1515 1.1 skrll 2001-10-08 Aldy Hernandez <aldyh (a] redhat.com>
1516 1.1 skrll
1517 1.1 skrll * config.bfd (targ_cpu): Add arm9e-*-elf.
1518 1.1 skrll
1519 1.1 skrll 2001-10-06 Stephane Carrez <Stephane.Carrez (a] worldnet.fr>
1520 1.1 skrll
1521 1.1 skrll * dwarf2.c (comp_unit_find_nearest_line): Check for end of
1522 1.1 skrll compilation unit.
1523 1.1 skrll
1524 1.1 skrll 2001-10-06 Alan Modra <amodra (a] bigpond.net.au>
1525 1.1 skrll
1526 1.1 skrll * bfd.c (bfd_assert): Report bfd version.
1527 1.1 skrll (_bfd_abort): Likewise.
1528 1.1 skrll
1529 1.1 skrll * elflink.h (elf_link_input_bfd): Don't zero discarded link-once
1530 1.1 skrll section sym values. Instead replace any relocs against them with
1531 1.1 skrll relocs against STN_UNDEF, which has a zero value.
1532 1.1 skrll
1533 1.1 skrll * elf32-arc.c (elf_arc_howto_table): Set partial_inplace for all
1534 1.1 skrll relocs.
1535 1.1 skrll
1536 1.1 skrll 2001-10-05 Jeff Law <law (a] redhat.com>
1537 1.1 skrll
1538 1.1 skrll * som.h (som_exec_data): New field "version_id".
1539 1.1 skrll * som.c (som_object_setup): Record the version_id if it
1540 1.1 skrll exists.
1541 1.1 skrll (som_prep_headers): Do not initialize version_id here.
1542 1.1 skrll (som_finish_writing): Initialize version_id here.
1543 1.1 skrll
1544 1.1 skrll 2000-10-05 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
1545 1.1 skrll
1546 1.1 skrll * elf32-mips.c (elf_mips_howto_table): Fix some relocation howtos
1547 1.1 skrll according to the MIPS/SGI ELF64 ABI Draft.
1548 1.1 skrll (mips_elf_sort_hash_table): Typo.
1549 1.1 skrll
1550 1.1 skrll 2001-10-04 Alan Modra <amodra (a] bigpond.net.au>
1551 1.1 skrll
1552 1.1 skrll * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Comment typo.
1553 1.1 skrll
1554 1.1 skrll * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Bail out after
1555 1.1 skrll copying flags if this is a weakdef.
1556 1.1 skrll
1557 1.1 skrll 2001-10-04 Alan Modra <amodra (a] bigpond.net.au>
1558 1.1 skrll
1559 1.1 skrll * elf-bfd.h (struct elf_link_hash_entry): Reorganise for better
1560 1.1 skrll packing.
1561 1.1 skrll
1562 1.1 skrll * elf32-mips.c (mips_elf_record_global_got_symbol): Set got.offset
1563 1.1 skrll to 1 rather than 0 to avoid confusing copy_indirect_symbol.
1564 1.1 skrll (mips_elf_sort_hash_table_f): Compare got.offset against 1.
1565 1.1 skrll
1566 1.1 skrll * Makefile.am (BFD_H_DEPS): Add symcat.h. Ensure everything
1567 1.1 skrll depends on $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS), not just those
1568 1.1 skrll backends we configure. Run "make dep-am".
1569 1.1 skrll (install-data-local): Install symcat.h.
1570 1.1 skrll * dep-in.sed: Remove symcat.h from dependencies.
1571 1.1 skrll * Makefile.in: Regenerate.
1572 1.1 skrll
1573 1.1 skrll 2001-10-03 Vassili Karpov <malc (a] pulsesoft.com>
1574 1.1 skrll
1575 1.1 skrll * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Handle nocopyreloc.
1576 1.1 skrll
1577 1.1 skrll 2001-10-03 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
1578 1.1 skrll
1579 1.1 skrll * elf64-mips.c (elf_backend_may_use_rela_p): New define.
1580 1.1 skrll (elf_backend_default_use_rela_p): New define.
1581 1.1 skrll
1582 1.1 skrll 2001-10-03 Alan Modra <amodra (a] bigpond.net.au>
1583 1.1 skrll
1584 1.1 skrll * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Fix typos in last
1585 1.1 skrll change.
1586 1.1 skrll
1587 1.1 skrll * configure.in (AC_OUTPUT <bfd-in3.h>): Remove version.h.
1588 1.1 skrll * configure: Regenerate.
1589 1.1 skrll * Makefile.am (BFD_H_FILES): Add version.h.
1590 1.1 skrll * Makefile.in: Regenerate.
1591 1.1 skrll * po/SRC-POTFILES.in: Regenerate.
1592 1.1 skrll
1593 1.1 skrll * elflink.h (elf_fix_symbol_flags): Copy flags to weakdef using
1594 1.1 skrll elf_backend_copy_indirect_symbol so that backend has a chance to
1595 1.1 skrll copy other necessary fields.
1596 1.1 skrll * elf-bfd.h (struct elf_backend_data): Update description of
1597 1.1 skrll elf_backend_copy_indirect_symbol.
1598 1.1 skrll * elf.c (_bfd_elf_link_hash_copy_indirect): Bail out after
1599 1.1 skrll copying flags if this is a weakdef.
1600 1.1 skrll * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
1601 1.1 skrll (elfNN_ia64_aix_add_symbol_hook): Use elf_link_hash_lookup rather
1602 1.1 skrll than bfd_link_hash_lookup.
1603 1.1 skrll * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Don't do copy
1604 1.1 skrll reloc processing for weakdefs.
1605 1.1 skrll * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
1606 1.1 skrll * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
1607 1.1 skrll
1608 1.1 skrll 2001-10-02 Alan Modra <amodra (a] bigpond.net.au>
1609 1.1 skrll
1610 1.1 skrll * elf64-ppc.c (ppc64_elf_check_relocs): Use a local var and cast
1611 1.1 skrll result of ELF64_R_TYPE to enum before using in a switch.
1612 1.1 skrll (ppc64_elf_gc_mark_hook): Likewise.
1613 1.1 skrll (ppc64_elf_gc_sweep_hook): Likewise.
1614 1.1 skrll (ppc64_elf_reloc_type_class): Likewise.
1615 1.1 skrll
1616 1.1 skrll 2001-10-02 Alan Modra <amodra (a] bigpond.net.au>
1617 1.1 skrll
1618 1.1 skrll * version.h: New file.
1619 1.1 skrll * bfd-in.h: (BFD_VERSION): Substitute bfd_version.
1620 1.1 skrll (BFD_VERSION_DATE): Define.
1621 1.1 skrll (BFD_VERSION_STRING): Define.
1622 1.1 skrll * configure.in: AC_SUBST bfd_version, bfd_version_date and
1623 1.1 skrll bfd_version_string.
1624 1.1 skrll (AC_OUTPUT <bfd-in3.h>): Depend on version.h.
1625 1.1 skrll * bfd-in2.h: Regenerate.
1626 1.1 skrll * configure: Regenerate.
1627 1.1 skrll * Makefile.am: Run "make dep-am".
1628 1.1 skrll * Makefile.in: Regenerate.
1629 1.1 skrll
1630 1.1 skrll * bfd-in.h: Include "symcat.h".
1631 1.1 skrll (CONCAT4): Redefine as for old CAT4.
1632 1.1 skrll * aout-arm.c: Use equivalent CONCAT* macro in place of CAT* macros.
1633 1.1 skrll Add warning regarding whitespace.
1634 1.1 skrll * aout-cris.c: Likewise.
1635 1.1 skrll * aout-ns32k.c: Likewise.
1636 1.1 skrll * aout-sparcle.c: Likewise.
1637 1.1 skrll * aout-tic30.c: Likewise.
1638 1.1 skrll * aout0.c: Likewise.
1639 1.1 skrll * armnetbsd.c: Likewise.
1640 1.1 skrll * demo64.c: Likewise.
1641 1.1 skrll * elf-bfd.h: Likewise.
1642 1.1 skrll * gen-aout.c: Likewise.
1643 1.1 skrll * host-aout.c: Likewise.
1644 1.1 skrll * hp300bsd.c: Likewise.
1645 1.1 skrll * hp300hpux.c: Likewise.
1646 1.1 skrll * i386aout.c: Likewise.
1647 1.1 skrll * i386bsd.c: Likewise.
1648 1.1 skrll * i386dynix.c: Likewise.
1649 1.1 skrll * i386freebsd.c: Likewise.
1650 1.1 skrll * i386linux.c: Likewise.
1651 1.1 skrll * i386lynx.c: Likewise.
1652 1.1 skrll * i386mach3.c: Likewise.
1653 1.1 skrll * i386netbsd.c: Likewise.
1654 1.1 skrll * libaout.h: Likewise.
1655 1.1 skrll * m68k4knetbsd.c: Likewise.
1656 1.1 skrll * m68klinux.c: Likewise.
1657 1.1 skrll * m68klynx.c: Likewise.
1658 1.1 skrll * m68knetbsd.c: Likewise.
1659 1.1 skrll * m88kmach3.c: Likewise.
1660 1.1 skrll * mipsbsd.c: Likewise.
1661 1.1 skrll * newsos3.c: Likewise.
1662 1.1 skrll * ns32knetbsd.c: Likewise.
1663 1.1 skrll * pc532-mach.c: Likewise.
1664 1.1 skrll * pdp11.c: Likewise.
1665 1.1 skrll * riscix.c: Likewise.
1666 1.1 skrll * sparclinux.c: Likewise.
1667 1.1 skrll * sparclynx.c: Likewise.
1668 1.1 skrll * sparcnetbsd.c: Likewise.
1669 1.1 skrll * sunos.c: Likewise.
1670 1.1 skrll * targets.c: Likewise.
1671 1.1 skrll * vaxnetbsd.c: Likewise.
1672 1.1 skrll * vms-hdr.c: Likewise.
1673 1.1 skrll
1674 1.1 skrll 2001-10-01 Alan Modra <amodra (a] bigpond.net.au>
1675 1.1 skrll
1676 1.1 skrll * bfd-in.h: Remove comments regarding generated files.
1677 1.1 skrll * libbfd-in.h: Likewise.
1678 1.1 skrll * libcoff-in.h: Likewise.
1679 1.1 skrll * bfd-in2.h: Regenerate.
1680 1.1 skrll * libbfd.h: Likewise.
1681 1.1 skrll * libcoff.h: Likewise.
1682 1.1 skrll
1683 1.1 skrll 2001-09-30 kaz Kojima <kkojima (a] rr.iij4u.or.jp>
1684 1.1 skrll Hans-Peter Nilsson <hp (a] bitrange.com>
1685 1.1 skrll
1686 1.1 skrll * elf32-sh.c (sh_elf_howto_table, R_SH_REL32): Make
1687 1.1 skrll partial_inplace, matching assembler output. Set src_mask to
1688 1.1 skrll all ones.
1689 1.1 skrll (sh_elf_relocate_section): Delete misplaced comment.
1690 1.1 skrll For relocatable linking against section symbol, call
1691 1.1 skrll _bfd_relocate_contents for partial_inplace relocs and adjust
1692 1.1 skrll rel->r_addend for others.
1693 1.1 skrll <case R_SH_DIR32, R_SH_REL32>: Fetch partial_inplace addend with
1694 1.1 skrll bfd_get_32, not at rel->r_addend.
1695 1.1 skrll
1696 1.1 skrll 2001-09-30 Alan Modra <amodra (a] bigpond.net.au>
1697 1.1 skrll
1698 1.1 skrll * elf.c (_bfd_elf_link_hash_copy_indirect): Set ind refcounts to
1699 1.1 skrll the old dir refcount, so we indirectly set them to init_refcount.
1700 1.1 skrll Short-circuit asserts when we've just verified they are true.
1701 1.1 skrll
1702 1.1 skrll 2001-09-29 Alan Modra <amodra (a] bigpond.net.au>
1703 1.1 skrll
1704 1.1 skrll * section.c (struct sec): Remove kept_section.
1705 1.1 skrll (STD_SECTION): Remove kept_section initialisation.
1706 1.1 skrll (bfd_make_section_anyway): Here too.
1707 1.1 skrll * ecoff.c (bfd_debug_section): Remove kept_section initialisation.
1708 1.1 skrll * cofflink.c (_bfd_coff_link_input_bfd): Don't test kept_section.
1709 1.1 skrll * elflink.h (elf_link_input_bfd): Set discarded link-once section
1710 1.1 skrll symbols to zero, and remove all code involved with kept_section
1711 1.1 skrll and tracking section symbol values.
1712 1.1 skrll * bfd-in2.h: Regenerate.
1713 1.1 skrll * configure.in: Bump version number.
1714 1.1 skrll * configure: Regenerate.
1715 1.1 skrll
1716 1.1 skrll 2001-09-29 Alan Modra <amodra (a] bigpond.net.au>
1717 1.1 skrll
1718 1.1 skrll * elf64-ppc.c (struct ppc_dyn_relocs): New.
1719 1.1 skrll (IS_ABSOLUTE_RELOC): Define.
1720 1.1 skrll (struct ppc_link_hash_entry): New.
1721 1.1 skrll (struct ppc_link_hash_table): New.
1722 1.1 skrll (ppc_hash_table): Define.
1723 1.1 skrll (link_hash_newfunc): New function.
1724 1.1 skrll (ppc64_elf_link_hash_table_create): New function.
1725 1.1 skrll (create_got_section): New function.
1726 1.1 skrll (ppc64_elf_create_dynamic_sections): Call create_got_section. Stash
1727 1.1 skrll pointers to our dynamic sections in hash table.
1728 1.1 skrll (ppc64_elf_copy_indirect_symbol): New function.
1729 1.1 skrll (ppc64_elf_check_relocs): Remove DEBUG code. Use short-cuts to
1730 1.1 skrll dynamic sections. Localise vars. Modify code for refcounts
1731 1.1 skrll starting from zero. Don't allocate here, or force symbols dynamic.
1732 1.1 skrll Don't copy all relocs if shared, select ones we need. Add code
1733 1.1 skrll to track possible copy relocs for non-shared link.
1734 1.1 skrll (ppc64_elf_gc_mark_hook): Update comment.
1735 1.1 skrll (ppc64_elf_gc_sweep_hook): Sweep dynrelocs too.
1736 1.1 skrll (ppc64_elf_adjust_dynamic_symbol): Remove DEBUG code. Rewrite .plt
1737 1.1 skrll code for reference counting garbage collection. Don't create .plt
1738 1.1 skrll entries for functions that don't comply with ABI naming convention,
1739 1.1 skrll and don't allocate .plt space here. Use short-cuts to dynamic
1740 1.1 skrll sections. If possible, keep dynamic relocations instead of using
1741 1.1 skrll copy relocs. Remove confused comments.
1742 1.1 skrll (ppc_adjust_dynindx): Delete.
1743 1.1 skrll (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
1744 1.1 skrll (allocate_dynrelocs): New function.
1745 1.1 skrll (readonly_dynrelocs): New function.
1746 1.1 skrll (ppc64_elf_size_dynamic_sections): Rewrite. Allocate local .got
1747 1.1 skrll space here, and call allocate_dynrelocs to allocate space for
1748 1.1 skrll global .plt, .got and reloc sections. Use short-cuts to dynamic
1749 1.1 skrll sections. Call readonly_dynrelocs to determine whether we need
1750 1.1 skrll DT_TEXTREL. Don't generate section symbols here, the generic
1751 1.1 skrll ELF linker code does it for us.
1752 1.1 skrll (ppc64_elf_final_link): Call regular ELF backend linker rather than
1753 1.1 skrll gc variety, since we do our own .got handling.
1754 1.1 skrll (ppc64_elf_relocate_section): Remove DEBUG code. Make use of
1755 1.1 skrll dynamic section short-cuts. Localise vars, and delay setting.
1756 1.1 skrll Handle unknown relocs in main switch statement. Replace ugly
1757 1.1 skrll complicated tests for unresolvable relocs with a simple direct
1758 1.1 skrll scheme using "unresolved_reloc" var. Test ELF_ST_VISIBILITY
1759 1.1 skrll before allowing an undefined sym in a shared lib. Do R_*_DS tests
1760 1.1 skrll after main switch, when we've set addend. Do non-addend insn
1761 1.1 skrll tweaks before main swithc. Ignore input_section->vma when
1762 1.1 skrll calculating reloc offsets as it's always zero. Rewrite dynamic
1763 1.1 skrll reloc handling. Consolidate R_*_HA handling. Handle more relocs.
1764 1.1 skrll (ppc64_elf_finish_dynamic_symbol): Remove DEBUG code. Make use
1765 1.1 skrll of dynamic section short-cuts. Reorganise .plt handling code.
1766 1.1 skrll Remove confused comments. Take note of ELF_LINK_FORCED_LOCAL.
1767 1.1 skrll Move expressions out of swap_reloca_out function calls.
1768 1.1 skrll (ppc64_elf_reloc_type_class): New function.
1769 1.1 skrll (ppc64_elf_info_to_howto): Move common expression to local var.
1770 1.1 skrll (ppc64_elf_finish_dynamic_sections): Remove DEBUG code. Make use
1771 1.1 skrll of dynamic section short-cuts. Don't fiddle with section syms
1772 1.1 skrll here as the ELF linker does it for us.
1773 1.1 skrll (elf_backend_can_refcount): Define.
1774 1.1 skrll (bfd_elf64_bfd_link_hash_table_create): Define.
1775 1.1 skrll (elf_backend_copy_indirect_symbol): Define.
1776 1.1 skrll (elf_backend_reloc_type_class): Define.
1777 1.1 skrll (elf_backend_*, bfd_elf64_bfd_* defines): Sort.
1778 1.1 skrll
1779 1.1 skrll 2001-09-29 Alan Modra <amodra (a] bigpond.net.au>
1780 1.1 skrll
1781 1.1 skrll * elf-bfd.h (struct elf_link_local_dynamic_entry): Add init_refcount.
1782 1.1 skrll (struct elf_backend_data): Add can_refcount.
1783 1.1 skrll * elf.c (_bfd_elf_link_hash_newfunc): Get rid of a few casts. Set
1784 1.1 skrll got.refcount and plt.refcount from init_refcount.
1785 1.1 skrll (_bfd_elf_link_hash_table_init): Set up init_refcount.
1786 1.1 skrll (_bfd_elf_link_hash_copy_indirect): Reference got/plt.refcount
1787 1.1 skrll rather than got/plt.offset, and test for <= 0 rather than -1.
1788 1.1 skrll * elflink.h (size_dynamic_sections): Set init_refcount to -1.
1789 1.1 skrll * elfxx-target.h (elf_backend_can_refcount): Define.
1790 1.1 skrll (elfNN_bed): Init can_refcount.
1791 1.1 skrll * linker.c (_bfd_link_hash_newfunc): Get rid of a few casts.
1792 1.1 skrll (_bfd_generic_link_hash_newfunc): Likewise.
1793 1.1 skrll * elf32-cris.c (cris_elf_check_relocs): Modify for refcounts
1794 1.1 skrll starting from zero.
1795 1.1 skrll (elf_backend_can_refcount): Define.
1796 1.1 skrll * elf32-hppa.c (elf32_hppa_check_relocs): Modify for refcounts
1797 1.1 skrll starting from zero.
1798 1.1 skrll (elf32_hppa_copy_indirect_symbol): Make static to agree with
1799 1.1 skrll prototype.
1800 1.1 skrll (elf_backend_can_refcount): Define.
1801 1.1 skrll * elf32-i386.c (elf_i386_check_relocs): Modify for refcounts
1802 1.1 skrll starting from zero.
1803 1.1 skrll (allocate_dynrelocs): Set plt/got.offset rather than *.refcount.
1804 1.1 skrll (elf_i386_finish_dynamic_symbol): Expand SHN_UNDEF comment.
1805 1.1 skrll (elf_i386_finish_dynamic_sections): Use local var so line < 80 chars.
1806 1.1 skrll (elf_backend_can_refcount): Define.
1807 1.1 skrll (elf_i386_copy_indirect_symbol): Make static to agree with
1808 1.1 skrll prototype. Formatting fix.
1809 1.1 skrll * elf32-m68k.c (elf_m68k_check_relocs): Modify for refcounts
1810 1.1 skrll starting from zero.
1811 1.1 skrll (elf_backend_can_refcount): Define.
1812 1.1 skrll * elf32-ppc.c (ppc_elf_check_relocs): Modify for refcounts
1813 1.1 skrll starting from zero.
1814 1.1 skrll (elf_backend_can_refcount): Define.
1815 1.1 skrll * elf32-s390.c (elf_s390_check_relocs): Modify for refcounts
1816 1.1 skrll starting from zero.
1817 1.1 skrll (elf_backend_can_refcount): Define.
1818 1.1 skrll * elf64-s390.c (elf_s390_check_relocs): Modify for refcounts
1819 1.1 skrll starting from zero.
1820 1.1 skrll (elf_backend_can_refcount): Define.
1821 1.1 skrll * elf64-x86-64.c (elf64_x86_64_check_relocs): Modify for refcounts
1822 1.1 skrll starting from zero.
1823 1.1 skrll (elf_backend_can_refcount): Define.
1824 1.1 skrll
1825 1.1 skrll * som.c (som_write_symbol_strings): Cast current_offset in
1826 1.1 skrll bfd_seek call to match param type.
1827 1.1 skrll
1828 1.1 skrll 2001-09-28 J. Brobecker <brobecker (a] gnat.com>
1829 1.1 skrll
1830 1.1 skrll * som.c (som_write_symbol_strings): Fix incorrect type of
1831 1.1 skrll current_offset to match the function definition. Fixes a build
1832 1.1 skrll failure on HPUX-11.00.
1833 1.1 skrll
1834 1.1 skrll 2001-09-28 Richard Henderson <rth (a] redhat.com>
1835 1.1 skrll
1836 1.1 skrll * elfxx-target.h [section_flags]: Add SEC_ARCH_BIT_0, SEC_SMALL_DATA,
1837 1.1 skrll SEC_MERGE, SEC_STRINGS.
1838 1.1 skrll
1839 1.1 skrll * section.c (SEC_ARCH_BIT_0): New; replace unused SEC_BALIGN.
1840 1.1 skrll * bfd-in2.h: Rebuild.
1841 1.1 skrll
1842 1.1 skrll 2001-09-28 Alan Modra <amodra (a] bigpond.net.au>
1843 1.1 skrll
1844 1.1 skrll * elf64-x86-64.c (elf64_x86_64_reloc_type_lookup): Don't map bfd
1845 1.1 skrll reloc code using x86_64_reloc_map.
1846 1.1 skrll
1847 1.1 skrll * elf32-hppa.c (elf32_hppa_check_relocs): Update comment since we
1848 1.1 skrll no longer allocate here. Localise some vars to blocks where they
1849 1.1 skrll are used.
1850 1.1 skrll (elf32_hppa_adjust_dynamic_symbol): Correct a comment. Delay
1851 1.1 skrll setting of vars until needed.
1852 1.1 skrll (allocate_dynrelocs): Don't create a .plt entry without a reloc
1853 1.1 skrll when symbol visibilty makes a function local.
1854 1.1 skrll (elf32_hppa_finish_dynamic_symbol): Move expressions out of
1855 1.1 skrll swap_reloca_out function calls.
1856 1.1 skrll (elf32_hppa_relocate_section): Likewies. Comment typo fix.
1857 1.1 skrll (elf32_hppa_finish_dynamic_sections): Migrate common code out of
1858 1.1 skrll switch statement.
1859 1.1 skrll
1860 1.1 skrll * elf32-i386.c (elf_i386_check_relocs): Update comment since we
1861 1.1 skrll no longer allocate here. Localise some vars to blocks where they
1862 1.1 skrll are used. Remove separate switch stmt for creating .got sec.
1863 1.1 skrll (elf_i386_adjust_dynamic_symbol): Correct a comment. Remove
1864 1.1 skrll redundant casts and aborts. Delay setting of vars until needed.
1865 1.1 skrll (allocate_dynrelocs): Remove redundant casts and aborts.
1866 1.1 skrll (elf_i386_size_dynamic_sections): Move comment.
1867 1.1 skrll (elf_i386_finish_dynamic_symbol): Move expressions out of function
1868 1.1 skrll calls.
1869 1.1 skrll (elf_i386_relocate_section): Likewise. Comment typo fix.
1870 1.1 skrll (elf_i386_finish_dynamic_sections): Migrate common code out of
1871 1.1 skrll switch statement.
1872 1.1 skrll (elf_backend_* defines): Sort.
1873 1.1 skrll
1874 1.1 skrll * elf32-i386.c (allocate_dynrelocs): Don't create a .plt entry
1875 1.1 skrll without a reloc when symbol visibilty makes a function local.
1876 1.1 skrll
1877 1.1 skrll 2001-09-27 Nick Clifton <nickc (a] cambridge.redhat.com>
1878 1.1 skrll
1879 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix detection of
1880 1.1 skrll conflicting float flags.
1881 1.1 skrll
1882 1.1 skrll 2001-09-26 Alan Modra <amodra (a] bigpond.net.au>
1883 1.1 skrll
1884 1.1 skrll * elf32-i386 (elf_i386_copy_indirect_symbol): New function.
1885 1.1 skrll (elf_backend_copy_indirect_symbol): Define.
1886 1.1 skrll (struct elf_i386_link_hash_entry): Rename "root" to "elf".
1887 1.1 skrll (struct elf_i386_link_hash_table): Likewise.
1888 1.1 skrll (link_hash_newfunc): Get rid of unnecessary casts.
1889 1.1 skrll (elf_i386_link_hash_table_create): Likewise.
1890 1.1 skrll (elf_i386_check_relocs): Initialise local_got_refcounts to 0.
1891 1.1 skrll Don't test input section SEC_READONLY here to try to avoid copy
1892 1.1 skrll relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF.
1893 1.1 skrll (elf_i386_adjust_dynamic_symbol): Check output section SEC_READONLY
1894 1.1 skrll here to properly test whether we need copy relocs. Do so for weak
1895 1.1 skrll syms too.
1896 1.1 skrll
1897 1.1 skrll * elf32-hppa (elf32_hppa_copy_indirect_symbol): New function.
1898 1.1 skrll (elf_backend_copy_indirect_symbol): Define.
1899 1.1 skrll (struct elf32_hppa_link_hash_table): Rename "root" to "elf".
1900 1.1 skrll (stub_hash_newfunc): Get rid of unnecessary casts.
1901 1.1 skrll (hppa_link_hash_newfunc): Likewise.
1902 1.1 skrll (elf32_hppa_check_relocs): Initialise local_got_refcounts to 0.
1903 1.1 skrll Don't test input section SEC_READONLY here to try to avoid copy
1904 1.1 skrll relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF.
1905 1.1 skrll (elf32_hppa_adjust_dynamic_symbol): Check output section SEC_READONLY
1906 1.1 skrll here to properly test whether we need copy relocs. Do so for weak
1907 1.1 skrll syms too.
1908 1.1 skrll
1909 1.1 skrll 2001-09-26 Alan Modra <amodra (a] bigpond.net.au>
1910 1.1 skrll
1911 1.1 skrll * bfd.c (_bfd_default_error_handlerl): Define using VPARAMS,
1912 1.1 skrll VA_OPEN, VA_FIXEDARG, VA_CLOSE.
1913 1.1 skrll (bfd_archive_filename): Cast bfd_malloc arg to the correct size.
1914 1.1 skrll
1915 1.1 skrll 2001-09-25 Jakub Jelinek <jakub (a] redhat.com>
1916 1.1 skrll
1917 1.1 skrll * elf64-sparc.c (sparc64_elf_build_plt): Fix .plt[32768+] slot
1918 1.1 skrll computation.
1919 1.1 skrll
1920 1.1 skrll 2001-09-25 H.J. Lu <hjl (a] gnu.org>
1921 1.1 skrll
1922 1.1 skrll * bfd-in2.h: Regenerated.
1923 1.1 skrll
1924 1.1 skrll 2001-09-25 Alan Modra <amodra (a] bigpond.net.au>
1925 1.1 skrll
1926 1.1 skrll * elf32-i386.c: Add comment re linker function names and ordering.
1927 1.1 skrll (elf_i386_link_hash_newfunc): Rename to link_hash_newfunc.
1928 1.1 skrll (elf_i386_grok_prstatus): Move before linker functions.
1929 1.1 skrll (elf_i386_grok_psinfo): Likewise.
1930 1.1 skrll (elf_i386_fake_sections): Move so that functions are ordered.
1931 1.1 skrll (elf_i386_reloc_type_class): Likewise. Comment function purpose.
1932 1.1 skrll
1933 1.1 skrll 2001-09-25 Alan Modra <amodra (a] bigpond.net.au>
1934 1.1 skrll
1935 1.1 skrll * elf32-hppa.c: Rename occurrences of "hplink" to "htab"
1936 1.1 skrll throughout file.
1937 1.1 skrll
1938 1.1 skrll * elf32-hppa.c: (LONG_BRANCH_PIC_IN_SHLIB): Delete. Remove all
1939 1.1 skrll code handling this option.
1940 1.1 skrll (LONG_BRANCH_VIA_PLT): Likewise.
1941 1.1 skrll (RELATIVE_DYNRELOCS): Define as zero.
1942 1.1 skrll (struct elf32_hppa_dyn_reloc_entry): Add "sec", and
1943 1.1 skrll "pc_count" fields. Remove "section" field.
1944 1.1 skrll (elf32_hppa_link_hash_entry): Rename reloc_entries to dyn_relocs.
1945 1.1 skrll (elf32_hppa_check_relocs): Don't allocate space for dynamic
1946 1.1 skrll relocs here. Instead, record all needed dynamic relocs via
1947 1.1 skrll dyn_relocs and local_dynrel. Cache pointer to "sreloc" section
1948 1.1 skrll in elf_section_data.
1949 1.1 skrll (elf32_hppa_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
1950 1.1 skrll (allocate_plt_and_got_and_discard_relocs): Rename to
1951 1.1 skrll allocate_dynrelocs. Allocate rather than discarding dyn relocs.
1952 1.1 skrll (readonly_dynrelocs): New function.
1953 1.1 skrll (elf32_hppa_size_dynamic_sections): Mark output_bfd unused.
1954 1.1 skrll Call readonly_dynrelocs to determine need for DT_TEXTREL.
1955 1.1 skrll Rename "i" to "ibfd". Allocate space for local dyn relocs.
1956 1.1 skrll (elf32_hppa_relocate_section): Make use of cached sreloc.
1957 1.1 skrll (elf32_hppa_reloc_type_class): New function.
1958 1.1 skrll (elf_backend_reloc_type_class): Define.
1959 1.1 skrll
1960 1.1 skrll 2001-09-25 Alan Modra <amodra (a] bigpond.net.au>
1961 1.1 skrll
1962 1.1 skrll * elf-bfd.h (struct bfd_elf_section_data): Add "local_dynrel"
1963 1.1 skrll and "sreloc" fields.
1964 1.1 skrll * elf32-i386.c (struct elf_i386_dyn_relocs): Add "sec", and
1965 1.1 skrll "pc_count" fields. Remove "section" field.
1966 1.1 skrll (elf_i386_check_relocs): Don't set DF_TEXTREL here. Don't
1967 1.1 skrll allocate space for dynamic relocs here. Instead, record all
1968 1.1 skrll needed dynamic relocs via dyn_relocs and local_dynrel. Cache
1969 1.1 skrll pointer to "sreloc" section in elf_section_data.
1970 1.1 skrll (elf_i386_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
1971 1.1 skrll (allocate_plt_and_got_and_discard_relocs): Rename to
1972 1.1 skrll allocate_dynrelocs. Allocate rather than discarding dyn relocs.
1973 1.1 skrll (readonly_dynrelocs): New function.
1974 1.1 skrll (elf_i386_size_dynamic_sections): Call readonly_dynrelocs.
1975 1.1 skrll Rename "i" to "ibfd". Allocate space for local dyn relocs.
1976 1.1 skrll (elf_i386_relocate_section): Make use of cached sreloc.
1977 1.1 skrll
1978 1.1 skrll 2001-09-24 Alan Modra <amodra (a] bigpond.net.au>
1979 1.1 skrll
1980 1.1 skrll * elf-bfd.h (elf_backend_reloc_type_class): Pass in the entire
1981 1.1 skrll reloc rather than just the type.
1982 1.1 skrll (_bfd_elf_reloc_type_class): Likewise.
1983 1.1 skrll * elf.c (_bfd_elf_reloc_type_class): Likewise.
1984 1.1 skrll * elf32-arm.h (elf32_arm_reloc_type_class): Likewise.
1985 1.1 skrll * elf32-cris.c (elf_cris_reloc_type_class): Likewise.
1986 1.1 skrll * elf32-i386.c (elf_i386_reloc_type_class): Likewise.
1987 1.1 skrll * elf32-m68k.c (elf32_m68k_reloc_type_class): Likewise.
1988 1.1 skrll * elf32-ppc.c (ppc_elf_reloc_type_class): Likewise.
1989 1.1 skrll * elf32-s390.c (elf_s390_reloc_type_class): Likewise.
1990 1.1 skrll * elf32-sh.c (sh_elf_reloc_type_class): Likewise.
1991 1.1 skrll * elf32-sparc.c (elf32_sparc_reloc_type_class): Likewise.
1992 1.1 skrll * elf64-alpha.c (elf64_alpha_reloc_type_class): Likewise.
1993 1.1 skrll * elf64-s390.c (elf_s390_reloc_type_class): Likewise.
1994 1.1 skrll * elf64-sparc.c (sparc64_elf_reloc_type_class): Likewise.
1995 1.1 skrll * elf64-x86-64.c (elf64_x86_64_reloc_type_class): Likewise.
1996 1.1 skrll * elfxx-ia64.c (elfNN_ia64_reloc_type_class): Likewise.
1997 1.1 skrll * elflink.h: Formatting fixes.
1998 1.1 skrll (elf_link_sort_relocs): Make "count" and "size" bfd_size_type.
1999 1.1 skrll Call bfd_zmalloc rather than calloc. Remove unnecessary cast of
2000 1.1 skrll o->contents to PTR. Update call to elf_backend_reloc_type_class.
2001 1.1 skrll
2002 1.1 skrll 2001-09-22 John Reiser <jreiser (a] BitWagon.com>
2003 1.1 skrll
2004 1.1 skrll * elfcode.h (elf_object_p): Allow for no section header at all in
2005 1.1 skrll non-ET_REL files. Honor 0 for e_shnum, e_shstrndx, e_shoff.
2006 1.1 skrll
2007 1.1 skrll 2001-09-21 Nick Clifton <nickc (a] cambridge.redhat.com>
2008 1.1 skrll
2009 1.1 skrll * elfxx-ia64.c: Fix compile time warning messages.
2010 1.1 skrll * coff-mcore.c: Fix compile time warning messages.
2011 1.1 skrll * coff-ppc.c: Fix compile time warning messages.
2012 1.1 skrll * coffcode.h: Fix compile time warning messages.
2013 1.1 skrll * elf32-mips.c: Fix compile time warning messages.
2014 1.1 skrll * elf64-alpha.c: Fix compile time warning messages.
2015 1.1 skrll * libbfd.c: Fix compile time warning messages.
2016 1.1 skrll * bfd-in2.h: Regenerate.
2017 1.1 skrll
2018 1.1 skrll 2001-09-21 Alan Modra <amodra (a] bigpond.net.au>
2019 1.1 skrll
2020 1.1 skrll * Makefile.am: Run "make dep-am".
2021 1.1 skrll * Makefile.in: Regenerate.
2022 1.1 skrll
2023 1.1 skrll * aoutx.h: Formatting fixes.
2024 1.1 skrll * merge.c (_bfd_merged_section_offset): Break line at 80 chars.
2025 1.1 skrll
2026 1.1 skrll * linker.c: Replace bfd_get_filename with bfd_archive_filename
2027 1.1 skrll in error message.
2028 1.1 skrll
2029 1.1 skrll 2001-09-21 Alan Modra <amodra (a] bigpond.net.au>
2030 1.1 skrll
2031 1.1 skrll * bfd.c (bfd_archive_filename): New function.
2032 1.1 skrll * bfd-in2.h: Regenerate.
2033 1.1 skrll * aout-adobe.c: Replace bfd_get_filename with bfd_archive_filename
2034 1.1 skrll in error messages where the bfd is an input bfd.
2035 1.1 skrll * aout-cris.c: Likewise.
2036 1.1 skrll * coff-arm.c: Likewise.
2037 1.1 skrll * coff-mcore.c: Likewise.
2038 1.1 skrll * coff-ppc.c: Likewise.
2039 1.1 skrll * coff-rs6000.c: Likewise.
2040 1.1 skrll * coff-sh.c: Likewise.
2041 1.1 skrll * coff-tic54x.c: Likewise.
2042 1.1 skrll * coff-tic80.c: Likewise.
2043 1.1 skrll * coff64-rs6000.c: Likewise.
2044 1.1 skrll * coffcode.h: Likewise.
2045 1.1 skrll * coffgen.c: Likewise.
2046 1.1 skrll * cofflink.c: Likewise.
2047 1.1 skrll * ecofflink.c: Likewise.
2048 1.1 skrll * elf-hppa.h: Likewise.
2049 1.1 skrll * elf.c: Likewise.
2050 1.1 skrll * elf32-arm.h: Likewise.
2051 1.1 skrll * elf32-cris.c: Likewise.
2052 1.1 skrll * elf32-gen.c: Likewise.
2053 1.1 skrll * elf32-hppa.c: Likewise.
2054 1.1 skrll * elf32-i370.c: Likewise.
2055 1.1 skrll * elf32-i386.c: Likewise.
2056 1.1 skrll * elf32-m32r.c: Likewise.
2057 1.1 skrll * elf32-mcore.c: Likewise.
2058 1.1 skrll * elf32-mips.c: Likewise.
2059 1.1 skrll * elf32-ppc.c: Likewise.
2060 1.1 skrll * elf32-s390.c: Likewise.
2061 1.1 skrll * elf32-sh.c: Likewise.
2062 1.1 skrll * elf32-sparc.c: Likewise.
2063 1.1 skrll * elf32-v850.c: Likewise.
2064 1.1 skrll * elf64-alpha.c: Likewise.
2065 1.1 skrll * elf64-gen.c: Likewise.
2066 1.1 skrll * elf64-ppc.c: Likewise.
2067 1.1 skrll * elf64-s390.c: Likewise.
2068 1.1 skrll * elf64-sparc.c: Likewise.
2069 1.1 skrll * elf64-x86-64.c: Likewise.
2070 1.1 skrll * elflink.h: Likewise.
2071 1.1 skrll * elfxx-ia64.c: Likewise.
2072 1.1 skrll * ieee.c: Likewise.
2073 1.1 skrll * ihex.c: Likewise.
2074 1.1 skrll * libbfd.c: Likewise.
2075 1.1 skrll * pdp11.c: Likewise.
2076 1.1 skrll * pe-mips.c: Likewise.
2077 1.1 skrll * peicode.h: Likewise.
2078 1.1 skrll * srec.c: Likewise.
2079 1.1 skrll * xcofflink.c: Likewise.
2080 1.1 skrll
2081 1.1 skrll * elf32-arm.h: Make _bfd_error_handler calls K&R compatible.
2082 1.1 skrll
2083 1.1 skrll * elflink.c (_bfd_elf_create_linker_section): Better grammar for
2084 1.1 skrll error message.
2085 1.1 skrll
2086 1.1 skrll * coff-mcore.c (coff_mcore_relocate_section): Internalionalise
2087 1.1 skrll error message.
2088 1.1 skrll
2089 1.1 skrll * elf64-sparc.c (sparc64_elf_add_symbol_hook): Constify stt_types.
2090 1.1 skrll Consolidate error messages, and split long messages to two lines.
2091 1.1 skrll
2092 1.1 skrll 2001-09-20 John Reiser <jreiser (a] BitWagon.com>
2093 1.1 skrll
2094 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Coordinate info->symbolic
2095 1.1 skrll and info->allow_shlib_undefined.
2096 1.1 skrll * elf32-cris.c: Likewise.
2097 1.1 skrll * elf32-hppa.c: Likewise.
2098 1.1 skrll * elf32-m68k.c: Likewise.
2099 1.1 skrll * elf32-mips.c: Likewise.
2100 1.1 skrll * elf32-ppc.c: Likewise.
2101 1.1 skrll * elf32-s390.c: Likewise.
2102 1.1 skrll * elf32-sh.c: Likewise.
2103 1.1 skrll * elf32-sparc.c: Likewise.
2104 1.1 skrll * elf64-alpha.c: Likewise.
2105 1.1 skrll * elf64-hppa.c: Likewise.
2106 1.1 skrll * elf64-ppc.c: Likewise.
2107 1.1 skrll * elf64-s390.c: Likewise.
2108 1.1 skrll * elf64-sparc.c: Likewise.
2109 1.1 skrll * elf64-x86-64.c: Likewise.
2110 1.1 skrll * elfxx-ia64.c: Likewise.
2111 1.1 skrll
2112 1.1 skrll 2001-09-18 Bruno Haible <haible (a] clisp.cons.org>
2113 1.1 skrll
2114 1.1 skrll * aoutx.h: Include "safe-ctype.h" instead of <ctype.h>.
2115 1.1 skrll (aout_link_write_symbols): Use ISDIGIT instead of isdigit.
2116 1.1 skrll * archive.c: Include "safe-ctype.h" instead of <ctype.h>.
2117 1.1 skrll (_bfd_generic_read_ar_hdr_mag): Use ISDIGIT instead of isdigit.
2118 1.1 skrll * archures.c: Include "safe-ctype.h" instead of <ctype.h>.
2119 1.1 skrll (bfd_default_scan): Use ISDIGIT instead of isdigit.
2120 1.1 skrll * bfd.c: Include "safe-ctype.h" instead of <ctype.h>.
2121 1.1 skrll (bfd_scan_vma): Use ISXDIGIT/ISDIGIT/ISLOWER instead of
2122 1.1 skrll isxdigit/isdigit/islower.
2123 1.1 skrll * binary.c: Include "safe-ctype.h" instead of <ctype.h>.
2124 1.1 skrll (mangle_name): Use ISALNUM instead of isalnum.
2125 1.1 skrll * cpu-v850.c: Include "safe-ctype.h" instead of <ctype.h>.
2126 1.1 skrll (scan): Use ISDIGIT instead of isdigit.
2127 1.1 skrll * hosts/alphavms.h: Don't include <ctype.h>.
2128 1.1 skrll * ieee.c: Include "safe-ctype.h" instead of <ctype.h>.
2129 1.1 skrll (ieee_object_p): Use TOUPPER instead of toupper.
2130 1.1 skrll * ihex.c: Include "safe-ctype.h" instead of <ctype.h>.
2131 1.1 skrll (ihex_bad_byte): Use ISPRINT instead of isprint.
2132 1.1 skrll * merge.c: Don't include <ctype.h>.
2133 1.1 skrll * oasys.c: Include "safe-ctype.h" instead of <ctype.h>.
2134 1.1 skrll (oasys_write_sections): Use ISDIGIT instead of isdigit.
2135 1.1 skrll * pdp11.c: Include "safe-ctype.h" instead of <ctype.h>.
2136 1.1 skrll (aout_link_write_symbols): Use ISDIGIT instead of isdigit.
2137 1.1 skrll * ppcboot.c: Include "safe-ctype.h" instead of <ctype.h>.
2138 1.1 skrll (mangle_name): Use ISALNUM instead of isalnum.
2139 1.1 skrll * som.c: Include "safe-ctype.h" instead of <ctype.h>.
2140 1.1 skrll (som_set_reloc_info): Use ISUPPER/ISLOWER/ISDIGIT instead of
2141 1.1 skrll isupper/islower/isdigit.
2142 1.1 skrll (som_decode_symclass): Use TOUPPER instead of toupper.
2143 1.1 skrll * srec.c: Include "safe-ctype.h" instead of <ctype.h>.
2144 1.1 skrll (srec_bad_byte): Use ISPRINT instead of isprint.
2145 1.1 skrll (srec_scan): Use ISSPACE instead of isspace.
2146 1.1 skrll * stabs.c: Include "safe-ctype.h" instead of <ctype.h>.
2147 1.1 skrll (_bfd_link_section_stabs): Use ISDIGIT instead of isdigit.
2148 1.1 skrll * syms.c: Include "safe-ctype.h"
2149 1.1 skrll (islower, toupper): Remove macro definitions.
2150 1.1 skrll (bfd_decode_symclass): Use TOUPPER instead of toupper.
2151 1.1 skrll * vms-gsd.c: Don't include <ctype.h>.
2152 1.1 skrll * vms-hdr.c: Include "safe-ctype.h" instead of <ctype.h>.
2153 1.1 skrll (_bfd_vms_write_hdr): Use ISLOWER/TOUPPER instead of
2154 1.1 skrll islower/toupper.
2155 1.1 skrll * vms-tir.c: Don't include <ctype.h>.
2156 1.1 skrll
2157 1.1 skrll 2001-09-18 Alan Modra <amodra (a] bigpond.net.au>
2158 1.1 skrll
2159 1.1 skrll * libbfd.c (bfd_bread): New function replacing bfd_read without
2160 1.1 skrll redundant params. Allow reads up to (size_t) -2 in length.
2161 1.1 skrll (bfd_bwrite): Similarly for bfd_write.
2162 1.1 skrll (real_read): Return a size_t.
2163 1.1 skrll (bfd_read): Call bfd_bread.
2164 1.1 skrll (bfd_write): Call bfd_bwrite.
2165 1.1 skrll (warn_deprecated): New function to annoy everybody.
2166 1.1 skrll (bfd_get_file_window): Don't call bfd_set_error unnecessarily.
2167 1.1 skrll * bfd-in.h (bfd_bread, bfd_bwrite, warn_deprecated): Declare.
2168 1.1 skrll (bfd_read, bfd_write): Define as macro.
2169 1.1 skrll * aix386-core.c: Replace calls to bfd_read with bfd_bread, and
2170 1.1 skrll likewise for bfd_write. Ensure function args are correct size by
2171 1.1 skrll using casts or local vars. In some cases, remove unnecessary
2172 1.1 skrll casts. Formatting fixes, in some cases removing a large expression
2173 1.1 skrll from function args by using a local var. Replace CONST with const.
2174 1.1 skrll Modify variable types to avoid warings. Use casts to avoid
2175 1.1 skrll warnings when using negative numbers in unsigned expressions.
2176 1.1 skrll * aout-adobe.c: Likewise.
2177 1.1 skrll * aout-arm.c: Likewise.
2178 1.1 skrll * aout-cris.c: Likewise.
2179 1.1 skrll * aout-encap.c: Likewise.
2180 1.1 skrll * aout-ns32k.c: Likewise.
2181 1.1 skrll * aout-target.h: Likewise.
2182 1.1 skrll * aout-tic30.c: Likewise.
2183 1.1 skrll * aoutf1.h: Likewise.
2184 1.1 skrll * aoutx.h: Likewise.
2185 1.1 skrll * archive.c: Likewise.
2186 1.1 skrll * archures.c: Likewise.
2187 1.1 skrll * bfd-in.h: Likewise.
2188 1.1 skrll * bfd.c: Likewise.
2189 1.1 skrll * binary.c: Likewise.
2190 1.1 skrll * bout.c: Likewise.
2191 1.1 skrll * cache.c: Likewise.
2192 1.1 skrll * cisco-core.c: Likewise.
2193 1.1 skrll * coff-a29k.c: Likewise.
2194 1.1 skrll * coff-alpha.c: Likewise.
2195 1.1 skrll * coff-arm.c: Likewise.
2196 1.1 skrll * coff-h8300.c: Likewise.
2197 1.1 skrll * coff-h8500.c: Likewise.
2198 1.1 skrll * coff-i386.c: Likewise.
2199 1.1 skrll * coff-i860.c: Likewise.
2200 1.1 skrll * coff-i960.c: Likewise.
2201 1.1 skrll * coff-ia64.c: Likewise.
2202 1.1 skrll * coff-m68k.c: Likewise.
2203 1.1 skrll * coff-m88k.c: Likewise.
2204 1.1 skrll * coff-mcore.c: Likewise.
2205 1.1 skrll * coff-mips.c: Likewise.
2206 1.1 skrll * coff-ppc.c: Likewise.
2207 1.1 skrll * coff-rs6000.c: Likewise.
2208 1.1 skrll * coff-sh.c: Likewise.
2209 1.1 skrll * coff-sparc.c: Likewise.
2210 1.1 skrll * coff-stgo32.c: Likewise.
2211 1.1 skrll * coff-tic30.c: Likewise.
2212 1.1 skrll * coff-tic54x.c: Likewise.
2213 1.1 skrll * coff-tic80.c: Likewise.
2214 1.1 skrll * coff-w65.c: Likewise.
2215 1.1 skrll * coff-z8k.c: Likewise.
2216 1.1 skrll * coff64-rs6000.c: Likewise.
2217 1.1 skrll * coffcode.h: Likewise.
2218 1.1 skrll * coffgen.c: Likewise.
2219 1.1 skrll * cofflink.c: Likewise.
2220 1.1 skrll * coffswap.h: Likewise.
2221 1.1 skrll * corefile.c: Likewise.
2222 1.1 skrll * cpu-arc.c: Likewise.
2223 1.1 skrll * cpu-h8300.c: Likewise.
2224 1.1 skrll * cpu-h8500.c: Likewise.
2225 1.1 skrll * cpu-i960.c: Likewise.
2226 1.1 skrll * cpu-ia64-opc.c: Likewise.
2227 1.1 skrll * cpu-ns32k.c: Likewise.
2228 1.1 skrll * cpu-pdp11.c: Likewise.
2229 1.1 skrll * cpu-pj.c: Likewise.
2230 1.1 skrll * cpu-sh.c: Likewise.
2231 1.1 skrll * cpu-w65.c: Likewise.
2232 1.1 skrll * cpu-z8k.c: Likewise.
2233 1.1 skrll * dwarf1.c: Likewise.
2234 1.1 skrll * dwarf2.c: Likewise.
2235 1.1 skrll * ecoff.c: Likewise.
2236 1.1 skrll * ecofflink.c: Likewise.
2237 1.1 skrll * ecoffswap.h: Likewise.
2238 1.1 skrll * elf-bfd.h: Likewise.
2239 1.1 skrll * elf-hppa.h: Likewise.
2240 1.1 skrll * elf-m10200.c: Likewise.
2241 1.1 skrll * elf-m10300.c: Likewise.
2242 1.1 skrll * elf.c: Likewise.
2243 1.1 skrll * elf32-arc.c: Likewise.
2244 1.1 skrll * elf32-arm.h: Likewise.
2245 1.1 skrll * elf32-avr.c: Likewise.
2246 1.1 skrll * elf32-cris.c: Likewise.
2247 1.1 skrll * elf32-fr30.c: Likewise.
2248 1.1 skrll * elf32-gen.c: Likewise.
2249 1.1 skrll * elf32-h8300.c: Likewise.
2250 1.1 skrll * elf32-hppa.c: Likewise.
2251 1.1 skrll * elf32-i370.c: Likewise.
2252 1.1 skrll * elf32-i386.c: Likewise.
2253 1.1 skrll * elf32-i860.c: Likewise.
2254 1.1 skrll * elf32-m32r.c: Likewise.
2255 1.1 skrll * elf32-m68k.c: Likewise.
2256 1.1 skrll * elf32-mcore.c: Likewise.
2257 1.1 skrll * elf32-mips.c: Likewise.
2258 1.1 skrll * elf32-openrisc.c: Likewise.
2259 1.1 skrll * elf32-pj.c: Likewise.
2260 1.1 skrll * elf32-ppc.c: Likewise.
2261 1.1 skrll * elf32-s390.c: Likewise.
2262 1.1 skrll * elf32-sh-lin.c: Likewise.
2263 1.1 skrll * elf32-sh.c: Likewise.
2264 1.1 skrll * elf32-sparc.c: Likewise.
2265 1.1 skrll * elf32-v850.c: Likewise.
2266 1.1 skrll * elf64-alpha.c: Likewise.
2267 1.1 skrll * elf64-hppa.c: Likewise.
2268 1.1 skrll * elf64-mips.c: Likewise.
2269 1.1 skrll * elf64-ppc.c: Likewise.
2270 1.1 skrll * elf64-s390.c: Likewise.
2271 1.1 skrll * elf64-sparc.c: Likewise.
2272 1.1 skrll * elf64-x86-64.c: Likewise.
2273 1.1 skrll * elfarm-nabi.c: Likewise.
2274 1.1 skrll * elfcode.h: Likewise.
2275 1.1 skrll * elfcore.h: Likewise.
2276 1.1 skrll * elflink.c: Likewise.
2277 1.1 skrll * elflink.h: Likewise.
2278 1.1 skrll * elfxx-ia64.c: Likewise.
2279 1.1 skrll * elfxx-target.h: Likewise.
2280 1.1 skrll * format.c: Likewise.
2281 1.1 skrll * hash.c: Likewise.
2282 1.1 skrll * hp300hpux.c: Likewise.
2283 1.1 skrll * hppabsd-core.c: Likewise.
2284 1.1 skrll * hpux-core.c: Likewise.
2285 1.1 skrll * i386aout.c: Likewise.
2286 1.1 skrll * i386dynix.c: Likewise.
2287 1.1 skrll * i386linux.c: Likewise.
2288 1.1 skrll * i386lynx.c: Likewise.
2289 1.1 skrll * i386mach3.c: Likewise.
2290 1.1 skrll * i386msdos.c: Likewise.
2291 1.1 skrll * i386os9k.c: Likewise.
2292 1.1 skrll * ieee.c: Likewise.
2293 1.1 skrll * ihex.c: Likewise.
2294 1.1 skrll * irix-core.c: Likewise.
2295 1.1 skrll * libaout.h: Likewise.
2296 1.1 skrll * libbfd-in.h: Likewise.
2297 1.1 skrll * libbfd.c: Likewise.
2298 1.1 skrll * libcoff-in.h: Likewise.
2299 1.1 skrll * libecoff.h: Likewise.
2300 1.1 skrll * libieee.h: Likewise.
2301 1.1 skrll * libnlm.h: Likewise.
2302 1.1 skrll * libpei.h: Likewise.
2303 1.1 skrll * libxcoff.h: Likewise.
2304 1.1 skrll * linker.c: Likewise.
2305 1.1 skrll * lynx-core.c: Likewise.
2306 1.1 skrll * m68klinux.c: Likewise.
2307 1.1 skrll * merge.c: Likewise.
2308 1.1 skrll * mipsbsd.c: Likewise.
2309 1.1 skrll * netbsd-core.c: Likewise.
2310 1.1 skrll * nlm.c: Likewise.
2311 1.1 skrll * nlm32-alpha.c: Likewise.
2312 1.1 skrll * nlm32-i386.c: Likewise.
2313 1.1 skrll * nlm32-ppc.c: Likewise.
2314 1.1 skrll * nlm32-sparc.c: Likewise.
2315 1.1 skrll * nlmcode.h: Likewise.
2316 1.1 skrll * nlmswap.h: Likewise.
2317 1.1 skrll * ns32k.h: Likewise.
2318 1.1 skrll * oasys.c: Likewise.
2319 1.1 skrll * opncls.c: Likewise.
2320 1.1 skrll * osf-core.c: Likewise.
2321 1.1 skrll * pc532-mach.c: Likewise.
2322 1.1 skrll * pdp11.c: Likewise.
2323 1.1 skrll * pe-mips.c: Likewise.
2324 1.1 skrll * peXXigen.c: Likewise.
2325 1.1 skrll * peicode.h: Likewise.
2326 1.1 skrll * ppcboot.c: Likewise.
2327 1.1 skrll * ptrace-core.c: Likewise.
2328 1.1 skrll * reloc.c: Likewise.
2329 1.1 skrll * reloc16.c: Likewise.
2330 1.1 skrll * riscix.c: Likewise.
2331 1.1 skrll * rs6000-core.c: Likewise.
2332 1.1 skrll * sco5-core.c: Likewise.
2333 1.1 skrll * section.c: Likewise.
2334 1.1 skrll * som.c: Likewise.
2335 1.1 skrll * sparclinux.c: Likewise.
2336 1.1 skrll * sparclynx.c: Likewise.
2337 1.1 skrll * srec.c: Likewise.
2338 1.1 skrll * stabs.c: Likewise.
2339 1.1 skrll * sunos.c: Likewise.
2340 1.1 skrll * syms.c: Likewise.
2341 1.1 skrll * targets.c: Likewise.
2342 1.1 skrll * tekhex.c: Likewise.
2343 1.1 skrll * trad-core.c: Likewise.
2344 1.1 skrll * versados.c: Likewise.
2345 1.1 skrll * vms-gsd.c: Likewise.
2346 1.1 skrll * vms-hdr.c: Likewise.
2347 1.1 skrll * vms-misc.c: Likewise.
2348 1.1 skrll * vms-tir.c: Likewise.
2349 1.1 skrll * vms.c: Likewise.
2350 1.1 skrll * vms.h: Likewise.
2351 1.1 skrll * xcofflink.c: Likewise.
2352 1.1 skrll * bfd-in2.h: Regenerate.
2353 1.1 skrll * libbfd.h: Regenerate.
2354 1.1 skrll * libcoff.h: Regenerate.
2355 1.1 skrll
2356 1.1 skrll * bfd.c (struct _bfd): Make "where" and "origin" unsigned.
2357 1.1 skrll * bfd-in.h (file_ptr): Change from a long int to a bfd_signed_vma.
2358 1.1 skrll (ufile_ptr): Define.
2359 1.1 skrll (bfd_tell): Return a ufile_ptr.
2360 1.1 skrll * libbfd.c (bfd_tell): Likewise.
2361 1.1 skrll (bfd_seek): Use bfd_size_type locals. Don't call bfd_set_error
2362 1.1 skrll unnecessarily.
2363 1.1 skrll * aix386-core.c: Test != 0 for bfd_seek errors rather than < 0.
2364 1.1 skrll * aoutf1.h: Likewise.
2365 1.1 skrll * som.c: Likewise.
2366 1.1 skrll * cache.c (bfd_cache_lookup_worker): Guard against abfd->where
2367 1.1 skrll larger than unsigned long can represent.
2368 1.1 skrll
2369 1.1 skrll * libbfd.c (bfd_malloc): Take a bfd_size_type arg. Error if
2370 1.1 skrll size overflows size_t.
2371 1.1 skrll (bfd_realloc): Likewise.
2372 1.1 skrll (bfd_zmalloc): Likewise.
2373 1.1 skrll * opncls.c (bfd_alloc): Likewise.
2374 1.1 skrll (bfd_zalloc): Likewise.
2375 1.1 skrll * libbfd-in.h (bfd_malloc, bfd_realloc, bfd_zmalloc): Update.
2376 1.1 skrll (bfd_alloc, bfd_zalloc): Update.
2377 1.1 skrll
2378 1.1 skrll * libbfd.c (bfd_get_8): Mask with 0xff in case char is more than
2379 1.1 skrll 8 bits.
2380 1.1 skrll (bfd_get_signed_8): Likewise.
2381 1.1 skrll (H_PUT_64, H_PUT_32, H_PUT_16, H_PUT_8,
2382 1.1 skrll H_PUT_S64, H_PUT_S32, H_PUT_S16, H_PUT_S8,
2383 1.1 skrll H_GET_64, H_GET_32, H_GET_16, H_GET_8,
2384 1.1 skrll H_GET_S64, H_GET_S32, H_GET_S16, H_GET_S8): Define and use.
2385 1.1 skrll * libaout.h: Likewise define and use here.
2386 1.1 skrll * aout-adobe.c: Use H_GET_* and H_PUT_* macros.
2387 1.1 skrll * aout-arm.c: Likewise.
2388 1.1 skrll * aout-encap.c: Likewise.
2389 1.1 skrll * aout-ns32k.c: Likewise.
2390 1.1 skrll * aout-tic30.c: Likewise.
2391 1.1 skrll * aoutf1.h: Likewise.
2392 1.1 skrll * aoutx.h: Likewise.
2393 1.1 skrll * bout.c: Likewise.
2394 1.1 skrll * coff-alpha.c: Likewise.
2395 1.1 skrll * coff-h8300.c: Likewise.
2396 1.1 skrll * coff-h8500.c: Likewise.
2397 1.1 skrll * coff-i960.c: Likewise.
2398 1.1 skrll * coff-ia64.c: Likewise.
2399 1.1 skrll * coff-m88k.c: Likewise.
2400 1.1 skrll * coff-mips.c: Likewise.
2401 1.1 skrll * coff-ppc.c: Likewise.
2402 1.1 skrll * coff-rs6000.c: Likewise.
2403 1.1 skrll * coff-sh.c: Likewise.
2404 1.1 skrll * coff-sparc.c: Likewise.
2405 1.1 skrll * coff-stgo32.c: Likewise.
2406 1.1 skrll * coff-tic30.c: Likewise.
2407 1.1 skrll * coff-tic80.c: Likewise.
2408 1.1 skrll * coff-w65.c: Likewise.
2409 1.1 skrll * coff-z8k.c: Likewise.
2410 1.1 skrll * coff64-rs6000.c: Likewise.
2411 1.1 skrll * coffgen.c: Likewise.
2412 1.1 skrll * cofflink.c: Likewise.
2413 1.1 skrll * coffswap.h: Likewise.
2414 1.1 skrll * ecoff.c: Likewise.
2415 1.1 skrll * ecoffswap.h: Likewise.
2416 1.1 skrll * elf.c: Likewise.
2417 1.1 skrll * elf32-mips.c: Likewise.
2418 1.1 skrll * elf64-mips.c: Likewise.
2419 1.1 skrll * hp300hpux.c: Likewise.
2420 1.1 skrll * i386dynix.c: Likewise.
2421 1.1 skrll * i386lynx.c: Likewise.
2422 1.1 skrll * i386msdos.c: Likewise.
2423 1.1 skrll * i386os9k.c: Likewise.
2424 1.1 skrll * libpei.h: Likewise.
2425 1.1 skrll * nlm32-alpha.c: Likewise.
2426 1.1 skrll * nlm32-i386.c: Likewise.
2427 1.1 skrll * nlm32-ppc.c: Likewise.
2428 1.1 skrll * nlmcode.h: Likewise.
2429 1.1 skrll * nlmswap.h: Likewise.
2430 1.1 skrll * oasys.c: Likewise.
2431 1.1 skrll * pdp11.c: Likewise.
2432 1.1 skrll * pe-mips.c: Likewise.
2433 1.1 skrll * peXXigen.c: Likewise.
2434 1.1 skrll * peicode.h: Likewise.
2435 1.1 skrll * riscix.c: Likewise.
2436 1.1 skrll * sunos.c: Likewise.
2437 1.1 skrll * xcofflink.c: Likewise.
2438 1.1 skrll * elfcode.h: (put_word, get_word, put_signed_word, get_signed_word):
2439 1.1 skrll Rename to H_PUT_WORD, H_GET_WORD, H_PUT_SIGNED_WORD, H_GET_SIGNED_WORD.
2440 1.1 skrll * coff-rs6000.c (PUTWORD, PUTHALF, PUTBYTE): Don't define. Use
2441 1.1 skrll equivalent H_PUT_* macro instead.
2442 1.1 skrll (GETWORD, GETHALF, GETBYTE): Similarly.
2443 1.1 skrll * coff64-rs6000.c (PUTWORD, PUTHALF, PUTBYTE): Likewise.
2444 1.1 skrll (GETWORD, GETHALF, GETBYTE): Likewise.
2445 1.1 skrll * coffswap.h (PUTWORD, PUTHALF, PUTBYTE): Likewise.
2446 1.1 skrll
2447 1.1 skrll * bfd-in.h (struct orl): Change "pos" to a union.
2448 1.1 skrll * archive.c (_bfd_compute_and_write_armap): Use it instead of casts.
2449 1.1 skrll (bsd_write_armap): Here too.
2450 1.1 skrll (coff_write_armap): And here.
2451 1.1 skrll * coff-rs6000.c (xcoff_write_armap_old): And here.
2452 1.1 skrll (xcoff_write_one_armap_big): And here.
2453 1.1 skrll (xcoff_write_armap_big): And here.
2454 1.1 skrll * ecoff.c (_bfd_ecoff_write_armap): And here.
2455 1.1 skrll * elf64-mips.c (mips_elf64_write_armap): And here.
2456 1.1 skrll
2457 1.1 skrll * aoutf1.h (sunos_set_arch_mach): Make "mach" param an enum.
2458 1.1 skrll * elf-m10300.c (elf_mn10300_mach): Return an unsigned long.
2459 1.1 skrll * elf32-h8300.c (elf32_h8_mach): Likewise.
2460 1.1 skrll * elf32-mips.c (elf_mips_mach): Likewise.
2461 1.1 skrll * sparclynx.c (NAME(lynx,set_arch_mach)): Likewise.
2462 1.1 skrll
2463 1.1 skrll * aix386-core.c (aix386_core_file_p): Remove redundant bfd_release
2464 1.1 skrll calls.
2465 1.1 skrll (aix386_core_vec): Typo fix.
2466 1.1 skrll
2467 1.1 skrll * aout-arm.c: Include libaout.h and aout/aout64.h after N_TXTADDR
2468 1.1 skrll etc. to avoid redefined macro warning.
2469 1.1 skrll (MY(put_reloc)): Use bfd_vma for "value" rather than long.
2470 1.1 skrll (MY(fix_pcrel_26)): Likewise.
2471 1.1 skrll * aout-ns32k.c (MY(put_reloc)): Likewise.
2472 1.1 skrll * aout-cris.c (MY(swap_ext_reloc_out)): Likewise for r_addend.
2473 1.1 skrll * aoutx.h (NAME(aout,swap_ext_reloc_out)): Likewise.
2474 1.1 skrll * coff-arm.c (coff_arm_relocate_section): Likewise for my_offset.
2475 1.1 skrll
2476 1.1 skrll * aout-encap.c: Include "file", not <file> for binutils headers.
2477 1.1 skrll (encap_object_p): Half baked attempt to fix compile errors in
2478 1.1 skrll code dealing with "magic".
2479 1.1 skrll
2480 1.1 skrll * aout-ns32k.c: Include "file", not <file> for binutils headers.
2481 1.1 skrll (_bfd_ns32k_relocate_contents): get_data and put_data manipulate
2482 1.1 skrll bfd_vma's rather than longs.
2483 1.1 skrll * cpu-ns32k.c (ns32k_sign_extend): Delete.
2484 1.1 skrll (_bfd_ns32k_get_displacement): Return a bfd_vma, don't pass in offset.
2485 1.1 skrll (_bfd_ns32k_get_immediate): Likewise. Add code for 8 byte values,
2486 1.1 skrll remove case 3.
2487 1.1 skrll (_bfd_ns32k_put_displacement): Accept a bfd_vma, don't pass in offset.
2488 1.1 skrll Use unsigned comparisons.
2489 1.1 skrll (bfd_ns32k_put_immediate): Likewise, and add code for 8 byte values.
2490 1.1 skrll (do_ns32k_reloc): get_data and put_data operate on bfd_vma's.
2491 1.1 skrll (_bfd_do_ns32k_reloc_contents): Likewise.
2492 1.1 skrll * ns32k.h (_bfd_ns32k_get_displacement): Update prototype.
2493 1.1 skrll (_bfd_ns32k_get_immediate): Likewise.
2494 1.1 skrll (_bfd_ns32k_put_displacement): Likewise.
2495 1.1 skrll (_bfd_ns32k_put_immediate): Likewise.
2496 1.1 skrll (bfd_reloc_status_type): Likewise.
2497 1.1 skrll
2498 1.1 skrll * aoutx.h (NAME(aout,find_nearest_line)): Rename 'p' to 'colon'
2499 1.1 skrll to avoid shadowing.
2500 1.1 skrll * pdp11.c (NAME(aout,find_nearest_line)): Likewise.
2501 1.1 skrll * coff-h8300.c (h8300_reloc16_extra_cases): Remove shadowing "value".
2502 1.1 skrll * coff-ppc.c (enum ref_category): Rename "data" to "tocdata" to
2503 1.1 skrll avoid shadowing.
2504 1.1 skrll (record_toc): Use a bfd_signed_vma for our_toc_offset.
2505 1.1 skrll * coffcode.h (coff_write_relocs): Rename "i" to avoid shadowing.
2506 1.1 skrll * elf.c (bfd_elf_get_bfd_needed_list): Rename "link" var to avoid
2507 1.1 skrll shadow warning.
2508 1.1 skrll (_bfd_elfcore_strndup): Likewise for "dup".
2509 1.1 skrll * elf32-cris.c (cris_elf_relocate_section): "symname" instead of
2510 1.1 skrll "name" to avoid shadowing.
2511 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Remove duplicate
2512 1.1 skrll definition of "off".
2513 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Likewise.
2514 1.1 skrll * elf32-mips.c (_bfd_mips_elf_modify_segment_map): Remove duplicate
2515 1.1 skrll definition of "s".
2516 1.1 skrll (_bfd_mips_elf_final_link): Rename "i" to "j". Remove duplicate
2517 1.1 skrll "secpp".
2518 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Rename inner "indx"
2519 1.1 skrll to avoid shadowing.
2520 1.1 skrll * elflink.h (elf_link_add_object_symbols): Rename "link" to "shlink"
2521 1.1 skrll to avoid shadowing.
2522 1.1 skrll (elf_link_input_bfd): Likewise.
2523 1.1 skrll (elf_bfd_final_link): Remove duplicate innermost "off" var.
2524 1.1 skrll * oasys.c (oasys_write_data): Rename innermost "p" to "sym".
2525 1.1 skrll * reloc16.c (bfd_coff_reloc16_relax_section): Rename "i" param to
2526 1.1 skrll "input_section".
2527 1.1 skrll * som.c (som_prep_for_fixups): Rename inner "i" to "j".
2528 1.1 skrll * sunos.c (sunos_add_dynamic_symbols): Localise "s" var.
2529 1.1 skrll (sunos_write_dynamic_symbol): Remove unused vars.
2530 1.1 skrll * syms.c (_bfd_stab_section_find_nearest_line): Remove duplicate
2531 1.1 skrll innermost "directory_name" and "file_name" vars.
2532 1.1 skrll * tekhex.c (first_phase): Rename local var "type" to "stype".
2533 1.1 skrll (tekhex_write_object_contents): Rename innermost "s" to "sym".
2534 1.1 skrll * vms-gsd.c (vms_secflag_by_name): Change "size" param to "hassize",
2535 1.1 skrll doing comparison at caller.
2536 1.1 skrll (vms_esecflag_by_name): Likewise.
2537 1.1 skrll * vms-tir.c (etir_sto): Rename innermost "psect" to "psect1".
2538 1.1 skrll * xcofflink.c (xcoff_link_input_bfd): Delete duplicate innermost "o".
2539 1.1 skrll (xcoff_write_global_symbol): Rename "p" param to "inf".
2540 1.1 skrll
2541 1.1 skrll * cisco-core.c: Add missing prototypes.
2542 1.1 skrll (cisco_core_file_failing_command): Add ATTRIBUTE_UNUSED.
2543 1.1 skrll (cisco_core_file_failing_signal): Likewise.
2544 1.1 skrll (cisco_core_file_matches_executable_p): Likewise.
2545 1.1 skrll * hpux-core.c (hpux_core_core_file_failing_signal): Likewise.
2546 1.1 skrll * netbsd-core.c (netbsd_core_file_matches_executable_p): Likewise.
2547 1.1 skrll * osf-core.c (osf_core_core_file_matches_executable_p): Likewise.
2548 1.1 skrll * sco5-core.c (sco5_core_file_matches_executable_p): Likewise.
2549 1.1 skrll
2550 1.1 skrll * coff-arm.c (coff_arm_link_hash_table): Use bfd_size_type for
2551 1.1 skrll thumb_glue_size and arm_glue_size.
2552 1.1 skrll * elf32-arm.h (elf32_arm_link_hash_table): Likewise here.
2553 1.1 skrll
2554 1.1 skrll * coff64-rs6000.c: Group prototypes together.
2555 1.1 skrll
2556 1.1 skrll * coffcode.h (coff_set_arch_mach): Add ATTRIBUTE_UNUSED.
2557 1.1 skrll (buy_and_read): Remove "seek" param. Change "size" to bfd_size_type.
2558 1.1 skrll
2559 1.1 skrll * cpu-arc.c: Add missing prototypes.
2560 1.1 skrll * cpu-h8500.c: Likewise.
2561 1.1 skrll * cpu-i960.c: Likewise.
2562 1.1 skrll * cpu-pj.c: Likewise.
2563 1.1 skrll * cpu-sh.c: Likewise.
2564 1.1 skrll * cpu-w65.c: Likewise.
2565 1.1 skrll * cpu-z8k.c: Likewise.
2566 1.1 skrll * elf32-fr30.c: Likewise.
2567 1.1 skrll * elf32-h8300.c: Likewise.
2568 1.1 skrll * elf32-i370.c: Likewise.
2569 1.1 skrll * hpux-core.c: Likewise.
2570 1.1 skrll * versados.c: Likewise.
2571 1.1 skrll
2572 1.1 skrll * cpu-h8300.c (bfd_default_scan_num_mach): Don't declare.
2573 1.1 skrll * cpu-h8500.c: Likewise.
2574 1.1 skrll * cpu-i960.c: Likewise.
2575 1.1 skrll * cpu-z8k.c: Likewise.
2576 1.1 skrll
2577 1.1 skrll * cpu-ia64-opc.c: Correct comment.
2578 1.1 skrll
2579 1.1 skrll * dwarf2.c (_bfd_dwarf2_find_nearest_line): Remove unused var.
2580 1.1 skrll
2581 1.1 skrll * elf-bfd.h (elf_size_info): Change count param of write_out_phdrs
2582 1.1 skrll to unsigned.
2583 1.1 skrll (bfd_elf32_write_out_phdrs): Likewise.
2584 1.1 skrll (bfd_elf64_write_out_phdrs): Likewise.
2585 1.1 skrll (elf_linker_section_pointers): Change addend to bfd_vma.
2586 1.1 skrll (_bfd_elf_find_pointer_linker_section): Likewise.
2587 1.1 skrll (_bfd_elfcore_make_pseudosection): Change size param to size_t and
2588 1.1 skrll filepos to unsigned file_ptr.
2589 1.1 skrll (_bfd_elfcore_strndup): Change max param to size_t.
2590 1.1 skrll * elf.c (_bfd_elfcore_make_pseudosection): As above.
2591 1.1 skrll (_bfd_elfcore_strndup): Likewise.
2592 1.1 skrll (_bfd_elf_find_pointer_linker_section): Likewise.
2593 1.1 skrll
2594 1.1 skrll * elf-hppa.h (elf_hppa_relocate_insn): Return an int, and change
2595 1.1 skrll insn and sym_value to ints.
2596 1.1 skrll
2597 1.1 skrll * elf.c (elf_read): Make "offset" param a file_ptr, "size" a
2598 1.1 skrll bfd_size_type.
2599 1.1 skrll (elfcore_read_notes): Likewise.
2600 1.1 skrll
2601 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Change sym_flags
2602 1.1 skrll param from unsigned char to int.
2603 1.1 skrll (elf32_arm_relocate_section): If USE_REL, cast "rel" appropriately
2604 1.1 skrll for info_to_howto call.
2605 1.1 skrll (add_dynamic_entry): Define macro.
2606 1.1 skrll (elf32_arm_size_dynamic_sections): Use add_dynamic_entry.
2607 1.1 skrll
2608 1.1 skrll * elf32-cris.c (add_dynamic_entry): Define macro.
2609 1.1 skrll (elf_cris_size_dynamic_sections): Use add_dynamic_entry.
2610 1.1 skrll
2611 1.1 skrll * elf32-h8300.c (elf32_h8_final_write_processing): Make static.
2612 1.1 skrll (elf32_h8_object_p): Likewise.
2613 1.1 skrll (elf32_h8_merge_private_bfd_data): Likewise.
2614 1.1 skrll (elf32_h8_relax_section): Cast gap to int so signed comparisons work.
2615 1.1 skrll
2616 1.1 skrll * elf32-hppa.c (add_dynamic_entry): Define macro.
2617 1.1 skrll (elf32_hppa_size_dynamic_sections): Use it.
2618 1.1 skrll * elf32-i370.c (add_dynamic_entry): Define macro.
2619 1.1 skrll (i370_elf_size_dynamic_sections): Use it.
2620 1.1 skrll (i370_noop): Make static.
2621 1.1 skrll * elf32-i386.c (add_dynamic_entry): Define macro.
2622 1.1 skrll (elf_i386_size_dynamic_sections): Use it.
2623 1.1 skrll * elf32-m68k.c (add_dynamic_entry): Define macro.
2624 1.1 skrll (elf_m68k_size_dynamic_sections): Use it.
2625 1.1 skrll * elf32-ppc.c (add_dynamic_entry): Define macro.
2626 1.1 skrll (ppc_elf_size_dynamic_sections): Use it.
2627 1.1 skrll * elf32-s390.c (add_dynamic_entry): Define macro.
2628 1.1 skrll (elf_s390_size_dynamic_sections): Use it.
2629 1.1 skrll * elf64-alpha.c (add_dynamic_entry): Define macro.
2630 1.1 skrll (elf64_alpha_size_dynamic_sections): Use it.
2631 1.1 skrll * elf64-hppa.c (add_dynamic_entry): Define macro.
2632 1.1 skrll (elf64_hppa_size_dynamic_sections): Use it.
2633 1.1 skrll * elf64-ppc.c (add_dynamic_entry): Define macro.
2634 1.1 skrll (ppc64_elf_size_dynamic_sections): Use it.
2635 1.1 skrll * elf64-s390.c (add_dynamic_entry): Define macro.
2636 1.1 skrll (elf_s390_size_dynamic_sections): Use it.
2637 1.1 skrll * elf64-sparc.c (add_dynamic_entry): Define macro.
2638 1.1 skrll (sparc64_elf_size_dynamic_sections): Use it.
2639 1.1 skrll * elf64-x86-64.c (add_dynamic_entry): Define macro.
2640 1.1 skrll (elf64_x86_64_size_dynamic_sections): Use it.
2641 1.1 skrll * elfxx-ia64.c (add_dynamic_entry): Define macro.
2642 1.1 skrll (elfNN_ia64_size_dynamic_sections): Use it.
2643 1.1 skrll
2644 1.1 skrll * elf32-v850.c (SEXT24): Modify to avoid signed/unsigned warning.
2645 1.1 skrll (v850_elf_perform_relocation): Make "r_type" param unsigned.
2646 1.1 skrll
2647 1.1 skrll * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Just return
2648 1.1 skrll false if the first malloc fails rather than going via error_return.
2649 1.1 skrll
2650 1.1 skrll * elf64-sparc.c (sparc64_elf_plt_entry_offset): Use a bfd_vma for
2651 1.1 skrll "index" param.
2652 1.1 skrll (sparc64_elf_plt_ptr_offset): Likewise, and for "max" param too.
2653 1.1 skrll
2654 1.1 skrll * elflink.h (elf_link_input_bfd): s/ingored/ignored/ in error message.
2655 1.1 skrll
2656 1.1 skrll * elfxx-ia64.c (global_sym_index): Return a long.
2657 1.1 skrll
2658 1.1 skrll * ieee.c (get_symbol): Use int rather than char param.
2659 1.1 skrll (ieee_slurp_sections): Move "section" var to inner blocks.
2660 1.1 skrll (copy_expression): Don't init "value" to zero or worry about
2661 1.1 skrll clearing to zero after using.
2662 1.1 skrll (ieee_write_debug_part): Rename "output_buffer" to "obuff" to avoid
2663 1.1 skrll shadowing.
2664 1.1 skrll
2665 1.1 skrll * ihex.c (ihex_write_record): Make "count" var a size_t, "addr" an
2666 1.1 skrll unsigned int.
2667 1.1 skrll
2668 1.1 skrll * libbfd-in.h (BFD_ALIGN): Add cast to avoid signed/unsigned warning.
2669 1.1 skrll (bfd_write_bigendian_4byte_int): Pass an unsigned int value param.
2670 1.1 skrll
2671 1.1 skrll * mipsbsd.c (mips_fix_jmp_addr): Add "error_message" param.
2672 1.1 skrll
2673 1.1 skrll * pc532-mach.c (MYNSX): Delete.
2674 1.1 skrll (ns32kaout_bfd_reloc_type_lookup): Define prototype without MYNSX.
2675 1.1 skrll (write_object_contents): Correct prototype.
2676 1.1 skrll
2677 1.1 skrll * peicode.h (pe_ILF_build_a_bfd): Use an unsigned int param rather
2678 1.1 skrll than unsigned short.
2679 1.1 skrll
2680 1.1 skrll * section.c (bfd_set_section_contents): Remove redundant
2681 1.1 skrll "offset < 0" test. Check that "count" doesn't overflow size_t.
2682 1.1 skrll (bfd_get_section_contents): Likewise.
2683 1.1 skrll
2684 1.1 skrll * som.c (som_fixup_formats): Add missing braces.
2685 1.1 skrll (som_reloc_addend): Pass a bfd_vma for "addend".
2686 1.1 skrll
2687 1.1 skrll * srec.c (srec_write_record): Pass "type" as an unsigned int.
2688 1.1 skrll (srec_write_symbols): Remove an unnecessary var.
2689 1.1 skrll
2690 1.1 skrll * targets.c (_bfd_target_vector): Sort entries. Sort externs
2691 1.1 skrll to match.
2692 1.1 skrll * configure.in: Sort to match. Bump version number.
2693 1.1 skrll * configure: Regenerate.
2694 1.1 skrll
2695 1.1 skrll * tekhex.c (move_section_contents): Assert offset == 0.
2696 1.1 skrll
2697 1.1 skrll * versados.c (new_symbol_string): Constify arg.
2698 1.1 skrll (process_esd): Use bfd_und_section_ptr rather than &bfd_und_section.
2699 1.1 skrll (versados_get_symbol_info): Make static.
2700 1.1 skrll (versados_print_symbol): Likewise.
2701 1.1 skrll (versados_get_reloc_upper_bound): Likewise.
2702 1.1 skrll (versados_canonicalize_reloc): Likewise.
2703 1.1 skrll
2704 1.1 skrll 2001-09-18 Nick Clifton <nickc (a] cambridge.redhat.com>
2705 1.1 skrll
2706 1.1 skrll * elflink.h (elf_link_input_bfd): Fix typo in error message.
2707 1.1 skrll
2708 1.1 skrll 2001-09-17 H.J. Lu <hjl (a] gnu.org>
2709 1.1 skrll
2710 1.1 skrll * dwarf1.c (parse_die): Take a new arg for the end of the
2711 1.1 skrll section. Return false if die is beyond the section.
2712 1.1 skrll (parse_functions_in_unit): Pass the end of the section to
2713 1.1 skrll parse_die ().
2714 1.1 skrll (_bfd_dwarf1_find_nearest_line): Likewise.
2715 1.1 skrll
2716 1.1 skrll 2001-09-14 Michael Rauch <mrauch (a] netbsd.org>
2717 1.1 skrll
2718 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Treat R_SPARC_UA32
2719 1.1 skrll just like R_SPARC_32.
2720 1.1 skrll
2721 1.1 skrll 2001-09-14 Kevin Lo <kevlo (a] openbsd.org>
2722 1.1 skrll
2723 1.1 skrll * configure.bfd: Add arm-openbsd target.
2724 1.1 skrll
2725 1.1 skrll 2001-09-14 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
2726 1.1 skrll
2727 1.1 skrll * config.bfd: Change machine triplets from mips*el*-* to mips*el-*.
2728 1.1 skrll Add support for mips64.
2729 1.1 skrll
2730 1.1 skrll 2001-09-13 Alexandre Oliva <aoliva (a] redhat.com>
2731 1.1 skrll
2732 1.1 skrll * elf32-openrisc.c (ELF_MACHINE_ALT1): Define as EM_OPENRISC_OLD.
2733 1.1 skrll
2734 1.1 skrll 2001-09-12 Alexandre Oliva <aoliva (a] redhat.com>
2735 1.1 skrll
2736 1.1 skrll * elf.c (prep_headers): Get the machine code from the elf
2737 1.1 skrll backend data.
2738 1.1 skrll * elf-m10200.c (ELF_MACHINE_CODE): Redefine to EM_MN10200.
2739 1.1 skrll (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10200.
2740 1.1 skrll * elf-m10300.c (ELF_MACHINE_CODE): Redefine to EM_MN10300.
2741 1.1 skrll (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300.
2742 1.1 skrll * elf-arc.c (arc_elf_final_write_processing): Don't override
2743 1.1 skrll e_machine, it's now properly set in prep_headers.
2744 1.1 skrll * elf32-avr.c (elf32_avr_object_p): Accept both EM_AVR and
2745 1.1 skrll EM_AVR_OLD.
2746 1.1 skrll (ELF_MACHINE_ALT1): Define to EM_AVR_OLD.
2747 1.1 skrll * elf-d10v.c (ELF_MACHINE_CODE): Redefine to EM_D10V.
2748 1.1 skrll (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D10V.
2749 1.1 skrll * elf-d30v.c (ELF_MACHINE_CODE): Redefine to EM_D30V.
2750 1.1 skrll (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D30V.
2751 1.1 skrll * elf-fr30.c (ELF_MACHINE_CODE): Redefine to EM_FR30.
2752 1.1 skrll (ELF_MACHINE_ALT1): Define to EM_CYGNUS_FR30.
2753 1.1 skrll * elf-m32r.c (ELF_MACHINE_CODE): Redefine to EM_M32R.
2754 1.1 skrll (ELF_MACHINE_ALT1): Define to EM_CYGNUS_M32R.
2755 1.1 skrll * elf32-pj.c (ELF_MACHINE_ALT1): DEfine to EM_PJ_OLD.
2756 1.1 skrll * elf-v850.c (ELF_MACHINE_CODE): Redefine to EM_V850.
2757 1.1 skrll (ELF_MACHINE_ALT1): Define to EM_CYGNUS_V850.
2758 1.1 skrll
2759 1.1 skrll 2001-09-11 Richard Henderson <rth (a] redhat.com>
2760 1.1 skrll
2761 1.1 skrll * elf64-alpha.c (elf64_alpha_section_flags): New.
2762 1.1 skrll (elf64_alpha_fake_sections): Map SEC_SMALL_DATA to SHF_ALPHA_GPREL.
2763 1.1 skrll
2764 1.1 skrll 2001-09-11 Richard Henderson <rth (a] redhat.com>
2765 1.1 skrll
2766 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Do not
2767 1.1 skrll apply HINT relocations against dynamic symbols.
2768 1.1 skrll
2769 1.1 skrll 2001-09-11 H.J. Lu <hjl (a] gnu.org>
2770 1.1 skrll
2771 1.1 skrll * linker.c (link_action): Change COMMON_ROW\defw from CREF to COM.
2772 1.1 skrll
2773 1.1 skrll 2001-09-09 Richard Henderson <rth (a] redhat.com>
2774 1.1 skrll
2775 1.1 skrll * elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.
2776 1.1 skrll
2777 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdisp
2778 1.1 skrll following a call to a near function.
2779 1.1 skrll
2780 1.1 skrll 2001-09-08 Richard Henderson <rth (a] redhat.com>
2781 1.1 skrll
2782 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Soft fail
2783 1.1 skrll relocation errors. Fail gp-relative relocations against
2784 1.1 skrll dynamic symbols.
2785 1.1 skrll
2786 1.1 skrll 2001-09-08 Alan Modra <amodra (a] bigpond.net.au>
2787 1.1 skrll
2788 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULAR
2789 1.1 skrll as well as DEF_DYNAMIC in test for avoided copy relocs.
2790 1.1 skrll (allocate_plt_and_got_and_discard_relocs): Likewise.
2791 1.1 skrll * elf32-hppa.c (elf_i386_relocate_section): Likewise.
2792 1.1 skrll (allocate_plt_and_got_and_discard_relocs): Likewise.
2793 1.1 skrll
2794 1.1 skrll 2001-09-07 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
2795 1.1 skrll
2796 1.1 skrll * elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handling
2797 1.1 skrll of R_MIPS_PC16.
2798 1.1 skrll
2799 1.1 skrll 2001-09-06 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
2800 1.1 skrll
2801 1.1 skrll * elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTO
2802 1.1 skrll definitions.
2803 1.1 skrll (mips_elf64_howto_table_rel): Likewise.
2804 1.1 skrll
2805 1.1 skrll 2001-09-05 Tom Rix <trix (a] redhat.com>
2806 1.1 skrll
2807 1.1 skrll * xcofflink.c (bfd_xcoff_import_symbol): Handle import file XMC_XO
2808 1.1 skrll and syscall symbols.
2809 1.1 skrll (write_global_symbol) : Same.
2810 1.1 skrll (bfd_xcoff_export_symbol): Remove unused syscall param.
2811 1.1 skrll * libxcoff.h: Change prototype of bfd_xcoff_export symbol and
2812 1.1 skrll bfd_xcoff_import_symbol.
2813 1.1 skrll * bfd-in.h: Same.
2814 1.1 skrll * bfd-in2.h : Regenerate.
2815 1.1 skrll
2816 1.1 skrll 2001-09-04 Richard Henderson <rth (a] redhat.com>
2817 1.1 skrll
2818 1.1 skrll * elf64-alpha.c (SKIP_HOWTO): New.
2819 1.1 skrll (elf64_alpha_howto_table): Use it to remove dead ECOFF relocs.
2820 1.1 skrll Fix sizes of 16-bit mem format relocs.
2821 1.1 skrll (elf64_alpha_reloc_map): Update to match.
2822 1.1 skrll (elf64_alpha_relax_with_lituse): Use GPREL16 as appropriate.
2823 1.1 skrll (elf64_alpha_relax_without_lituse): Likewise.
2824 1.1 skrll (elf64_alpha_check_relocs): Handle GPREL16.
2825 1.1 skrll (elf64_alpha_relocate_section): Likewise.
2826 1.1 skrll * reloc.c (BFD_RELOC_ALPHA_USER_*): Remove.
2827 1.1 skrll (BFD_RELOC_ALPHA_GPREL_HI16, BFD_RELOC_ALPHA_GPREL_LO16): New.
2828 1.1 skrll * bfd-in2.h, libbfd.h: Rebuild.
2829 1.1 skrll
2830 1.1 skrll 2001-09-04 Jeff Law <law (a] redhat.com>
2831 1.1 skrll
2832 1.1 skrll * elf32-h8300.c (elf32_h8_relax_section): New function.
2833 1.1 skrll (elf32_h8_relax_delete_bytes): Likewise.
2834 1.1 skrll (elf32_h8_symbol_address_p): Likewise.
2835 1.1 skrll (elf32_h8_get_relocated_section_contents): Likewise.
2836 1.1 skrll (bfd_elf32_bfd_relax_section): Define.
2837 1.1 skrll (bfd_elf32_bfd_get_relocated_section_contents): Likewise.
2838 1.1 skrll
2839 1.1 skrll * elf32-h8300.c (special): New function.
2840 1.1 skrll (h8_elf_howto_table): Use it for SPECIAL_FUNCTION field in
2841 1.1 skrll all relocations.
2842 1.1 skrll (elf32_h8_final_link_relocate): Treat R_H8_DIR24A8 like 32bit
2843 1.1 skrll relocations. Fix problems with the true 24bit reloc R_H8_DIR24R8.
2844 1.1 skrll Fix minor problems with 8bit and 16bit PC relative relocations.
2845 1.1 skrll
2846 1.1 skrll 2001-09-01 Andreas Jaeger <aj (a] suse.de>
2847 1.1 skrll
2848 1.1 skrll * vms-tir.c: Add missing prototypes.
2849 1.1 skrll * vms-hdr.c: Likewise.
2850 1.1 skrll * vms-gsd.c: Likewise.
2851 1.1 skrll * vms-misc.c: Likewise.
2852 1.1 skrll
2853 1.1 skrll 2001-08-31 H.J. Lu <hjl (a] gnu.org>
2854 1.1 skrll
2855 1.1 skrll * elf32-mips.c (_bfd_mips_elf_check_relocs): Report filename
2856 1.1 skrll with bad relocation.
2857 1.1 skrll
2858 1.1 skrll 2001-08-31 Eric Christopher <echristo (a] redhat.com>
2859 1.1 skrll Jason Eckhardt <jle (a] redhat.com>
2860 1.1 skrll
2861 1.1 skrll * archures.c: Add mipsisa32 and mipsisa64. Remove mips32,
2862 1.1 skrll mips32_4k and mips64.
2863 1.1 skrll * aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k,
2864 1.1 skrll bfd_mach_mips64. Add bfd_mach_mipsisa32, bfd_mach_mipsisa64.
2865 1.1 skrll * cpu-mips.c: Ditto.
2866 1.1 skrll * elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto.
2867 1.1 skrll * bfd-in2.h: Regenerate.
2868 1.1 skrll
2869 1.1 skrll 2001-08-31 Jakub Jelinek <jakub (a] redhat.com>
2870 1.1 skrll
2871 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Duplicate memory
2872 1.1 skrll value into R_ALPHA_RELATIVE's addend.
2873 1.1 skrll (elf64_alpha_finish_dynamic_symbol): Likewise.
2874 1.1 skrll
2875 1.1 skrll 2001-08-31 Nick Clifton <nickc (a] cambridge.redhat.com>
2876 1.1 skrll
2877 1.1 skrll * elf32-arm.h (elf32_arm_relocate_section): Do not rightshift
2878 1.1 skrll recomputed addend during relocatable link if not USE_REL.
2879 1.1 skrll
2880 1.1 skrll * elflink.h (elf_gc_propagate_vtable_entries_used): Fix off-by-one
2881 1.1 skrll error.
2882 1.1 skrll
2883 1.1 skrll 2001-08-30 H.J. Lu <hjl (a] gnu.org>
2884 1.1 skrll
2885 1.1 skrll * elf32-mips.c (mips_elf_calculate_relocation): Revert the last
2886 1.1 skrll 2 changes.
2887 1.1 skrll (_bfd_mips_elf_adjust_dynamic_symbol): Allocate dynamic
2888 1.1 skrll relocations for weak definitions.
2889 1.1 skrll
2890 1.1 skrll 2001-08-30 H.J. Lu <hjl (a] gnu.org>
2891 1.1 skrll
2892 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add elf32-h8300.lo.
2893 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf32-h8300.c.
2894 1.1 skrll * Makefile.in: Rebuild.
2895 1.1 skrll
2896 1.1 skrll 2001-08-30 H.J. Lu <hjl (a] gnu.org>
2897 1.1 skrll
2898 1.1 skrll * elf32-mips.c (mips_elf_calculate_relocation): Don't create
2899 1.1 skrll dynamic relocation for undefined weak symbols when creating
2900 1.1 skrll executables. Check h->root.root.type, instead of h->root.type.
2901 1.1 skrll
2902 1.1 skrll 2001-08-29 Joel Sherrill <joel (a] OARcorp.com>
2903 1.1 skrll
2904 1.1 skrll * config.bfd (i[3456]86-*-rtems*, m68*-*-rtems*): Change
2905 1.1 skrll default from coff to elf.
2906 1.1 skrll
2907 1.1 skrll 2001-08-29 Jeff Law <law (a] redhat.com>
2908 1.1 skrll
2909 1.1 skrll * elf32-h8300.c (h8_elf_howto_table): Add new PC relative
2910 1.1 skrll relocations.
2911 1.1 skrll (h8_reloc_map): Similarly.
2912 1.1 skrll (elf32_h8_final_link_relocate): Remove incorrect overflow tests.
2913 1.1 skrll Add support for PC relative relocations.
2914 1.1 skrll
2915 1.1 skrll * elf32-h8300.c: Put all prototypes together.
2916 1.1 skrll (elf32_h8_info_to_howto): Parameter elf_reloc is used.
2917 1.1 skrll (elf32_h8_final_link_relocate): New function for linker.
2918 1.1 skrll (elf32_h8_relocate_section): Similarly.
2919 1.1 skrll (elf_backend_relocate_section): Define.
2920 1.1 skrll
2921 1.1 skrll * cpu-h8300.c (h8300_scan, compatible): Prototype.
2922 1.1 skrll (h8300_scan): Handle architecture:machine encodings typically
2923 1.1 skrll found in linker scripts.
2924 1.1 skrll * elf.c (prep_headers): Do not try to do H8 machine recognition
2925 1.1 skrll here.
2926 1.1 skrll * elf32-h8300.c: Add some missing prototypes.
2927 1.1 skrll (elf32_h8_mach, elf32_h8_final_write_processing): New functions.
2928 1.1 skrll (elf32_h8_object_p): Similarly.
2929 1.1 skrll
2930 1.1 skrll 2001-08-29 Tom Rix <trix (a] redhat.com>
2931 1.1 skrll
2932 1.1 skrll * xcofflink.c (xcoff_link_add_symbols): Fix XTY_LD symbol that
2933 1.1 skrll does not follow a XTY_SD.
2934 1.1 skrll
2935 1.1 skrll 2001-08-29 Alan Modra <amodra (a] bigpond.net.au>
2936 1.1 skrll
2937 1.1 skrll * targmatch.sed: Delete case statements.
2938 1.1 skrll * config.bfd <powerpc-*-aix* entry>: Select 64 bit xcoff for
2939 1.1 skrll aix4.3 and above.
2940 1.1 skrll
2941 1.1 skrll 2001-08-29 J"orn Rennecke <amylaar (a] redhat.com>
2942 1.1 skrll
2943 1.1 skrll * Makefile.am (elf32-h8300.lo): New target.
2944 1.1 skrll * config.bfd (h8300*-*-elf): New case.
2945 1.1 skrll * configure.in (bfd_elf32_h8300_vec): New case.
2946 1.1 skrll * elf.c (prep_headers): Add case for bfd_arch_h8300.
2947 1.1 skrll * reloc.c (BFD_RELOC_H8_DIR16A8): New relocation.
2948 1.1 skrll (BFD_RELOC_H8_DIR16R8, BFD_RELOC_H8_DIR24A8): Likewise.
2949 1.1 skrll (BFD_RELOC_H8_DIR24R8, BFD_RELOC_H8_DIR32A16): Likewise.
2950 1.1 skrll * targets.c (bfd_target bfd_elf32_h8300_vec): New extern declaration.
2951 1.1 skrll * elf32-h8300.c: New file.
2952 1.1 skrll * Makefile.in, bfd-in2.h, libbfd.h, configure: Regenerated.
2953 1.1 skrll
2954 1.1 skrll 2001-08-28 Nick Clifton <nickc (a] cambridge.redhat.com>
2955 1.1 skrll
2956 1.1 skrll * sparclynx.c: Add missing prototypes.
2957 1.1 skrll * coff-mcore.c: Add missing prototypes.
2958 1.1 skrll * elf32-pj.c: Add missing prototypes.
2959 1.1 skrll * nlm32-sparc.c: Add missing prototypes.
2960 1.1 skrll * oasys.c: Add missing prototypes.
2961 1.1 skrll * pdp11.c: Add missing prototypes.
2962 1.1 skrll * pe-mips.c: Add missing prototypes.
2963 1.1 skrll * riscix.c: Add missing prototypes.
2964 1.1 skrll
2965 1.1 skrll 2001-08-27 Daniel Jacobowitz <drow (a] mvista.com>
2966 1.1 skrll
2967 1.1 skrll * elf32-i386.c: Add missing prototypes.
2968 1.1 skrll * elf32-ppc.c: Likewise.
2969 1.1 skrll * elf32-sh-lin.c: Likewise.
2970 1.1 skrll * elfarm-nabi.c: Likewise.
2971 1.1 skrll
2972 1.1 skrll 2001-08-27 Daniel Jacobowitz <drow (a] mvista.com>
2973 1.1 skrll
2974 1.1 skrll * elf32-i386.c (elf_i386_grok_prstatus): New function.
2975 1.1 skrll (elf_i386_grok_psinfo): New function.
2976 1.1 skrll (elf_backend_grok_prstatus): Define.
2977 1.1 skrll (elf_backend_grok_psinfo): Likewise.
2978 1.1 skrll * elf32-ppc.c (ppc_elf_grok_prstatus): New function.
2979 1.1 skrll (ppc_elf_grok_psinfo): New function.
2980 1.1 skrll (elf_backend_grok_prstatus): Define.
2981 1.1 skrll (elf_backend_grok_psinfo): Likewise.
2982 1.1 skrll * elf32-sh-lin.c (elf32_shlin_grok_prstatus): New function.
2983 1.1 skrll (elf32_shlin_grok_psinfo): New function.
2984 1.1 skrll (elf_backend_grok_prstatus): Define.
2985 1.1 skrll (elf_backend_grok_psinfo): Likewise.
2986 1.1 skrll * elfarm-nabi.c (elf32_arm_nabi_grok_prstatus): New function.
2987 1.1 skrll (elf32_arm_nabi_grok_psinfo): New function.
2988 1.1 skrll (elf_backend_grok_prstatus): Define.
2989 1.1 skrll (elf_backend_grok_psinfo): Likewise.
2990 1.1 skrll
2991 1.1 skrll 2001-08-27 H.J. Lu <hjl (a] gnu.org>
2992 1.1 skrll
2993 1.1 skrll * elf32-mips.c (mips_elf_create_dynamic_relocation): Add more
2994 1.1 skrll sanity check.
2995 1.1 skrll (mips_elf_calculate_relocation): Create dynamic relocation for
2996 1.1 skrll symbols with weak definition or the ELF_LINK_HASH_DEF_REGULAR
2997 1.1 skrll bit is not set.
2998 1.1 skrll
2999 1.1 skrll 2001-08-27 H.J. Lu <hjl (a] gnu.org>
3000 1.1 skrll
3001 1.1 skrll * elf32-mips.c (_bfd_mips_elf_hide_symbol): Add prototype.
3002 1.1 skrll (_bfd_mips_elf_copy_indirect_symbol): Likewise.
3003 1.1 skrll (_bfd_elf32_mips_grok_prstatus): Likewise.
3004 1.1 skrll (_bfd_elf32_mips_grok_psinfo): Likewise.
3005 1.1 skrll (_bfd_mips_elf_hide_symbol): Make it static and cast to
3006 1.1 skrll `struct mips_elf_link_hash_entry *'.
3007 1.1 skrll (_bfd_mips_elf_copy_indirect_symbol): Make it static.
3008 1.1 skrll
3009 1.1 skrll 2001-08-27 Nick Clifton <nickc (a] cambridge.redhat.com>
3010 1.1 skrll
3011 1.1 skrll * mipsbsd.c: Add missing prototypes.
3012 1.1 skrll * hp300hpux.c: Add missing prototypes.
3013 1.1 skrll * i386aout.c: Add missing prototypes.
3014 1.1 skrll * i386lynx.c: Add missing prototypes.
3015 1.1 skrll * i386mach3.c: Add missing prototypes.
3016 1.1 skrll * i386msdos.c: Add missing prototypes.
3017 1.1 skrll * i386os9k.c: Add missing prototypes.
3018 1.1 skrll
3019 1.1 skrll 2001-08-27 Linus Nordberg <linus (a] swox.se>
3020 1.1 skrll Torbjorn Granlund <tege (a] swox.com>
3021 1.1 skrll Staffan Ulfberg <staffanu (a] swox.se>
3022 1.1 skrll Alan Modra <amodra (a] bigpond.net.au>
3023 1.1 skrll
3024 1.1 skrll * config.bfd: Add powerpc64 target. Add powerpc64 vectors to
3025 1.1 skrll targ64_selvecs for 32 bit powerpc targets.
3026 1.1 skrll * Makefile.am (BFD64_BACKENDS): Add elf64-ppc.lo.
3027 1.1 skrll (BFD64_BACKENDS_CFILES): Add elf64-ppc.c.
3028 1.1 skrll Run "make dep-am".
3029 1.1 skrll * Makefile.in: Regenerate.
3030 1.1 skrll * configure.in: Add elf64_powerpc vecs.
3031 1.1 skrll * configure: Regenerate.
3032 1.1 skrll * cpu-powerpc.c: Default to bfd_mach_ppc_620 entry for 64 bit.
3033 1.1 skrll * elf.c (prep_headers): EM_PPC64 for 64 bit ppc elf target.
3034 1.1 skrll * targets.c: Add bfd_elf64_powerpc_vec and bfd_elf64_powerpcle_vec.
3035 1.1 skrll * elf64-ppc.c: New file.
3036 1.1 skrll * reloc.c: Add powerpc64 relocs.
3037 1.1 skrll * libbfd.h: Regenerate.
3038 1.1 skrll * bfd-in2.h: Regenerate.
3039 1.1 skrll
3040 1.1 skrll 2001-08-27 Andreas Schwab <schwab (a] suse.de>
3041 1.1 skrll
3042 1.1 skrll * elf32-m68k.c (elf32_m68k_check_relocs): Set DF_TEXTREL if the
3043 1.1 skrll reloc is against read-only section.
3044 1.1 skrll (elf32_m68k_size_dynamic_sections): Use DF_TEXTREL flag instead of
3045 1.1 skrll looking up section names for DT_TEXTREL.
3046 1.1 skrll (elf32_m68k_reloc_type_class): New function.
3047 1.1 skrll (elf_backend_reloc_type_class): Define.
3048 1.1 skrll
3049 1.1 skrll 2001-08-27 Andreas Jaeger <aj (a] suse.de>
3050 1.1 skrll
3051 1.1 skrll * elf64-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the
3052 1.1 skrll reloc is against read-only section.
3053 1.1 skrll (elf_s390_size_dynamic_sections): Use DF_TEXTREL flag instead of
3054 1.1 skrll looking up section names for DT_TEXTREL.
3055 1.1 skrll (elf_s390_reloc_type_class): New.
3056 1.1 skrll (elf_backend_reloc_type_class): Define.
3057 1.1 skrll
3058 1.1 skrll * elf32-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the
3059 1.1 skrll reloc is against read-only section.
3060 1.1 skrll (elf_s390_size_dynamic_sections): Use DF_TEXTREL flag instead of
3061 1.1 skrll looking up section names for DT_TEXTREL.
3062 1.1 skrll (elf_s390_reloc_type_class): New.
3063 1.1 skrll (elf_backend_reloc_type_class): Define.
3064 1.1 skrll
3065 1.1 skrll * elf32-ppc.c (ppc_elf_check_relocs): Set DF_TEXTREL if the reloc
3066 1.1 skrll is against read-only section.
3067 1.1 skrll (ppc_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
3068 1.1 skrll looking up section names for DT_TEXTREL.
3069 1.1 skrll (ppc_elf_reloc_type_class): New.
3070 1.1 skrll (elf_backend_reloc_type_class): Define.
3071 1.1 skrll
3072 1.1 skrll 2001-08-26 Andreas Jaeger <aj (a] suse.de>
3073 1.1 skrll
3074 1.1 skrll * elf32-cris.c (cris_elf_check_relocs): Set DF_TEXTREL if the
3075 1.1 skrll reloc is against read-only section.
3076 1.1 skrll (elf_cris_size_dynamic_sections): Use DF_TEXTREL flag instead of
3077 1.1 skrll looking up section names for DT_TEXTREL.
3078 1.1 skrll (elf_cris_reloc_type_class): New.
3079 1.1 skrll (elf_backend_reloc_type_class): Define.
3080 1.1 skrll
3081 1.1 skrll * elf32-sh.c (sh_elf_check_relocs): Set DF_TEXTREL if the reloc is
3082 1.1 skrll against read-only section.
3083 1.1 skrll (elf_backend_reloc_type_class): Define.
3084 1.1 skrll (sh_elf_reloc_type_class): New.
3085 1.1 skrll (sh_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
3086 1.1 skrll looking up section names for DT_TEXTREL.
3087 1.1 skrll
3088 1.1 skrll * elf32-arm.h (elf32_arm_check_relocs): Set DF_TEXTREL if the
3089 1.1 skrll reloc is against read-only section.
3090 1.1 skrll (elf32_arm_size_dynamic_sections): Use DF_TEXTREL flag instead of
3091 1.1 skrll looking up section names for DT_TEXTREL.
3092 1.1 skrll (elf32_arm_reloc_type_class): New.
3093 1.1 skrll (elf_backend_reloc_type_class): Define.
3094 1.1 skrll
3095 1.1 skrll 2001-08-25 Andreas Jaeger <aj (a] suse.de>
3096 1.1 skrll
3097 1.1 skrll * oasys.c: Add missing prototypes.
3098 1.1 skrll
3099 1.1 skrll * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Add unused
3100 1.1 skrll attribute for parameter.
3101 1.1 skrll * elf.c (_bfd_elf_reloc_type_class): Likewise.
3102 1.1 skrll
3103 1.1 skrll * versados.c (get_4): Make static.
3104 1.1 skrll (get_10): Make static.
3105 1.1 skrll Add missing prototypes.
3106 1.1 skrll (process_esd): Fix call to versados_new_symbol.
3107 1.1 skrll
3108 1.1 skrll 2001-08-25 Nick Clifton <nickc (a] cambridge.redhat.com>
3109 1.1 skrll
3110 1.1 skrll * coff-a29k.c: Add missing prototypes.
3111 1.1 skrll * coff-apollo.c: Add missing prototypes.
3112 1.1 skrll * coff-arm.c: Add missing prototypes.
3113 1.1 skrll * coff-i860.c: Add missing prototypes.
3114 1.1 skrll * coff-rs6000.c: Add missing prototypes.
3115 1.1 skrll * coff-tic80.c: Add missing prototypes.
3116 1.1 skrll * elf-m10200.c: Add missing prototypes.
3117 1.1 skrll * elf-m10300.c: Add missing prototypes.
3118 1.1 skrll * elf32-arm.h: Add missing prototypes.
3119 1.1 skrll * elf32-d10v.c: Add missing prototypes.
3120 1.1 skrll * elf32-m32r.c: Add missing prototypes.
3121 1.1 skrll * elf32-mcore.c: Add missing prototypes.
3122 1.1 skrll * elf32-openrisc.c: Add missing prototypes.
3123 1.1 skrll * elf32-sh.c: Add missing prototypes.
3124 1.1 skrll * elf32-sparc.c: Add missing prototypes.
3125 1.1 skrll * elf32-v850.c: Add missing prototypes.
3126 1.1 skrll * elfarm-nabi.c: Add missing prototypes.
3127 1.1 skrll * elfarm-oabi.c: Add missing prototypes.
3128 1.1 skrll
3129 1.1 skrll 2001-08-25 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
3130 1.1 skrll
3131 1.1 skrll * elf32-mips.c (elf_mips_abi_name): Return the right ABI string for
3132 1.1 skrll E_MIPS_ABI_O64 and E_MIPS_ABI_EABI64
3133 1.1 skrll
3134 1.1 skrll 2001-08-24 H.J. Lu <hjl (a] gnu.org>
3135 1.1 skrll
3136 1.1 skrll * elf.c (_bfd_elf_merge_sections): Fail if not using an ELF
3137 1.1 skrll hash structure.
3138 1.1 skrll
3139 1.1 skrll 2001-08-24 Nick Clifton <nickc (a] cambridge.redhat.com>
3140 1.1 skrll
3141 1.1 skrll * elf-bfd.h (elf_hash_table): Revert definition.
3142 1.1 skrll (is_elf_hash_table): New macro.
3143 1.1 skrll * elflink.h (elf_link_add_object_symbols): Test
3144 1.1 skrll is_elf_hash_table before accessing ELF only fields in hash
3145 1.1 skrll structure.
3146 1.1 skrll (elf_link_create_dynamic_sections): Fail if not using an ELF
3147 1.1 skrll hash structure.
3148 1.1 skrll (elf_add_dynamic_entry): Fail if not using an ELF hash
3149 1.1 skrll structure.
3150 1.1 skrll (elf_link_record_local_dynamic_symbol): Fail if not using an
3151 1.1 skrll ELF hash structure.
3152 1.1 skrll (size_dynamic_sections): Fail if not using an ELF hash
3153 1.1 skrll structure.
3154 1.1 skrll (elf_adjust_dynamic_symbol): Fail if not using an ELF
3155 1.1 skrll hash structure.
3156 1.1 skrll (elf_bfd_final_link): Fail if not using an ELF hash
3157 1.1 skrll structure.
3158 1.1 skrll
3159 1.1 skrll 2001-08-24 H.J. Lu <hjl (a] gnu.org>
3160 1.1 skrll
3161 1.1 skrll * elf-bfd.h (elf_hash_table): Return NULL if the linker hash
3162 1.1 skrll table is not an ELF linker hash table.
3163 1.1 skrll
3164 1.1 skrll * elf.c (_bfd_elf_link_hash_table_init): Set the linker hash
3165 1.1 skrll table type to bfd_link_elf_hash_table.
3166 1.1 skrll
3167 1.1 skrll * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_create): Revert
3168 1.1 skrll the last change.
3169 1.1 skrll
3170 1.1 skrll * linker.c (_bfd_link_hash_table_init): Set the linker hash
3171 1.1 skrll table type to bfd_link_generic_hash_table.
3172 1.1 skrll
3173 1.1 skrll 2001-08-24 Alexandre Oliva <aoliva (a] redhat.com>
3174 1.1 skrll
3175 1.1 skrll * bfd.c (bfd_alt_mach_code): New function.
3176 1.1 skrll * bfd-in2.h: Rebuilt.
3177 1.1 skrll
3178 1.1 skrll 2001-08-24 Alexandre Oliva <aoliva (a] redhat.com>
3179 1.1 skrll
3180 1.1 skrll * elf-m10300.c (mn10300_elf_relocate_section): Test the right
3181 1.1 skrll `type' field in the hash entry when deciding whether to follow a
3182 1.1 skrll link.
3183 1.1 skrll
3184 1.1 skrll 2001-08-24 Jakub Jelinek <jakub (a] redhat.com>
3185 1.1 skrll
3186 1.1 skrll * elflink.h (elf_link_sort_cmp1): Sort RELATIVE relocs first, not
3187 1.1 skrll last.
3188 1.1 skrll (elf_link_sort_relocs): Adjust accordingly.
3189 1.1 skrll
3190 1.1 skrll * elf64-alpha.c (struct alpha_elf_link_hash_entry): Add reltext flag.
3191 1.1 skrll (elf64_alpha_check_relocs): Set it if section this reloc is against
3192 1.1 skrll is read-only. Set DF_TEXTREL if a RELATIVE reloc is needed against
3193 1.1 skrll read-only section.
3194 1.1 skrll (elf64_alpha_calc_dynrel_sizes): Set DF_TEXTREL flag if relocation
3195 1.1 skrll is is against read-only section.
3196 1.1 skrll (elf64_alpha_size_dynamic_sections): Use DF_TEXTREL flag, don't
3197 1.1 skrll check section names.
3198 1.1 skrll (elf64_alpha_reloc_type_class): New.
3199 1.1 skrll (elf_backend_reloc_type_class): Define.
3200 1.1 skrll
3201 1.1 skrll 2001-08-24 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
3202 1.1 skrll
3203 1.1 skrll * linker.c (_bfd_generic_link_add_archive_symbols): Replace alloca()
3204 1.1 skrll by bfd_malloc().
3205 1.1 skrll
3206 1.1 skrll 2001-08-23 Andreas Jaeger <aj (a] suse.de>
3207 1.1 skrll
3208 1.1 skrll * elf64-x86-64.c (elf64_x86_64_check_relocs): Set DF_TEXTREL if
3209 1.1 skrll the reloc is against read-only section.
3210 1.1 skrll (elf64_x86_64_size_dynamic_sections): Use DF_TEXTREL flag instead
3211 1.1 skrll of looking up section names for DT_TEXTREL.
3212 1.1 skrll (elf64_x86_64_reloc_type_class): New.
3213 1.1 skrll (elf_backend_reloc_type_class): Define.
3214 1.1 skrll
3215 1.1 skrll 2001-08-23 H.J. Lu <hjl (a] gnu.org>
3216 1.1 skrll
3217 1.1 skrll * syms.c (bfd_print_symbol_vandf): Add abfd to arg.
3218 1.1 skrll * bfd-in2.h (bfd_print_symbol_vandf): Regenerated.
3219 1.1 skrll
3220 1.1 skrll * aoutx.h (NAME(aout,print_symbol)): Pass abfd to
3221 1.1 skrll bfd_print_symbol_vandf.
3222 1.1 skrll * coffgen.c (coff_print_symbol): Likewise.
3223 1.1 skrll * elf.c (bfd_elf_print_symbol): Likewise.
3224 1.1 skrll * ieee.c (ieee_print_symbol): Likewise.
3225 1.1 skrll * nlmcode.h (nlm_print_symbol): Likewise.
3226 1.1 skrll * oasys.c (oasys_print_symbol): Likewise.
3227 1.1 skrll * pdp11.c (NAME(aout,print_symbol)): Likewise.
3228 1.1 skrll * som.c (som_print_symbol): Likewise.
3229 1.1 skrll * srec.c (srec_print_symbol): Likewise.
3230 1.1 skrll * tekhex.c (tekhex_print_symbol): Likewise.
3231 1.1 skrll * versados.c (versados_print_symbol): Likewise.
3232 1.1 skrll * vms.c (vms_print_symbol): Likewise.
3233 1.1 skrll
3234 1.1 skrll * elf.c (_bfd_elf_print_private_bfd_data): Replace fprintf_vma
3235 1.1 skrll with bfd_fprintf_vma.
3236 1.1 skrll (bfd_elf_print_symbol): Likewise.
3237 1.1 skrll * syms.c (bfd_print_symbol_vandf): Likewise.
3238 1.1 skrll
3239 1.1 skrll 2001-08-23 Nick Clifton <nickc (a] cambridge.redhat.com>
3240 1.1 skrll
3241 1.1 skrll * aoutf1.h (sunos_write_object_contents): Silence compile time
3242 1.1 skrll warning.
3243 1.1 skrll * libaout.h (N_SET_DYNAMIC): Silence compile time warning.
3244 1.1 skrll
3245 1.1 skrll * bout.c: Add missing function prototypes. Fix formatting.
3246 1.1 skrll * coff-z8k.c: Add missing function prototypes. Fix formatting.
3247 1.1 skrll * coff-w65.c: Add missing function prototypes. Fix formatting.
3248 1.1 skrll * coff-h8500.c: Add missing function prototypes. Fix formatting.
3249 1.1 skrll * coff-h8300.c: Add missing function prototypes. Fix formatting.
3250 1.1 skrll * coff-tic54x.c: Add missing function prototypes. Fix formatting.
3251 1.1 skrll * coff-tic30.c: Add missing function prototypes. Fix formatting.
3252 1.1 skrll * coff-m68k.c: Add missing function prototypes. Fix formatting.
3253 1.1 skrll * coff-rs6000.c: Add missing function prototypes. Fix formatting.
3254 1.1 skrll * coff-sh.c: Add missing function prototypes. Fix formatting.
3255 1.1 skrll
3256 1.1 skrll 2001-08-23 Jakub Jelinek <jakub (a] redhat.com>
3257 1.1 skrll
3258 1.1 skrll * elf-bfd.h (enum elf_reloc_type_class): New.
3259 1.1 skrll (struct elf_backend_data): Add elf_backend_reloc_type_class.
3260 1.1 skrll (_bfd_elf_reloc_type_class): New.
3261 1.1 skrll * elfxx-target.h (elf_backend_reloc_type_class): Define.
3262 1.1 skrll (elfNN_bed): Add elf_backend_reloc_type_class.
3263 1.1 skrll * elf.c (_bfd_elf_reloc_type_class): New.
3264 1.1 skrll * elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc
3265 1.1 skrll is against read-only section.
3266 1.1 skrll (elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of
3267 1.1 skrll looking up section names for DT_TEXTREL.
3268 1.1 skrll (elf_i386_reloc_type_class): New.
3269 1.1 skrll (elf_backend_reloc_type_class): Define.
3270 1.1 skrll * elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the
3271 1.1 skrll reloc is against read-only section.
3272 1.1 skrll (elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of
3273 1.1 skrll looking up section names for DT_TEXTREL.
3274 1.1 skrll (elf32_sparc_reloc_type_class): New.
3275 1.1 skrll (elf_backend_reloc_type_class): Define.
3276 1.1 skrll * elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the
3277 1.1 skrll reloc is against read-only section.
3278 1.1 skrll (sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
3279 1.1 skrll looking up section names for DT_TEXTREL.
3280 1.1 skrll (sparc64_elf_reloc_type_class): New.
3281 1.1 skrll (elf_backend_reloc_type_class): Define.
3282 1.1 skrll * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field.
3283 1.1 skrll (elfNN_ia64_hash_table_create): Clear ia64_info.
3284 1.1 skrll (get_reloc_section): Set DF_TEXTREL if the reloc is against read-only
3285 1.1 skrll section.
3286 1.1 skrll (elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag
3287 1.1 skrll instead of looking up section names for DT_TEXTREL.
3288 1.1 skrll (elfNN_ia64_reloc_type_class): New.
3289 1.1 skrll (elf_backend_reloc_type_class): Define.
3290 1.1 skrll * elflink.h (size_dynamic_sections): Add spare DT_NULL tags.
3291 1.1 skrll (struct elf_link_sort_rela): New.
3292 1.1 skrll (elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New.
3293 1.1 skrll (elf_bfd_final_link): Call elf_link_sort_relocs.
3294 1.1 skrll Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if
3295 1.1 skrll necessary.
3296 1.1 skrll
3297 1.1 skrll 2001-08-23 Nick Clifton <nickc (a] cambridge.redhat.com>
3298 1.1 skrll
3299 1.1 skrll * configure.in (x86-bsdi): No corefile support.
3300 1.1 skrll * configure: Regenerate.
3301 1.1 skrll
3302 1.1 skrll 2001-08-22 Nick Clifton <nickc (a] cambridge.redhat.com>
3303 1.1 skrll
3304 1.1 skrll * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Add missing
3305 1.1 skrll comma.
3306 1.1 skrll
3307 1.1 skrll 2001-08-21 Mark Elbrecht <snowball3 (a] bigfoot.com>
3308 1.1 skrll
3309 1.1 skrll * coff-go32.c: Make DWARF2 sections use an alignment of 0. Set
3310 1.1 skrll the alignment of dwarf2 linkonce sections to 0.
3311 1.1 skrll * coff-sto32.c: Likewise.
3312 1.1 skrll
3313 1.1 skrll 2001-08-20 Andreas Jaeger <aj (a] suse.de>
3314 1.1 skrll
3315 1.1 skrll * coff-sparc.c: Add missing prototypes.
3316 1.1 skrll * elf32-s390.c: Likewise.
3317 1.1 skrll * elf32-i960.c: Likewise.
3318 1.1 skrll * aout-target.h: Likewise.
3319 1.1 skrll
3320 1.1 skrll 2001-08-20 H.J. Lu <hjl (a] gnu.org>
3321 1.1 skrll
3322 1.1 skrll * elf-bfd.h (elf_obj_tdata): Add num_section_syms.
3323 1.1 skrll (elf_num_section_syms): New for num_section_syms.
3324 1.1 skrll
3325 1.1 skrll * elf.c (elf_map_symbols): Set num_section_syms.
3326 1.1 skrll (_bfd_elf_symbol_from_bfd_symbol): Check num_section_syms for
3327 1.1 skrll the section symbol index.
3328 1.1 skrll
3329 1.1 skrll 2001-08-20 Nick Clifton <nickc (a] cambridge.redhat.com>
3330 1.1 skrll
3331 1.1 skrll * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_create): Never
3332 1.1 skrll select the generic has table creator. All elf backends need elf
3333 1.1 skrll specific fields in the hash table.
3334 1.1 skrll
3335 1.1 skrll 2001-08-20 Alan Modra <amodra (a] bigpond.net.au>
3336 1.1 skrll
3337 1.1 skrll * archive.c (offsetof): Remove define.
3338 1.1 skrll * elf.c: Likewise.
3339 1.1 skrll * oasys.c: Likewise
3340 1.1 skrll * sysdep.h (offsetof): Define.
3341 1.1 skrll
3342 1.1 skrll 2001-08-17 Alan Modra <amodra (a] bigpond.net.au>
3343 1.1 skrll
3344 1.1 skrll * bfd.c (bfd_get_gp_size): Return an unsigned int.
3345 1.1 skrll (bfd_set_gp_size): Make param unsigned.
3346 1.1 skrll * bfd-in2.h: Regenerate.
3347 1.1 skrll * elf32-ppc.c (ppc_elf_add_symbol_hook): Use elf_gp_size rather
3348 1.1 skrll than calling bfd_get_gp_size.
3349 1.1 skrll * elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise.
3350 1.1 skrll * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise.
3351 1.1 skrll
3352 1.1 skrll 2001-08-17 Alan Modra <amodra (a] bigpond.net.au>
3353 1.1 skrll
3354 1.1 skrll * linker.c (default_fill_link_order): Handle four byte fill value.
3355 1.1 skrll
3356 1.1 skrll 2001-08-17 Alan Modra <amodra (a] bigpond.net.au>
3357 1.1 skrll
3358 1.1 skrll * elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
3359 1.1 skrll prototype.
3360 1.1 skrll * nlm32-alpha.c (nlm_alpha_write_external): Fix warning.
3361 1.1 skrll
3362 1.1 skrll * elf64-mips.c (UNUSED_RELOC): Define.
3363 1.1 skrll (mips_elf64_howto_table_rel): Use it.
3364 1.1 skrll (mips_elf64_howto_table_rela): Here too.
3365 1.1 skrll (mips_elf64_write_relocs): Fix signed/unsigned warning.
3366 1.1 skrll
3367 1.1 skrll * coffcode.h (coff_write_object_contents): Add ATTRIBUTE_UNUSED to
3368 1.1 skrll silence warning.
3369 1.1 skrll * coffgen.c (coff_print_symbol): Fix warnings.
3370 1.1 skrll (coff_find_nearest_line): Likewise.
3371 1.1 skrll * cofflink.c (_bfd_coff_link_input_bfd): Likewise.
3372 1.1 skrll * coff-alpha.c (alpha_convert_external_reloc): Likewise.
3373 1.1 skrll * format.c (bfd_check_format_matches): Likewise.
3374 1.1 skrll (bfd_set_format): Likewise.
3375 1.1 skrll * coff-ia64.c: Add missing prototypes.
3376 1.1 skrll * elf64-alpha.c (struct alpha_elf_link_hash_entry): Make addend
3377 1.1 skrll signed to silence warnings.
3378 1.1 skrll (elf64_alpha_relocate_section): Likewise.
3379 1.1 skrll (elf64_alpha_find_reloc_at_ofs): Fix warnings.
3380 1.1 skrll (elf64_alpha_add_symbol_hook): Likewise.
3381 1.1 skrll (elf64_alpha_final_link): Likewise.
3382 1.1 skrll (elf64_alpha_relax_section): Remove redundant assign to info.gotent.
3383 1.1 skrll (elf64_alpha_merge_gots): Add ATTRIBUTE_UNUSED to unused args.
3384 1.1 skrll (elf64_alpha_size_got_sections): Likewise.
3385 1.1 skrll * elfxx-ia64.c: Add missing prototypes.
3386 1.1 skrll (elfNN_ia64_relocate_section): Fix warning.
3387 1.1 skrll (elfNN_ia64_unwind_entry_compare): Make params const.
3388 1.1 skrll
3389 1.1 skrll 2001-08-17 Alan Modra <amodra (a] bigpond.net.au>
3390 1.1 skrll
3391 1.1 skrll * config.bfd (targ64_selvecs): New.
3392 1.1 skrll <powerpc-*-aix* entry>: Use it here instead of ineffectual #ifdef.
3393 1.1 skrll
3394 1.1 skrll * bfd-in.h (BFD_VERSION): Remove wrong comment.
3395 1.1 skrll (BFD_DEFAULT_TARGET_SIZE): New.
3396 1.1 skrll (BFD_ARCH_SIZE): Comment.
3397 1.1 skrll * configure.in (target_size): New. Set instead of target64 in
3398 1.1 skrll selvecs case statement. Set target64 from it.
3399 1.1 skrll (bfd_default_target_size): New. Set from taget_size. AC_SUBST.
3400 1.1 skrll * bfd-in2.h: Regenerate.
3401 1.1 skrll * configure: Regenerate.
3402 1.1 skrll
3403 1.1 skrll 2001-08-17 Alan Modra <amodra (a] bigpond.net.au>
3404 1.1 skrll
3405 1.1 skrll * bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.
3406 1.1 skrll (bfd_errmsgs): Add corresponding message.
3407 1.1 skrll * archive.c (bfd_generic_archive_p): Don't release bfd_ardata when
3408 1.1 skrll finding an archive that contains different format object files.
3409 1.1 skrll Return bfd_error_wrong_object_format for this case.
3410 1.1 skrll * format.c: Formatting fixes. s/CONST/const/.
3411 1.1 skrll (bfd_check_format_matches): Accept archives that give
3412 1.1 skrll bfd_error_wrong_object_format if no full match is found. Tidy
3413 1.1 skrll code handling matching_vector. Don't return a pointer to freed
3414 1.1 skrll memory in `matching'. Handle ambiguous matches as for partial
3415 1.1 skrll archive matches.
3416 1.1 skrll * bfd-in2.h: Regenerate.
3417 1.1 skrll
3418 1.1 skrll 2001-08-15 Alan Modra <amodra (a] bigpond.net.au>
3419 1.1 skrll
3420 1.1 skrll * libieee.h (common_header_type): Add last_byte field.
3421 1.1 skrll
3422 1.1 skrll * ieee.c: Add missing prototypes. Some format fixes.
3423 1.1 skrll (struct output_buffer_struct): Move for availability to prototypes.
3424 1.1 skrll (ieee_part_after): New function.
3425 1.1 skrll (ieee_slurp_debug): Use it here.
3426 1.1 skrll (ieee_seek): Pass in ieee_data_struct rather than bfd. Use
3427 1.1 skrll ieee_part_after to set last_byte to one past end of current part.
3428 1.1 skrll Update callers.
3429 1.1 skrll (ieee_pos): Pass in ieee_data_struct rather than bfd.
3430 1.1 skrll Update callers.
3431 1.1 skrll (parse_expression): Don't go beyond the end of the current part.
3432 1.1 skrll (ieee_slurp_external_symbols): Correct type passed to read_2bytes.
3433 1.1 skrll (ieee_get_symtab_upper_bound, ieee_get_symtab,
3434 1.1 skrll ieee_get_symbol_info, ieee_print_symbol, ieee_new_section_hook,
3435 1.1 skrll ieee_get_reloc_upper_bound, ieee_canonicalize_reloc, block,
3436 1.1 skrll ieee_set_section_contents, ieee_write_object_contents,
3437 1.1 skrll ieee_make_empty_symbol): Make static.
3438 1.1 skrll (ieee_archive_p): Correct comments regarding bfd_read.
3439 1.1 skrll (ieee_object_p): Similarly.
3440 1.1 skrll (ieee_mkobject): Move it. Clear output_ptr_start, output_ptr,
3441 1.1 skrll output_ptr_end, input_ptr_start, input_ptr, input_ptr_end,
3442 1.1 skrll input_bfd, output_bfd, output_buffer.
3443 1.1 skrll (do_as_repeat): Write out ieee_set_current_pc_enum value as for
3444 1.1 skrll do_with_relocs, ie. as a symbol for relocatable files.
3445 1.1 skrll (ieee_vec): Add comments showing functions referenced by macros.
3446 1.1 skrll
3447 1.1 skrll 2001-08-14 Nick Clifton <nickc (a] cambridge.redhat.com>
3448 1.1 skrll
3449 1.1 skrll * aout-tic30.c: Add missing prototypes. Fix formatting.
3450 1.1 skrll * aout-ns32k.c: Add missing prototypes. Fix formatting.
3451 1.1 skrll * peXXigen.c: Add missining prototypes. Fix formatting.
3452 1.1 skrll * aout-adobe.c: Add missining prototypes. Fix formatting.
3453 1.1 skrll
3454 1.1 skrll 2001-08-13 Nick Clifton <nickc (a] cambridge.redhat.com>
3455 1.1 skrll
3456 1.1 skrll * elf32-v850.c: Add missing function prototypes.
3457 1.1 skrll Fix some formatting.
3458 1.1 skrll
3459 1.1 skrll * cpu-v850.c: Add missing function prototype.
3460 1.1 skrll Fix some formatting.
3461 1.1 skrll
3462 1.1 skrll 2001-08-11 Nick Clifton <nickc (a] cambridge.redhat.com>
3463 1.1 skrll
3464 1.1 skrll * elf-bfd.h (struct elf_backend_data): Add new fields
3465 1.1 skrll 'elf_backend_sprintf_vma' and 'elf_backend_fprintf_vma'.
3466 1.1 skrll (bfd_elf_sprintf_vma): Rename function prototype to
3467 1.1 skrll '_bfd_elf_sprintf_vma'.
3468 1.1 skrll (bfd_elf_fprintf_vma): Rename function prototype to
3469 1.1 skrll '_bfd_elf_fprintf_vma'.
3470 1.1 skrll * bfd.c (bfd_sprintf_vma): Do not invoke bfd_elf_sprintf_vma
3471 1.1 skrll directly, instead indirect via the elf_backend_data structure.
3472 1.1 skrll (bfd_fprintf_vma): Do not invoke bfd_elf_fprintf_vma directly,
3473 1.1 skrll instead indirect via the elf_backend_data structure.
3474 1.1 skrll * elf.c (bfd_elf_sprintf_vma): Rename to _bfd_elf_sprintf_vma.
3475 1.1 skrll (bfd_elf_fprintf_vma): Rename to _bfd_elf_fprintf_vma.
3476 1.1 skrll * elfxx-target.h (elf_backend_sprintf_vma): Initialise if not
3477 1.1 skrll already defined.
3478 1.1 skrll (elf_backend_fprintf_vma): Initialise if not already defined.
3479 1.1 skrll (struct elf_backend_data): Initialise the
3480 1.1 skrll elf_backend_sprintf_vma and elf_backend_fprintf_vma fields.
3481 1.1 skrll
3482 1.1 skrll 2001-08-10 Andreas Jaeger <aj (a] suse.de>
3483 1.1 skrll
3484 1.1 skrll * elf64-sparc.c: Add missing prototypes.
3485 1.1 skrll * elf32-cris.c: Likewise.
3486 1.1 skrll * elf32-i370.c: Likewise.
3487 1.1 skrll * elf64-hppa.c: Likewise.
3488 1.1 skrll * elf64-s390.c: Likewise.
3489 1.1 skrll
3490 1.1 skrll 2001-08-10 Andreas Jaeger <aj (a] suse.de>
3491 1.1 skrll
3492 1.1 skrll * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
3493 1.1 skrll Add prototypes where needed.
3494 1.1 skrll
3495 1.1 skrll 2001-08-10 H.J. Lu <hjl (a] gnu.org>
3496 1.1 skrll
3497 1.1 skrll * bfd.c (bfd_sprintf_vma): Fix a typo in the last change.
3498 1.1 skrll (bfd_fprintf_vma): Likewise.
3499 1.1 skrll
3500 1.1 skrll 2001-08-10 H.J. Lu <hjl (a] gnu.org>
3501 1.1 skrll
3502 1.1 skrll * bfd.c (bfd_sprintf_vma): Don't return void.
3503 1.1 skrll (bfd_fprintf_vma): Likewise.
3504 1.1 skrll
3505 1.1 skrll 2001-08-10 Andreas Jaeger <aj (a] suse.de>
3506 1.1 skrll
3507 1.1 skrll * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
3508 1.1 skrll to build warnings.
3509 1.1 skrll * configure: Regenerate.
3510 1.1 skrll
3511 1.1 skrll 2001-08-10 Alan Modra <amodra (a] bigpond.net.au>
3512 1.1 skrll
3513 1.1 skrll * elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet
3514 1.1 skrll warning if not BFD64. Add braces so emacs auto format works.
3515 1.1 skrll (bfd_elf_fprintf_vma): Likewise.
3516 1.1 skrll
3517 1.1 skrll * libxcoff.h (struct xcoff_backend_data_rec): Constify src param
3518 1.1 skrll of _xcoff_swap_ld*.
3519 1.1 skrll * coff-rs6000.c (xcoff_swap_ldhdr_in): Modify type of external
3520 1.1 skrll param to agree with libxcoff.h.
3521 1.1 skrll (xcoff_swap_ldhdr_out): Likewise.
3522 1.1 skrll (xcoff_swap_ldsym_in): Likewise.
3523 1.1 skrll (xcoff_swap_ldsym_out): Likewise.
3524 1.1 skrll (xcoff_swap_ldrel_in): Likewise.
3525 1.1 skrll (xcoff_swap_ldrel_out): Likewise.
3526 1.1 skrll (xcoff_create_csect_from_smclas): Likewise.
3527 1.1 skrll * coff64-rs6000.c: Add missing prototypes.
3528 1.1 skrll (xcoff64_swap_ldhdr_in): Modify type of external param to agree
3529 1.1 skrll with libxcoff.h.
3530 1.1 skrll (xcoff64_swap_ldhdr_out): Likewise.
3531 1.1 skrll (xcoff64_swap_ldsym_in): Likewise.
3532 1.1 skrll (xcoff64_swap_ldsym_out): Likewise.
3533 1.1 skrll (xcoff64_swap_ldrel_in): Likewise.
3534 1.1 skrll (xcoff64_swap_ldrel_out): Likewise.
3535 1.1 skrll (xcoff64_ppc_relocate_section): Make static.
3536 1.1 skrll (xcoff64_slurp_armap): Likewise.
3537 1.1 skrll (xcoff64_archive_p): Likewise.
3538 1.1 skrll (xcoff64_openr_next_archived_file): Likewise.
3539 1.1 skrll (xcoff64_sizeof_headers): Likewise.
3540 1.1 skrll (xcoff64_is_lineno_count_overflow): Likewise.
3541 1.1 skrll (xcoff64_is_reloc_count_overflow): Likewise.
3542 1.1 skrll (xcoff64_loader_symbol_offset): Likewise.
3543 1.1 skrll (xcoff64_loader_reloc_offset): Likewise.
3544 1.1 skrll * elf64-gen.c: Add missing prototypes.
3545 1.1 skrll
3546 1.1 skrll 2001-08-09 H.J. Lu <hjl (a] gnu.org>
3547 1.1 skrll
3548 1.1 skrll * elf.c (bfd_elf_sprintf_vma): Check ELFCLASS64 only in BFD64.
3549 1.1 skrll (bfd_elf_fprintf_vma): Likewise.
3550 1.1 skrll
3551 1.1 skrll 2001-08-09 H.J. Lu <hjl (a] gnu.org>
3552 1.1 skrll
3553 1.1 skrll * bfd-in.h (bfd_elf_sprintf_vma, bfd_elf_fprintf_vma): Moved
3554 1.1 skrll to ...
3555 1.1 skrll * elf-bfd.h: Here.
3556 1.1 skrll * bfd-in2.h: Regenerated.
3557 1.1 skrll
3558 1.1 skrll 2001-08-09 H.J. Lu <hjl (a] gnu.org>
3559 1.1 skrll
3560 1.1 skrll * bfd-in.h (bfd_sprintf_vma): New prototype.
3561 1.1 skrll (bfd_fprintf_vma): Likewise.
3562 1.1 skrll (bfd_elf_sprintf_vma): Likewise.
3563 1.1 skrll (bfd_elf_fprintf_vma): Likewise.
3564 1.1 skrll (bfd_printf_vma): New. Defined with bfd_fprintf_vma.
3565 1.1 skrll * bfd-in2.h: Regenerated.
3566 1.1 skrll
3567 1.1 skrll * bfd.c (bfd_sprintf_vma): New. Defined.
3568 1.1 skrll (bfd_fprintf_vma): Likewise.
3569 1.1 skrll
3570 1.1 skrll * elf.c (bfd_elf_sprintf_vma): New. Defined.
3571 1.1 skrll (bfd_elf_fprintf_vma): Likewise.
3572 1.1 skrll
3573 1.1 skrll 2001-08-09 Alan Modra <amodra (a] bigpond.net.au>
3574 1.1 skrll
3575 1.1 skrll * coff-rs6000.c: Add missing prototypes.
3576 1.1 skrll (xcoff_ppc_relocate_section, xcoff_is_lineno_count_overflow,
3577 1.1 skrll xcoff_is_reloc_count_overflow, xcoff_loader_symbol_offset,
3578 1.1 skrll xcoff_loader_reloc_offset): Make static.
3579 1.1 skrll * dwarf1.c: Add missing prototypes.
3580 1.1 skrll * dwarf2.c: Add missing prototypes.
3581 1.1 skrll (struct abbrev_info): Move definition.
3582 1.1 skrll (struct attr_abbrev, ABBREV_HASH_SIZE, ATTR_ALLOC_CHUNK): Likewise.
3583 1.1 skrll * elf.c: Add missing prototypes.
3584 1.1 skrll * elf32-gen.c: Likewise.
3585 1.1 skrll * elf32-i386.c: Likewise.
3586 1.1 skrll * elf32-ppc.c: Likewise.
3587 1.1 skrll (ppc_elf_sort_rela): Use PTR instead of "void *".
3588 1.1 skrll * elflink.h: Add missing prototypes. Formatting fixes.
3589 1.1 skrll * merge.c: Add missing prototypes.
3590 1.1 skrll (last4_eq): Use PTR instead of "void *".
3591 1.1 skrll (last_eq): Likewise.
3592 1.1 skrll * syms.c: Add missing prototypes.
3593 1.1 skrll
3594 1.1 skrll 2001-08-09 Nick Clifton <nickc (a] cambridge.redhat.com>
3595 1.1 skrll
3596 1.1 skrll * bfd.c: Fix formatting.
3597 1.1 skrll * bfd-in2.h: Regenerate.
3598 1.1 skrll
3599 1.1 skrll 2001-08-09 Nick Clifton <nickc (a] cambridge.redhat.com>
3600 1.1 skrll
3601 1.1 skrll * elf32-arc.c (R_ARC_B22_PCREL): Change 'partial_inplace' to
3602 1.1 skrll true (this target uses REL relocations) and 'pcrel_offset' to
3603 1.1 skrll false (the PC is implied, not stored in the offset).
3604 1.1 skrll
3605 1.1 skrll 2001-08-08 Alan Modra <amodra (a] bigpond.net.au>
3606 1.1 skrll
3607 1.1 skrll 1999-10-19 Linus Nordberg <linus (a] swox.se>
3608 1.1 skrll * elf-bfd.h (struct elf_backend_data): Add want_got_sym.
3609 1.1 skrll * elfxx-target.h (elf_backend_want_got_sym): Define.
3610 1.1 skrll (elfNN_bed): Add elf_backend_want_got_sym.
3611 1.1 skrll * elflink.c (_bfd_elf_create_got_section): Define
3612 1.1 skrll _GLOBAL_OFFSET_TABLE_ only if bed->want_got_sym.
3613 1.1 skrll
3614 1.1 skrll 2001-08-08 Alexandre Oliva <aoliva (a] redhat.com>
3615 1.1 skrll
3616 1.1 skrll * dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms.
3617 1.1 skrll (find_rela_addend): New function.
3618 1.1 skrll (parse_comp_unit): Call it to find the abbrev offset addend.
3619 1.1 skrll (_bfd_dwarf2_find_nearest_line): Initialize and maintain the new
3620 1.1 skrll members of dwarf2_debug as debugging information is read.
3621 1.1 skrll
3622 1.1 skrll 2001-08-07 Nick Clifton <nickc (a] cambridge.redhat.com>
3623 1.1 skrll
3624 1.1 skrll * coff-sh.c (sh_coff_reloc_type_lookup): Provide for sh-coff
3625 1.1 skrll targets as well as sh-pe.
3626 1.1 skrll
3627 1.1 skrll 2001-08-03 Ben Harris <bjh21 (a] netbsd.org>
3628 1.1 skrll
3629 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Include offset of
3630 1.1 skrll reloc from start of section when computing value for R_ARM_REL32
3631 1.1 skrll reloc.
3632 1.1 skrll
3633 1.1 skrll 2001-08-03 Alan Modra <amodra (a] bigpond.net.au>
3634 1.1 skrll
3635 1.1 skrll From H.J. Lu <hjl (a] gnu.org>
3636 1.1 skrll * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Don't
3637 1.1 skrll keep relocs for undefined syms if there are no dynamic sections in
3638 1.1 skrll executable.
3639 1.1 skrll * elf32-hppa.c (allocate_plt_and_got_and_discard_relocs): Likewise.
3640 1.1 skrll
3641 1.1 skrll 2001-08-02 Paul Sokolovsky <paul.sokolovsky (a] technologist.com>
3642 1.1 skrll
3643 1.1 skrll * cofflink.c (coff_link_check_ar_symbols): also search for
3644 1.1 skrll __imp__symbol as well as _symbol.
3645 1.1 skrll * linker.c (_bfd_generic_link_add_archive_symbols): also
3646 1.1 skrll search for __imp__symbol as well as _symbol.
3647 1.1 skrll
3648 1.1 skrll 2001-08-01 Adam Nemet <anemet (a] lnxw.com>
3649 1.1 skrll
3650 1.1 skrll * elf.c (elf_sort_sections): Return zero only as the last step.
3651 1.1 skrll
3652 1.1 skrll 2001-08-01 Nick Clifton <nickc (a] cambridge.redhat.com>
3653 1.1 skrll
3654 1.1 skrll * config.bfd (arm-vxworks): Change name of define from VXWORKS to
3655 1.1 skrll ARM_COFF_BUGFIX.
3656 1.1 skrll (arm-epoc-pe): Define ARM_COFF_BUGFIX.
3657 1.1 skrll coff-arm.c (coff_arm_relocate_section): Replace VXWORKS with
3658 1.1 skrll ARM_COFF_BUGFIX.
3659 1.1 skrll
3660 1.1 skrll 2001-07-30 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE>
3661 1.1 skrll
3662 1.1 skrll * libecoff.h (_bfd_ecoff_styp_to_sec_flags): Changed return type
3663 1.1 skrll to match corresponding bfd_coff_backend data member.
3664 1.1 skrll
3665 1.1 skrll 2001-07-24 Alan Modra <amodra (a] bigpond.net.au>
3666 1.1 skrll
3667 1.1 skrll * Makefile.am: Update dependencies with "make dep-am".
3668 1.1 skrll * Makefile.in: Regenerate
3669 1.1 skrll
3670 1.1 skrll 2001-07-15 H.J. Lu <hjl (a] gnu.org>
3671 1.1 skrll
3672 1.1 skrll * Makefile.am (po/SRC-POTFILES.in): Use tmp.src instead of tmp.
3673 1.1 skrll (po/BLD-POTFILES.in): Use tmp.bld instead of tmp.
3674 1.1 skrll * Makefile.in: Regenerate.
3675 1.1 skrll
3676 1.1 skrll 2001-07-11 H.J. Lu <hjl (a] gnu.org>
3677 1.1 skrll
3678 1.1 skrll * elf64-alpha.c (elf64_alpha_check_relocs): Set the ALLOC|LOAD
3679 1.1 skrll flags when creating the reloc section if the ALLOC flag in the
3680 1.1 skrll source section is set.
3681 1.1 skrll
3682 1.1 skrll 2001-07-11 Steve Ellcey <sje (a] cup.hp.com>
3683 1.1 skrll
3684 1.1 skrll * reloc.c (bfd_reloc_code_type): Add IA64 relocs
3685 1.1 skrll BFD_RELOC_IA64_LTOFF_FPTR32MSB and BFD_RELOC_IA64_LTOFF_FPTR32LSB
3686 1.1 skrll * bfd-in2.h: Regenerate.
3687 1.1 skrll * libbfd.h: Regenerate.
3688 1.1 skrll * elfxx-ia64.c (ia64_howto_table): Define how to handle
3689 1.1 skrll new relocations.
3690 1.1 skrll (elfNN_ia64_reloc_type_lookup): Handle new relocations.
3691 1.1 skrll (elfNN_ia64_check_relocs): Likewise.
3692 1.1 skrll (elfNN_ia64_install_value): Likewise.
3693 1.1 skrll (elfNN_ia64_relocate_section): Likewise.
3694 1.1 skrll
3695 1.1 skrll 2001-07-11 Jakub Jelinek <jakub (a] redhat.com>
3696 1.1 skrll
3697 1.1 skrll * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support for
3698 1.1 skrll R_SPARC_UA64.
3699 1.1 skrll (elf32_sparc_check_relocs): Likewise.
3700 1.1 skrll Only create .rela section for alloced sections in shared libraries.
3701 1.1 skrll (elf32_sparc_relocate_section): Likewise.
3702 1.1 skrll Remove redundant check.
3703 1.1 skrll Optimize unaligned reloc usage.
3704 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Remove redundant
3705 1.1 skrll check.
3706 1.1 skrll
3707 1.1 skrll 2001-07-11 H.J. Lu <hjl (a] gnu.org>
3708 1.1 skrll
3709 1.1 skrll * elf64-alpha.c (elf64_alpha_check_relocs): Only use the same
3710 1.1 skrll ALLOC|LOAD flags as the source section for debugging sections
3711 1.1 skrll when creating the reloc section.
3712 1.1 skrll
3713 1.1 skrll 2001-07-05 Jim Wilson <wilson (a] redhat.com>
3714 1.1 skrll
3715 1.1 skrll * linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use
3716 1.1 skrll the section of the bigger symbol.
3717 1.1 skrll
3718 1.1 skrll * syms.c (bfd_is_local_label): Return false if BSF_SECTION_SYM.
3719 1.1 skrll
3720 1.1 skrll 2001-07-05 Nick Clifton <nickc (a] cambridge.redhat.com>
3721 1.1 skrll
3722 1.1 skrll * peicode.h (coff_swap_scnhdr_in): For sections containing
3723 1.1 skrll uninitialised data, only set their size to s_paddr if this does
3724 1.1 skrll not reset their size to zero. MS's latest compilers will set
3725 1.1 skrll s_paddr to zero.
3726 1.1 skrll
3727 1.1 skrll 2001-07-04 H.J. Lu <hjl (a] gnu.org>
3728 1.1 skrll
3729 1.1 skrll * elf32-mips.c (_bfd_mips_elf_final_write_processing):
3730 1.1 skrll Handle bfd_mach_mips4400, bfd_mach_mips4600 and
3731 1.1 skrll bfd_mach_mips5000.
3732 1.1 skrll
3733 1.1 skrll 2001-07-03 Mark Elbrecht <snowball3 (a] softhome.net>
3734 1.1 skrll
3735 1.1 skrll * bfd.c (bfd_get_sign_extend_vma): Support DJGPP COFF targets.
3736 1.1 skrll
3737 1.1 skrll * cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols from
3738 1.1 skrll sections being discarded.
3739 1.1 skrll
3740 1.1 skrll 2001-06-30 Alan Modra <amodra (a] bigpond.net.au>
3741 1.1 skrll
3742 1.1 skrll * elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly
3743 1.1 skrll instead of _bfd_elfcore_section_from_phdr.
3744 1.1 skrll * elf-bfd.h (_bfd_elfcore_section_from_phdr): Remove.
3745 1.1 skrll * elf.c (_bfd_elfcore_section_from_phdr): Remove.
3746 1.1 skrll (_bfd_elfcore_make_pseudosection): Expedite tail-call.
3747 1.1 skrll (elfcore_grok_prstatus): Likewise.
3748 1.1 skrll (elfcore_grok_lwpstatus): Likewise.
3749 1.1 skrll (bfd_get_elf_phdr_upper_bound): Likewise.
3750 1.1 skrll (elfcore_make_note_pseudosection): Formatting.
3751 1.1 skrll (_bfd_elfcore_strndup): Formatting.
3752 1.1 skrll * elf32-mips.c (mips_elf_sym_is_global): Formatting.
3753 1.1 skrll (_bfd_elf32_mips_grok_prstatus): Expedite tail-call.
3754 1.1 skrll
3755 1.1 skrll 2001-06-29 Daniel Jacobowitz <drow (a] mvista.com>
3756 1.1 skrll
3757 1.1 skrll * elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
3758 1.1 skrll and _bfd_elfcore_strndup.
3759 1.1 skrll (struct elf_backend_data): Add elf_backend_grok_prstatus
3760 1.1 skrll and elf_backend_grok_psinfo.
3761 1.1 skrll * elf.c (_bfd_elfcore_make_pseudosection): New function.
3762 1.1 skrll (elfcore_grok_prstatus): Use it.
3763 1.1 skrll (elfcore_make_note_pseudosection): Likewise.
3764 1.1 skrll (elfcore_strndup): Rename to...
3765 1.1 skrll (_bfd_elfcore_strndup): Here, and make global.
3766 1.1 skrll (elfcore_grok_psinfo): Use _bfd_elfcore_strndup.
3767 1.1 skrll (elfcore_grok_note): Call elf_backend_grok_prstatus
3768 1.1 skrll and elf_backend_grok_psinfo if available.
3769 1.1 skrll * elf32-mips.c (_bfd_elf32_mips_grok_prstatus): New function.
3770 1.1 skrll (_bfd_elf32_mips_grok_psinfo): New function.
3771 1.1 skrll (elf_backend_grok_prstatus): Define.
3772 1.1 skrll (elf_backend_grok_psinfo): Define.
3773 1.1 skrll * elfxx-target.h (elf_backend_grok_prstatus): Default to NULL.
3774 1.1 skrll (elf_backend_grok_psinfo): Likewise.
3775 1.1 skrll (elfNN_bed): Include elf_backend_grok_prstatus and
3776 1.1 skrll elf_backend_grok_psinfo.
3777 1.1 skrll
3778 1.1 skrll 2001-06-29 H.J. Lu <hjl (a] gnu.org>
3779 1.1 skrll
3780 1.1 skrll * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Check if
3781 1.1 skrll hplink->sgot is NULL before filling GOT. Check if hplink->splt
3782 1.1 skrll is NULL before filling PLT.
3783 1.1 skrll
3784 1.1 skrll 2001-06-29 Alan Modra <amodra (a] bigpond.net.au>
3785 1.1 skrll
3786 1.1 skrll * elflink.h (elf_link_output_extsym): Revert 1999-04-10.
3787 1.1 skrll
3788 1.1 skrll 2001-06-27 Alan Modra <amodra (a] bigpond.net.au>
3789 1.1 skrll
3790 1.1 skrll * elf32-hppa.c (elf32_hppa_check_relocs): Don't make syms dynamic
3791 1.1 skrll here..
3792 1.1 skrll (elf32_hppa_adjust_dynamic_symbol): ..nor here..
3793 1.1 skrll (allocate_plt_and_got_and_discard_relocs): .. instead do so here
3794 1.1 skrll after gc has run.
3795 1.1 skrll
3796 1.1 skrll * elf32-hppa.c (RELATIVE_DYNAMIC_RELOCS): Delete.
3797 1.1 skrll (IS_ABSOLUTE_RELOC): Define.
3798 1.1 skrll (elf32_hppa_link_hash_entry): Always include reloc_entries field.
3799 1.1 skrll (hppa_link_hash_newfunc): Always init it.
3800 1.1 skrll (elf32_hppa_check_relocs): Mark symbols as ELF_LINK_NON_GOT_REF to
3801 1.1 skrll create COPY relocs only when the reloc is in a read-only section.
3802 1.1 skrll Instead, allocate space for a dynamic reloc to reference the
3803 1.1 skrll library symbol directly. Keep track of space we allocate using
3804 1.1 skrll relocs_entries.
3805 1.1 skrll (hppa_discard_copies): Delete, and move code to..
3806 1.1 skrll (allocate_plt_and_got): ..here. Rename to
3807 1.1 skrll allocate_plt_and_got_and_discard_relocs. Remove unneeded dynamic
3808 1.1 skrll relocs for non-shared link.
3809 1.1 skrll (elf32_hppa_size_dynamic_sections): Update calls to above.
3810 1.1 skrll (elf32_hppa_relocate_section): Write out the dynamic relocs used
3811 1.1 skrll in lieu of COPY relocs.
3812 1.1 skrll
3813 1.1 skrll * elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamic
3814 1.1 skrll here..
3815 1.1 skrll (elf_i386_adjust_dynamic_symbol): ..nor here..
3816 1.1 skrll (allocate_plt_and_got_and_discard_relocs): .. instead do so here
3817 1.1 skrll after gc has run.
3818 1.1 skrll (elf_i386_size_dynamic_sections): Fix a comment.
3819 1.1 skrll (elf_i386_relocate_section <R_386_32, R_386_PC32>): Rearrange code
3820 1.1 skrll involved in writing reloc out.
3821 1.1 skrll
3822 1.1 skrll 2001-06-25 Alan Modra <amodra (a] bigpond.net.au>
3823 1.1 skrll
3824 1.1 skrll * elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>):
3825 1.1 skrll Ensure syms are dynamic if we might be emitting a reloc.
3826 1.1 skrll (allocate_plt_and_got_and_discard_relocs): Don't discard relocs
3827 1.1 skrll for undefweak or undefined syms..
3828 1.1 skrll (elf_i386_relocate_section <R_386_32, R_386_PC32>): .. and emit.
3829 1.1 skrll
3830 1.1 skrll * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Discard
3831 1.1 skrll relocs without ELF_LINK_HASH_DEF_DYNAMIC set.
3832 1.1 skrll (elf_i386_relocate_section <R_386_32, R_386_PC32>): Remove
3833 1.1 skrll redundant bfd_link_hash_defined, bfd_link_hash_defweak test.
3834 1.1 skrll
3835 1.1 skrll 2001-06-24 H.J. Lu <hjl (a] gnu.org>
3836 1.1 skrll
3837 1.1 skrll * cpu-i960.c (scan_960_mach): Don't modify const char *. Use
3838 1.1 skrll strncasecmp/strcasecmp instead of strncmp/strcmp.
3839 1.1 skrll
3840 1.1 skrll 2001-06-23 H.J. Lu <hjl (a] gnu.org>
3841 1.1 skrll
3842 1.1 skrll * elf32-i386.c (elf_i386_relocate_section <R_386_32, R_386_PC32>):
3843 1.1 skrll Check ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined
3844 1.1 skrll in the regular object file and treat the weak definition as
3845 1.1 skrll the normal one.
3846 1.1 skrll
3847 1.1 skrll 2001-06-23 Alan Modra <amodra (a] bigpond.net.au>
3848 1.1 skrll
3849 1.1 skrll * elf32-i386.c (elf_i386_relocate_section <R_386_GOT32>): Tighten
3850 1.1 skrll unresolved_reloc test to exclude cases where we use "relocation"
3851 1.1 skrll before setting it to point into the .got. Reinstate fudge for
3852 1.1 skrll unresolved relocs in debugging sections.
3853 1.1 skrll
3854 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Replace ugly
3855 1.1 skrll complicated tests for unresolvable relocs with a simple direct
3856 1.1 skrll scheme using "unresolved_reloc" var.
3857 1.1 skrll
3858 1.1 skrll * elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Rename to
3859 1.1 skrll elf_i386_dyn_relocs. Update comment.
3860 1.1 skrll (struct elf_i386_link_hash_entry): Rename pcrel_relocs_copied to
3861 1.1 skrll dyn_relocs.
3862 1.1 skrll (elf_i386_adjust_dynamic_symbol): Remove a BFD_ASSERT, change
3863 1.1 skrll others to aborts.
3864 1.1 skrll (allocate_plt_and_got_and_discard_relocs): Replace BFD_ASSERT with
3865 1.1 skrll abort.
3866 1.1 skrll (elf_i386_size_dynamic_sections): Likewise.
3867 1.1 skrll (elf_i386_finish_dynamic_symbol): Likewise.
3868 1.1 skrll (elf_i386_finish_dynamic_sections): Likewise.
3869 1.1 skrll (elf_i386_relocate_section): Likewise. Tidy R_386_GOT32 and error
3870 1.1 skrll handling code.
3871 1.1 skrll
3872 1.1 skrll Avoid creating COPY relocs if possible.
3873 1.1 skrll * elf32-i386.c (elf_i386_check_relocs): Tweak condition under
3874 1.1 skrll which .got created. Mark symbols used by R_386_32 and R_386_PC32
3875 1.1 skrll relocs as ELF_LINK_NON_GOT_REF to create COPY relocs only when the
3876 1.1 skrll reloc is in a read-only section. Instead, allocate space for a
3877 1.1 skrll dynamic reloc to reference the library symbol directly. Keep
3878 1.1 skrll track of space we allocate using pcrel_relocs_copied.
3879 1.1 skrll (discard_copies): Delete, and move code to ..
3880 1.1 skrll (allocate_plt_and_got): ..here. Rename to
3881 1.1 skrll allocate_plt_and_got_and_discard_relocs. Remove unneeded dynamic
3882 1.1 skrll relocs for non-shared link.
3883 1.1 skrll (elf_i386_size_dynamic_sections): Update calls to above functions.
3884 1.1 skrll (elf_i386_relocate_section): Write out the dynamic relocs. Add
3885 1.1 skrll more ugly logic to avoid "unresolvable relocation" error. Use
3886 1.1 skrll htab shortcut in place of elf_hash_table macro.
3887 1.1 skrll (elf_i386_finish_dynamic_sections): Allow that dynamic .got may
3888 1.1 skrll not always be created now.
3889 1.1 skrll
3890 1.1 skrll 2001-06-20 Bo Thorsen <bo (a] suse.co.uk>
3891 1.1 skrll
3892 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking of
3893 1.1 skrll shared libraries.
3894 1.1 skrll
3895 1.1 skrll 2001-06-18 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
3896 1.1 skrll
3897 1.1 skrll * configure.host (mips64-*-linux): Reformat.
3898 1.1 skrll
3899 1.1 skrll 2001-06-21 Alan Modra <amodra (a] bigpond.net.au>
3900 1.1 skrll
3901 1.1 skrll * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Always
3902 1.1 skrll allocate local .got space. Use shortcuts from hash table for .got
3903 1.1 skrll and .plt rather than comparing section names.
3904 1.1 skrll (elf32_hppa_check_relocs): Use local_plt_refcounts var rather than
3905 1.1 skrll adjusting index into local_got_refcounts to document what we are
3906 1.1 skrll really doing.
3907 1.1 skrll (elf32_hppa_relocate_section): Similarly for local_plt_offsets.
3908 1.1 skrll Tidy .got and .plt error checking.
3909 1.1 skrll
3910 1.1 skrll 2001-06-20 Catherine Moore <clm (a] redhat.com>
3911 1.1 skrll
3912 1.1 skrll * elf-bfd.h (struct elf_backend_data):
3913 1.1 skrll elf_backend_emit_relocs: New field: Function for emitting
3914 1.1 skrll relocs.
3915 1.1 skrll elf_backend_count_relocs: New field: Function for determining
3916 1.1 skrll the number of relocs to be emitted.
3917 1.1 skrll * elfxx-target.h: Provide default (NULL) values for
3918 1.1 skrll elf_backend_emit_relocs and elf_backend_count_relocs.
3919 1.1 skrll * elflink.h (elf_link_size_reloc_section): Make the hash table
3920 1.1 skrll big enough to hold the relocs counted by either reloc_count or
3921 1.1 skrll o->reloc_count.
3922 1.1 skrll (elf_bfd_final_link) emit_relocs: New boolean, set if relocs
3923 1.1 skrll should be emitted, either because of a command line option
3924 1.1 skrll stored in the info structure or because the target provides a
3925 1.1 skrll special reloc emitting function.
3926 1.1 skrll If the target provides a reloc counting function use it,
3927 1.1 skrll unless performing a relocatable link or emitting all relocs.
3928 1.1 skrll Also set the SEC_RELOC flag on any output section which will
3929 1.1 skrll contain relocs.
3930 1.1 skrll (elf_link_input_bfd): emit_relocs: New boolean, set if relocs
3931 1.1 skrll should be emitted, either because of a command line option
3932 1.1 skrll stored in the info structure or because the target provides a
3933 1.1 skrll special reloc emitting function.
3934 1.1 skrll If the target provides a reloc emitting function, use it,
3935 1.1 skrll unless performing a relocatable link or emitting all relocs.
3936 1.1 skrll
3937 1.1 skrll 2001-06-20 H.J. Lu <hjl (a] gnu.org>
3938 1.1 skrll
3939 1.1 skrll * elf32-i386.c (elf_i386_size_dynamic_sections): Always
3940 1.1 skrll allocate local .got space.
3941 1.1 skrll
3942 1.1 skrll 2001-06-19 Andreas Jaeger <aj (a] suse.de>
3943 1.1 skrll
3944 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix creation of
3945 1.1 skrll dynamic symbols.
3946 1.1 skrll
3947 1.1 skrll 2001-06-18 Hans-Peter Nilsson <hp (a] axis.com>
3948 1.1 skrll
3949 1.1 skrll * elflink.h (struct elf_assign_sym_version_info): Remove member
3950 1.1 skrll export_dynamic. All users changed to use info member.
3951 1.1 skrll NAME(bfd_elf,size_dynamic_sections)): Remove parameter
3952 1.1 skrll export_dynamic, instead use member in parameter info.
3953 1.1 skrll * bfd-in.h (bfd_elf32_size_dynamic_sections,
3954 1.1 skrll bfd_elf64_size_dynamic_sections): Update prototype.
3955 1.1 skrll * bfd-in2.h: Regenerate.
3956 1.1 skrll
3957 1.1 skrll 2001-06-18 H.J. Lu <hjl (a] gnu.org>
3958 1.1 skrll
3959 1.1 skrll * elflink.h (elf_info_failed): Add a new field, verdefs.
3960 1.1 skrll (NAME(bfd_elf,size_dynamic_sections): Pass verdefs to
3961 1.1 skrll elf_export_symbol.
3962 1.1 skrll (elf_export_symbol): Check eif->verdefs to decide if a symbol
3963 1.1 skrll should be exported.
3964 1.1 skrll
3965 1.1 skrll 2001-06-17 H.J. Lu <hjl (a] gnu.org>
3966 1.1 skrll
3967 1.1 skrll * elf32-mips.c (mips_elf_link_hash_entry): Add a new field,
3968 1.1 skrll readonly_reloc, to record if a relocation in the .rel.dyn
3969 1.1 skrll section is against a read-only section.
3970 1.1 skrll (mips_elf_link_hash_newfunc): Initialize the readonly_reloc
3971 1.1 skrll field to false.
3972 1.1 skrll (_bfd_mips_elf_check_relocs): Record if there is a relocation
3973 1.1 skrll in the .rel.dyn section against a read-only section by setting
3974 1.1 skrll DF_TEXTREL or readonly_reloc.
3975 1.1 skrll (_bfd_mips_elf_copy_indirect_symbol): Copy readonly_reloc if
3976 1.1 skrll it is true.
3977 1.1 skrll (_bfd_mips_elf_adjust_dynamic_symbol): Record DF_TEXTREL if
3978 1.1 skrll there is a relocation in the .rel.dyn section against a
3979 1.1 skrll read-only section.
3980 1.1 skrll (_bfd_mips_elf_size_dynamic_sections): Set DT_TEXTREL if
3981 1.1 skrll DF_TEXTREL is set.
3982 1.1 skrll
3983 1.1 skrll 2001-06-12 Nick Clifton <nickc (a] cambridge.redhat.com>
3984 1.1 skrll
3985 1.1 skrll * coffcode.h (styp_flags_to_sec_flags): Change to a boolean
3986 1.1 skrll function. Move flagword result into parameter list. Remove
3987 1.1 skrll comment about setting bfd_error_handler to intercept failure
3988 1.1 skrll results.
3989 1.1 skrll * coffgen.c (make_a_section_from_file): Examine result of
3990 1.1 skrll calling bfd_coff_styp_to_sec_flags and pass a failure back to
3991 1.1 skrll caller.
3992 1.1 skrll * ecoff.h (styp_flags_to_sec_flags): Change to a boolean
3993 1.1 skrll function. Move flagword result into parameter list.
3994 1.1 skrll * libcoff.h: Regenerate.
3995 1.1 skrll * libecoff.h: Regenerate.
3996 1.1 skrll
3997 1.1 skrll 2001-06-13 Nick Clifton <nickc (a] cambridge.redhat.com>
3998 1.1 skrll
3999 1.1 skrll * aoutx.h (adjust_z_magic): Only pad the tesxt section if the data
4000 1.1 skrll section is going to follow it.
4001 1.1 skrll
4002 1.1 skrll 2001-06-12 Catherine Moore <clm (a] redhat.com>
4003 1.1 skrll
4004 1.1 skrll * elflink.h (elf_gc_propagate_vtable_entries): Replace FILE_ALIGN
4005 1.1 skrll with the file_align entry from elf_backend_data.
4006 1.1 skrll (elf_gc_smash_unused_vtentry_relocs): Likewise.
4007 1.1 skrll (elf_gc_record_vtentry): Likewise.
4008 1.1 skrll
4009 1.1 skrll 2001-06-10 Alan Modra <amodra (a] bigpond.net.au>
4010 1.1 skrll
4011 1.1 skrll * elflink.h: Whitespace changes.
4012 1.1 skrll (elf_link_read_relocs_from_section): Use "unsigned int" iterator
4013 1.1 skrll rather than "unsigned char".
4014 1.1 skrll (elf_link_output_relocs): Likewise.
4015 1.1 skrll (elf_link_input_bfd): Likewise.
4016 1.1 skrll (elf_reloc_link_order): LIkewise.
4017 1.1 skrll * elf.c: s/CONST/const/. Whitespace changes.
4018 1.1 skrll * elf32-mips.c: Formatting fix.
4019 1.1 skrll
4020 1.1 skrll * Makefile.am (SOURCE_HFILES): Include xcoff-target.h, remove xcoff.h.
4021 1.1 skrll * Makefile.in: Regenerate.
4022 1.1 skrll * po/Make-in: Remove trailing tab.
4023 1.1 skrll
4024 1.1 skrll 2001-06-09 Philip Blundell <philb (a] gnu.org>
4025 1.1 skrll
4026 1.1 skrll * elf32-arm.h (elf32_arm_plt0_entry): Correct error in last
4027 1.1 skrll change.
4028 1.1 skrll (elf32_arm_plt_entry): Likewise.
4029 1.1 skrll
4030 1.1 skrll 2001-06-08 H.J. Lu <hjl (a] gnu.org>
4031 1.1 skrll
4032 1.1 skrll * elf.c (swap_out_syms): Keep names for global section symbols.
4033 1.1 skrll
4034 1.1 skrll 2001-06-07 H.J. Lu <hjl (a] gnu.org>
4035 1.1 skrll
4036 1.1 skrll * config.bfd: Put back ecoff for Linux/mips. Firmwares on some
4037 1.1 skrll MIPS-based machines need it.
4038 1.1 skrll
4039 1.1 skrll 2001-06-07 H.J. Lu <hjl (a] gnu.org>
4040 1.1 skrll
4041 1.1 skrll * elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab
4042 1.1 skrll for SGI only.
4043 1.1 skrll
4044 1.1 skrll * config.bfd: Remove ecoff from Linux/mips.
4045 1.1 skrll
4046 1.1 skrll 2001-06-07 Andreas Jaeger <aj (a] suse.de>
4047 1.1 skrll
4048 1.1 skrll * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Add an
4049 1.1 skrll assertion.
4050 1.1 skrll (elf64_x86_64_check_relocs): Fix VTENTRY relocation; set an
4051 1.1 skrll alignment of 8 for .rela sections; handle further relocations.
4052 1.1 skrll
4053 1.1 skrll 2001-06-06 Christian Groessler <cpg (a] aladdin.de>
4054 1.1 skrll
4055 1.1 skrll * coff-z8k.c: Fix formatting.
4056 1.1 skrll Fix howtos: howto->size was always 1.
4057 1.1 skrll
4058 1.1 skrll 2001-06-05 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
4059 1.1 skrll
4060 1.1 skrll * configure.host (mips64*-*-linux*): Define.
4061 1.1 skrll
4062 1.1 skrll 2001-06-05 Alan Modra <amodra (a] bigpond.net.au>
4063 1.1 skrll
4064 1.1 skrll * elf32-i386.c (elf_i386_discard_copies): Rename to
4065 1.1 skrll discard_copies, and use elf_link_hash_entry arg rather than
4066 1.1 skrll elf_i386_link_hash_entry.
4067 1.1 skrll (elf_i386_link_hash_traverse): Delete.
4068 1.1 skrll (elf_i386_size_dynamic_sections): Adjust call to discard_copies.
4069 1.1 skrll Tidy sizing of dynamic sections.
4070 1.1 skrll (elf_i386_check_relocs <R_386_32, R_386_PC32>): Reference count
4071 1.1 skrll possible .plt entries.
4072 1.1 skrll (elf_i386_gc_sweep_hook): Likewise.
4073 1.1 skrll (elf_i386_adjust_dynamic_symbol): Discard .plt entries for
4074 1.1 skrll everything with plt.refcount <= 0.
4075 1.1 skrll
4076 1.1 skrll * elf32-i386.c (elf_i386_check_relocs): Don't allocate .got and
4077 1.1 skrll .relgot space here.
4078 1.1 skrll (elf_i386_gc_sweep_hook): ..and no need to deallocate here..
4079 1.1 skrll (elf_i386_adjust_dynamic_symbol): ..and don't allocate .plt and
4080 1.1 skrll .rel.plt here..
4081 1.1 skrll (allocate_plt_and_got): ..instead do it all here. New function.
4082 1.1 skrll (elf_i386_size_dynamic_sections): Allocate local .got space and
4083 1.1 skrll call allocate_plt_and_got. No need to zap .relgot if not dynamic.
4084 1.1 skrll (bfd_elf32_bfd_final_link): Delete. (ie. use regular final link
4085 1.1 skrll rather than gc variety).
4086 1.1 skrll (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
4087 1.1 skrll (elf_i386_relocate_section): Use it here and correct handling of
4088 1.1 skrll R_386_GOT32. Provide section and offset for "unresolvable
4089 1.1 skrll relocation" error message.
4090 1.1 skrll (elf_i386_finish_dynamic_symbol): Correct handling of R_386_GOT32.
4091 1.1 skrll
4092 1.1 skrll * elf32-i386.c (struct elf_i386_link_hash_table): Add sgot,
4093 1.1 skrll sgotplt, srelgot, splt, srelplt, sdynbss, srelbss fields.
4094 1.1 skrll (elf_i386_link_hash_table_create): Init them.
4095 1.1 skrll (create_got_section): New function.
4096 1.1 skrll (elf_i386_create_dynamic_sections): New function.
4097 1.1 skrll (elf_backend_create_dynamic_sections): Set to above.
4098 1.1 skrll (elf_i386_check_relocs): Use shortcuts from hash table rather than
4099 1.1 skrll calling bfd_get_section_by_name.
4100 1.1 skrll (elf_i386_gc_sweep_hook): Likewise.
4101 1.1 skrll (elf_i386_adjust_dynamic_symbol): Likewise.
4102 1.1 skrll (elf_i386_size_dynamic_sections): Likewise.
4103 1.1 skrll (elf_i386_relocate_section): Likewise.
4104 1.1 skrll (elf_i386_finish_dynamic_sections): Likewise.
4105 1.1 skrll
4106 1.1 skrll * elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms.
4107 1.1 skrll
4108 1.1 skrll 2001-06-02 H.J. Lu <hjl (a] gnu.org>
4109 1.1 skrll
4110 1.1 skrll * elf32-hppa.c (elf32_hppa_object_p): Check ELFOSABI_LINUX
4111 1.1 skrll and ELFOSABI_HPUX.
4112 1.1 skrll * elf64-hppa.c (elf64_hppa_object_p): Likewise.
4113 1.1 skrll
4114 1.1 skrll 2001-06-02 H.J. Lu <hjl (a] gnu.org>
4115 1.1 skrll
4116 1.1 skrll * aout-cris.c (MACHTYPE_OK): New. Defined.
4117 1.1 skrll
4118 1.1 skrll 2001-06-02 Hans-Peter Nilsson <hp (a] axis.com>
4119 1.1 skrll
4120 1.1 skrll * section.c (_bfd_strip_section_from_output): Handle NULL
4121 1.1 skrll output_section.
4122 1.1 skrll
4123 1.1 skrll 2001-06-02 H.J. Lu <hjl (a] gnu.org>
4124 1.1 skrll
4125 1.1 skrll * config.bfd (powerpc-*-aix*, powerpc-*-beos*, rs6000-*-*): Add
4126 1.1 skrll rs6000coff64_vec only if BFD64 is defined.
4127 1.1 skrll (powerpc64-*-aix*): Enable only if BFD64 is defined.
4128 1.1 skrll
4129 1.1 skrll 2001-06-02 H.J. Lu <hjl (a] gnu.org>
4130 1.1 skrll
4131 1.1 skrll * coff-ia64.c (ia64coff_object_p): Rewrite with
4132 1.1 skrll external_PEI_DOS_hdr and external_PEI_IMAGE_hdr.
4133 1.1 skrll
4134 1.1 skrll 2001-06-01 Andreas Jaeger <aj (a] suse.de>
4135 1.1 skrll
4136 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8
4137 1.1 skrll relocation, small reformatting.
4138 1.1 skrll
4139 1.1 skrll 2001-05-29 Andreas Jaeger <aj (a] suse.de>
4140 1.1 skrll
4141 1.1 skrll * elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
4142 1.1 skrll (elf64_x86_64_relocate_section): Likewise.
4143 1.1 skrll
4144 1.1 skrll 2001-05-30 Alan Modra <amodra (a] one.net.au>
4145 1.1 skrll
4146 1.1 skrll * elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
4147 1.1 skrll millicode. Don't allocate .got and .rela.got space here..
4148 1.1 skrll (elf32_hppa_gc_sweep_hook): ..and no need to deallocate here..
4149 1.1 skrll (elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and
4150 1.1 skrll .rela.plt here..
4151 1.1 skrll (hppa_handle_PIC_calls): ..nor here..
4152 1.1 skrll (allocate_plt_and_got): ..instead do it all here. New function.
4153 1.1 skrll (elf32_hppa_size_dynamic_sections): Allocate local .got space and
4154 1.1 skrll call allocate_plt_and_got. No need to zap .got if not dynamic.
4155 1.1 skrll (elf32_hppa_final_link): Call regular bfd_final_link instead of
4156 1.1 skrll gc_common_final_link.
4157 1.1 skrll (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
4158 1.1 skrll (elf32_hppa_relocate_section): Use it here.
4159 1.1 skrll (elf32_hppa_finish_dynamic_symbol): Remove superfluous test of
4160 1.1 skrll dynamic_sections_created.
4161 1.1 skrll (hppa_type_of_stub): Don't LONG_BRANCH_VIA_PLT if millicode sym.
4162 1.1 skrll
4163 1.1 skrll 2001-05-28 Andreas Jaeger <aj (a] suse.de>
4164 1.1 skrll
4165 1.1 skrll * elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the
4166 1.1 skrll generic version since we want a hashsize of 4.
4167 1.1 skrll (elf_backend_size_info): Likewise.
4168 1.1 skrll
4169 1.1 skrll 2001-05-28 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
4170 1.1 skrll
4171 1.1 skrll * elflink.h (elf_link_size_reloc_section): Use bfd_zmalloc instead of
4172 1.1 skrll a zeroing loop.
4173 1.1 skrll (elf_link_output_relocs): Handle MIPS ELF64 relocations correctly.
4174 1.1 skrll (elf_link_input_bfd): Likewise.
4175 1.1 skrll (elf_reloc_link_order): Likewise.
4176 1.1 skrll (elf_finish_pointer_linker_section): Typo. Handle MIPS ELF64
4177 1.1 skrll relocations correctly.
4178 1.1 skrll
4179 1.1 skrll 2001-05-28 Nicolas Pitre <nico (a] cam.org>
4180 1.1 skrll
4181 1.1 skrll * elf32-arm.h: fix PLT generation for big endian ARM
4182 1.1 skrll
4183 1.1 skrll 2001-05-28 Alan Modra <amodra (a] one.net.au>
4184 1.1 skrll
4185 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Set up .plt entries
4186 1.1 skrll for symbols forced local that need plabels.
4187 1.1 skrll (elf32_hppa_adjust_dynamic_symbol): Don't allocate space in
4188 1.1 skrll .plt.rela for local syms if non-shared.
4189 1.1 skrll (hppa_build_one_stub): Mask lsb of plt.offset.
4190 1.1 skrll (elf32_hppa_finish_dynamic_symbol): Abort if lsb of plt.offset set.
4191 1.1 skrll (clobber_millicode_symbols): Correct comment.
4192 1.1 skrll (elf32_hppa_relocate_section): Likewise.
4193 1.1 skrll (elf32_hppa_finish_dynamic_symbol): Likewise.
4194 1.1 skrll
4195 1.1 skrll 2001-05-28 Jeff Sturm <jsturm (a] one-point.com>
4196 1.1 skrll
4197 1.1 skrll * reloc.c: Add BFD_RELOC_SPARC_UA16 and BFD_RELOC_SPARC_UA64.
4198 1.1 skrll * bfd-in2.h: Regenerate.
4199 1.1 skrll * libbfd.h: Regenerate.
4200 1.1 skrll * elf32-sparc.c: Enable BFD_RELOC_SPARC_UA16, BFD_RELOC_SPARC_UA32
4201 1.1 skrll and BFD_RELOC_SPARC_UA64 mapping
4202 1.1 skrll * elf64-sparc.c: Likewise.
4203 1.1 skrll
4204 1.1 skrll 2001-05-25 H.J. Lu <hjl (a] gnu.org>
4205 1.1 skrll
4206 1.1 skrll * Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo.
4207 1.1 skrll (BFD32_BACKENDS_CFILES): Remove coff-pmac.c.
4208 1.1 skrll (coff-rs6000.lo): Remove the old dependency.
4209 1.1 skrll * Makefile.in: Rebuild.
4210 1.1 skrll
4211 1.1 skrll * configure.in (pmac_xcoff_vec): Replace coff-pmac.lo with
4212 1.1 skrll coff-rs6000.lo.
4213 1.1 skrll
4214 1.1 skrll 2001-05-25 H.J. Lu <hjl (a] gnu.org>
4215 1.1 skrll
4216 1.1 skrll * coff-rs6000.c (rs6000coff_vec): Use rs6000coff_core_p,
4217 1.1 skrll rs6000coff_core_file_matches_executable_p,
4218 1.1 skrll rs6000coff_core_file_failing_command and
4219 1.1 skrll rs6000coff_core_file_failing_signal only if AIX_CORE is
4220 1.1 skrll defined.
4221 1.1 skrll (pmac_xcoff_vec): Likewise.
4222 1.1 skrll * coff64-rs6000.c (rs6000coff64_vec): Likewise.
4223 1.1 skrll
4224 1.1 skrll 2001-05-25 Timothy Wall <twall (a] redhat.com>
4225 1.1 skrll
4226 1.1 skrll * elfxx-ia64.c (allocate_dynrel_entries): Don't allocate an entry
4227 1.1 skrll for __GLOB_DATA_PTR on AIX5. Clean up some relocation bugs.
4228 1.1 skrll
4229 1.1 skrll 2001-05-25 H.J. Lu <hjl (a] gnu.org>
4230 1.1 skrll
4231 1.1 skrll * bfd-in2.h: Regenerated.
4232 1.1 skrll * libcoff.h: Likewise.
4233 1.1 skrll
4234 1.1 skrll 2001-05-25 Alan Modra <amodra (a] one.net.au>
4235 1.1 skrll
4236 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Don't allow
4237 1.1 skrll undefined millicode syms in shared libs.
4238 1.1 skrll (hppa_build_one_stub): Turn BFD_ASSERTs into aborts.
4239 1.1 skrll (elf32_hppa_check_relocs): Likewise.
4240 1.1 skrll (elf32_hppa_adjust_dynamic_symbol): Likewise.
4241 1.1 skrll (elf32_hppa_size_dynamic_sections): Likewise.
4242 1.1 skrll (elf32_hppa_relocate_section): Likewise.
4243 1.1 skrll (elf32_hppa_finish_dynamic_symbol): Likewise.
4244 1.1 skrll (elf32_hppa_finish_dynamic_sections): Likewise.
4245 1.1 skrll
4246 1.1 skrll 2001-05-24 Tom Rix <trix (a] redhat.com>
4247 1.1 skrll
4248 1.1 skrll * Makefile.am coff-pmac bfd now defined in coff-rs6000.c
4249 1.1 skrll xcoff-target.h not used to define rs6000 or ppc bfd.
4250 1.1 skrll * Makefile.in same
4251 1.1 skrll
4252 1.1 skrll * bfd-in.h : (struct lineno_cache_entry) promote element "offset"
4253 1.1 skrll to 64 bit.
4254 1.1 skrll
4255 1.1 skrll * coff-rs6000.c : Many changes for 64 bit support. Move common
4256 1.1 skrll 32/64 code to xcofflink.c. Explictly define the rs6000coff_vec
4257 1.1 skrll and pmac_xcoff_vec
4258 1.1 skrll
4259 1.1 skrll * coff64-rs6000.c : Many changes for 64 bit support. 64 bit
4260 1.1 skrll linker now supported. Explictly define the rs6000coff64_vec.
4261 1.1 skrll
4262 1.1 skrll * coffcode.h : (coff_set_arch_mach_hook) xcoff 64 bit support
4263 1.1 skrll (coff_print_aux) same
4264 1.1 skrll (coff_write_object_contents) same
4265 1.1 skrll (coff_slurp_line_table) same
4266 1.1 skrll
4267 1.1 skrll * coffgen.c : (coff_fix_symbol_name) formatting
4268 1.1 skrll (coff_mangle_symbols) xcoff 64 bit support
4269 1.1 skrll (coff_write_symbol) same
4270 1.1 skrll (coff_write_alien_symbol) same
4271 1.1 skrll (coff_write_native_symbol) same
4272 1.1 skrll (coff_write_symbols) same
4273 1.1 skrll (coff_get_symbol_info) same
4274 1.1 skrll (bfd_coff_get_syment) same
4275 1.1 skrll (coff_print_symbol) same
4276 1.1 skrll
4277 1.1 skrll * config.bfd : add powerpc64-*-aix* target
4278 1.1 skrll
4279 1.1 skrll * libcoff-in.h : formatting
4280 1.1 skrll
4281 1.1 skrll * libcoff.h : move xcoff extern declarations to libxcoff.h
4282 1.1 skrll
4283 1.1 skrll * libxcoff.h : New file
4284 1.1 skrll
4285 1.1 skrll * xcofflink.c : Many changes for xcoff64 support. Move common
4286 1.1 skrll structures to include/coff/xcoff.h. Move specific structure to
4287 1.1 skrll backends coff-rs6000.c and coff64-rs6000.c. Use new backend
4288 1.1 skrll functions, defined in libxcoff.h, to isolate 32/64 dependencies.
4289 1.1 skrll
4290 1.1 skrll (bfd_xcoff_size_dynamic_sections) : special __rtinit symbol for
4291 1.1 skrll aix4.2+ -binitfini.
4292 1.1 skrll
4293 1.1 skrll (xcoff_build_ldsyms) : handle special __rtinit symbol.
4294 1.1 skrll
4295 1.1 skrll 2001-05-23 Alexandre Oliva <aoliva (a] redhat.com>
4296 1.1 skrll
4297 1.1 skrll * elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
4298 1.1 skrll s/ENTIRES/ENTRIES/.
4299 1.1 skrll
4300 1.1 skrll 2001-05-23 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
4301 1.1 skrll
4302 1.1 skrll * reloc.c (bfd_reloc_code_real): Add MIPS ELF64 relocations.
4303 1.1 skrll * libbfd.h: Regenerate.
4304 1.1 skrll * bfd-in2.h: Regenerate.
4305 1.1 skrll
4306 1.1 skrll * aoutx.h (aout_@var{size}_machine_type): Add MIPS r12k support.
4307 1.1 skrll * archures.c (bfd_mach_mips12000): Define.
4308 1.1 skrll * cpu-mips.c (arch_info_struct): Add MIPS r12k support.
4309 1.1 skrll * elf32-mips.c (_bfd_mips_elf_final_write_processing): Add MIPS r12k
4310 1.1 skrll support.
4311 1.1 skrll (_bfd_mips_elf_size_dynamic_sections): Use official bfd typedef.
4312 1.1 skrll * bfd-in2.h: Regenerate.
4313 1.1 skrll * elfxx-target.h: Do not redefine bfd_elfNN_bfd_make_debug_symbol.
4314 1.1 skrll
4315 1.1 skrll 2001-05-23 kaz Kojima <kkojima (a] rr.iij4u.or.jp>
4316 1.1 skrll
4317 1.1 skrll * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry,
4318 1.1 skrll elf_sh_plt_entry_be, elf_sh_plt_entry, elf_sh_pic_plt_entry_be,
4319 1.1 skrll elf_sh_pic_plt_entry): New PLT code, that does not use r2, since
4320 1.1 skrll that is used by GCC.
4321 1.1 skrll
4322 1.1 skrll 2001-05-23 Nick Clifton <nickc (a] cambridge.redhat.com>
4323 1.1 skrll
4324 1.1 skrll * elf-bfd.h (NUM_SHDR_ENTRIES): New macro: compute the number
4325 1.1 skrll of entries in a structured section.
4326 1.1 skrll * elf.c: Use new macro.
4327 1.1 skrll * elf32-i386.c: Use new macro.
4328 1.1 skrll * elf32-mips.c: Use new macro.
4329 1.1 skrll * elf64-alpha.c: Use new macro.
4330 1.1 skrll * elf64-sparc.c: Use new macro.
4331 1.1 skrll * elfcode.h: Use new macro.
4332 1.1 skrll * elflink.h: Use new macro.
4333 1.1 skrll
4334 1.1 skrll 2001-05-23 Nick Clifton <nickc (a] cambridge.redhat.com>
4335 1.1 skrll
4336 1.1 skrll * bfdint.texi: Replace -oformat with --oformat.
4337 1.1 skrll
4338 1.1 skrll 2001-05-21 Andreas Jaeger <aj (a] suse.de>
4339 1.1 skrll
4340 1.1 skrll * dwarf2.c (decode_line_info): Fix error message.
4341 1.1 skrll (read_abbrevs): Fix test for offset as suggested by Alan Modra and
4342 1.1 skrll adjust error message.
4343 1.1 skrll
4344 1.1 skrll 2001-05-18 H.J. Lu <hjl (a] gnu.org>
4345 1.1 skrll
4346 1.1 skrll * elflink.h (elf_link_add_object_symbols): Revert the last
4347 1.1 skrll change.
4348 1.1 skrll
4349 1.1 skrll 2001-05-17 Alan Modra <amodra (a] one.net.au>
4350 1.1 skrll
4351 1.1 skrll * elf32-hppa.c (clobber_millicode_symbols): Temporarily set
4352 1.1 skrll ELF_LINK_FORCED_LOCAL to suit 2001-04-30 change.
4353 1.1 skrll (hppa_build_one_stub): Add an assert to check plt.offset.
4354 1.1 skrll
4355 1.1 skrll 2001-05-17 H.J. Lu <hjl (a] gnu.org>
4356 1.1 skrll
4357 1.1 skrll * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the
4358 1.1 skrll version definition to basename of the output filename.
4359 1.1 skrll
4360 1.1 skrll 2001-05-17 H.J. Lu <hjl (a] gnu.org>
4361 1.1 skrll
4362 1.1 skrll * elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to
4363 1.1 skrll basename of the bfd filename.
4364 1.1 skrll
4365 1.1 skrll 2001-05-16 Alan Modra <amodra (a] one.net.au>
4366 1.1 skrll
4367 1.1 skrll * section.c (asection): Add linker_has_input field.
4368 1.1 skrll (STD_SECTION): Adjust initialization to suit.
4369 1.1 skrll * ecoff.c (bfd_debug_section): Likewise.
4370 1.1 skrll * bfd-in2.h: Regenerate.
4371 1.1 skrll
4372 1.1 skrll 2001-05-15 Alexandre Oliva <aoliva (a] redhat.com>
4373 1.1 skrll
4374 1.1 skrll * elf-m10300.c (mn10300_elf_relax_section): Don't relax
4375 1.1 skrll negative 32-bit operands to 16 operands when the operand is
4376 1.1 skrll going to be zero-extended by the modified opcode.
4377 1.1 skrll
4378 1.1 skrll 2001-05-12 Peter Targett <peter.targett (a] arccores.com>
4379 1.1 skrll
4380 1.1 skrll * cpu-arc.c (arch_info_struct): Add entry 'base' representing old
4381 1.1 skrll name for 'arc5' core versions.
4382 1.1 skrll (bfd_arc_arch): Make bfd_mach_arc_6 default.
4383 1.1 skrll
4384 1.1 skrll * elf32-arc.c (arc_elf_object_p): Make E_ARC_MACH_ARC6 default
4385 1.1 skrll architecture.
4386 1.1 skrll (arc_elf_final_write_processing): Make bfd_mach_arc_6 default.
4387 1.1 skrll
4388 1.1 skrll 2001-05-11 Jakub Jelinek <jakub (a] redhat.com>
4389 1.1 skrll
4390 1.1 skrll * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
4391 1.1 skrll sections as well.
4392 1.1 skrll (elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
4393 1.1 skrll to .gnu.linkonce.t.FOO text section.
4394 1.1 skrll
4395 1.1 skrll 2001-05-11 Jakub Jelinek <jakub (a] redhat.com>
4396 1.1 skrll
4397 1.1 skrll * merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix
4398 1.1 skrll fields, change sec into secinfo.
4399 1.1 skrll (struct sec_merge_info): Add chain, remove last fields.
4400 1.1 skrll (struct sec_merge_sec_info): Add next, sec, psecinfo fields.
4401 1.1 skrll (sec_merge_hash_lookup): If lookup could not use a string only
4402 1.1 skrll because it has bad alignment, mark the old string for deletion.
4403 1.1 skrll (sec_merge_add): Add secinfo argument. Don't compute entry's
4404 1.1 skrll position, instead record the section.
4405 1.1 skrll (sec_merge_emit): Update for the sec into secinfo change in
4406 1.1 skrll struct sec_merge_hash_entry.
4407 1.1 skrll (_bfd_merge_section): Only record the section for merging, defer
4408 1.1 skrll putting strings into the hash table.
4409 1.1 skrll (cmplengthentry, last4_eq, last_eq, record_section, merge_strings,
4410 1.1 skrll _bfd_merge_sections): New functions.
4411 1.1 skrll (_bfd_merged_section_offset): Update for the sec_merge_hash_entry
4412 1.1 skrll changes.
4413 1.1 skrll * libbfd-in.h (_bfd_merge_sections): Add prototype.
4414 1.1 skrll (_bfd_nolink_bfd_merge_sections): Define.
4415 1.1 skrll * libbfd.h: Likewise.
4416 1.1 skrll (bfd_generic_merge_sections): Add prototype.
4417 1.1 skrll * targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_merge_sections.
4418 1.1 skrll (struct bfd_target): Likewise.
4419 1.1 skrll * bfd.c (bfd_merge_sections): Define.
4420 1.1 skrll * bfd-in2.h: Rebuilt.
4421 1.1 skrll * elf.c (_bfd_elf_merge_sections): New function.
4422 1.1 skrll * elf-bfd.h (_bfd_elf_merge_sections): Add prototype.
4423 1.1 skrll * elfxx-target.h (bfd_elfNN_bfd_merge_sections): Define.
4424 1.1 skrll * reloc.c (bfd_generic_merge_sections): New function.
4425 1.1 skrll * vms.c (vms_bfd_merge_sections): New function.
4426 1.1 skrll * aout-adobe.c (aout_32_bfd_merge_sections): Define.
4427 1.1 skrll * aout-target.h (MY_bfd_merge_sections): Define.
4428 1.1 skrll * aout-tic30.c (MY_bfd_merge_sections): Define.
4429 1.1 skrll * binary.c (binary_bfd_merge_sections): Define.
4430 1.1 skrll * bout.c (b_out_bfd_merge_sections): Define.
4431 1.1 skrll * coff-alpha.c (_bfd_ecoff_bfd_merge_sections): Define.
4432 1.1 skrll * coffcode.c (coff_bfd_merge_sections): Define.
4433 1.1 skrll * coff-mips.c (_bfd_ecoff_bfd_merge_sections): Define.
4434 1.1 skrll * i386msdos.c (msdos_bfd_merge_sections): Define.
4435 1.1 skrll * i386os9k.c (os9k_bfd_merge_sections): Define.
4436 1.1 skrll * ieee.c (ieee_bfd_merge_sections): Define.
4437 1.1 skrll * ihex.c (ihex_bfd_merge_sections): Define.
4438 1.1 skrll * nlm-target.h (nlm_bfd_merge_sections): Define.
4439 1.1 skrll * oasys.c (oasys_bfd_merge_sections): Define.
4440 1.1 skrll * ppcboot.c (ppcboot_bfd_merge_sections): Define.
4441 1.1 skrll * som.c (som_bfd_merge_sections): Define.
4442 1.1 skrll * srec.c (srec_bfd_merge_sections): Define.
4443 1.1 skrll * tekhex.c (tekhex_bfd_merge_sections): Define.
4444 1.1 skrll * versados.c (versados_bfd_merge_sections): Define.
4445 1.1 skrll * xcoff-target.h (_bfd_xcoff_bfd_merge_sections): Define.
4446 1.1 skrll
4447 1.1 skrll 2001-05-11 Nick Clifton <nickc (a] cambridge.redhat.com>
4448 1.1 skrll
4449 1.1 skrll * dwarf1.c (_bfd_dwarf1_find_nearest_line): Change type of 'addr'
4450 1.1 skrll to be unsigned long, in order to match its use.
4451 1.1 skrll
4452 1.1 skrll 2001-05-10 H.J. Lu <hjl (a] gnu.org>
4453 1.1 skrll
4454 1.1 skrll * linker.c (_bfd_generic_link_add_one_symbol): Check loop on
4455 1.1 skrll indirect symbols.
4456 1.1 skrll
4457 1.1 skrll 2001-05-09 H.J. Lu <hjl (a] gnu.org>
4458 1.1 skrll
4459 1.1 skrll * elflink.h (elf_link_add_object_symbols): Fix a typo. Allocate
4460 1.1 skrll versymhdr->sh_size bytes for extversym instead of hdr->sh_size.
4461 1.1 skrll Remove the unused veriable `dynver'.
4462 1.1 skrll
4463 1.1 skrll 2001-05-08 Ian Lance Taylor <ian (a] zembu.com>
4464 1.1 skrll
4465 1.1 skrll * coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd is
4466 1.1 skrll NULL or is not COFF.
4467 1.1 skrll (coff_i386_rtype_to_howto): Don't dump core if output section
4468 1.1 skrll owner is not COFF.
4469 1.1 skrll
4470 1.1 skrll 2001-05-07 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de>
4471 1.1 skrll
4472 1.1 skrll * ecoff.c (bfd_debug_section): Fix initialization.
4473 1.1 skrll * elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it
4474 1.1 skrll is always a positive integer. Cast away sign mismatch.
4475 1.1 skrll * elf32-mips.c: Fix misleading comment and typo.
4476 1.1 skrll (_bfd_mips_elf_section_from_bfd_section): Remove unused attribute, use
4477 1.1 skrll correct data type.
4478 1.1 skrll * elflink.c: Fix typo.
4479 1.1 skrll (_bfd_elf_create_dynamic_sections): Remove superfluous initialization.
4480 1.1 skrll * ecoffswap.h (ecoff_swap_fdr_in): Cast away sign mismatch.
4481 1.1 skrll
4482 1.1 skrll 2001-05-04 Richard Henderson <rth (a] redhat.com>
4483 1.1 skrll
4484 1.1 skrll * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true.
4485 1.1 skrll
4486 1.1 skrll 2001-05-04 Nick Clifton <nickc (a] cambridge.redhat.com>
4487 1.1 skrll
4488 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Set
4489 1.1 skrll EF_ARM_HASENTRY if the start address is set.
4490 1.1 skrll
4491 1.1 skrll 2001-05-03 Nick Clifton <nickc (a] cambridge.redhat.com>
4492 1.1 skrll
4493 1.1 skrll * targets.c (_bfd_target_vector_entries): Compute value based on
4494 1.1 skrll the size of the _bfd_target_vector and not bfd_target_vector.
4495 1.1 skrll
4496 1.1 skrll 2001-05-03 H.J. Lu <hjl (a] gnu.org>
4497 1.1 skrll
4498 1.1 skrll * elfcode.h: Include "libiberty.h".
4499 1.1 skrll
4500 1.1 skrll * elflink.h (elf_link_add_object_symbols): Set
4501 1.1 skrll elf_dt_name (abfd) to basename of the bfd filename.
4502 1.1 skrll (NAME(bfd_elf,size_dynamic_sections)): Set vn_file to basename
4503 1.1 skrll of the bfd filename.
4504 1.1 skrll
4505 1.1 skrll 2001-05-03 Andreas Jaeger <aj (a] suse.de>
4506 1.1 skrll
4507 1.1 skrll * elf64-gen.c (elf_generic_info_to_howto): Add unused attribute.
4508 1.1 skrll (elf_generic_info_to_howto_rel): Likewise.
4509 1.1 skrll * coff-alpha.c (reloc_nil): Likewise.
4510 1.1 skrll (alpha_ecoff_bad_format_hook): Likewise.
4511 1.1 skrll (alpha_adjust_reloc_out): Likewise.
4512 1.1 skrll (alpha_bfd_reloc_type_lookup): Likewise.
4513 1.1 skrll (alpha_convert_external_reloc): Likewise.
4514 1.1 skrll * elf64-alpha.c (elf64_alpha_reloc_nil): Likewise.
4515 1.1 skrll (elf64_alpha_reloc_bad): Likewise.
4516 1.1 skrll (elf64_alpha_reloc_gpdisp): Likewise.
4517 1.1 skrll (elf64_alpha_bfd_reloc_type_lookup): Likewise.
4518 1.1 skrll (elf64_alpha_info_to_howto): Likewise.
4519 1.1 skrll (elf64_alpha_add_symbol_hook): Likewise.
4520 1.1 skrll (elf64_alpha_create_got_section): Likewise.
4521 1.1 skrll (elf64_alpha_is_local_label_name): Likewise.
4522 1.1 skrll (elf64_alpha_merge_ind_symbols): Likewise.
4523 1.1 skrll * elf64-mips.c (mips_elf64_reloc_type_lookup): Likewise.
4524 1.1 skrll (mips_elf64_get_reloc_upper_bound): Likewise.
4525 1.1 skrll * nlm32-alpha.c (nlm_alpha_mangle_relocs): Likewise.
4526 1.1 skrll (nlm_alpha_get_public_offset): Likewise.
4527 1.1 skrll
4528 1.1 skrll 2001-05-02 Johan Rydberg <jrydberg (a] opencores.org>
4529 1.1 skrll
4530 1.1 skrll * elf32-openrisc.c (openrisc_elf_howto_table): Do not complain
4531 1.1 skrll about overflow in R_OPENRISC_LO_16_IN_INSN and
4532 1.1 skrll R_OPENRISC_HI_16_IN_INSN.
4533 1.1 skrll
4534 1.1 skrll 2001-04-30 H.J. Lu <hjl (a] gnu.org>
4535 1.1 skrll
4536 1.1 skrll * elf.c (_bfd_elf_link_hash_hide_symbol): Set dynindx to -1
4537 1.1 skrll only for ELF_LINK_FORCED_LOCAL.
4538 1.1 skrll * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
4539 1.1 skrll * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise.
4540 1.1 skrll * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.
4541 1.1 skrll
4542 1.1 skrll * elflink.h (elf_fix_symbol_flags): Set ELF_LINK_FORCED_LOCAL
4543 1.1 skrll if the symbol has hidden or internal visibility.
4544 1.1 skrll
4545 1.1 skrll 2001-04-30 Alan Modra <amodra (a] one.net.au>
4546 1.1 skrll
4547 1.1 skrll * elf32-hppa.c (final_link_relocate): Branch to .+8 for
4548 1.1 skrll calls to undefined weak symbols.
4549 1.1 skrll
4550 1.1 skrll 2001-04-30 Andreas Jaeger <aj (a] suse.de>, Andreas Schwab <schwab (a] suse.de>
4551 1.1 skrll
4552 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for
4553 1.1 skrll R_X86_64_GOTPCREL, don't use assignments instead of comparisons.
4554 1.1 skrll
4555 1.1 skrll 2001-04-27 Andreas Jaeger <aj (a] suse.de>
4556 1.1 skrll
4557 1.1 skrll * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap
4558 1.1 skrll out handled entries.
4559 1.1 skrll (elf64_x86_64_finish_dynamic_symbol): Set up GOT entries.
4560 1.1 skrll (elf64_x86_64_relocate_section): Fix GOTPCREL calculation.
4561 1.1 skrll (elf64_x86_64_relocate_section): Merge entries for GOTPCREL and
4562 1.1 skrll GOT32.
4563 1.1 skrll
4564 1.1 skrll 2001-04-27 Sean McNeil <sean (a] mcneil.com>
4565 1.1 skrll
4566 1.1 skrll * config.bfd: Add arm-vxworks target.
4567 1.1 skrll * coff-arm (coff_arm_relocate_section): Add in symbol value to
4568 1.1 skrll addend (fro VXworks targets).
4569 1.1 skrll
4570 1.1 skrll 2001-04-26 H.J. Lu <hjl (a] gnu.org>
4571 1.1 skrll
4572 1.1 skrll * elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is
4573 1.1 skrll valid.
4574 1.1 skrll
4575 1.1 skrll 2001-04-25 Frank Ch. Eigler <fche (a] redhat.com>
4576 1.1 skrll
4577 1.1 skrll * bfd-in.h (bfd_cache_close): Declare newly exported function.
4578 1.1 skrll * bfd-in2.h: Regenerated.
4579 1.1 skrll
4580 1.1 skrll 2001-04-24 Jakub Jelinek <jakub (a] redhat.com>
4581 1.1 skrll
4582 1.1 skrll * merge.c (struct sec_merge_hash_entry): Add alignment field.
4583 1.1 skrll (struct sec_merge_hash): Remove alignment_power.
4584 1.1 skrll (sec_merge_hash_newfunc): Clear alignment.
4585 1.1 skrll (sec_merge_hash_lookup): Pass alignment as argument.
4586 1.1 skrll Use hashp->root.next, not hashp->next to walk the hash chain.
4587 1.1 skrll If a string already in the hashtable does not have required
4588 1.1 skrll alignment, create a new hashtable entry.
4589 1.1 skrll (sec_merge_init): Remove alignment_power argument.
4590 1.1 skrll (sec_merge_add): Add alignment argument.
4591 1.1 skrll (sec_merge_emit): Alignment is now a per-entity thing, not per
4592 1.1 skrll section.
4593 1.1 skrll (_bfd_merge_section): Sanity check even non-SEC_STRINGS sections
4594 1.1 skrll for proper alignment.
4595 1.1 skrll Pass alignment information to sec_merge_add.
4596 1.1 skrll
4597 1.1 skrll 2001-04-24 Christian Groessler <cpg (a] aladdin.de>
4598 1.1 skrll
4599 1.1 skrll * coff-z8k.c (extra_case): added handler for R_DISP7, R_CALLR
4600 1.1 skrll and R_REL16 reloc types; accept odd values for R_REL16 type
4601 1.1 skrll
4602 1.1 skrll 2001-04-24 Johan Rydberg <jrydberg (a] opencores.org>
4603 1.1 skrll
4604 1.1 skrll * cpu-openrisc.c: New file.
4605 1.1 skrll * elf32-openrisc.c: Likewise.
4606 1.1 skrll
4607 1.1 skrll * Makefile.am (ALL_MACHINES): Add cpu-openrisc.lo.
4608 1.1 skrll (ALL_MACHINES_CFILES): Add cpu-openrisc.c.
4609 1.1 skrll (BFD32_BACKENDS): Add elf32-openrisc.lo.
4610 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf32-openrisc.c.
4611 1.1 skrll (cpu-openrisc.lo, elf32-openrisc.lo): New rules.
4612 1.1 skrll * Makefile.in: Regenerated.
4613 1.1 skrll * config.bfd: (openrisc-*-elf): New target.
4614 1.1 skrll * configure.in (bfd_elf32_openrisc_vec): New vector.
4615 1.1 skrll * configure: Regenerated.
4616 1.1 skrll * libbfd.h: Regenerated.
4617 1.1 skrll * bfd-in2.h: Regenerated.
4618 1.1 skrll * reloc.c: Add OpenRISC relocations.
4619 1.1 skrll * targets.c (bfd_elf32_openrisc_vec): Declare.
4620 1.1 skrll (bfd_target_vect): Add bfd_elf32_openrisc_vec.
4621 1.1 skrll * archures.c (enum bfd_architecture): Add bfd_arch_openrisc.
4622 1.1 skrll (bfd_openrisc_arch): Declare.
4623 1.1 skrll (bfd_archures_list): Add bfd_openrisc_arch.
4624 1.1 skrll * elf.c (prep_headers): Add bfd_arch_openrisc.
4625 1.1 skrll
4626 1.1 skrll 2001-04-23 Bo Thorsen <bo (a] suse.de>
4627 1.1 skrll
4628 1.1 skrll * elf64-x86-64.c: Add c++ vtable hack.
4629 1.1 skrll Small whitespace and comment changes.
4630 1.1 skrll
4631 1.1 skrll 2001-04-19 Andreas Jaeger <aj (a] suse.de>
4632 1.1 skrll
4633 1.1 skrll * elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions.
4634 1.1 skrll (elf64_x86_64_plt_entry): Likewise.
4635 1.1 skrll (elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation.
4636 1.1 skrll (elf64_x86_64_finish_dynamic_symbol): Fix PLT generation.
4637 1.1 skrll
4638 1.1 skrll 2001-04-17 Hans-Peter Nilsson <hp (a] axis.com>
4639 1.1 skrll
4640 1.1 skrll * elf32-cris.c: Tweak comments related to dynamic linking.
4641 1.1 skrll (cris_elf_relocate_section): When not creating shared object, fill
4642 1.1 skrll in the .got table for any symbol not in the dynamic symbol table.
4643 1.1 skrll (elf_cris_finish_dynamic_symbol): When not creating shared object,
4644 1.1 skrll only emit a .got.rela reloc if the symbol is in the dynamic symbol
4645 1.1 skrll table.
4646 1.1 skrll (cris_elf_check_relocs): Use variable r_type in all places rather
4647 1.1 skrll than the original expression. Add default case in switch for
4648 1.1 skrll reloc types.
4649 1.1 skrll (elf_cris_size_dynamic_sections): Iterate over
4650 1.1 skrll elf_cris_discard_excess_program_dynamics when not creating shared
4651 1.1 skrll library.
4652 1.1 skrll (elf_cris_discard_excess_dso_dynamics): Renamed from
4653 1.1 skrll elf_cris_discard_copies. Correct typo, s/Rel/Rela/.
4654 1.1 skrll (elf_cris_discard_excess_program_dynamics): New.
4655 1.1 skrll
4656 1.1 skrll 2001-04-14 Mark Elbrecht <snowball3 (a] bigfoot.com>
4657 1.1 skrll
4658 1.1 skrll * coffcode.h (coff_write_object_contents): Use
4659 1.1 skrll bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.
4660 1.1 skrll
4661 1.1 skrll 2001-04-14 H.J. Lu <hjl (a] gnu.org>
4662 1.1 skrll
4663 1.1 skrll * bfd-in2.h: Regenerate.
4664 1.1 skrll
4665 1.1 skrll 2001-04-14 Jakub Jelinek <jakub (a] redhat.com>
4666 1.1 skrll
4667 1.1 skrll * section.c (STD_SECTION): Add entsize.
4668 1.1 skrll
4669 1.1 skrll 2001-04-13 H.J. Lu <hjl (a] gnu.org>
4670 1.1 skrll
4671 1.1 skrll * section.c (SEC_MERGE): Define new flag for merging.
4672 1.1 skrll (SEC_STRINGS): Likewise.
4673 1.1 skrll (entsize): New field.
4674 1.1 skrll
4675 1.1 skrll 2001-04-13 Roger Sayle <roger (a] metaphorics.com>
4676 1.1 skrll
4677 1.1 skrll * coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
4678 1.1 skrll flag on pe-i386 targets.
4679 1.1 skrll
4680 1.1 skrll 2001-04-13 Jakub Jelinek <jakub (a] redhat.com>
4681 1.1 skrll
4682 1.1 skrll * libbfd-in.h (_bfd_merge_section): New.
4683 1.1 skrll (_bfd_write_merged_section): New.
4684 1.1 skrll (_bfd_merged_section_offset): New.
4685 1.1 skrll * libbfd.h: Rebuilt.
4686 1.1 skrll * linker.c (_bfd_generic_link_output_symbols): Handle
4687 1.1 skrll discard_sec_merge.
4688 1.1 skrll * aoutx.h (aout_link_write_symbols): Likewise.
4689 1.1 skrll * pdp11.c (aout_link_write_symbols): Likewise.
4690 1.1 skrll * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section.
4691 1.1 skrll (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE
4692 1.1 skrll sections.
4693 1.1 skrll (elf_link_sec_merge_syms): New.
4694 1.1 skrll (elf_link_input_bfd): Call _bfd_merged_section_offset
4695 1.1 skrll and _bfd_write_merged_section.
4696 1.1 skrll Handle discard_sec_merge.
4697 1.1 skrll * elf-bfd.h (struct elf_link_hash_table): Add merge_info
4698 1.1 skrll field.
4699 1.1 skrll (struct bfd_elf_section_data): Likewise.
4700 1.1 skrll * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and
4701 1.1 skrll SEC_STRINGS section flags and entsize from their ELF counterparts.
4702 1.1 skrll (_bfd_elf_link_hash_table_init): Initialize merge_info.
4703 1.1 skrll (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize
4704 1.1 skrll from their BFD counterparts.
4705 1.1 skrll * merge.c: New file.
4706 1.1 skrll * Makefile.am: Add strtab.lo.
4707 1.1 skrll * Makefile.in: Rebuilt.
4708 1.1 skrll
4709 1.1 skrll 2001-04-09 Hans-Peter Nilsson <hp (a] axis.com>
4710 1.1 skrll
4711 1.1 skrll * elflink.h (elf_fix_symbol_flags): For non-default visibilities,
4712 1.1 skrll only hide symbols marked STV_INTERNAL or STV_HIDDEN.
4713 1.1 skrll
4714 1.1 skrll 2001-04-05 Steven J. Hill <sjhill (a] cotw.com>
4715 1.1 skrll
4716 1.1 skrll * config.bfd (mips*el*-*-linux-gnu*): Use traditional little
4717 1.1 skrll endian MIPS ELF target.
4718 1.1 skrll * config.bfd (mips*-*-linux-gnu*): Use traditional big endian
4719 1.1 skrll MIPS ELF target.
4720 1.1 skrll
4721 1.1 skrll * configure.in (bfd_elf64_tradbigmips_vec): New. Traditional
4722 1.1 skrll 64bit big endian MIPS ELF target.
4723 1.1 skrll (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
4724 1.1 skrll endian MIPS ELF target.
4725 1.1 skrll * configure: Regenerated.
4726 1.1 skrll
4727 1.1 skrll * elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and
4728 1.1 skrll little endian targets.
4729 1.1 skrll (mips_elf_sym_is_global): Handle traditional targets.
4730 1.1 skrll
4731 1.1 skrll * elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional
4732 1.1 skrll 64bit big endian MIPS ELF target.
4733 1.1 skrll (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
4734 1.1 skrll endian MIPS ELF target.
4735 1.1 skrll
4736 1.1 skrll * targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec
4737 1.1 skrll and bfd_elf64_tradlittlemips_vec.
4738 1.1 skrll
4739 1.1 skrll 2001-04-05 David Mosberger <davidm (a] hpl.hp.com>
4740 1.1 skrll
4741 1.1 skrll * elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an
4742 1.1 skrll ordinary "progbits" section.
4743 1.1 skrll
4744 1.1 skrll 2001-04-04 Alan Modra <alan (a] linuxcare.com.au>
4745 1.1 skrll
4746 1.1 skrll * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol
4747 1.1 skrll when -Bsymbolic causes a symbol to no longer need a .plt entry.
4748 1.1 skrll
4749 1.1 skrll 2001-04-03 David Mosberger <davidm (a] hpl.hp.com>
4750 1.1 skrll
4751 1.1 skrll * efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted.
4752 1.1 skrll
4753 1.1 skrll 2001-03-30 H.J. Lu <hjl (a] gnu.org>
4754 1.1 skrll
4755 1.1 skrll * efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ...
4756 1.1 skrll (PEI_DEFAULT_TARGET_SUBSYSTEM): This.
4757 1.1 skrll
4758 1.1 skrll 2001-03-26 H.J. Lu <hjl (a] gnu.org>
4759 1.1 skrll
4760 1.1 skrll * elf32-gen.c (elf32_generic_link_add_symbols): New. Check
4761 1.1 skrll if there are any relocations for generic ELF.
4762 1.1 skrll (bfd_elf32_bfd_link_add_symbols): Defined to
4763 1.1 skrll elf32_generic_link_add_symbols.
4764 1.1 skrll * elf64-gen.c (elf64_generic_link_add_symbols): New. Check
4765 1.1 skrll if there are any relocations for generic ELF.
4766 1.1 skrll (bfd_elf64_bfd_link_add_symbols): Defined to
4767 1.1 skrll elf64_generic_link_add_symbols.
4768 1.1 skrll
4769 1.1 skrll 2001-03-23 Nick Clifton <nickc (a] redhat.com>
4770 1.1 skrll
4771 1.1 skrll * Makefile.am (BUILD_CFILES): New variable: List of C source
4772 1.1 skrll files created in build directory.
4773 1.1 skrll (BUILD_HFILES): New variable: List of header files created in
4774 1.1 skrll build directory.
4775 1.1 skrll (POTFILES): Delete.
4776 1.1 skrll (po/POTFILES.in): Replace rule with empty entry.
4777 1.1 skrll (po/SRC-POTFILES.in): New rule: Create a list of source files
4778 1.1 skrll in the source directory.
4779 1.1 skrll (po/BLD-POTFILES.in): New rule: Create a list of source files
4780 1.1 skrll in the build directory.
4781 1.1 skrll (MOSTLYCLEAN): Do not delete source files created in build
4782 1.1 skrll directory.
4783 1.1 skrll * Makefile.in: Regenerate.
4784 1.1 skrll * configure.in: Insert SRC-POTFILES.in and BLD-POTFILES.in
4785 1.1 skrll into po/Makefile.
4786 1.1 skrll * configure: Regenerate.
4787 1.1 skrll
4788 1.1 skrll * po/Make-in: Replace occurrences of POTFILES with SRC-POTFILES
4789 1.1 skrll and BLD_POTFILES.
4790 1.1 skrll Add .. to the search path when building bfd.pot.
4791 1.1 skrll Delete POTFILES when performing distclean.
4792 1.1 skrll Add comment describing why distclean is broken in maintainer mode.
4793 1.1 skrll * po/POTFILES.in: Delete.
4794 1.1 skrll * po/SRC-POTFILES.in: New file.
4795 1.1 skrll * po/BLD-POTFILES.in: New file.
4796 1.1 skrll * po/bfd.pot: Regenerate.
4797 1.1 skrll
4798 1.1 skrll 2001-03-22 Hans-Peter Nilsson <hp (a] axis.com>
4799 1.1 skrll
4800 1.1 skrll * elf32-cris.c: Shlib and PIC support. PCREL tweaks.
4801 1.1 skrll (elf_cris_discard_copies, elf_cris_adjust_gotplt_to_got,
4802 1.1 skrll elf_cris_try_fold_plt_to_got, elf_cris_link_hash_newfunc,
4803 1.1 skrll elf_cris_link_hash_table_create, elf_cris_adjust_dynamic_symbol,
4804 1.1 skrll elf_cris_size_dynamic_sections, elf_cris_finish_dynamic_symbol,
4805 1.1 skrll elf_cris_finish_dynamic_sections,elf_cris_hide_symbol): New
4806 1.1 skrll functions.
4807 1.1 skrll (cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL,
4808 1.1 skrll R_CRIS_32_PCREL>: Correct comments. Set pcrel_offset to false.
4809 1.1 skrll <R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE,
4810 1.1 skrll R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT,
4811 1.1 skrll R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL>:
4812 1.1 skrll New HOWTO members for new relocs.
4813 1.1 skrll (cris_reloc_map): Map new relocs.
4814 1.1 skrll (ELF_DYNAMIC_INTERPRETER): Define.
4815 1.1 skrll (PLT_ENTRY_SIZE): Define.
4816 1.1 skrll (elf_cris_plt0_entry, elf_cris_plt_entry, elf_cris_pic_plt0_entry,
4817 1.1 skrll elf_cris_pic_plt_entry): New, PLT templates.
4818 1.1 skrll (struct elf_cris_pcrel_relocs_copied, struct
4819 1.1 skrll elf_cris_link_hash_entry, struct elf_cris_link_hash_table): New.
4820 1.1 skrll (elf_cris_link_hash_traverse, elf_cris_hash_table): Define.
4821 1.1 skrll (cris_final_link_relocate): Check that 16-bit GOT relocs have
4822 1.1 skrll positive values. Adjust PCREL relocs to be relative to location
4823 1.1 skrll after relocation.
4824 1.1 skrll (cris_elf_relocate_section): Handle relocations to dynamic
4825 1.1 skrll objects. Handle new relocations. Call error handler when seeing
4826 1.1 skrll non-PIC relocation for read-only sections while generating shared
4827 1.1 skrll object.
4828 1.1 skrll (cris_elf_check_relocs): Set reference counts for GOT and PLT
4829 1.1 skrll entries.
4830 1.1 skrll (bfd_elf32_bfd_link_hash_table_create,
4831 1.1 skrll elf_backend_adjust_dynamic_symbol,
4832 1.1 skrll elf_backend_size_dynamic_sections,
4833 1.1 skrll elf_backend_finish_dynamic_symbol,
4834 1.1 skrll elf_backend_finish_dynamic_sections,
4835 1.1 skrll elf_backend_create_dynamic_sections, bfd_elf32_bfd_final_link,
4836 1.1 skrll elf_backend_hide_symbol, elf_backend_want_got_plt,
4837 1.1 skrll elf_backend_plt_readonly, elf_backend_want_plt_sym,
4838 1.1 skrll elf_backend_got_header_size, elf_backend_plt_header_size):
4839 1.1 skrll Define.
4840 1.1 skrll
4841 1.1 skrll * reloc.c: (BFD_RELOC_CRIS_COPY, BFD_RELOC_CRIS_GLOB_DAT,
4842 1.1 skrll BFD_RELOC_CRIS_JUMP_SLOT, BFD_RELOC_CRIS_RELATIVE,
4843 1.1 skrll BFD_RELOC_CRIS_32_GOT, BFD_RELOC_CRIS_16_GOT,
4844 1.1 skrll BFD_RELOC_CRIS_32_GOTPLT, BFD_RELOC_CRIS_16_GOTPLT,
4845 1.1 skrll BFD_RELOC_CRIS_32_GOTREL, BFD_RELOC_CRIS_32_PLT_GOTREL,
4846 1.1 skrll BFD_RELOC_CRIS_32_PLT_PCREL): New relocs.
4847 1.1 skrll * bfd-in2.h, libbfd.h: Regenerate.
4848 1.1 skrll
4849 1.1 skrll 2001-03-21 Diego Novillo <dnovillo (a] redhat.com>
4850 1.1 skrll
4851 1.1 skrll (_bfd_mips_elf_relocate_section): Give a better error message when
4852 1.1 skrll a relocation is not recognized.
4853 1.1 skrll
4854 1.1 skrll 2001-03-21 Alan Modra <alan (a] linuxcare.com.au>
4855 1.1 skrll
4856 1.1 skrll * elf32-hppa.c (elf32_hppa_set_gp): Check sec->output_section
4857 1.1 skrll non-NULL before attempting to dereference.
4858 1.1 skrll
4859 1.1 skrll 2001-03-20 H.J. Lu <hjl (a] gnu.org>
4860 1.1 skrll
4861 1.1 skrll * configure.in: Remove the redundent AC_ARG_PROGRAM.
4862 1.1 skrll * configure: Rebuild.
4863 1.1 skrll
4864 1.1 skrll 2001-03-20 Andreas Schwab <schwab (a] suse.de>
4865 1.1 skrll
4866 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Don't need the
4867 1.1 skrll relocation value when resolving a reference from a debugging
4868 1.1 skrll section.
4869 1.1 skrll
4870 1.1 skrll 2001-03-16 Scott Thomason <SThomaso (a] hii.com>
4871 1.1 skrll
4872 1.1 skrll * coff64-rs6000.c (xcoff64_swap_sym_out): Fix syntax errors.
4873 1.1 skrll (xcoff64_swap_sym_out): Fix syntax errors.
4874 1.1 skrll
4875 1.1 skrll 2001-03-16 Richard Sandiford <rsandifo (a] redhat.com>
4876 1.1 skrll
4877 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix warning.
4878 1.1 skrll
4879 1.1 skrll 2001-03-15 Alan Modra <alan (a] linuxcare.com.au>
4880 1.1 skrll
4881 1.1 skrll * elf32-hppa.c (elf32_hppa_link_hash_entry): Add maybe_pic_call.
4882 1.1 skrll (hppa_link_hash_newfunc): Init it.
4883 1.1 skrll (hppa_type_of_stub): Only use non-PIC to PIC call stub if caller
4884 1.1 skrll section appears to be non-PIC.
4885 1.1 skrll (final_link_relocate): Likewise.
4886 1.1 skrll (elf32_hppa_adjust_dynamic_symbol): Set maybe_pic_call for any
4887 1.1 skrll possible candidate function, and set pic_call for those that will
4888 1.1 skrll only have a .plt entry for the PIC call stub.
4889 1.1 skrll (hppa_handle_PIC_calls): Set maybe_pic_call.
4890 1.1 skrll
4891 1.1 skrll 2001-03-12 DJ Delorie <dj (a] redhat.com>
4892 1.1 skrll
4893 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Only relocation
4894 1.1 skrll R_SH_DIR8WP* relocs if they're against external symbols, else
4895 1.1 skrll they're just for relaxing. Validate the reloc values.
4896 1.1 skrll
4897 1.1 skrll 2001-03-12 Stefan Geuken <mail (a] stefan-geuken.de>
4898 1.1 skrll
4899 1.1 skrll * binary.c (bfd_external_binary_architecture): Declare.
4900 1.1 skrll (binary_object_p): If bfd_external_binary_architecture is defined,
4901 1.1 skrll set the architecture to this string.
4902 1.1 skrll
4903 1.1 skrll 2001-03-11 Philip Blundell <philb (a] gnu.org>
4904 1.1 skrll
4905 1.1 skrll * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make PLT
4906 1.1 skrll entries that could serve as a definition for a weak symbol.
4907 1.1 skrll
4908 1.1 skrll 2001-03-08 Nick Clifton <nickc (a] redhat.com>
4909 1.1 skrll
4910 1.1 skrll * Most files: Update copyright notices using Perl script created
4911 1.1 skrll by Kevin Buettner <kevinb (a] redhat.com>.
4912 1.1 skrll
4913 1.1 skrll 2001-03-07 Nick Clifton <nickc (a] redhat.com>
4914 1.1 skrll
4915 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Conditionalise
4916 1.1 skrll prior patch on ! defined OLD_ARM_ABI.
4917 1.1 skrll
4918 1.1 skrll 2001-03-07 Andreas Jaeger <aj (a] suse.de>
4919 1.1 skrll
4920 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of
4921 1.1 skrll some relocation values.
4922 1.1 skrll
4923 1.1 skrll 2001-03-06 Nick Clifton <nickc (a] redhat.com>
4924 1.1 skrll
4925 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Clear bit zero
4926 1.1 skrll of offset in BLX(1) instruction.
4927 1.1 skrll * coff-arm.c (coff_arm_relocate_section): Clear bit zero of
4928 1.1 skrll offset in BLX(1) instruction.
4929 1.1 skrll Fix formatting.
4930 1.1 skrll
4931 1.1 skrll 2001-03-06 Nick Clifton <nickc (a] redhat.com>
4932 1.1 skrll
4933 1.1 skrll * coff-arm.c (coff_arm_reloc_type_lookup): Add
4934 1.1 skrll BFD_RELOC_THUMB_PCREL_BLX.
4935 1.1 skrll
4936 1.1 skrll 2001-03-06 Igor Shevlyakov <igor (a] windriver.com>
4937 1.1 skrll
4938 1.1 skrll * archures.c (bfd_default_scan): Add Coldfire CPUs.
4939 1.1 skrll * bfd-in2.h: Regenerate.
4940 1.1 skrll * cpu-m68k.c: Add Coldfire CPUs for arch table.
4941 1.1 skrll * ieee.c (ieee_write_processor): Set proper id for
4942 1.1 skrll Coldfire CPUs.
4943 1.1 skrll
4944 1.1 skrll 2001-03-01 D.J. Barrow <djbarrow (a] de.ibm.com,barrow_dj (a] yahoo.com>
4945 1.1 skrll
4946 1.1 skrll * configure.in: Add s390 target.
4947 1.1 skrll * configure: Regenerate.
4948 1.1 skrll
4949 1.1 skrll 2001-02-28 Andreas Jaeger <aj (a] suse.de>
4950 1.1 skrll
4951 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation
4952 1.1 skrll to addend.
4953 1.1 skrll
4954 1.1 skrll 2001-02-28 Philip Blundell <pb (a] futuretv.com>
4955 1.1 skrll
4956 1.1 skrll * elf32-arm.h: Update mentions of renamed EF_xx constants.
4957 1.1 skrll (elf32_arm_print_private_bfd_data): Handle ARM EABI version 2.
4958 1.1 skrll
4959 1.1 skrll 2001-02-27 H.J. Lu <hjl (a] gnu.org>
4960 1.1 skrll
4961 1.1 skrll * aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if
4962 1.1 skrll abfd->tdata.aout_data == NULL.
4963 1.1 skrll
4964 1.1 skrll 2001-02-27 Alan Modra <alan (a] linuxcare.com.au>
4965 1.1 skrll
4966 1.1 skrll * elf32-hppa.c: Correct field selector in stub comments.
4967 1.1 skrll (clobber_millicode_symbols): Formatting fix.
4968 1.1 skrll
4969 1.1 skrll * configure.in: Bump version to 2.11.90.
4970 1.1 skrll * configure: Regenerate.
4971 1.1 skrll * Makefile.am (CFILES): Rename to SOURCE_CFILES.
4972 1.1 skrll (CFILES): $SOURCE_CFILES + generated C files.
4973 1.1 skrll (POTFILES): Include $HFILES not $SOURCE_HFILES.
4974 1.1 skrll Run "make dep-am"
4975 1.1 skrll * Makefile.in: Regenerate.
4976 1.1 skrll * doc/Makefile.in: This too.
4977 1.1 skrll
4978 1.1 skrll 2001-02-26 Timothy Wall <twall (a] cygnus.com>
4979 1.1 skrll
4980 1.1 skrll * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Remove obsolete
4981 1.1 skrll comments.
4982 1.1 skrll
4983 1.1 skrll 2001-02-26 Nick Clifton <nickc (a] redhat.com>
4984 1.1 skrll
4985 1.1 skrll * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Tidy
4986 1.1 skrll up, replacing multiple if statements with a switch.
4987 1.1 skrll (handle_COMDAT): New function.
4988 1.1 skrll
4989 1.1 skrll 2001-02-26 H.J. Lu <hjl (a] gnu.org>
4990 1.1 skrll
4991 1.1 skrll * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Issue
4992 1.1 skrll a warning for section flags we do not handle instead of
4993 1.1 skrll aborting.
4994 1.1 skrll
4995 1.1 skrll 2001-02-26 Andreas Jaeger <aj (a] suse.de>
4996 1.1 skrll
4997 1.1 skrll * elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries.
4998 1.1 skrll
4999 1.1 skrll 2001-02-22 Timothy Wall <twall (a] cygnus.com>
5000 1.1 skrll
5001 1.1 skrll * config.bfd (targ_cpu): Add vectors for ia64-*-aix* (aka Monterey).
5002 1.1 skrll * configure.in: Add objects for elf64_ia64_aix vectors.
5003 1.1 skrll * configure: Regenerated.
5004 1.1 skrll * configure.host: Recognize ia64-*-aix*.
5005 1.1 skrll * elfxx-ia64.c: Add hooks for ELF64 on AIX5. Define new vectors
5006 1.1 skrll for AIX. AIX5 requires most relocations to be dynamic (*all*
5007 1.1 skrll binaries are somewhat similar to shared libraries).
5008 1.1 skrll * targets.c: Add elf64_ia64_aix vectors.
5009 1.1 skrll
5010 1.1 skrll 2001-02-21 David Mosberger <davidm (a] hpl.hp.com>
5011 1.1 skrll
5012 1.1 skrll * cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for
5013 1.1 skrll C8 said "1" instead of "8". Clarify error string for IMM22:
5014 1.1 skrll "signed integer" instead of just "integer".
5015 1.1 skrll
5016 1.1 skrll 2001-02-20 Andreas Jaeger <aj (a] suse.de>
5017 1.1 skrll
5018 1.1 skrll * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make
5019 1.1 skrll PLT entries that could serve as a definition for a weak symbol.
5020 1.1 skrll
5021 1.1 skrll 2001-02-19 Jakub Jelinek <jakub (a] redhat.com>
5022 1.1 skrll
5023 1.1 skrll * elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT
5024 1.1 skrll entries that could serve as a definition for a weak symbol.
5025 1.1 skrll * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Likewise.
5026 1.1 skrll
5027 1.1 skrll 2001-02-18 David O'Brien <obrien@FreeBSD>
5028 1.1 skrll
5029 1.1 skrll * configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat
5030 1.1 skrll FreeBSD/i386-CURRENT differently until I can figure out the needed
5031 1.1 skrll corefile changes.
5032 1.1 skrll * configure: Regenerate.
5033 1.1 skrll * config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm,
5034 1.1 skrll FreeBSD/PowerPC, and FreeBSD/sparc64.
5035 1.1 skrll
5036 1.1 skrll 2001-02-18 lars brinkhoff <lars (a] nocrew.org>
5037 1.1 skrll
5038 1.1 skrll * Makefile.am: Add PDP-11 a.out target.
5039 1.1 skrll * config.bfd: Likewise.
5040 1.1 skrll * configure.in: Likewise.
5041 1.1 skrll * targets.c: Likewise.
5042 1.1 skrll * archures.c: Likewise.
5043 1.1 skrll * bfd-in2.h: Likewise. Add PDP-11 relocations.
5044 1.1 skrll * libbfd.h: Add PDP-11 relocations.
5045 1.1 skrll * reloc.c: Likewise.
5046 1.1 skrll * cpu-pdp11.c: New file.
5047 1.1 skrll * pdp11.c: New file.
5048 1.1 skrll
5049 1.1 skrll * libaout.h (GET_WORD) [ARCH_SIZE==16]: Define.
5050 1.1 skrll (GET_SWORD) [ARCH_SIZE==16]: Likewise.
5051 1.1 skrll (GET_SWORD) [ARCH_SIZE==16]: Likewise.
5052 1.1 skrll (PUT_WORD) [ARCH_SIZE==16]: Likewise.
5053 1.1 skrll (GET_MAGIC): New macro.
5054 1.1 skrll (PUT_MAGIC): Likewise.
5055 1.1 skrll * aout-target.h (MY(object_p)): Use GET_MAGIC to read magic word.
5056 1.1 skrll
5057 1.1 skrll 2001-02-18 Jim Kingdon <jkingdon (a] engr.sgi.com>
5058 1.1 skrll
5059 1.1 skrll * irix-core.c (irix_core_core_file_p): Set the architecture (GDB
5060 1.1 skrll multiarch needs it).
5061 1.1 skrll
5062 1.1 skrll 2001-02-18 H.J. Lu <hjl (a] gnu.org>
5063 1.1 skrll
5064 1.1 skrll * elflink.h (elf_link_input_bfd): Ignore invalid section symbol
5065 1.1 skrll index.
5066 1.1 skrll
5067 1.1 skrll 2001-02-18 Kazu Hirata <kazu (a] hxi.com>
5068 1.1 skrll
5069 1.1 skrll * vms-misc.c: Fix formatting.
5070 1.1 skrll
5071 1.1 skrll 2001-02-16 Kazu Hirata <kazu (a] hxi.com>
5072 1.1 skrll
5073 1.1 skrll * vms.c: Fix formatting.
5074 1.1 skrll
5075 1.1 skrll 2001-02-14 H.J. Lu <hjl (a] gnu.org>
5076 1.1 skrll
5077 1.1 skrll * elf.c (elf_find_function): New function.
5078 1.1 skrll (_bfd_elf_find_nearest_line): Call elf_find_function () to find
5079 1.1 skrll the file name and function name.
5080 1.1 skrll
5081 1.1 skrll 2001-02-14 Nick Clifton <nickc (a] redhat.com>
5082 1.1 skrll
5083 1.1 skrll * ecoff.c (bfd_debug_section): Update to initialise new fields in
5084 1.1 skrll asection structure.
5085 1.1 skrll
5086 1.1 skrll * Makefile.am (BFD32_BACKENDS_CFILES): Remove peigen.c
5087 1.1 skrll (BFD64_BACKENDS): Add pepigen.c
5088 1.1 skrll Add rules to create peigen.c and pepigen.c from peXXigen.c.
5089 1.1 skrll
5090 1.1 skrll * Makefile.in: Regenerate.
5091 1.1 skrll * configure: Regenerate.
5092 1.1 skrll * po/POTFILES.in: Regenerate.
5093 1.1 skrll * po/bfd.pot: Regenerate.
5094 1.1 skrll
5095 1.1 skrll 2001-02-14 H.J. Lu <hjl (a] gnu.org>
5096 1.1 skrll
5097 1.1 skrll * libcoff-in.h (pe_tdata): Add members target_subsystem and
5098 1.1 skrll force_minimum_alignment.
5099 1.1 skrll
5100 1.1 skrll 2001-02-14 Bo Thorsen <bo (a] suse.de>
5101 1.1 skrll
5102 1.1 skrll * elf64-x86-64.c: Small formatting fixes and rearrangements of code.
5103 1.1 skrll (elf64_86_64_size_info): Struct added to fix a problem
5104 1.1 skrll with the hashtable string entries.
5105 1.1 skrll (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt.
5106 1.1 skrll (elf64_x86_64_size_dynamic_sections): A FIXME removed.
5107 1.1 skrll (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and
5108 1.1 skrll remove the FIXME for this.
5109 1.1 skrll (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt
5110 1.1 skrll section. Also removed the FIXME for it.
5111 1.1 skrll (x86_64_elf_howto_table): Use bfd_elf_generic_reloc.
5112 1.1 skrll (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker.
5113 1.1 skrll (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing.
5114 1.1 skrll
5115 1.1 skrll 2001-02-13 Richard Henderson <rth (a] redhat.com>
5116 1.1 skrll
5117 1.1 skrll * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if required
5118 1.1 skrll and not user provided.
5119 1.1 skrll
5120 1.1 skrll 2001-02-13 Kazu Hirata <kazu (a] hxi.com>
5121 1.1 skrll
5122 1.1 skrll * vms.c (vms_print_symbol): Remove unreachable code.
5123 1.1 skrll
5124 1.1 skrll * rs6000-core.c: Fix formatting.
5125 1.1 skrll
5126 1.1 skrll 2001-02-13 David Mosberger <davidm (a] hpl.hp.com>
5127 1.1 skrll
5128 1.1 skrll * peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define
5129 1.1 skrll as _bfd_XXi_only_swap_filehdr_out.
5130 1.1 skrll (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set
5131 1.1 skrll pe->force_minimum_alignment to TRUE.
5132 1.1 skrll (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to
5133 1.1 skrll PEI_TARGET_SUBSYSTEM.
5134 1.1 skrll (pe_print_private_bfd_data): Call
5135 1.1 skrll _bfd_XX_print_private_bfd_data_common() instead of
5136 1.1 skrll _bfd_pe_print_private_bfd_data_common().
5137 1.1 skrll (pe_bfd_copy_private_bfd_data): Call
5138 1.1 skrll _bfd_XX_bfd_copy_private_bfd_data_common() instead of
5139 1.1 skrll _bfd_pe_bfd_copy_private_bfd_data_common().
5140 1.1 skrll (coff_bfd_copy_private_section_data): Define as
5141 1.1 skrll _bfd_XX_bfd_copy_private_section_data instead of
5142 1.1 skrll _bfd_pe_bfd_copy_private_section_data.
5143 1.1 skrll (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead
5144 1.1 skrll of a _bfd_pe_get_symbol_info.
5145 1.1 skrll
5146 1.1 skrll * peigen.c: Delete.
5147 1.1 skrll
5148 1.1 skrll * peXXigen.c: Renamed from peigen.c.
5149 1.1 skrll (COFF_WITH_XX): Define this macro (will get expanded into
5150 1.1 skrll COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being
5151 1.1 skrll compiled as peigen.c or pepigen.c.
5152 1.1 skrll [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to
5153 1.1 skrll define the canonical PEP structures and definitions.
5154 1.1 skrll (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in
5155 1.1 skrll effect, enforce minimum file and section alignments. If
5156 1.1 skrll extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to
5157 1.1 skrll pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN,
5158 1.1 skrll so, by default, this is a no-op).
5159 1.1 skrll
5160 1.1 skrll * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep.
5161 1.1 skrll (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map
5162 1.1 skrll _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to
5163 1.1 skrll _bfd_pefoo if it's not defined. Use these macros to define
5164 1.1 skrll coff swap macros.
5165 1.1 skrll
5166 1.1 skrll * libcoff.h (pe_tdata): Add members target_subsystem and
5167 1.1 skrll force_minimum_alignment.
5168 1.1 skrll
5169 1.1 skrll * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to
5170 1.1 skrll COFF_WITH_pep.
5171 1.1 skrll (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM.
5172 1.1 skrll
5173 1.1 skrll * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of
5174 1.1 skrll peigen.lo.
5175 1.1 skrll
5176 1.1 skrll * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep.
5177 1.1 skrll (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and
5178 1.1 skrll PEPAOUTHDR.
5179 1.1 skrll
5180 1.1 skrll * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo.
5181 1.1 skrll (BFD64_BACKENDS_CFILES): Mention pepigen.c
5182 1.1 skrll (peigen.c): Add rule to generate from peXXigen.c.
5183 1.1 skrll (pepigen.c): Ditto.
5184 1.1 skrll (pepigen.lo): List dependencies for pepigen.lo.
5185 1.1 skrll
5186 1.1 skrll 2001-02-13 Alan Modra <alan (a] linuxcare.com.au>
5187 1.1 skrll
5188 1.1 skrll * elf32-hppa.c (elf32_hppa_set_gp): Handle weak $global$. If
5189 1.1 skrll $global$ referenced but not defined, set its value here.
5190 1.1 skrll
5191 1.1 skrll 2001-02-09 Bo Thorsen <bo (a] suse.de>
5192 1.1 skrll
5193 1.1 skrll * elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section
5194 1.1 skrll alignment to 3.
5195 1.1 skrll (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry
5196 1.1 skrll and relocation.
5197 1.1 skrll (elf64_x86_64_relocate_section): Fix formatting.
5198 1.1 skrll (elf64_x86_64_relocate_section): Fix addend for relocation of
5199 1.1 skrll R_X86_64_(8|16|32|PC8|PC16|PC32).
5200 1.1 skrll
5201 1.1 skrll 2001-02-12 Jan Hubicka <jh (a] suse.cz>
5202 1.1 skrll
5203 1.1 skrll * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.
5204 1.1 skrll
5205 1.1 skrll 2001-02-11 H.J. Lu <hjl (a] gnu.org>
5206 1.1 skrll
5207 1.1 skrll * elflink.h (elf_bfd_final_link): Use file_align for SYMTAB
5208 1.1 skrll alignment.
5209 1.1 skrll
5210 1.1 skrll 2001-02-11 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl>
5211 1.1 skrll
5212 1.1 skrll * elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch
5213 1.1 skrll from 2000-10-13. Do not add the symbol's value for R_MIPS_REL32
5214 1.1 skrll relocations against dynsym symbols.
5215 1.1 skrll
5216 1.1 skrll * elf32-mips.c (elf_mips_howto_table): Fix the comment on
5217 1.1 skrll the R_MIPS_26 relocation.
5218 1.1 skrll (mips_elf_calculate_relocation): Use (p + 4) instead of p for
5219 1.1 skrll the R_MIPS_26 relocation.
5220 1.1 skrll (mips_elf_perform_relocation): Fix the comment on the R_MIPS16_26
5221 1.1 skrll relocation.
5222 1.1 skrll * elf64-mips.c (mips_elf64_howto_table_rel): Fix the comment on
5223 1.1 skrll the R_MIPS_26 relocation.
5224 1.1 skrll (mips_elf64_howto_table_rela): Likewise.
5225 1.1 skrll
5226 1.1 skrll * elf32-mips.c (struct mips_elf_link_hash_entry): Added no_fn_stub
5227 1.1 skrll member to mark symbols that have non-CALL relocations against
5228 1.1 skrll them.
5229 1.1 skrll (mips_elf_link_hash_newfunc): Initialize no_fn_stub.
5230 1.1 skrll (mips_elf_calculate_relocation): Handle R_MIPS_CALL16 like
5231 1.1 skrll R_MIPS_GOT16.
5232 1.1 skrll (_bfd_mips_elf_check_relocs): Set no_fn_stub for a symbol if a
5233 1.1 skrll non-CALL relocation against it is encountered.
5234 1.1 skrll (_bfd_mips_elf_copy_indirect_symbol): Merge no_fn_stub as well.
5235 1.1 skrll (_bfd_mips_elf_adjust_dynamic_symbol): Only create a stub if
5236 1.1 skrll no_fn_stub is not set.
5237 1.1 skrll
5238 1.1 skrll * elf32-mips.c (mips_elf_output_extsym): Get the output section
5239 1.1 skrll information from the real symbol for indirect ones.
5240 1.1 skrll Check no_fn_stub to find out if a symbol has a function stub
5241 1.1 skrll indeed.
5242 1.1 skrll
5243 1.1 skrll 2001-02-11 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
5244 1.1 skrll
5245 1.1 skrll * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory.
5246 1.1 skrll * Makefile.in: Regenerate.
5247 1.1 skrll
5248 1.1 skrll 2001-02-09 David Mosberger <davidm (a] hpl.hp.com>
5249 1.1 skrll
5250 1.1 skrll * elfxx-ia64.c (is_unwind_section_name): New function. Returns
5251 1.1 skrll true if section name is an unwind table section name.
5252 1.1 skrll (elfNN_ia64_additional_program_headers): Count each unwind section
5253 1.1 skrll separately.
5254 1.1 skrll (elfNN_ia64_modify_segment_map): Install one unwind program header
5255 1.1 skrll for each unwind separate section. Note: normally the linker
5256 1.1 skrll script merges the unwind sections that go into a single segment,
5257 1.1 skrll so this still generates at most one unwind program header per
5258 1.1 skrll segment.
5259 1.1 skrll
5260 1.1 skrll * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section
5261 1.1 skrll name for SHT_IA_64_UNWIND, not just .IA_64.unwind.
5262 1.1 skrll (elfNN_ia64_fake_sections): Mark sections with names that start
5263 1.1 skrll with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64
5264 1.1 skrll unwind section.
5265 1.1 skrll
5266 1.1 skrll * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function.
5267 1.1 skrll Use it to make sh_info in unwind section point to the text section
5268 1.1 skrll it applies to.
5269 1.1 skrll
5270 1.1 skrll 2001-02-09 Martin Schwidefsky <schwidefsky (a] de.ibm.com>
5271 1.1 skrll
5272 1.1 skrll * Makefile.am: Add linux target for S/390.
5273 1.1 skrll * archures.c: Likewise.
5274 1.1 skrll * bfd-in2.h: Likewise.
5275 1.1 skrll * config.bfd: Likewise.
5276 1.1 skrll * configure.in: Likewise.
5277 1.1 skrll * elf.c: Likewise.
5278 1.1 skrll * libbfd.h: Likewise.
5279 1.1 skrll * targets.c: Likewise.
5280 1.1 skrll * cpu-s390.c: New file.
5281 1.1 skrll * elf32-s390.c: New file.
5282 1.1 skrll * elf64-s390.c: New file.
5283 1.1 skrll
5284 1.1 skrll 2001-02-09 Nick Clifton <nickc (a] redhat.com>
5285 1.1 skrll
5286 1.1 skrll * peigen.c (_bfd_pe_get_symbol_info): Suppress addition of
5287 1.1 skrll ImageBase. This has already been done by coff_swap_hdr_in.
5288 1.1 skrll
5289 1.1 skrll 2001-02-09 Jakub Jelinek <jakub (a] redhat.com>
5290 1.1 skrll
5291 1.1 skrll * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function.
5292 1.1 skrll
5293 1.1 skrll 2001-02-09 Jakub Jelinek <jakub (a] redhat.com>
5294 1.1 skrll
5295 1.1 skrll * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.
5296 1.1 skrll (sparc64_elf_relocate_section): Likewise.
5297 1.1 skrll
5298 1.1 skrll 2001-02-09 Mark Kettenis <kettenis (a] gnu.org>
5299 1.1 skrll
5300 1.1 skrll * elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32
5301 1.1 skrll similar to R_SPARC_32.
5302 1.1 skrll * elf64-sparc.c (sparc64_elf_howto_table): Likewise.
5303 1.1 skrll
5304 1.1 skrll 2001-02-08 H.J. Lu <hjl (a] gnu.org>
5305 1.1 skrll
5306 1.1 skrll * elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32
5307 1.1 skrll relocation entries for weak definitions when building DSO with
5308 1.1 skrll -Bsymbolic.
5309 1.1 skrll
5310 1.1 skrll 2001-02-08 Richard Henderson <rth (a] redhat.com>
5311 1.1 skrll
5312 1.1 skrll * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness
5313 1.1 skrll before visibility. Locally defined protected symbols are not
5314 1.1 skrll dynamic.
5315 1.1 skrll
5316 1.1 skrll 2001-02-08 Geoffrey Keating <geoffk (a] redhat.com>
5317 1.1 skrll
5318 1.1 skrll * config.bfd: Enable coff64 for rs6000-*. Patch from
5319 1.1 skrll <hzoli (a] austin.ibm.com>.
5320 1.1 skrll
5321 1.1 skrll 2001-02-07 Mark Elbrecht <snowball3 (a] bigfoot.com>
5322 1.1 skrll
5323 1.1 skrll * coffgen.c (coff_find_nearest_line): If stabs info is successfully
5324 1.1 skrll found, do not attempt to find dwarf2 info before returning.
5325 1.1 skrll
5326 1.1 skrll 2001-02-07 Jakub Jelinek <jakub (a] redhat.com>
5327 1.1 skrll
5328 1.1 skrll * elflink.h (is_global_symbol_definition): Rename to
5329 1.1 skrll is_global_data_symbol_definition and have it reject function
5330 1.1 skrll symbols.
5331 1.1 skrll (elf_link_is_defined_archive_symbol): Use renamed function.
5332 1.1 skrll
5333 1.1 skrll 2001-02-07 Todd Vierling <tv (a] wasabisystems.com>
5334 1.1 skrll
5335 1.1 skrll * libbfd-in.h (bfd_target_vector): Change extern array to pointer.
5336 1.1 skrll * libbfd.h (bfd_target_vector): Likewise.
5337 1.1 skrll * targets.c (bfd_target_vector): Rename to _bfd_target_vector and
5338 1.1 skrll make static; create pointer reference named bfd_target_vector.
5339 1.1 skrll (_bfd_target_vector_entries): Calculate this based on the array
5340 1.1 skrll typed _bfd_target_vector.
5341 1.1 skrll
5342 1.1 skrll 2001-02-06 H.J. Lu <hjl (a] gnu.org>
5343 1.1 skrll
5344 1.1 skrll * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and
5345 1.1 skrll internal symbols are not dynamic.
5346 1.1 skrll * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
5347 1.1 skrll
5348 1.1 skrll 2001-02-06 Nick Clifton <nickc (a] redhat.com>
5349 1.1 skrll
5350 1.1 skrll * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-ia64.c, so
5351 1.1 skrll that it will not be pulled into the list of files that make up
5352 1.1 skrll po/POTFILES.in.
5353 1.1 skrll * Makefile.in: Regenerate.
5354 1.1 skrll * po/bfd.pot: Regenerate.
5355 1.1 skrll
5356 1.1 skrll 2001-02-06 H.J. Lu <hjl (a] gnu.org>
5357 1.1 skrll
5358 1.1 skrll * peicode.h (coff_swap_filehdr_in): Remove the e_magic
5359 1.1 skrll checking.
5360 1.1 skrll (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and
5361 1.1 skrll external_PEI_IMAGE_hdr.
5362 1.1 skrll
5363 1.1 skrll 2001-02-06 Kazu Hirata <kazu (a] hxi.com>
5364 1.1 skrll
5365 1.1 skrll * elf-m10200.c: Fix formatting.
5366 1.1 skrll
5367 1.1 skrll 2001-02-04 Nick Clifton <nickc (a] redhat.com>
5368 1.1 skrll
5369 1.1 skrll * elf32-v850.c (v850_elf_reloc): Do not convert reloc addend to PC
5370 1.1 skrll rel, it will be handled later on.
5371 1.1 skrll
5372 1.1 skrll 2001-02-02 Fred Fish <fnf (a] ninemoons.com>
5373 1.1 skrll
5374 1.1 skrll * Makefile.in: Fix typo.
5375 1.1 skrll
5376 1.1 skrll 2001-02-01 Kazu Hirata <kazu (a] hxi.com>
5377 1.1 skrll
5378 1.1 skrll * elf-m10300.c: Fix formatting.
5379 1.1 skrll
5380 1.1 skrll 2001-01-30 Alan Modra <alan (a] linuxcare.com.au>
5381 1.1 skrll
5382 1.1 skrll * elf64-hppa.c (elf64_hppa_elf_get_symbol_type): New function.
5383 1.1 skrll (elf_backend_get_symbol_type): Define.
5384 1.1 skrll (elf64_hppa_object_p): Set architecture and machine from elf
5385 1.1 skrll header flags.
5386 1.1 skrll
5387 1.1 skrll 2001-01-30 Curtis L. Janssen <cljanss (a] ca.sandia.gov>
5388 1.1 skrll
5389 1.1 skrll * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
5390 1.1 skrll before mdebug.
5391 1.1 skrll
5392 1.1 skrll 2001-01-26 Richard Henderson <rth (a] redhat.com>
5393 1.1 skrll
5394 1.1 skrll * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false
5395 1.1 skrll for non-default visibility.
5396 1.1 skrll * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but
5397 1.1 skrll delete ugly macro and replace with pretty function.
5398 1.1 skrll
5399 1.1 skrll 2001-01-25 Mark Elbrecht <snowball3 (a] bigfoot.com>
5400 1.1 skrll
5401 1.1 skrll * coff-go32.c: Update copyright.
5402 1.1 skrll * coff-stgo32.c: Likewise.
5403 1.1 skrll * coff-go32.c (COFF_LONG_FILENAMES): Define.
5404 1.1 skrll * coff-stgo32.c (COFF_LONG_FILENAMES): Likewise.
5405 1.1 skrll * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Remove .bss entry.
5406 1.1 skrll * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
5407 1.1 skrll
5408 1.1 skrll 2001-01-25 Kazu Hirata <kazu (a] hxi.com>
5409 1.1 skrll
5410 1.1 skrll * bfd-in2.h: Rebuild.
5411 1.1 skrll * libbfd.h: Likewise.
5412 1.1 skrll
5413 1.1 skrll 2001-01-23 H.J. Lu <hjl (a] gnu.org>
5414 1.1 skrll
5415 1.1 skrll * bfd-in2.h: Rebuild.
5416 1.1 skrll
5417 1.1 skrll 2001-01-23 H.J. Lu <hjl (a] gnu.org>
5418 1.1 skrll
5419 1.1 skrll * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf)
5420 1.1 skrll is NULL or PRIV(vms_rec) is outside of the buffer.
5421 1.1 skrll
5422 1.1 skrll 2001-01-23 Kazu Hirata <kazu (a] hxi.com>
5423 1.1 skrll
5424 1.1 skrll * coff64-rs6000.c: Fix formatting.
5425 1.1 skrll * coff-arm.c: Likewise.
5426 1.1 skrll * coffgen.c: Likewise.
5427 1.1 skrll * cofflink.c: Likewise.
5428 1.1 skrll * coff-mcore.c: Likewise.
5429 1.1 skrll * coff-mips.c: Likewise.
5430 1.1 skrll * coff-pmac.c: Likewise.
5431 1.1 skrll * coff-ppc.c: Likewise.
5432 1.1 skrll * coff-rs6000.c: Likewise.
5433 1.1 skrll * elf32.c: Likewise.
5434 1.1 skrll * elf32-fr30.c: Likewise.
5435 1.1 skrll * elf32-i370.c: Likewise.
5436 1.1 skrll * elf32-i860.c: Likewise.
5437 1.1 skrll * elf32-m32r.c: Likewise.
5438 1.1 skrll * elf32-m68k.c: Likewise.
5439 1.1 skrll * elf32-mcore.c: Likewise.
5440 1.1 skrll * elf32-ppc.c: Likewise.
5441 1.1 skrll * elf32-sh.c: Likewise.
5442 1.1 skrll * elf32-v850.c: Likewise.
5443 1.1 skrll * elf64-alpha.c: Likewise.
5444 1.1 skrll * elf64-sparc.c: Likewise.
5445 1.1 skrll * elflink.c: Likewise.
5446 1.1 skrll * elflink.h: Likewise.
5447 1.1 skrll * elf-m10200.c: Likewise.
5448 1.1 skrll * elf-m10300.c: Likewise.
5449 1.1 skrll * elfxx-ia64.c: Likewise.
5450 1.1 skrll
5451 1.1 skrll * aoutx.h: Fix formatting.
5452 1.1 skrll * bfd.c: Likewise.
5453 1.1 skrll * bfd-in2.h: Likewise.
5454 1.1 skrll * bfd-in.h: Likewise.
5455 1.1 skrll * cpu-i386.c: Likewise.
5456 1.1 skrll * cpu-m68hc11.c: Likewise.
5457 1.1 skrll * dwarf2.c: Likewise.
5458 1.1 skrll * elf64-x86-64.c: Likewise.
5459 1.1 skrll * format.c: Likewise.
5460 1.1 skrll * freebsd.h: Likewise.
5461 1.1 skrll * hash.c: Likewise.
5462 1.1 skrll * hp300hpux.c: Likewise.
5463 1.1 skrll * hppabsd-core.c: Likewise.
5464 1.1 skrll * hpux-core.c: Likewise.
5465 1.1 skrll
5466 1.1 skrll 2001-01-22 Bo Thorsen <bo (a] suse.de>
5467 1.1 skrll
5468 1.1 skrll * elf64-x86-64.c: Added PIC support for X86-64.
5469 1.1 skrll (elf64_x86_64_link_hash_newfunc): Function added.
5470 1.1 skrll (elf64_x86_64_link_hash_table_create): Likewise.
5471 1.1 skrll (elf64_x86_64_check_relocs): Likewise.
5472 1.1 skrll (elf64_x86_64_gc_mark_hook): Likewise.
5473 1.1 skrll (elf64_x86_64_gc_sweep_hook): Likewise.
5474 1.1 skrll (elf64_x86_64_adjust_dynamic_symbol): Likewise.
5475 1.1 skrll (elf64_x86_64_size_dynamic_sections): Likewise.
5476 1.1 skrll (elf64_x86_64_discard_copies): Likewise.
5477 1.1 skrll (elf64_x86_64_finish_dynamic_symbol): Likewise.
5478 1.1 skrll (elf64_x86_64_finish_dynamic_sections): Likewise.
5479 1.1 skrll (elf64_x86_64_relocate_section): Add relocation of PIC sections.
5480 1.1 skrll
5481 1.1 skrll 2001-01-21 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl>
5482 1.1 skrll
5483 1.1 skrll * Makefile.am (install-data-local): Make use of $(DESTDIR).
5484 1.1 skrll * Makefile.in: Regenerate.
5485 1.1 skrll
5486 1.1 skrll 2001-01-21 Kazu Hirata <kazu (a] hxi.com>
5487 1.1 skrll
5488 1.1 skrll * coff-a29k.c: Fix formatting.
5489 1.1 skrll
5490 1.1 skrll 2001-01-19 H.J. Lu <hjl (a] gnu.org>
5491 1.1 skrll
5492 1.1 skrll * elf32-i386.c (elf_i386_check_relocs): Report files with bad
5493 1.1 skrll relocation section names.
5494 1.1 skrll (elf_i386_relocate_section): Report files with bad relocation
5495 1.1 skrll section names and return false.
5496 1.1 skrll
5497 1.1 skrll 2001-01-17 Bo Thorsen <bo (a] suse.de>
5498 1.1 skrll
5499 1.1 skrll * targets.c: Alphabetize list of xvecs.
5500 1.1 skrll
5501 1.1 skrll 2001-01-14 Alan Modra <alan (a] linuxcare.com.au>
5502 1.1 skrll
5503 1.1 skrll * config.bfd: Add linux target variant for elfxx-hppa.
5504 1.1 skrll * configure.in: Recognize bfd_elf32_hppa_linux_vec and
5505 1.1 skrll bfd_elf64_hppa_linux_vec.
5506 1.1 skrll * configure: Regenerate.
5507 1.1 skrll * elf64-hppa.c: Include elf64-target.h again to support linux
5508 1.1 skrll target variant.
5509 1.1 skrll (elf64_hppa_post_process_headers): Set ELFOSABI_LINUX for linux.
5510 1.1 skrll * elf32-hppa.c: Include elf32-target.h again to support linux
5511 1.1 skrll target variant.
5512 1.1 skrll (elf32_hppa_post_process_headers): New function.
5513 1.1 skrll (elf_backend_post_process_headers): Define.
5514 1.1 skrll * targets.c (bfd_target_vector): Add bfd_elf64_hppa_linux_vec and
5515 1.1 skrll bfd_elf32_hppa_linux_vec.
5516 1.1 skrll
5517 1.1 skrll * elf32-hppa.c (elf32_hppa_link_hash_table): Add text_segment_base,
5518 1.1 skrll and data_segment_base fields.
5519 1.1 skrll (elf32_hppa_link_hash_table_create ): Init them.
5520 1.1 skrll (elf32_hppa_check_relocs): Update comments.
5521 1.1 skrll (hppa_record_segment_addr): New function.
5522 1.1 skrll (elf32_hppa_relocate_section): Call it.
5523 1.1 skrll (final_link_relocate): Handle R_PARISC_SEGREL32.
5524 1.1 skrll (elf32_hppa_final_link): New function.
5525 1.1 skrll (bfd_elf32_bfd_final_link): Define to call it.
5526 1.1 skrll (hppa_unwind_entry_compare): New function.
5527 1.1 skrll * cache.c (bfd_open_file): Create files in write+read mode.
5528 1.1 skrll
5529 1.1 skrll * elf-hppa.h (elf_hppa_howto_table): Set bitsize value for
5530 1.1 skrll SEGREL32 and numerous other relocs. Change duplicate
5531 1.1 skrll R_PARISC_NONE relocs to R_PARISC_UNIMPLEMENTED.
5532 1.1 skrll
5533 1.1 skrll * opncls.c (bfd_fdopenr): Add parens like the comment says around
5534 1.1 skrll O_ACCMODE.
5535 1.1 skrll
5536 1.1 skrll * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Don't create
5537 1.1 skrll .plt entries for DT_INIT and DT_FINI.
5538 1.1 skrll (elf32_hppa_finish_dynamic_sections): Remove special handling of
5539 1.1 skrll DT_INIT and DT_FINI.
5540 1.1 skrll
5541 1.1 skrll * elf64-hppa.c (elf64_hppa_finish_dynamic_symbol): Use 16-bit
5542 1.1 skrll offsets for stub .plt access if wide mode. Check offset in range.
5543 1.1 skrll
5544 1.1 skrll 2001-01-13 Nick Clifton <nickc (a] redhat.com>
5545 1.1 skrll
5546 1.1 skrll * elf32-fr30.c (fr30_elf_howto_table): Remove spurious blank
5547 1.1 skrll line.
5548 1.1 skrll
5549 1.1 skrll * coffcode.h (coff_canonicalize_reloc): Remove spurious blank
5550 1.1 skrll line.
5551 1.1 skrll
5552 1.1 skrll 2001-01-12 Alan Modra <alan (a] linuxcare.com.au>
5553 1.1 skrll
5554 1.1 skrll * configure.in ([bfd_elf64_x86_64_vec]): Set target64.
5555 1.1 skrll * configure: Regenerate.
5556 1.1 skrll
5557 1.1 skrll 2001-01-11 Peter Targett <peter.targett (a] arccores.com>
5558 1.1 skrll
5559 1.1 skrll * bfd-in2.h (bfd_architecture): Add bfd_mach_arc_5,
5560 1.1 skrll bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8 for ARC variants.
5561 1.1 skrll * cpu-arc.c (arch_info_struct): Add entries for variants.
5562 1.1 skrll (bfd_arc_arch) Set default to bfd_mach_arc_5.
5563 1.1 skrll (arc_get_mach) Don't assume machine names prefixed arc- before
5564 1.1 skrll testing.
5565 1.1 skrll * elf32-arc.c (arc_elf_object_p): Set machine number based on new
5566 1.1 skrll selections.
5567 1.1 skrll (arc_elf_final_write_processing) Likewise.
5568 1.1 skrll (ELF_MACHINE_CODE) Use EM_ARC.
5569 1.1 skrll
5570 1.1 skrll 2001-01-10 Nick Clifton <nickc (a] redhat.com>
5571 1.1 skrll
5572 1.1 skrll * coff-arm.c (LOCAL_LABEL_PREFIX): Change definition to "".
5573 1.1 skrll
5574 1.1 skrll 2001-01-07 Philip Blundell <philb (a] gnu.org>
5575 1.1 skrll
5576 1.1 skrll * README: Replace `bug-gnu-utils (a] gnu.org' with
5577 1.1 skrll `bug-binutils (a] gnu.org'.
5578 1.1 skrll
5579 1.1 skrll 2001-01-04 Kazu Hirata <kazu (a] hxi.com>
5580 1.1 skrll
5581 1.1 skrll * som.c: Fix formatting.
5582 1.1 skrll
5583 1.1 skrll 2001-01-03 Kazu Hirata <kazu (a] hxi.com>
5584 1.1 skrll
5585 1.1 skrll * ecoffswap.h: Fix formatting.
5586 1.1 skrll * elf-bfd.h: Likewise.
5587 1.1 skrll * elfarm-nabi.c: Likewise.
5588 1.1 skrll * elfarm-oabi.c: Likewise.
5589 1.1 skrll * elfcode.h: Likewise.
5590 1.1 skrll * elfcore.h: Likewise.
5591 1.1 skrll * elflink.c: Likewise.
5592 1.1 skrll * elflink.h: Likewise.
5593 1.1 skrll * elfxx-ia64.c: Likewise.
5594 1.1 skrll * elfxx-target.h: Likewise.
5595 1.1 skrll * libbfd.c: Likewise
5596 1.1 skrll * linker.c: Likewise.
5597 1.1 skrll * lynx-core.c: Likewise.
5598 1.1 skrll
5599 1.1 skrll 2001-01-02 Kazu Hirata <kazu (a] hxi.com>
5600 1.1 skrll
5601 1.1 skrll * pc532-mach.c: Fix formatting.
5602 1.1 skrll * pe-arm.c: Likewise.
5603 1.1 skrll * pe-i386.c: Likewise.
5604 1.1 skrll * pe-mips.c: Likewise.
5605 1.1 skrll * pe-ppc.c: Likewise.
5606 1.1 skrll * pe-sh.c: Likewise.
5607 1.1 skrll * pei-mips.c: Likewise.
5608 1.1 skrll * pei-sh.c: Likewise.
5609 1.1 skrll * peicode.h: Likewise.
5610 1.1 skrll * ppcboot.c: Likewise.
5611 1.1 skrll * ptrace-core.c: Likewise.
5612 1.1 skrll
5613 1.1 skrll 2001-01-01 Kazu Hirata <kazu (a] hxi.com>
5614 1.1 skrll
5615 1.1 skrll * reloc.c: Fix formatting.
5616 1.1 skrll * riscix.c: Likewise.
5617 1.1 skrll * rs6000-core.c: Likewise.
5618 1.1 skrll * xcoff-target.h: Likewise.
5619 1.1 skrll
5620 1.1 skrll 2000-12-29 Hans-Peter Nilsson <hp (a] bitrange.com>
5621 1.1 skrll
5622 1.1 skrll * elfcode.h (elf_object_p): Also restore the bfd mach field on
5623 1.1 skrll error, by calling bfd_default_set_arch_mach with incoming
5624 1.1 skrll values.
5625 1.1 skrll
5626 1.1 skrll 2000-12-26 Kazu Hirata <kazu (a] hxi.com>
5627 1.1 skrll
5628 1.1 skrll * vaxnetbsd.c: Fix formatting.
5629 1.1 skrll * versados.c: Likewise.
5630 1.1 skrll * vms-gsd.c: Likewise.
5631 1.1 skrll * vms-hdr.c: Likewise.
5632 1.1 skrll * vms-misc.c: Likewise.
5633 1.1 skrll
5634 1.1 skrll 2000-12-25 Alexandre Oliva <aoliva (a] redhat.com>
5635 1.1 skrll
5636 1.1 skrll * archive.c (coff_write_armap): Don't write more than symbol_count
5637 1.1 skrll `archive_member_file_ptr's.
5638 1.1 skrll
5639 1.1 skrll 2000-12-25 Kazu Hirata <kazu (a] hxi.com>
5640 1.1 skrll
5641 1.1 skrll * vms-tir.c: Fix formatting.
5642 1.1 skrll
5643 1.1 skrll 2000-12-23 Kazu Hirata <kazu (a] hxi.com>
5644 1.1 skrll
5645 1.1 skrll * vms.c: Fix formatting.
5646 1.1 skrll * vms.h: Likewise.
5647 1.1 skrll
5648 1.1 skrll 2000-12-21 Santeri Paavolainen <santtu (a] ssh.com>
5649 1.1 skrll
5650 1.1 skrll * vms-hdr.c: Include alloca.h if HAVE_ALLOCA_H is defined.
5651 1.1 skrll
5652 1.1 skrll * peicode.h (pe_ILF_object_p): Add const to import of TARGET_LITTLE_SYM.
5653 1.1 skrll
5654 1.1 skrll * elf32-m32r.c (m32r_elf_generic_reloc): Add cast to avoid (void *)
5655 1.1 skrll arithmetic.
5656 1.1 skrll
5657 1.1 skrll * elf32-fr30.c: Add casts to avoid (void *) arithmetic.
5658 1.1 skrll
5659 1.1 skrll * coffcode.h (styp_to_sec_flags): Add empty statement after label.
5660 1.1 skrll
5661 1.1 skrll 2000-12-21 Richard Sandiford <rsandifo (a] redhat.com>
5662 1.1 skrll
5663 1.1 skrll * libbfd.c (bfd_get_bits): Added
5664 1.1 skrll (bfd_put_bits): Likewise
5665 1.1 skrll * bfd-in.h: Declared the above.
5666 1.1 skrll * bfd-in2.h: Regenerated.
5667 1.1 skrll
5668 1.1 skrll 2000-12-20 Kazu Hirata <kazu (a] hxi.com>
5669 1.1 skrll
5670 1.1 skrll * targets.c: Fix formatting.
5671 1.1 skrll * tekhex.c: Likewise.
5672 1.1 skrll * trad-core.c: Likewise.
5673 1.1 skrll
5674 1.1 skrll 2000-12-19 Kazu Hirata <kazu (a] hxi.com>
5675 1.1 skrll
5676 1.1 skrll * sco5-core.c: Fix formatting.
5677 1.1 skrll * section.c: Likewise.
5678 1.1 skrll * sparclinux.c: Likewise.
5679 1.1 skrll * sparclynx.c: Likewise.
5680 1.1 skrll * sparcnetbsd.c: Likewise.
5681 1.1 skrll * srec.c: Likewise.
5682 1.1 skrll * stabs.c: Likewise.
5683 1.1 skrll * stab-syms.c: Likewise.
5684 1.1 skrll * sunos.c: Likewise.
5685 1.1 skrll * syms.c: Likewise.
5686 1.1 skrll * sysdep.h: Likewise.
5687 1.1 skrll
5688 1.1 skrll 2000-12-18 Nick Clifton <nickc (a] redhat.com>
5689 1.1 skrll
5690 1.1 skrll * coff-arm.c (EXTRA_S_FLAGS): Only define if not already
5691 1.1 skrll defined.
5692 1.1 skrll * epoc-pe-arm.c (EXTRA_S_FLAGS): Define.
5693 1.1 skrll * epoc-pei-arm.c (EXTRA_S_FLAGS): Define.
5694 1.1 skrll
5695 1.1 skrll 2000-12-18 Nick Clifton <nickc (a] redhat.com>
5696 1.1 skrll
5697 1.1 skrll * vms-misc.c (_bfd_vms_get_record): Add default case to
5698 1.1 skrll file_format switch.
5699 1.1 skrll
5700 1.1 skrll 2000-12-15 Miloslav Trmac <mitr (a] volny.cz>
5701 1.1 skrll
5702 1.1 skrll * elfcore.h (elf_core_file_p): Move to the start of the program
5703 1.1 skrll headers before attempting to read them.
5704 1.1 skrll
5705 1.1 skrll 2000-12-14 Kazu Hirata <kazu (a] hxi.com>
5706 1.1 skrll
5707 1.1 skrll * peigen.c: Fix formatting.
5708 1.1 skrll * som.c: Likewise.
5709 1.1 skrll * som.h: Likewise.
5710 1.1 skrll
5711 1.1 skrll 2000-12-13 Kazu Hirata <kazu (a] hxi.com>
5712 1.1 skrll
5713 1.1 skrll * peigen.c: Fix formatting.
5714 1.1 skrll
5715 1.1 skrll 2000-12-12 Jim Wilson <wilson (a] redhat.com>
5716 1.1 skrll
5717 1.1 skrll * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
5718 1.1 skrll
5719 1.1 skrll 2000-12-08 Mark Salter <msalter (a] redhat.com>
5720 1.1 skrll
5721 1.1 skrll * binary.c (binary_set_section_contents): Ignore sections
5722 1.1 skrll with zero size.
5723 1.1 skrll
5724 1.1 skrll 2000-12-12 Kazu Hirata <kazu (a] hxi.com>
5725 1.1 skrll
5726 1.1 skrll * m68klinux.c: Fix formatting.
5727 1.1 skrll * m68knetbsd.c: Likewise.
5728 1.1 skrll * mipsbsd.c: Likewise.
5729 1.1 skrll * netbsd-core.c: Likewise.
5730 1.1 skrll * netbsd.h: Likewise.
5731 1.1 skrll * newsos3.c: Likewise.
5732 1.1 skrll * nlm32-alpha.c: Likewise.
5733 1.1 skrll * nlm32-i386.c: Likewise.
5734 1.1 skrll * nlm32-ppc.c: Likewise.
5735 1.1 skrll * nlm32-sparc.c: Likewise.
5736 1.1 skrll * nlmcode.h: Likewise.
5737 1.1 skrll * nlmswap.h: Likewise.
5738 1.1 skrll * nlm-target.h: Likewise.
5739 1.1 skrll * ns32knetbsd.c: Likewise.
5740 1.1 skrll
5741 1.1 skrll 2000-12-10 Fred Fish <fnf (a] be.com>
5742 1.1 skrll
5743 1.1 skrll * elflink.h (elf_link_output_extsym): Don't complain about undefined
5744 1.1 skrll symbols in shared objects if allow_shlib_undefined is true.
5745 1.1 skrll
5746 1.1 skrll 2000-12-12 Nick Clifton <nickc (a] redhat.com>
5747 1.1 skrll
5748 1.1 skrll * cpu-sh.c: Fix formattng.
5749 1.1 skrll * elf.c: Fix formattng.
5750 1.1 skrll * elf32-mips.c: Fix formattng.
5751 1.1 skrll * elf32-sh.c: Fix formattng.
5752 1.1 skrll * elf64-alpha.c: Fix formattng.
5753 1.1 skrll
5754 1.1 skrll 2000-12-09 Nick Clifton <nickc (a] redhat.com>
5755 1.1 skrll
5756 1.1 skrll * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Pass
5757 1.1 skrll dwarf2_find_line_info as last parameter to invocation of
5758 1.1 skrll _bfd_dwarf2_find_nearest_line.
5759 1.1 skrll * elf32-arm.h (elf32_arm_find_nearest_line): Pass
5760 1.1 skrll dwarf2_find_line_info as last parameter to invocation of
5761 1.1 skrll _bfd_dwarf2_find_nearest_line.
5762 1.1 skrll
5763 1.1 skrll 2000-12-08 Mark Elbrecht <snowball3 (a] bigfoot.com>
5764 1.1 skrll
5765 1.1 skrll * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here...
5766 1.1 skrll (BFD_LIBS): ...to here.
5767 1.1 skrll (BFD32_BACKENDS_CFILES): Move dwarf2.c from here...
5768 1.1 skrll (BFD_LIBS_CFILES): ...to here.
5769 1.1 skrll * Makefile.in: Regenerate.
5770 1.1 skrll * configure.in: Remove dwarf.lo from the elf shell variable.
5771 1.1 skrll * configure: Regenerate.
5772 1.1 skrll * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info.
5773 1.1 skrll * libcoff.h: Regenerate.
5774 1.1 skrll * coffgen.c (coff_find_nearest_line): Call
5775 1.1 skrll _bfd_dwarf2_find_nearest_line.
5776 1.1 skrll * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update
5777 1.1 skrll accordingly.
5778 1.1 skrll (read_abbrevs): Likewise
5779 1.1 skrll (decode_line_info): Likewise.
5780 1.1 skrll (parse_comp_unit): Likewise.
5781 1.1 skrll (comp_unit_find_nearest_line): Likewise.
5782 1.1 skrll * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype.
5783 1.1 skrll * libbfd.h: Regenerate.
5784 1.1 skrll * elf.c (_bfd_elf_find_nearest_line): Update call.
5785 1.1 skrll * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR.
5786 1.1 skrll * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH.
5787 1.1 skrll * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros.
5788 1.1 skrll (sec_to_styp_flags): Use them. Handle DWARF2 sections.
5789 1.1 skrll (styp_to_sec_flags): Handle DWARF2 sections.
5790 1.1 skrll * elf32-arm.h (elf32_arm_find_nearest_line): Add parameter to call
5791 1.1 skrll to _bfd_find_nearest_line.
5792 1.1 skrll * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to
5793 1.1 skrll call to _bfd_find_nearest_line.
5794 1.1 skrll
5795 1.1 skrll 2000-12-08 Kazu Hirata <kazu (a] hxi.com>
5796 1.1 skrll
5797 1.1 skrll * coffgen.c: Fix formatting.
5798 1.1 skrll * elf-m10300.c: Likewise.
5799 1.1 skrll * elf32-i386.c: Likewise.
5800 1.1 skrll * elf32-i960.c: Likewise.
5801 1.1 skrll * elf32-m68k.c: Likewise.
5802 1.1 skrll * elf32-mcore.c: Likewise.
5803 1.1 skrll * elf32-ppc.c: Likewise.
5804 1.1 skrll * elf32-sh.c: Likewise.
5805 1.1 skrll * elf32-sparc.c: Likewise.
5806 1.1 skrll * elf32-v850.c: Likewise.
5807 1.1 skrll * elf64-alpha.c: Likewise.
5808 1.1 skrll * elf64-hppa.c: Likewise.
5809 1.1 skrll * elf64-mips.c: Likewise.
5810 1.1 skrll * elf64-sparc.c: Likewise.
5811 1.1 skrll
5812 1.1 skrll 2000-12-07 Kazu Hirata <kazu (a] hxi.com>
5813 1.1 skrll
5814 1.1 skrll * elf32-ppc.c: Fix formatting.
5815 1.1 skrll * elf64-x86-64.c: Likewise.
5816 1.1 skrll
5817 1.1 skrll 2000-12-06 Ulf Carlsson <ulfc (a] engr.sgi.com>
5818 1.1 skrll
5819 1.1 skrll From Ralf Baechle <ralf (a] gnu.org>
5820 1.1 skrll
5821 1.1 skrll * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit
5822 1.1 skrll BFDs containing no sections or empty .text, .data or .bss sections
5823 1.1 skrll to be merged, regardless of their flags.
5824 1.1 skrll
5825 1.1 skrll 2000-12-06 Kazu Hirata <kazu (a] hxi.com>
5826 1.1 skrll
5827 1.1 skrll * elf32-m32r.c: Fix formatting.
5828 1.1 skrll * elf32-m68hc11.c: Likewise.
5829 1.1 skrll * elf32-m68hc12.c: Likewise.
5830 1.1 skrll * elf32-m68k.c: Likewise.
5831 1.1 skrll * elf32-mcore.c: Likewise.
5832 1.1 skrll * elf32-pj.c: Likewise.
5833 1.1 skrll * elf32-ppc.c: Likewise.
5834 1.1 skrll
5835 1.1 skrll 2000-12-05 Kazu Hirata <kazu (a] hxi.com>
5836 1.1 skrll
5837 1.1 skrll * elf32-fr30.c: Fix formatting.
5838 1.1 skrll * elf32-hppa.c: Likewise.
5839 1.1 skrll * elf32-i370.c: Likewise.
5840 1.1 skrll * elf32-i386.c: Likewise.
5841 1.1 skrll * elf32-i860.c: Likewise.
5842 1.1 skrll * elf32-i960.c: Likewise.
5843 1.1 skrll
5844 1.1 skrll 2000-12-03 Kazu Hirata <kazu (a] hxi.com>
5845 1.1 skrll
5846 1.1 skrll * elf32-arm.h: Fix formatting.
5847 1.1 skrll * elf32-avr.c: Likewise.
5848 1.1 skrll * elf32-cris.c: Likewise.
5849 1.1 skrll * elf32-d10v.c: Likewise.
5850 1.1 skrll * elf32-d30v.c: Likewise.
5851 1.1 skrll * elf-hppa.h: Likewise.
5852 1.1 skrll * elf-m10200.c: Likewise.
5853 1.1 skrll * elf-m10300.c: Likewise.
5854 1.1 skrll
5855 1.1 skrll 2000-12-01 Chris Demetriou <cgd (a] sibyte.com>
5856 1.1 skrll
5857 1.1 skrll * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and
5858 1.1 skrll bfd_mach_mips32_4k. Update FIXME comment.
5859 1.1 skrll * archures.c (bfd_mach_mips32): New constant.
5860 1.1 skrll (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
5861 1.1 skrll the latter, renumber it.
5862 1.1 skrll * bfd-in2.h (bfd_mach_mips32): New constant.
5863 1.1 skrll (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
5864 1.1 skrll the latter, renumber it.
5865 1.1 skrll * cpu-mips.c (I_mips32): New constant.
5866 1.1 skrll (I_mips4K, I_mips32_4k): Rename the former to the latter.
5867 1.1 skrll (arch_info_struct): Add bfd_mach_mips32 entry, replace
5868 1.1 skrll bfd_mach_mips4K entry with bfd_mach_mips32_4k entry.
5869 1.1 skrll * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case.
5870 1.1 skrll (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32
5871 1.1 skrll with E_MIPS_MACH_MIPS32_4K.
5872 1.1 skrll (_bfd_mips_elf_final_write_processing): Replace
5873 1.1 skrll bfd_mach_mips4K with bfd_mach_mips32_4k case, add
5874 1.1 skrll bfd_mach_mips32 case.
5875 1.1 skrll (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing
5876 1.1 skrll comparison with support for MIPS32.
5877 1.1 skrll (_bfd_mips_elf_print_private_bfd_data): Print ISA name for
5878 1.1 skrll MIPS32.
5879 1.1 skrll
5880 1.1 skrll * aoutx.h (NAME(aout,machine_type)): Add cases for
5881 1.1 skrll bfd_mach_mips5 and bfd_mach_mips64.
5882 1.1 skrll * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants.
5883 1.1 skrll * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise.
5884 1.1 skrll * cpu_mips.c (I_mips5, I_mips64): New definitions.
5885 1.1 skrll (arch_info_struct): Add entries for bfd_mach_mips5 and
5886 1.1 skrll bfd_mach_mips64.
5887 1.1 skrll * elf32-mips.c (elf_mips_isa, elf_mips_mach,
5888 1.1 skrll _bfd_mips_elf_print_private_bfd_data): Add cases for
5889 1.1 skrll E_MIPS_ARCH_5 and E_MIPS_ARCH_64.
5890 1.1 skrll (_bfd_mips_elf_final_write_processing): Add cases for
5891 1.1 skrll bfd_mach_mips5 and bfd_mach_mips64.
5892 1.1 skrll
5893 1.1 skrll * aoutx.h (NAME(aout,machine_type)): Add a
5894 1.1 skrll bfd_mach_mips_sb1 case.
5895 1.1 skrll * archures.c (bfd_mach_mips_sb1): New constant.
5896 1.1 skrll * bfd-in2.h (bfd_mach_mips_sb1): New constant.
5897 1.1 skrll * cpu-mips.c (I_sb1): New constant.
5898 1.1 skrll (arch_info_struct): Add entry for bfd_mach_mips_sb1.
5899 1.1 skrll * elf32-mips.c (elf_mips_mach): Add case for
5900 1.1 skrll E_MIPS_MACH_SB1.
5901 1.1 skrll (_bfd_mips_elf_final_write_processing): Add case for
5902 1.1 skrll bfd_mach_mips_sb1.
5903 1.1 skrll
5904 1.1 skrll 2000-12-01 Joel Sherrill <joel (a] OARcorp.com>
5905 1.1 skrll
5906 1.1 skrll * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets.
5907 1.1 skrll (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
5908 1.1 skrll (sparc*-*-rtems*): Switched from a.out to ELF.
5909 1.1 skrll
5910 1.1 skrll 2000-11-30 Jan Hubicka <jh (a] suse.cz>
5911 1.1 skrll
5912 1.1 skrll * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo
5913 1.1 skrll BFD64_BACKENDS_CFILES): Add elf64-x86-64.c
5914 1.1 skrll (elf64-x86-64.lo): Add dependencies.
5915 1.1 skrll * archures.c (DESCRIPTION): Add bfd_mach_x86_64,
5916 1.1 skrll bfd_mach_x86_64_intel_syntax.
5917 1.1 skrll * elf.c (prep_headers): Use EM_x86_64 for 64bit output.
5918 1.1 skrll * config.bfd (x86_64): Add.
5919 1.1 skrll * configure.in: Add support for bfd_elf64_x86_64_vec.
5920 1.1 skrll * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add.
5921 1.1 skrll (bfd_i386_arch, i8086_ar): Link in.
5922 1.1 skrll * elf64-x86-64.c: New file.
5923 1.1 skrll * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*.
5924 1.1 skrll * targets.c (bfd_elf64_x86_64_vec): Add.
5925 1.1 skrll (bfd_target_vect): Add bfd_elf64_x86_64_vec.
5926 1.1 skrll
5927 1.1 skrll 2000-11-30 Kazu Hirata <kazu (a] hxi.com>
5928 1.1 skrll
5929 1.1 skrll * xcofflink.c: Fix formatting.
5930 1.1 skrll
5931 1.1 skrll 2000-11-28 Kazu Hirata <kazu (a] hxi.com>
5932 1.1 skrll
5933 1.1 skrll * aoutx.h: Fix formatting.
5934 1.1 skrll * bfd-in.h: Likewise.
5935 1.1 skrll * bfd-in2.h: Likewise.
5936 1.1 skrll * cache.c: Likewise.
5937 1.1 skrll * cisco-core.c: Likewise.
5938 1.1 skrll * coff64-rs6000.c: Likewise.
5939 1.1 skrll * coffcode.h: Likewise.
5940 1.1 skrll * coffswap.h: Likewise.
5941 1.1 skrll * corefile.c: Likewise.
5942 1.1 skrll * elf32-mips.c: Likewise.
5943 1.1 skrll
5944 1.1 skrll 2000-11-27 Kazu Hirata <kazu (a] hxi.com>
5945 1.1 skrll
5946 1.1 skrll * aout-adobe.c: Fix formatting.
5947 1.1 skrll * coff64-rs6000.c: Likewise.
5948 1.1 skrll * coffgen.c: Likewise.
5949 1.1 skrll * cofflink.c: Likewise.
5950 1.1 skrll
5951 1.1 skrll 2000-11-27 Philip Blundell <pb (a] futuretv.com>
5952 1.1 skrll
5953 1.1 skrll * libcoff-in.h (coff_tdata): Add `strings_written' flag.
5954 1.1 skrll (obj_coff_strings_written): New accessor macro for above.
5955 1.1 skrll * libcoff.h: Regenerate.
5956 1.1 skrll * cofflink.c (_bfd_coff_final_link): Say that we wrote the
5957 1.1 skrll strings.
5958 1.1 skrll * coffcode.h (coff_write_object_contents): No need to write out
5959 1.1 skrll the string table if it's already been done.
5960 1.1 skrll
5961 1.1 skrll 2000-11-22 Philip Blundell <pb (a] futuretv.com>
5962 1.1 skrll
5963 1.1 skrll * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
5964 1.1 skrll weak undefined symbols.
5965 1.1 skrll
5966 1.1 skrll 2000-11-24 Nick Clifton <nickc (a] redhat.com>
5967 1.1 skrll
5968 1.1 skrll * archures.c (bfd_mach_arm_5TE): Define.
5969 1.1 skrll (bfd_mach_arm+XScale): Define.
5970 1.1 skrll * bfd-in2.h: Regenerate.
5971 1.1 skrll
5972 1.1 skrll * coff-arm.c (coff_arm_reloc_type_lookup): Accept
5973 1.1 skrll BFD_RELOC_ARM_PCREL_BLX.
5974 1.1 skrll
5975 1.1 skrll * coffcode.h (coff_set_flags): Set flags for 5t, 5te and
5976 1.1 skrll XScale machine numbers.
5977 1.1 skrll
5978 1.1 skrll * config.bfd (xscale-elf): Add target.
5979 1.1 skrll (xscale-coff): Add target.
5980 1.1 skrll
5981 1.1 skrll * cpu-arm.c: Add xscale machine name.
5982 1.1 skrll Add v5t, v5te and XScale machine numbers.
5983 1.1 skrll
5984 1.1 skrll 2000-11-23 Kazu Hirata <kazu (a] hxi.com>
5985 1.1 skrll
5986 1.1 skrll * aix386-core.c: Fix formatting.
5987 1.1 skrll
5988 1.1 skrll 2000-11-22 Jim Wilson <wilson (a] redhat.com>
5989 1.1 skrll
5990 1.1 skrll * coff-ia64.c (howto_table): Use EMPTY_HOWTO.
5991 1.1 skrll (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
5992 1.1 skrll * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
5993 1.1 skrll (ins_imms_scaled): Initialize sign_bit at function entry.
5994 1.1 skrll (elf64_ia64_operands): Add missing initializers.
5995 1.1 skrll * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
5996 1.1 skrll elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
5997 1.1 skrll elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
5998 1.1 skrll elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
5999 1.1 skrll elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
6000 1.1 skrll parameters.
6001 1.1 skrll (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
6002 1.1 skrll and free_extsyms at function entry.
6003 1.1 skrll (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
6004 1.1 skrll (elfNN_ia64_create_dynamic_sections): Delete unused local h.
6005 1.1 skrll (get_got): Delete unused local srel.
6006 1.1 skrll (elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
6007 1.1 skrll (elfNN_ia64_relocate_section): Delete unused local dynindx.
6008 1.1 skrll
6009 1.1 skrll 2000-11-21 Kazu Hirata <kazu (a] hxi.com>
6010 1.1 skrll
6011 1.1 skrll * coff-a29k.c: Fix formatting.
6012 1.1 skrll * coff-h8500.c: Likewise.
6013 1.1 skrll * coff-i960.c: Likewise.
6014 1.1 skrll * coff-ppc.c: Likewise.
6015 1.1 skrll * coff-rs6000.c: Likewise.
6016 1.1 skrll * coff-stgo32.c: Likewise.
6017 1.1 skrll * coff-tic54x.c: Likewise.
6018 1.1 skrll * coff-w65.c: Likewise.
6019 1.1 skrll * cpu-h8500.c: Likewise.
6020 1.1 skrll * cpu-hppa.c: Likewise.
6021 1.1 skrll * cpu-ns32k.c: Likewise.
6022 1.1 skrll * ecoff.c: Likewise.
6023 1.1 skrll * ecofflink.c: Likewise.
6024 1.1 skrll
6025 1.1 skrll 2000-11-21 Nick Clifton <nickc (a] redhat.com>
6026 1.1 skrll
6027 1.1 skrll * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and
6028 1.1 skrll remove possibility of infinite loop.
6029 1.1 skrll
6030 1.1 skrll 2000-11-20 Kazu Hirata <kazu (a] hxi.com>
6031 1.1 skrll
6032 1.1 skrll * aix386-core.c: Fix formatting.
6033 1.1 skrll * aout-adobe.c: Likewise.
6034 1.1 skrll * aout-arm.c: Likewise.
6035 1.1 skrll * aout-encap.c: Likewise.
6036 1.1 skrll * aout-ns32k.c: Likewise.
6037 1.1 skrll * aout-target.h: Likewise.
6038 1.1 skrll * aout-tic30.c: Likewise.
6039 1.1 skrll * aoutf1.h: Likewise.
6040 1.1 skrll * aoutx.h: Likewise.
6041 1.1 skrll * archive.c: Likewise.
6042 1.1 skrll * bfd-in.h: Likewise.
6043 1.1 skrll * bfd-in2.h: Likewise.
6044 1.1 skrll * bfd.c: Likewise.
6045 1.1 skrll * bout.c: Likewise.
6046 1.1 skrll
6047 1.1 skrll 2000-11-17 H.J. Lu <hjl (a] gnu.org>
6048 1.1 skrll
6049 1.1 skrll * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
6050 1.1 skrll pltoff entries for DT_INIT and DT_FINI.
6051 1.1 skrll (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
6052 1.1 skrll (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
6053 1.1 skrll entries.
6054 1.1 skrll
6055 1.1 skrll 2000-11-16 Richard Henderson <rth (a] redhat.com>
6056 1.1 skrll
6057 1.1 skrll * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
6058 1.1 skrll (allocate_dynrel_entries): Likewise.
6059 1.1 skrll (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
6060 1.1 skrll (set_pltoff_entry): Likewise.
6061 1.1 skrll (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
6062 1.1 skrll (elfNN_ia64_reloc_type_lookup): Likewise.
6063 1.1 skrll (elfNN_ia64_install_value): Likewise.
6064 1.1 skrll (elfNN_ia64_relocate_section): Likewise.
6065 1.1 skrll * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
6066 1.1 skrll (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
6067 1.1 skrll
6068 1.1 skrll 2000-11-16 Kazu Hirata <kazu (a] hxi.com>
6069 1.1 skrll
6070 1.1 skrll * cpu-a29k.c: Fix formatting.
6071 1.1 skrll * cpu-alpha.c: Likewise.
6072 1.1 skrll * cpu-arm.c: Likewise.
6073 1.1 skrll * cpu-avr.c: Likewise.
6074 1.1 skrll * cpu-d10v.c: Likewise.
6075 1.1 skrll * cpu-h8500.c: Likewise.
6076 1.1 skrll * cpu-hppa.c: Likewise.
6077 1.1 skrll * cpu-i370.c: Likewise.
6078 1.1 skrll * cpu-i386.c: Likewise.
6079 1.1 skrll * cpu-i960.c: Likewise.
6080 1.1 skrll * cpu-ia64-opc.c: Likewise.
6081 1.1 skrll * cpu-ia64.c: Likewise.
6082 1.1 skrll * cpu-m32r.c: Likewise.
6083 1.1 skrll * cpu-m68hc11.c: Likewise.
6084 1.1 skrll * cpu-m68hc12.c: Likewise.
6085 1.1 skrll * cpu-m68k.c: Likewise.
6086 1.1 skrll * cpu-m88k.c: Likewise.
6087 1.1 skrll * cpu-mips.c: Likewise.
6088 1.1 skrll * cpu-ns32k.c: Likewise.
6089 1.1 skrll * cpu-pj.c: Likewise.
6090 1.1 skrll * cpu-powerpc.c: Likewise.
6091 1.1 skrll * cpu-sh.c: Likewise.
6092 1.1 skrll * cpu-sparc.c: Likewise.
6093 1.1 skrll * cpu-tic54x.c: Likewise.
6094 1.1 skrll * cpu-v850.c: Likewise.
6095 1.1 skrll * cpu-vax.c: Likewise.
6096 1.1 skrll * cpu-w65.c: Likewise.
6097 1.1 skrll * cpu-we32k.c: Likewise.
6098 1.1 skrll * cpu-z8k.c: Likewise.
6099 1.1 skrll * dwarf1.c: Likewise.
6100 1.1 skrll * dwarf2.c: Likewise.
6101 1.1 skrll
6102 1.1 skrll 2000-11-15 Kazu Hirata <kazu (a] hxi.com>
6103 1.1 skrll
6104 1.1 skrll * coff-arm.c: Fix formatting.
6105 1.1 skrll * coff-ppc.c: Likewise.
6106 1.1 skrll * coff-rs6000.c: Likewise.
6107 1.1 skrll * coff-sh.c: Likewise.
6108 1.1 skrll * coff-sparc.c: Likewise.
6109 1.1 skrll * coff-tic30.c: Likewise.
6110 1.1 skrll * coff-tic54x.c: Likewise.
6111 1.1 skrll * coff-tic80.c: Likewise.
6112 1.1 skrll * coff-w65.c: Likewise.
6113 1.1 skrll * coff-we32k.c: Likewise.
6114 1.1 skrll * coff-z8k.c: Likewise.
6115 1.1 skrll
6116 1.1 skrll 2000-11-15 Richard Henderson <rth (a] redhat.com>
6117 1.1 skrll
6118 1.1 skrll * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
6119 1.1 skrll section with the same ALLOC|LOAD flags as the source section.
6120 1.1 skrll
6121 1.1 skrll 2000-11-14 Jakub Jelinek <jakub (a] redhat.com>
6122 1.1 skrll
6123 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
6124 1.1 skrll by STO_ALPHA constants.
6125 1.1 skrll
6126 1.1 skrll 2000-11-14 Kazu Hirata <kazu (a] hxi.com>
6127 1.1 skrll
6128 1.1 skrll * coff-pmac.c: Fix formatting.
6129 1.1 skrll * coff-ppc.c: Likewise.
6130 1.1 skrll
6131 1.1 skrll 2000-11-13 H.J. Lu <hjl (a] gnu.org>
6132 1.1 skrll
6133 1.1 skrll * elflink.h (elf_link_add_object_symbols): Also add indirect
6134 1.1 skrll symbols for common symbols with the default version.
6135 1.1 skrll
6136 1.1 skrll 2000-11-09 Philip Blundell <pb (a] futuretv.com>
6137 1.1 skrll
6138 1.1 skrll * section.c (STD_SECTION): Set gc_mark flag.
6139 1.1 skrll
6140 1.1 skrll 2000-11-11 Kazu Hirata <kazu (a] hxi.com>
6141 1.1 skrll
6142 1.1 skrll * coff-i960.c: Likewise.
6143 1.1 skrll * coff-m68k.c: Likewise.
6144 1.1 skrll * coff-m88k.c: Likewise.
6145 1.1 skrll * coff-mcore.c: Likewise.
6146 1.1 skrll * coff-mips.c: Likewise.
6147 1.1 skrll
6148 1.1 skrll 2000-11-11 Bernd Schmidt <bernds (a] cygnus.co.uk>
6149 1.1 skrll
6150 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
6151 1.1 skrll
6152 1.1 skrll 2000-11-10 Kazu Hirata <kazu (a] hxi.com>
6153 1.1 skrll
6154 1.1 skrll * coff-h8300.c: Fix formatting.
6155 1.1 skrll * coff-h8500.c: Likewise.
6156 1.1 skrll * coff-i386.c: Likewise.
6157 1.1 skrll * coff-i860.c: Likewise.
6158 1.1 skrll * coff-i960.c: Likewise.
6159 1.1 skrll * coff-ia64.c: Likewise.
6160 1.1 skrll
6161 1.1 skrll 2000-11-09 Kazu Hirata <kazu (a] hxi.com>
6162 1.1 skrll
6163 1.1 skrll * archive.c: Fix formatting.
6164 1.1 skrll * archures.c: Likewise.
6165 1.1 skrll
6166 1.1 skrll 2000-11-07 Richard Henderson <rth (a] redhat.com>
6167 1.1 skrll
6168 1.1 skrll * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
6169 1.1 skrll Set it before bfd_elf64_bfd_final_link call. Use it after the call.
6170 1.1 skrll * section.c (bfd_set_section_contents): Call memcpy if
6171 1.1 skrll section->contents set and location not equal to contents plus offset.
6172 1.1 skrll
6173 1.1 skrll 2000-11-08 Kazu Hirata <kazu (a] hxi.com>
6174 1.1 skrll
6175 1.1 skrll * bfd-in.h: Fix formatting.
6176 1.1 skrll * bfd-in2.h: Likewise.
6177 1.1 skrll * bfd.c: Likewise.
6178 1.1 skrll * binary.c: Likewise.
6179 1.1 skrll * bout.c: Likewise.
6180 1.1 skrll * coff-a29k.c: Likewise.
6181 1.1 skrll * coff-alpha.c: Likewise.
6182 1.1 skrll * coff-apollo.c: Likewise.
6183 1.1 skrll * coff-aux.c: Likewise.
6184 1.1 skrll
6185 1.1 skrll 2000-11-07 Kazu Hirata <kazu (a] hxi.com>
6186 1.1 skrll
6187 1.1 skrll * aix386-core.c: Fix formatting.
6188 1.1 skrll * aoutf1.h: Likewise.
6189 1.1 skrll * aoutx.h: Likewise.
6190 1.1 skrll * archures.c: Likewise.
6191 1.1 skrll * armnetbsd.c: Likewise.
6192 1.1 skrll
6193 1.1 skrll 2000-11-07 Alan Modra <alan (a] linuxcare.com.au>
6194 1.1 skrll
6195 1.1 skrll * coff-h8300.c (special): Adjust reloc address.
6196 1.1 skrll
6197 1.1 skrll 2000-11-06 Steve Ellcey <sje (a] cup.hp.com>
6198 1.1 skrll
6199 1.1 skrll * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
6200 1.1 skrll to differentiate elf32 and elf64 on ia64.
6201 1.1 skrll * bfd-in2.h: Regenerate.
6202 1.1 skrll * config.bfd: Add target for "ia64*-*-hpux*".
6203 1.1 skrll * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
6204 1.1 skrll * configure: Regenerate.
6205 1.1 skrll * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
6206 1.1 skrll * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
6207 1.1 skrll
6208 1.1 skrll * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
6209 1.1 skrll from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
6210 1.1 skrll * Makefile.in: Regnerate.
6211 1.1 skrll * elf64-ia64.c: Deleted.
6212 1.1 skrll * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
6213 1.1 skrll
6214 1.1 skrll 2000-11-06 Kazu Hirata <kazu (a] hxi.com>
6215 1.1 skrll
6216 1.1 skrll * aout-adobe.c: Fix formatting.
6217 1.1 skrll * aout-arm.c: Likewise.
6218 1.1 skrll * aout-cris.c: Likewise.
6219 1.1 skrll * aout-encap.c: Likewise.
6220 1.1 skrll * aout-ns32k.c: Likewise.
6221 1.1 skrll * aout-target.h: Likewise.
6222 1.1 skrll * aout-tic30.c: Likewise.
6223 1.1 skrll
6224 1.1 skrll 2000-11-05 Philip Blundell <philb (a] gnu.org>
6225 1.1 skrll
6226 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
6227 1.1 skrll BFDs containing no sections to be merged, regardless of their flags.
6228 1.1 skrll
6229 1.1 skrll 2000-11-04 Philip Blundell <philb (a] gnu.org>
6230 1.1 skrll
6231 1.1 skrll * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
6232 1.1 skrll if a relocation for an undefined symbol also results in an
6233 1.1 skrll overflow.
6234 1.1 skrll
6235 1.1 skrll 2000-11-06 Christopher Faylor <cgf (a] cygnus.com>
6236 1.1 skrll
6237 1.1 skrll * config.bfd: Add support for Sun Chorus.
6238 1.1 skrll
6239 1.1 skrll 2000-11-05 David O'Brien <obrien (a] FreeBSD.org>
6240 1.1 skrll
6241 1.1 skrll * configure.in: Recognize alpha-*-freebsd*.
6242 1.1 skrll * configure: Regenerate.
6243 1.1 skrll
6244 1.1 skrll 2000-11-02 Luciano Gemme <ishitawa (a] yahoo.com>
6245 1.1 skrll
6246 1.1 skrll * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
6247 1.1 skrll (Chunk): New global variable set by a parameter in objcopy.c.
6248 1.1 skrll (S3Forced): New global variable set by a parameter in
6249 1.1 skrll objcopy.c.
6250 1.1 skrll (srec_set_section_contents): If S3Forced is true, always generate
6251 1.1 skrll S3 records.
6252 1.1 skrll (srec_write_section): Use 'Chunk' to limit maximum length of S
6253 1.1 skrll records.
6254 1.1 skrll
6255 1.1 skrll 2000-11-02 Per Lundberg <plundis (a] chaosdev.org>
6256 1.1 skrll
6257 1.1 skrll * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
6258 1.1 skrll * Makefile.in: Regenerate.
6259 1.1 skrll * bfd-in2.h: Regenerate.
6260 1.1 skrll * po/bfd.pot: Regenerate.
6261 1.1 skrll
6262 1.1 skrll 2000-10-31 Philip Blundell <philb (a] gnu.org>
6263 1.1 skrll
6264 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
6265 1.1 skrll EF_SOFT_FLOAT if it is defined.
6266 1.1 skrll
6267 1.1 skrll 2000-10-27 Philip Blundell <philb (a] gnu.org>
6268 1.1 skrll
6269 1.1 skrll * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
6270 1.1 skrll attempts to mix PIC code with non-PIC, just mark the output as
6271 1.1 skrll being position dependent.
6272 1.1 skrll (elf32_arm_merge_private_bfd_data): Likewise. Print an error
6273 1.1 skrll message for EF_SOFT_FLOAT mismatches. Display diagnostics for
6274 1.1 skrll all mismatches, not just the first one.
6275 1.1 skrll
6276 1.1 skrll 2000-10-25 Chris Demetriou <cgd (a] sibyte.com>
6277 1.1 skrll
6278 1.1 skrll * ieee.c (ieee_archive_p): Plug one of many possible
6279 1.1 skrll memory leaks in error handling.
6280 1.1 skrll
6281 1.1 skrll 2000-10-20 Jakub Jelinek <jakub (a] redhat.com>
6282 1.1 skrll
6283 1.1 skrll * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
6284 1.1 skrll elf32_sparc_object_p, elf32_sparc_final_write_processing):
6285 1.1 skrll Support v8plusb.
6286 1.1 skrll * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
6287 1.1 skrll sparc64_elf_object_p): Support v9b.
6288 1.1 skrll * archures.c: Declare v8plusb and v9b machines.
6289 1.1 skrll * bfd-in2.h: Ditto.
6290 1.1 skrll * cpu-sparc.c: Ditto.
6291 1.1 skrll
6292 1.1 skrll 2000-10-16 Geoffrey Keating <geoffk (a] shoggoth.cygnus.com>
6293 1.1 skrll
6294 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
6295 1.1 skrll of a GOT reloc.
6296 1.1 skrll
6297 1.1 skrll * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
6298 1.1 skrll (SYMBOL_CALLS_LOCAL): New macro.
6299 1.1 skrll (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
6300 1.1 skrll (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
6301 1.1 skrll (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
6302 1.1 skrll (ppc_elf_relocate_section): Use flag variable to determine
6303 1.1 skrll whether the relocation refers to a local symbol.
6304 1.1 skrll Test whether a PLTREL24 reloc will produce a reloc by looking
6305 1.1 skrll to see whether a PLT entry was made.
6306 1.1 skrll
6307 1.1 skrll 2000-10-14 Geoffrey Keating <geoffk (a] shoggoth.cygnus.com>
6308 1.1 skrll
6309 1.1 skrll * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
6310 1.1 skrll entries that could serve as a definition for a weak symbol.
6311 1.1 skrll
6312 1.1 skrll 2000-10-13 Ulf Carlsson <ulfc (a] engr.sgi.com>
6313 1.1 skrll
6314 1.1 skrll From Ralf Baechle <ralf (a] gnu.org>
6315 1.1 skrll
6316 1.1 skrll * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
6317 1.1 skrll local_p. Add symbol value only for non-R_MIPS_REL32 relocations
6318 1.1 skrll against local symbols.
6319 1.1 skrll (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
6320 1.1 skrll
6321 1.1 skrll 2000-10-12 Alan Modra <alan (a] linuxcare.com.au>
6322 1.1 skrll
6323 1.1 skrll * section.c (struct sec): Add kept_section.
6324 1.1 skrll (struct bfd_comdat_info): Remove sec, we can use above.
6325 1.1 skrll (STD_SECTION): Add initializer.
6326 1.1 skrll (bfd_make_section_anyway): Init here too.
6327 1.1 skrll
6328 1.1 skrll * bfd-in2.h: Regenerate.
6329 1.1 skrll
6330 1.1 skrll * elflink.h (elf_link_add_object_symbols): Remove unnecessary
6331 1.1 skrll zeroing of `flags'.
6332 1.1 skrll (elf_link_input_bfd): Set all asection->symbol->value's here, and
6333 1.1 skrll fudge values for discarded link-once section symbols.
6334 1.1 skrll
6335 1.1 skrll * elf64-hppa.c: Include alloca-conf.h
6336 1.1 skrll
6337 1.1 skrll 2000-10-11 Alan Modra <alan (a] linuxcare.com.au>
6338 1.1 skrll
6339 1.1 skrll * elf.c (swap_out_syms): Revert 2000-10-07 changes.
6340 1.1 skrll
6341 1.1 skrll * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
6342 1.1 skrll
6343 1.1 skrll 2000-10-10 Alan Modra <alan (a] linuxcare.com.au>
6344 1.1 skrll
6345 1.1 skrll * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
6346 1.1 skrll
6347 1.1 skrll 2000-10-10 Tom Rix <trix (a] redhat.com>
6348 1.1 skrll
6349 1.1 skrll * section.c (bfd_make_section_anyway): Release newsect ptr when
6350 1.1 skrll newsect->symbol fails to alloc. Use bfd_release instead of free.
6351 1.1 skrll
6352 1.1 skrll 2000-10-09 Richard Henderson <rth (a] cygnus.com
6353 1.1 skrll
6354 1.1 skrll * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
6355 1.1 skrll (elf64_ia64_unwind_entry_compare): New.
6356 1.1 skrll (elf64_ia64_final_link): Sort the .IA_64.unwind section.
6357 1.1 skrll
6358 1.1 skrll 2000-10-07 Alan Modra <alan (a] linuxcare.com.au>
6359 1.1 skrll
6360 1.1 skrll * elflink.h (size_dynamic_sections): Don't create various tags if
6361 1.1 skrll .dynstr is excluded from the link. Don't set first dynsym entry
6362 1.1 skrll if dynsymcount is zero.
6363 1.1 skrll (elf_bfd_final_link): Don't try to swap out dynamic syms if
6364 1.1 skrll .dynsym excluded from the link. Don't try to write any dynamic
6365 1.1 skrll sections excluded from the link.
6366 1.1 skrll
6367 1.1 skrll * elf.c (swap_out_syms): Handle global section symbols.
6368 1.1 skrll
6369 1.1 skrll 2000-10-05 DJ Delorie <dj (a] redhat.com>
6370 1.1 skrll
6371 1.1 skrll * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
6372 1.1 skrll * coffcode.h (coff_set_alignment_hook): read extended reloc count
6373 1.1 skrll (coff_write_relocs): write extended reloc count
6374 1.1 skrll (coff_write_object_contents): account for extended relocs
6375 1.1 skrll
6376 1.1 skrll 2000-10-05 Jim Wilson <wilson (a] cygnus.com>
6377 1.1 skrll
6378 1.1 skrll * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
6379 1.1 skrll field.
6380 1.1 skrll * elf.c (_bfd_elf_make_section_from_shdr): Call the
6381 1.1 skrll elf_backend_section_flags function.
6382 1.1 skrll * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
6383 1.1 skrll code.
6384 1.1 skrll (elf64_ia64_section_flags): New function containing flag conversion
6385 1.1 skrll code.
6386 1.1 skrll (elf_backend_section_flags): Define to elf64_ia64_section_flags.
6387 1.1 skrll * elfxx-target.h (elf_backend_section_flags): Define.
6388 1.1 skrll (elfNN_bed): Initialize elf_backend_section_flags field.
6389 1.1 skrll
6390 1.1 skrll 2000-10-02 Alan Modra <alan (a] linuxcare.com.au>
6391 1.1 skrll
6392 1.1 skrll * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
6393 1.1 skrll _bfd_elf32_gc_record_vtable. Correct a comment.
6394 1.1 skrll
6395 1.1 skrll 2000-10-01 Ulf Carlsson <ulfc (a] engr.sgi.com>
6396 1.1 skrll
6397 1.1 skrll From Ralf Baechle <ralf (a] gnu.org>
6398 1.1 skrll
6399 1.1 skrll * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
6400 1.1 skrll produces binaries with got[1] = 0x80000001 to differenciate them
6401 1.1 skrll for the dynamic linker from the broken binaries produced by old
6402 1.1 skrll versions.
6403 1.1 skrll
6404 1.1 skrll 2000-09-30 Petr Sorfa <petrs (a] sco.com>
6405 1.1 skrll
6406 1.1 skrll * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
6407 1.1 skrll (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
6408 1.1 skrll * configure.in: Add check for pxstatus_t and lwpxstatus_t.
6409 1.1 skrll * configure: Regenerate.
6410 1.1 skrll
6411 1.1 skrll 2000-09-27 Hans-Peter Nilsson <hp (a] axis.com>
6412 1.1 skrll
6413 1.1 skrll Define two bfd_targets for absence and presence of leading
6414 1.1 skrll underscore on symbols. Make sure to only link same kind.
6415 1.1 skrll * elf32-cris.c (cris_elf_object_p,
6416 1.1 skrll cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
6417 1.1 skrll cris_elf_merge_private_bfd_data): New.
6418 1.1 skrll (elf_backend_object_p, elf_backend_final_write_processing,
6419 1.1 skrll bfd_elf32_bfd_print_private_bfd_data,
6420 1.1 skrll bfd_elf32_bfd_merge_private_bfd_data): Define.
6421 1.1 skrll <Target vector definition>: Include elf32-target.h twice with
6422 1.1 skrll different macro settings:
6423 1.1 skrll (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
6424 1.1 skrll bfd_elf32_us_cris_vec.
6425 1.1 skrll (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
6426 1.1 skrll (elf_symbol_leading_char): First as 0, then '_'.
6427 1.1 skrll (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
6428 1.1 skrll * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
6429 1.1 skrll * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
6430 1.1 skrll * configure: Regenerate.
6431 1.1 skrll * targets.c: Declare bfd_elf32_us_cris_vec.
6432 1.1 skrll * po/bfd.pot: Regenerate.
6433 1.1 skrll
6434 1.1 skrll 2000-09-29 Momchil Velikov <velco (a] fadata.bg>
6435 1.1 skrll
6436 1.1 skrll * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
6437 1.1 skrll R_ARM_THM_PC22 relocations.
6438 1.1 skrll
6439 1.1 skrll 2000-09-29 NIIBE Yutaka <gniibe (a] chroot.org>
6440 1.1 skrll
6441 1.1 skrll * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
6442 1.1 skrll
6443 1.1 skrll 2000-09-29 Momchil Velikov <velco (a] fadata.bg>
6444 1.1 skrll
6445 1.1 skrll * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
6446 1.1 skrll is has the SEC_HAS_CONTENTS flag set.
6447 1.1 skrll
6448 1.1 skrll 2000-09-28 rjan Friberg <orjanf (a] axis.com>
6449 1.1 skrll Hans-Peter Nilsson <hp (a] axis.com>
6450 1.1 skrll
6451 1.1 skrll * aout-cris.c (N_TXTADDR): Define.
6452 1.1 skrll
6453 1.1 skrll 2000-09-28 John David Anglin <dave (a] hiauly1.hia.nrc.ca>
6454 1.1 skrll
6455 1.1 skrll * som.c: Include alloca-conf.h.
6456 1.1 skrll * Makefile.am: "make dep-am"
6457 1.1 skrll * Makefile.in: Regenerate.
6458 1.1 skrll
6459 1.1 skrll 2000-09-27 Alan Modra <alan (a] linuxcare.com.au>
6460 1.1 skrll
6461 1.1 skrll * elf32-hppa.c (plt_stub): New.
6462 1.1 skrll (PLT_STUB_ENTRY): Define.
6463 1.1 skrll (elf32_hppa_link_hash_table): Change multi_subspace to packed
6464 1.1 skrll boolean. Add need_plt_stub, has_12bit_branch and has_17bit_branch.
6465 1.1 skrll (elf32_hppa_link_hash_table_create): Init to suit.
6466 1.1 skrll (elf32_hppa_check_relocs): Set has_12bit_branch and
6467 1.1 skrll has_17bit_branch as appropriate.
6468 1.1 skrll (elf32_hppa_adjust_dynamic_symbol): Set need_plt_stub for
6469 1.1 skrll non-local functions.
6470 1.1 skrll (elf32_hppa_size_dynamic_sections): Correct setting of reltext.
6471 1.1 skrll Add space for plt_stub as needed.
6472 1.1 skrll (elf32_hppa_finish_dynamic_symbol): Point .plt entries for global
6473 1.1 skrll functions at plt_stub.
6474 1.1 skrll (elf32_hppa_finish_dynamic_sections): Write plt_stub.
6475 1.1 skrll (elf32_hppa_create_dynamic_sections): Leave .plt executable.
6476 1.1 skrll
6477 1.1 skrll * elf32-hppa.h (elf32_hppa_size_stubs): Add group_size param.
6478 1.1 skrll * elf32-hppa.c (elf32_hppa_size_stubs): Likewise. Use it instead
6479 1.1 skrll of fixed size, and if negative, disable handling of input sections
6480 1.1 skrll before stub section. Set up default stub group size depending
6481 1.1 skrll on detected branch relocs.
6482 1.1 skrll (hppa_build_one_stub): Use lrsel and rrsel for import stubs to
6483 1.1 skrll ensure different offsets from sym_value aren't rounded to
6484 1.1 skrll different 2k blocks. Use lrsel and rrsel for other stubs too for
6485 1.1 skrll consistency rather than necessity.
6486 1.1 skrll (elf32_hppa_check_relocs): Handle R_PARISC_DIR14F.
6487 1.1 skrll (final_link_relocate): Likewise.
6488 1.1 skrll (elf32_hppa_relocate_section): Likewise.
6489 1.1 skrll
6490 1.1 skrll * elf-hppa.h (elf_hppa_howto_table): Add R_PARISC_DIR14F reloc.
6491 1.1 skrll (_bfd_elf_hppa_gen_reloc_type): Generate them.
6492 1.1 skrll (elf_hppa_final_link_relocate): Handle them.
6493 1.1 skrll (elf_hppa_relocate_insn): Likewise.
6494 1.1 skrll (_bfd_elf_hppa_gen_reloc_type): Add missing e_ldsel and e_rdsel cases.
6495 1.1 skrll
6496 1.1 skrll 2000-09-26 Hans-Peter Nilsson <hp (a] axis.com>
6497 1.1 skrll
6498 1.1 skrll * elfcode.h (elf_object_p): Preserve and clear abfd section
6499 1.1 skrll information. Restore at error.
6500 1.1 skrll
6501 1.1 skrll 2000-09-26 Paul Sokolovsky <Paul.Sokolovsky (a] technologist.com>
6502 1.1 skrll
6503 1.1 skrll * peigen.c (_bfd_pei_swap_aouthdr_in): If some DataDirectory
6504 1.1 skrll is empty, make sure that its rva also 0. NT loader dislikes
6505 1.1 skrll having otherwise.
6506 1.1 skrll
6507 1.1 skrll 2000-09-26 Steve Ellcey <sje (a] cup.hp.com>
6508 1.1 skrll
6509 1.1 skrll * som.c (som_bfd_derive_misc_symbol_info): Make weak symbols
6510 1.1 skrll global by default.
6511 1.1 skrll
6512 1.1 skrll 2000-09-21 Alan Modra <alan (a] linuxcare.com.au>
6513 1.1 skrll
6514 1.1 skrll * elf32-hppa.c (elf32_hppa_check_relocs): Fix weak sym handling in
6515 1.1 skrll currently unused RELATIVE_DYNAMIC_RELOCS code.
6516 1.1 skrll (hppa_discard_copies): Likewise.
6517 1.1 skrll (elf32_hppa_size_stubs): Size `input_list' array correctly. Correct
6518 1.1 skrll comments. Don't check non-code output sections for stub grouping.
6519 1.1 skrll
6520 1.1 skrll 2000-09-20 Alan Modra <alan (a] linuxcare.com.au>
6521 1.1 skrll
6522 1.1 skrll * section.c (bfd_get_unique_section_name): Return NULL if
6523 1.1 skrll bfd_malloc fails.
6524 1.1 skrll
6525 1.1 skrll 2000-09-19 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
6526 1.1 skrll
6527 1.1 skrll * elf32-m68k.c (elf_cpu32_plt0_entry): Change the PLT entry 0
6528 1.1 skrll instruction sequence to actually work.
6529 1.1 skrll (elf_m68k_finish_dynamic_sections): Change the patch-in offset
6530 1.1 skrll accordingly.
6531 1.1 skrll
6532 1.1 skrll 2000-09-18 Alexandre Oliva <aoliva (a] redhat.com>
6533 1.1 skrll
6534 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Use
6535 1.1 skrll _bfd_final_link_relocate to apply the relocation against a section
6536 1.1 skrll symbol, when doing relocatable links.
6537 1.1 skrll
6538 1.1 skrll 2000-09-18 Alan Modra <alan (a] linuxcare.com.au>
6539 1.1 skrll
6540 1.1 skrll * elf32-hppa.c (elf32_hppa_stub_hash_entry): Rename input_section
6541 1.1 skrll to id_sec.
6542 1.1 skrll (stub_hash_newfunc): Here too.
6543 1.1 skrll (hppa_add_stub): And here.
6544 1.1 skrll (elf32_hppa_link_hash_table): Remove stub_section_created,
6545 1.1 skrll reloc_section_created, first_init_sec and first_fini_sec. Add
6546 1.1 skrll stub_group.
6547 1.1 skrll (elf32_hppa_link_hash_table_create): Init to suit.
6548 1.1 skrll (hppa_get_stub_entry): Add support for grouping stub sections.
6549 1.1 skrll (hppa_add_stub): Likewise. Remove sec_count param and init/fini
6550 1.1 skrll section code. Index stub vars by section->id.
6551 1.1 skrll (elf32_hppa_size_stubs): Likewise. Remove duplicated function
6552 1.1 skrll exit paths. Zap allocation of above removed vars. Refine
6553 1.1 skrll link-once test.
6554 1.1 skrll
6555 1.1 skrll * elf32-hppa.h (elf32_hppa_size_stubs): Add output_bfd param.
6556 1.1 skrll * elf32-hppa.c (elf32_hppa_size_stubs): Likewise.
6557 1.1 skrll (hppa_get_stub_entry): Pass in pointer to elf32_hppa_link_hash_table
6558 1.1 skrll rather than pointer to bfd_link_info.
6559 1.1 skrll (hppa_add_stub): Likewise.
6560 1.1 skrll (final_link_relocate): Likewise.
6561 1.1 skrll
6562 1.1 skrll 2000-09-17 David Huggins-Daines <dhd (a] linuxcare.com>
6563 1.1 skrll
6564 1.1 skrll (elf32_hppa_size_stubs): Don't try to build stubs for discarded
6565 1.1 skrll link-once sections.
6566 1.1 skrll
6567 1.1 skrll 2000-09-16 Alexandre Oliva <aoliva (a] redhat.com>
6568 1.1 skrll
6569 1.1 skrll * elf32-sh.c (ELF_MAXPAGESIZE): Define to 128, to match
6570 1.1 skrll ld/emulparams/shelf.sh.
6571 1.1 skrll
6572 1.1 skrll 2000-09-10 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
6573 1.1 skrll
6574 1.1 skrll * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): New function.
6575 1.1 skrll * bfd-in.h (bfd_m68k_elf32_create_embedded_relocs): Add declaration.
6576 1.1 skrll * bfd-in2.h: Regenerate.
6577 1.1 skrll
6578 1.1 skrll 2000-09-15 Kenneth Block <Kenneth.Block (a] compaq.com>
6579 1.1 skrll
6580 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_with_lituse): ld performs
6581 1.1 skrll LITUSE relocations incorrectly if -relax is specified on the ld
6582 1.1 skrll command line and the displacement field of the load or store
6583 1.1 skrll instruction is non-zero. (Patch by paul.winalski (a] compaq.com)
6584 1.1 skrll
6585 1.1 skrll 2000-09-15 Alan Modra <alan (a] linuxcare.com.au>
6586 1.1 skrll
6587 1.1 skrll * elf32-hppa.c (hppa_add_stub): Dont set first_init_sec and
6588 1.1 skrll first_fini_sec here.
6589 1.1 skrll (elf32_hppa_size_stubs): Instead correctly find the first .init
6590 1.1 skrll and .fini section here.
6591 1.1 skrll
6592 1.1 skrll 2000-09-15 David Huggins-Daines <dhd (a] linuxcare.com>
6593 1.1 skrll
6594 1.1 skrll * elf32-hppa.c (clobber_millicode_symbols): New function.
6595 1.1 skrll (elf32_hppa_size_dynamic_sections): Call it.
6596 1.1 skrll
6597 1.1 skrll 2000-09-14 Alan Modra <alan (a] linuxcare.com.au>
6598 1.1 skrll
6599 1.1 skrll * elf32-hppa.c (elf32_hppa_link_hash_entry): Make pic_call
6600 1.1 skrll packed. Add plabel, plt_abs packed booleans.
6601 1.1 skrll (hppa_link_hash_newfunc): Init new fields.
6602 1.1 skrll (PLABEL_PLT_ENTRY_SIZE): Define.
6603 1.1 skrll (hppa_stub_name): Use size_t len vars.
6604 1.1 skrll (hppa_add_stub): Likewise.
6605 1.1 skrll (elf32_hppa_build_stubs): Likewise.
6606 1.1 skrll (hppa_build_one_stub): Kill some compiler warnings.
6607 1.1 skrll (elf32_hppa_check_relocs): Always generate a plt entry for PLABELs
6608 1.1 skrll if dynamic linking. Munge the local plt offsets into
6609 1.1 skrll local_got_refcounts. Set h->plabel for all global PLABELs. Use
6610 1.1 skrll size_t len vars. Add assert for plabel addend.
6611 1.1 skrll (elf32_hppa_gc_sweep_hook): Sweep local plt entries too.
6612 1.1 skrll (elf32_hppa_hide_symbol): New function.
6613 1.1 skrll (elf_backend_hide_symbol): Define.
6614 1.1 skrll (elf32_hppa_adjust_dynamic_symbol): Don't throw away plt entries
6615 1.1 skrll with h->plabel set. Don't make plt entries to have dynamic syms
6616 1.1 skrll when they have been forced local. If plt entry is used by a
6617 1.1 skrll plabel, make it PLABEL_PLT_ENTRY_SIZE.
6618 1.1 skrll (elf32_hppa_size_dynamic_sections): Set plt_abs for init fns.
6619 1.1 skrll Set up .plt offsets for local syms.
6620 1.1 skrll (elf32_hppa_relocate_section): Initialise plt entries for local
6621 1.1 skrll syms. Leave weak undefined plabels zero. Make global plabel
6622 1.1 skrll relocs against function symbol, and leave the addend zero.
6623 1.1 skrll Use *ABS* DIR32 relocs instead of SEGREL32 for dynamic got relocs.
6624 1.1 skrll (elf32_hppa_finish_dynamic_symbol): Set up IPLT relocs for
6625 1.1 skrll non-dynamic syms. Init extra plt for plabels. Use *ABS* DIR32
6626 1.1 skrll relocs instead of SEGREL32 for dynamic got relocs.
6627 1.1 skrll (elf32_hppa_finish_dynamic_sections): Reserve one more .got entry.
6628 1.1 skrll (elf_backend_got_header_size): Adjust.
6629 1.1 skrll (elf32_hppa_set_gp): Calculate an "ideal" LTP.
6630 1.1 skrll
6631 1.1 skrll * elf32-hppa.c (LONG_BRANCH_VIA_PLT): Define.
6632 1.1 skrll (hppa_type_of_stub): Use it instead of #if 0
6633 1.1 skrll (hppa_discard_copies): Use it here too.
6634 1.1 skrll (elf32_hppa_size_dynamic_sections): And here.
6635 1.1 skrll
6636 1.1 skrll * elf32-hppa.c (elf32_hppa_link_hash_table): Remove `offset' field.
6637 1.1 skrll (elf32_hppa_link_hash_table_create): And here.
6638 1.1 skrll (hppa_build_one_stub): And here. Instead keep track of stub
6639 1.1 skrll offset using _raw_size.
6640 1.1 skrll (elf32_hppa_size_stubs): Likewise.
6641 1.1 skrll (elf32_hppa_build_stubs): Likewise.
6642 1.1 skrll (hppa_size_one_stub): Likewise. Resize reloc section too.
6643 1.1 skrll
6644 1.1 skrll * elf32-hppa.c (hppa_add_stub): Correct first_init_sec and
6645 1.1 skrll first_fini_sec handling. Don't search for reloc section or set
6646 1.1 skrll hplink->reloc_section_created here.
6647 1.1 skrll (elf32_hppa_size_stubs): Instead search for reloc sections, and
6648 1.1 skrll set reloc_section_created here.
6649 1.1 skrll (hppa_handle_PIC_calls): Set ELF_LINK_HASH_NEEDS_PLT.
6650 1.1 skrll (elf32_hppa_size_dynamic_sections): Make a .plt entry for DT_INIT
6651 1.1 skrll and DT_FINI.
6652 1.1 skrll (elf32_hppa_finish_dynamic_sections): Set DT_INIT and DT_FINI.
6653 1.1 skrll
6654 1.1 skrll * elf32-hppa.c (hppa_build_one_stub): Replace `elf_hash_table (info)'
6655 1.1 skrll with `hplink->root.'.
6656 1.1 skrll (elf32_hppa_check_relocs): Likewise.
6657 1.1 skrll (elf32_hppa_gc_sweep_hook): Likewise.
6658 1.1 skrll (elf32_hppa_adjust_dynamic_symbol): Likewise.
6659 1.1 skrll (hppa_handle_PIC_calls): Likewise.
6660 1.1 skrll (elf32_hppa_size_dynamic_sections): Likewise.
6661 1.1 skrll (elf32_hppa_set_gp): Likewise.
6662 1.1 skrll (elf32_hppa_relocate_section): Likewise.
6663 1.1 skrll (elf32_hppa_finish_dynamic_symbol): Likewise.
6664 1.1 skrll (elf32_hppa_finish_dynamic_sections): Likewise.
6665 1.1 skrll
6666 1.1 skrll From David Huggins-Daines <dhd (a] linuxcare.com>
6667 1.1 skrll * elf32-hppa.c (hppa_type_of_stub): Generate import stubs for
6668 1.1 skrll defined weak symbols in shared links.
6669 1.1 skrll (final_link_relocate): Calls to defined weak symbols in shared
6670 1.1 skrll objects must go via import stubs, as the target might not be known
6671 1.1 skrll at link time.
6672 1.1 skrll
6673 1.1 skrll 2000-09-14 Alexandre Oliva <aoliva (a] redhat.com>
6674 1.1 skrll
6675 1.1 skrll * elf32-sh.c (sh_elf_howto_table): Moved R_SH_GOT32, R_SH_PLT32,
6676 1.1 skrll R_SH_COPY, R_SH_GLOB_DAT, R_SH_JMP_SLOT, R_SH_RELATIVE,
6677 1.1 skrll R_SH_GOTOFF, R_SH_GOTPC) to the range from 160 to 167. Replaced
6678 1.1 skrll the original entries with EMPTY_HOWTOs, and added new ones to fill
6679 1.1 skrll in the gap.
6680 1.1 skrll (sh_elf_info_to_howto): Make sure the new gap isn't used.
6681 1.1 skrll (sh_elf_relocate_section): Likewise.
6682 1.1 skrll
6683 1.1 skrll 2000-09-13 Anders Norlander <anorland (a] acc.umu.se>
6684 1.1 skrll
6685 1.1 skrll * cpu-mips.c (arch_info_struct): Add mips:4K
6686 1.1 skrll * bfd-in2.h (bfd_mach_mips4K): New define.
6687 1.1 skrll * archures.c: Add bfd_mach_mips4K to comment.
6688 1.1 skrll * elf32-mips.c (_bfd_mips_elf_final_write_processing): Return
6689 1.1 skrll E_MIPS_ARCH_2 for bfd_mach_mips4K.
6690 1.1 skrll
6691 1.1 skrll 2000-09-13 Marco Franzen <marcof (a] thyron.com>
6692 1.1 skrll
6693 1.1 skrll * som.c (som_write_symbol_strings): Do not used fixed buffers,
6694 1.1 skrll use size_t as a counter.
6695 1.1 skrll (som_write_space_strings): Similarly.
6696 1.1 skrll
6697 1.1 skrll 2000-09-12 Jason Eckhardt <jle (a] cygnus.com>
6698 1.1 skrll
6699 1.1 skrll * elf32-i860.c (elf32_i860_relocate_pc26): New function
6700 1.1 skrll and prototype.
6701 1.1 skrll (elf32_i860_relocate_section): Invoke new function from here.
6702 1.1 skrll
6703 1.1 skrll 2000-09-11 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
6704 1.1 skrll
6705 1.1 skrll * elf.c (_bfd_elf_make_section_from_shdr): Make debug_sec_names
6706 1.1 skrll static.
6707 1.1 skrll
6708 1.1 skrll 2000-09-10 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
6709 1.1 skrll
6710 1.1 skrll * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Emit 8 NULs for
6711 1.1 skrll target section name instead of dumping core when the target symbol is
6712 1.1 skrll undefined.
6713 1.1 skrll
6714 1.1 skrll 2000-09-09 Kazu Hirata <kazu (a] hxi.com>
6715 1.1 skrll
6716 1.1 skrll * riscix.c: Remove DEFUN.
6717 1.1 skrll
6718 1.1 skrll 2000-09-08 Nick Clifton <nickc (a] redhat.com>
6719 1.1 skrll
6720 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Do not
6721 1.1 skrll initialise flags in output bfd if the input bfd is the default
6722 1.1 skrll architecture with the default flags.
6723 1.1 skrll
6724 1.1 skrll 2000-09-08 Kazu Hirata <kazu (a] hxi.com>
6725 1.1 skrll
6726 1.1 skrll * archive.c: Fix formatting.
6727 1.1 skrll * coff-arm.c: Likewise.
6728 1.1 skrll * doc/chew.c: Likewise.
6729 1.1 skrll
6730 1.1 skrll 2000-09-08 Alan Modra <alan (a] linuxcare.com.au>
6731 1.1 skrll
6732 1.1 skrll * section.c (bfd_get_unique_section_name): Put a dot before the
6733 1.1 skrll numeric suffix.
6734 1.1 skrll
6735 1.1 skrll 2000-09-07 Kazu Hirata <kazu (a] hxi.com>
6736 1.1 skrll
6737 1.1 skrll * doc/chew.c: Remove all uses of DEFUN and DEFUN_VOID.
6738 1.1 skrll * elf.c: Fix formatting.
6739 1.1 skrll
6740 1.1 skrll 2000-09-07 Alexandre Oliva <aoliva (a] redhat.com>
6741 1.1 skrll
6742 1.1 skrll * config.bfd (sh-*-linux*): Added.
6743 1.1 skrll * configure.in (bfd_elf32_shlin_vec, bfd_elf32_shblin_vec): New.
6744 1.1 skrll * targets.c: Declare them.
6745 1.1 skrll * elf32-sh-lin.c: New file.
6746 1.1 skrll * Makefile.am: Compile it.
6747 1.1 skrll * elf32-sh.c: Don't override defines from elf32-sh-lin.c.
6748 1.1 skrll * configure, Makefile.in: Rebuilt.
6749 1.1 skrll
6750 1.1 skrll 2000-09-06 Geoffrey Keating <geoffk (a] cygnus.com>
6751 1.1 skrll
6752 1.1 skrll * xcofflink.c (xcoff_link_input_bfd): Include the .tocbss
6753 1.1 skrll pseduo-section when determining where the TOC ends.
6754 1.1 skrll
6755 1.1 skrll * coff-rs6000.c (_bfd_xcoff_swap_aux_out): Use bfd_h_put_16 to
6756 1.1 skrll output x_tvndx as it is only two bytes wide.
6757 1.1 skrll
6758 1.1 skrll * coff-rs6000.c (xcoff_howto_table): A modifiable branch-absolute
6759 1.1 skrll reloc is 26 or 32 bits wide.
6760 1.1 skrll
6761 1.1 skrll * coff-rs6000.c (_bfd_xcoff_rtype2howto): The bitsize is irrelevant
6762 1.1 skrll for relocs that don't change anything. Also look at the full
6763 1.1 skrll 6 bits of bitsize.
6764 1.1 skrll
6765 1.1 skrll 2000-09-06 Philip Blundell <philb (a] gnu.org>
6766 1.1 skrll
6767 1.1 skrll * config.bfd (arm*-*-uclinux*): New target.
6768 1.1 skrll
6769 1.1 skrll 2000-09-06 Alexandre Oliva <aoliva (a] redhat.com>
6770 1.1 skrll
6771 1.1 skrll * configure: Rebuilt with new libtool.m4.
6772 1.1 skrll
6773 1.1 skrll 2000-09-06 Alan Modra <alan (a] linuxcare.com.au>
6774 1.1 skrll
6775 1.1 skrll * section.c (bfd_get_unique_section_name): Avoid c++ reserved
6776 1.1 skrll word for variable name.
6777 1.1 skrll * bfd-in2.h: Regenerate.
6778 1.1 skrll
6779 1.1 skrll 2000-09-05 Nick Clifton <nickc (a] redhat.com>
6780 1.1 skrll
6781 1.1 skrll * config.in: Regenerate.
6782 1.1 skrll * libbfd.h: Regenerate.
6783 1.1 skrll * po/bfd.pot: Regenerate.
6784 1.1 skrll * doc/bfdint.texi: Remove CVS date string - it foils compares with
6785 1.1 skrll local versions.
6786 1.1 skrll
6787 1.1 skrll 2000-09-05 Steven Johnson <sbjohnson (a] ozemail.com.au>
6788 1.1 skrll
6789 1.1 skrll * cpu-powerpc.c (arch_info_struct): Added MPC860 Family entry.
6790 1.1 skrll
6791 1.1 skrll 2000-09-05 Alan Modra <alan (a] linuxcare.com.au>
6792 1.1 skrll
6793 1.1 skrll Shared library and PIC support.
6794 1.1 skrll * elf32-hppa.c (PLT_ENTRY_SIZE): New.
6795 1.1 skrll (GOT_ENTRY_SIZE): New.
6796 1.1 skrll (ELF_DYNAMIC_INTERPRETER): New.
6797 1.1 skrll (STUB_SUFFIX): Define.
6798 1.1 skrll (LONG_BRANCH_PIC_IN_SHLIB): Define.
6799 1.1 skrll (RELATIVE_DYNAMIC_RELOCS): Define.
6800 1.1 skrll (enum elf32_hppa_stub_type): New.
6801 1.1 skrll (struct elf32_hppa_stub_hash_entry): Rename offset to
6802 1.1 skrll stub_offset. Add a number of new fields.
6803 1.1 skrll (struct elf32_hppa_link_hash_entry): New.
6804 1.1 skrll (struct elf32_hppa_link_hash_table): Add numerous fields. Remove
6805 1.1 skrll global_value.
6806 1.1 skrll (elf32_hppa_hash_table): Rename to hppa_link_hash_table.
6807 1.1 skrll (elf32_hppa_stub_hash_lookup): Rename to hppa_stub_hash_lookup.
6808 1.1 skrll (elf32_hppa_stub_hash_newfunc): Rename to stub_hash_newfunc. Init
6809 1.1 skrll new fields.
6810 1.1 skrll (hppa_link_hash_newfunc): New function.
6811 1.1 skrll (elf32_hppa_link_hash_table_create): Use above function. Init new
6812 1.1 skrll fields.
6813 1.1 skrll (elf32_hppa_stub_name): Rename to hppa_stub_name. Pass in reloc
6814 1.1 skrll instead of addend, and remove sym_name from args. Don't use
6815 1.1 skrll symbol name for local syms, instead use sym index.
6816 1.1 skrll (elf32_hppa_size_of_stub): Rename to hppa_type_of_stub, and return
6817 1.1 skrll stub type rather than size. Pass in hash and handle import stub
6818 1.1 skrll case. Also pass in reloc instead of offset so we can calculate
6819 1.1 skrll PCREL22F and PCREL12F branches properly.
6820 1.1 skrll (elf32_hppa_build_one_stub): Rename to hppa_build_one_stub. Build
6821 1.1 skrll import and export stubs too.
6822 1.1 skrll (elf32_hppa_size_one_stub): Rename to hppa_size_one_stub. Handle
6823 1.1 skrll import and export stub sizing.
6824 1.1 skrll (elf32_hppa_check_relocs): New function.
6825 1.1 skrll (elf32_hppa_adjust_dynamic_symbol): New function.
6826 1.1 skrll (hppa_discard_copies): New function.
6827 1.1 skrll (elf32_hppa_size_dynamic_sections): New function.
6828 1.1 skrll (elf_backend_size_dynamic_sections): Define.
6829 1.1 skrll (elf32_hppa_finish_dynamic_symbol): New function.
6830 1.1 skrll (elf_backend_finish_dynamic_symbol): Define.
6831 1.1 skrll (elf32_hppa_size_stubs): Stash params in link hash table, and move
6832 1.1 skrll some local vars into the link hash table too. For shared links,
6833 1.1 skrll trundle over function syms, generating export stubs. Handle
6834 1.1 skrll PCREL22F branches. Break out stub creation code from here..
6835 1.1 skrll (hppa_add_stub): .. to here. New function.
6836 1.1 skrll (elf32_hppa_final_link): Rename to elf32_hppa_set_gp, and don't
6837 1.1 skrll call the bfd linker. Use elf_gp to record global pointer.
6838 1.1 skrll Calculate a value from sections if $global$ is missing.
6839 1.1 skrll (bfd_elf32_bfd_final_link): Define as _bfd_elf32_gc_common_final_link.
6840 1.1 skrll (elf32_hppa_gc_mark_hook): New function.
6841 1.1 skrll (elf_backend_gc_mark_hook): Define.
6842 1.1 skrll (elf32_hppa_gc_sweep_hook): New function.
6843 1.1 skrll (elf_backend_gc_sweep_hook): Define.
6844 1.1 skrll (elf32_hppa_bfd_final_link_relocate): Rename to final_link_relocate.
6845 1.1 skrll Add rel to args, and remove howto, input_bfd, offset, addend,
6846 1.1 skrll sym_name as we can recalculate these locally. Handle calls to
6847 1.1 skrll dynamic objects, extra PIC relocs, PCREL22F branches. Change
6848 1.1 skrll handling of undefined weak syms. Check that stubs are in range.
6849 1.1 skrll Only look for import stubs on PCREL17F and PCREL22F relocs. Add
6850 1.1 skrll message on hitting a DPREL21L reloc that needs fixing. Subtract
6851 1.1 skrll off PC for PCREL14F. Break out code that does a stub lookup from
6852 1.1 skrll here..
6853 1.1 skrll (hppa_get_stub_entry): ..to here. New function.
6854 1.1 skrll (elf32_hppa_relocate_insn): Merge into final_link_relocate.
6855 1.1 skrll (elf32_hppa_relocate_section): Handle got and plt relocs, dynamic
6856 1.1 skrll relocs, etc. etc.
6857 1.1 skrll (elf32_hppa_finish_dynamic_sections): New function.
6858 1.1 skrll (elf_backend_finish_dynamic_sections): Define.
6859 1.1 skrll (elf_backend_final_write_processing) Define.
6860 1.1 skrll (hppa_handle_PIC_calls): New function.
6861 1.1 skrll (elf32_hppa_build_stubs): Call it. Pass link_info to
6862 1.1 skrll hppa_build_one_stub.
6863 1.1 skrll (elf32_hppa_create_dynamic_sections): New function
6864 1.1 skrll to create .plt and .got then set .plt flags correctly.
6865 1.1 skrll (elf_backend_create_dynamic_sections): Define.
6866 1.1 skrll (elf32_hppa_object_p): New function.
6867 1.1 skrll (elf_backend_object_p): Define.
6868 1.1 skrll (elf32_hppa_elf_get_symbol_type): New function.
6869 1.1 skrll (elf_backend_get_symbol_type): Define.
6870 1.1 skrll (elf_backend_can_gc_sections): Define.
6871 1.1 skrll (elf_backend_want_got_plt): Define.
6872 1.1 skrll (elf_backend_plt_alignment): Set to 2.
6873 1.1 skrll (elf_backend_plt_readonly): Define.
6874 1.1 skrll (elf_backend_want_plt_sym): Define.
6875 1.1 skrll (elf_backend_got_header_size): Reserve one entry.
6876 1.1 skrll
6877 1.1 skrll * elf32-hppa.h (elf32_hppa_build_stubs): Don't pass stub bfd.
6878 1.1 skrll (elf32_hppa_size_stubs): Pass in multi_subspace.
6879 1.1 skrll (elf32_hppa_set_gp): Declare.
6880 1.1 skrll
6881 1.1 skrll * section.c (SEC_HAS_GOT_REF): Define new flag for asection.
6882 1.1 skrll (bfd_get_unique_section_name): New function.
6883 1.1 skrll * bfd-in2.h: Regenerate.
6884 1.1 skrll
6885 1.1 skrll * elf64-hppa.c (elf64_hppa_check_relocs): Handle R_PARISC_PCREL12F.
6886 1.1 skrll (elf64_hppa_size_dynamic_sections): Remove the FIXME at bfd_zalloc
6887 1.1 skrll comment.
6888 1.1 skrll
6889 1.1 skrll From David Huggins-Daines <dhd (a] linuxcare.com>
6890 1.1 skrll * elf64-hppa.c (elf64_hppa_check_relocs): Fix a warning.
6891 1.1 skrll (elf64_hppa_mark_exported_functions): Set dyn_h->st_shndx.
6892 1.1 skrll (elf64_hppa_link_output_symbol_hook): Test dyn_h->st_shndx has
6893 1.1 skrll been updated in finish_dynamic_symbol before modifying function
6894 1.1 skrll symbol.
6895 1.1 skrll
6896 1.1 skrll * elf-hppa.h (elf_hppa_howto_table): Restructure into groups of
6897 1.1 skrll eight entries. Replace NULL with bfd_elf_generic_reloc. Add
6898 1.1 skrll R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT and R_PARISC_PCREL12F.
6899 1.1 skrll (_bfd_elf_hppa_gen_reloc_type): Handle R_PARISC_GNU_VT*. Add some
6900 1.1 skrll comments. Handle format == 12 for R_HPPA_PCREL_CALL.
6901 1.1 skrll (elf_hppa_final_link_relocate): Handle R_PARISC_PCREL12F.
6902 1.1 skrll (elf_hppa_relocate_insn): Likewise. Reformat some comments.
6903 1.1 skrll (elf_hppa_final_write_processing): Expose it for ARCH_SIZE == 32.
6904 1.1 skrll
6905 1.1 skrll From David Huggins-Daines <dhd (a] linuxcare.com>
6906 1.1 skrll * elf-hppa.h (elf_hppa_is_local_label_name): Accept the SysV/ELF
6907 1.1 skrll style of local labels as well.
6908 1.1 skrll
6909 1.1 skrll 2000-09-03 Philip Blundell <philb (a] gnu.org>
6910 1.1 skrll
6911 1.1 skrll * elf32-arm.h (elf32_arm_relocate_section): Don't try to relocate
6912 1.1 skrll references to undefined symbols in debugging sections.
6913 1.1 skrll
6914 1.1 skrll 2000-09-02 H.J. Lu <hjl (a] gnu.org>
6915 1.1 skrll
6916 1.1 skrll * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,
6917 1.1 skrll BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE,
6918 1.1 skrll BFD_RELOC_SH_GOTPC): Move them from the MIPS section to the SH
6919 1.1 skrll section.
6920 1.1 skrll
6921 1.1 skrll 2000-09-02 Jason Eckhardt <jle (a] cygnus.com>
6922 1.1 skrll
6923 1.1 skrll * elf32-i860.c (bfd_elf32_bfd_is_local_label_name): Define macro.
6924 1.1 skrll (elf32_i860_is_local_label_name): New function and prototype.
6925 1.1 skrll
6926 1.1 skrll 2000-09-02 Nick Clifton <nickc (a] redhat.com>
6927 1.1 skrll
6928 1.1 skrll * configure.in: Increase version number to 2.10.91.
6929 1.1 skrll * configure: Regenerate.
6930 1.1 skrll * aclocal.m4: Regenerate.
6931 1.1 skrll * config.in: Regenerate.
6932 1.1 skrll * po/bfd.pot: Regenerate.
6933 1.1 skrll
6934 1.1 skrll 2000-09-02 Daniel Berlin <dberlin (a] redhat.com>
6935 1.1 skrll
6936 1.1 skrll * elf.c (_bfd_elf_make_section_from_shdr): Add
6937 1.1 skrll .gnu.linkobce.wi. to the list of debug section names.
6938 1.1 skrll
6939 1.1 skrll 2000-09-02 Nick Clifton <nickc (a] redhat.com>
6940 1.1 skrll
6941 1.1 skrll * dwarf2.c (find_debug_info): New function: Locate a section
6942 1.1 skrll containing dwarf2 debug information.
6943 1.1 skrll (bfd_dwarf2_find_nearest_line): Find all sections containing
6944 1.1 skrll debug information and include them in the stash.
6945 1.1 skrll
6946 1.1 skrll 2000-09-01 Niibe Yutaka <gniibe (a] m17n.org>, Kaz Kojima <kkojima (a] rr.iij4u.or.jp>, Alexandre Oliva <aoliva (a] redhat.com>
6947 1.1 skrll
6948 1.1 skrll * elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
6949 1.1 skrll R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New.
6950 1.1 skrll (sh_reloc_map): Add new relocs.
6951 1.1 skrll (sh_elf_check_relocs, sh_elf_link_hash_newfunc,
6952 1.1 skrll sh_elf_link_hash_table_create, sh_elf_adjust_dynamic_symbol,
6953 1.1 skrll sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_symbol,
6954 1.1 skrll sh_elf_finishe_dynamic_sections, sh_elf_discard_copies): New
6955 1.1 skrll functions.
6956 1.1 skrll (ELF_DYNAMIC_INTERPRETER, PLT_ENTRY_SIZE): Define.
6957 1.1 skrll (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
6958 1.1 skrll elf_sh_plt_entry_be, elf_sh_plt_entry_le,
6959 1.1 skrll elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):
6960 1.1 skrll New array constants.
6961 1.1 skrll (elf_sh_plt0_entry, elf_sh_plt_entry, elf_sh_pic_plt_entry):
6962 1.1 skrll New variables.
6963 1.1 skrll (elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
6964 1.1 skrll elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset,
6965 1.1 skrll elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset,
6966 1.1 skrll elf_sh_plt_reloc_offset): Define.
6967 1.1 skrll (elf_sh_pcrel_relocs_copied, elf_sh_link_hash_entry,
6968 1.1 skrll elf_sh_link_hash_table): New structs.
6969 1.1 skrll (sh_elf_link_hash_traverse, sh_elf_hash_table): New macros.
6970 1.1 skrll (sh_elf_relocate_section, sh_elf_check_relocs): Handle new
6971 1.1 skrll relocation types.
6972 1.1 skrll (elf_backend_create_dynamic_sections,
6973 1.1 skrll bfd_elf32_bfd_link_hash_table_create,
6974 1.1 skrll elf_backend_adjust_dynamic_symbol,
6975 1.1 skrll elf_backend_size_dynamic_sections,
6976 1.1 skrll elf_backend_finish_dynamic_symbol,
6977 1.1 skrll elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
6978 1.1 skrll elf_backend_plt_readonly, elf_backend_want_plt_sym,
6979 1.1 skrll elf_backend_got_header_size, elf_backend_plt_header_size):
6980 1.1 skrll Define.
6981 1.1 skrll * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,
6982 1.1 skrll BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC):
6983 1.1 skrll New relocs.
6984 1.1 skrll * bfd-in2.h, libbfd.h: Rebuilt.
6985 1.1 skrll
6986 1.1 skrll 2000-09-01 Alan Modra <alan (a] linuxcare.com.au>
6987 1.1 skrll
6988 1.1 skrll * elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert 2000-08-27
6989 1.1 skrll change.
6990 1.1 skrll
6991 1.1 skrll 2000-08-31 J"orn Rennecke <amylaar (a] cygnus.co.uk>
6992 1.1 skrll
6993 1.1 skrll * elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags
6994 1.1 skrll not initialized, set them to indicate the SH1 instruction set.
6995 1.1 skrll
6996 1.1 skrll 2000-08-31 Alexandre Oliva <aoliva (a] redhat.com>
6997 1.1 skrll
6998 1.1 skrll * acinclude.m4: Include libtool and gettext macros from the
6999 1.1 skrll top level.
7000 1.1 skrll * aclocal.m4, configure: Rebuilt.
7001 1.1 skrll
7002 1.1 skrll 2000-08-29 Michael Snyder <msnyder (a] seadog.cygnus.com>
7003 1.1 skrll
7004 1.1 skrll * elf.c: Eliminate references to __sparcv9 macro; replace with
7005 1.1 skrll autoconf variables HAVE_PSINFO32_T etc.
7006 1.1 skrll * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T,
7007 1.1 skrll HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO.
7008 1.1 skrll * config.in: Ditto.
7009 1.1 skrll * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can
7010 1.1 skrll detect the above typedefs. (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto.
7011 1.1 skrll * aclocal.m4: Ditto.
7012 1.1 skrll * configure: Regenerate.
7013 1.1 skrll
7014 1.1 skrll 2000-08-27 Alan Modra <alan (a] linuxcare.com.au>
7015 1.1 skrll
7016 1.1 skrll * elf32-i386.c (elf_i386_check_relocs): Keep info on relocs copied
7017 1.1 skrll for any shared link, not just shared -Bsymbolic.
7018 1.1 skrll (elf_i386_size_dynamic_sections): Call elf_i386_discard_copies on
7019 1.1 skrll any shared link, and pass link info to it.
7020 1.1 skrll (elf_i386_size_dynamic_sections): Update comment.
7021 1.1 skrll (elf_i386_discard_copies): Modify to discard relocs for symbols
7022 1.1 skrll that have been forced local.
7023 1.1 skrll (elf_i386_finish_dynamic_symbol): Don't copy relocs for symbols
7024 1.1 skrll that have been forced local.
7025 1.1 skrll
7026 1.1 skrll 2000-08-24 Denis Chertykov <denisc (a] overta.ru> & Nick Clifton <nickc (a] redhat.com>
7027 1.1 skrll
7028 1.1 skrll * elflink.h (elf_link_add_object_symbols): Allow common
7029 1.1 skrll symbols to have an alignment of 1 if explicitly requested, and
7030 1.1 skrll not overridden by other definitions.
7031 1.1 skrll
7032 1.1 skrll 2000-08-22 Doug Kwan <dkwan (a] transmeta.com>
7033 1.1 skrll
7034 1.1 skrll * coff-w65.c (CREATE_LITTLE_COFF_TARGET): Fix typo.
7035 1.1 skrll * coffcode.h (coff_set_flags): Add detection of w65 architecture.
7036 1.1 skrll
7037 1.1 skrll 2000-08-22 H.J. Lu <hjl (a] gnu.org>
7038 1.1 skrll
7039 1.1 skrll * elf-bfd.h (elf_link_hash_table): Add runpath.
7040 1.1 skrll
7041 1.1 skrll * bfd-in.h (bfd_elf_get_runpath_list): New prototype.
7042 1.1 skrll * bfd-in2.h: Rebuilt.
7043 1.1 skrll
7044 1.1 skrll * elf.c (_bfd_elf_link_hash_table_init): Initialize the
7045 1.1 skrll "runpath" field to NULL.
7046 1.1 skrll (bfd_elf_get_runpath_list): New function.
7047 1.1 skrll
7048 1.1 skrll * elflink.h (elf_link_add_object_symbols): Record DT_RPATH and
7049 1.1 skrll DT_RUNPATH entries.
7050 1.1 skrll
7051 1.1 skrll 2000-08-22 Alexandre Oliva <aoliva (a] redhat.com>
7052 1.1 skrll
7053 1.1 skrll * elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,
7054 1.1 skrll R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them
7055 1.1 skrll explicitly. Improve validation of r_type.
7056 1.1 skrll
7057 1.1 skrll 2000-08-21 H.J. Lu <hjl (a] gnu.org>
7058 1.1 skrll
7059 1.1 skrll * elf32-i386.c (elf_i386_size_dynamic_sections): Zero out the
7060 1.1 skrll dynamic allocated content space. Add a comment to remind us that
7061 1.1 skrll one day this ought to be fixed.
7062 1.1 skrll * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
7063 1.1 skrll * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
7064 1.1 skrll * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
7065 1.1 skrll
7066 1.1 skrll 2000-08-21 Jason Eckhardt <jle (a] cygnus.com>
7067 1.1 skrll
7068 1.1 skrll * elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate
7069 1.1 skrll field with the newly relocated value instead of adding it to the
7070 1.1 skrll existing immediate field.
7071 1.1 skrll (elf32_i860_relocate_splitn): Likewise.
7072 1.1 skrll (elf32_i860_relocate_highadj): Likewise.
7073 1.1 skrll
7074 1.1 skrll 2000-08-16 Jason Eckhardt <jle (a] cygnus.com>
7075 1.1 skrll
7076 1.1 skrll * elf32-i860.c (elf32_i860_relocate_pc16): Implemented function (it
7077 1.1 skrll was previously just a stub).
7078 1.1 skrll
7079 1.1 skrll 2000-08-16 Alexandre Oliva <aoliva (a] redhat.com>
7080 1.1 skrll
7081 1.1 skrll * elflink.c (_bfd_elf_create_got_section): Don't abort().
7082 1.1 skrll Formatting fixes.
7083 1.1 skrll (_bfd_elf_create_dynamic_sections): Likewise.
7084 1.1 skrll
7085 1.1 skrll 2000-08-16 Andrew Macleod <amacleod (a] cygnus.com>
7086 1.1 skrll
7087 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address
7088 1.1 skrll for undefined symbols to be the beginning of the section.
7089 1.1 skrll
7090 1.1 skrll * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate
7091 1.1 skrll four extra entries at the beginning of the .rela.plt section.
7092 1.1 skrll (sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt
7093 1.1 skrll section to account for the four reserved entries in the .plt section.
7094 1.1 skrll
7095 1.1 skrll 2000-08-15 Geoffrey Keating <geoffk (a] cygnus.com>
7096 1.1 skrll
7097 1.1 skrll * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0
7098 1.1 skrll to the list of NOPs we recognize after a branch-and-link.
7099 1.1 skrll Use the ori NOP when one is needed.
7100 1.1 skrll
7101 1.1 skrll * coff-rs6000.c (_bfd_xcoff_slurp_armap): Finish implementation
7102 1.1 skrll for large archives.
7103 1.1 skrll
7104 1.1 skrll 2000-08-14 Jim Wilson <wilson (a] cygnus.com>
7105 1.1 skrll
7106 1.1 skrll * elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle
7107 1.1 skrll EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP.
7108 1.1 skrll (elf64_ia64_print_private_bfd_data): Likewise. Also handle
7109 1.1 skrll EF_IA_64_ABSOLUTE.
7110 1.1 skrll
7111 1.1 skrll 2000-08-11 Alexandre Oliva <aoliva (a] redhat.com>
7112 1.1 skrll
7113 1.1 skrll * elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.
7114 1.1 skrll
7115 1.1 skrll 2000-08-10 Jason Eckhardt <jle (a] cygnus.com>
7116 1.1 skrll
7117 1.1 skrll * elf32-i860.c (elf32_i860_relocate_section): New function.
7118 1.1 skrll (i860_final_link_relocate): New function.
7119 1.1 skrll (elf32_i860_relocate_splitn): New function.
7120 1.1 skrll (elf32_i860_relocate_pc16): New function.
7121 1.1 skrll (elf32_i860_relocate_highadj): New function.
7122 1.1 skrll (elf32_i860_howto): Minor adjustments to some relocations.
7123 1.1 skrll (elf_info_to_howto_rel): Define.
7124 1.1 skrll (elf_backend_relocate_section): Define.
7125 1.1 skrll
7126 1.1 skrll 2000-08-10 Nick Clifton <nickc (a] cygnus.com>
7127 1.1 skrll
7128 1.1 skrll * elf32-arm.h: Fix formatting.
7129 1.1 skrll
7130 1.1 skrll 2000-08-10 Bernd Schmidt <bernds (a] cygnus.co.uk>
7131 1.1 skrll
7132 1.1 skrll * elf32-sh.c (sh_elf_reloc_loop): Make LAST_SYMBOL_SECTION static.
7133 1.1 skrll
7134 1.1 skrll 2000-08-08 Jason Eckhardt <jle (a] cygnus.com>
7135 1.1 skrll
7136 1.1 skrll * elf32-i860.c (elf32_i860_howto_table): Updated some fields.
7137 1.1 skrll
7138 1.1 skrll 2000-08-07 Kazu Hirata <kazu (a] hxi.com>
7139 1.1 skrll
7140 1.1 skrll * ieee.c (ieee_write_debug_part): Rewrite a comment.
7141 1.1 skrll * elf64-ia64.c: Fix a typo.
7142 1.1 skrll
7143 1.1 skrll 2000-08-05 Jason Eckhardt <jle (a] cygnus.com>
7144 1.1 skrll
7145 1.1 skrll * elf32-i860.c (elf32_i860_howto_table): New structure.
7146 1.1 skrll (lookup_howto): New function.
7147 1.1 skrll (elf32_i860_reloc_type_lookup): New function.
7148 1.1 skrll (elf32_i860_info_to_howto_rela): New function.
7149 1.1 skrll (elf_code_to_howto_index): New structure.
7150 1.1 skrll (elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela.
7151 1.1 skrll (bfd_elf32_bfd_reloc_type_lookup): Re-define as
7152 1.1 skrll elf32_i860_reloc_type_lookup.
7153 1.1 skrll
7154 1.1 skrll 2000-08-04 Rodney Brown <RodneyBrown (a] pmsc.com>
7155 1.1 skrll
7156 1.1 skrll * som.c (struct fixup_format): Constify `format'.
7157 1.1 skrll (som_hppa_howto_table): Use SOM_HOWTO macro.
7158 1.1 skrll (try_prev_fixup, hppa_som_reloc): Decorate unused parameter.
7159 1.1 skrll (som_bfd_reloc_type_lookup): Likewise.
7160 1.1 skrll (compare_subspaces): Remove unused `count1', `count2'.
7161 1.1 skrll (som_begin_writing): Remove unused `total_reloc_size'.
7162 1.1 skrll (som_bfd_derive_misc_symbol_info): Decorate unused parameter.
7163 1.1 skrll (som_print_symbol, som_bfd_is_local_label_name): Likewise.
7164 1.1 skrll (som_set_reloc_info): Constify `cp'. Remove unused `addend'.
7165 1.1 skrll (som_find_nearest_line): Decorate unused parameter(s).
7166 1.1 skrll (som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise.
7167 1.1 skrll (som_bfd_link_split_section): Likewise.
7168 1.1 skrll
7169 1.1 skrll 2000-08-03 Nick Clifton <nickc (a] cygnus.com>
7170 1.1 skrll
7171 1.1 skrll * section.c: Restore backed out code.
7172 1.1 skrll * elf.c: Restore backed out code.
7173 1.1 skrll (copy_private_bfd_data): Fix bug preventing stipped dynamic
7174 1.1 skrll binaries from working.
7175 1.1 skrll * bfd-in2.h: Regenerate.
7176 1.1 skrll
7177 1.1 skrll 2000-08-03 H.J. Lu <hjl (a] gnu.org>
7178 1.1 skrll
7179 1.1 skrll * section.c: Back out the change made by Nick Clifton
7180 1.1 skrll <nickc (a] cygnus.com> on 2000-07-31. It breaks stripping dynamic
7181 1.1 skrll binaries.
7182 1.1 skrll * bfd-in2.h: Likewise.
7183 1.1 skrll * elf.c: Likewise.
7184 1.1 skrll
7185 1.1 skrll 2000-08-03 Alexandre Oliva <aoliva (a] redhat.com>
7186 1.1 skrll
7187 1.1 skrll * elf32-sh.c (sh_elf_reloc_loop): Warning removal.
7188 1.1 skrll
7189 1.1 skrll 2000-07-31 Jason Eckhardt <jle (a] cygnus.com>
7190 1.1 skrll
7191 1.1 skrll * reloc.c (BFD_RELOC_860_*): New bfd relocs for i860.
7192 1.1 skrll * bfd-in2.h, libbfd.h: Regenerate.
7193 1.1 skrll
7194 1.1 skrll 2000-07-31 Nick Clifton <nickc (a] cygnus.com>
7195 1.1 skrll
7196 1.1 skrll * section.c (struct sec): Add new boolean field 'segment_mark'.
7197 1.1 skrll (STD_SECTION): Initialise new field to zero.
7198 1.1 skrll
7199 1.1 skrll * bfd-in2.h: Regenerate.
7200 1.1 skrll
7201 1.1 skrll * elf.c (copy_private_bfd_data): Reorganise section to segment
7202 1.1 skrll mapping to cope with moved sections requiring new segments,
7203 1.1 skrll and overlapping segments.
7204 1.1 skrll (SEGMENT_END): New macro: Return the end address of a segment.
7205 1.1 skrll (IS_CONTAINED_BY_VMA): New macro: Determine if a segment
7206 1.1 skrll contains a section by comparing their VMA addresses.
7207 1.1 skrll (IS_CONTAINED_BY_LMA): New macro: Determine if a segment
7208 1.1 skrll contains a section by comparing their LMA addresses.
7209 1.1 skrll (INCLUDE_SECTION_IN_SEGMENT): New macro: Determine if a
7210 1.1 skrll section should be included in a segment.
7211 1.1 skrll (SEGMENT_AFTER_SEGMENT): New macro: Determine if one segment
7212 1.1 skrll follows another in memory.
7213 1.1 skrll (SEGMENT_OVERLAPS_SEGMENT): New macro: Determine if two
7214 1.1 skrll segments overlap.
7215 1.1 skrll
7216 1.1 skrll 2000-07-22 Jason Eckhardt <jle (a] cygnus.com>
7217 1.1 skrll
7218 1.1 skrll * cpu-i860.c: Added comments.
7219 1.1 skrll
7220 1.1 skrll * elf32-i860.c (TARGET_LITTLE_SYM): Defined to
7221 1.1 skrll bfd_elf32_i860_little_vec.
7222 1.1 skrll (TARGET_LITTLE_NAME): Defined to "elf32-i860-little".
7223 1.1 skrll (ELF_MAXPAGESIZE): Changed to 4096.
7224 1.1 skrll
7225 1.1 skrll * targets.c (bfd_elf32_i860_little_vec): Declaration of
7226 1.1 skrll new target.
7227 1.1 skrll (bfd_target_vector): Added bfd_elf32_i860_little_vec.
7228 1.1 skrll
7229 1.1 skrll * config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added
7230 1.1 skrll config for little endian elf32 i860.
7231 1.1 skrll (targ_defvec): Define for the new config above
7232 1.1 skrll as "bfd_elf32_i860_little_vec".
7233 1.1 skrll (targ_selvecs): Define for the new config above
7234 1.1 skrll as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec"
7235 1.1 skrll
7236 1.1 skrll * configure.in (bfd_elf32_i860_little_vec): Added recognition
7237 1.1 skrll of new target vec.
7238 1.1 skrll
7239 1.1 skrll * configure: Regenerated.
7240 1.1 skrll
7241 1.1 skrll 2000-07-27 H.J. Lu <hjl (a] gnu.org>
7242 1.1 skrll
7243 1.1 skrll * elflink.h (elf_merge_symbol): Take one more argument,
7244 1.1 skrll dt_needed, to indicate if the symbol comes from a DT_NEEDED
7245 1.1 skrll entry. Don't overide the existing weak definition if dt_needed
7246 1.1 skrll is true.
7247 1.1 skrll (elf_link_add_object_symbols): Pass dt_needed to
7248 1.1 skrll elf_merge_symbol ().
7249 1.1 skrll
7250 1.1 skrll 2000-07-27 Nick Clifton <nickc (a] cygnus.com>
7251 1.1 skrll
7252 1.1 skrll * elflink.h (elf_link_size_reloc_section): Zeroes the section's
7253 1.1 skrll allocated contents.
7254 1.1 skrll
7255 1.1 skrll 2000-07-25 Geoffrey Keating <geoffk (a] cygnus.com>
7256 1.1 skrll
7257 1.1 skrll * configure.host (*-*-aix*): AIX has 'long long' always.
7258 1.1 skrll
7259 1.1 skrll * coff-rs6000.c (xcoff_write_one_armap_big): New procedure.
7260 1.1 skrll (xcoff_write_armap_big): Write both 32-bit and 64-bit armaps.
7261 1.1 skrll (xcoff_write_archive_contents_big): Don't update the offset
7262 1.1 skrll of the symbol table, xcoff_write_armap will do it.
7263 1.1 skrll
7264 1.1 skrll 2000-07-23 Ulf Carlsson <ulfc (a] engr.sgi.com>
7265 1.1 skrll
7266 1.1 skrll * elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead
7267 1.1 skrll of dynobj for SGI_COMPAT checks.
7268 1.1 skrll
7269 1.1 skrll 2000-07-21 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
7270 1.1 skrll
7271 1.1 skrll * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): New function.
7272 1.1 skrll * bfd-in.h (bfd_m68k_coff_create_embedded_relocs): Add declaration.
7273 1.1 skrll * bfd-in2.h: Regenerate.
7274 1.1 skrll
7275 1.1 skrll 2000-07-21 Nick Clifton <nickc (a] cygnus.com>
7276 1.1 skrll
7277 1.1 skrll * elf32-mips.c (_bfd_mips_elf_check_relocs): Detect out of
7278 1.1 skrll range symbol indices in relocs and issue an error message.
7279 1.1 skrll
7280 1.1 skrll 2000-07-20 H.J. Lu <hjl (a] gnu.org>
7281 1.1 skrll
7282 1.1 skrll * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check
7283 1.1 skrll info->new_dtags when setting DT_FLAGS_1. It will only be set
7284 1.1 skrll by the new linker options. It shouldn't break anything.
7285 1.1 skrll
7286 1.1 skrll 2000-07-20 H.J. Lu <hjl (a] gnu.org>
7287 1.1 skrll
7288 1.1 skrll * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1
7289 1.1 skrll only if info->new_dtags is true.
7290 1.1 skrll
7291 1.1 skrll 2000-07-20 H.J. Lu <hjl (a] gnu.org>
7292 1.1 skrll
7293 1.1 skrll * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set
7294 1.1 skrll DT_RUNPATH and DT_FLAGS only if info->new_dtags is true.
7295 1.1 skrll
7296 1.1 skrll 2000-07-20 Hans-Peter Nilsson <hp (a] axis.com>
7297 1.1 skrll
7298 1.1 skrll * Makefile.am (ALL_MACHINES): Add cpu-cris.lo.
7299 1.1 skrll (ALL_MACHINES_CFILES): Add cpu-cris.c.
7300 1.1 skrll (BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo.
7301 1.1 skrll (BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c.
7302 1.1 skrll (cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules.
7303 1.1 skrll * Makefile.in: Rebuild.
7304 1.1 skrll * aclocal.m4: Rebuild.
7305 1.1 skrll * aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris.
7306 1.1 skrll * archures.c (enum bfd_architecture): Add bfd_arch_cris.
7307 1.1 skrll (bfd_cris_arch): Declare.
7308 1.1 skrll (bfd_archures_list): Add bfd_cris_arch.
7309 1.1 skrll * bfd-in2.h: Rebuild.
7310 1.1 skrll * config.bfd: (cris-*-*): New target.
7311 1.1 skrll * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors.
7312 1.1 skrll * configure: Rebuild.
7313 1.1 skrll * elf.c (prep_headers): Add bfd_arch_cris.
7314 1.1 skrll * libbfd.h: Rebuild.
7315 1.1 skrll * libaout.h (enum machine_type): Add M_CRIS.
7316 1.1 skrll * reloc.c: Add CRIS relocations.
7317 1.1 skrll * targets.c (bfd_elf32_cris_vec, cris_aout_vec): Declare.
7318 1.1 skrll (bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec.
7319 1.1 skrll * cpu-cris.c, aout-cris.c, elf32-cris.c: New files.
7320 1.1 skrll * po/POTFILES.in, po/bfd.pot: Regenerate.
7321 1.1 skrll
7322 1.1 skrll 2000-07-19 H.J. Lu <hjl (a] gnu.org>
7323 1.1 skrll
7324 1.1 skrll * elf32-arm.h (elf32_arm_size_dynamic_sections): Also set
7325 1.1 skrll DF_TEXTREL if DT_TEXTREL is set.
7326 1.1 skrll * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
7327 1.1 skrll * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
7328 1.1 skrll * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
7329 1.1 skrll * elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise.
7330 1.1 skrll * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
7331 1.1 skrll * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
7332 1.1 skrll * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
7333 1.1 skrll * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
7334 1.1 skrll * elf64-ia64.c (elf64_ia64_size_dynamic_sections): Likewise.
7335 1.1 skrll * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise.
7336 1.1 skrll
7337 1.1 skrll * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also
7338 1.1 skrll set DF_SYMBOLIC for symbolic link. Also set DT_RUNPATH if
7339 1.1 skrll DT_RPATH is set.
7340 1.1 skrll Set the DT_FLAGS and DT_FLAGS_1 entries if necessary.
7341 1.1 skrll
7342 1.1 skrll 2000-07-19 H.J. Lu <hjl (a] gnu.org>
7343 1.1 skrll
7344 1.1 skrll * bfd-in.h (bfd_elf_set_dt_needed_soname): New.
7345 1.1 skrll * bfd-in2.h: Rebuild.
7346 1.1 skrll
7347 1.1 skrll * elf-bfd.h (elf_obj_tdata): Add dt_soname.
7348 1.1 skrll (elf_dt_soname): New.
7349 1.1 skrll
7350 1.1 skrll * elf.c (bfd_elf_set_dt_needed_soname): New.
7351 1.1 skrll
7352 1.1 skrll * elflink.h (elf_link_add_object_symbols): Add the DT_NEEDED
7353 1.1 skrll entry if the shared object loaded by DT_NEEDED is used to
7354 1.1 skrll resolve the reference in a regular object.
7355 1.1 skrll
7356 1.1 skrll 2000-07-19 H.J. Lu <hjl (a] gnu.org>
7357 1.1 skrll
7358 1.1 skrll * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG,
7359 1.1 skrll DT_DEPAUDIT and DT_AUDIT as strings.
7360 1.1 skrll
7361 1.1 skrll 2000-07-19 Nick Clifton <nickc (a] cygnus.com>
7362 1.1 skrll
7363 1.1 skrll * format.c: Fix formatting.
7364 1.1 skrll
7365 1.1 skrll 2000-07-19 H.J. Lu <hjl (a] gnu.org>
7366 1.1 skrll
7367 1.1 skrll * elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM.
7368 1.1 skrll
7369 1.1 skrll 2000-07-19 H.J. Lu <hjl (a] gnu.org>
7370 1.1 skrll
7371 1.1 skrll * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW,
7372 1.1 skrll DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ,
7373 1.1 skrll DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ,
7374 1.1 skrll DT_PLTPADSZ, DT_MOVEENT, DT_MOVESZ, DT_FEATURE, DT_POSFLAG_1,
7375 1.1 skrll DT_SYMINSZ, DT_SYMINENT, DT_CONFIG, DT_DEPAUDIT, DT_AUDIT,
7376 1.1 skrll DT_PLTPAD, DT_MOVETAB, DT_SYMINFO, DT_RELACOUNT, DT_RELCOUNT,
7377 1.1 skrll DT_FLAGS_1, DT_USED and DT_CHECKSUM.
7378 1.1 skrll
7379 1.1 skrll 2000-07-18 Andrew Cagney <cagney (a] b1.cygnus.com>
7380 1.1 skrll
7381 1.1 skrll * elf.c (bfd_elf_get_sign_extend_vma, bfd_elf_get_arch_size): Move
7382 1.1 skrll renamed functions from here...
7383 1.1 skrll (assign_section_numbers): Use renamed functions.
7384 1.1 skrll (prep_headers): Use renamed functions.
7385 1.1 skrll
7386 1.1 skrll * bfd.c (bfd_get_sign_extend_vma, bfd_get_arch_size): ...To here.
7387 1.1 skrll * bfd-in.h (bfd_get_sign_extend_vma, bfd_get_arch_size): Update.
7388 1.1 skrll * bfd-in2.h: Regenerate.
7389 1.1 skrll
7390 1.1 skrll 2000-07-18 Ulf Carlsson <ulfc (a] engr.sgi.com>
7391 1.1 skrll
7392 1.1 skrll * elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add
7393 1.1 skrll parenthesis in if statement.
7394 1.1 skrll
7395 1.1 skrll 2000-07-17 Koundinya K <kk (a] ddeorg.soft.net>
7396 1.1 skrll
7397 1.1 skrll Enable the support for Traditional MIPS.
7398 1.1 skrll * elf32-mips.c (IRIX_COMPAT): Recognize bfd_elf32_tradbigmips_vecand
7399 1.1 skrll return ict_none appropriately for traditional mips targets.
7400 1.1 skrll (STUB_LW): Change 0x8f998000 to 0x8f998010 for traditional mips.
7401 1.1 skrll (STUB_MOVE): Conditionalize for traditonal mips.
7402 1.1 skrll (STUB_LI16): Likewise.
7403 1.1 skrll (_bfd_mips_elf_modify_segment_map): Conditionalize to avoid making
7404 1.1 skrll room for RTPROC header.
7405 1.1 skrll (_bfd_mips_elf_modify_segment_map): For a normal mips executable set
7406 1.1 skrll the permission for the PT_DYNAMIC as read, write and execute.
7407 1.1 skrll (mips_elf_calculate_relocation): Check for the symbol _DYNAMIC_LINKING
7408 1.1 skrll for traditonal mips.
7409 1.1 skrll (_bfd_mips_elf_create_dynamic_sections): Add the symbol
7410 1.1 skrll _DYNAMIC_LINKING for traditonal mips.
7411 1.1 skrll (_bfd_mips_elf_create_dynamic_sections): Add the symbol __RLD_MAP
7412 1.1 skrll in case of traditonal mips.
7413 1.1 skrll (_bfd_mips_elf_adjust_dynamic_symbol): Create a stub only if a PLT
7414 1.1 skrll entry is required. For a function if PLT is not required then set the
7415 1.1 skrll corresponding hash table entry to 0.
7416 1.1 skrll (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for
7417 1.1 skrll traditonal mips.
7418 1.1 skrll (_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a
7419 1.1 skrll shared object set the value to 0.
7420 1.1 skrll (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol
7421 1.1 skrll _DYNAMIC_LINKING for traditonal mips.
7422 1.1 skrll (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol __RLD_MAP
7423 1.1 skrll for traditonal mips.
7424 1.1 skrll
7425 1.1 skrll 2000-07-15 H.J. Lu <hjl (a] gnu.org>
7426 1.1 skrll
7427 1.1 skrll * aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL.
7428 1.1 skrll
7429 1.1 skrll 2000-07-12 Charles Wilson <cwilson (a] ece.gatech.edu>
7430 1.1 skrll
7431 1.1 skrll * libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing
7432 1.1 skrll out a structure that is BFD_IN_MEMORY.
7433 1.1 skrll
7434 1.1 skrll 2000-07-11 Alan Modra <alan (a] linuxcare.com.au>
7435 1.1 skrll
7436 1.1 skrll * elf64-hppa.c (get_dyn_name): Pass in section pointer instead of
7437 1.1 skrll bfd pointer. Print section id instead of bfd pointer for local
7438 1.1 skrll syms. Prefix addend with `+' for global syms as well as local.
7439 1.1 skrll Correct calculation of name component lengths.
7440 1.1 skrll (elf64_hppa_check_relocs): Update call to get_dyn_name.
7441 1.1 skrll
7442 1.1 skrll From David Huggins-Daines <dhd (a] linuxcare.com>
7443 1.1 skrll * elf-hppa.h (elf_hppa_relocate_section): Update calls here too.
7444 1.1 skrll * elf64-hppa.c (elf64_hppa_check_relocs): Fix some warnings.
7445 1.1 skrll (elf64_hppa_modify_segment_map): Likewise.
7446 1.1 skrll
7447 1.1 skrll 2000-07-11 Andrew Cagney <cagney (a] b1.cygnus.com>
7448 1.1 skrll
7449 1.1 skrll * elf.c (bfd_elf_get_sign_extend_vma): Return tendency of VMA
7450 1.1 skrll addresses to be "naturally" sign extended. Return -1 if unknown.
7451 1.1 skrll * bfd-in.h (bfd_elf_get_sign_extend_vma): Add declaration.
7452 1.1 skrll * bfd-in2.h: Regenerate.
7453 1.1 skrll
7454 1.1 skrll 2000-07-11 Andrew Cagney <cagney (a] b1.cygnus.com>
7455 1.1 skrll
7456 1.1 skrll * ecoffswap.h (ecoff_get_off, ecoff_put_off): Add ECOFF_SIGNED_32
7457 1.1 skrll and ECOF_SIGNED_64 to list ways to extract an offset.
7458 1.1 skrll (ecoff_swap_fdr_in, ecoff_swap_fdr_out, ecoff_swap_pdr_in,
7459 1.1 skrll ecoff_swap_pdr_out, ecoff_swap_ext_in, ecoff_swap_ext_out):
7460 1.1 skrll Update.
7461 1.1 skrll * elf64-mips.c (ECOFF_SIGNED_64): Define instead of ECOFF_64.
7462 1.1 skrll * elf32-mips.c (ECOFF_SIGNED_32): Define instead of ECOFF_32.
7463 1.1 skrll
7464 1.1 skrll 2000-07-11 Andrew Cagney <cagney (a] b1.cygnus.com>
7465 1.1 skrll
7466 1.1 skrll * elfcode.h (elf_object_p): Use bfd_set_start_address and not
7467 1.1 skrll bfd_get_start_address.
7468 1.1 skrll (elf_swap_ehdr_in): Sign extend e_entry when applicable.
7469 1.1 skrll (elf_swap_ehdr_out): Ditto.
7470 1.1 skrll
7471 1.1 skrll 2000-07-10 Alexander Aganichev <AAganichev (a] hypercom.com>
7472 1.1 skrll
7473 1.1 skrll * archures.c (bfd_default_scan): Add set of bfd_mach_ cases for
7474 1.1 skrll compatibility with older binutils.
7475 1.1 skrll
7476 1.1 skrll 2000-07-10 Alan Modra <alan (a] linuxcare.com.au>
7477 1.1 skrll
7478 1.1 skrll * section.c (bfd_make_section_anyway): Start section_id at 0x10.
7479 1.1 skrll (STD_SECTION): Avoid negative ids, instead use 0 to 3.
7480 1.1 skrll
7481 1.1 skrll From Ryan Bradetich <rbradetich (a] uswest.net>
7482 1.1 skrll * dwarf1.c (parse_die): Cure signed/unsigned char warnings.
7483 1.1 skrll (parse_line_table): Ditto.
7484 1.1 skrll (_bfd_dwarf1_find_nearest_line): Ditto.
7485 1.1 skrll * syms.c (cmpindexentry): Remove extra `*' from params.
7486 1.1 skrll
7487 1.1 skrll 2000-07-09 Koundinya K <kk (a] ddeorg.soft.net>
7488 1.1 skrll
7489 1.1 skrll * elf32-mips.c (sort_dynamic_relocs): New Function.
7490 1.1 skrll (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs
7491 1.1 skrll via qsort to sort the dynamic relocations in increasing r_symndx
7492 1.1 skrll value.
7493 1.1 skrll
7494 1.1 skrll 2000-07-09 Alan Modra <alan (a] linuxcare.com.au>
7495 1.1 skrll
7496 1.1 skrll * elf64-hppa.c (elf64_hppa_dyn_hash_table_init): Add
7497 1.1 skrll ATTRIBUTE_UNUSED to unused args.
7498 1.1 skrll (get_opd): Likewise.
7499 1.1 skrll (get_plt): Likewise.
7500 1.1 skrll (get_dlt): Likewise.
7501 1.1 skrll (get_stub): Likewise.
7502 1.1 skrll (elf64_hppa_adjust_dynamic_symbol): Likewise.
7503 1.1 skrll (elf64_hppa_link_output_symbol_hook): Likewise.
7504 1.1 skrll (elf64_hppa_check_relocs): Delete unused var.
7505 1.1 skrll (elf64_hppa_size_dynamic_sections): Likewise.
7506 1.1 skrll (elf64_hppa_finalize_opd): Likewise.
7507 1.1 skrll (elf64_hppa_finalize_dynreloc): Likewise.
7508 1.1 skrll (elf64_hppa_modify_segment_map): Likewise.
7509 1.1 skrll (elf64_hppa_finish_dynamic_sections): Likewise.
7510 1.1 skrll
7511 1.1 skrll * elf-hppa.h (elf_hppa_final_write_processing): Add
7512 1.1 skrll ATTRIBUTE_UNUSED to unused args.
7513 1.1 skrll (elf_hppa_final_link_relocate): Likewise.
7514 1.1 skrll (elf_hppa_record_segment_addrs): Add paretheses.
7515 1.1 skrll (elf_hppa_relocate_section): Constify dyn_name.
7516 1.1 skrll
7517 1.1 skrll From David Huggins-Daines <dhd (a] linuxcare.com>
7518 1.1 skrll * config.bfd: Add hppa*64*-*-linux-gnu 64-bit target, and
7519 1.1 skrll rearrange case statement so that it gets preferred to 32-bit ones.
7520 1.1 skrll
7521 1.1 skrll * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Use
7522 1.1 skrll asection->id instead of address of asection structure.
7523 1.1 skrll (elf32_hppa_size_stubs): Likewise.
7524 1.1 skrll
7525 1.1 skrll * elf32-hppa.c (elf32_hppa_size_stubs): Use just one stub section
7526 1.1 skrll for .init* and .fini*.
7527 1.1 skrll
7528 1.1 skrll * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Mask pointers
7529 1.1 skrll and addends used in stub names to 32 bits.
7530 1.1 skrll (elf32_hppa_size_stubs): Likewise.
7531 1.1 skrll
7532 1.1 skrll * elf-hppa.h (elf_hppa_final_link_relocate): Don't sum addend
7533 1.1 skrll twice for R_PARISC_GPREL64. Use bfd_put_32 for R_PARISC_PCREL32,
7534 1.1 skrll not bfd_put_64. Fix minor comment typo and formatting.
7535 1.1 skrll
7536 1.1 skrll Changes to create multiple linker stubs, positioned immediately
7537 1.1 skrll before the section where they are required.
7538 1.1 skrll * elf32-hppa.c: Don't include hppa_stubs.h.
7539 1.1 skrll (elf32_hppa_stub_hash_entry): Add a pointer to the stub section.
7540 1.1 skrll (elf32_hppa_stub_hash_table): Delete.
7541 1.1 skrll (elf32_hppa_link_hash_entry): Delete.
7542 1.1 skrll (elf32_hppa_link_hash_table): Use plain bfd_hash_table for
7543 1.1 skrll stub_hash_table, and store the struct here rather than a pointer.
7544 1.1 skrll Delete output_symbol_count. Add offset array. Change
7545 1.1 skrll global_value to a bfd_vma.
7546 1.1 skrll (elf32_hppa_stub_hash_lookup): Use table instead of table->root.
7547 1.1 skrll (elf32_hppa_stub_hash_traverse): Delete.
7548 1.1 skrll (elf32_hppa_name_of_stub): Delete.
7549 1.1 skrll (elf32_hppa_link_hash_lookup): Delete.
7550 1.1 skrll (elf32_hppa_link_hash_traverse): Delete.
7551 1.1 skrll (elf32_hppa_stub_hash_table_init): Delete.
7552 1.1 skrll (elf32_hppa_size_of_stub): Pass input section and offset rather
7553 1.1 skrll than location and calculate location here. Don't pass name as all
7554 1.1 skrll stubs are now the same size.
7555 1.1 skrll (elf32_hppa_stub_hash_newfunc): Init new fields.
7556 1.1 skrll (elf32_hppa_link_hash_table_create): Likewise, and stub_hash_table
7557 1.1 skrll too.
7558 1.1 skrll (elf32_hppa_bfd_final_link_relocate): Cast enums to int before
7559 1.1 skrll comparing against ints. Rewrite stub handling code.
7560 1.1 skrll (elf32_hppa_relocate_section): Make r_type and r_symndx unsigned.
7561 1.1 skrll Case enums to int before comparing against ints. Remove
7562 1.1 skrll bfd_reloc_dangerous case.
7563 1.1 skrll (elf32_hppa_build_one_stub): Rewrite.
7564 1.1 skrll (elf32_hppa_size_one_stub): New function.
7565 1.1 skrll (elf32_hppa_build_stubs): Rewrite.
7566 1.1 skrll (elf32_hppa_size_stubs): Pass in linker call-back functions.
7567 1.1 skrll Rewrite stub-handling specific code.
7568 1.1 skrll
7569 1.1 skrll * elf32-hppa.h (elf32_hppa_size_stubs): Update prototype.
7570 1.1 skrll
7571 1.1 skrll * elf64-hppa.c (elf64_hppa_dyn_hash_entry): Fix a comment typo.
7572 1.1 skrll
7573 1.1 skrll * hppa_stubs.h: Delete.
7574 1.1 skrll * Makefile.am (SOURCE_HFILES): Remove hppa_stubs.h
7575 1.1 skrll (elf32-hppa.lo): Remove hppa_stubs.h from dependencies.
7576 1.1 skrll * Makefile.in: Regenerate.
7577 1.1 skrll
7578 1.1 skrll * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle e_nlsel and
7579 1.1 skrll e_nlrsel.
7580 1.1 skrll
7581 1.1 skrll * libhppa.h (hppa_field_adjust): Correct e_nsel case.
7582 1.1 skrll
7583 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Mention the offset
7584 1.1 skrll and section name for bfd_reloc_notsupported error message.
7585 1.1 skrll (elf32_hppa_bfd_final_link_relocate): Print reasons for returning
7586 1.1 skrll bfd_reloc_notsupported.
7587 1.1 skrll (elf32_hppa_relocate_section): Add ATTRIBUTE_UNUSED to output_bfd.
7588 1.1 skrll
7589 1.1 skrll * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Handle
7590 1.1 skrll undefined weak symbols for all relocs.
7591 1.1 skrll (elf32_hppa_size_of_stub): Adjust calculation by 8 since branch
7592 1.1 skrll offsets are relative to one past the delay slot.
7593 1.1 skrll (elf32_hppa_size_stubs): Account for reloc addend when calculating
7594 1.1 skrll branch destination. Put addend into stub name too.
7595 1.1 skrll (elf32_hppa_bfd_final_link_relocate): Account for reloc addend and
7596 1.1 skrll adjust by 8 when deciding whether a linker stub is needed. Put
7597 1.1 skrll addend into stub name as for above.
7598 1.1 skrll
7599 1.1 skrll * elf32-hppa.c (hppa_elf_relocate_insn): Change signed/unsigned on
7600 1.1 skrll various args and vars.
7601 1.1 skrll (elf32_hppa_bfd_final_link_relocate): Here too.
7602 1.1 skrll (elf32_hppa_size_stubs): Rename index -> indx. Use e_indx for
7603 1.1 skrll inner block var to avoid shadowing.
7604 1.1 skrll
7605 1.1 skrll * elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type): Make `field' arg
7606 1.1 skrll unsigned.
7607 1.1 skrll * elf64-hppa.h (_bfd_elf64_hppa_gen_reloc_type): Ditto.
7608 1.1 skrll * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Ditto.
7609 1.1 skrll (elf_hppa_fake_sections): Rename local var to avoid shadowing.
7610 1.1 skrll
7611 1.1 skrll * libhppa.h: Change practically all unsigned ints to plain ints.
7612 1.1 skrll Remove tests on gcc version. Instead use ATTRIBUTE_UNUSED for
7613 1.1 skrll prototypes.
7614 1.1 skrll
7615 1.1 skrll From Ryan Bradetich <rbradetich (a] uswest.net>
7616 1.1 skrll * libhppa.h (hppa_opcode_type): New enum to replace #define's.
7617 1.1 skrll * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Modify to
7618 1.1 skrll suit above.
7619 1.1 skrll From David Huggins-Daines <dhd (a] linuxcare.com>
7620 1.1 skrll * elf-hppa.h (elf_hppa_relocate_insn): Update the opcode constants
7621 1.1 skrll to the new OP_* ones.
7622 1.1 skrll
7623 1.1 skrll * elf32-hppa.c (elf32_hppa_size_stubs): Consolidate freeing on
7624 1.1 skrll error exit. Bail out earlier on plabel relocs that we aren't
7625 1.1 skrll interested in. Don't tell elf32_hppa_stub_hash_lookup to copy
7626 1.1 skrll string, and then don't free our copy.
7627 1.1 skrll (elf32_hppa_build_one_stub): Make insn unsigned int.
7628 1.1 skrll
7629 1.1 skrll * libhppa.h (bfd_hppa_insn2fmt): 22 bit branches are only
7630 1.1 skrll available with BL, not BE and BLE.
7631 1.1 skrll
7632 1.1 skrll * elf32-hppa.c (hppa_elf_relocate_insn): Add some more example
7633 1.1 skrll code for elf arg relocs.
7634 1.1 skrll (elf32_hppa_bfd_final_link_relocate): Replace boolean is_local
7635 1.1 skrll argument with elf_link_hash_entry h. Handle undefined weak
7636 1.1 skrll symbols. Move $global$ lookup from here...
7637 1.1 skrll (elf32_hppa_relocate_section): ...to here. Return correct error
7638 1.1 skrll message for non-handled relocs.
7639 1.1 skrll (elf32_hppa_size_of_stub): Correctly test branch range. Previous
7640 1.1 skrll wrong test was -0x3ffff to +0x40000.
7641 1.1 skrll
7642 1.1 skrll * elf-hppa.h (elf_hppa_final_link_relocate): R_PARISC_DIR17R,
7643 1.1 skrll R_PARISC_DIR17F, and R_PARISC_DIR21L are for absolute branches;
7644 1.1 skrll Handle them as such.
7645 1.1 skrll (elf_hppa_relocate_insn): Fix a typo.
7646 1.1 skrll
7647 1.1 skrll * libhppa.h (GET_FIELD, GET_BIT, MASK, CATENATE, ELEVEN): Delete.
7648 1.1 skrll (assemble_3, assemble_6, assemble_12, assemble_16, assemble_16a,
7649 1.1 skrll assemble_17, assemble_21): Delete.
7650 1.1 skrll Supply defines for all 64 possible opcodes.
7651 1.1 skrll (bfd_hppa_insn2fmt): Add bfd argument, and use to select wide mode
7652 1.1 skrll formats. Handle COMICLR.
7653 1.1 skrll (hppa_rebuild_insn): Delete bfd argument. Handle formats 10, -11,
7654 1.1 skrll -10, -16, 16, 22.
7655 1.1 skrll
7656 1.1 skrll * elf32-hppa.c (hppa_elf_relocate_insn): Complete rewrite.
7657 1.1 skrll (elf32_hppa_bfd_final_link_relocate): Major rewrite.
7658 1.1 skrll (elf32_hppa_build_one_stub): Modify hppa_elf_relocate_insn calls
7659 1.1 skrll to suit.
7660 1.1 skrll (elf32_hppa_size_stubs): Don't free stub_name twice. Read in all
7661 1.1 skrll the local syms - did this code get deleted accidentally? Ignore
7662 1.1 skrll undefined and undefweak syms.
7663 1.1 skrll
7664 1.1 skrll * elf-hppa.h (elf_hppa_final_link): Move hppa_info to outermost
7665 1.1 skrll block. Use it instead of elf64_hppa_hash_table (info).
7666 1.1 skrll (elf_hppa_final_link_relocate): Use hppa_info instead of
7667 1.1 skrll elf64_hppa_hash_table (info).
7668 1.1 skrll
7669 1.1 skrll * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
7670 1.1 skrll re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
7671 1.1 skrll (hppa_rebuild_insn): Mask immediate bits here instead.
7672 1.1 skrll * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
7673 1.1 skrll
7674 1.1 skrll 2000-07-08 Alan Modra <alan (a] linuxcare.com.au>
7675 1.1 skrll
7676 1.1 skrll * section.c (struct sec): Add id field. Tidy comment formatting.
7677 1.1 skrll (bfd_make_section_anyway): Set id.
7678 1.1 skrll (STD_SECTION): Init id too.
7679 1.1 skrll Change CONST to const throughout.
7680 1.1 skrll * archures.c (bfd_arch_info): Tidy comment.
7681 1.1 skrll (bfd_arch_list): Change a CONST to const.
7682 1.1 skrll * libbfd-in.h: Tidy comments and replace CONST with const.
7683 1.1 skrll * elf-bfd.h: Likewise.
7684 1.1 skrll * libbfd.h: Regenerate.
7685 1.1 skrll * bfd-in2.h: Regenerate.
7686 1.1 skrll * libcoff.h: Regenerate.
7687 1.1 skrll
7688 1.1 skrll 2000-07-07 DJ Delorie <dj (a] redhat.com>
7689 1.1 skrll
7690 1.1 skrll * archive.c (_bfd_write_archive_contents): Add an informative
7691 1.1 skrll comment.
7692 1.1 skrll
7693 1.1 skrll 2000-07-06 Kazu Hirata <kazu (a] hxi.com>
7694 1.1 skrll
7695 1.1 skrll * srec.c: Fix formatting.
7696 1.1 skrll
7697 1.1 skrll 2000-06-05 DJ Delorie <dj (a] redhat.com>
7698 1.1 skrll
7699 1.1 skrll * MAINTAINERS: new
7700 1.1 skrll
7701 1.1 skrll 2000-07-04 Alexandre Oliva <aoliva (a] redhat.com>
7702 1.1 skrll
7703 1.1 skrll * coff-arm.c (coff_arm_relocate_section): Do not ignore the symbol
7704 1.1 skrll value of PC-relative offsets.
7705 1.1 skrll
7706 1.1 skrll 2000-07-03 Jim Wilson <wilson (a] cygnus.com>
7707 1.1 skrll
7708 1.1 skrll * elf64-alpha.c (alpha_elf_size_info): New.
7709 1.1 skrll (elf_backend_size_info): Define to alpha_elf_size_info.
7710 1.1 skrll * elfcode.h (elf_size_info): Change hash bucket size to 4.
7711 1.1 skrll
7712 1.1 skrll 2000-07-03 Ulf Carlsson <ulfc (a] engr.sgi.com>
7713 1.1 skrll
7714 1.1 skrll * elf32-mips.c: Include elf32-target.h again for the traditional
7715 1.1 skrll MIPS targets.
7716 1.1 skrll
7717 1.1 skrll 2000-07-03 Marek Michalkiewicz <marekm (a] linux.org.pl>
7718 1.1 skrll
7719 1.1 skrll * elf32-avr.c (bfd_elf32_bfd_reloc_type_lookup):
7720 1.1 skrll Add ATTRIBUTE_UNUSED to unused arguments to avoid warnings.
7721 1.1 skrll (avr_info_to_howto_rela): Likewise.
7722 1.1 skrll (elf32_avr_gc_mark_hook): Likewise.
7723 1.1 skrll (elf32_avr_gc_sweep_hook): Likewise.
7724 1.1 skrll (elf32_avr_relocate_section): Likewise.
7725 1.1 skrll
7726 1.1 skrll 2000-07-03 Mark Elbrecht <snowball3 (a] bigfoot.com>
7727 1.1 skrll
7728 1.1 skrll * cofflink.c (_bfd_coff_write_global_sym): Turn a weak symbol into
7729 1.1 skrll an external symbol for a non-shared, non-relocatable link.
7730 1.1 skrll
7731 1.1 skrll 2000-07-03 Nick Clifton <nickc (a] redhat.com>
7732 1.1 skrll
7733 1.1 skrll * cofflink.c (IS_EXTERNAL): New macro: Return true if the symbol
7734 1.1 skrll is an external symbol.
7735 1.1 skrll (IS_WEAK_EXTERNAL): New macro: Return true if the symbol is a weak
7736 1.1 skrll external symbol.
7737 1.1 skrll
7738 1.1 skrll 2000-07-03 Kazu Hirata <kazu (a] hxi.com>
7739 1.1 skrll
7740 1.1 skrll * reloc16.c: Fix formatting.
7741 1.1 skrll
7742 1.1 skrll 2000-07-01 Koundinya K <kk (a] ddeorg.soft.net>
7743 1.1 skrll
7744 1.1 skrll * config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4*
7745 1.1 skrll to add a new target for traditional mips i.e
7746 1.1 skrll bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec.
7747 1.1 skrll * configure.in: Likewise.
7748 1.1 skrll * configure: Rebuild.
7749 1.1 skrll * targets.c (bfd_elf32_tradbigmips_vec): Declare and put in
7750 1.1 skrll bfd_target_vector.
7751 1.1 skrll (bfd_elf32_tradlittlemips_vec): Likewise.
7752 1.1 skrll * elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test
7753 1.1 skrll to see that elfNN_bed does not get redefined even if the target file
7754 1.1 skrll is included twice for a chip. See elf32-mips.c.
7755 1.1 skrll
7756 1.1 skrll 2000-07-01 Alan Modra <alan (a] linuxcare.com.au>
7757 1.1 skrll
7758 1.1 skrll * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
7759 1.1 skrll (CLEANFILES): Add DEPA.
7760 1.1 skrll * Makefile.in: Regenerate.
7761 1.1 skrll
7762 1.1 skrll 2000-06-30 DJ Delorie <dj (a] cygnus.com>
7763 1.1 skrll
7764 1.1 skrll * peicode.h (coff_swap_filehdr_in): can't use e_magic because we
7765 1.1 skrll can't assume the PE header is at 0x80.
7766 1.1 skrll
7767 1.1 skrll 2000-06-29 Mark Elbrecht <snowball3 (a] bigfoot.com>
7768 1.1 skrll
7769 1.1 skrll * syms.c (_bfd_stab_section_find_nearest_line): Use IS_ABSOLUTE_PATH.
7770 1.1 skrll
7771 1.1 skrll 2000-06-28 Mark Elbrecht <snowball3 (a] bigfoot.com>
7772 1.1 skrll
7773 1.1 skrll * go32stub.h: Update stub.
7774 1.1 skrll
7775 1.1 skrll 2000-06-26 Marek Michalkiewicz <marekm (a] linux.org.pl>
7776 1.1 skrll
7777 1.1 skrll * archures.c (bfd_mach_avr5): Define.
7778 1.1 skrll * bfd-in2.h (bfd_mach_avr5): Define.
7779 1.1 skrll * cpu-avr.c (arch_info_struct): Rename bfd_mach_avr4 to
7780 1.1 skrll bfd_mach_avr5, add bfd_mach_avr4. Update comments.
7781 1.1 skrll (compatible): Update comment. Add missing test.
7782 1.1 skrll * elf32-avr.c (avr_final_link_relocate): Support 8K wrap
7783 1.1 skrll for avr2 and avr4. Simplify 8K wrap code.
7784 1.1 skrll (bfd_elf_avr_final_write_processing): Recognize bfd_mach_avr5.
7785 1.1 skrll (elf32_avr_object_p): Recognize E_AVR_MACH_AVR5.
7786 1.1 skrll
7787 1.1 skrll 2000-06-26 Kazu Hirata <kazu (a] hxi.com>
7788 1.1 skrll
7789 1.1 skrll * coff-h8300.c: Fix formatting.
7790 1.1 skrll * cpu-h8300.c: Likewise.
7791 1.1 skrll
7792 1.1 skrll 2000-06-24 Alexandre Oliva <aoliva (a] redhat.com>
7793 1.1 skrll
7794 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)'
7795 1.1 skrll for local symbols whose names are unknown.
7796 1.1 skrll
7797 1.1 skrll 2000-06-22 Alan Modra <alan (a] linuxcare.com.au>
7798 1.1 skrll
7799 1.1 skrll * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
7800 1.1 skrll find one.
7801 1.1 skrll * Makefile.in: Regenerate.
7802 1.1 skrll * doc/Makefile.in: Regenerate.
7803 1.1 skrll
7804 1.1 skrll 2000-06-20 H.J. Lu <hjl (a] gnu.org>
7805 1.1 skrll
7806 1.1 skrll * Makefile.am: Rebuild dependency.
7807 1.1 skrll * Makefile.in: Rebuild.
7808 1.1 skrll
7809 1.1 skrll 2000-06-20 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl>
7810 1.1 skrll
7811 1.1 skrll * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): New function.
7812 1.1 skrll (elf_backend_copy_indirect_symbol): Map to the new function.
7813 1.1 skrll
7814 1.1 skrll 2000-06-20 Alan Modra <alan (a] linuxcare.com.au>
7815 1.1 skrll
7816 1.1 skrll * archive.c (normalize): Correct pointer comparison when checking
7817 1.1 skrll for backslashes.
7818 1.1 skrll (bfd_bsd_truncate_arname): Likewise.
7819 1.1 skrll (bfd_gnu_truncate_arname): Likewise.
7820 1.1 skrll
7821 1.1 skrll 2000-06-20 Ulf Carlsson <ulfc (a] engr.sgi.com>
7822 1.1 skrll
7823 1.1 skrll * elf-bfd.h (struct elf_obj_tdata): Define per BFD Irix 5 virtual
7824 1.1 skrll sections elf_{text,data}_{section,symbol}.
7825 1.1 skrll * elf32-mips.c: mips_elf_{text,data}_{section,symbol}{,_ptr}: Remove.
7826 1.1 skrll (_bfd_mips_elf_hide_symbol): New function.
7827 1.1 skrll (elf_backend_hide_symbol): Map to the new function.
7828 1.1 skrll (_bfd_mips_elf_add_symbol_hook): Change to use new per BFD
7829 1.1 skrll definitions of mips_elf_{text,data}_{section,symbol}.
7830 1.1 skrll (mips_elf_local_relocation_p): Try to find the direct symbol
7831 1.1 skrll based on new check_forced argument.
7832 1.1 skrll (mips_elf_calculate_relocation): Use new version of
7833 1.1 skrll mips_elf_local_relocation_p.
7834 1.1 skrll (mips_elf_relocate_section): Likewise.
7835 1.1 skrll (_bfd_mips_elf_relocate_section): Likewise.
7836 1.1 skrll (mips_elf_sort_hash_table): Only assert that have enough GOT
7837 1.1 skrll space.
7838 1.1 skrll (mips_elf_got16_entry): Match all 32 bits to the existing GOT
7839 1.1 skrll entry if the relocation based on the new external argument.
7840 1.1 skrll (mips_elf_create_dynamic_relocation): Assert that we have a
7841 1.1 skrll section contents allocated where we can swap out the dynamic
7842 1.1 skrll relocations.
7843 1.1 skrll (mips_elf_calculate_relocation): Find the real hash-table entry
7844 1.1 skrll correctly by using h->root.root.type. Only create a dynamic
7845 1.1 skrll relocation entry if the symbol is defined in a shared library.
7846 1.1 skrll Create an external GOT entry for the GOT16 relocation if the
7847 1.1 skrll symbol was forced local.
7848 1.1 skrll (_bfd_mips_elf_finish_dynamic_symbol): Don't assert there is a
7849 1.1 skrll dynamic index if the symbol was forced local.
7850 1.1 skrll
7851 1.1 skrll 2000-06-20 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl>
7852 1.1 skrll
7853 1.1 skrll * elf32-mips.c: Fix typos in comments.
7854 1.1 skrll
7855 1.1 skrll 2000-06-19 Mark Kettenis <kettenis (a] gnu.org>
7856 1.1 skrll
7857 1.1 skrll * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef
7858 1.1 skrll CORE_VERSION_1.
7859 1.1 skrll
7860 1.1 skrll 2000-06-18 Stephane Carrez <stcarrez (a] worldnet.fr>
7861 1.1 skrll
7862 1.1 skrll * Makefile.in, bfd-in2.h, libbfd.h, configure: Rebuild.
7863 1.1 skrll * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS,
7864 1.1 skrll BFD32_BACKENDS_CFILES): Add 68hc12, 68hc11 files.
7865 1.1 skrll * configure.in (bfd_elf32_m68hc12_vec): Recognize.
7866 1.1 skrll (bfd_elf32_m68hc11_vec): Likewise.
7867 1.1 skrll * config.bfd (targ_cpu): Recognize 68hc12 and 68hc11.
7868 1.1 skrll Supports 68hc11 & 68hc12 at the same time.
7869 1.1 skrll * targets.c (bfd_elf32_m68hc12_vec): Declare and put in
7870 1.1 skrll bfd_target_vector.
7871 1.1 skrll (bfd_elf32_m68hc11_vec): Likewise.
7872 1.1 skrll * elf.c (prep_headers): Recognize bfd_arch_m68hc12 and 68hc11.
7873 1.1 skrll * archures.c (bfd_m68hc12_arch): Define and register in global list
7874 1.1 skrll (bfd_m68hc11_arch): Likewise.
7875 1.1 skrll * reloc.c (BFD_RELOC_M68HC11_HI8, BFD_RELOC_M68HC11_LO8,
7876 1.1 skrll BFD_RELOC_M68HC11_3B): Define.
7877 1.1 skrll * cpu-m68hc12.c, elf32-m68hc12.c: New files for 68hc12 support.
7878 1.1 skrll * cpu-m68hc11.c, elf32-m68hc11.c: New files for 68hc11 support.
7879 1.1 skrll
7880 1.1 skrll 2000-06-18 Ulf Carlsson <ulfc (a] engr.sgi.com>
7881 1.1 skrll
7882 1.1 skrll * elf_bfd.h (struct elf_backend_data): Add info argument to
7883 1.1 skrll elf_backend_hide_symbol.
7884 1.1 skrll (_bfd_elf_link_hash_hide_symbol): Likewise.
7885 1.1 skrll * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise.
7886 1.1 skrll * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise.
7887 1.1 skrll * elflink.h (elf_link_add_object_symbols): Likewise.
7888 1.1 skrll (elf_link_assign_sym_version): Likewise.
7889 1.1 skrll
7890 1.1 skrll 2000-06-18 H.J. Lu <hjl (a] gnu.org>
7891 1.1 skrll
7892 1.1 skrll * coff-i386.c (coff_i386_reloc): Don't return in case of
7893 1.1 skrll output_bfd == (bfd *) NULL if COFF_WITH_PE is defined.
7894 1.1 skrll Compensate PE relocations when linking with non-PE object
7895 1.1 skrll files to generate a non-PE executable.
7896 1.1 skrll
7897 1.1 skrll 2000-06-17 Ulf Carlsson <ulfc (a] engr.sgi.com>
7898 1.1 skrll
7899 1.1 skrll * elf32-mips.c (mips_elf_calculate_relocation): Explicitly write
7900 1.1 skrll GOT entries if we're doing a static link or -Bsymbolic link.
7901 1.1 skrll
7902 1.1 skrll 2000-06-15 Ulf Carlsson <ulfc (a] engr.sgi.com>
7903 1.1 skrll
7904 1.1 skrll * elflink.h (elf_link_adjust_relocs): Check for and call backend
7905 1.1 skrll specifific swap_reloc_{in,out} and swap_reloca_{in,out} if
7906 1.1 skrll available.
7907 1.1 skrll (elf_link_output_relocs): Likewise.
7908 1.1 skrll (elf_reloc_link_order): Likewise.
7909 1.1 skrll
7910 1.1 skrll 2000-06-16 Nicholas Duffek <nsd (a] redhat.com>
7911 1.1 skrll
7912 1.1 skrll * archures.c (enum bfd_architecture): #define constants for
7913 1.1 skrll PowerPc and RS6000 machine numbers.
7914 1.1 skrll * bfd-in2.h: Regenerate.
7915 1.1 skrll * coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch
7916 1.1 skrll to bfd_arch_powerpc instead of bfd_arch_rs6000. Refer to PowerPc
7917 1.1 skrll and RS6000 machine numbers using #defined constants from
7918 1.1 skrll archures.c.
7919 1.1 skrll * cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000
7920 1.1 skrll machine numbers using #defined constants from archures.c. Add
7921 1.1 skrll entries for EC603e, 630, A35, RS64II, RS64III, 7400. Specify
7922 1.1 skrll 64-bit words in 620 entry.
7923 1.1 skrll * cpu-rs6000.c (arch_info_struct): Create with entries for RS1,
7924 1.1 skrll RSC, and RS2.
7925 1.1 skrll (bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k).
7926 1.1 skrll
7927 1.1 skrll 2000-06-16 Nicholas Duffek <nsd (a] cygnus.com>
7928 1.1 skrll
7929 1.1 skrll * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64.
7930 1.1 skrll * libcoff-in.h (struct xcoff_tdata): Define xcoff64 field.
7931 1.1 skrll * libcoff.h (struct xcoff_tdata): Define xcoff64 field.
7932 1.1 skrll
7933 1.1 skrll 2000-06-16 Nicholas Duffek <nsd (a] redhat.com>
7934 1.1 skrll
7935 1.1 skrll * bfd-in.h (bfd_family_coff): Define.
7936 1.1 skrll * bfd-in2.h: Regenerate.
7937 1.1 skrll * coffgen.c (coff_count_linenumbers, coff_symbol_from,
7938 1.1 skrll coff_find_nearest_line): Check COFFness using bfd_family_coff()
7939 1.1 skrll instead of bfd_target_coff_flavour.
7940 1.1 skrll * cofflink.c (_bfd_coff_final_link): Likewise.
7941 1.1 skrll * cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to
7942 1.1 skrll exclude XCOFF files.
7943 1.1 skrll * reloc.c (bfd_perform_relocation, bfd_install_relocation):
7944 1.1 skrll Likewise.
7945 1.1 skrll * targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour.
7946 1.1 skrll * xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour.
7947 1.1 skrll * xcofflink.c (XCOFF_XVECP): Delete.
7948 1.1 skrll (bfd_xcoff_link_record_set, bfd_xcoff_import_symbol,
7949 1.1 skrll bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc,
7950 1.1 skrll bfd_xcoff_record_link_assignment,
7951 1.1 skrll bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with
7952 1.1 skrll check for bfd_target_xcoff_flavour.
7953 1.1 skrll
7954 1.1 skrll 2000-06-16 Nicholas Duffek <nsd (a] redhat.com>
7955 1.1 skrll
7956 1.1 skrll * rs6000-core.c: Support 64-bit core files, support pre-4.3 core
7957 1.1 skrll files on AIX 4.3.
7958 1.1 skrll (read_hdr): New function.
7959 1.1 skrll (rs6000coff_core_p): Store mstsave or __context64 struct instead
7960 1.1 skrll of trying to extract individual registers. Set abfd->arch_info
7961 1.1 skrll to match the architecture that created the core file.
7962 1.1 skrll (rs6000coff_get_section_contents): Delete.
7963 1.1 skrll * xcoff-target.h (rs6000coff_get_section_contents): Delete.
7964 1.1 skrll
7965 1.1 skrll 2000-06-14 H.J. Lu <hjl (a] gnu.org>
7966 1.1 skrll
7967 1.1 skrll * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec)
7968 1.1 skrll is NULL.
7969 1.1 skrll
7970 1.1 skrll 2000-06-13 H.J. Lu <hjl (a] gnu.org>
7971 1.1 skrll
7972 1.1 skrll * configure: Regenerate.
7973 1.1 skrll
7974 1.1 skrll 2000-06-13 J"orn Rennecke <amylaar (a] cygnus.co.uk>
7975 1.1 skrll
7976 1.1 skrll * peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of
7977 1.1 skrll armpei_little_vec.
7978 1.1 skrll
7979 1.1 skrll 2000-06-08 David O'Brien <obrien (a] FreeBSD.org>
7980 1.1 skrll
7981 1.1 skrll * configure.in (VERSION): Update to show this is the CVS mainline.
7982 1.1 skrll
7983 1.1 skrll 2000-06-07 Alan Modra <alan (a] linuxcare.com.au>
7984 1.1 skrll
7985 1.1 skrll * elf32-d10v.c: Include elf/d10v.h
7986 1.1 skrll (enum reloc_type): Delete.
7987 1.1 skrll * elf32-d30v.c: Include elf/d30v.h
7988 1.1 skrll (enum reloc_type): Delete.
7989 1.1 skrll
7990 1.1 skrll * Makefile.am: Run "make dep-am" to regenerate dependencies.
7991 1.1 skrll * Makefile.in: Regenerate.
7992 1.1 skrll
7993 1.1 skrll * elf32-i386.c (elf_howto_table): Remove EMPTY_HOWTOs.
7994 1.1 skrll (elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and
7995 1.1 skrll move HOWTOs into elf_howto_table.
7996 1.1 skrll (R_386_standard, R_386_ext_offset): Define.
7997 1.1 skrll (R_386_ext, R_386_vt_offset, R_386_vt): Define.
7998 1.1 skrll (elf_i386_reloc_type_lookup): Modify calculation of index into
7999 1.1 skrll elf_howto_table since we've removed the padding.
8000 1.1 skrll (elf_i386_info_to_howto_rel): Likewise.
8001 1.1 skrll (elf_i386_relocate_section): Likewise.
8002 1.1 skrll
8003 1.1 skrll 2000-06-06 Michael Snyder <msnyder (a] seadog.cygnus.com>
8004 1.1 skrll
8005 1.1 skrll * elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t.
8006 1.1 skrll
8007 1.1 skrll 2000-06-05 H.J. Lu <hjl (a] gnu.org>
8008 1.1 skrll
8009 1.1 skrll * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag
8010 1.1 skrll an error when seeing an undefined symbol with hidden/internal
8011 1.1 skrll attribute. It is handled in *_relocate_section ().
8012 1.1 skrll
8013 1.1 skrll 2000-06-05 H.J. Lu <hjl (a] gnu.org>
8014 1.1 skrll
8015 1.1 skrll * elflink.h (elf_fix_symbol_flags): Follow the link for the
8016 1.1 skrll indirect symbol for the ELF_LINK_NON_ELF bit.
8017 1.1 skrll (elf_link_output_extsym): Don't output the indirect symbol even
8018 1.1 skrll if the ELF_LINK_NON_ELF bit is set.
8019 1.1 skrll
8020 1.1 skrll 2000-06-01 J.T. Conklin <jtc (a] redback.com>
8021 1.1 skrll
8022 1.1 skrll * config.bfd (i[3456]86-*-netbsdelf*): New target.
8023 1.1 skrll (i[3456]86-*-netbsdaout*): New target.
8024 1.1 skrll (i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs.
8025 1.1 skrll (i[3456]86-*-openbsd*): Likewise.
8026 1.1 skrll
8027 1.1 skrll 2000-05-30 Andrew Cagney <cagney (a] b1.cygnus.com>
8028 1.1 skrll
8029 1.1 skrll * trad-core.c: From hpux-core.c, include <dirent.h> or
8030 1.1 skrll <sys/ndir.h> when possible.
8031 1.1 skrll
8032 1.1 skrll 2000-05-31 Ulrich Drepper <drepper (a] redhat.com>
8033 1.1 skrll
8034 1.1 skrll * elf.c (_bfd_elf_slurp_version_tables): Correct reading of version
8035 1.1 skrll definitions. We must not assume they are sorted in the file
8036 1.1 skrll according to their index numbers.
8037 1.1 skrll
8038 1.1 skrll 2000-05-31 Alan Modra <alan (a] linuxcare.com.au>
8039 1.1 skrll
8040 1.1 skrll * elf-hppa.h: (elf_hppa_final_link_relocate): Use e_rsel field
8041 1.1 skrll selector for R_PARISC_PCREL17R. R_PARISC_DIR17R and
8042 1.1 skrll R_PARISC_DIR17F are for absolute branches; Handle them as such.
8043 1.1 skrll
8044 1.1 skrll 2000-05-30 Nick Clifton <nickc (a] cygnus.com>
8045 1.1 skrll
8046 1.1 skrll * cpu-i960.c (scan_960_mach): Accept 80960KA, 80960KB,
8047 1.1 skrll 80960CA, 80960MC as valid machine names.
8048 1.1 skrll
8049 1.1 skrll 2000-05-30 H.J. Lu <hjl (a] gnu.org>
8050 1.1 skrll
8051 1.1 skrll * elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the
8052 1.1 skrll visibility bits if the symbol is undefined. Correctly handle
8053 1.1 skrll weak undefined symbols with hidden and internal attributes.
8054 1.1 skrll
8055 1.1 skrll * elflink.h (elf_link_add_object_symbols): Always turn the
8056 1.1 skrll symbol into local if it has the hidden or internal attribute.
8057 1.1 skrll
8058 1.1 skrll 2000-05-29 Philip Blundell <philb (a] gnu.org>
8059 1.1 skrll
8060 1.1 skrll * ppcboot.c: Add packed attribute if compiling with GCC.
8061 1.1 skrll
8062 1.1 skrll 2000-05-29 Anatoly Vorobey <mellon (a] pobox.com>
8063 1.1 skrll
8064 1.1 skrll * elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal.
8065 1.1 skrll
8066 1.1 skrll 2000-05-26 Michael Snyder <msnyder (a] seadog.cygnus.com>
8067 1.1 skrll
8068 1.1 skrll * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus,
8069 1.1 skrll elfcore_grok_psinfo): Add code to allow debugging a 32-bit
8070 1.1 skrll corefile on a 64-bit (Sparc Solaris) host. Also clean up
8071 1.1 skrll a few old comments.
8072 1.1 skrll
8073 1.1 skrll 2000-05-26 Alan Modra <alan (a] linuxcare.com.au>
8074 1.1 skrll
8075 1.1 skrll * Makefile.am: Update dependencies with "make dep-am"
8076 1.1 skrll * Makefile.in: Regenerate.
8077 1.1 skrll
8078 1.1 skrll * sysdep.h (gettext, dgettext, dcgettext, textdomain,
8079 1.1 skrll bindtextdomain): Replace defines with those from intl/libgettext.h
8080 1.1 skrll to quieten gcc warnings.
8081 1.1 skrll
8082 1.1 skrll 2000-05-26 Eli Zaretskii <eliz (a] is.elta.co.il>
8083 1.1 skrll
8084 1.1 skrll * aoutx.h (find_nearest_line): Use IS_ABSOLUTE_PATH.
8085 1.1 skrll
8086 1.1 skrll * archive.c (normalize, bfd_bsd_truncate_arname,
8087 1.1 skrll bfd_gnu_truncate_arname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support
8088 1.1 skrll file names with backslashes.
8089 1.1 skrll
8090 1.1 skrll * cache.c (bfd_open_file) [__MSDOS__]: Don't unlink the file
8091 1.1 skrll before opening it.
8092 1.1 skrll
8093 1.1 skrll * sysdep.h: Include filenames.h.
8094 1.1 skrll
8095 1.1 skrll 2000-05-26 Alan Modra <alan (a] linuxcare.com.au>
8096 1.1 skrll
8097 1.1 skrll * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777.
8098 1.1 skrll
8099 1.1 skrll 2000-05-26 Jakub Jelinek <jakub (a] redhat.com>
8100 1.1 skrll
8101 1.1 skrll * elf64-sparc.c (sparc64_elf_relax_section): New.
8102 1.1 skrll (sparc64_elf_relocate_section): Optimize tail call into branch always
8103 1.1 skrll if possible.
8104 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
8105 1.1 skrll (elf32_sparc_relax_section): New.
8106 1.1 skrll
8107 1.1 skrll 2000-05-26 Jakub Jelinek <jakub (a] redhat.com>
8108 1.1 skrll
8109 1.1 skrll * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.
8110 1.1 skrll Remove unusued variables.
8111 1.1 skrll (sparc64_elf_relocate_section): Change r_symndx type to unsigned long.
8112 1.1 skrll (sparc64_elf_merge_private_bfd_data): Fix shared library case from
8113 1.1 skrll previous fix, so that shared libs really don't influence targets
8114 1.1 skrll extension mask and memory model.
8115 1.1 skrll
8116 1.1 skrll 2000-05-23 H.J. Lu <hjl (a] gnu.org>
8117 1.1 skrll
8118 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Check
8119 1.1 skrll h->root.other not h->other.
8120 1.1 skrll * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
8121 1.1 skrll
8122 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
8123 1.1 skrll
8124 1.1 skrll 2000-05-23 H.J. Lu <hjl (a] gnu.org>
8125 1.1 skrll
8126 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Don't allow the
8127 1.1 skrll undefined symbol with the non-default visibility attributes.
8128 1.1 skrll * elf-hppa.h (elf_hppa_relocate_section): Likewise.
8129 1.1 skrll * elf32-arm.h (elf32_arm_relocate_section): Likewise.
8130 1.1 skrll * elf32-i370.c (i370_elf_relocate_section): Likewise.
8131 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
8132 1.1 skrll * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
8133 1.1 skrll * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
8134 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
8135 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
8136 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
8137 1.1 skrll * elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
8138 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
8139 1.1 skrll
8140 1.1 skrll 2000-05-22 Richard Henderson <rth (a] cygnus.com>
8141 1.1 skrll
8142 1.1 skrll * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
8143 1.1 skrll PCREL22, PCREL64I. Zero size of special relocs.
8144 1.1 skrll (elf64_ia64_reloc_type_lookup): Likewise.
8145 1.1 skrll (USE_BRL, oor_brl, oor_ip): New.
8146 1.1 skrll (elf64_ia64_relax_section): New.
8147 1.1 skrll (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
8148 1.1 skrll (elf64_ia64_install_value): Likewise, plus PCREL21BI.
8149 1.1 skrll (elf64_ia64_relocate_section): Likewise.
8150 1.1 skrll (bfd_elf64_bfd_relax_section): New.
8151 1.1 skrll * reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
8152 1.1 skrll (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
8153 1.1 skrll * bfd-in2.h, libbfd.h: Regenerate.
8154 1.1 skrll
8155 1.1 skrll 2000-05-22 Nick Clifton <nickc (a] cygnus.com>
8156 1.1 skrll
8157 1.1 skrll * configure.in : Add peigen.lo to MIPS PE targets.
8158 1.1 skrll * configure: Regenerate.
8159 1.1 skrll
8160 1.1 skrll 2000-05-22 Momchil Velikov <velco (a] fadata.bg>
8161 1.1 skrll
8162 1.1 skrll * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess
8163 1.1 skrll only if it is known for both input and output bfds. Separate
8164 1.1 skrll error message strings as in some languages, it may be necessary
8165 1.1 skrll to change more than one place in the string to change between
8166 1.1 skrll 'big' and 'little'.
8167 1.1 skrll
8168 1.1 skrll * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline
8169 1.1 skrll endianess checks, call _bfd_generic_verify_endian_match() instead.
8170 1.1 skrll
8171 1.1 skrll * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise.
8172 1.1 skrll
8173 1.1 skrll * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise.
8174 1.1 skrll
8175 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify
8176 1.1 skrll endianess before checking bfd flavours.
8177 1.1 skrll
8178 1.1 skrll 2000-05-22 H.J. Lu <hjl (a] gnu.org>
8179 1.1 skrll
8180 1.1 skrll * elflink.h (elf_link_output_extsym): Clear the visibility
8181 1.1 skrll field for symbols not defined locally.
8182 1.1 skrll
8183 1.1 skrll 2000-05-18 Alan Modra <alan (a] linuxcare.com.au>
8184 1.1 skrll
8185 1.1 skrll * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
8186 1.1 skrll re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
8187 1.1 skrll (hppa_rebuild_insn): Mask immediate bits here instead.
8188 1.1 skrll * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
8189 1.1 skrll
8190 1.1 skrll 2000-05-18 Momchil Velikov <velco (a] fadata.bg>
8191 1.1 skrll
8192 1.1 skrll * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting
8193 1.1 skrll relocs for an executable, ensure that they are virtual addresses.
8194 1.1 skrll
8195 1.1 skrll 2000-05-18 Jeffrey A Law (law (a] cygnus.com)
8196 1.1 skrll
8197 1.1 skrll * config.bfd (hppa*64*-*-hpux11*): New target triplet.
8198 1.1 skrll
8199 1.1 skrll 2000-05-17 S. Bharadwaj Yadavalli <sby (a] scrugs.lkg.dec.com>
8200 1.1 skrll Rick Gorton <gorton (a] scrugs.lkg.dec.com>
8201 1.1 skrll
8202 1.1 skrll * elflink.h: Add emitrelocations support: when enabled, relocation
8203 1.1 skrll information and relocation sections are put into final output
8204 1.1 skrll executables. If the emitrelocations flag is set, do the following:
8205 1.1 skrll (elf_bfd_final_link): Emit relocation sections.
8206 1.1 skrll (elf_link_input_bfd): Compute relocation section contents.
8207 1.1 skrll (elf_gc_sections): Don't clean relocation sections.
8208 1.1 skrll
8209 1.1 skrll 2000-05-16 Catherine Moore <clm (a] cygnus.com>
8210 1.1 skrll
8211 1.1 skrll * som.c (som_decode_symclass): Recognize weak symbols.
8212 1.1 skrll
8213 1.1 skrll 2000-05-16 Szabolcs Szakacsits <szaka (a] F-Secure.com>
8214 1.1 skrll
8215 1.1 skrll * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that
8216 1.1 skrll read idata section only from dataoff.
8217 1.1 skrll (pe_print_edata): Correctly check for valid eat_member.
8218 1.1 skrll
8219 1.1 skrll 2000-05-16 J"orn Rennecke <amylaar (a] cygnus.co.uk>
8220 1.1 skrll
8221 1.1 skrll * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
8222 1.1 skrll
8223 1.1 skrll 2000-05-14 Philip Blundell <philb (a] gnu.org>
8224 1.1 skrll
8225 1.1 skrll * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets.
8226 1.1 skrll
8227 1.1 skrll 2000-05-12 Alan Modra <alan (a] linuxcare.com.au>
8228 1.1 skrll
8229 1.1 skrll * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec
8230 1.1 skrll
8231 1.1 skrll * peigen.c (pe_print_idata): Look for .idata section and print
8232 1.1 skrll info even if data directory has zero entries. Read idata section
8233 1.1 skrll starting from dataoff, and adjust all data offsets to suit. Cast
8234 1.1 skrll all bfd_vma vars to unsigned long before passing to fprintf.
8235 1.1 skrll * peigen.c (pe_print_edata): Similarly, look for .edata section
8236 1.1 skrll and print info even if data directory has zero entries. Cast
8237 1.1 skrll all bfd_vma vars to unsigned long before passing to fprintf.
8238 1.1 skrll
8239 1.1 skrll From Szabolcs Szakacsits <szaka (a] F-Secure.com>
8240 1.1 skrll * peigen.c (pe_print_idata): Use bfd_section_size rather than data
8241 1.1 skrll directory size which may be bogus.
8242 1.1 skrll * peigen.c (pe_print_edata): Similarly.
8243 1.1 skrll
8244 1.1 skrll 2000-05-09 Alan Modra <alan (a] linuxcare.com.au>
8245 1.1 skrll
8246 1.1 skrll * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela
8247 1.1 skrll section is empty.
8248 1.1 skrll (copy_private_bfd_data): Allow for space possibly taken up by elf
8249 1.1 skrll headers when calculating segment physical address from lma.
8250 1.1 skrll
8251 1.1 skrll 2000-05-08 Alan Modra <alan (a] linuxcare.com.au>
8252 1.1 skrll
8253 1.1 skrll * versados.c (versados_scan): Init stringlen and pass_2_done.
8254 1.1 skrll
8255 1.1 skrll * trad-core.c (trad_unix_core_file_p): Return
8256 1.1 skrll bfd_error_wrong_format rather than bfd_error_file_truncated.
8257 1.1 skrll
8258 1.1 skrll * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to
8259 1.1 skrll add_data_entry. DataDirectory virtual address is relative.
8260 1.1 skrll (pe_print_idata): Account for relative DataDirectory virtual
8261 1.1 skrll addresses. Don't trash datasize inside POWERPC_LE_PE code.
8262 1.1 skrll (pe_print_edata): Similarly.
8263 1.1 skrll
8264 1.1 skrll From Szabolcs Szakacsits <szaka (a] F-Secure.com>
8265 1.1 skrll * peigen.c (dir_names): Add Delay Import Directory.
8266 1.1 skrll (pe_print_idata): Always search for bfd section containing
8267 1.1 skrll idata address rather than looking up section name. Print this
8268 1.1 skrll section name rather than .idata.
8269 1.1 skrll (pe_print_edata): Similarly. Also print some fields as %08lx.
8270 1.1 skrll (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as
8271 1.1 skrll Win32Version.
8272 1.1 skrll
8273 1.1 skrll 2000-05-05 Clinton Popetz <cpopetz (a] cygnus.com>
8274 1.1 skrll
8275 1.1 skrll * xcoff.h: Rename to xcoff-target.h
8276 1.1 skrll * Makefile.am: Change all instances of xcoff.h to xcoff-target.h
8277 1.1 skrll * coff-rs6000.c: Ditto.
8278 1.1 skrll * coff64-rs6000.c: Ditto.
8279 1.1 skrll * coff-pmac.c: Ditto.
8280 1.1 skrll * Makefile.in: Regenerate.
8281 1.1 skrll
8282 1.1 skrll 2000-05-05 Clinton Popetz <cpopetz (a] cygnus.com>
8283 1.1 skrll
8284 1.1 skrll * coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
8285 1.1 skrll Change U802TOC64MAGIC to U803XTOCMAGIC.
8286 1.1 skrll
8287 1.1 skrll 2000-05-04 Michael Snyder <msnyder (a] seadog.cygnus.com>
8288 1.1 skrll
8289 1.1 skrll * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
8290 1.1 skrll * bfd-in.h: Prototype bfd_elf_get_arch_size.
8291 1.1 skrll * bfd-in2.h: Prototype bfd_elf_get_arch_size.
8292 1.1 skrll
8293 1.1 skrll 2000-05-04 Alan Modra <alan (a] linuxcare.com.au>
8294 1.1 skrll
8295 1.1 skrll * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma.
8296 1.1 skrll
8297 1.1 skrll 2000-05-03 Martin v. Lwis <loewis (a] informatik.hu-berlin.de>
8298 1.1 skrll
8299 1.1 skrll * elflink.h (elf_link_add_object_symbols): Reset dynindx for
8300 1.1 skrll hidden and internal symbols.
8301 1.1 skrll (elf_fix_symbol_flags): Clear NEEDS_PLT for symbols with
8302 1.1 skrll visibility.
8303 1.1 skrll * elflink.c (_bfd_elf_link_record_dynamic_symbol): Do not
8304 1.1 skrll assign a PLT or GOT entry to symbols with hidden and
8305 1.1 skrll internal visibility.
8306 1.1 skrll
8307 1.1 skrll 2000-05-03 Mark Elbrecht <snowball3 (a] bigfoot.com>
8308 1.1 skrll
8309 1.1 skrll * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Add entry for
8310 1.1 skrll the .bss section.
8311 1.1 skrll * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
8312 1.1 skrll
8313 1.1 skrll 2000-05-02 H.J. Lu <hjl (a] gnu.org>
8314 1.1 skrll
8315 1.1 skrll * elf.c (prep_headers): Use ELFOSABI_NONE instead of
8316 1.1 skrll ELFOSABI_SYSV.
8317 1.1 skrll
8318 1.1 skrll 2000-05-02 Alan Modra <alan (a] linuxcare.com.au>
8319 1.1 skrll
8320 1.1 skrll * targets.c (bfd_target_vector): Restore bfd_elf32_hppa_vec.
8321 1.1 skrll * Makefile.am (BFD32_BACKENDS): Restore elf32-hppa.lo. Regenerate
8322 1.1 skrll dependencies.
8323 1.1 skrll * Makefile.in: Regenerate.
8324 1.1 skrll
8325 1.1 skrll 2000-05-01 Jim Wilson <wilson (a] cygnus.com>
8326 1.1 skrll
8327 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add efi-app-ia32.lo.
8328 1.1 skrll (BFD32_BACKENDS_CFILES): Add efi-app-ia32.c.
8329 1.1 skrll (BFD64_BACKENDS): Delete coff-ia64.lo. Add efi-app-ia64.lo.
8330 1.1 skrll (BFD64_BACKENDS_CFILES): Delete coff-ia64.c. Add efi-app-ia64.c.
8331 1.1 skrll * Makefile.in: Rebuild.
8332 1.1 skrll
8333 1.1 skrll 2000-05-02 Alan Modra <alan (a] linuxcare.com.au>
8334 1.1 skrll
8335 1.1 skrll * config.bfd: Re-enable elf32-hppa. It now compiles, even if it
8336 1.1 skrll doesn't work very well.
8337 1.1 skrll
8338 1.1 skrll * elf-hppa.h (elf_hppa_internal_shdr): Define.
8339 1.1 skrll (elf_hppa_fake_sections): hdr is elf_hppa_internal_shdr.
8340 1.1 skrll Set hdr->s_type to 1 if ARCH_SIZE == 32.
8341 1.1 skrll (_bfd_elf_hppa_gen_reloc_type): Add prototype.
8342 1.1 skrll (elf_hppa_info_to_howto): Likewise.
8343 1.1 skrll (elf_hppa_info_to_howto_rel): Likewise.
8344 1.1 skrll (elf_hppa_reloc_type_lookup): Likewise.
8345 1.1 skrll (elf_hppa_is_local_label_name): Likewise.
8346 1.1 skrll (elf_hppa_fake_sections): Likewise.
8347 1.1 skrll (elf_hppa_final_write_processing): Likewise.
8348 1.1 skrll (elf_hppa_howto_table): Fully initialise all entries.
8349 1.1 skrll (_bfd_elf_hppa_gen_reloc_type): Add ATTRIBUTE_UNUSED to args.
8350 1.1 skrll (elf_hppa_info_to_howto): Likewise.
8351 1.1 skrll (elf_hppa_info_to_howto_rel): Likewise.
8352 1.1 skrll (elf_hppa_reloc_type_lookup): Likewise.
8353 1.1 skrll (elf_hppa_final_write_processing, elf_hppa_add_symbol_hook,
8354 1.1 skrll elf_hppa_unmark_useless_dynamic_symbols,
8355 1.1 skrll elf_hppa_remark_useless_dynamic_symbols,
8356 1.1 skrll elf_hppa_record_segment_addrs, elf_hppa_final_link,
8357 1.1 skrll elf_hppa_relocate_section, elf_hppa_final_link_relocate,
8358 1.1 skrll elf_hppa_relocate_insn): Compile only if ARCH_SIZE == 64 until
8359 1.1 skrll elf32-hppa.c mess is cleaned up.
8360 1.1 skrll (elf_hppa_final_link_relocate): Make insn and r_type unsigned
8361 1.1 skrll int. Delete r_field. In case R_PARISC_PCREL21L, don't set
8362 1.1 skrll r_field then call hppa_field_adjust inline func with variable
8363 1.1 skrll r_field arg, instead call hppa_field_adjust with fixed arg.
8364 1.1 skrll In case R_PARISC_PCREL22F, don't set r_field.
8365 1.1 skrll (elf_hppa_relocate_insn): Change args and return type to unsigned
8366 1.1 skrll int. Call re_assemble_* funcs to do the work.
8367 1.1 skrll
8368 1.1 skrll * elf32-hppa.c (hppa_elf_relocate_insn): Don't assume 32 bit when
8369 1.1 skrll sign extending.
8370 1.1 skrll
8371 1.1 skrll * libhppa.h (HPPA_R_CONSTANT): Don't assume 32 bit when sign
8372 1.1 skrll extending.
8373 1.1 skrll (sign_extend): Mask first before sign extending.
8374 1.1 skrll (low_sign_extend): Rewrite without condition expression.
8375 1.1 skrll (ones, dis_assemble_3, dis_assemble_12, dis_assemble_16,
8376 1.1 skrll dis_assemble_17, dis_assemble_21, dis_assemble_22): Delete.
8377 1.1 skrll (assemble_3, assemble_6, assemble_12, assemble_16, assemble_16a,
8378 1.1 skrll assemble_17, assemble_21, sign_unext, low_sign_unext): Return
8379 1.1 skrll result as function return value rather than through pointer arg.
8380 1.1 skrll Accept unsigned int args, and return unsigned int.
8381 1.1 skrll (re_assemble_3): New. Combines function of dis_assemble_3 with
8382 1.1 skrll re-assembly of opcode and immediate.
8383 1.1 skrll (re_assemble_12): Likewise.
8384 1.1 skrll (re_assemble_16): Likewise.
8385 1.1 skrll (re_assemble_17): Likewise.
8386 1.1 skrll (re_assemble_21): Likewise.
8387 1.1 skrll (re_assemble_22): Likewise.
8388 1.1 skrll (hppa_field_adjust): Rewrite and document, paying attention to
8389 1.1 skrll size of types and signed/unsigned issues.
8390 1.1 skrll (get_opcode): Shift before masking.
8391 1.1 skrll (FDLW): Rename to FLDW.
8392 1.1 skrll (bfd_hppa_insn2fmt): Change arg to unsigned int. Delete fmt.
8393 1.1 skrll (hppa_rebuild_insn): Change args and return value to unsigned
8394 1.1 skrll int. Make use of re_assemble_*. Correct case 11.
8395 1.1 skrll
8396 1.1 skrll * dep-in.sed: Handle ../opcodes/.
8397 1.1 skrll * Makefile.am (SOURCE_HFILES): Add elf-hppa.h, elf32-hppa.h,
8398 1.1 skrll elf64-hppa.h, hppa_stubs.h, xcoff.h.
8399 1.1 skrll (BFD32_BACKENDS_CFILES): Restore elf32-hppa.c.
8400 1.1 skrll Remove elf64-hppa.lo, cpu-ia64.lo, elf64-ia64.lo, elfarm-oabi.lo,
8401 1.1 skrll elfarm-nabi.lo dependencies outside of auto-dependency area.
8402 1.1 skrll Regenerate dependencies.
8403 1.1 skrll * Makefile.in: Regenerate.
8404 1.1 skrll
8405 1.1 skrll * configure.in (TRAD_HEADER): Test non-null before
8406 1.1 skrll AC_DEFINE_UNQUOTED.
8407 1.1 skrll * configure: Regenerate.
8408 1.1 skrll
8409 1.1 skrll * reloc.c: Fix mis-spelling in comment.
8410 1.1 skrll
8411 1.1 skrll 2000-05-01 Alan Modra <alan (a] linuxcare.com.au>
8412 1.1 skrll
8413 1.1 skrll * coff-sh.c (bfd_coff_small_swap_table): Fix Fri Apr 28 change.
8414 1.1 skrll * vms.c (vms_openr_next_archived_file): Return NULL.
8415 1.1 skrll
8416 1.1 skrll 2000-04-28 Clinton Popetz <cpopetz (a] cygnus.com>
8417 1.1 skrll
8418 1.1 skrll * coffcode.h Copy changes mistakenly done to libcoff.h in
8419 1.1 skrll 4/24/2000 patch.
8420 1.1 skrll
8421 1.1 skrll 2000-04-29 Andreas Jaeger <aj (a] suse.de>
8422 1.1 skrll
8423 1.1 skrll * libbfd-in.h: Correctly check GCC version.
8424 1.1 skrll * bfd-in.h: Likewise.
8425 1.1 skrll * libhppa.h: Likewise.
8426 1.1 skrll * libbfd.h: Regenerate.
8427 1.1 skrll * bfd-in2.h: Regenerate.
8428 1.1 skrll
8429 1.1 skrll 2000-04-28 Clinton Popetz <cpopetz (a] cygnus.com>
8430 1.1 skrll
8431 1.1 skrll * Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): Add
8432 1.1 skrll coffdu-rs6000.{lo,c}.
8433 1.1 skrll (coff-pmac.lo, coff-rs6000.lo, coff64-rs6000.lo): Add dependency
8434 1.1 skrll on xcoff.h
8435 1.1 skrll * Makefile.in: Regenerate.
8436 1.1 skrll * xcoff.h: New file.
8437 1.1 skrll * coff-pmac.c: Use xcoff.h instead of coff-rs6000.c.
8438 1.1 skrll * coff-rs6000.c: Move all declarations and defines that are
8439 1.1 skrll common to the xcoff backends into xcoff.h
8440 1.1 skrll * coff64-rs6000.c: Ditto,
8441 1.1 skrll
8442 1.1 skrll 2000-04-28 Clinton Popetz <cpopetz (a] cygnus.com>
8443 1.1 skrll
8444 1.1 skrll * coff-mips.c (mips_ecoff_backend_data): Add initialization of
8445 1.1 skrll _bfd_coff_force_symnames in strings and
8446 1.1 skrll _bfd_coff_debug_string_prefix_length to their default values.
8447 1.1 skrll * coff-sh.c: (bfd_coff_small_swap_table): Ditto.
8448 1.1 skrll
8449 1.1 skrll 2000-04-28 Clinton Popetz <cpopetz (a] cygnus.com>
8450 1.1 skrll
8451 1.1 skrll * coff-alpha.c (alpha_ecoff_backend_data): Add initialization of
8452 1.1 skrll _bfd_coff_force_symnames in strings and
8453 1.1 skrll _bfd_coff_debug_string_prefix_length to their default values.
8454 1.1 skrll
8455 1.1 skrll 2000-04-27 Alan Modra <alan (a] linuxcare.com.au>
8456 1.1 skrll
8457 1.1 skrll * elf32-m68k.c (elf_m68k_gc_sweep_hook): Return if dynobj NULL.
8458 1.1 skrll Check local_got_refcounts before dereferencing.
8459 1.1 skrll
8460 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Check splt != NULL
8461 1.1 skrll before deciding we don't need R_PPC_PLT32 relocation.
8462 1.1 skrll (ppc_elf_gc_sweep_hook): Check local_got_refcounts before
8463 1.1 skrll dereferencing.
8464 1.1 skrll
8465 1.1 skrll * elflink.h (elf_gc_common_finalize_got_offsets): Fix comment.
8466 1.1 skrll
8467 1.1 skrll * elf32-i386.c (elf_i386_check_relocs): Reference count .got and
8468 1.1 skrll .plt entries.
8469 1.1 skrll (elf_i386_gc_sweep_hook): Garbage collect .got and .plt entries.
8470 1.1 skrll (elf_i386_adjust_dynamic_symbol): Recognize unused .plt entries.
8471 1.1 skrll (elf_i386_relocate_section): Allow for .plt to go missing.
8472 1.1 skrll (elf_i386_finish_dynamic_symbol): Use same test to decide if we
8473 1.1 skrll can use a relative reloc for got as elf_i386_relocate_section.
8474 1.1 skrll (bfd_elf32_bfd_final_link): Define to use gc form of final link.
8475 1.1 skrll
8476 1.1 skrll 2000-04-26 Clinton Popetz <cpopetz (a] cygnus.com>
8477 1.1 skrll
8478 1.1 skrll * config.bfd: Remove extraneous bfd_powerpc_64_arch.
8479 1.1 skrll
8480 1.1 skrll 2000-04-24 Clinton Popetz <cpopetz (a] cygnus.com>
8481 1.1 skrll
8482 1.1 skrll * Makefile.am (coff64-rs6000.lo): New rule.
8483 1.1 skrll * Makefile.in: Regenerate.
8484 1.1 skrll * coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data,
8485 1.1 skrll xcoff_is_local_label_name, xcoff_rtype2howto,
8486 1.1 skrll xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p,
8487 1.1 skrll xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap,
8488 1.1 skrll xcoff_write_archive_contents): No longer static, and prefix with _bfd_.
8489 1.1 skrll (NO_COFF_SYMBOLS): Define.
8490 1.1 skrll (xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in,
8491 1.1 skrll xcoff64_swap_aux_out): New functions; handle xcoff symbol tables
8492 1.1 skrll internally.
8493 1.1 skrll (MINUS_ONE): New macro.
8494 1.1 skrll (xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS
8495 1.1 skrll relocation.
8496 1.1 skrll (coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in,
8497 1.1 skrll coff_SWAP_aux_out): Map to the new functions.
8498 1.1 skrll * coff64-rs6000.c: New file.
8499 1.1 skrll * libcoff.h (bfd_coff_backend_data): Add new fields
8500 1.1 skrll _bfd_coff_force_symnames_in_strings and
8501 1.1 skrll _bfd_coff_debug_string_prefix_length.
8502 1.1 skrll (bfd_coff_force_symnames_in_strings,
8503 1.1 skrll bfd_coff_debug_string_prefix_length): New macros for above fields.
8504 1.1 skrll * coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic.
8505 1.1 skrll Set machine to 620 for XCOFF64. Use bfd_coff_swap_sym_in instead
8506 1.1 skrll of using coff_swap_sym_in directly.
8507 1.1 skrll (FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64.
8508 1.1 skrll (coff_set_flags) Set magic for XCOFF64.
8509 1.1 skrll (coff_compute_section_file_positions): Add symbol name length to
8510 1.1 skrll string section length if bfd_coff_debug_string_prefix_length is
8511 1.1 skrll true.
8512 1.1 skrll (coff_write_object_contents): Don't do reloc overflow for XCOFF64.
8513 1.1 skrll (coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of
8514 1.1 skrll using coff_swap_lineno_in directly.
8515 1.1 skrll (bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings
8516 1.1 skrll and _bfd_coff_debug_string_prefix_length fields.
8517 1.1 skrll * coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force
8518 1.1 skrll symbol names into strings table when
8519 1.1 skrll bfd_coff_force_symnames_in_strings is true.
8520 1.1 skrll * coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR,
8521 1.1 skrll SET_RELOC_VADDR): New macros.
8522 1.1 skrll (coff_swap_reloc_in, coff_swap_reloc_out): Use above macros.
8523 1.1 skrll (coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C
8524 1.1 skrll code.
8525 1.1 skrll (coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64
8526 1.1 skrll changes within RS6000COFF_C specific code.
8527 1.1 skrll (coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC,
8528 1.1 skrll MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO.
8529 1.1 skrll * reloc.c (bfd_perform_relocation, bfd_install_relocation):
8530 1.1 skrll Extend existing hack on target name.
8531 1.1 skrll * xcofflink.c (XCOFF_XVECP): Extend existing hack on
8532 1.1 skrll target name.
8533 1.1 skrll * coff-tic54x.c (ticof): Keep up to date with new fields
8534 1.1 skrll in bfd_coff_backend_data.
8535 1.1 skrll * config.bfd: Add bfd_powerpc_64_arch to targ_arch and define
8536 1.1 skrll targ_selvecs to include rs6000coff64_vec for rs6000.
8537 1.1 skrll * configure.in: Add rs6000coff64_vec case.
8538 1.1 skrll * cpu-powerpc.c: New bfd_arch_info_type.
8539 1.1 skrll
8540 1.1 skrll 2000-04-24 Jeffrey A Law (law (a] cygnus.com)
8541 1.1 skrll
8542 1.1 skrll * config.bfd: Only disable elf32-hppa vectors, not all of the
8543 1.1 skrll BSD and OSF configuration support. Provide (disabled) clauses
8544 1.1 skrll for PA64 support.
8545 1.1 skrll * configure.in: Add clause for PA64 support.
8546 1.1 skrll * configure: Rebuilt.
8547 1.1 skrll
8548 1.1 skrll * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec.
8549 1.1 skrll (bfd_elf64_hppa_vec): Declare.
8550 1.1 skrll
8551 1.1 skrll * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.lo
8552 1.1 skrll (BFD64_BACKENDS_CFILES): Add elf64-hppa.c
8553 1.1 skrll (elf64-hppa.lo): Add dependencies.
8554 1.1 skrll * Makefile.in: Rebuilt.
8555 1.1 skrll
8556 1.1 skrll * elf64-hppa.c, elf64-hppa.h: New files with PA64 support.
8557 1.1 skrll
8558 1.1 skrll 2000-04-24 Jason Eckhardt <jle (a] cygnus.com>
8559 1.1 skrll
8560 1.1 skrll * libhppa.h (dis_assemble_16): New function.
8561 1.1 skrll (pa_arch): Added pa20w element.
8562 1.1 skrll
8563 1.1 skrll 2000-04-24 Ulrich Drepper <drepper (a] cygnus.com>
8564 1.1 skrll
8565 1.1 skrll * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,
8566 1.1 skrll bfd_elf32_slurp_reloc_table, bfd_elf64_write_relocs, and
8567 1.1 skrll bfd_elf64_slurp_reloc_table.
8568 1.1 skrll
8569 1.1 skrll * elfcode.h (elf_write_relocs, elf_slurp_reloc_table): New
8570 1.1 skrll definitions to get external names.
8571 1.1 skrll (elf_write_relocs): Renamed from write_relocs and make global.
8572 1.1 skrll (elf_slurp_reloc_table): Make global.
8573 1.1 skrll (_bfd_elf,size_info): Use elf_write_relocs instead of write_relocs.
8574 1.1 skrll
8575 1.1 skrll * archive.c (hpux_uid_gid_encode): New function.
8576 1.1 skrll (bfd_ar_hdr_from_filesystem): Use it if HPUX_LARGE_AR_IDS is
8577 1.1 skrll defined and the ID is greater than 99999.
8578 1.1 skrll (bfd_generic_stat_arch_elt): If HPUX_LARGE_AR_IDS is defined decode
8579 1.1 skrll special uid/gid fields into 32 bit values.
8580 1.1 skrll
8581 1.1 skrll 2000-04-21 Matthew Green <mrg (a] cygnus.com>
8582 1.1 skrll
8583 1.1 skrll * config.bfd: Add NetBSD/sparc64 support.
8584 1.1 skrll
8585 1.1 skrll 2000-04-21 Richard Henderson <rth (a] cygnus.com>
8586 1.1 skrll David Mosberger <davidm (a] hpl.hp.com>
8587 1.1 skrll Timothy Wall <twall (a] cygnus.com>
8588 1.1 skrll Jim Wilson <wilson (a] cygnus.com>
8589 1.1 skrll
8590 1.1 skrll * Makefile.am (ALL_MACHINES): Add cpu-ia64.lo.
8591 1.1 skrll (ALL_MACHINES_CFILES): Add cpu-ia64.c.
8592 1.1 skrll (BFD64_BACKENDS): Add elf64-ia64.lo.
8593 1.1 skrll (BFD64_BACKENDS_CFILES): Add elf64-ia64.c.
8594 1.1 skrll (cpu-ia64.lo, elf64-ia64.lo): New rules.
8595 1.1 skrll * Makefile.in: Rebuild.
8596 1.1 skrll * archures.c (enum bfd_architecture): Add bfd_arch_ia64.
8597 1.1 skrll (bfd_ia64_arch): Declare.
8598 1.1 skrll (bfd_archures_list): Add bfd_ia64_arch.
8599 1.1 skrll * bfd-in2.h: Rebuild.
8600 1.1 skrll * config.bfd: (ia64*-*-linux-gnu*, ia64*-*-elf*): New targets.
8601 1.1 skrll * configure: Rebuild.
8602 1.1 skrll * configure.host: (ia64-*-linux*): New host.
8603 1.1 skrll * configure.in (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_big_vec,
8604 1.1 skrll bfd_efi_app_ia64_vec, bfd_efi_app_ia64_vec): New vectors.
8605 1.1 skrll * elf.c (prep_headers): Add bfd_arch_ia64.
8606 1.1 skrll * libbfd.h: Rebuild.
8607 1.1 skrll * reloc.c: Add IA-64 relocations.
8608 1.1 skrll * targets.c (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_big_vec):
8609 1.1 skrll Declare.
8610 1.1 skrll (bfd_target_vect): Add bfd_elf64_ia64_little_vec.
8611 1.1 skrll * cpu-ia64-opc.c, cpu-ia64.c, elf64-ia64.c: New files.
8612 1.1 skrll
8613 1.1 skrll 2000-04-21 Richard Henderson <rth (a] cygnus.com>
8614 1.1 skrll
8615 1.1 skrll * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify section
8616 1.1 skrll contents when performing a partial link.
8617 1.1 skrll (bfd_elf_d30v_reloc_21): Likewise.
8618 1.1 skrll
8619 1.1 skrll 2000-04-20 H.J. Lu <hjl (a] gnu.org>
8620 1.1 skrll
8621 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Restrict 1998-12-10
8622 1.1 skrll patch to symbols defined by a shared object.
8623 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Similarly.
8624 1.1 skrll
8625 1.1 skrll 2000-04-19 Michael Sokolov <msokolov (a] ivan.Harhan.ORG>
8626 1.1 skrll
8627 1.1 skrll K&R compiler fixes.
8628 1.1 skrll * dwarf2.c (concat_filename): Avoid string literal concatenation.
8629 1.1 skrll * ieee.c (ieee_get_symtab): Don't initialise union in struct.
8630 1.1 skrll
8631 1.1 skrll 2000-04-11 David Mosberger <davidm (a] hpl.hp.com>
8632 1.1 skrll
8633 1.1 skrll * Makefile.am (BFD64_BACKENDS): Mention coff-ia64.lo.
8634 1.1 skrll (BFD64_BACKENDS_CFILES): Mention coff-ia64.c
8635 1.1 skrll (coff-ia64.lo): Add dependency.
8636 1.1 skrll * Makefile.in: Regenerate.
8637 1.1 skrll * coff-ia64.c: New file.
8638 1.1 skrll * efi-app-ia32.c: Ditto.
8639 1.1 skrll * efi-app-ia64.c: Ditto.
8640 1.1 skrll * coffcode.h (coff_set_arch_mach_hook): Handle IA64MAGIC.
8641 1.1 skrll (coff_set_flags): Ditto.
8642 1.1 skrll (coff_write_object_contents) [IA64]: Set magic number to ZMAGIC.
8643 1.1 skrll * config.bfd (i[3456]86-*-linux-gnu*): Mention bfd_efi_app_ia32_vec.
8644 1.1 skrll * configure.in (elf): Handle bfd_efi_app_ia32 and bfd_efi_app_ia64_vec.
8645 1.1 skrll * configure: Regenerate.
8646 1.1 skrll * libpei.h (GET_OPTHDR_IMAGE_BASE): New macro.
8647 1.1 skrll (PUT_OPTHDR_IMAGE_BASE): Ditto.
8648 1.1 skrll (GET_OPTHDR_SIZE_OF_STACK_RESERVE): Ditto.
8649 1.1 skrll (PUT_OPTHDR_SIZE_OF_STACK_RESERVE): Ditto.
8650 1.1 skrll (GET_OPTHDR_SIZE_OF_STACK_COMMIT): Ditto.
8651 1.1 skrll (PUT_OPTHDR_SIZE_OF_STACK_COMMIT): Ditto.
8652 1.1 skrll (GET_OPTHDR_SIZE_OF_HEAP_RESERVE): Ditto.
8653 1.1 skrll (PUT_OPTHDR_SIZE_OF_HEAP_RESERVE): Ditto.
8654 1.1 skrll (GET_OPTHDR_SIZE_OF_HEAP_COMMIT): Ditto.
8655 1.1 skrll (PUT_OPTHDR_SIZE_OF_HEAP_COMMIT): Ditto.
8656 1.1 skrll (GET_PDATA_ENTRY): Ditto.
8657 1.1 skrll * peigen.c (_bfd_pei_swap_aouthdr_in) [COFF_WITH_PEP64]: Don't read
8658 1.1 skrll data_start. Use above macros to read fields that are 64 bit wide for
8659 1.1 skrll COFF_WITH_PEP64. Don't truncate entry and text_start to 32 bits.
8660 1.1 skrll (_bfd_pei_swap_aouthdr_out) [PEI_FORCE_MINIMUM_ALIGNMENT]: Force
8661 1.1 skrll FileAlignment and SectionAlignment to minimum alignment if they
8662 1.1 skrll are zero.
8663 1.1 skrll (_bfd_pei_swap_aouthdr_out) [PEI_DEFAULT_TARGET_SUBSYSTEM]: Set
8664 1.1 skrll Subsystem to default PEI_DEFAULT_TARGET_SUBSYSTEM.
8665 1.1 skrll (_bfd_pei_swap_aouthdr_out) [COFF_WITH_PEP64]: Don't set data_start.
8666 1.1 skrll Use above macros to write fields that are 64 bit wide for
8667 1.1 skrll COFF_WITH_PEP64.
8668 1.1 skrll (pe_print_pdata): Set PDATA_ROW_SIZE to 3*8 for COFF_WITH_PEP64,
8669 1.1 skrll 5*4 otherwise. This should be right for IA-32 and IA-64, but may
8670 1.1 skrll be wrong for platforms. Use PDATA_ROW_SIZE instead of hardcoded
8671 1.1 skrll value of 20 bytes. Modify printing for COFF_WITH_PEP64 to print
8672 1.1 skrll begin address, end address, and unwind info address only. Use
8673 1.1 skrll GET_PDATA_ENTRY() to read .pdata entries. Use fprintf_vma() to
8674 1.1 skrll print addresses.
8675 1.1 skrll (tbl): Add SECTION, REL32, RESERVED1, MIPS_JMPADDR16, DIR64, and
8676 1.1 skrll HIGH3ADJ relocation names.
8677 1.1 skrll (_bfd_pe_print_private_bfd_data): Print Subsystem name in legible form.
8678 1.1 skrll * targets.c: Declare bfd_efi_app_ia32_vec and
8679 1.1 skrll bfd_efi_app_ia64_vec.
8680 1.1 skrll (bfd_target_vector): Mention bfd_efi_app_ia32_vec and
8681 1.1 skrll bfd_efi_app_ia64_vec.
8682 1.1 skrll
8683 1.1 skrll 2000-04-17 Timothy Wall <twall (a] cygnus.com>
8684 1.1 skrll
8685 1.1 skrll * bfd-in2.h: Add prototypes for tic54x load page access.
8686 1.1 skrll * bfd-in.h: Regenerate.
8687 1.1 skrll * coff-tic54x.c: Add load page functions; allow bfd_arch_unknown
8688 1.1 skrll in customized _set_arch_mach function.
8689 1.1 skrll * coffcode.h (coff_set_alignment_hook): Set section load page if
8690 1.1 skrll the appropriate macro is defined.
8691 1.1 skrll (write_object_contents): Read section load page.
8692 1.1 skrll
8693 1.1 skrll 2000-04-13 Alan Modra <alan (a] linuxcare.com.au>
8694 1.1 skrll
8695 1.1 skrll * elf32-hppa.h: Update copyright date.
8696 1.1 skrll
8697 1.1 skrll * elf32-fr30.c (fr30_elf_i20_reloc): Don't use U suffix.
8698 1.1 skrll * elf32-mips.c (_bfd_mips_elf_relocate_section): And here.
8699 1.1 skrll
8700 1.1 skrll * elf32-d30v.c (MAX32): Don't use LL suffix.
8701 1.1 skrll (MIN32): Define in terms of MAX32.
8702 1.1 skrll (bfd_elf_d30v_reloc): Make relocation a bfd_signed_vma.
8703 1.1 skrll
8704 1.1 skrll * coff-a29k.c (SIGN_EXTEND_HWORD): Replace with more concise
8705 1.1 skrll expression.
8706 1.1 skrll
8707 1.1 skrll * peicode.h (pe_ILF_build_a_bfd): Remove UL from hex constants.
8708 1.1 skrll
8709 1.1 skrll 2000-04-12 Alan Modra <alan (a] linuxcare.com.au>
8710 1.1 skrll
8711 1.1 skrll * dep-in.sed: Match space before file name, not after.
8712 1.1 skrll * Makefile.am: Regenerate dependencies.
8713 1.1 skrll * Makefile.in: Regenerate.
8714 1.1 skrll
8715 1.1 skrll * reloc.c (_bfd_relocate_contents): In complain_overflow_bitfield
8716 1.1 skrll case, allow address wrap-around stupidly removed 2000-03-17. Sign
8717 1.1 skrll extend without an if statement.
8718 1.1 skrll
8719 1.1 skrll 2000-04-11 Alan Modra <alan (a] linuxcare.com.au>
8720 1.1 skrll
8721 1.1 skrll * coff-mips.c (mips_gprel_reloc): Test for 16 bit range using
8722 1.1 skrll signed quantites.
8723 1.1 skrll * elf32-mips.c (gprel16_with_gp): Likewise.
8724 1.1 skrll * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Test range
8725 1.1 skrll here using -0x40000, not (int)0xfffc0000.
8726 1.1 skrll (elf32_hppa_size_of_stub): Likewise.
8727 1.1 skrll
8728 1.1 skrll 2000-04-11 Timothy Wall <twall (a] cygnus.com>
8729 1.1 skrll
8730 1.1 skrll * coff-tic54x.c: Now builds with all targets.
8731 1.1 skrll * Makefile.am: Add coff/tic54x.h to coff-tic54x.o dependencies.
8732 1.1 skrll * Makefile.in: Regenerate.
8733 1.1 skrll * coffcode.h (coff_set_arch_mach_hook): Eliminate warning on
8734 1.1 skrll unitialized variable.
8735 1.1 skrll
8736 1.1 skrll 2000-04-07 Andrew Cagney <cagney (a] b1.cygnus.com>
8737 1.1 skrll
8738 1.1 skrll * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
8739 1.1 skrll --enable-build-warnings option.
8740 1.1 skrll * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
8741 1.1 skrll * Makefile.in, configure: Re-generate.
8742 1.1 skrll
8743 1.1 skrll 2000-04-07 Nick Clifton <nickc (a] cygnus.com>
8744 1.1 skrll
8745 1.1 skrll * reloc.c: Add BFD_RELOC_ARM_PCREL_BLX and
8746 1.1 skrll BFD_RELOC_THUMB_PCREL_BLX.
8747 1.1 skrll
8748 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Handle
8749 1.1 skrll R_ARM_XPC25 and R_ARM_THM_PC22.
8750 1.1 skrll
8751 1.1 skrll * elfarm-nabi.c (elf32_arm_howto_): Fix definitions of
8752 1.1 skrll R_ARM_XPC25 and R_ARM_THM_XPC22.
8753 1.1 skrll (elf32_arm_reloc_map): Make BFD_RELOC_{ARM|THUMB}_PCREL_BLX to
8754 1.1 skrll R_ARM_[XPC25|THM_XPC22].
8755 1.1 skrll
8756 1.1 skrll * elfarm-oabi.c: Define OLD_ARM_ABI and change include from
8757 1.1 skrll elf/arm-oabi.h to elf/arm.h
8758 1.1 skrll
8759 1.1 skrll * Makefile.am: Fix dependency for elfarm-oabi.c
8760 1.1 skrll * Makefile.in: Regenerate.
8761 1.1 skrll
8762 1.1 skrll * bfd-in2.h: Regenerate.
8763 1.1 skrll * libbfd.h: Regenerate.
8764 1.1 skrll
8765 1.1 skrll 2000-04-06 Michael Snyder <msnyder (a] seadog.cygnus.com>
8766 1.1 skrll
8767 1.1 skrll * elfcore.h (elf_core_file_p): preserve value of tdata at entry,
8768 1.1 skrll and restore it on failure. Release newly allocated tdata on
8769 1.1 skrll failure.
8770 1.1 skrll
8771 1.1 skrll 2000-04-07 Jim Wilson <wilson (a] cygnus.com>
8772 1.1 skrll
8773 1.1 skrll * dwarf2.c (struct dwarf2_debug): New field dwarf_line_size.
8774 1.1 skrll (decode_line_info): Set it. Report error if unit->line_offset is
8775 1.1 skrll equal to or larger than it.
8776 1.1 skrll
8777 1.1 skrll 2000-04-07 Timothy Wall <twall (a] cygnus.com>
8778 1.1 skrll
8779 1.1 skrll * targets.c: Added vecs for tic54x.
8780 1.1 skrll * reloc.c: Added relocs for tic54x.
8781 1.1 skrll * libbfd.h: Regenerated.
8782 1.1 skrll * configure: Add TI COFF vecs for tic54x.
8783 1.1 skrll * configure.in: Ditto.
8784 1.1 skrll * config.bfd (targ_cpu): Recognize new tic54x target.
8785 1.1 skrll * coffcode.h (coff_slurp_symbol_table): Additions for TI COFF handling.
8786 1.1 skrll * bfd-in2.h: Add tic54x target and relocations.
8787 1.1 skrll * Makefile.am, Makefile.in: Add tic54x target.
8788 1.1 skrll * archures.c (bfd_archures_list): Add tic54x target.
8789 1.1 skrll * coff-tic54x.c: New.
8790 1.1 skrll * cpu-tic54x.c: New.
8791 1.1 skrll
8792 1.1 skrll 2000-04-06 Michael Snyder <msnyder (a] seadog.cygnus.com>
8793 1.1 skrll
8794 1.1 skrll * elfcore.h (elf_core_file_p): call backend_object_p which
8795 1.1 skrll thereby gets an opportunity to update the arch/machine type.
8796 1.1 skrll
8797 1.1 skrll 2000-04-06 Timothy Wall <twall (a] cygnus.com>
8798 1.1 skrll
8799 1.1 skrll * coffcode.h (coff_slurp_symbol_table): Handle C_STATLAB storage
8800 1.1 skrll class. Handle SEC_CLINK and SEC_BLOCK flags.
8801 1.1 skrll * section.c: Add SEC_CLINK and SEC_BLOCK flags.
8802 1.1 skrll * bfd-in2.h: Add SEC_CLINK and SEC_BLOCK flags.
8803 1.1 skrll
8804 1.1 skrll 2000-04-06 Nick Clifton <nickc (a] cygnus.com>
8805 1.1 skrll
8806 1.1 skrll * elf32-arm.h (elf32_arm_set_private_flags): Only check for
8807 1.1 skrll EF_INTERWORK if this is an unknown EABI.
8808 1.1 skrll (elf32_arm_merge_private_bfd_data): Check EABI version
8809 1.1 skrll numbers. Only check EF_xxx flags if the EABI version number
8810 1.1 skrll is unknown.
8811 1.1 skrll (elf32_arm_check_private_bfd_data): Only check EF_xxx flags
8812 1.1 skrll if the EABI version number is unknown.
8813 1.1 skrll (elf32_arm_print_private_bfd_data): Only decode EF_xxx flags
8814 1.1 skrll if the EABI version number is unknown.
8815 1.1 skrll
8816 1.1 skrll 2000-04-05 J"orn Rennecke <amylaar (a] cygnus.co.uk>
8817 1.1 skrll
8818 1.1 skrll * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and
8819 1.1 skrll BFD_RELOC_SH_LOOP_END.
8820 1.1 skrll * elf32-sh.c (sh_elf_howto_tab): Change special_func to
8821 1.1 skrll sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore.
8822 1.1 skrll Add entries for R_SH_LOOP_START and R_SH_LOOP_END.
8823 1.1 skrll (sh_elf_reloc_loop): New function.
8824 1.1 skrll (sh_elf_reloc): No need to test for always-to-be-ignored relocs
8825 1.1 skrll any more.
8826 1.1 skrll (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}.
8827 1.1 skrll (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}.
8828 1.1 skrll * bfd-in2.h, libbfd.h: Regenerate.
8829 1.1 skrll
8830 1.1 skrll 2000-04-04 Alan Modra <alan (a] linuxcare.com.au>
8831 1.1 skrll
8832 1.1 skrll * po/bfd.pot: Regenerate.
8833 1.1 skrll
8834 1.1 skrll * Makefile.am: Remove extraneous mkdep comment.
8835 1.1 skrll (MKDEP): Use gcc -MM rather than mkdep.
8836 1.1 skrll (DEP): Quote when passing vars to sub-make. Add warning
8837 1.1 skrll message to end.
8838 1.1 skrll (DEP1): Rewrite for "gcc -MM".
8839 1.1 skrll (CLEANFILES): Add DEP2.
8840 1.1 skrll Update dependencies.
8841 1.1 skrll * Makefile.in: Regenerate.
8842 1.1 skrll
8843 1.1 skrll 2000-04-03 Kevin Buettner <kevinb (a] redhat.com>
8844 1.1 skrll
8845 1.1 skrll * configure.in: Added corefile support for AIX 4.3. In particular,
8846 1.1 skrll AIX_CORE_DUMPX_CORE will be defined in addition to AIX_CORE when
8847 1.1 skrll compiling rs6000-core.c.
8848 1.1 skrll * configure: Regenerated.
8849 1.1 skrll
8850 1.1 skrll 2000-04-03 H.J. Lu <hjl (a] gnu.org>
8851 1.1 skrll
8852 1.1 skrll * cache.c (bfd_open_file): Unlink the output file only if
8853 1.1 skrll it has non-zero size.
8854 1.1 skrll
8855 1.1 skrll 2000-04-01 Ken Block USG <block (a] zk3.dec.com>
8856 1.1 skrll
8857 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Don't emit
8858 1.1 skrll relative relocations for non-loaded sections in shared objects.
8859 1.1 skrll (elf64_alpha_check_relocs): Similarly.
8860 1.1 skrll
8861 1.1 skrll 2000-04-03 Hans-Peter Nilsson <hp (a] axis.com>
8862 1.1 skrll
8863 1.1 skrll * aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 and
8864 1.1 skrll BFD_RELOC_16 to switch for extended relocs.
8865 1.1 skrll (MY_swap_ext_reloc_in): New.
8866 1.1 skrll (MY_swap_ext_reloc_out): New.
8867 1.1 skrll (NAME(aout,slurp_reloc_table)): Use MY_swap_ext_reloc_in rather
8868 1.1 skrll than NAME(aout,swap_ext_reloc_in) for extended relocs.
8869 1.1 skrll (NAME(aout,squirt_out_relocs)): Similarly use
8870 1.1 skrll MY_swap_ext_reloc_out.
8871 1.1 skrll (aout_link_reloc_link_order): Use MY_put_ext_reloc if defined.
8872 1.1 skrll
8873 1.1 skrll 2000-04-03 Kazu Hirata <kazu (a] hxi.com>
8874 1.1 skrll
8875 1.1 skrll * coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 to
8876 1.1 skrll the R_PCRWORD_B case.
8877 1.1 skrll
8878 1.1 skrll 2000-03-31 Thomas de Lellis <tdel (a] wrs.com>
8879 1.1 skrll
8880 1.1 skrll * srec.c : Set CHUNK size to 16 bytes to prevent download failures
8881 1.1 skrll on some targets.
8882 1.1 skrll * ihex.c : Ditto.
8883 1.1 skrll
8884 1.1 skrll 2000-03-30 Donald Lindsay <dlindsay (a] cygnus.com>
8885 1.1 skrll
8886 1.1 skrll * elf32-m32r.c (m32r_elf_generic_reloc): new function. All
8887 1.1 skrll HOWTO references to bfd_elf_generic_reloc, that have
8888 1.1 skrll partial_inplace == true, now use the new function. The function
8889 1.1 skrll is based on the recent rewrite of m32r_elf_lo16_reloc(), and
8890 1.1 skrll extends its fixes to the R_M32R_{16,24,32} relocs.
8891 1.1 skrll The new logic in m32r_elf_lo16_reloc() has been removed, and
8892 1.1 skrll it instead calls the new routine to obtain that functionality.
8893 1.1 skrll
8894 1.1 skrll 2000-03-27 Alan Modra <alan (a] linuxcare.com.au>
8895 1.1 skrll
8896 1.1 skrll * elf32-avr.c (elf32_avr_gc_mark_hook, elf32_avr_gc_sweep_hook,
8897 1.1 skrll elf32_avr_check_relocs, avr_final_link_relocate,
8898 1.1 skrll elf32_avr_relocate_section, bfd_elf_avr_final_write_processing,
8899 1.1 skrll elf32_avr_object_p): Add prototypes.
8900 1.1 skrll (elf32_avr_gc_mark_hook): Add default for h->root.type.
8901 1.1 skrll (bfd_elf_avr_final_write_processing): Make static.
8902 1.1 skrll
8903 1.1 skrll 2000-03-27 Denis Chertykov <denisc (a] overta.ru>
8904 1.1 skrll
8905 1.1 skrll * cpu-avr.c: New file. BFD support routines for AVR architecture.
8906 1.1 skrll * archures.c (bfd_architecture): Add AVR architecture.
8907 1.1 skrll (bfd_archures_list): Add reference to AVR architecture info.
8908 1.1 skrll * elf.c (prep_headers): Handle bfd_arch_avr.
8909 1.1 skrll * reloc.c: Add various AVR relocation enums.
8910 1.1 skrll * targets.c (bfd_elf32_avr_vec): Declare and add to target vector
8911 1.1 skrll list.
8912 1.1 skrll * Makefile.am: Add support for AVR elf.
8913 1.1 skrll * configure.in: Likewise.
8914 1.1 skrll * config.bfd: Likewise.
8915 1.1 skrll * Makefile.in: Regenerate.
8916 1.1 skrll * configure: This too.
8917 1.1 skrll * bfd-in2.h: And this.
8918 1.1 skrll * libbfd.h: And this.
8919 1.1 skrll
8920 1.1 skrll 2000-03-24 H.J. Lu <hjl (a] gnu.org>
8921 1.1 skrll
8922 1.1 skrll * elf64-alpha.c (elf64_alpha_merge_ind_symbols): Add prototype.
8923 1.1 skrll (elf64_alpha_find_reloc_at_ofs): Likewise.
8924 1.1 skrll
8925 1.1 skrll 2000-03-17 Alan Modra <alan (a] linuxcare.com.au>
8926 1.1 skrll
8927 1.1 skrll * reloc.c (bfd_check_overflow): In case complain_overflow_bitfield,
8928 1.1 skrll flag an overflow if the bitfield is outside -2**n to 2**n-1. The
8929 1.1 skrll allowable range used to be -2**(n-1) to 2**n-1.
8930 1.1 skrll * reloc.c (_bfd_relocate_contents): Same here. Also replace
8931 1.1 skrll "boolean overflow" with "bfd_reloc_status_type flag".
8932 1.1 skrll
8933 1.1 skrll 2000-03-14 Doug Evans <dje (a] casey.transmeta.com>
8934 1.1 skrll
8935 1.1 skrll * elf32-m32r.c (m32r_elf_lo16_reloc): Rewrite.
8936 1.1 skrll
8937 1.1 skrll 2000-03-14 Kazu Hirata <kazu (a] hxi.com>
8938 1.1 skrll
8939 1.1 skrll * reloc16.c (bfd_coff_reloc16_relax_section): Count the total number
8940 1.1 skrll of shrinks properly, including the last reloc.
8941 1.1 skrll
8942 1.1 skrll 2000-03-13 Kazu Hirata <kazu (a] hxi.com>
8943 1.1 skrll
8944 1.1 skrll * coff-h8300.c (h8300_reloc16_extra_cases): Fix the sanity
8945 1.1 skrll check for R_MOVL2.
8946 1.1 skrll
8947 1.1 skrll 2000-03-11 Alan Modra <alan (a] linuxcare.com.au>
8948 1.1 skrll
8949 1.1 skrll * ieee.c (ieee_archive_p): Return bfd_error_wrong_format on
8950 1.1 skrll a format mismatch rather than an "error" from bfd_read such as
8951 1.1 skrll bfd_error_file_truncated.
8952 1.1 skrll
8953 1.1 skrll 2000-03-10 Geoff Keating <geoffk (a] cygnus.com>
8954 1.1 skrll
8955 1.1 skrll * elf32-mips.c (_bfd_mips_elf_relocate_section): Do proper
8956 1.1 skrll sign-extension and big-endian compensation for
8957 1.1 skrll R_MIPS_64 even in ld -r.
8958 1.1 skrll
8959 1.1 skrll 2000-03-10 Geoffrey Keating <geoffk (a] cygnus.com>
8960 1.1 skrll
8961 1.1 skrll * elf32-mips.c (mips_elf_next_relocation): Rename from
8962 1.1 skrll mips_elf_next_lo16_relocation, and generalize to look
8963 1.1 skrll for any relocation type.
8964 1.1 skrll (elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset.
8965 1.1 skrll (elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16.
8966 1.1 skrll (elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16.
8967 1.1 skrll (elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2.
8968 1.1 skrll (elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64.
8969 1.1 skrll (elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32.
8970 1.1 skrll (bfd_elf32_bfd_reloc_type_lookup): Add new relocs.
8971 1.1 skrll (mips_rtype_to_howto): Likewise.
8972 1.1 skrll (mips_elf_calculate_relocation): Handle new relocs.
8973 1.1 skrll (_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs
8974 1.1 skrll are paired. The addend for R_MIPS_GNU_REL16_S2
8975 1.1 skrll is shifted right two bits.
8976 1.1 skrll
8977 1.1 skrll 2000-03-10 Alan Modra <alan (a] linuxcare.com.au>
8978 1.1 skrll
8979 1.1 skrll * reloc.c (bfd_perform_relocation): Undo emacs formatting of
8980 1.1 skrll comment, and ensure it doesn't happen again.
8981 1.1 skrll (bfd_install_relocation): Same here.
8982 1.1 skrll (_bfd_relocate_contents): Don't bother assigning unused signmask
8983 1.1 skrll shift result. Fix typos in comments.
8984 1.1 skrll Remove trailing whitespace throughout file.
8985 1.1 skrll
8986 1.1 skrll 2000-03-07 Doug Evans <dje (a] casey.transmeta.com>
8987 1.1 skrll
8988 1.1 skrll * reloc.c (reloc_howto_struct): Fix partial_inplace comment.
8989 1.1 skrll * bfd-in2.h: Rebuild.
8990 1.1 skrll
8991 1.1 skrll 2000-03-06 Nick Clifton <nickc (a] cygnus.com>
8992 1.1 skrll
8993 1.1 skrll * peicode.h (struct pe_ILF_vars): Add sym_ptr_table and
8994 1.1 skrll sym_ptr_ptr fields.
8995 1.1 skrll (SIZEOF_ILF_SYM_PTR_TABLE): Define.
8996 1.1 skrll (SIZEOF_ILF_STRINGS): Redefine.
8997 1.1 skrll (pe_ILF_make_a_symbol-reloc): New function. Creates a symbol
8998 1.1 skrll relative reloc, as opposed to a section relative reloc.
8999 1.1 skrll (pe_ILF_make_a_symbol): Set the class of local symbols to C_STAT
9000 1.1 skrll not C_LABEL.
9001 1.1 skrll Add length of symbol's prefix to string pointer.
9002 1.1 skrll Store a pointer to the symbol in the symbol pointer table.
9003 1.1 skrll (pe_ILF_build_a_bfd): Do not build .idata$2 or .idata$7.
9004 1.1 skrll Initialise the symbol pointer table.
9005 1.1 skrll Store the hint in the Hint/Name table.
9006 1.1 skrll Make the jump reloc be symbol realtive, not section relative.
9007 1.1 skrll Create an import symbol for imported code.
9008 1.1 skrll
9009 1.1 skrll 2000-03-06 Catherine Moore <clm (a] cygnus.com>
9010 1.1 skrll
9011 1.1 skrll * elf.c (swap_out_syms): Check for null type_ptr.
9012 1.1 skrll
9013 1.1 skrll 2000-03-01 Hans-Peter Nilsson <hp (a] axis.com>
9014 1.1 skrll
9015 1.1 skrll * aout-target.h (MY(write_object_contents)): Remove unused
9016 1.1 skrll and unusable "#if CHOOSE_RELOC_SIZE".
9017 1.1 skrll * pc532-mach.c (MY(write_object_contents)): Ditto.
9018 1.1 skrll * netbsd.h (MY(write_object_contents)): Ditto.
9019 1.1 skrll * hp300hpux.c (MY(write_object_contents)): Ditto.
9020 1.1 skrll * freebsd.h (MY(write_object_contents)): Ditto.
9021 1.1 skrll * aout-tic30.c (tic30_aout_write_object_contents): Ditto.
9022 1.1 skrll
9023 1.1 skrll 2000-02-29 H.J. Lu <hjl (a] gnu.org>
9024 1.1 skrll
9025 1.1 skrll * peicode.h (jtab): Make it static.
9026 1.1 skrll
9027 1.1 skrll * coff-sh.c (sh_align_load_span): Declared if COFF_WITH_PE is
9028 1.1 skrll defined and COFF_IMAGE_WITH_PE is not defined.
9029 1.1 skrll (_bfd_sh_align_load_span): Defined as sh_align_load_span if
9030 1.1 skrll COFF_WITH_PE is defined and COFF_IMAGE_WITH_PE is not defined.
9031 1.1 skrll
9032 1.1 skrll 2000-03-01 Nick Clifton <nickc (a] cygnus.com>
9033 1.1 skrll
9034 1.1 skrll * coff-arm.c (bfd_arm_process_before_allocation): Make
9035 1.1 skrll 'symndx' signed to prevent compile time warning.
9036 1.1 skrll
9037 1.1 skrll * coff-mcore.c: Remove unused prototype for pe_object_p.
9038 1.1 skrll
9039 1.1 skrll * coff-sh.c: Add "#ifndef COFF_IMAGE_WITH_PE" around static
9040 1.1 skrll functions that are not used when COFF_IMAGE_WITH_PE is
9041 1.1 skrll defined.
9042 1.1 skrll (struct sh_opcode): Change type of 'flags' field to unsigned
9043 1.1 skrll long so that it can hold the USESAS flag.
9044 1.1 skrll
9045 1.1 skrll * coffcode.h (styp_to_sec_flags): Initialise 'target_name'.
9046 1.1 skrll
9047 1.1 skrll * elf-m10300.c (mn10300_elf_relax_section): Initialise
9048 1.1 skrll 'sym_sec'.
9049 1.1 skrll
9050 1.1 skrll * elf32-i370.c: Add ATTRIBUTE_UNUSED to unused function
9051 1.1 skrll parameters.
9052 1.1 skrll Remove unusued variables and code.
9053 1.1 skrll (elf_backend_add_symbol_hook): Fix prototype.
9054 1.1 skrll
9055 1.1 skrll * elf32-m68k.c (elf_m68k_gc_sweep_hook): Initialise 'sgot' and
9056 1.1 skrll 'srelgot'.
9057 1.1 skrll
9058 1.1 skrll * elf32-mcore.c (mcore_elf_relocate_section): Initialise
9059 1.1 skrll 'oldinst'.
9060 1.1 skrll
9061 1.1 skrll * elf32-mips.c: Add ATTRIBUTE_UNUSED to unused function
9062 1.1 skrll parameters.
9063 1.1 skrll Remove unusued variables and code.
9064 1.1 skrll (elf_backend_add_symbol_hook): Fix prototype.
9065 1.1 skrll
9066 1.1 skrll * elf32-sh.c (sh_elf_set_mach_from_flags): Use 'flags'.
9067 1.1 skrll
9068 1.1 skrll * elflink.h (elf_bfd_link_add_symbols): Add ATTRIBUTE_UNUSED
9069 1.1 skrll to unused function parameter.
9070 1.1 skrll
9071 1.1 skrll * pe-mips.c: Add ATTRIBUTE_UNUSED to unused function
9072 1.1 skrll parameters.
9073 1.1 skrll Use EMPTY_HOWTO to initialise empty howto slots.
9074 1.1 skrll Remove unused variables.
9075 1.1 skrll
9076 1.1 skrll * peicode.h (pe_ILF_build_a_bfd): Initialise id6.
9077 1.1 skrll
9078 1.1 skrll 2000-03-01 H.J. Lu <hjl (a] gnu.org>
9079 1.1 skrll
9080 1.1 skrll * aoutx.h (aout_link_input_section_std): Pass "true" to
9081 1.1 skrll the undefined_symbol callback.
9082 1.1 skrll (aout_link_input_section_ext): Likewise.
9083 1.1 skrll * bout.c (get_value): Likewise.
9084 1.1 skrll * coff-a29k.c (coff_a29k_relocate_section): Likewise.
9085 1.1 skrll * coff-alpha.c (alpha_ecoff_get_relocated_section_conten):
9086 1.1 skrll Likewise.
9087 1.1 skrll (alpha_relocate_section): Likewise.
9088 1.1 skrll * coff-arm.c (coff_arm_relocate_section): Likewise.
9089 1.1 skrll * coff-i960.c (coff_i960_relocate_section): Likewise.
9090 1.1 skrll * coff-mcore.c (coff_mcore_relocate_section): Likewise.
9091 1.1 skrll * coff-mips.c (mips_relocate_section): Likewise.
9092 1.1 skrll * coff-ppc.c (coff_ppc_relocate_section): Likewise.
9093 1.1 skrll * coff-sh.c (sh_relocate_section): Likewise.
9094 1.1 skrll * coff-tic80.c (coff_tic80_relocate_section): Likewise.
9095 1.1 skrll * cofflink.c (_bfd_coff_generic_relocate_section): Likewise.
9096 1.1 skrll * elf-m10200.c (mn10200_elf_relocate_section): Likewise.
9097 1.1 skrll * elf-m10300.c (mn10300_elf_relocate_section): Likewise.
9098 1.1 skrll * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
9099 1.1 skrll * elf32-fr30.c (fr30_elf_relocate_section): Likewise.
9100 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
9101 1.1 skrll * elf32-i370.c (i370_elf_relocate_section): Likewise.
9102 1.1 skrll * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
9103 1.1 skrll * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
9104 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Likewise.
9105 1.1 skrll * elf32-v850.c (v850_elf_relocate_section): Likewise.
9106 1.1 skrll * elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.
9107 1.1 skrll * elflink.h (elf_link_output_extsym): Likewise.
9108 1.1 skrll * pe-mips.c (coff_pe_mips_relocate_section): Likewise.
9109 1.1 skrll * reloc.c (bfd_generic_get_relocated_section_conten): Likewise.
9110 1.1 skrll * reloc16.c (_bfd_ppc_xcoff_relocate_section): Likewise.
9111 1.1 skrll
9112 1.1 skrll * elf-hppa.h (elf_hppa_relocate_section): Pass "false" to the
9113 1.1 skrll undefined_symbol callback when building shared library with
9114 1.1 skrll -Bsymbolic and undefined symbols are allowed. Otherwise, pass
9115 1.1 skrll "true".
9116 1.1 skrll * elf32-arm.h (elf32_arm_relocate_section): Likewise.
9117 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Likewise.
9118 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
9119 1.1 skrll * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
9120 1.1 skrll (elf32_mips_get_relocated_section_content): Likewise.
9121 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
9122 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
9123 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
9124 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
9125 1.1 skrll
9126 1.1 skrll 2000-02-28 Nick Clifton <nickc (a] cygnus.com>
9127 1.1 skrll
9128 1.1 skrll * Makefile.am: Add rules to build pe[i]-{sh|mips}.lo objects.
9129 1.1 skrll * Makefile.in: Regenerate.
9130 1.1 skrll
9131 1.1 skrll * configure.in: Add support for mips and sh pe vectors.
9132 1.1 skrll * configure: regenerate.
9133 1.1 skrll
9134 1.1 skrll * config.bfd: Add support for arm-wince, mips-pe and sh-pe
9135 1.1 skrll targets.
9136 1.1 skrll
9137 1.1 skrll * targets.c: Add mips and sh pe vectors.
9138 1.1 skrll
9139 1.1 skrll * libpei.h (coff_final_link_postscript): Only define if not
9140 1.1 skrll already defined.
9141 1.1 skrll
9142 1.1 skrll * coffcode.h: Add support for WinCE magic numbers.
9143 1.1 skrll
9144 1.1 skrll * peigen.c (pe_print_reloc): Update comment and rearrange
9145 1.1 skrll appending of newline character.
9146 1.1 skrll
9147 1.1 skrll * peicode.h: Add support for Image Library Format.
9148 1.1 skrll (pe_ILF_vars): Structure containing data used by ILF code.
9149 1.1 skrll (pe_ILF_make_a_section): New function. Create a section based
9150 1.1 skrll on ILF data.
9151 1.1 skrll (pe_ILF_make_a_reloc): New function. Create a reloc based on
9152 1.1 skrll ILF data.
9153 1.1 skrll (pe_ILF_make_a_symbol): New function. Create a symbol based
9154 1.1 skrll on ILF data.
9155 1.1 skrll (pe_ILF_save_relocs): New function. Store the relocs created
9156 1.1 skrll by pe_ILF_make_a_reloc in a section.
9157 1.1 skrll (pe_ILF_build_a_bfd): New function. Create a BFD describing
9158 1.1 skrll an ILF object.
9159 1.1 skrll (pe_ILF_object_p): New function. Return a bfd_target pointer
9160 1.1 skrll for an ILF object.
9161 1.1 skrll (pe_bfd_object_p): If an ILF object is detected call
9162 1.1 skrll pe_ILF_object_p on it.
9163 1.1 skrll
9164 1.1 skrll * coff-arm.c: Add support for WinCE relocs which are different
9165 1.1 skrll from normal ARM COFF relocs.
9166 1.1 skrll * pe-arm.c: Unset TARGET_UNDERSCORE for a WinCE target.
9167 1.1 skrll
9168 1.1 skrll * coff-sh.c: Add support for sh-pe target.
9169 1.1 skrll * pe-sh.c: New file. Support code for sh-pe target.
9170 1.1 skrll * pei-sh.c: New file. Support code for sh-pe target.
9171 1.1 skrll
9172 1.1 skrll * pe-mips.c: New file. Support code for mips-pe target.
9173 1.1 skrll * pei-mips.c: New file. Support code for mips-pe target.
9174 1.1 skrll
9175 1.1 skrll 2000-02-27 Jakub Jelinek <jakub (a] redhat.com>
9176 1.1 skrll
9177 1.1 skrll * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Don't bump
9178 1.1 skrll architecture if the object causing the bump is dynamic.
9179 1.1 skrll * elf64-sparc.c (sparc64_elf_merge_private_bfd_data): Likewise,
9180 1.1 skrll and also don't it for memory ordering.
9181 1.1 skrll (sparc64_elf_write_relocs): Take src_rela out of the loop.
9182 1.1 skrll
9183 1.1 skrll 2000-02-27 Ian Lance Taylor <ian (a] zembu.com>
9184 1.1 skrll
9185 1.1 skrll * dwarf2.c (read_abbrevs): Use _raw_size directly rather than
9186 1.1 skrll calling bfd_get_section_size_before_reloc.
9187 1.1 skrll (decode_line_info): Likewise.
9188 1.1 skrll (_bfd_dwarf2_find_nearest_line): Likewise.
9189 1.1 skrll
9190 1.1 skrll 2000-02-27 Eli Zaretskii <eliz (a] is.elta.co.il>
9191 1.1 skrll
9192 1.1 skrll * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
9193 1.1 skrll name of the libtool directory.
9194 1.1 skrll * Makefile.in: Rebuild.
9195 1.1 skrll
9196 1.1 skrll 2000-02-25 Rodney Brown (RodneyBrown (a] pmsc.com)
9197 1.1 skrll
9198 1.1 skrll * som.c (SOM_HOWTO): Define.
9199 1.1 skrll (som_hppa_howto_table): Use it.
9200 1.1 skrll
9201 1.1 skrll 2000-02-25 Alexandre Oliva <oliva (a] lsd.ic.unicamp.br>
9202 1.1 skrll
9203 1.1 skrll * config.bfd: Enable 64 bit support for GNU/Linux/sparc.
9204 1.1 skrll
9205 1.1 skrll * config.bfd: Enable 64 bit support for Solaris7+/sparc.
9206 1.1 skrll
9207 1.1 skrll 2000-02-24 Catherine Moore <clm (a] cygnus.com>
9208 1.1 skrll
9209 1.1 skrll * som.c (som_misc_symbol_info): Add field
9210 1.1 skrll secondary_def.
9211 1.1 skrll (som_bfd_derive_misc_symbol_info): Initialize
9212 1.1 skrll secondary_def.
9213 1.1 skrll (som_build_and_write_symbol_table): Keep track
9214 1.1 skrll of secondary_def field.
9215 1.1 skrll (som_slurp_symbol_table): Set BSF_WEAK symbol flag
9216 1.1 skrll if secondary_def field is set.
9217 1.1 skrll (som_bfd_ar_write_symbol_stuff): Initialize
9218 1.1 skrll secondary_def.
9219 1.1 skrll
9220 1.1 skrll 2000-02-23 Stephane Carrez <stcarrez (a] worldnet.fr>
9221 1.1 skrll
9222 1.1 skrll * dwarf2.c (read_address): Read 16-bits addresses.
9223 1.1 skrll (parse_comp_unit): Accept addr_size == 2.
9224 1.1 skrll
9225 1.1 skrll 2000-02-23 Alan Modra <alan (a] spri.levels.unisa.edu.au>
9226 1.1 skrll
9227 1.1 skrll * bfd-in.h: Update copyright date.
9228 1.1 skrll
9229 1.1 skrll 2000-02-23 Linas Vepstas <linas (a] linas.org>
9230 1.1 skrll
9231 1.1 skrll * cpu-i370.c: New file.
9232 1.1 skrll * elf32-i370.c: New file.
9233 1.1 skrll * archures.c (enum bfd_architecture): Add bfd_arch_i370.
9234 1.1 skrll (bfd_i370_arch): New.
9235 1.1 skrll (bfd_archures_list): Add bfd_i370_arch.
9236 1.1 skrll * elf.c (prep_headers): Add bfd_arch_i370.
9237 1.1 skrll * Makefile.am: Add support for IBM 370 elf.
9238 1.1 skrll * config.bfd: Likewise.
9239 1.1 skrll * configure.in: Likewise.
9240 1.1 skrll * libbfd.h (bfd_reloc_code_real_names): Likewise.
9241 1.1 skrll * reloc.c (bfd_reloc_code_type): Likewise.
9242 1.1 skrll * targets.c: Likewise.
9243 1.1 skrll
9244 1.1 skrll * Makefile.in: Regenerate.
9245 1.1 skrll * configure: Regenerate.
9246 1.1 skrll * bfd-in2.h: Regenerate.
9247 1.1 skrll
9248 1.1 skrll 2000-02-22 Ian Lance Taylor <ian (a] zembu.com>
9249 1.1 skrll
9250 1.1 skrll * elf32-i386.c (elf_i386_info_to_howto_rel): Give a warning for
9251 1.1 skrll invalid relocation types, and change them to R_386_NONE.
9252 1.1 skrll
9253 1.1 skrll 2000-02-22 H.J. Lu <hjl (a] gnu.org>
9254 1.1 skrll
9255 1.1 skrll * elflink.h (elf_link_add_object_symbols): If a version symbol is
9256 1.1 skrll not defined, don't add a second ELF_VER_CHR.
9257 1.1 skrll
9258 1.1 skrll * elflink.h (elf_bfd_final_link): Call output_extsym for global
9259 1.1 skrll symbols converted to local symbols even when stripping all
9260 1.1 skrll symbols.
9261 1.1 skrll (elf_link_output_extsym): Process global symbols converted to
9262 1.1 skrll local symbols even if they are being stripped.
9263 1.1 skrll
9264 1.1 skrll 2000-02-21 Alan Modra <alan (a] spri.levels.unisa.edu.au>
9265 1.1 skrll
9266 1.1 skrll * archures.c (bfd_octets_per_byte): Return unsigned int.
9267 1.1 skrll (bfd_arch_mach_octets_per_byte): Ditto.
9268 1.1 skrll * libbfd.c (bfd_read, bfd_seek): Quell signed vs. unsigned
9269 1.1 skrll comparison warning.
9270 1.1 skrll * section.c (bfd_get_section_size_before_reloc): Quell signed
9271 1.1 skrll vs. unsigned comparison warning.
9272 1.1 skrll (bfd_get_section_size_after_reloc): Same here. Fix parentheses too.
9273 1.1 skrll * trad-core.c (trad_unix_core_file_p): Correct 2000-01-27
9274 1.1 skrll change. What was I thinking?
9275 1.1 skrll * bfd-in2.h: Regenerate.
9276 1.1 skrll
9277 1.1 skrll * elflink.h (elf_gc_sweep): Skip non-elf input bfds.
9278 1.1 skrll (elf_gc_sections): Same here.
9279 1.1 skrll (elf_gc_common_finalize_got_offsets): And here.
9280 1.1 skrll
9281 1.1 skrll 2000-02-21 Ian Lance Taylor <ian (a] zembu.com>
9282 1.1 skrll
9283 1.1 skrll ELF HPPA doesn't work at present; remove it until it does.
9284 1.1 skrll * config.bfd: Comment out setting targ_defvec to
9285 1.1 skrll bfd_elf32_hppa_vec.
9286 1.1 skrll * Makefile.am: Rebuild dependencies.
9287 1.1 skrll (BFD32_BACKENDS): Remove elf32-hppa.lo.
9288 1.1 skrll (BFD32_BACKENDS_CFILES): Remove elf32-hppa.c.
9289 1.1 skrll (SOURCE_HFILES): Remove elf32-hppa.h and hppa_stubs.h.
9290 1.1 skrll * Makefile.in: Rebuild.
9291 1.1 skrll * targets.c (bfd_target_vector): Comment out bfd_elf32_hppa_vec.
9292 1.1 skrll
9293 1.1 skrll 2000-02-18 Geoff Keating <geoffk (a] cygnus.com>
9294 1.1 skrll
9295 1.1 skrll * coffcode.h (coff_set_arch_mach_hook): Use free(), because there
9296 1.1 skrll is no bfd_free(). Revert bfd_free part of previous change.
9297 1.1 skrll
9298 1.1 skrll 2000-02-18 Geoff Keating <geoffk (a] cygnus.com>
9299 1.1 skrll
9300 1.1 skrll * coffcode.h (coff_set_arch_mach_hook): Don't use variable-size
9301 1.1 skrll arrays.
9302 1.1 skrll (coff_compute_section_file_positions): Use bfd_free to pair
9303 1.1 skrll bfd_malloc.
9304 1.1 skrll (coff_write_object_contents): Likewise.
9305 1.1 skrll
9306 1.1 skrll * coff-rs6000.c (xcoff_howto_table_16): New variable.
9307 1.1 skrll (xcoff_rtype2howto): Handle 16-bit variants of 32-bit relocs.
9308 1.1 skrll
9309 1.1 skrll 2000-02-18 Ulrich Drepper <drepper (a] cygnus.com>
9310 1.1 skrll
9311 1.1 skrll * coff-rs6000.c (XCOFFARMAGBIG): New macro.
9312 1.1 skrll (xcoff_ar_file_hdr_big): New structure.
9313 1.1 skrll (SIZEOF_AR_FILE_HDR_BIG): New macro.
9314 1.1 skrll (xcoff_ar_hdr_big): New structure.
9315 1.1 skrll (SIZEOF_AR_HDR_BIG): New macro.
9316 1.1 skrll (xcoff_big_format_p): New macro.
9317 1.1 skrll (xcoff_ardata_big): New macro.
9318 1.1 skrll (arch_xhdr_big): New macro.
9319 1.1 skrll (xcoff_slurp_armap): Handle large archives.
9320 1.1 skrll (xcoff_archive_p): Detect large archives.
9321 1.1 skrll (xcoff_read_ar_hdr): Handle large archives.
9322 1.1 skrll (xcoff_openr_next_archived_file): Handle large archives.
9323 1.1 skrll (xcoff_generic_stat_arch_elt): Handle large archives.
9324 1.1 skrll (xcoff_write_armap_old): Rename from xcoff_write_armap.
9325 1.1 skrll (xcoff_write_armap_big): New function.
9326 1.1 skrll (xcoff_write_armap): New function, dispatch to _old or _big.
9327 1.1 skrll (xcoff_write_archive_contents_old): Rename from
9328 1.1 skrll xcoff_write_archive_contents.
9329 1.1 skrll (xcoff_write_archive_contents_big): New function.
9330 1.1 skrll (xcoff_write_archive_contents): New function, dispatch to _old or
9331 1.1 skrll _big.
9332 1.1 skrll
9333 1.1 skrll 2000-02-18 Richard Henderson <rth (a] cygnus.com>
9334 1.1 skrll
9335 1.1 skrll * elf-bfd.h (struct elf_link_hash_table): Remove copy_indirect
9336 1.1 skrll and hide_symbol members.
9337 1.1 skrll (elf_link_hash_copy_indirect): Remove.
9338 1.1 skrll (elf_link_hash_hide_symbol): Remove.
9339 1.1 skrll (struct elf_backend_data): Add elf_backend_copy_indirect_symbol
9340 1.1 skrll and elf_backend_hide_symbol.
9341 1.1 skrll (_bfd_elf_link_hash_copy_indirect): Declare.
9342 1.1 skrll (_bfd_elf_link_hash_hide_symbol): Declare.
9343 1.1 skrll * elf.c (_bfd_elf_link_hash_copy_indirect): Remove table argument.
9344 1.1 skrll (_bfd_elf_link_hash_hide_symbol): Likewise.
9345 1.1 skrll (_bfd_elf_link_hash_table_init): Don't init killed members.
9346 1.1 skrll * elflink.h (elf_link_add_object_symbols): Use the bed function
9347 1.1 skrll pointers not elf_link_hash_{copy_indirect,hide_symbol}.
9348 1.1 skrll (elf_link_assign_sym_version): Likewise.
9349 1.1 skrll * elfxx-target.h (elf_backend_copy_indirect_symbol): Default.
9350 1.1 skrll (elf_backend_hide_symbol): Likewise.
9351 1.1 skrll (elfNN_bed): Update for new members.
9352 1.1 skrll
9353 1.1 skrll 2000-02-17 Kevin Buettner <kevinb (a] redhat.com>
9354 1.1 skrll
9355 1.1 skrll * rs6000-core.c (CORE_DATA_SIZE_FIELD, CORE_COMM_FIELD, SAVE_FIELD,
9356 1.1 skrll STACK_END_ADDR): Define for new core file format.
9357 1.1 skrll (LOADER_OFFSET_FIELD, LOADER_REGION_SIZE, CORE_DUMP): New defines
9358 1.1 skrll for handling the vagaries of the various core file structures used
9359 1.1 skrll by AIX over the years.
9360 1.1 skrll (rs6000coff_core_p, rs6000coff_core_file_matches_executable,
9361 1.1 skrll Rs6kCorData): Use above defines to adapt code to use AIX 4.3's
9362 1.1 skrll core_dumpx structure.
9363 1.1 skrll
9364 1.1 skrll 2000-02-17 J"orn Rennecke <amylaar (a] cygnus.co.uk>
9365 1.1 skrll
9366 1.1 skrll * archures.c (bfd_mach_sh2, bfd_mach_sh_dsp): New macros.
9367 1.1 skrll (bfd_mach_sh3_dsp): Likewise.
9368 1.1 skrll (bfd_mach_sh4): Reinstate.
9369 1.1 skrll (bfd_default_scan): Recognize 7410, 7708, 7729 and 7750.
9370 1.1 skrll * bfd-in2.h: Regenerate.
9371 1.1 skrll * coff-sh.c (struct sh_opcode): flags is no longer short.
9372 1.1 skrll (USESAS, USESAS_REG, USESR8, SETSAS, SETSAS_REG): New macros.
9373 1.1 skrll (sh_opcode41, sh_opcode42): Integrate as sh_opcode41.
9374 1.1 skrll (sh_opcode01, sh_opcode02, sh_opcode40): Add sh-dsp opcodes.
9375 1.1 skrll (sh_opcode41, sh_opcode4, sh_opcode80): Likewise.
9376 1.1 skrll (sh_opcodes): No longer const.
9377 1.1 skrll (sh_dsp_opcodef0, sh_dsp_opcodef): New arrays.
9378 1.1 skrll (sh_insn_uses_reg): Check for USESAS and USESR8.
9379 1.1 skrll (sh_insn_sets_reg, sh_insns_conflict): Check for SETSAS.
9380 1.1 skrll (_bfd_sh_align_load_span): Return early for SH4.
9381 1.1 skrll Modify sh_opcodes lookup table for sh-dsp / sh3-dsp.
9382 1.1 skrll Take into account that field b of a parallel processing insn
9383 1.1 skrll could be mistaken for a separate insn.
9384 1.1 skrll * cpu-sh.c (arch_info_struct): New array elements for
9385 1.1 skrll sh2, sh-dsp and sh3-dsp.
9386 1.1 skrll Reinstate element for sh4.
9387 1.1 skrll (SH2_NEXT, SH_DSP_NEXT, SH3_DSP_NEXT): New macros.
9388 1.1 skrll (SH4_NEXT): Reinstate.
9389 1.1 skrll (SH3_NEXT, SH3E_NEXT): Adjust.
9390 1.1 skrll * elf-bfd.h (_sh_elf_set_mach_from_flags): Declare.
9391 1.1 skrll * elf32-sh.c (sh_elf_set_private_flags): New function.
9392 1.1 skrll (sh_elf_copy_private_data, sh_elf_set_mach_from_flags): Likewise.
9393 1.1 skrll (sh_elf_merge_private_data): New function.
9394 1.1 skrll (elf_backend_object_p, bfd_elf32_bfd_set_private_bfd_flags): Define.
9395 1.1 skrll (bfd_elf32_bfd_copy_private_bfd_data): Define.
9396 1.1 skrll (bfd_elf32_bfd_merge_private_bfd_data): Change to
9397 1.1 skrll sh_elf_merge_private_data.
9398 1.1 skrll
9399 1.1 skrll 2000-02-13 Richard Henderson <rth (a] cygnus.com>
9400 1.1 skrll
9401 1.1 skrll * elf-bfd.h (struct elf_link_hash_table): Add copy_indirect and
9402 1.1 skrll hide_symbol members.
9403 1.1 skrll (elf_link_hash_copy_indirect): New.
9404 1.1 skrll (elf_link_hash_hide_symbol): New.
9405 1.1 skrll * elflink.h (elf_link_add_object_symbols): Break out copy from
9406 1.1 skrll indirect new new symbol to elf.c.
9407 1.1 skrll (elf_link_assign_sym_version): Break out privatization of
9408 1.1 skrll non-exported symbol to elf.c.
9409 1.1 skrll * elf.c (_bfd_elf_link_hash_copy_indirect): New.
9410 1.1 skrll (_bfd_elf_link_hash_hide_symbol): New.
9411 1.1 skrll (_bfd_elf_link_hash_table_init): Init copy_indirect and hide_symbol.
9412 1.1 skrll
9413 1.1 skrll 2000-02-13 Ian Lance Taylor <ian (a] zembu.com>
9414 1.1 skrll
9415 1.1 skrll * section.c (_bfd_strip_section_from_output): Add info parameter.
9416 1.1 skrll If it passed as non-NULL, use it to check whether any input BFD
9417 1.1 skrll has an input section which uses this output section. Change all
9418 1.1 skrll callers.
9419 1.1 skrll * bfd-in2.h: Rebuild.
9420 1.1 skrll
9421 1.1 skrll * bfd-in.h: Move declarations of bfd_get_elf_phdr_upper_bound and
9422 1.1 skrll bfd_get_elf_phdrs in from bfd-in2.h, correcting patch of
9423 1.1 skrll 1999-11-29.
9424 1.1 skrll * bfd-in2.h: Rebuild.
9425 1.1 skrll
9426 1.1 skrll 2000-02-10 Timothy Wall <twall (a] cygnus.com>
9427 1.1 skrll
9428 1.1 skrll * coffswap.h (coff_swap_sym_in): Add hook SWAP_SYM_IN_POST to
9429 1.1 skrll allow final modifications of swapped-in symbol.
9430 1.1 skrll (coff_swap_sym_out): Ditto with SWAP_SYM_OUT_POST.
9431 1.1 skrll * coffcode.h (coff_write_relocs): Use macro
9432 1.1 skrll SECTION_RELATIVE_ABSOLUTE_SYMBOL_P if defined to determine whether
9433 1.1 skrll symbol index should be set to -1.
9434 1.1 skrll
9435 1.1 skrll 2000-02-10 Toshiyasu Morita (toshi.morita (a] sega.com)
9436 1.1 skrll
9437 1.1 skrll * coff-sh.c (USES1_REG, USES2_REG, SETS1_REG, SETS2_REG,
9438 1.1 skrll USESF1_REG, USESF2_REG, SETSF1_REG, SETSF2_REG): New macros.
9439 1.1 skrll * (sh_insn_sets_reg, sh_insn_sets_freg): New prototypes.
9440 1.1 skrll * (sh_insn_sets_reg, sh_insn_uses_or_sets_reg, sh_insns_sets_freg,
9441 1.1 skrll sh_insns_uses_or_sets_freg): New functions.
9442 1.1 skrll * (sh_insn_uses_reg, sh_insn_uses_freg): Use new macros.
9443 1.1 skrll * (sh_insns_conflict): Use new functions and new macros to
9444 1.1 skrll detect conflicts when two instructions both set same integer registers,
9445 1.1 skrll both set same fp register, and both set special register.
9446 1.1 skrll
9447 1.1 skrll 2000-02-09 Timothy Wall <twall (a] cygnus.com>
9448 1.1 skrll
9449 1.1 skrll * coffgen.c (coff_real_object_p): Set arch/mach info prior to
9450 1.1 skrll swapping in sections, so that the swapping routines have access to
9451 1.1 skrll the arch/mach info.
9452 1.1 skrll
9453 1.1 skrll 2000-02-08 Mark Elbrecht <snowball3 (a] bigfoot.com>
9454 1.1 skrll
9455 1.1 skrll * coff-go32.c: Update comment. Update copyright.
9456 1.1 skrll
9457 1.1 skrll 2000-01-27 Thomas de Lellis <tdel (a] windriver.com>
9458 1.1 skrll
9459 1.1 skrll * syms.c (bfd_decode_symclass)
9460 1.1 skrll Two new class characters were added - 'V' and 'v'. The
9461 1.1 skrll meaning of 'W' is now restricted to just weak non-object
9462 1.1 skrll symbols. This allows differentiation between, for example,
9463 1.1 skrll weak functions vs weak objects. nm for example now dumps:
9464 1.1 skrll 'W' = weak global
9465 1.1 skrll 'w' = weak unresolved
9466 1.1 skrll 'V' = weak global object
9467 1.1 skrll 'v' = weak unresolved object
9468 1.1 skrll
9469 1.1 skrll (bfd_is_undefined_symclass): New function. Return true if the
9470 1.1 skrll given symbol class represents and undefined/unresolved symbol.
9471 1.1 skrll
9472 1.1 skrll (bfd_symbol_info): Use bfd_is_undefined_symclass to check for
9473 1.1 skrll unresolved symbols.
9474 1.1 skrll
9475 1.1 skrll * bfd-in2.h: Add prototype for bfd_is_undefined_symbol().
9476 1.1 skrll
9477 1.1 skrll * elf32-arm.h (elf32_arm_get_symbol_type): If a symbol has the
9478 1.1 skrll STT_ARM_16BIT flag set, but it is not attached to a data object
9479 1.1 skrll return STT_ARM_16BIT so that it will be treated as code by the
9480 1.1 skrll disassembler.
9481 1.1 skrll
9482 1.1 skrll 2000-01-27 Alan Modra <alan (a] spri.levels.unisa.edu.au>
9483 1.1 skrll
9484 1.1 skrll * coff-i386.c (i3coff_object_p): Remove prototype.
9485 1.1 skrll Update copyright.
9486 1.1 skrll
9487 1.1 skrll * elflink.c (_bfd_elf_link_record_dynamic_symbol): Add const
9488 1.1 skrll to name. Update copyright.
9489 1.1 skrll
9490 1.1 skrll * trad-core.c (trad_unix_core_file_p): Cast core_regsec
9491 1.1 skrll assignment to avoid warning. Update copyright.
9492 1.1 skrll
9493 1.1 skrll 2000-01-24 Robert Lipe (robertl (a] sco.com)
9494 1.1 skrll
9495 1.1 skrll * coffcode.h (coff_write_object_contents): Get buff via bfd_malloc
9496 1.1 skrll instead of using GNU C extension.
9497 1.1 skrll
9498 1.1 skrll 2000-01-21 Nick Clifton <nickc (a] cygnus.com>
9499 1.1 skrll
9500 1.1 skrll * libbfd.c (bfd_read): Do not attempt to get a negativly sized
9501 1.1 skrll amount from a bfd_in_memory structure.
9502 1.1 skrll (bfd_seek): Do not allow seeks past the end of a bfd_in_memory
9503 1.1 skrll structure.
9504 1.1 skrll
9505 1.1 skrll 2000-01-14 Nick Clifton <nickc (a] cygnus.com>
9506 1.1 skrll
9507 1.1 skrll * linker.c (default_indirect_link_order): oops - fix incorrectly
9508 1.1 skrll applied patch from Tim Wall.
9509 1.1 skrll
9510 1.1 skrll 2000-01-13 Timothy Wall (twall (a] tiac.net>
9511 1.1 skrll
9512 1.1 skrll * coffcode.h: Use bfd_coff_xxx instead of the macro XXX (where xxx
9513 1.1 skrll = scnhsz, filhsz, relsz, aoutsz, etc)
9514 1.1 skrll
9515 1.1 skrll * coffswap.h: Ditto.
9516 1.1 skrll
9517 1.1 skrll 2000-01-13 Nick Clifton <nickc (a] cygnus.com>
9518 1.1 skrll
9519 1.1 skrll * elf32-arm.h (elf32_thumb_to_arm_stub): Fix offset in branch to
9520 1.1 skrll interwork thumb to arm stub.
9521 1.1 skrll
9522 1.1 skrll 2000-01-13 Timothy Wall (twall (a] tiac.net>
9523 1.1 skrll
9524 1.1 skrll * archures.c (bfd_octets_per_byte): New function: Return
9525 1.1 skrll target byte size.
9526 1.1 skrll (bfd_arch_mach_octets_per_byte): New function: Return target
9527 1.1 skrll byte size.
9528 1.1 skrll
9529 1.1 skrll * section.c: Distinguish between octets and bytes for usage of
9530 1.1 skrll _cooked_size, _raw_size, and output_offset. Clarify
9531 1.1 skrll description of bfd_set_section_contents.
9532 1.1 skrll
9533 1.1 skrll * bfd-in2.h: Regenerate.
9534 1.1 skrll
9535 1.1 skrll * coffgen.c: Indicate that the offset parameter is in bytes, not
9536 1.1 skrll octets.
9537 1.1 skrll
9538 1.1 skrll * cofflink.c (bfd_coff_link_input_bfd): Use bfd_octets_per_byte
9539 1.1 skrll where appropriate to get the octet offset when calling
9540 1.1 skrll bfd_set_section_contents.
9541 1.1 skrll (bfd_coff_reloc_link_order): Ditto.
9542 1.1 skrll
9543 1.1 skrll * linker.c (bfd_generic_reloc_link_order): Ditto.
9544 1.1 skrll (_bfd_default_link_order): Ditto.
9545 1.1 skrll
9546 1.1 skrll * reloc.c (bfd_perform_relocation): Distinguish between octets
9547 1.1 skrll and bytes. Use octets when indexing into octet data; use bytes
9548 1.1 skrll when calculating target addresses.
9549 1.1 skrll (bfd_install_relocation): Ditto.
9550 1.1 skrll
9551 1.1 skrll * srec.c (srec_write_section): Ditto.
9552 1.1 skrll
9553 1.1 skrll 2000-01-13 Nick Clifton <nickc (a] cygnus.com>
9554 1.1 skrll
9555 1.1 skrll * coff-mcore.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Change from
9556 1.1 skrll 3 to 2. This allows 4 byte sized sections, which is necessary for
9557 1.1 skrll dlltool to build functioning DLLs.
9558 1.1 skrll
9559 1.1 skrll 2000-01-10 Philip Blundell <pb (a] futuretv.com>
9560 1.1 skrll
9561 1.1 skrll * config.bfd (arm*-*-linux-gnu*): Match instead of arm*-*-linux-gnu.
9562 1.1 skrll (arm*-*-conix*): New target.
9563 1.1 skrll
9564 1.1 skrll 2000-01-10 Egor Duda <deo (a] logos-m.ru>
9565 1.1 skrll
9566 1.1 skrll * config.bfd: Include elf32_i386 vector to target list for cygwin
9567 1.1 skrll and mingw.
9568 1.1 skrll
9569 1.1 skrll * config.in: Undefine HAVE_WIN32_PSTATUS_T.
9570 1.1 skrll * configure.in: Test for structure win32_pstatus_t in
9571 1.1 skrll <sys/procfs.h>
9572 1.1 skrll * configure: Regenerate.
9573 1.1 skrll
9574 1.1 skrll * elf.c (elfcore_grok_win32pstatus): New function: process
9575 1.1 skrll win32_pstatus_t notes in elf core file.
9576 1.1 skrll (elfcore_grok_note): Detect win32_pstatus notes.
9577 1.1 skrll
9578 1.1 skrll 2000-01-03 Martin v. Loewis <loewis (a] informatik.hu-berlin.de>
9579 1.1 skrll
9580 1.1 skrll * elflink.c (_bfd_elf_link_record_dynamic_symbol): Process symbol
9581 1.1 skrll visibility.
9582 1.1 skrll * elflink.h (elf_link_add_object_symbols): Combine visibilities.
9583 1.1 skrll * elf.c (bfd_elf_print_symbol): Interpret st_other as visibility.
9584 1.1 skrll
9585 1.1 skrll For older changes see ChangeLog-9899
9586 1.1 skrll
9588 1.1.1.2 christos Copyright (C) 2002 Free Software Foundation, Inc.
9589 1.1.1.2 christos
9590 1.1.1.2 christos Copying and distribution of this file, with or without modification,
9591 1.1.1.2 christos are permitted in any medium without royalty provided the copyright
9592 1.1.1.2 christos notice and this notice are preserved.
9593 1.1 skrll
9594 1.1 skrll Local Variables:
9595 1.1 skrll mode: change-log
9596 1.1 skrll left-margin: 8
9597 1.1 skrll fill-column: 74
9598 1.1 skrll version-control: never
9599 End:
9600