2000-07-06 Michael Snyder <msnyder@cleaver.cygnus.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
302ab118
DD
12000-06-05 DJ Delorie <dj@redhat.com>
2
3 * MAINTAINERS: new
4
ed1de528
AO
52000-07-04 Alexandre Oliva <aoliva@redhat.com>
6
7 * coff-arm.c (coff_arm_relocate_section): Do not ignore the symbol
8 value of PC-relative offsets.
9
70bcb145
JW
102000-07-03 Jim Wilson <wilson@cygnus.com>
11
12 * elf64-alpha.c (alpha_elf_size_info): New.
13 (elf_backend_size_info): Define to alpha_elf_size_info.
14 * elfcode.h (elf_size_info): Change hash bucket size to 4.
15
b8ee63fa
UC
162000-07-03 Ulf Carlsson <ulfc@engr.sgi.com>
17
18 * elf32-mips.c: Include elf32-target.h again for the traditional
19 MIPS targets.
20
00d2865b
NC
212000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
22
23 * elf32-avr.c (bfd_elf32_bfd_reloc_type_lookup):
24 Add ATTRIBUTE_UNUSED to unused arguments to avoid warnings.
25 (avr_info_to_howto_rela): Likewise.
26 (elf32_avr_gc_mark_hook): Likewise.
27 (elf32_avr_gc_sweep_hook): Likewise.
28 (elf32_avr_relocate_section): Likewise.
29
e4202681
NC
302000-07-03 Mark Elbrecht <snowball3@bigfoot.com>
31
32 * cofflink.c (_bfd_coff_write_global_sym): Turn a weak symbol into
33 an external symbol for a non-shared, non-relocatable link.
34
352000-07-03 Nick Clifton <nickc@redhat.com>
36
99d6ac2f
NC
37 * cofflink.c (IS_EXTERNAL): New macro: Return true if the symbol
38 is an external symbol.
e4202681
NC
39 (IS_WEAK_EXTERNAL): New macro: Return true if the symbol is a weak
40 external symbol.
41
289c596c
NC
422000-07-03 Kazu Hirata <kazu@hxi.com>
43
44 * reloc16.c: Fix formatting.
45
dd745cfa
UC
462000-07-01 Koundinya K <kk@ddeorg.soft.net>
47
48 * config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4*
49 to add a new target for traditional mips i.e
50 bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec.
51 * configure.in: Likewise.
52 * configure: Rebuild.
53 * targets.c (bfd_elf32_tradbigmips_vec): Declare and put in
54 bfd_target_vector.
55 (bfd_elf32_tradlittlemips_vec): Likewise.
56 * elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test
57 to see that elfNN_bed does not get redefined even if the target file
58 is included twice for a chip. See elf32-mips.c.
59
0bdaf48b
AM
602000-07-01 Alan Modra <alan@linuxcare.com.au>
61
62 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
63 (CLEANFILES): Add DEPA.
64 * Makefile.in: Regenerate.
65
c75df619
DD
662000-06-30 DJ Delorie <dj@cygnus.com>
67
68 * peicode.h (coff_swap_filehdr_in): can't use e_magic because we
69 can't assume the PE header is at 0x80.
70
b4b415e5
DD
712000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
72
cda43a1d 73 * syms.c (_bfd_stab_section_find_nearest_line): Use IS_ABSOLUTE_PATH.
b4b415e5 74
addd3117
DD
752000-06-28 Mark Elbrecht <snowball3@bigfoot.com>
76
77 * go32stub.h: Update stub.
78
65aa24b6
NC
792000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
80
81 * archures.c (bfd_mach_avr5): Define.
82 * bfd-in2.h (bfd_mach_avr5): Define.
83 * cpu-avr.c (arch_info_struct): Rename bfd_mach_avr4 to
84 bfd_mach_avr5, add bfd_mach_avr4. Update comments.
85 (compatible): Update comment. Add missing test.
86 * elf32-avr.c (avr_final_link_relocate): Support 8K wrap
87 for avr2 and avr4. Simplify 8K wrap code.
88 (bfd_elf_avr_final_write_processing): Recognize bfd_mach_avr5.
89 (elf32_avr_object_p): Recognize E_AVR_MACH_AVR5.
90
cc040812
NC
912000-06-26 Kazu Hirata <kazu@hxi.com>
92
93 * coff-h8300.c: Fix formatting.
94 * cpu-h8300.c: Likewise.
95
b1bcb49f
AO
962000-06-24 Alexandre Oliva <aoliva@redhat.com>
97
98 * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)'
99 for local symbols whose names are unknown.
100
1581f8c9
AM
1012000-06-22 Alan Modra <alan@linuxcare.com.au>
102
103 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
104 find one.
105 * Makefile.in: Regenerate.
106 * doc/Makefile.in: Regenerate.
107
bbeb2e03
L
1082000-06-20 H.J. Lu <hjl@gnu.org>
109
110 * Makefile.am: Rebuild dependency.
111 * Makefile.in: Rebuild.
112
8a20f077
UC
1132000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
114
115 * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): New function.
116 (elf_backend_copy_indirect_symbol): Map to the new function.
117
2ab47eed
AM
1182000-06-20 Alan Modra <alan@linuxcare.com.au>
119
120 * archive.c (normalize): Correct pointer comparison when checking
121 for backslashes.
122 (bfd_bsd_truncate_arname): Likewise.
123 (bfd_gnu_truncate_arname): Likewise.
124
b305ef96
UC
1252000-06-20 Ulf Carlsson <ulfc@engr.sgi.com>
126
127 * elf-bfd.h (struct elf_obj_tdata): Define per BFD Irix 5 virtual
128 sections elf_{text,data}_{section,symbol}.
129 * elf32-mips.c: mips_elf_{text,data}_{section,symbol}{,_ptr}: Remove.
130 (_bfd_mips_elf_hide_symbol): New function.
131 (elf_backend_hide_symbol): Map to the new function.
132 (_bfd_mips_elf_add_symbol_hook): Change to use new per BFD
133 definitions of mips_elf_{text,data}_{section,symbol}.
134 (mips_elf_local_relocation_p): Try to find the direct symbol
135 based on new check_forced argument.
136 (mips_elf_calculate_relocation): Use new version of
137 mips_elf_local_relocation_p.
138 (mips_elf_relocate_section): Likewise.
139 (_bfd_mips_elf_relocate_section): Likewise.
140 (mips_elf_sort_hash_table): Only assert that have enough GOT
141 space.
142 (mips_elf_got16_entry): Match all 32 bits to the existing GOT
143 entry if the relocation based on the new external argument.
144 (mips_elf_create_dynamic_relocation): Assert that we have a
145 section contents allocated where we can swap out the dynamic
146 relocations.
147 (mips_elf_calculate_relocation): Find the real hash-table entry
148 correctly by using h->root.root.type. Only create a dynamic
149 relocation entry if the symbol is defined in a shared library.
150 Create an external GOT entry for the GOT16 relocation if the
151 symbol was forced local.
152 (_bfd_mips_elf_finish_dynamic_symbol): Don't assert there is a
153 dynamic index if the symbol was forced local.
154
1552000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
156
157 * elf32-mips.c: Fix typos in comments.
158
1605fc4f
MK
1592000-06-19 Mark Kettenis <kettenis@gnu.org>
160
161 * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef
162 CORE_VERSION_1.
163
60bcf0fa
NC
1642000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
165
166 * Makefile.in, bfd-in2.h, libbfd.h, configure: Rebuild.
167 * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS,
168 BFD32_BACKENDS_CFILES): Add 68hc12, 68hc11 files.
169 * configure.in (bfd_elf32_m68hc12_vec): Recognize.
170 (bfd_elf32_m68hc11_vec): Likewise.
171 * config.bfd (targ_cpu): Recognize 68hc12 and 68hc11.
172 Supports 68hc11 & 68hc12 at the same time.
173 * targets.c (bfd_elf32_m68hc12_vec): Declare and put in
174 bfd_target_vector.
175 (bfd_elf32_m68hc11_vec): Likewise.
176 * elf.c (prep_headers): Recognize bfd_arch_m68hc12 and 68hc11.
177 * archures.c (bfd_m68hc12_arch): Define and register in global list
178 (bfd_m68hc11_arch): Likewise.
179 * reloc.c (BFD_RELOC_M68HC11_HI8, BFD_RELOC_M68HC11_LO8,
180 BFD_RELOC_M68HC11_3B): Define.
181 * cpu-m68hc12.c, elf32-m68hc12.c: New files for 68hc12 support.
182 * cpu-m68hc11.c, elf32-m68hc11.c: New files for 68hc11 support.
183
f41cbf03
UC
1842000-06-18 Ulf Carlsson <ulfc@engr.sgi.com>
185
186 * elf_bfd.h (struct elf_backend_data): Add info argument to
187 elf_backend_hide_symbol.
188 (_bfd_elf_link_hash_hide_symbol): Likewise.
189 * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise.
190 * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise.
191 * elflink.h (elf_link_add_object_symbols): Likewise.
192 (elf_link_assign_sym_version): Likewise.
193
689be717
L
1942000-06-18 H.J. Lu <hjl@gnu.org>
195
196 * coff-i386.c (coff_i386_reloc): Don't return in case of
197 output_bfd == (bfd *) NULL if COFF_WITH_PE is defined.
198 Compensate PE relocations when linking with non-PE object
199 files to generate a non-PE executable.
200
9a8f3bb7
UC
2012000-06-17 Ulf Carlsson <ulfc@engr.sgi.com>
202
203 * elf32-mips.c (mips_elf_calculate_relocation): Explicitly write
204 GOT entries if we're doing a static link or -Bsymbolic link.
205
32f0787a
UC
2062000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
207
208 * elflink.h (elf_link_adjust_relocs): Check for and call backend
209 specifific swap_reloc_{in,out} and swap_reloca_{in,out} if
210 available.
211 (elf_link_output_relocs): Likewise.
212 (elf_reloc_link_order): Likewise.
213
87f33987
ND
2142000-06-16 Nicholas Duffek <nsd@redhat.com>
215
216 * archures.c (enum bfd_architecture): #define constants for
217 PowerPc and RS6000 machine numbers.
218 * bfd-in2.h: Regenerate.
219 * coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch
220 to bfd_arch_powerpc instead of bfd_arch_rs6000. Refer to PowerPc
221 and RS6000 machine numbers using #defined constants from
222 archures.c.
223 * cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000
224 machine numbers using #defined constants from archures.c. Add
225 entries for EC603e, 630, A35, RS64II, RS64III, 7400. Specify
226 64-bit words in 620 entry.
227 * cpu-rs6000.c (arch_info_struct): Create with entries for RS1,
228 RSC, and RS2.
229 (bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k).
230
a2fdf270
ND
2312000-06-16 Nicholas Duffek <nsd@cygnus.com>
232
233 * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64.
234 * libcoff-in.h (struct xcoff_tdata): Define xcoff64 field.
235 * libcoff.h (struct xcoff_tdata): Define xcoff64 field.
236
9bd09e22
ND
2372000-06-16 Nicholas Duffek <nsd@redhat.com>
238
239 * bfd-in.h (bfd_family_coff): Define.
240 * bfd-in2.h: Regenerate.
241 * coffgen.c (coff_count_linenumbers, coff_symbol_from,
242 coff_find_nearest_line): Check COFFness using bfd_family_coff()
243 instead of bfd_target_coff_flavour.
244 * cofflink.c (_bfd_coff_final_link): Likewise.
245 * cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to
246 exclude XCOFF files.
247 * reloc.c (bfd_perform_relocation, bfd_install_relocation):
248 Likewise.
249 * targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour.
250 * xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour.
251 * xcofflink.c (XCOFF_XVECP): Delete.
252 (bfd_xcoff_link_record_set, bfd_xcoff_import_symbol,
253 bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc,
254 bfd_xcoff_record_link_assignment,
255 bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with
256 check for bfd_target_xcoff_flavour.
257
59d9f049
ND
2582000-06-16 Nicholas Duffek <nsd@redhat.com>
259
260 * rs6000-core.c: Support 64-bit core files, support pre-4.3 core
261 files on AIX 4.3.
262 (read_hdr): New function.
263 (rs6000coff_core_p): Store mstsave or __context64 struct instead
264 of trying to extract individual registers. Set abfd->arch_info
265 to match the architecture that created the core file.
266 (rs6000coff_get_section_contents): Delete.
267 * xcoff-target.h (rs6000coff_get_section_contents): Delete.
268
63e39178
L
2692000-06-14 H.J. Lu <hjl@gnu.org>
270
271 * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec)
272 is NULL.
273
bcef29e6
L
2742000-06-13 H.J. Lu <hjl@gnu.org>
275
276 * configure: Regenerate.
277
26bfd1c0
JR
278Tue Jun 13 01:28:57 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
279
280 * peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of
281 armpei_little_vec.
282
946efd95
DB
2832000-06-08 David O'Brien <obrien@FreeBSD.org>
284
285 * configure.in (VERSION): Update to show this is the CVS mainline.
286
1b452ec6
AM
2872000-06-07 Alan Modra <alan@linuxcare.com.au>
288
289 * elf32-d10v.c: Include elf/d10v.h
290 (enum reloc_type): Delete.
291 * elf32-d30v.c: Include elf/d30v.h
292 (enum reloc_type): Delete.
293
294 * Makefile.am: Run "make dep-am" to regenerate dependencies.
295 * Makefile.in: Regenerate.
296
297 * elf32-i386.c (elf_howto_table): Remove EMPTY_HOWTOs.
dc47f327
AM
298 (elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and
299 move HOWTOs into elf_howto_table.
1b452ec6 300 (R_386_standard, R_386_ext_offset): Define.
dc47f327 301 (R_386_ext, R_386_vt_offset, R_386_vt): Define.
1b452ec6 302 (elf_i386_reloc_type_lookup): Modify calculation of index into
dc47f327 303 elf_howto_table since we've removed the padding.
1b452ec6
AM
304 (elf_i386_info_to_howto_rel): Likewise.
305 (elf_i386_relocate_section): Likewise.
306
e0ebfc61
MS
3072000-06-06 Michael Snyder <msnyder@seadog.cygnus.com>
308
309 * elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t.
310
9d6eee78
L
3112000-06-05 H.J. Lu <hjl@gnu.org>
312
313 * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag
314 an error when seeing an undefined symbol with hidden/internal
315 attribute. It is handled in *_relocate_section ().
316
94b6c40a
L
3172000-06-05 H.J. Lu <hjl@gnu.org>
318
319 * elflink.h (elf_fix_symbol_flags): Follow the link for the
320 indirect symbol for the ELF_LINK_NON_ELF bit.
321 (elf_link_output_extsym): Don't output the indirect symbol even
322 if the ELF_LINK_NON_ELF bit is set.
323
0af288f3
C
3242000-06-01 J.T. Conklin <jtc@redback.com>
325
326 * config.bfd (i[3456]86-*-netbsdelf*): New target.
327 (i[3456]86-*-netbsdaout*): New target.
328 (i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs.
329 (i[3456]86-*-openbsd*): Likewise.
330
12df4d3c
AC
331Tue May 30 15:39:04 2000 Andrew Cagney <cagney@b1.cygnus.com>
332
333 * trad-core.c: From hpux-core.c, include <dirent.h> or
334 <sys/ndir.h> when possible.
335
c0ae4ccc
NC
3362000-05-31 Nick Clifton <nickc@cygnus.com>
337
338 * opintl.h (_(String)): Explain why dgettext is used instead
339 of gettext.
340
321fa097
UD
3412000-05-31 Ulrich Drepper <drepper@redhat.com>
342
343 * elf.c (_bfd_elf_slurp_version_tables): Correct reading of version
344 definitions. We must not assume they are sorted in the file
345 according to their index numbers.
346
70d72e0e
AM
3472000-05-31 Alan Modra <alan@linuxcare.com.au>
348
349 * elf-hppa.h: (elf_hppa_final_link_relocate): Use e_rsel field
350 selector for R_PARISC_PCREL17R. R_PARISC_DIR17R and
351 R_PARISC_DIR17F are for absolute branches; Handle them as such.
352
96f6d4c4
NC
3532000-05-30 Nick Clifton <nickc@cygnus.com>
354
355 * cpu-i960.c (scan_960_mach): Accept 80960KA, 80960KB,
356 80960CA, 80960MC as valid machine names.
357
38048eb9
L
3582000-05-30 H.J. Lu <hjl@gnu.org>
359
360 * elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the
361 visibility bits if the symbol is undefined. Correctly handle
362 weak undefined symbols with hidden and internal attributes.
363
364 * elflink.h (elf_link_add_object_symbols): Always turn the
365 symbol into local if it has the hidden or internal attribute.
366
8c763017
PB
3672000-05-29 Philip Blundell <philb@gnu.org>
368
369 * ppcboot.c: Add packed attribute if compiling with GCC.
370
1ae00f9d
AM
3712000-05-29 Anatoly Vorobey <mellon@pobox.com>
372
373 * elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal.
374
4a938328
MS
3752000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>
376
377 * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus,
378 elfcore_grok_psinfo): Add code to allow debugging a 32-bit
379 corefile on a 64-bit (Sparc Solaris) host. Also clean up
380 a few old comments.
381
5af11cab
AM
3822000-05-26 Alan Modra <alan@linuxcare.com.au>
383
2114f57b
AM
384 * Makefile.am: Update dependencies with "make dep-am"
385 * Makefile.in: Regenerate.
386
5af11cab
AM
387 * sysdep.h (gettext, dgettext, dcgettext, textdomain,
388 bindtextdomain): Replace defines with those from intl/libgettext.h
389 to quieten gcc warnings.
390
3912000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
392
393 * aoutx.h (find_nearest_line): Use IS_ABSOLUTE_PATH.
394
395 * archive.c (normalize, bfd_bsd_truncate_arname,
396 bfd_gnu_truncate_arname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support
397 file names with backslashes.
398
399 * cache.c (bfd_open_file) [__MSDOS__]: Don't unlink the file
400 before opening it.
401
402 * sysdep.h: Include filenames.h.
403
b6cdd0fd
AM
4042000-05-26 Alan Modra <alan@linuxcare.com.au>
405
406 * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777.
407
f7775d95
JJ
4082000-05-26 Jakub Jelinek <jakub@redhat.com>
409
410 * elf64-sparc.c (sparc64_elf_relax_section): New.
411 (sparc64_elf_relocate_section): Optimize tail call into branch always
412 if possible.
413 * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
414 (elf32_sparc_relax_section): New.
415
6c08d697
JJ
4162000-05-26 Jakub Jelinek <jakub@redhat.com>
417
418 * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.
419 Remove unusued variables.
420 (sparc64_elf_relocate_section): Change r_symndx type to unsigned long.
421 (sparc64_elf_merge_private_bfd_data): Fix shared library case from
422 previous fix, so that shared libs really don't influence targets
423 extension mask and memory model.
424
edb72b3b
L
4252000-05-23 H.J. Lu <hjl@gnu.org>
426
427 * elf64-alpha.c (elf64_alpha_relocate_section): Check
428 h->root.other not h->other.
ba09750c
L
429 * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
430
431 * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
edb72b3b 432
3a27a730
L
4332000-05-23 H.J. Lu <hjl@gnu.org>
434
435 * elf32-i386.c (elf_i386_relocate_section): Don't allow the
436 undefined symbol with the non-default visibility attributes.
437 * elf-hppa.h (elf_hppa_relocate_section): Likewise.
438 * elf32-arm.h (elf32_arm_relocate_section): Likewise.
439 * elf32-i370.c (i370_elf_relocate_section): Likewise.
440 * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
441 * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
442 * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
443 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
444 * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
445 * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
446 * elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
447 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
448
748abff6
RH
4492000-05-22 Richard Henderson <rth@cygnus.com>
450
451 * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
452 PCREL22, PCREL64I. Zero size of special relocs.
453 (elf64_ia64_reloc_type_lookup): Likewise.
454 (USE_BRL, oor_brl, oor_ip): New.
455 (elf64_ia64_relax_section): New.
456 (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
457 (elf64_ia64_install_value): Likewise, plus PCREL21BI.
458 (elf64_ia64_relocate_section): Likewise.
459 (bfd_elf64_bfd_relax_section): New.
460 * reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
461 (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
462 * bfd-in2.h, libbfd.h: Regenerate.
463
fb67355a
NC
4642000-05-22 Nick Clifton <nickc@cygnus.com>
465
466 * configure.in : Add peigen.lo to MIPS PE targets.
467 * configure: Regenerate.
468
1fe494a5
NC
4692000-05-22 Momchil Velikov <velco@fadata.bg>
470
471 * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess
748abff6 472 only if it is known for both input and output bfds. Separate
1fe494a5
NC
473 error message strings as in some languages, it may be necessary
474 to change more than one place in the string to change between
475 'big' and 'little'.
476
477 * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline
478 endianess checks, call _bfd_generic_verify_endian_match() instead.
479
480 * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise.
481
482 * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise.
483
484 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify
485 endianess before checking bfd flavours.
486
32c092c3
L
4872000-05-22 H.J. Lu <hjl@gnu.org>
488
489 * elflink.h (elf_link_output_extsym): Clear the visibility
490 field for symbols not defined locally.
491
df6d9773
JL
4922000-05-18 Alan Modra <alan@linuxcare.com.au>
493
494 * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
495 re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
496 (hppa_rebuild_insn): Mask immediate bits here instead.
497 * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
498
7ad34365
NC
4992000-05-18 Momchil Velikov <velco@fadata.bg>
500
501 * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting
502 relocs for an executable, ensure that they are virtual addresses.
503
d1dab720
JL
504Thu May 18 10:55:47 2000 Jeffrey A Law (law@cygnus.com)
505
506 * config.bfd (hppa*64*-*-hpux11*): New target triplet.
507
a712da20
NC
5082000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
509 Rick Gorton <gorton@scrugs.lkg.dec.com>
510
511 * elflink.h: Add emitrelocations support: when enabled, relocation
512 information and relocation sections are put into final output
513 executables. If the emitrelocations flag is set, do the following:
514 (elf_bfd_final_link): Emit relocation sections.
515 (elf_link_input_bfd): Compute relocation section contents.
516 (elf_gc_sections): Don't clean relocation sections.
517
10febd84
CM
5182000-05-16 Catherine Moore <clm@cygnux.com>
519
520 * som.c (som_decode_symclass): Recognize weak symbols.
521
db8503c4
AM
5222000-05-16 Szabolcs Szakacsits <szaka@F-Secure.com>
523
524 * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that
525 read idata section only from dataoff.
526 (pe_print_edata): Correctly check for valid eat_member.
527
851cde10
JR
528Tue May 16 00:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
529
530 * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
531
1bde2d57
PB
5322000-05-14 Philip Blundell <philb@gnu.org>
533
534 * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets.
535
a76b448c
AM
5362000-05-12 Alan Modra <alan@linuxcare.com.au>
537
9ee25201
AM
538 * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec
539
a76b448c
AM
540 * peigen.c (pe_print_idata): Look for .idata section and print
541 info even if data directory has zero entries. Read idata section
542 starting from dataoff, and adjust all data offsets to suit. Cast
543 all bfd_vma vars to unsigned long before passing to fprintf.
544 * peigen.c (pe_print_edata): Similarly, look for .edata section
545 and print info even if data directory has zero entries. Cast
546 all bfd_vma vars to unsigned long before passing to fprintf.
547
548 From Szabolcs Szakacsits <szaka@F-Secure.com>
549 * peigen.c (pe_print_idata): Use bfd_section_size rather than data
550 directory size which may be bogus.
551 * peigen.c (pe_print_edata): Similarly.
552
72730e0c
AM
5532000-05-09 Alan Modra <alan@linuxcare.com.au>
554
555 * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela
556 section is empty.
557 (copy_private_bfd_data): Allow for space possibly taken up by elf
558 headers when calculating segment physical address from lma.
559
8181c403
AM
5602000-05-08 Alan Modra <alan@linuxcare.com.au>
561
bfde9f99
AM
562 * versados.c (versados_scan): Init stringlen and pass_2_done.
563
b35efbcd
AM
564 * trad-core.c (trad_unix_core_file_p): Return
565 bfd_error_wrong_format rather than bfd_error_file_truncated.
566
8181c403
AM
567 * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to
568 add_data_entry. DataDirectory virtual address is relative.
569 (pe_print_idata): Account for relative DataDirectory virtual
570 addresses. Don't trash datasize inside POWERPC_LE_PE code.
571 (pe_print_edata): Similarly.
572
573 From Szabolcs Szakacsits <szaka@F-Secure.com>
574 * peigen.c (dir_names): Add Delay Import Directory.
575 (pe_print_idata): Always search for bfd section containing
576 idata address rather than looking up section name. Print this
577 section name rather than .idata.
578 (pe_print_edata): Similarly. Also print some fields as %08lx.
579 (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as
580 Win32Version.
581
2c38bc20
CP
582Fri May 5 20:44:40 2000 Clinton Popetz <cpopetz@cygnus.com>
583
584 * xcoff.h: Rename to xcoff-target.h
585 * Makefile.am: Change all instances of xcoff.h to xcoff-target.h
586 * coff-rs6000.c: Ditto.
587 * coff64-rs6000.c: Ditto.
588 * coff-pmac.c: Ditto.
589 * Makefile.in: Regenerate.
590
c6664dfb
CP
591Fri May 5 16:51:03 2000 Clinton Popetz <cpopetz@cygnus.com>
592
593 * coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
594 Change U802TOC64MAGIC to U803XTOCMAGIC.
595
3425c182
MS
5962000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
597
598 * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
599 * bfd-in.h: Prototype bfd_elf_get_arch_size.
600 * bfd-in2.h: Prototype bfd_elf_get_arch_size.
601
7c30ac37
AM
6022000-05-04 Alan Modra <alan@linuxcare.com.au>
603
604 * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma.
605