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