Commit | Line | Data |
---|---|---|
7a25cd3e PB |
1 | 2001-06-09 Philip Blundell <philb@gnu.org> |
2 | ||
3 | * elf32-arm.h (elf32_arm_plt0_entry): Correct error in last | |
4 | change. | |
5 | (elf32_arm_plt_entry): Likewise. | |
6 | ||
3f5a136d L |
7 | 2001-06-08 H.J. Lu <hjl@gnu.org> |
8 | ||
9 | * elf.c (swap_out_syms): Keep names for global section symbols. | |
10 | ||
d8fe1fed L |
11 | 2001-06-07 H.J. Lu <hjl@gnu.org> |
12 | ||
13 | * config.bfd: Put back ecoff for Linux/mips. Firmwares on some | |
14 | MIPS-based machines need it. | |
15 | ||
c36e006f L |
16 | 2001-06-07 H.J. Lu <hjl@gnu.org> |
17 | ||
18 | * elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab | |
19 | for SGI only. | |
20 | ||
21 | * config.bfd: Remove ecoff from Linux/mips. | |
22 | ||
cc78d0af AJ |
23 | 2001-06-07 Andreas Jaeger <aj@suse.de> |
24 | ||
25 | * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Add an | |
26 | assertion. | |
27 | (elf64_x86_64_check_relocs): Fix VTENTRY relocation; set an | |
28 | alignment of 8 for .rela sections; handle further relocations. | |
29 | ||
879db8be NC |
30 | 2001-06-06 Christian Groessler <cpg@aladdin.de> |
31 | ||
32 | * coff-z8k.c: Fix formatting. | |
33 | Fix howtos: howto->size was always 1. | |
34 | ||
cbb1fd50 NC |
35 | 2001-06-05 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
36 | ||
37 | * configure.host (mips64*-*-linux*): Define. | |
38 | ||
73a74a62 AM |
39 | 2001-06-05 Alan Modra <amodra@bigpond.net.au> |
40 | ||
6725bdbf AM |
41 | * elf32-i386.c (elf_i386_discard_copies): Rename to |
42 | discard_copies, and use elf_link_hash_entry arg rather than | |
43 | elf_i386_link_hash_entry. | |
44 | (elf_i386_link_hash_traverse): Delete. | |
45 | (elf_i386_size_dynamic_sections): Adjust call to discard_copies. | |
46 | Tidy sizing of dynamic sections. | |
47 | (elf_i386_check_relocs <R_386_32, R_386_PC32>): Reference count | |
48 | possible .plt entries. | |
49 | (elf_i386_gc_sweep_hook): Likewise. | |
50 | (elf_i386_adjust_dynamic_symbol): Discard .plt entries for | |
51 | everything with plt.refcount <= 0. | |
52 | ||
53 | * elf32-i386.c (elf_i386_check_relocs): Don't allocate .got and | |
54 | .relgot space here. | |
55 | (elf_i386_gc_sweep_hook): ..and no need to deallocate here.. | |
56 | (elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and | |
57 | .rel.plt here.. | |
58 | (allocate_plt_and_got): ..instead do it all here. New function. | |
59 | (elf_i386_size_dynamic_sections): Allocate local .got space and | |
60 | call allocate_plt_and_got. No need to zap .relgot if not dynamic. | |
61 | (bfd_elf32_bfd_final_link): Delete. (ie. use regular final link | |
62 | rather than gc variety). | |
63 | (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. | |
64 | (elf_i386_relocate_section): Use it here and correct handling of | |
65 | R_386_GOT32. Provide section and offset for "unresolvable | |
66 | relocation" error message. | |
67 | (elf_i386_finish_dynamic_symbol): Correct handling of R_386_GOT32. | |
68 | ||
69 | * elf32-i386.c (struct elf_i386_link_hash_table): Add sgot, | |
70 | sgotplt, srelgot, splt, srelplt, sdynbss, srelbss fields. | |
71 | (elf_i386_link_hash_table_create): Init them. | |
72 | (create_got_section): New function. | |
73 | (elf_i386_create_dynamic_sections): New function. | |
74 | (elf_backend_create_dynamic_sections): Set to above. | |
75 | (elf_i386_check_relocs): Use shortcuts from hash table rather than | |
76 | calling bfd_get_section_by_name. | |
77 | (elf_i386_gc_sweep_hook): Likewise. | |
78 | (elf_i386_adjust_dynamic_symbol): Likewise. | |
79 | (elf_i386_size_dynamic_sections): Likewise. | |
80 | (elf_i386_relocate_section): Likewise. | |
81 | (elf_i386_finish_dynamic_sections): Likewise. | |
82 | ||
73a74a62 AM |
83 | * elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms. |
84 | ||
24a5e751 L |
85 | 2001-06-02 H.J. Lu <hjl@gnu.org> |
86 | ||
87 | * elf32-hppa.c (elf32_hppa_object_p): Check ELFOSABI_LINUX | |
88 | and ELFOSABI_HPUX. | |
89 | * elf64-hppa.c (elf64_hppa_object_p): Likewise. | |
90 | ||
15103188 L |
91 | 2001-06-02 H.J. Lu <hjl@gnu.org> |
92 | ||
93 | * aout-cris.c (MACHTYPE_OK): New. Defined. | |
94 | ||
2f484710 HPN |
95 | 2001-06-02 Hans-Peter Nilsson <hp@axis.com> |
96 | ||
97 | * section.c (_bfd_strip_section_from_output): Handle NULL | |
98 | output_section. | |
99 | ||
a5ac692b L |
100 | 2001-06-02 H.J. Lu <hjl@gnu.org> |
101 | ||
102 | * config.bfd (powerpc-*-aix*, powerpc-*-beos*, rs6000-*-*): Add | |
103 | rs6000coff64_vec only if BFD64 is defined. | |
104 | (powerpc64-*-aix*): Enable only if BFD64 is defined. | |
105 | ||
27e53099 L |
106 | 2001-06-02 H.J. Lu <hjl@gnu.org> |
107 | ||
108 | * coff-ia64.c (ia64coff_object_p): Rewrite with | |
109 | external_PEI_DOS_hdr and external_PEI_IMAGE_hdr. | |
110 | ||
80643fbc AJ |
111 | 2001-06-01 Andreas Jaeger <aj@suse.de> |
112 | ||
113 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8 | |
114 | relocation, small reformatting. | |
115 | ||
6b3db546 AJ |
116 | 2001-05-29 Andreas Jaeger <aj@suse.de> |
117 | ||
118 | * elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64. | |
119 | (elf64_x86_64_relocate_section): Likewise. | |
120 | ||
4dc86686 AM |
121 | 2001-05-30 Alan Modra <amodra@one.net.au> |
122 | ||
123 | * elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for | |
124 | millicode. Don't allocate .got and .rela.got space here.. | |
125 | (elf32_hppa_gc_sweep_hook): ..and no need to deallocate here.. | |
126 | (elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and | |
127 | .rela.plt here.. | |
128 | (hppa_handle_PIC_calls): ..nor here.. | |
129 | (allocate_plt_and_got): ..instead do it all here. New function. | |
130 | (elf32_hppa_size_dynamic_sections): Allocate local .got space and | |
131 | call allocate_plt_and_got. No need to zap .got if not dynamic. | |
132 | (elf32_hppa_final_link): Call regular bfd_final_link instead of | |
133 | gc_common_final_link. | |
134 | (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. | |
135 | (elf32_hppa_relocate_section): Use it here. | |
136 | (elf32_hppa_finish_dynamic_symbol): Remove superfluous test of | |
137 | dynamic_sections_created. | |
138 | (hppa_type_of_stub): Don't LONG_BRANCH_VIA_PLT if millicode sym. | |
139 | ||
de41dcd8 AJ |
140 | 2001-05-28 Andreas Jaeger <aj@suse.de> |
141 | ||
142 | * elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the | |
143 | generic version since we want a hashsize of 4. | |
144 | (elf_backend_size_info): Likewise. | |
145 | ||
209f668e NC |
146 | 2001-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
147 | ||
209f668e NC |
148 | * elflink.h (elf_link_size_reloc_section): Use bfd_zmalloc instead of |
149 | a zeroing loop. | |
150 | (elf_link_output_relocs): Handle MIPS ELF64 relocations correctly. | |
151 | (elf_link_input_bfd): Likewise. | |
152 | (elf_reloc_link_order): Likewise. | |
153 | (elf_finish_pointer_linker_section): Typo. Handle MIPS ELF64 | |
154 | relocations correctly. | |
155 | ||
f7a74f8c NC |
156 | 2001-05-28 Nicolas Pitre <nico@cam.org> |
157 | ||
158 | * elf32-arm.h: fix PLT generation for big endian ARM | |
159 | ||
8dea1268 AM |
160 | 2001-05-28 Alan Modra <amodra@one.net.au> |
161 | ||
162 | * elf32-hppa.c (elf32_hppa_relocate_section): Set up .plt entries | |
163 | for symbols forced local that need plabels. | |
164 | (elf32_hppa_adjust_dynamic_symbol): Don't allocate space in | |
165 | .plt.rela for local syms if non-shared. | |
166 | (hppa_build_one_stub): Mask lsb of plt.offset. | |
167 | (elf32_hppa_finish_dynamic_symbol): Abort if lsb of plt.offset set. | |
168 | (clobber_millicode_symbols): Correct comment. | |
169 | (elf32_hppa_relocate_section): Likewise. | |
170 | (elf32_hppa_finish_dynamic_symbol): Likewise. | |
171 | ||
0f2712ed NC |
172 | 2001-05-28 Jeff Sturm <jsturm@one-point.com> |
173 | ||
174 | * reloc.c: Add BFD_RELOC_SPARC_UA16 and BFD_RELOC_SPARC_UA64. | |
175 | * bfd-in2.h: Regenerate. | |
176 | * libbfd.h: Regenerate. | |
177 | * elf32-sparc.c: Enable BFD_RELOC_SPARC_UA16, BFD_RELOC_SPARC_UA32 | |
178 | and BFD_RELOC_SPARC_UA64 mapping | |
179 | * elf64-sparc.c: Likewise. | |
de41dcd8 | 180 | |
6768c14a L |
181 | 2001-05-25 H.J. Lu <hjl@gnu.org> |
182 | ||
183 | * Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo. | |
184 | (BFD32_BACKENDS_CFILES): Remove coff-pmac.c. | |
185 | (coff-rs6000.lo): Remove the old dependency. | |
186 | * Makefile.in: Rebuild. | |
187 | ||
188 | * configure.in (pmac_xcoff_vec): Replace coff-pmac.lo with | |
189 | coff-rs6000.lo. | |
190 | ||
b55039f4 L |
191 | 2001-05-25 H.J. Lu <hjl@gnu.org> |
192 | ||
193 | * coff-rs6000.c (rs6000coff_vec): Use rs6000coff_core_p, | |
194 | rs6000coff_core_file_matches_executable_p, | |
195 | rs6000coff_core_file_failing_command and | |
196 | rs6000coff_core_file_failing_signal only if AIX_CORE is | |
197 | defined. | |
198 | (pmac_xcoff_vec): Likewise. | |
199 | * coff64-rs6000.c (rs6000coff64_vec): Likewise. | |
200 | ||
64e9ece0 TW |
201 | 2001-05-25 Timothy Wall <twall@redhat.com> |
202 | ||
203 | * elfxx-ia64.c (allocate_dynrel_entries): Don't allocate an entry | |
204 | for __GLOB_DATA_PTR on AIX5. Clean up some relocation bugs. | |
205 | ||
f34d8777 L |
206 | 2001-05-25 H.J. Lu <hjl@gnu.org> |
207 | ||
208 | * bfd-in2.h: Regenerated. | |
209 | * libcoff.h: Likewise. | |
210 | ||
49e9d0d3 AM |
211 | 2001-05-25 Alan Modra <amodra@one.net.au> |
212 | ||
213 | * elf32-hppa.c (elf32_hppa_relocate_section): Don't allow | |
214 | undefined millicode syms in shared libs. | |
215 | (hppa_build_one_stub): Turn BFD_ASSERTs into aborts. | |
216 | (elf32_hppa_check_relocs): Likewise. | |
217 | (elf32_hppa_adjust_dynamic_symbol): Likewise. | |
218 | (elf32_hppa_size_dynamic_sections): Likewise. | |
219 | (elf32_hppa_relocate_section): Likewise. | |
220 | (elf32_hppa_finish_dynamic_symbol): Likewise. | |
221 | (elf32_hppa_finish_dynamic_sections): Likewise. | |
222 | ||
beb1bf64 TR |
223 | 2001-05-24 Tom Rix <trix@redhat.com> |
224 | ||
225 | * Makefile.am coff-pmac bfd now defined in coff-rs6000.c | |
226 | xcoff-target.h not used to define rs6000 or ppc bfd. | |
227 | * Makefile.in same | |
228 | ||
229 | * bfd-in.h : (struct lineno_cache_entry) promote element "offset" | |
230 | to 64 bit. | |
231 | ||
232 | * coff-rs6000.c : Many changes for 64 bit support. Move common | |
233 | 32/64 code to xcofflink.c. Explictly define the rs6000coff_vec | |
234 | and pmac_xcoff_vec | |
235 | ||
236 | * coff64-rs6000.c : Many changes for 64 bit support. 64 bit | |
237 | linker now supported. Explictly define the rs6000coff64_vec. | |
238 | ||
239 | * coffcode.h : (coff_set_arch_mach_hook) xcoff 64 bit support | |
de41dcd8 | 240 | (coff_print_aux) same |
beb1bf64 TR |
241 | (coff_write_object_contents) same |
242 | (coff_slurp_line_table) same | |
243 | ||
244 | * coffgen.c : (coff_fix_symbol_name) formatting | |
245 | (coff_mangle_symbols) xcoff 64 bit support | |
246 | (coff_write_symbol) same | |
247 | (coff_write_alien_symbol) same | |
248 | (coff_write_native_symbol) same | |
249 | (coff_write_symbols) same | |
250 | (coff_get_symbol_info) same | |
251 | (bfd_coff_get_syment) same | |
252 | (coff_print_symbol) same | |
253 | ||
254 | * config.bfd : add powerpc64-*-aix* target | |
255 | ||
256 | * libcoff-in.h : formatting | |
257 | ||
258 | * libcoff.h : move xcoff extern declarations to libxcoff.h | |
259 | ||
260 | * libxcoff.h : New file | |
261 | ||
de41dcd8 AJ |
262 | * xcofflink.c : Many changes for xcoff64 support. Move common |
263 | structures to include/coff/xcoff.h. Move specific structure to | |
beb1bf64 TR |
264 | backends coff-rs6000.c and coff64-rs6000.c. Use new backend |
265 | functions, defined in libxcoff.h, to isolate 32/64 dependencies. | |
de41dcd8 AJ |
266 | |
267 | (bfd_xcoff_size_dynamic_sections) : special __rtinit symbol for | |
beb1bf64 TR |
268 | aix4.2+ -binitfini. |
269 | ||
270 | (xcoff_build_ldsyms) : handle special __rtinit symbol. | |
271 | ||
e90fdc1a AO |
272 | 2001-05-23 Alexandre Oliva <aoliva@redhat.com> |
273 | ||
274 | * elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo | |
275 | s/ENTIRES/ENTRIES/. | |
276 | ||
d1cf510e NC |
277 | 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
278 | ||
c2feb664 NC |
279 | * reloc.c (bfd_reloc_code_real): Add MIPS ELF64 relocations. |
280 | * libbfd.h: Regenerate. | |
281 | * bfd0in2.h: Regenerate. | |
282 | ||
d1cf510e NC |
283 | * aoutx.h (aout_@var{size}_machine_type): Add MIPS r12k support. |
284 | * archures.c (bfd_mach_mips12000): Define. | |
285 | * cpu-mips.c (arch_info_struct): Add MIPS r12k support. | |
286 | * elf32-mips.c (_bfd_mips_elf_final_write_processing): Add MIPS r12k | |
287 | support. | |
288 | (_bfd_mips_elf_size_dynamic_sections): Use official bfd typedef. | |
289 | * bfd-in2.h: Regenerate. | |
290 | * elfxx-target.h: Do not redefine bfd_elfNN_bfd_make_debug_symbol. | |
291 | ||
6c426cf3 NC |
292 | 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp> |
293 | ||
294 | * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry, | |
295 | elf_sh_plt_entry_be, elf_sh_plt_entry, elf_sh_pic_plt_entry_be, | |
296 | elf_sh_pic_plt_entry): New PLT code, that does not use r2, since | |
297 | that is used by GCC. | |
298 | ||
d9bc7a44 NC |
299 | 2001-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
300 | ||
301 | * elf-bfd.h (NUM_SHDR_ENTRIES): New macro: compute the number | |
302 | of entries in a structured section. | |
303 | * elf.c: Use new macro. | |
304 | * elf32-i386.c: Use new macro. | |
305 | * elf32-mips.c: Use new macro. | |
306 | * elf64-alpha.c: Use new macro. | |
307 | * elf64-sparc.c: Use new macro. | |
308 | * elfcode.h: Use new macro. | |
309 | * elflink.h: Use new macro. | |
310 | ||
311 | 2001-05-23 Nick Clifton <nickc@cambridge.redhat.com> | |
312 | ||
313 | * bfdint.texi: Replace -oformat with --oformat. | |
314 | ||
f5198f61 AJ |
315 | 2001-05-21 Andreas Jaeger <aj@suse.de> |
316 | ||
317 | * dwarf2.c (decode_line_info): Fix error message. | |
318 | (read_abbrevs): Fix test for offset as suggested by Alan Modra and | |
319 | adjust error message. | |
320 | ||
7913c838 L |
321 | 2001-05-18 H.J. Lu <hjl@gnu.org> |
322 | ||
323 | * elflink.h (elf_link_add_object_symbols): Revert the last | |
324 | change. | |
325 | ||
e0522e89 AM |
326 | 2001-05-17 Alan Modra <amodra@one.net.au> |
327 | ||
328 | * elf32-hppa.c (clobber_millicode_symbols): Temporarily set | |
329 | ELF_LINK_FORCED_LOCAL to suit 2001-04-30 change. | |
330 | (hppa_build_one_stub): Add an assert to check plt.offset. | |
331 | ||
96fd004e L |
332 | 2001-05-17 H.J. Lu <hjl@gnu.org> |
333 | ||
334 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the | |
335 | version definition to basename of the output filename. | |
336 | ||
f3876d8b L |
337 | 2001-05-17 H.J. Lu <hjl@gnu.org> |
338 | ||
339 | * elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to | |
340 | basename of the bfd filename. | |
341 | ||
d1778b88 AM |
342 | 2001-05-16 Alan Modra <amodra@one.net.au> |
343 | ||
344 | * section.c (asection): Add linker_has_input field. | |
345 | (STD_SECTION): Adjust initialization to suit. | |
346 | * ecoff.c (bfd_debug_section): Likewise. | |
347 | * bfd-in2.h: Regenerate. | |
348 | ||
2a0fa943 AO |
349 | 2001-05-15 Alexandre Oliva <aoliva@redhat.com> |
350 | ||
351 | * elf-m10300.c (mn10300_elf_relax_section): Don't relax | |
352 | negative 32-bit operands to 16 operands when the operand is | |
353 | going to be zero-extended by the modified opcode. | |
354 | ||
bcee8eb8 AM |
355 | 2001-05-12 Peter Targett <peter.targett@arccores.com> |
356 | ||
357 | * cpu-arc.c (arch_info_struct): Add entry 'base' representing old | |
358 | name for 'arc5' core versions. | |
359 | (bfd_arc_arch): Make bfd_mach_arc_6 default. | |
360 | ||
361 | * elf32-arc.c (arc_elf_object_p): Make E_ARC_MACH_ARC6 default | |
362 | architecture. | |
363 | (arc_elf_final_write_processing): Make bfd_mach_arc_6 default. | |
364 | ||
579f31ac JJ |
365 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
366 | ||
367 | * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind | |
368 | sections as well. | |
369 | (elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO | |
370 | to .gnu.linkonce.t.FOO text section. | |
371 | ||
8550eb6e JJ |
372 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
373 | ||
374 | * merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix | |
375 | fields, change sec into secinfo. | |
376 | (struct sec_merge_info): Add chain, remove last fields. | |
377 | (struct sec_merge_sec_info): Add next, sec, psecinfo fields. | |
378 | (sec_merge_hash_lookup): If lookup could not use a string only | |
379 | because it has bad alignment, mark the old string for deletion. | |
380 | (sec_merge_add): Add secinfo argument. Don't compute entry's | |
381 | position, instead record the section. | |
382 | (sec_merge_emit): Update for the sec into secinfo change in | |
383 | struct sec_merge_hash_entry. | |
384 | (_bfd_merge_section): Only record the section for merging, defer | |
385 | putting strings into the hash table. | |
386 | (cmplengthentry, last4_eq, last_eq, record_section, merge_strings, | |
387 | _bfd_merge_sections): New functions. | |
388 | (_bfd_merged_section_offset): Update for the sec_merge_hash_entry | |
389 | changes. | |
390 | * libbfd-in.h (_bfd_merge_sections): Add prototype. | |
391 | (_bfd_nolink_bfd_merge_sections): Define. | |
392 | * libbfd.h: Likewise. | |
393 | (bfd_generic_merge_sections): Add prototype. | |
394 | * targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_merge_sections. | |
395 | (struct bfd_target): Likewise. | |
396 | * bfd.c (bfd_merge_sections): Define. | |
397 | * bfd-in2.h: Rebuilt. | |
398 | * elf.c (_bfd_elf_merge_sections): New function. | |
399 | * elf-bfd.h (_bfd_elf_merge_sections): Add prototype. | |
400 | * elfxx-target.h (bfd_elfNN_bfd_merge_sections): Define. | |
401 | * reloc.c (bfd_generic_merge_sections): New function. | |
402 | * vms.c (vms_bfd_merge_sections): New function. | |
403 | * aout-adobe.c (aout_32_bfd_merge_sections): Define. | |
404 | * aout-target.h (MY_bfd_merge_sections): Define. | |
405 | * aout-tic30.c (MY_bfd_merge_sections): Define. | |
406 | * binary.c (binary_bfd_merge_sections): Define. | |
407 | * bout.c (b_out_bfd_merge_sections): Define. | |
408 | * coff-alpha.c (_bfd_ecoff_bfd_merge_sections): Define. | |
409 | * coffcode.c (coff_bfd_merge_sections): Define. | |
410 | * coff-mips.c (_bfd_ecoff_bfd_merge_sections): Define. | |
411 | * i386msdos.c (msdos_bfd_merge_sections): Define. | |
412 | * i386os9k.c (os9k_bfd_merge_sections): Define. | |
413 | * ieee.c (ieee_bfd_merge_sections): Define. | |
414 | * ihex.c (ihex_bfd_merge_sections): Define. | |
415 | * nlm-target.h (nlm_bfd_merge_sections): Define. | |
416 | * oasys.c (oasys_bfd_merge_sections): Define. | |
417 | * ppcboot.c (ppcboot_bfd_merge_sections): Define. | |
418 | * som.c (som_bfd_merge_sections): Define. | |
419 | * srec.c (srec_bfd_merge_sections): Define. | |
420 | * tekhex.c (tekhex_bfd_merge_sections): Define. | |
421 | * versados.c (versados_bfd_merge_sections): Define. | |
422 | * xcoff-target.h (_bfd_xcoff_bfd_merge_sections): Define. | |
423 | ||
1548c54f NC |
424 | 2001-05-11 Nick Clifton <nickc@cambridge.redhat.com> |
425 | ||
426 | * dwarf1.c (_bfd_dwarf1_find_nearest_line): Change type of 'addr' | |
427 | to be unsigned long, in order to match its use. | |
428 | ||
689effed L |
429 | 2001-05-10 H.J. Lu <hjl@gnu.org> |
430 | ||
431 | * linker.c (_bfd_generic_link_add_one_symbol): Check loop on | |
432 | indirect symbols. | |
433 | ||
6e5222be L |
434 | 2001-05-09 H.J. Lu <hjl@gnu.org> |
435 | ||
436 | * elflink.h (elf_link_add_object_symbols): Fix a typo. Allocate | |
437 | versymhdr->sh_size bytes for extversym instead of hdr->sh_size. | |
438 | Remove the unused veriable `dynver'. | |
439 | ||
8e191bd3 ILT |
440 | 2001-05-08 Ian Lance Taylor <ian@zembu.com> |
441 | ||
442 | * coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd is | |
443 | NULL or is not COFF. | |
444 | (coff_i386_rtype_to_howto): Don't dump core if output section | |
445 | owner is not COFF. | |
446 | ||
062e2358 AM |
447 | 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
448 | ||
449 | * ecoff.c (bfd_debug_section): Fix initialization. | |
450 | * elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it | |
451 | is always a positive integer. Cast away sign mismatch. | |
452 | * elf32-mips.c: Fix misleading comment and typo. | |
453 | (_bfd_mips_elf_section_from_bfd_section): Remove unused attribute, use | |
454 | correct data type. | |
455 | * elflink.c: Fix typo. | |
456 | (_bfd_elf_create_dynamic_sections): Remove superfluous initialization. | |
457 | * ecoffswap.h (ecoff_swap_fdr_in): Cast away sign mismatch. | |
458 | ||
16b65e4e RH |
459 | 2001-05-04 Richard Henderson <rth@redhat.com> |
460 | ||
461 | * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true. | |
462 | ||
cac15327 NC |
463 | 2001-05-04 Nick Clifton <nickc@cambridge.redhat.com> |
464 | ||
465 | * elf32-arm.h (elf32_arm_final_link_relocate): Set | |
466 | EF_ARM_HASENTRY if the start address is set. | |
467 | ||
966b3e0b NC |
468 | 2001-05-03 Nick Clifton <nickc@cambridge.redhat.com> |
469 | ||
470 | * targets.c (_bfd_target_vector_entries): Compute value based on | |
471 | the size of the _bfd_target_vector and not bfd_target_vector. | |
472 | ||
210ba1e8 L |
473 | 2001-05-03 H.J. Lu <hjl@gnu.org> |
474 | ||
475 | * elfcode.h: Include "libiberty.h". | |
476 | ||
477 | * elflink.h (elf_link_add_object_symbols): Set | |
478 | elf_dt_name (abfd) to basename of the bfd filename. | |
479 | (NAME(bfd_elf,size_dynamic_sections)): Set vn_file to basename | |
480 | of the bfd filename. | |
481 | ||
56fc028e AJ |
482 | 2001-05-03 Andreas Jaeger <aj@suse.de> |
483 | ||
484 | * elf64-gen.c (elf_generic_info_to_howto): Add unused attribute. | |
485 | (elf_generic_info_to_howto_rel): Likewise. | |
486 | * coff-alpha.c (reloc_nil): Likewise. | |
487 | (alpha_ecoff_bad_format_hook): Likewise. | |
488 | (alpha_adjust_reloc_out): Likewise. | |
489 | (alpha_bfd_reloc_type_lookup): Likewise. | |
490 | (alpha_convert_external_reloc): Likewise. | |
491 | * elf64-alpha.c (elf64_alpha_reloc_nil): Likewise. | |
492 | (elf64_alpha_reloc_bad): Likewise. | |
493 | (elf64_alpha_reloc_gpdisp): Likewise. | |
494 | (elf64_alpha_bfd_reloc_type_lookup): Likewise. | |
495 | (elf64_alpha_info_to_howto): Likewise. | |
496 | (elf64_alpha_add_symbol_hook): Likewise. | |
497 | (elf64_alpha_create_got_section): Likewise. | |
498 | (elf64_alpha_is_local_label_name): Likewise. | |
499 | (elf64_alpha_merge_ind_symbols): Likewise. | |
500 | * elf64-mips.c (mips_elf64_reloc_type_lookup): Likewise. | |
501 | (mips_elf64_get_reloc_upper_bound): Likewise. | |
502 | * nlm32-alpha.c (nlm_alpha_mangle_relocs): Likewise. | |
503 | (nlm_alpha_get_public_offset): Likewise. | |
504 | ||
c7e40348 NC |
505 | 2001-05-02 Johan Rydberg <jrydberg@opencores.org> |
506 | ||
507 | * elf32-openrisc.c (openrisc_elf_howto_table): Do not complain | |
508 | about overflow in R_OPENRISC_LO_16_IN_INSN and | |
56fc028e | 509 | R_OPENRISC_HI_16_IN_INSN.Index: bfd/elf32-openrisc.c |
c7e40348 | 510 | |
5fba655a L |
511 | 2001-04-30 H.J. Lu <hjl@gnu.org> |
512 | ||
513 | * elf.c (_bfd_elf_link_hash_hide_symbol): Set dynindx to -1 | |
514 | only for ELF_LINK_FORCED_LOCAL. | |
515 | * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. | |
516 | * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise. | |
517 | * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. | |
518 | ||
519 | * elflink.h (elf_fix_symbol_flags): Set ELF_LINK_FORCED_LOCAL | |
520 | if the symbol has hidden or internal visibility. | |
521 | ||
db20fd76 AM |
522 | 2001-04-30 Alan Modra <amodra@one.net.au> |
523 | ||
524 | * elf32-hppa.c (final_link_relocate): Branch to .+8 for | |
525 | calls to undefined weak symbols. | |
526 | ||
6a2bda3f AJ |
527 | 2001-04-30 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de> |
528 | ||
529 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for | |
530 | R_X86_64_GOTPCREL, don't use assignments instead of comparisons. | |
531 | ||
053579d7 AJ |
532 | 2001-04-27 Andreas Jaeger <aj@suse.de> |
533 | ||
534 | * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap | |
535 | out handled entries. | |
536 | (elf64_x86_64_finish_dynamic_symbol): Set up GOT entries. | |
537 | (elf64_x86_64_relocate_section): Fix GOTPCREL calculation. | |
538 | (elf64_x86_64_relocate_section): Merge entries for GOTPCREL and | |
539 | GOT32. | |
540 | ||
87748b32 NC |
541 | 2001-04-27 Sean McNeil <sean@mcneil.com> |
542 | ||
543 | * config.bfd: Add arm-vxworks target. | |
544 | * coff-arm (coff_arm_relocate_section): Add in symbol value to | |
545 | addend (fro VXworks targets). | |
546 | ||
f5f31454 L |
547 | 2001-04-26 H.J. Lu <hjl@gnu.org> |
548 | ||
549 | * elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is | |
550 | valid. | |
551 | ||
d436a9b3 FCE |
552 | 2001-04-25 Frank Ch. Eigler <fche@redhat.com> |
553 | ||
554 | * bfd-in.h (bfd_cache_close): Declare newly exported function. | |
555 | * bfd-in2.h: Regenerated. | |
556 | ||
a531bbd2 JJ |
557 | 2001-04-24 Jakub Jelinek <jakub@redhat.com> |
558 | ||
559 | * merge.c (struct sec_merge_hash_entry): Add alignment field. | |
560 | (struct sec_merge_hash): Remove alignment_power. | |
561 | (sec_merge_hash_newfunc): Clear alignment. | |
562 | (sec_merge_hash_lookup): Pass alignment as argument. | |
563 | Use hashp->root.next, not hashp->next to walk the hash chain. | |
564 | If a string already in the hashtable does not have required | |
565 | alignment, create a new hashtable entry. | |
566 | (sec_merge_init): Remove alignment_power argument. | |
567 | (sec_merge_add): Add alignment argument. | |
568 | (sec_merge_emit): Alignment is now a per-entity thing, not per | |
569 | section. | |
570 | (_bfd_merge_section): Sanity check even non-SEC_STRINGS sections | |
571 | for proper alignment. | |
572 | Pass alignment information to sec_merge_add. | |
573 | ||
6840198f NC |
574 | 2001-04-24 Christian Groessler <cpg@aladdin.de> |
575 | ||
576 | * coff-z8k.c (extra_case): added handler for R_DISP7, R_CALLR | |
577 | and R_REL16 reloc types; accept odd values for R_REL16 type | |
578 | ||
b3baf5d0 NC |
579 | 2001-04-24 Johan Rydberg <jrydberg@opencores.org> |
580 | ||
581 | * cpu-openrisc.c: New file. | |
582 | * elf32-openrisc.c: Likewise. | |
583 | ||
584 | * Makefile.am (ALL_MACHINES): Add cpu-openrisc.lo. | |
585 | (ALL_MACHINES_CFILES): Add cpu-openrisc.c. | |
586 | (BFD32_BACKENDS): Add elf32-openrisc.lo. | |
587 | (BFD32_BACKENDS_CFILES): Add elf32-openrisc.c. | |
588 | (cpu-openrisc.lo, elf32-openrisc.lo): New rules. | |
589 | * Makefile.in: Regenerated. | |
590 | * config.bfd: (openrisc-*-elf): New target. | |
053579d7 | 591 | * configure.in (bfd_elf32_openrisc_vec): New vector. |
b3baf5d0 NC |
592 | * configure: Regenerated. |
593 | * libbfd.h: Regenerated. | |
594 | * bfd-in2.h: Regenerated. | |
595 | * reloc.c: Add OpenRISC relocations. | |
053579d7 | 596 | * targets.c (bfd_elf32_openrisc_vec): Declare. |
b3baf5d0 NC |
597 | (bfd_target_vect): Add bfd_elf32_openrisc_vec. |
598 | * archures.c (enum bfd_architecture): Add bfd_arch_openrisc. | |
599 | (bfd_openrisc_arch): Declare. | |
600 | (bfd_archures_list): Add bfd_openrisc_arch. | |
601 | * elf.c (prep_headers): Add bfd_arch_openrisc. | |
602 | ||
fe4770f4 AJ |
603 | 2001-04-23 Bo Thorsen <bo@suse.de> |
604 | ||
605 | * elf64-x86-64.c: Add c++ vtable hack. | |
606 | Small whitespace and comment changes. | |
607 | ||
653165cc AJ |
608 | 2001-04-19 Andreas Jaeger <aj@suse.de> |
609 | ||
610 | * elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions. | |
611 | (elf64_x86_64_plt_entry): Likewise. | |
612 | (elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation. | |
613 | (elf64_x86_64_finish_dynamic_symbol): Fix PLT generation. | |
614 | ||
4d96d128 HPN |
615 | 2001-04-17 Hans-Peter Nilsson <hp@axis.com> |
616 | ||
617 | * elf32-cris.c: Tweak comments related to dynamic linking. | |
618 | (cris_elf_relocate_section): When not creating shared object, fill | |
619 | in the .got table for any symbol not in the dynamic symbol table. | |
620 | (elf_cris_finish_dynamic_symbol): When not creating shared object, | |
621 | only emit a .got.rela reloc if the symbol is in the dynamic symbol | |
622 | table. | |
623 | (cris_elf_check_relocs): Use variable r_type in all places rather | |
624 | than the original expression. Add default case in switch for | |
625 | reloc types. | |
626 | (elf_cris_size_dynamic_sections): Iterate over | |
627 | elf_cris_discard_excess_program_dynamics when not creating shared | |
628 | library. | |
653165cc | 629 | (elf_cris_discard_excess_dso_dynamics): Renamed from |
4d96d128 HPN |
630 | elf_cris_discard_copies. Correct typo, s/Rel/Rela/. |
631 | (elf_cris_discard_excess_program_dynamics): New. | |
632 | ||
3ed30d29 DD |
633 | 2001-04-14 Mark Elbrecht <snowball3@bigfoot.com> |
634 | ||
635 | * coffcode.h (coff_write_object_contents): Use | |
636 | bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out. | |
637 | ||
a80f6941 L |
638 | 2001-04-14 H.J. Lu <hjl@gnu.org> |
639 | ||
640 | * bfd-in2.h: Regenerate. | |
641 | ||
767e4b0d JJ |
642 | 2001-04-14 Jakub Jelinek <jakub@redhat.com> |
643 | ||
644 | * section.c (STD_SECTION): Add entsize. | |
645 | ||
2dd439c5 L |
646 | 2001-04-13 H.J. Lu <hjl@gnu.org> |
647 | ||
648 | * section.c (SEC_MERGE): Define new flag for merging. | |
649 | (SEC_STRINGS): Likewise. | |
650 | (entsize): New field. | |
651 | ||
baf80c32 DD |
652 | 2001-04-13 Roger Sayle <roger@metaphorics.com> |
653 | ||
654 | * coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section | |
655 | flag on pe-i386 targets. | |
656 | ||
f5fa8ca2 JJ |
657 | 2001-04-13 Jakub Jelinek <jakub@redhat.com> |
658 | ||
659 | * libbfd-in.h (_bfd_merge_section): New. | |
660 | (_bfd_write_merged_section): New. | |
661 | (_bfd_merged_section_offset): New. | |
662 | * libbfd.h: Rebuilt. | |
663 | * linker.c (_bfd_generic_link_output_symbols): Handle | |
664 | discard_sec_merge. | |
665 | * aoutx.h (aout_link_write_symbols): Likewise. | |
666 | * pdp11.c (aout_link_write_symbols): Likewise. | |
667 | * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section. | |
668 | (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE | |
669 | sections. | |
670 | (elf_link_sec_merge_syms): New. | |
671 | (elf_link_input_bfd): Call _bfd_merged_section_offset | |
672 | and _bfd_write_merged_section. | |
673 | Handle discard_sec_merge. | |
674 | * elf-bfd.h (struct elf_link_hash_table): Add merge_info | |
675 | field. | |
676 | (struct bfd_elf_section_data): Likewise. | |
677 | * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and | |
678 | SEC_STRINGS section flags and entsize from their ELF counterparts. | |
679 | (_bfd_elf_link_hash_table_init): Initialize merge_info. | |
680 | (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize | |
681 | from their BFD counterparts. | |
682 | * merge.c: New file. | |
683 | * Makefile.am: Add strtab.lo. | |
684 | * Makefile.in: Rebuilt. | |
685 | ||
d954b040 HPN |
686 | 2001-04-09 Hans-Peter Nilsson <hp@axis.com> |
687 | ||
688 | * elflink.h (elf_fix_symbol_flags): For non-default visibilities, | |
689 | only hide symbols marked STV_INTERNAL or STV_HIDDEN. | |
690 | ||
fdbafa10 L |
691 | 2001-04-05 Steven J. Hill <sjhill@cotw.com> |
692 | ||
693 | * config.bfd (mips*el*-*-linux-gnu*): Use traditional little | |
694 | endian MIPS ELF target. | |
695 | * config.bfd (mips*-*-linux-gnu*): Use traditional big endian | |
696 | MIPS ELF target. | |
697 | ||
698 | * configure.in (bfd_elf64_tradbigmips_vec): New. Traditional | |
699 | 64bit big endian MIPS ELF target. | |
653165cc | 700 | (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little |
fdbafa10 L |
701 | endian MIPS ELF target. |
702 | * configure: Regenerated. | |
703 | ||
704 | * elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and | |
705 | little endian targets. | |
706 | (mips_elf_sym_is_global): Handle traditional targets. | |
707 | ||
708 | * elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional | |
709 | 64bit big endian MIPS ELF target. | |
710 | (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little | |
711 | endian MIPS ELF target. | |
712 | ||
713 | * targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec | |
714 | and bfd_elf64_tradlittlemips_vec. | |
715 | ||
dd484e5c L |
716 | 2001-04-05 David Mosberger <davidm@hpl.hp.com> |
717 | ||
718 | * elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an | |
719 | ordinary "progbits" section. | |
720 | ||
391a809a AM |
721 | 2001-04-04 Alan Modra <alan@linuxcare.com.au> |
722 | ||
723 | * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol | |
724 | when -Bsymbolic causes a symbol to no longer need a .plt entry. | |
725 | ||
5854c633 L |
726 | 2001-04-03 David Mosberger <davidm@hpl.hp.com> |
727 | ||
728 | * efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted. | |
729 | ||
8b4b0fac L |
730 | 2001-03-30 H.J. Lu <hjl@gnu.org> |
731 | ||
732 | * efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ... | |
733 | (PEI_DEFAULT_TARGET_SUBSYSTEM): This. | |
734 | ||
eb4a6e4f L |
735 | 2001-03-26 H.J. Lu <hjl@gnu.org> |
736 | ||
737 | * elf32-gen.c (elf32_generic_link_add_symbols): New. Check | |
738 | if there are any relocations for generic ELF. | |
739 | (bfd_elf32_bfd_link_add_symbols): Defined to | |
740 | elf32_generic_link_add_symbols. | |
741 | * elf64-gen.c (elf64_generic_link_add_symbols): New. Check | |
742 | if there are any relocations for generic ELF. | |
743 | (bfd_elf64_bfd_link_add_symbols): Defined to | |
744 | elf64_generic_link_add_symbols. | |
745 | ||
55c80943 NC |
746 | 2001-03-23 Nick Clifton <nickc@redhat.com> |
747 | ||
748 | * Makefile.am (BUILD_CFILES): New variable: List of C source | |
749 | files created in build directory. | |
750 | (BUILD_HFILES): New variable: List of header files created in | |
751 | build directory. | |
752 | (POTFILES): Delete. | |
753 | (po/POTFILES.in): Replace rule with empty entry. | |
754 | (po/SRC-POTFILES.in): New rule: Create a list of source files | |
755 | in the source directory. | |
756 | (po/BLD-POTFILES.in): New rule: Create a list of source files | |
757 | in the build directory. | |
758 | (MOSTLYCLEAN): Do not delete source files created in build | |
759 | directory. | |
760 | * Makefile.in: Regenerate. | |
761 | * configure.in: Insert SRC-POTFILES.in and BLD-POTFILES.in | |
762 | into po/Makefile. | |
763 | * configure: Regenerate. | |
764 | ||
765 | * po/Make-in: Replace occurrences of POTFILES with SRC-POTFILES | |
766 | and BLD_POTFILES. | |
767 | Add .. to the search path when building bfd.pot. | |
768 | Delete POTFILES when performing distclean. | |
769 | Add comment describing why distclean is broken in maintainer mode. | |
770 | * po/POTFILES.in: Delete. | |
771 | * po/SRC-POTFILES.in: New file. | |
772 | * po/BLD-POTFILES.in: New file. | |
773 | * po/bfd.pot: Regenerate. | |
774 | ||
58d29fc3 HPN |
775 | 2001-03-22 Hans-Peter Nilsson <hp@axis.com> |
776 | ||
915e5146 HPN |
777 | * elf32-cris.c: Shlib and PIC support. PCREL tweaks. |
778 | (elf_cris_discard_copies, elf_cris_adjust_gotplt_to_got, | |
779 | elf_cris_try_fold_plt_to_got, elf_cris_link_hash_newfunc, | |
780 | elf_cris_link_hash_table_create, elf_cris_adjust_dynamic_symbol, | |
781 | elf_cris_size_dynamic_sections, elf_cris_finish_dynamic_symbol, | |
782 | elf_cris_finish_dynamic_sections,elf_cris_hide_symbol): New | |
783 | functions. | |
784 | (cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL, | |
785 | R_CRIS_32_PCREL>: Correct comments. Set pcrel_offset to false. | |
786 | <R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE, | |
787 | R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT, | |
788 | R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL>: | |
789 | New HOWTO members for new relocs. | |
790 | (cris_reloc_map): Map new relocs. | |
791 | (ELF_DYNAMIC_INTERPRETER): Define. | |
792 | (PLT_ENTRY_SIZE): Define. | |
793 | (elf_cris_plt0_entry, elf_cris_plt_entry, elf_cris_pic_plt0_entry, | |
794 | elf_cris_pic_plt_entry): New, PLT templates. | |
795 | (struct elf_cris_pcrel_relocs_copied, struct | |
796 | elf_cris_link_hash_entry, struct elf_cris_link_hash_table): New. | |
797 | (elf_cris_link_hash_traverse, elf_cris_hash_table): Define. | |
798 | (cris_final_link_relocate): Check that 16-bit GOT relocs have | |
799 | positive values. Adjust PCREL relocs to be relative to location | |
800 | after relocation. | |
801 | (cris_elf_relocate_section): Handle relocations to dynamic | |
802 | objects. Handle new relocations. Call error handler when seeing | |
803 | non-PIC relocation for read-only sections while generating shared | |
804 | object. | |
805 | (cris_elf_check_relocs): Set reference counts for GOT and PLT | |
806 | entries. | |
807 | (bfd_elf32_bfd_link_hash_table_create, | |
808 | elf_backend_adjust_dynamic_symbol, | |
809 | elf_backend_size_dynamic_sections, | |
810 | elf_backend_finish_dynamic_symbol, | |
811 | elf_backend_finish_dynamic_sections, | |
812 | elf_backend_create_dynamic_sections, bfd_elf32_bfd_final_link, | |
813 | elf_backend_hide_symbol, elf_backend_want_got_plt, | |
814 | elf_backend_plt_readonly, elf_backend_want_plt_sym, | |
815 | elf_backend_got_header_size, elf_backend_plt_header_size): | |
816 | Define. | |
817 | ||
58d29fc3 HPN |
818 | * reloc.c: (BFD_RELOC_CRIS_COPY, BFD_RELOC_CRIS_GLOB_DAT, |
819 | BFD_RELOC_CRIS_JUMP_SLOT, BFD_RELOC_CRIS_RELATIVE, | |
820 | BFD_RELOC_CRIS_32_GOT, BFD_RELOC_CRIS_16_GOT, | |
821 | BFD_RELOC_CRIS_32_GOTPLT, BFD_RELOC_CRIS_16_GOTPLT, | |
822 | BFD_RELOC_CRIS_32_GOTREL, BFD_RELOC_CRIS_32_PLT_GOTREL, | |
823 | BFD_RELOC_CRIS_32_PLT_PCREL): New relocs. | |
824 | * bfd-in2.h, libbfd.h: Regenerate. | |
825 | ||
7a65545d DN |
826 | 2001-03-21 Diego Novillo <dnovillo@redhat.com> |
827 | ||
828 | (_bfd_mips_elf_relocate_section): Give a better error message when | |
829 | a relocation is not recognized. | |
830 | ||
b32b5d6e AM |
831 | 2001-03-21 Alan Modra <alan@linuxcare.com.au> |
832 | ||
833 | * elf32-hppa.c (elf32_hppa_set_gp): Check sec->output_section | |
834 | non-NULL before attempting to dereference. | |
835 | ||
f4fbb4a3 L |
836 | 2001-03-20 H.J. Lu <hjl@gnu.org> |
837 | ||
838 | * configure.in: Remove the redundent AC_ARG_PROGRAM. | |
839 | * configure: Rebuild. | |
840 | ||
95fc45e6 AS |
841 | 2001-03-20 Andreas Schwab <schwab@suse.de> |
842 | ||
843 | * elf32-m68k.c (elf_m68k_relocate_section): Don't need the | |
844 | relocation value when resolving a reference from a debugging | |
845 | section. | |
846 | ||
03d411a9 NC |
847 | 2001-03-16 Scott Thomason <SThomaso@hii.com> |
848 | ||
849 | * coff64-rs6000.c (xcoff64_swap_sym_out): Fix syntax errors. | |
850 | (xcoff64_swap_sym_out): Fix syntax errors. | |
851 | ||
d1659392 NC |
852 | 2001-03-16 Richard Sandiford <rsandifo@redhat.com> |
853 | ||
854 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix warning. | |
855 | ||
12cca0d2 AM |
856 | 2001-03-15 Alan Modra <alan@linuxcare.com.au> |
857 | ||
858 | * elf32-hppa.c (elf32_hppa_link_hash_entry): Add maybe_pic_call. | |
859 | (hppa_link_hash_newfunc): Init it. | |
860 | (hppa_type_of_stub): Only use non-PIC to PIC call stub if caller | |
861 | section appears to be non-PIC. | |
862 | (final_link_relocate): Likewise. | |
863 | (elf32_hppa_adjust_dynamic_symbol): Set maybe_pic_call for any | |
864 | possible candidate function, and set pic_call for those that will | |
865 | only have a .plt entry for the PIC call stub. | |
866 | (hppa_handle_PIC_calls): Set maybe_pic_call. | |
867 | ||
cd6ec716 DD |
868 | 2001-03-12 DJ Delorie <dj@redhat.com> |
869 | ||
870 | * elf32-sh.c (sh_elf_relocate_section): Only relocation | |
871 | R_SH_DIR8WP* relocs if they're against external symbols, else | |
872 | they're just for relaxing. Validate the reloc values. | |
873 | ||
43a0748c NC |
874 | 2001-03-12 Stefan Geuken <mail@stefan-geuken.de> |
875 | ||
876 | * binary.c (bfd_external_binary_architecture): Declare. | |
877 | (binary_object_p): If bfd_external_binary_architecture is defined, | |
878 | set the architecture to this string. | |
879 | ||
d982ba73 PB |
880 | 2001-03-11 Philip Blundell <philb@gnu.org> |
881 | ||
882 | * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make PLT | |
883 | entries that could serve as a definition for a weak symbol. | |
884 | ||
7898deda NC |
885 | 2001-03-08 Nick Clifton <nickc@redhat.com> |
886 | ||
887 | * Most files: Update copyright notices using Perl script created | |
888 | by Kevin Buettner <kevinb@redhat.com>. | |
653165cc | 889 | |
df425bc0 NC |
890 | 2001-03-07 Nick Clifton <nickc@redhat.com> |
891 | ||
892 | * elf32-arm.h (elf32_arm_final_link_relocate): Conditionalise | |
893 | prior patch on ! defined OLD_ARM_ABI. | |
894 | ||
bcdd92f3 AJ |
895 | 2001-03-07 Andreas Jaeger <aj@suse.de> |
896 | ||
897 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of | |
898 | some relocation values. | |
899 | ||
4f3c3dbb NC |
900 | 2001-03-06 Nick Clifton <nickc@redhat.com> |
901 | ||
902 | * elf32-arm.h (elf32_arm_final_link_relocate): Clear bit zero | |
903 | of offset in BLX(1) instruction. | |
904 | * coff-arm.c (coff_arm_relocate_section): Clear bit zero of | |
905 | offset in BLX(1) instruction. | |
906 | Fix formatting. | |
907 | ||
f8f3c6cc NC |
908 | 2001-03-06 Nick Clifton <nickc@redhat.com> |
909 | ||
910 | * coff-arm.c (coff_arm_reloc_type_lookup): Add | |
911 | BFD_RELOC_THUMB_PCREL_BLX. | |
912 | ||
3cac17ae NC |
913 | 2001-03-06 Igor Shevlyakov <igor@windriver.com> |
914 | ||
915 | * archures.c (bfd_default_scan): Add Coldfire CPUs. | |
916 | * bfd-in2.h: Regenerate. | |
917 | * cpu-m68k.c: Add Coldfire CPUs for arch table. | |
918 | * ieee.c (ieee_write_processor): Set proper id for | |
919 | Coldfire CPUs. | |
920 | ||
d1b17ab0 NC |
921 | 2001-03-01 D.J. Barrow <djbarrow@de.ibm.com,barrow_dj@yahoo.com> |
922 | ||
923 | * configure.in: Add s390 target. | |
924 | * configure: Regenerate. | |
925 | ||
5608e05b AJ |
926 | 2001-02-28 Andreas Jaeger <aj@suse.de> |
927 | ||
928 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation | |
929 | to addend. | |
930 | ||
fd2ec330 PB |
931 | 2001-02-28 Philip Blundell <pb@futuretv.com> |
932 | ||
933 | * elf32-arm.h: Update mentions of renamed EF_xx constants. | |
5608e05b | 934 | (elf32_arm_print_private_bfd_data): Handle ARM EABI version 2. |
fd2ec330 | 935 | |
920581c5 L |
936 | 2001-02-27 H.J. Lu <hjl@gnu.org> |
937 | ||
938 | * aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if | |
939 | abfd->tdata.aout_data == NULL. | |
940 | ||
27b7e12d AM |
941 | 2001-02-27 Alan Modra <alan@linuxcare.com.au> |
942 | ||
3ee1d854 AM |
943 | * elf32-hppa.c: Correct field selector in stub comments. |
944 | (clobber_millicode_symbols): Formatting fix. | |
945 | ||
27b7e12d AM |
946 | * configure.in: Bump version to 2.11.90. |
947 | * configure: Regenerate. | |
948 | * Makefile.am (CFILES): Rename to SOURCE_CFILES. | |
949 | (CFILES): $SOURCE_CFILES + generated C files. | |
950 | (POTFILES): Include $HFILES not $SOURCE_HFILES. | |
951 | Run "make dep-am" | |
952 | * Makefile.in: Regenerate. | |
953 | * doc/Makefile.in: This too. | |
954 | ||
10d1e03a TW |
955 | 2001-02-26 Timothy Wall <twall@cygnus.com> |
956 | ||
957 | * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Remove obsolete | |
5608e05b | 958 | comments. |
10d1e03a | 959 | |
1276aefa NC |
960 | 2001-02-26 Nick Clifton <nickc@redhat.com> |
961 | ||
962 | * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Tidy | |
963 | up, replacing multiple if statements with a switch. | |
964 | (handle_COMDAT): New function. | |
965 | ||
966 | 2001-02-26 H.J. Lu <hjl@gnu.org> | |
967 | ||
968 | * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Issue | |
969 | a warning for section flags we do not handle instead of | |
970 | aborting. | |
971 | ||
4a73f21b AJ |
972 | 2001-02-26 Andreas Jaeger <aj@suse.de> |
973 | ||
974 | * elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries. | |
975 | ||
7b6dab7f TW |
976 | 2001-02-22 Timothy Wall <twall@cygnus.com> |
977 | ||
978 | * config.bfd (targ_cpu): Add vectors for ia64-*-aix* (aka Monterey). | |
979 | * configure.in: Add objects for elf64_ia64_aix vectors. | |
980 | * configure: Regenerated. | |
981 | * configure.host: Recognize ia64-*-aix*. | |
982 | * elfxx-ia64.c: Add hooks for ELF64 on AIX5. Define new vectors | |
983 | for AIX. AIX5 requires most relocations to be dynamic (*all* | |
984 | binaries are somewhat similar to shared libraries). | |
985 | * targets.c: Add elf64_ia64_aix vectors. | |
4a73f21b | 986 | |
87f8eb97 JW |
987 | 2001-02-21 David Mosberger <davidm@hpl.hp.com> |
988 | ||
989 | * cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for | |
990 | C8 said "1" instead of "8". Clarify error string for IMM22: | |
991 | "signed integer" instead of just "integer". | |
992 | ||
05aa1441 AJ |
993 | 2001-02-20 Andreas Jaeger <aj@suse.de> |
994 | ||
995 | * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make | |
996 | PLT entries that could serve as a definition for a weak symbol. | |
997 | ||
8701c1bc JJ |
998 | 2001-02-19 Jakub Jelinek <jakub@redhat.com> |
999 | ||
1000 | * elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT | |
1001 | entries that could serve as a definition for a weak symbol. | |
1002 | * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Likewise. | |
1003 | ||
d4af9775 DB |
1004 | 2001-02-18 David O'Brien <obrien@FreeBSD> |
1005 | ||
1006 | * configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat | |
1007 | FreeBSD/i386-CURRENT differently until I can figure out the needed | |
1008 | corefile changes. | |
1009 | * configure: Regenerate. | |
1010 | * config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm, | |
1011 | FreeBSD/PowerPC, and FreeBSD/sparc64. | |
1012 | ||
e135f41b NC |
1013 | 2001-02-18 lars brinkhoff <lars@nocrew.org> |
1014 | ||
1015 | * Makefile.am: Add PDP-11 a.out target. | |
1016 | * config.bfd: Likewise. | |
1017 | * configure.in: Likewise. | |
1018 | * targets.c: Likewise. | |
1019 | * archures.c: Likewise. | |
1020 | * bfd-in2.h: Likewise. Add PDP-11 relocations. | |
1021 | * libbfd.h: Add PDP-11 relocations. | |
1022 | * reloc.c: Likewise. | |
1023 | * cpu-pdp11.c: New file. | |
1024 | * pdp11.c: New file. | |
1025 | ||
1026 | * libaout.h (GET_WORD) [ARCH_SIZE==16]: Define. | |
1027 | (GET_SWORD) [ARCH_SIZE==16]: Likewise. | |
1028 | (GET_SWORD) [ARCH_SIZE==16]: Likewise. | |
1029 | (PUT_WORD) [ARCH_SIZE==16]: Likewise. | |
1030 | (GET_MAGIC): New macro. | |
1031 | (PUT_MAGIC): Likewise. | |
1032 | * aout-target.h (MY(object_p)): Use GET_MAGIC to read magic word. | |
1033 | ||
dc3febfa NC |
1034 | 2001-02-18 Jim Kingdon <jkingdon@engr.sgi.com> |
1035 | ||
1036 | * irix-core.c (irix_core_core_file_p): Set the architecture (GDB | |
1037 | multiarch needs it). | |
1038 | ||
ea412e04 L |
1039 | 2001-02-18 H.J. Lu <hjl@gnu.org> |
1040 | ||
1041 | * elflink.h (elf_link_input_bfd): Ignore invalid section symbol | |
1042 | index. | |
1043 | ||
47eee8a9 KH |
1044 | 2001-02-18 Kazu Hirata <kazu@hxi.com> |
1045 | ||
1046 | * vms-misc.c: Fix formatting. | |
1047 | ||
8a0c27cd KH |
1048 | 2001-02-16 Kazu Hirata <kazu@hxi.com> |
1049 | ||
1050 | * vms.c: Fix formatting. | |
1051 | ||
d1fad7c6 NC |
1052 | 2001-02-14 H.J. Lu <hjl@gnu.org> |
1053 | ||
1054 | * elf.c (elf_find_function): New function. | |
1055 | (_bfd_elf_find_nearest_line): Call elf_find_function () to find | |
1056 | the file name and function name. | |
1057 | ||
825b47db NC |
1058 | 2001-02-14 Nick Clifton <nickc@redhat.com> |
1059 | ||
51d7ee16 NC |
1060 | * ecoff.c (bfd_debug_section): Update to initialise new fields in |
1061 | asection structure. | |
1062 | ||
825b47db NC |
1063 | * Makefile.am (BFD32_BACKENDS_CFILES): Remove peigen.c |
1064 | (BFD64_BACKENDS): Add pepigen.c | |
1065 | Add rules to create peigen.c and pepigen.c from peXXigen.c. | |
1066 | ||
1067 | * Makefile.in: Regenerate. | |
1068 | * configure: Regenerate. | |
1069 | * po/POTFILES.in: Regenerate. | |
1070 | * po/bfd.pot: Regenerate. | |
1071 | ||
ea36a178 L |
1072 | 2001-02-14 H.J. Lu <hjl@gnu.org> |
1073 | ||
1074 | * libcoff-in.h (pe_tdata): Add members target_subsystem and | |
1075 | force_minimum_alignment. | |
1076 | ||
407443a3 AJ |
1077 | 2001-02-14 Bo Thorsen <bo@suse.de> |
1078 | ||
1079 | * elf64-x86-64.c: Small formatting fixes and rearrangements of code. | |
1080 | (elf64_86_64_size_info): Struct added to fix a problem | |
1081 | with the hashtable string entries. | |
1082 | (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt. | |
1083 | (elf64_x86_64_size_dynamic_sections): A FIXME removed. | |
1084 | (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and | |
1085 | remove the FIXME for this. | |
1086 | (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt | |
1087 | section. Also removed the FIXME for it. | |
1088 | (x86_64_elf_howto_table): Use bfd_elf_generic_reloc. | |
1089 | (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker. | |
1090 | (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing. | |
1091 | ||
b4adccfd RH |
1092 | 2001-02-13 Richard Henderson <rth@redhat.com> |
1093 | ||
1094 | * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if required | |
1095 | and not user provided. | |
1096 | ||
9635981a KH |
1097 | 2001-02-13 Kazu Hirata <kazu@hxi.com> |
1098 | ||
1099 | * vms.c (vms_print_symbol): Remove unreachable code. | |
1100 | ||
6a125b16 KH |
1101 | * rs6000-core.c: Fix formatting. |
1102 | ||
cbff5e0d DD |
1103 | 2001-02-13 David Mosberger <davidm@hpl.hp.com> |
1104 | ||
1105 | * peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define | |
1106 | as _bfd_XXi_only_swap_filehdr_out. | |
1107 | (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set | |
1108 | pe->force_minimum_alignment to TRUE. | |
1109 | (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to | |
1110 | PEI_TARGET_SUBSYSTEM. | |
1111 | (pe_print_private_bfd_data): Call | |
1112 | _bfd_XX_print_private_bfd_data_common() instead of | |
1113 | _bfd_pe_print_private_bfd_data_common(). | |
1114 | (pe_bfd_copy_private_bfd_data): Call | |
1115 | _bfd_XX_bfd_copy_private_bfd_data_common() instead of | |
1116 | _bfd_pe_bfd_copy_private_bfd_data_common(). | |
1117 | (coff_bfd_copy_private_section_data): Define as | |
1118 | _bfd_XX_bfd_copy_private_section_data instead of | |
1119 | _bfd_pe_bfd_copy_private_section_data. | |
1120 | (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead | |
1121 | of a _bfd_pe_get_symbol_info. | |
1122 | ||
1123 | * peigen.c: Delete. | |
1124 | ||
1125 | * peXXigen.c: Renamed from peigen.c. | |
1126 | (COFF_WITH_XX): Define this macro (will get expanded into | |
1127 | COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being | |
1128 | compiled as peigen.c or pepigen.c. | |
1129 | [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to | |
1130 | define the canonical PEP structures and definitions. | |
1131 | (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in | |
1132 | effect, enforce minimum file and section alignments. If | |
1133 | extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to | |
1134 | pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN, | |
1135 | so, by default, this is a no-op). | |
1136 | ||
1137 | * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep. | |
1138 | (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map | |
1139 | _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to | |
1140 | _bfd_pefoo if it's not defined. Use these macros to define | |
1141 | coff swap macros. | |
1142 | ||
1143 | * libcoff.h (pe_tdata): Add members target_subsystem and | |
1144 | force_minimum_alignment. | |
1145 | ||
1146 | * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to | |
1147 | COFF_WITH_pep. | |
1148 | (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM. | |
1149 | ||
1150 | * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of | |
1151 | peigen.lo. | |
1152 | ||
1153 | * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep. | |
1154 | (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and | |
1155 | PEPAOUTHDR. | |
1156 | ||
1157 | * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo. | |
1158 | (BFD64_BACKENDS_CFILES): Mention pepigen.c | |
1159 | (peigen.c): Add rule to generate from peXXigen.c. | |
1160 | (pepigen.c): Ditto. | |
1161 | (pepigen.lo): List dependencies for pepigen.lo. | |
1162 | ||
df8634e3 AM |
1163 | 2001-02-13 Alan Modra <alan@linuxcare.com.au> |
1164 | ||
1165 | * elf32-hppa.c (elf32_hppa_set_gp): Handle weak $global$. If | |
1166 | $global$ referenced but not defined, set its value here. | |
1167 | ||
51e0a107 JH |
1168 | 2001-02-09 Bo Thorsen <bo@suse.de> |
1169 | ||
1170 | * elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section | |
1171 | alignment to 3. | |
1172 | (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry | |
1173 | and relocation. | |
1174 | (elf64_x86_64_relocate_section): Fix formatting. | |
1175 | (elf64_x86_64_relocate_section): Fix addend for relocation of | |
1176 | R_X86_64_(8|16|32|PC8|PC16|PC32). | |
1177 | ||
d1fad7c6 | 1178 | 2001-02-12 Jan Hubicka <jh@suse.cz> |
23df1078 JH |
1179 | |
1180 | * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL. | |
1181 | ||
f0e1d18a L |
1182 | 2001-02-11 H.J. Lu <hjl@gnu.org> |
1183 | ||
6757257f | 1184 | * elflink.h (elf_bfd_final_link): Use file_align for SYMTAB |
f0e1d18a L |
1185 | alignment. |
1186 | ||
9117d219 NC |
1187 | 2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1188 | ||
1189 | * elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch | |
1190 | from 2000-10-13. Do not add the symbol's value for R_MIPS_REL32 | |
1191 | relocations against dynsym symbols. | |
1192 | ||
1193 | * elf32-mips.c (elf_mips_howto_table): Fix the comment on | |
1194 | the R_MIPS_26 relocation. | |
1195 | (mips_elf_calculate_relocation): Use (p + 4) instead of p for | |
1196 | the R_MIPS_26 relocation. | |
1197 | (mips_elf_perform_relocation): Fix the comment on the R_MIPS16_26 | |
1198 | relocation. | |
1199 | * elf64-mips.c (mips_elf64_howto_table_rel): Fix the comment on | |
1200 | the R_MIPS_26 relocation. | |
1201 | (mips_elf64_howto_table_rela): Likewise. | |
1202 | ||
1203 | * elf32-mips.c (struct mips_elf_link_hash_entry): Added no_fn_stub | |
1204 | member to mark symbols that have non-CALL relocations against | |
1205 | them. | |
1206 | (mips_elf_link_hash_newfunc): Initialize no_fn_stub. | |
1207 | (mips_elf_calculate_relocation): Handle R_MIPS_CALL16 like | |
1208 | R_MIPS_GOT16. | |
1209 | (_bfd_mips_elf_check_relocs): Set no_fn_stub for a symbol if a | |
1210 | non-CALL relocation against it is encountered. | |
1211 | (_bfd_mips_elf_copy_indirect_symbol): Merge no_fn_stub as well. | |
1212 | (_bfd_mips_elf_adjust_dynamic_symbol): Only create a stub if | |
1213 | no_fn_stub is not set. | |
1214 | ||
1215 | * elf32-mips.c (mips_elf_output_extsym): Get the output section | |
1216 | information from the real symbol for indirect ones. | |
1217 | Check no_fn_stub to find out if a symbol has a function stub | |
1218 | indeed. | |
1219 | ||
9f93bca5 MS |
1220 | 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
1221 | ||
1222 | * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory. | |
1223 | * Makefile.in: Regenerate. | |
1224 | ||
81545d45 RH |
1225 | 2001-02-09 David Mosberger <davidm@hpl.hp.com> |
1226 | ||
1227 | * elfxx-ia64.c (is_unwind_section_name): New function. Returns | |
1228 | true if section name is an unwind table section name. | |
1229 | (elfNN_ia64_additional_program_headers): Count each unwind section | |
1230 | separately. | |
1231 | (elfNN_ia64_modify_segment_map): Install one unwind program header | |
1232 | for each unwind separate section. Note: normally the linker | |
1233 | script merges the unwind sections that go into a single segment, | |
1234 | so this still generates at most one unwind program header per | |
1235 | segment. | |
1236 | ||
1237 | * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section | |
1238 | name for SHT_IA_64_UNWIND, not just .IA_64.unwind. | |
1239 | (elfNN_ia64_fake_sections): Mark sections with names that start | |
1240 | with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64 | |
1241 | unwind section. | |
1242 | ||
1243 | * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function. | |
1244 | Use it to make sh_info in unwind section point to the text section | |
1245 | it applies to. | |
1246 | ||
a85d7ed0 NC |
1247 | 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com> |
1248 | ||
1249 | * Makefile.am: Add linux target for S/390. | |
1250 | * archures.c: Likewise. | |
1251 | * bfd-in2.h: Likewise. | |
1252 | * config.bfd: Likewise. | |
1253 | * configure.in: Likewise. | |
1254 | * elf.c: Likewise. | |
1255 | * libbfd.h: Likewise. | |
1256 | * targets.c: Likewise. | |
1257 | * cpu-s390.c: New file. | |
1258 | * elf32-s390.c: New file. | |
1259 | * elf64-s390.c: New file. | |
1260 | ||
356d255d NC |
1261 | 2001-02-09 Nick Clifton <nickc@redhat.com> |
1262 | ||
1263 | * peigen.c (_bfd_pe_get_symbol_info): Suppress addition of | |
1264 | ImageBase. This has already been done by coff_swap_hdr_in. | |
1265 | ||
069f40e5 JJ |
1266 | 2001-02-09 Jakub Jelinek <jakub@redhat.com> |
1267 | ||
1268 | * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function. | |
1269 | ||
eadfa8ab JJ |
1270 | 2001-02-09 Jakub Jelinek <jakub@redhat.com> |
1271 | ||
1272 | * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count. | |
1273 | (sparc64_elf_relocate_section): Likewise. | |
1274 | ||
9fc54e19 MK |
1275 | 2001-02-09 Mark Kettenis <kettenis@gnu.org> |
1276 | ||
1277 | * elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32 | |
1278 | similar to R_SPARC_32. | |
1279 | * elf64-sparc.c (sparc64_elf_howto_table): Likewise. | |
1280 | ||
1f655a09 L |
1281 | 2001-02-08 H.J. Lu <hjl@gnu.org> |
1282 | ||
1283 | * elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32 | |
1284 | relocation entries for weak definitions when building DSO with | |
1285 | -Bsymbolic. | |
1286 | ||
ca88208a RH |
1287 | 2001-02-08 Richard Henderson <rth@redhat.com> |
1288 | ||
1289 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness | |
1290 | before visibility. Locally defined protected symbols are not | |
1291 | dynamic. | |
1292 | ||
4603e845 GK |
1293 | 2001-02-08 Geoffrey Keating <geoffk@redhat.com> |
1294 | ||
1295 | * config.bfd: Enable coff64 for rs6000-*. Patch from | |
1296 | <hzoli@austin.ibm.com>. | |
1297 | ||
4ca29a6a NC |
1298 | 2001-02-07 Mark Elbrecht <snowball3@bigfoot.com> |
1299 | ||
1300 | * coffgen.c (coff_find_nearest_line): If stabs info is successfully | |
1301 | found, do not attempt to find dwarf2 info before returning. | |
1302 | ||
7da9d88f NC |
1303 | 2001-02-07 Jakub Jelinek <jakub@redhat.com> |
1304 | ||
1305 | * elflink.h (is_global_symbol_definition): Rename to | |
1306 | is_global_data_symbol_definition and have it reject function | |
1307 | symbols. | |
1308 | (elf_link_is_defined_archive_symbol): Use renamed function. | |
1309 | ||
7340082d NC |
1310 | 2001-02-07 Todd Vierling <tv@wasabisystems.com> |
1311 | ||
1312 | * libbfd-in.h (bfd_target_vector): Change extern array to pointer. | |
1313 | * libbfd.h (bfd_target_vector): Likewise. | |
1314 | * targets.c (bfd_target_vector): Rename to _bfd_target_vector and | |
81545d45 | 1315 | make static; create pointer reference named bfd_target_vector. |
7340082d NC |
1316 | (_bfd_target_vector_entries): Calculate this based on the array |
1317 | typed _bfd_target_vector. | |
1318 | ||
2719f880 L |
1319 | 2001-02-06 H.J. Lu <hjl@gnu.org> |
1320 | ||
1321 | * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and | |
1322 | internal symbols are not dynamic. | |
1323 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. | |
1324 | ||
175aa013 NC |
1325 | 2001-02-06 Nick Clifton <nickc@redhat.com> |
1326 | ||
1327 | * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-ia64.c, so | |
1328 | that it will not be pulled into the list of files that make up | |
1329 | po/POTFILES.in. | |
1330 | * Makefile.in: Regenerate. | |
1331 | * po/bfd.pot: Regenerate. | |
1332 | ||
15e0ecd9 L |
1333 | 2001-02-06 H.J. Lu <hjl@gnu.org> |
1334 | ||
7898deda | 1335 | * peicode.h (coff_swap_filehdr_in): Remove the e_magic |
15e0ecd9 L |
1336 | checking. |
1337 | (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and | |
1338 | external_PEI_IMAGE_hdr. | |
1339 | ||
27def10f KH |
1340 | 2001-02-06 Kazu Hirata <kazu@hxi.com> |
1341 | ||
1342 | * elf-m10200.c: Fix formatting. | |
1343 | ||
a0f2e916 NC |
1344 | 2001-02-04 Nick Clifton <nickc@redhat.com> |
1345 | ||
1346 | * elf32-v850.c (v850_elf_reloc): Do not convert reloc addend to PC | |
1347 | rel, it will be handled later on. | |
1348 | ||
d96031fb NC |
1349 | 2001-02-02 Fred Fish <fnf@ninemoons.com> |
1350 | ||
1351 | * Makefile.in: Fix typo. | |
1352 | ||
010ac81f KH |
1353 | 2001-02-01 Kazu Hirata <kazu@hxi.com> |
1354 | ||
1355 | * elf-m10300.c: Fix formatting. | |
1356 | ||
3fab46d0 AM |
1357 | 2001-01-30 Alan Modra <alan@linuxcare.com.au> |
1358 | ||
1359 | * elf64-hppa.c (elf64_hppa_elf_get_symbol_type): New function. | |
1360 | (elf_backend_get_symbol_type): Define. | |
d9634ba1 AM |
1361 | (elf64_hppa_object_p): Set architecture and machine from elf |
1362 | header flags. | |
3fab46d0 | 1363 | |
95404643 RH |
1364 | 2001-01-30 Curtis L. Janssen <cljanss@ca.sandia.gov> |
1365 | ||
1366 | * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2 | |
1367 | before mdebug. | |
1368 | ||
8fb35fed RH |
1369 | 2001-01-26 Richard Henderson <rth@redhat.com> |
1370 | ||
1371 | * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false | |
1372 | for non-default visibility. | |
1373 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but | |
1374 | delete ugly macro and replace with pretty function. | |
1375 | ||
a4f68544 NC |
1376 | 2001-01-25 Mark Elbrecht <snowball3@bigfoot.com> |
1377 | ||
1378 | * coff-go32.c: Update copyright. | |
1379 | * coff-stgo32.c: Likewise. | |
1380 | * coff-go32.c (COFF_LONG_FILENAMES): Define. | |
1381 | * coff-stgo32.c (COFF_LONG_FILENAMES): Likewise. | |
1382 | * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Remove .bss entry. | |
1383 | * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. | |
1384 | ||
c02e7c3e KH |
1385 | 2001-01-25 Kazu Hirata <kazu@hxi.com> |
1386 | ||
1387 | * bfd-in2.h: Rebuild. | |
1388 | * libbfd.h: Likewise. | |
1389 | ||
541389e2 L |
1390 | 2001-01-23 H.J. Lu <hjl@gnu.org> |
1391 | ||
1392 | * bfd-in2.h: Rebuild. | |
1393 | ||
0007625f L |
1394 | 2001-01-23 H.J. Lu <hjl@gnu.org> |
1395 | ||
1396 | * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf) | |
1397 | is NULL or PRIV(vms_rec) is outside of the buffer. | |
1398 | ||
b653e1b1 KH |
1399 | 2001-01-23 Kazu Hirata <kazu@hxi.com> |
1400 | ||
1401 | * coff64-rs6000.c: Fix formatting. | |
1402 | * coff-arm.c: Likewise. | |
1403 | * coffgen.c: Likewise. | |
1404 | * cofflink.c: Likewise. | |
1405 | * coff-mcore.c: Likewise. | |
1406 | * coff-mips.c: Likewise. | |
1407 | * coff-pmac.c: Likewise. | |
1408 | * coff-ppc.c: Likewise. | |
1409 | * coff-rs6000.c: Likewise. | |
1410 | * elf32.c: Likewise. | |
1411 | * elf32-fr30.c: Likewise. | |
1412 | * elf32-i370.c: Likewise. | |
1413 | * elf32-i860.c: Likewise. | |
1414 | * elf32-m32r.c: Likewise. | |
1415 | * elf32-m68k.c: Likewise. | |
1416 | * elf32-mcore.c: Likewise. | |
1417 | * elf32-ppc.c: Likewise. | |
1418 | * elf32-sh.c: Likewise. | |
1419 | * elf32-v850.c: Likewise. | |
1420 | * elf64-alpha.c: Likewise. | |
1421 | * elf64-sparc.c: Likewise. | |
1422 | * elflink.c: Likewise. | |
1423 | * elflink.h: Likewise. | |
1424 | * elf-m10200.c: Likewise. | |
1425 | * elf-m10300.c: Likewise. | |
1426 | * elfxx-ia64.c: Likewise. | |
1427 | ||
3fde5a36 KH |
1428 | * aoutx.h: Fix formatting. |
1429 | * bfd.c: Likewise. | |
1430 | * bfd-in2.h: Likewise. | |
1431 | * bfd-in.h: Likewise. | |
1432 | * cpu-i386.c: Likewise. | |
1433 | * cpu-m68hc11.c: Likewise. | |
1434 | * dwarf2.c: Likewise. | |
1435 | * elf64-x86-64.c: Likewise. | |
1436 | * format.c: Likewise. | |
1437 | * freebsd.h: Likewise. | |
1438 | * hash.c: Likewise. | |
1439 | * hp300hpux.c: Likewise. | |
1440 | * hppabsd-core.c: Likewise. | |
1441 | * hpux-core.c: Likewise. | |
1442 | ||
70256ad8 AJ |
1443 | 2001-01-22 Bo Thorsen <bo@suse.de> |
1444 | ||
1445 | * elf64-x86-64.c: Added PIC support for X86-64. | |
1446 | (elf64_x86_64_link_hash_newfunc): Function added. | |
1447 | (elf64_x86_64_link_hash_table_create): Likewise. | |
1448 | (elf64_x86_64_check_relocs): Likewise. | |
1449 | (elf64_x86_64_gc_mark_hook): Likewise. | |
1450 | (elf64_x86_64_gc_sweep_hook): Likewise. | |
1451 | (elf64_x86_64_adjust_dynamic_symbol): Likewise. | |
1452 | (elf64_x86_64_size_dynamic_sections): Likewise. | |
1453 | (elf64_x86_64_discard_copies): Likewise. | |
1454 | (elf64_x86_64_finish_dynamic_symbol): Likewise. | |
1455 | (elf64_x86_64_finish_dynamic_sections): Likewise. | |
1456 | (elf64_x86_64_relocate_section): Add relocation of PIC sections. | |
1457 | ||
ee0bebb8 AJ |
1458 | 2001-01-21 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1459 | ||
1460 | * Makefile.am (install-data-local): Make use of $(DESTDIR). | |
1461 | * Makefile.in: Regenerate. | |
1462 | ||
2a38f751 KH |
1463 | 2001-01-21 Kazu Hirata <kazu@hxi.com> |
1464 | ||
1465 | * coff-a29k.c: Fix formatting. | |
1466 | ||
c8492176 L |
1467 | 2001-01-19 H.J. Lu <hjl@gnu.org> |
1468 | ||
1469 | * elf32-i386.c (elf_i386_check_relocs): Report files with bad | |
1470 | relocation section names. | |
1471 | (elf_i386_relocate_section): Report files with bad relocation | |
1472 | section names and return false. | |
1473 | ||
a5377ec0 AJ |
1474 | 2001-01-17 Bo Thorsen <bo@suse.de> |
1475 | ||
1476 | * targets.c: Alphabetize list of xvecs. | |
1477 | ||
b352eebf AM |
1478 | 2001-01-14 Alan Modra <alan@linuxcare.com.au> |
1479 | ||
d952f17a AM |
1480 | * config.bfd: Add linux target variant for elfxx-hppa. |
1481 | * configure.in: Recognize bfd_elf32_hppa_linux_vec and | |
1482 | bfd_elf64_hppa_linux_vec. | |
1483 | * configure: Regenerate. | |
1484 | * elf64-hppa.c: Include elf64-target.h again to support linux | |
1485 | target variant. | |
1486 | (elf64_hppa_post_process_headers): Set ELFOSABI_LINUX for linux. | |
1487 | * elf32-hppa.c: Include elf32-target.h again to support linux | |
1488 | target variant. | |
1489 | (elf32_hppa_post_process_headers): New function. | |
1490 | (elf_backend_post_process_headers): Define. | |
1491 | * targets.c (bfd_target_vector): Add bfd_elf64_hppa_linux_vec and | |
1492 | bfd_elf32_hppa_linux_vec. | |
1493 | ||
c46b7515 AM |
1494 | * elf32-hppa.c (elf32_hppa_link_hash_table): Add text_segment_base, |
1495 | and data_segment_base fields. | |
1496 | (elf32_hppa_link_hash_table_create ): Init them. | |
1497 | (elf32_hppa_check_relocs): Update comments. | |
1498 | (hppa_record_segment_addr): New function. | |
1499 | (elf32_hppa_relocate_section): Call it. | |
1500 | (final_link_relocate): Handle R_PARISC_SEGREL32. | |
1501 | (elf32_hppa_final_link): New function. | |
1502 | (bfd_elf32_bfd_final_link): Define to call it. | |
1503 | (hppa_unwind_entry_compare): New function. | |
1504 | * cache.c (bfd_open_file): Create files in write+read mode. | |
1505 | ||
1506 | * elf-hppa.h (elf_hppa_howto_table): Set bitsize value for | |
1507 | SEGREL32 and numerous other relocs. Change duplicate | |
1508 | R_PARISC_NONE relocs to R_PARISC_UNIMPLEMENTED. | |
1509 | ||
d768008d AM |
1510 | * opncls.c (bfd_fdopenr): Add parens like the comment says around |
1511 | O_ACCMODE. | |
1512 | ||
150ccafb AM |
1513 | * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Don't create |
1514 | .plt entries for DT_INIT and DT_FINI. | |
1515 | (elf32_hppa_finish_dynamic_sections): Remove special handling of | |
1516 | DT_INIT and DT_FINI. | |
1517 | ||
b352eebf AM |
1518 | * elf64-hppa.c (elf64_hppa_finish_dynamic_symbol): Use 16-bit |
1519 | offsets for stub .plt access if wide mode. Check offset in range. | |
1520 | ||
b3b9a062 NC |
1521 | 2001-01-13 Nick Clifton <nickc@redhat.com> |
1522 | ||
b7ed8fad NC |
1523 | * elf32-fr30.c (fr30_elf_howto_table): Remove spurious blank |
1524 | line. | |
1525 | ||
b3b9a062 NC |
1526 | * coffcode.h (coff_canonicalize_reloc): Remove spurious blank |
1527 | line. | |
1528 | ||
6e0b89ee AM |
1529 | 2001-01-12 Alan Modra <alan@linuxcare.com.au> |
1530 | ||
1531 | * configure.in ([bfd_elf64_x86_64_vec]): Set target64. | |
1532 | * configure: Regenerate. | |
1533 | ||
0d2bcfaf NC |
1534 | 2001-01-11 Peter Targett <peter.targett@arccores.com> |
1535 | ||
1536 | * bfd-in2.h (bfd_architecture): Add bfd_mach_arc_5, | |
1537 | bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8 for ARC variants. | |
1538 | * cpu-arc.c (arch_info_struct): Add entries for variants. | |
1539 | (bfd_arc_arch) Set default to bfd_mach_arc_5. | |
1540 | (arc_get_mach) Don't assume machine names prefixed arc- before | |
1541 | testing. | |
1542 | * elf32-arc.c (arc_elf_object_p): Set machine number based on new | |
1543 | selections. | |
1544 | (arc_elf_final_write_processing) Likewise. | |
1545 | (ELF_MACHINE_CODE) Use EM_ARC. | |
1546 | ||
c31c1f70 NC |
1547 | 2001-01-10 Nick Clifton <nickc@redhat.com> |
1548 | ||
2758140b | 1549 | * coff-arm.c (LOCAL_LABEL_PREFIX): Change definition to "". |
c31c1f70 | 1550 | |
5ad083e3 PB |
1551 | 2001-01-07 Philip Blundell <philb@gnu.org> |
1552 | ||
1553 | * README: Replace `bug-gnu-utils@gnu.org' with | |
1554 | `bug-binutils@gnu.org'. | |
1555 | ||
7eae7d22 KH |
1556 | 2001-01-04 Kazu Hirata <kazu@hxi.com> |
1557 | ||
1558 | * som.c: Fix formatting. | |
1559 | ||
509945ae KH |
1560 | 2001-01-03 Kazu Hirata <kazu@hxi.com> |
1561 | ||
3e932841 KH |
1562 | * ecoffswap.h: Fix formatting. |
1563 | * elf-bfd.h: Likewise. | |
1564 | * elfarm-nabi.c: Likewise. | |
1565 | * elfarm-oabi.c: Likewise. | |
1566 | * elfcode.h: Likewise. | |
1567 | * elfcore.h: Likewise. | |
1568 | * elflink.c: Likewise. | |
1569 | * elflink.h: Likewise. | |
1570 | * elfxx-ia64.c: Likewise. | |
1571 | * elfxx-target.h: Likewise. | |
1572 | * libbfd.c: Likewise | |
509945ae KH |
1573 | * linker.c: Likewise. |
1574 | * lynx-core.c: Likewise. | |
1575 | ||
892339ee KH |
1576 | 2001-01-02 Kazu Hirata <kazu@hxi.com> |
1577 | ||
1578 | * pc532-mach.c: Fix formatting. | |
1579 | * pe-arm.c: Likewise. | |
1580 | * pe-i386.c: Likewise. | |
1581 | * pe-mips.c: Likewise. | |
1582 | * pe-ppc.c: Likewise. | |
1583 | * pe-sh.c: Likewise. | |
1584 | * pei-mips.c: Likewise. | |
1585 | * pei-sh.c: Likewise. | |
ee91ed79 | 1586 | * peicode.h: Likewise. |
892339ee KH |
1587 | * ppcboot.c: Likewise. |
1588 | * ptrace-core.c: Likewise. | |
1589 | ||
3d855632 KH |
1590 | 2001-01-01 Kazu Hirata <kazu@hxi.com> |
1591 | ||
1592 | * reloc.c: Fix formatting. | |
1593 | * riscix.c: Likewise. | |
1594 | * rs6000-core.c: Likewise. | |
1595 | * xcoff-target.h: Likewise. | |
1596 | ||
a77a9fef HPN |
1597 | 2000-12-29 Hans-Peter Nilsson <hp@bitrange.com> |
1598 | ||
1599 | * elfcode.h (elf_object_p): Also restore the bfd mach field on | |
1600 | error, by calling bfd_default_set_arch_mach with incoming | |
1601 | values. | |
1602 | ||
558e161f KH |
1603 | 2000-12-26 Kazu Hirata <kazu@hxi.com> |
1604 | ||
1605 | * vaxnetbsd.c: Fix formatting. | |
1606 | * versados.c: Likewise. | |
1607 | * vms-gsd.c: Likewise. | |
1608 | * vms-hdr.c: Likewise. | |
1609 | * vms-misc.c: Likewise. | |
1610 | ||
3c579812 AO |
1611 | 2000-12-25 Alexandre Oliva <aoliva@redhat.com> |
1612 | ||
1613 | * archive.c (coff_write_armap): Don't write more than symbol_count | |
1614 | `archive_member_file_ptr's. | |
1615 | ||
672579e9 KH |
1616 | 2000-12-25 Kazu Hirata <kazu@hxi.com> |
1617 | ||
1618 | * vms-tir.c: Fix formatting. | |
1619 | ||
55f2d5ed KH |
1620 | 2000-12-23 Kazu Hirata <kazu@hxi.com> |
1621 | ||
1622 | * vms.c: Fix formatting. | |
1623 | * vms.h: Likewise. | |
1624 | ||
23ccc829 NC |
1625 | 2000-12-21 Santeri Paavolainen <santtu@ssh.com> |
1626 | ||
1627 | * vms-hdr.c: Include alloca.h if HAVE_ALLOCA_H is defined. | |
1628 | ||
1629 | * peicode.h (pe_ILF_object_p): Add const to import of TARGET_LITTLE_SYM. | |
1630 | ||
1631 | * elf32-m32r.c (m32r_elf_generic_reloc): Add cast to avoid (void *) | |
1632 | arithmetic. | |
1633 | ||
1634 | * elf32-fr30.c: Add casts to avoid (void *) arithmetic. | |
1635 | ||
1636 | * coffcode.h (styp_to_sec_flags): Add empty statement after label. | |
1637 | ||
8c603c85 NC |
1638 | 2000-12-21 Richard Sandiford <rsandifo@redhat.com> |
1639 | ||
1640 | * libbfd.c (bfd_get_bits): Added | |
1641 | (bfd_put_bits): Likewise | |
1642 | * bfd-in.h: Declared the above. | |
1643 | * bfd-in2.h: Regenerated. | |
1644 | ||
5bff4f56 KH |
1645 | 2000-12-20 Kazu Hirata <kazu@hxi.com> |
1646 | ||
1647 | * targets.c: Fix formatting. | |
1648 | * tekhex.c: Likewise. | |
1649 | * trad-core.c: Likewise. | |
1650 | ||
7b82c249 KH |
1651 | 2000-12-19 Kazu Hirata <kazu@hxi.com> |
1652 | ||
1653 | * sco5-core.c: Fix formatting. | |
1654 | * section.c: Likewise. | |
1655 | * sparclinux.c: Likewise. | |
1656 | * sparclynx.c: Likewise. | |
1657 | * sparcnetbsd.c: Likewise. | |
1658 | * srec.c: Likewise. | |
1659 | * stabs.c: Likewise. | |
1660 | * stab-syms.c: Likewise. | |
1661 | * sunos.c: Likewise. | |
1662 | * syms.c: Likewise. | |
1663 | * sysdep.h: Likewise. | |
1664 | ||
f78c5281 NC |
1665 | 2000-12-18 Nick Clifton <nickc@redhat.com> |
1666 | ||
1667 | * coff-arm.c (EXTRA_S_FLAGS): Only define if not already | |
1668 | defined. | |
1669 | * epoc-pe-arm.c (EXTRA_S_FLAGS): Define. | |
1670 | * epoc-pei-arm.c (EXTRA_S_FLAGS): Define. | |
1671 | ||
02b89dce NC |
1672 | 2000-12-18 Nick Clifton <nickc@redhat.com> |
1673 | ||
1674 | * vms-misc.c (_bfd_vms_get_record): Add default case to | |
1675 | file_format switch. | |
1676 | ||
d20966a7 NC |
1677 | 2000-12-15 Miloslav Trmac <mitr@volny.cz> |
1678 | ||
1679 | * elfcore.h (elf_core_file_p): Move to the start of the program | |
1680 | headers before attempting to read them. | |
1681 | ||
6fa957a9 KH |
1682 | 2000-12-14 Kazu Hirata <kazu@hxi.com> |
1683 | ||
1684 | * peigen.c: Fix formatting. | |
1685 | * som.c: Likewise. | |
1686 | * som.h: Likewise. | |
1687 | ||
9602af51 KH |
1688 | 2000-12-13 Kazu Hirata <kazu@hxi.com> |
1689 | ||
1690 | * peigen.c: Fix formatting. | |
1691 | ||
514829c3 JW |
1692 | 2000-12-12 Jim Wilson <wilson@redhat.com> |
1693 | ||
1694 | * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *. | |
1695 | ||
3a71aec8 NC |
1696 | 2000-12-08 Mark Salter <msalter@redhat.com> |
1697 | ||
1698 | * binary.c (binary_set_section_contents): Ignore sections | |
1699 | with zero size. | |
1700 | ||
1518639e KH |
1701 | 2000-12-12 Kazu Hirata <kazu@hxi.com> |
1702 | ||
1703 | * m68klinux.c: Fix formatting. | |
1704 | * m68knetbsd.c: Likewise. | |
1705 | * mipsbsd.c: Likewise. | |
1706 | * netbsd-core.c: Likewise. | |
1707 | * netbsd.h: Likewise. | |
1708 | * newsos3.c: Likewise. | |
1709 | * nlm32-alpha.c: Likewise. | |
1710 | * nlm32-i386.c: Likewise. | |
1711 | * nlm32-ppc.c: Likewise. | |
1712 | * nlm32-sparc.c: Likewise. | |
1713 | * nlmcode.h: Likewise. | |
1714 | * nlmswap.h: Likewise. | |
1715 | * nlm-target.h: Likewise. | |
1716 | * ns32knetbsd.c: Likewise. | |
1717 | ||
b79e8c78 NC |
1718 | 2000-12-10 Fred Fish <fnf@be.com> |
1719 | ||
d952f17a AM |
1720 | * elflink.h (elf_link_output_extsym): Don't complain about undefined |
1721 | symbols in shared objects if allow_shlib_undefined is true. | |
b79e8c78 | 1722 | |
38b1a46c NC |
1723 | 2000-12-12 Nick Clifton <nickc@redhat.com> |
1724 | ||
1725 | * cpu-sh.c: Fix formattng. | |
1726 | * elf.c: Fix formattng. | |
1727 | * elf32-mips.c: Fix formattng. | |
1728 | * elf32-sh.c: Fix formattng. | |
1729 | * elf64-alpha.c: Fix formattng. | |
1730 | ||
857ec808 NC |
1731 | 2000-12-09 Nick Clifton <nickc@redhat.com> |
1732 | ||
1733 | * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Pass | |
1734 | dwarf2_find_line_info as last parameter to invocation of | |
1735 | _bfd_dwarf2_find_nearest_line. | |
1736 | * elf32-arm.h (elf32_arm_find_nearest_line): Pass | |
1737 | dwarf2_find_line_info as last parameter to invocation of | |
1738 | _bfd_dwarf2_find_nearest_line. | |
1739 | ||
51db3708 NC |
1740 | 2000-12-08 Mark Elbrecht <snowball3@bigfoot.com> |
1741 | ||
1742 | * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here... | |
857ec808 NC |
1743 | (BFD_LIBS): ...to here. |
1744 | (BFD32_BACKENDS_CFILES): Move dwarf2.c from here... | |
1745 | (BFD_LIBS_CFILES): ...to here. | |
51db3708 NC |
1746 | * Makefile.in: Regenerate. |
1747 | * configure.in: Remove dwarf.lo from the elf shell variable. | |
1748 | * configure: Regenerate. | |
1749 | * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info. | |
1750 | * libcoff.h: Regenerate. | |
d952f17a | 1751 | * coffgen.c (coff_find_nearest_line): Call |
857ec808 | 1752 | _bfd_dwarf2_find_nearest_line. |
51db3708 | 1753 | * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update |
857ec808 NC |
1754 | accordingly. |
1755 | (read_abbrevs): Likewise | |
1756 | (decode_line_info): Likewise. | |
1757 | (parse_comp_unit): Likewise. | |
1758 | (comp_unit_find_nearest_line): Likewise. | |
51db3708 NC |
1759 | * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype. |
1760 | * libbfd.h: Regenerate. | |
1761 | * elf.c (_bfd_elf_find_nearest_line): Update call. | |
1762 | * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR. | |
1763 | * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH. | |
1764 | * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros. | |
857ec808 NC |
1765 | (sec_to_styp_flags): Use them. Handle DWARF2 sections. |
1766 | (styp_to_sec_flags): Handle DWARF2 sections. | |
1767 | * elf32-arm.h (elf32_arm_find_nearest_line): Add parameter to call | |
1768 | to _bfd_find_nearest_line. | |
1769 | * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to | |
1770 | call to _bfd_find_nearest_line. | |
d952f17a | 1771 | |
435b1e90 KH |
1772 | 2000-12-08 Kazu Hirata <kazu@hxi.com> |
1773 | ||
1774 | * coffgen.c: Fix formatting. | |
fe8bc63d | 1775 | * elf-m10300.c: Likewise. |
435b1e90 KH |
1776 | * elf32-i386.c: Likewise. |
1777 | * elf32-i960.c: Likewise. | |
1778 | * elf32-m68k.c: Likewise. | |
1779 | * elf32-mcore.c: Likewise. | |
1780 | * elf32-ppc.c: Likewise. | |
1781 | * elf32-sh.c: Likewise. | |
1782 | * elf32-sparc.c: Likewise. | |
1783 | * elf32-v850.c: Likewise. | |
fe8bc63d KH |
1784 | * elf64-alpha.c: Likewise. |
1785 | * elf64-hppa.c: Likewise. | |
1786 | * elf64-mips.c: Likewise. | |
435b1e90 | 1787 | * elf64-sparc.c: Likewise. |
435b1e90 | 1788 | |
8da6118f KH |
1789 | 2000-12-07 Kazu Hirata <kazu@hxi.com> |
1790 | ||
1791 | * elf32-ppc.c: Fix formatting. | |
1792 | * elf64-x86-64.c: Likewise. | |
1793 | ||
a9922e52 UC |
1794 | 2000-12-06 Ulf Carlsson <ulfc@engr.sgi.com> |
1795 | ||
1796 | From Ralf Baechle <ralf@gnu.org> | |
1797 | ||
1798 | * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit | |
1799 | BFDs containing no sections or empty .text, .data or .bss sections | |
1800 | to be merged, regardless of their flags. | |
1801 | ||
c3668558 KH |
1802 | 2000-12-06 Kazu Hirata <kazu@hxi.com> |
1803 | ||
1804 | * elf32-m32r.c: Fix formatting. | |
1805 | * elf32-m68hc11.c: Likewise. | |
1806 | * elf32-m68hc12.c: Likewise. | |
1807 | * elf32-m68k.c: Likewise. | |
1808 | * elf32-mcore.c: Likewise. | |
1809 | * elf32-pj.c: Likewise. | |
1810 | * elf32-ppc.c: Likewise. | |
1811 | ||
6609fa74 KH |
1812 | 2000-12-05 Kazu Hirata <kazu@hxi.com> |
1813 | ||
1814 | * elf32-fr30.c: Fix formatting. | |
1815 | * elf32-hppa.c: Likewise. | |
1816 | * elf32-i370.c: Likewise. | |
1817 | * elf32-i386.c: Likewise. | |
1818 | * elf32-i860.c: Likewise. | |
1819 | * elf32-i960.c: Likewise. | |
1820 | ||
a7c10850 KH |
1821 | 2000-12-03 Kazu Hirata <kazu@hxi.com> |
1822 | ||
1823 | * elf32-arm.h: Fix formatting. | |
1824 | * elf32-avr.c: Likewise. | |
1825 | * elf32-cris.c: Likewise. | |
1826 | * elf32-d10v.c: Likewise. | |
1827 | * elf32-d30v.c: Likewise. | |
1828 | * elf-hppa.h: Likewise. | |
1829 | * elf-m10200.c: Likewise. | |
1830 | * elf-m10300.c: Likewise. | |
1831 | ||
e7af610e NC |
1832 | 2000-12-01 Chris Demetriou <cgd@sibyte.com> |
1833 | ||
d952f17a AM |
1834 | * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and |
1835 | bfd_mach_mips32_4k. Update FIXME comment. | |
1836 | * archures.c (bfd_mach_mips32): New constant. | |
1837 | (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to | |
1838 | the latter, renumber it. | |
1839 | * bfd-in2.h (bfd_mach_mips32): New constant. | |
1840 | (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to | |
1841 | the latter, renumber it. | |
1842 | * cpu-mips.c (I_mips32): New constant. | |
1843 | (I_mips4K, I_mips32_4k): Rename the former to the latter. | |
1844 | (arch_info_struct): Add bfd_mach_mips32 entry, replace | |
1845 | bfd_mach_mips4K entry with bfd_mach_mips32_4k entry. | |
1846 | * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case. | |
1847 | (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32 | |
1848 | with E_MIPS_MACH_MIPS32_4K. | |
1849 | (_bfd_mips_elf_final_write_processing): Replace | |
1850 | bfd_mach_mips4K with bfd_mach_mips32_4k case, add | |
1851 | bfd_mach_mips32 case. | |
1852 | (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing | |
1853 | comparison with support for MIPS32. | |
1854 | (_bfd_mips_elf_print_private_bfd_data): Print ISA name for | |
1855 | MIPS32. | |
1856 | ||
1857 | * aoutx.h (NAME(aout,machine_type)): Add cases for | |
1858 | bfd_mach_mips5 and bfd_mach_mips64. | |
1859 | * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants. | |
1860 | * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise. | |
1861 | * cpu_mips.c (I_mips5, I_mips64): New definitions. | |
1862 | (arch_info_struct): Add entries for bfd_mach_mips5 and | |
1863 | bfd_mach_mips64. | |
1864 | * elf32-mips.c (elf_mips_isa, elf_mips_mach, | |
1865 | _bfd_mips_elf_print_private_bfd_data): Add cases for | |
1866 | E_MIPS_ARCH_5 and E_MIPS_ARCH_64. | |
1867 | (_bfd_mips_elf_final_write_processing): Add cases for | |
1868 | bfd_mach_mips5 and bfd_mach_mips64. | |
1869 | ||
7898deda | 1870 | * aoutx.h (NAME(aout,machine_type)): Add a |
d952f17a | 1871 | bfd_mach_mips_sb1 case. |
7898deda NC |
1872 | * archures.c (bfd_mach_mips_sb1): New constant. |
1873 | * bfd-in2.h (bfd_mach_mips_sb1): New constant. | |
1874 | * cpu-mips.c (I_sb1): New constant. | |
d952f17a | 1875 | (arch_info_struct): Add entry for bfd_mach_mips_sb1. |
7898deda | 1876 | * elf32-mips.c (elf_mips_mach): Add case for |
d952f17a AM |
1877 | E_MIPS_MACH_SB1. |
1878 | (_bfd_mips_elf_final_write_processing): Add case for | |
1879 | bfd_mach_mips_sb1. | |
1880 | ||
1881 | 2000-12-01 Joel Sherrill <joel@OARcorp.com> | |
ddcfc5fc NC |
1882 | |
1883 | * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets. | |
1884 | (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. | |
1885 | (sparc*-*-rtems*): Switched from a.out to ELF. | |
1886 | ||
8d88c4ca | 1887 | 2000-11-30 Jan Hubicka <jh@suse.cz> |
d952f17a AM |
1888 | |
1889 | * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo | |
1890 | BFD64_BACKENDS_CFILES): Add elf64-x86-64.c | |
1891 | (elf64-x86-64.lo): Add dependencies. | |
1892 | * archures.c (DESCRIPTION): Add bfd_mach_x86_64, | |
1893 | bfd_mach_x86_64_intel_syntax. | |
1894 | * elf.c (prep_headers): Use EM_x86_64 for 64bit output. | |
1895 | * config.bfd (x86_64): Add. | |
1896 | * configure.in: Add support for bfd_elf64_x86_64_vec. | |
1897 | * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add. | |
1898 | (bfd_i386_arch, i8086_ar): Link in. | |
1899 | * elf64-x86-64.c: New file. | |
1900 | * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*. | |
1901 | * targets.c (bfd_elf64_x86_64_vec): Add. | |
1902 | (bfd_target_vect): Add bfd_elf64_x86_64_vec. | |
8d88c4ca | 1903 | |
fbc4fff4 KH |
1904 | 2000-11-30 Kazu Hirata <kazu@hxi.com> |
1905 | ||
1906 | * xcofflink.c: Fix formatting. | |
1907 | ||
e60b52c6 KH |
1908 | 2000-11-28 Kazu Hirata <kazu@hxi.com> |
1909 | ||
1910 | * aoutx.h: Fix formatting. | |
1911 | * bfd-in.h: Likewise. | |
1912 | * bfd-in2.h: Likewise. | |
1913 | * cache.c: Likewise. | |
1914 | * cisco-core.c: Likewise. | |
1915 | * coff64-rs6000.c: Likewise. | |
1916 | * coffcode.h: Likewise. | |
1917 | * coffswap.h: Likewise. | |
1918 | * corefile.c: Likewise. | |
be3ccd9c | 1919 | * elf32-mips.c: Likewise. |
e60b52c6 | 1920 | |
336eced2 KH |
1921 | 2000-11-27 Kazu Hirata <kazu@hxi.com> |
1922 | ||
1923 | * aout-adobe.c: Fix formatting. | |
244148ad KH |
1924 | * coff64-rs6000.c: Likewise. |
1925 | * coffgen.c: Likewise. | |
1926 | * cofflink.c: Likewise. | |
336eced2 | 1927 | |
d71f672e PB |
1928 | 2000-11-27 Philip Blundell <pb@futuretv.com> |
1929 | ||
1930 | * libcoff-in.h (coff_tdata): Add `strings_written' flag. | |
1931 | (obj_coff_strings_written): New accessor macro for above. | |
1932 | * libcoff.h: Regenerate. | |
1933 | * cofflink.c (_bfd_coff_final_link): Say that we wrote the | |
1934 | strings. | |
1935 | * coffcode.h (coff_write_object_contents): No need to write out | |
1936 | the string table if it's already been done. | |
1937 | ||
bc7a577d PB |
1938 | 2000-11-22 Philip Blundell <pb@futuretv.com> |
1939 | ||
d952f17a | 1940 | * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to |
bc7a577d PB |
1941 | weak undefined symbols. |
1942 | ||
077b8428 NC |
1943 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
1944 | ||
1945 | * archures.c (bfd_mach_arm_5TE): Define. | |
1946 | (bfd_mach_arm+XScale): Define. | |
1947 | * bfd-in2.h: Regenerate. | |
1948 | ||
1949 | * coff-arm.c (coff_arm_reloc_type_lookup): Accept | |
1950 | BFD_RELOC_ARM_PCREL_BLX. | |
1951 | ||
1952 | * coffcode.h (coff_set_flags): Set flags for 5t, 5te and | |
1953 | XScale machine numbers. | |
1954 | ||
1955 | * config.bfd (xscale-elf): Add target. | |
1956 | (xscale-coff): Add target. | |
1957 | ||
1958 | * cpu-arm.c: Add xscale machine name. | |
1959 | Add v5t, v5te and XScale machine numbers. | |
1960 | ||
e9e41bd9 KH |
1961 | 2000-11-23 Kazu Hirata <kazu@hxi.com> |
1962 | ||
1963 | * aix386-core.c: Fix formatting. | |
1964 | ||
64bf6ae6 JW |
1965 | 2000-11-22 Jim Wilson <wilson@redhat.com> |
1966 | ||
1967 | * coff-ia64.c (howto_table): Use EMPTY_HOWTO. | |
1968 | (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters. | |
1969 | * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise. | |
1970 | (ins_imms_scaled): Initialize sign_bit at function entry. | |
1971 | (elf64_ia64_operands): Add missing initializers. | |
1972 | * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup, | |
1973 | elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections, | |
1974 | elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name, | |
1975 | elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff, | |
1976 | elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused | |
1977 | parameters. | |
1978 | (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents, | |
1979 | and free_extsyms at function entry. | |
1980 | (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result. | |
1981 | (elfNN_ia64_create_dynamic_sections): Delete unused local h. | |
1982 | (get_got): Delete unused local srel. | |
1983 | (elfNN_ia64_check_relocs): Initialize dynrel_type when declared. | |
1984 | (elfNN_ia64_relocate_section): Delete unused local dynindx. | |
d952f17a | 1985 | |
1abaf976 KH |
1986 | 2000-11-21 Kazu Hirata <kazu@hxi.com> |
1987 | ||
6e301b2b KH |
1988 | * coff-a29k.c: Fix formatting. |
1989 | * coff-h8500.c: Likewise. | |
1990 | * coff-i960.c: Likewise. | |
1991 | * coff-ppc.c: Likewise. | |
1992 | * coff-rs6000.c: Likewise. | |
1993 | * coff-stgo32.c: Likewise. | |
1994 | * coff-tic54x.c: Likewise. | |
1995 | * coff-w65.c: Likewise. | |
1996 | * cpu-h8500.c: Likewise. | |
1997 | * cpu-hppa.c: Likewise. | |
1998 | * cpu-ns32k.c: Likewise. | |
1999 | * ecoff.c: Likewise. | |
1abaf976 KH |
2000 | * ecofflink.c: Likewise. |
2001 | ||
a0fc8ba1 NC |
2002 | 2000-11-21 Nick Clifton <nickc@redhat.com> |
2003 | ||
2004 | * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and | |
2005 | remove possibility of infinite loop. | |
2006 | ||
beb0d161 KH |
2007 | 2000-11-20 Kazu Hirata <kazu@hxi.com> |
2008 | ||
2009 | * aix386-core.c: Fix formatting. | |
2010 | * aout-adobe.c: Likewise. | |
2011 | * aout-arm.c: Likewise. | |
2012 | * aout-encap.c: Likewise. | |
2013 | * aout-ns32k.c: Likewise. | |
2014 | * aout-target.h: Likewise. | |
2015 | * aout-tic30.c: Likewise. | |
2016 | * aoutf1.h: Likewise. | |
2017 | * aoutx.h: Likewise. | |
2018 | * archive.c: Likewise. | |
eb6e10cb KH |
2019 | * bfd-in.h: Likewise. |
2020 | * bfd-in2.h: Likewise. | |
2021 | * bfd.c: Likewise. | |
2022 | * bout.c: Likewise. | |
beb0d161 | 2023 | |
2c2475db JW |
2024 | 2000-11-17 H.J. Lu <hjl@gnu.org> |
2025 | ||
2026 | * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create | |
2027 | pltoff entries for DT_INIT and DT_FINI. | |
2028 | (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries. | |
2029 | (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI | |
2030 | entries. | |
2031 | ||
18b27f17 RH |
2032 | 2000-11-16 Richard Henderson <rth@redhat.com> |
2033 | ||
2034 | * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs. | |
2035 | (allocate_dynrel_entries): Likewise. | |
2036 | (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly. | |
2037 | (set_pltoff_entry): Likewise. | |
2038 | (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB | |
2039 | (elfNN_ia64_reloc_type_lookup): Likewise. | |
2040 | (elfNN_ia64_install_value): Likewise. | |
2041 | (elfNN_ia64_relocate_section): Likewise. | |
2042 | * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove. | |
2043 | (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove. | |
2044 | ||
98591c73 KH |
2045 | 2000-11-16 Kazu Hirata <kazu@hxi.com> |
2046 | ||
71f6b586 KH |
2047 | * cpu-a29k.c: Fix formatting. |
2048 | * cpu-alpha.c: Likewise. | |
2049 | * cpu-arm.c: Likewise. | |
2050 | * cpu-avr.c: Likewise. | |
2051 | * cpu-d10v.c: Likewise. | |
2052 | * cpu-h8500.c: Likewise. | |
2053 | * cpu-hppa.c: Likewise. | |
2054 | * cpu-i370.c: Likewise. | |
2055 | * cpu-i386.c: Likewise. | |
2056 | * cpu-i960.c: Likewise. | |
2057 | * cpu-ia64-opc.c: Likewise. | |
2058 | * cpu-ia64.c: Likewise. | |
2059 | * cpu-m32r.c: Likewise. | |
2060 | * cpu-m68hc11.c: Likewise. | |
2061 | * cpu-m68hc12.c: Likewise. | |
2062 | * cpu-m68k.c: Likewise. | |
2063 | * cpu-m88k.c: Likewise. | |
2064 | * cpu-mips.c: Likewise. | |
2065 | * cpu-ns32k.c: Likewise. | |
2066 | * cpu-pj.c: Likewise. | |
2067 | * cpu-powerpc.c: Likewise. | |
2068 | * cpu-sh.c: Likewise. | |
2069 | * cpu-sparc.c: Likewise. | |
2070 | * cpu-tic54x.c: Likewise. | |
2071 | * cpu-v850.c: Likewise. | |
2072 | * cpu-vax.c: Likewise. | |
2073 | * cpu-w65.c: Likewise. | |
2074 | * cpu-we32k.c: Likewise. | |
2075 | * cpu-z8k.c: Likewise. | |
2076 | * dwarf1.c: Likewise. | |
98591c73 KH |
2077 | * dwarf2.c: Likewise. |
2078 | ||
c5930ee6 KH |
2079 | 2000-11-15 Kazu Hirata <kazu@hxi.com> |
2080 | ||
2081 | * coff-arm.c: Fix formatting. | |
2082 | * coff-ppc.c: Likewise. | |
2083 | * coff-rs6000.c: Likewise. | |
cbfe05c4 KH |
2084 | * coff-sh.c: Likewise. |
2085 | * coff-sparc.c: Likewise. | |
2086 | * coff-tic30.c: Likewise. | |
2087 | * coff-tic54x.c: Likewise. | |
2088 | * coff-tic80.c: Likewise. | |
2089 | * coff-w65.c: Likewise. | |
2090 | * coff-we32k.c: Likewise. | |
2091 | * coff-z8k.c: Likewise. | |
c5930ee6 | 2092 | |
dac544a8 RH |
2093 | 2000-11-15 Richard Henderson <rth@redhat.com> |
2094 | ||
2095 | * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc | |
2096 | section with the same ALLOC|LOAD flags as the source section. | |
2097 | ||
c810873d JJ |
2098 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
2099 | ||
2100 | * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used | |
2101 | by STO_ALPHA constants. | |
2102 | ||
43646c9d KH |
2103 | 2000-11-14 Kazu Hirata <kazu@hxi.com> |
2104 | ||
2105 | * coff-pmac.c: Fix formatting. | |
2106 | * coff-ppc.c: Likewise. | |
2107 | ||
051b8577 L |
2108 | 2000-11-13 H.J. Lu <hjl@gnu.org> |
2109 | ||
2110 | * elflink.h (elf_link_add_object_symbols): Also add indirect | |
2111 | symbols for common symbols with the default version. | |
2112 | ||
90460d97 PB |
2113 | 2000-11-09 Philip Blundell <pb@futuretv.com> |
2114 | ||
2115 | * section.c (STD_SECTION): Set gc_mark flag. | |
2116 | ||
b48499ec KH |
2117 | 2000-11-11 Kazu Hirata <kazu@hxi.com> |
2118 | ||
2119 | * coff-i960.c: Likewise. | |
2120 | * coff-m68k.c: Likewise. | |
2121 | * coff-m88k.c: Likewise. | |
2122 | * coff-mcore.c: Likewise. | |
2123 | * coff-mips.c: Likewise. | |
2124 | ||
c5aeb40f AO |
2125 | 2000-11-11 Bernd Schmidt <bernds@cygnus.co.uk> |
2126 | ||
2127 | * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs. | |
2128 | ||
5fcfd273 KH |
2129 | 2000-11-10 Kazu Hirata <kazu@hxi.com> |
2130 | ||
2131 | * coff-h8300.c: Fix formatting. | |
2132 | * coff-h8500.c: Likewise. | |
2133 | * coff-i386.c: Likewise. | |
2134 | * coff-i860.c: Likewise. | |
2135 | * coff-i960.c: Likewise. | |
2136 | * coff-ia64.c: Likewise. | |
2137 | ||
047066e1 KH |
2138 | 2000-11-09 Kazu Hirata <kazu@hxi.com> |
2139 | ||
2140 | * archive.c: Fix formatting. | |
2141 | * archures.c: Likewise. | |
2142 | ||
9a951beb RH |
2143 | 2000-11-07 Richard Henderson <rth@redhat.com> |
2144 | ||
2145 | * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec. | |
2146 | Set it before bfd_elf64_bfd_final_link call. Use it after the call. | |
2147 | * section.c (bfd_set_section_contents): Call memcpy if | |
2148 | section->contents set and location not equal to contents plus offset. | |
2149 | ||
aebad5fe KH |
2150 | 2000-11-08 Kazu Hirata <kazu@hxi.com> |
2151 | ||
8546af74 KH |
2152 | * bfd-in.h: Fix formatting. |
2153 | * bfd-in2.h: Likewise. | |
2154 | * bfd.c: Likewise. | |
aebad5fe KH |
2155 | * binary.c: Likewise. |
2156 | * bout.c: Likewise. | |
346ceb11 KH |
2157 | * coff-a29k.c: Likewise. |
2158 | * coff-alpha.c: Likewise. | |
2159 | * coff-apollo.c: Likewise. | |
2160 | * coff-aux.c: Likewise. | |
aebad5fe | 2161 | |
0ef5a5bd KH |
2162 | 2000-11-07 Kazu Hirata <kazu@hxi.com> |
2163 | ||
2164 | * aix386-core.c: Fix formatting. | |
2165 | * aoutf1.h: Likewise. | |
2166 | * aoutx.h: Likewise. | |
2167 | * archures.c: Likewise. | |
2168 | * armnetbsd.c: Likewise. | |
2169 | ||
d562d2fb AM |
2170 | 2000-11-07 Alan Modra <alan@linuxcare.com.au> |
2171 | ||
2172 | * coff-h8300.c (special): Adjust reloc address. | |
2173 | ||
bbe66d08 JW |
2174 | 2000-11-06 Steve Ellcey <sje@cup.hp.com> |
2175 | ||
4efc3e05 | 2176 | * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines |
bbe66d08 JW |
2177 | to differentiate elf32 and elf64 on ia64. |
2178 | * bfd-in2.h: Regenerate. | |
2179 | * config.bfd: Add target for "ia64*-*-hpux*". | |
2180 | * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch. | |
2181 | * configure: Regenerate. | |
4efc3e05 | 2182 | * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure. |
bbe66d08 JW |
2183 | * targets.c: Add bfd_target bfd_elf32_ia64_big_vec. |
2184 | ||
2185 | * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects | |
2186 | from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo. | |
2187 | * Makefile.in: Regnerate. | |
4efc3e05 | 2188 | * elf64-ia64.c: Deleted. |
bbe66d08 JW |
2189 | * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c. |
2190 | ||
c4dfa77f KH |
2191 | 2000-11-06 Kazu Hirata <kazu@hxi.com> |
2192 | ||
2193 | * aout-adobe.c: Fix formatting. | |
2194 | * aout-arm.c: Likewise. | |
2195 | * aout-cris.c: Likewise. | |
2196 | * aout-encap.c: Likewise. | |
2197 | * aout-ns32k.c: Likewise. | |
2198 | * aout-target.h: Likewise. | |
2199 | * aout-tic30.c: Likewise. | |
2200 | ||
cf919dfd PB |
2201 | 2000-11-05 Philip Blundell <philb@gnu.org> |
2202 | ||
2203 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit | |
2204 | BFDs containing no sections to be merged, regardless of their flags. | |
2205 | ||
2206 | 2000-11-04 Philip Blundell <philb@gnu.org> | |
2207 | ||
2208 | * elf32-arm.h (elf32_arm_relocate_section): Suppress error message | |
2209 | if a relocation for an undefined symbol also results in an | |
2210 | overflow. | |
2211 | ||
8d88c4ca | 2212 | 2000-11-06 Christopher Faylor <cgf@cygnus.com> |
8848a8d0 CF |
2213 | |
2214 | * config.bfd: Add support for Sun Chorus. | |
2215 | ||
46d59bfa DB |
2216 | 2000-11-05 David O'Brien <obrien@FreeBSD.org> |
2217 | ||
2218 | * configure.in: Recognize alpha-*-freebsd*. | |
2219 | * configure: Regenerate. | |
2220 | ||
d952f17a | 2221 | 2000-11-02 Luciano Gemme <ishitawa@yahoo.com> |
420496c1 NC |
2222 | |
2223 | * srec.c (CHUNK): Rename to DEFAULT_CHUNK. | |
2224 | (Chunk): New global variable set by a parameter in objcopy.c. | |
2225 | (S3Forced): New global variable set by a parameter in | |
2226 | objcopy.c. | |
2227 | (srec_set_section_contents): If S3Forced is true, always generate | |
2228 | S3 records. | |
2229 | (srec_write_section): Use 'Chunk' to limit maximum length of S | |
2230 | records. | |
2231 | ||
59ff2774 NC |
2232 | 2000-11-02 Per Lundberg <plundis@chaosdev.org> |
2233 | ||
2234 | * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos. | |
2235 | * Makefile.in: Regenerate. | |
2236 | * bfd-in2.h: Regenerate. | |
2237 | * po/bfd.pot: Regenerate. | |
d952f17a | 2238 | |
ee43f35e PB |
2239 | 2000-10-31 Philip Blundell <philb@gnu.org> |
2240 | ||
2241 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle | |
2242 | EF_SOFT_FLOAT if it is defined. | |
2243 | ||
1006ba19 PB |
2244 | 2000-10-27 Philip Blundell <philb@gnu.org> |
2245 | ||
2246 | * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse | |
2247 | attempts to mix PIC code with non-PIC, just mark the output as | |
2248 | being position dependent. | |
d952f17a AM |
2249 | (elf32_arm_merge_private_bfd_data): Likewise. Print an error |
2250 | message for EF_SOFT_FLOAT mismatches. Display diagnostics for | |
1006ba19 | 2251 | all mismatches, not just the first one. |
d952f17a | 2252 | |
c4920b97 NC |
2253 | 2000-10-25 Chris Demetriou <cgd@sibyte.com> |
2254 | ||
2255 | * ieee.c (ieee_archive_p): Plug one of many possible | |
2256 | memory leaks in error handling. | |
2257 | ||
19f7b010 JJ |
2258 | 2000-10-20 Jakub Jelinek <jakub@redhat.com> |
2259 | ||
2260 | * elf32-sparc.c (elf32_sparc_merge_private_bfd_data, | |
2261 | elf32_sparc_object_p, elf32_sparc_final_write_processing): | |
2262 | Support v8plusb. | |
2263 | * elf64-sparc.c (sparc64_elf_merge_private_bfd_data, | |
2264 | sparc64_elf_object_p): Support v9b. | |
2265 | * archures.c: Declare v8plusb and v9b machines. | |
2266 | * bfd-in2.h: Ditto. | |
2267 | * cpu-sparc.c: Ditto. | |
2268 | ||
e1e0340b GK |
2269 | 2000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com> |
2270 | ||
ea5fbc67 GK |
2271 | * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location |
2272 | of a GOT reloc. | |
2273 | ||
e1e0340b GK |
2274 | * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro. |
2275 | (SYMBOL_CALLS_LOCAL): New macro. | |
2276 | (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL. | |
2277 | (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL. | |
2278 | (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL. | |
2279 | (ppc_elf_relocate_section): Use flag variable to determine | |
2280 | whether the relocation refers to a local symbol. | |
2281 | Test whether a PLTREL24 reloc will produce a reloc by looking | |
2282 | to see whether a PLT entry was made. | |
2283 | ||
a4b120e1 GK |
2284 | 2000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com> |
2285 | ||
2286 | * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT | |
2287 | entries that could serve as a definition for a weak symbol. | |
2288 | ||
5af5b85b UC |
2289 | 2000-10-13 Ulf Carlsson <ulfc@engr.sgi.com> |
2290 | ||
2291 | From Ralf Baechle <ralf@gnu.org> | |
2292 | ||
2293 | * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument | |
2294 | local_p. Add symbol value only for non-R_MIPS_REL32 relocations | |
2295 | against local symbols. | |
2296 | (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01. | |
d952f17a | 2297 | |
3ef20aaa AM |
2298 | 2000-10-12 Alan Modra <alan@linuxcare.com.au> |
2299 | ||
24376d1b AM |
2300 | * section.c (struct sec): Add kept_section. |
2301 | (struct bfd_comdat_info): Remove sec, we can use above. | |
2302 | (STD_SECTION): Add initializer. | |
2303 | (bfd_make_section_anyway): Init here too. | |
2304 | ||
2305 | * bfd-in2.h: Regenerate. | |
2306 | ||
2307 | * elflink.h (elf_link_add_object_symbols): Remove unnecessary | |
d952f17a | 2308 | zeroing of `flags'. |
24376d1b AM |
2309 | (elf_link_input_bfd): Set all asection->symbol->value's here, and |
2310 | fudge values for discarded link-once section symbols. | |
2311 | ||
3ef20aaa AM |
2312 | * elf64-hppa.c: Include alloca-conf.h |
2313 | ||
c0e219cc AM |
2314 | 2000-10-11 Alan Modra <alan@linuxcare.com.au> |
2315 | ||
d01e2a23 AM |
2316 | * elf.c (swap_out_syms): Revert 2000-10-07 changes. |
2317 | ||
c0e219cc AM |
2318 | * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg. |
2319 | ||
fe268b66 AM |
2320 | 2000-10-10 Alan Modra <alan@linuxcare.com.au> |
2321 | ||
2322 | * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc. | |
2323 | ||
4d7ce4dd AM |
2324 | 2000-10-10 Tom Rix <trix@redhat.com> |
2325 | ||
d952f17a | 2326 | * section.c (bfd_make_section_anyway): Release newsect ptr when |
4d7ce4dd AM |
2327 | newsect->symbol fails to alloc. Use bfd_release instead of free. |
2328 | ||
f3b6f7c3 RH |
2329 | 2000-10-09 Richard Henderson <rth@cygnus.com |
2330 | ||
2331 | * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New. | |
2332 | (elf64_ia64_unwind_entry_compare): New. | |
2333 | (elf64_ia64_final_link): Sort the .IA_64.unwind section. | |
2334 | ||
44852b19 AM |
2335 | 2000-10-07 Alan Modra <alan@linuxcare.com.au> |
2336 | ||
fc8c40a0 AM |
2337 | * elflink.h (size_dynamic_sections): Don't create various tags if |
2338 | .dynstr is excluded from the link. Don't set first dynsym entry | |
2339 | if dynsymcount is zero. | |
2340 | (elf_bfd_final_link): Don't try to swap out dynamic syms if | |
2341 | .dynsym excluded from the link. Don't try to write any dynamic | |
2342 | sections excluded from the link. | |
2343 | ||
44852b19 AM |
2344 | * elf.c (swap_out_syms): Handle global section symbols. |
2345 | ||
3e4554a2 DD |
2346 | 2000-10-05 DJ Delorie <dj@redhat.com> |
2347 | ||
2348 | * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs | |
2349 | * coffcode.h (coff_set_alignment_hook): read extended reloc count | |
2350 | (coff_write_relocs): write extended reloc count | |
2351 | (coff_write_object_contents): account for extended relocs | |
2352 | ||
fa152c49 JW |
2353 | 2000-10-05 Jim Wilson <wilson@cygnus.com> |
2354 | ||
2355 | * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags | |
2356 | field. | |
2357 | * elf.c (_bfd_elf_make_section_from_shdr): Call the | |
2358 | elf_backend_section_flags function. | |
2359 | * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion | |
2360 | code. | |
2361 | (elf64_ia64_section_flags): New function containing flag conversion | |
2362 | code. | |
2363 | (elf_backend_section_flags): Define to elf64_ia64_section_flags. | |
2364 | * elfxx-target.h (elf_backend_section_flags): Define. | |
2365 | (elfNN_bed): Initialize elf_backend_section_flags field. | |
2366 | ||
36605136 AM |
2367 | 2000-10-02 Alan Modra <alan@linuxcare.com.au> |
2368 | ||
2369 | * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to | |
2370 | _bfd_elf32_gc_record_vtable. Correct a comment. | |
2371 | ||
4b6609a0 UC |
2372 | 2000-10-01 Ulf Carlsson <ulfc@engr.sgi.com> |
2373 | ||
2374 | From Ralf Baechle <ralf@gnu.org> | |
2375 | ||
2376 | * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld | |
2377 | produces binaries with got[1] = 0x80000001 to differenciate them | |
2378 | for the dynamic linker from the broken binaries produced by old | |
2379 | versions. | |
36605136 | 2380 | |
f572a39d AM |
2381 | 2000-09-30 Petr Sorfa <petrs@sco.com> |
2382 | ||
2383 | * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t. | |
2384 | (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t. | |
2385 | * configure.in: Add check for pxstatus_t and lwpxstatus_t. | |
2386 | * configure: Regenerate. | |
2387 | ||
4da81684 HPN |
2388 | 2000-09-27 Hans-Peter Nilsson <hp@axis.com> |
2389 | ||
2390 | Define two bfd_targets for absence and presence of leading | |
2391 | underscore on symbols. Make sure to only link same kind. | |
2392 | * elf32-cris.c (cris_elf_object_p, | |
2393 | cris_elf_final_write_processing, cris_elf_print_private_bfd_data, | |
2394 | cris_elf_merge_private_bfd_data): New. | |
2395 | (elf_backend_object_p, elf_backend_final_write_processing, | |
2396 | bfd_elf32_bfd_print_private_bfd_data, | |
2397 | bfd_elf32_bfd_merge_private_bfd_data): Define. | |
2398 | <Target vector definition>: Include elf32-target.h twice with | |
2399 | different macro settings: | |
2400 | (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as | |
2401 | bfd_elf32_us_cris_vec. | |
2402 | (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris". | |
2403 | (elf_symbol_leading_char): First as 0, then '_'. | |
2404 | (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h. | |
2405 | * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs. | |
2406 | * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector. | |
2407 | * configure: Regenerate. | |
2408 | * targets.c: Declare bfd_elf32_us_cris_vec. | |
2409 | * po/bfd.pot: Regenerate. | |
2410 | ||
9a5aca8c AM |
2411 | 2000-09-29 Momchil Velikov <velco@fadata.bg> |
2412 | ||
2413 | * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for | |
2414 | R_ARM_THM_PC22 relocations. | |
2415 | ||
512a2384 AM |
2416 | 2000-09-29 NIIBE Yutaka <gniibe@chroot.org> |
2417 | ||
2418 | * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath. | |
2419 | ||
6c99a5c3 AM |
2420 | 2000-09-29 Momchil Velikov <velco@fadata.bg> |
2421 | ||
2422 | * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if | |
2423 | is has the SEC_HAS_CONTENTS flag set. | |
2424 | ||
64e9ece0 | 2425 |