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