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