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