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