* rs6000-core.c: Support 64-bit core files, support pre-4.3 core
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
59d9f049
ND
12000-06-16 Nicholas Duffek <nsd@redhat.com>
2
3 * rs6000-core.c: Support 64-bit core files, support pre-4.3 core
4 files on AIX 4.3.
5 (read_hdr): New function.
6 (rs6000coff_core_p): Store mstsave or __context64 struct instead
7 of trying to extract individual registers. Set abfd->arch_info
8 to match the architecture that created the core file.
9 (rs6000coff_get_section_contents): Delete.
10 * xcoff-target.h (rs6000coff_get_section_contents): Delete.
11
63e39178
L
122000-06-14 H.J. Lu <hjl@gnu.org>
13
14 * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec)
15 is NULL.
16
bcef29e6
L
172000-06-13 H.J. Lu <hjl@gnu.org>
18
19 * configure: Regenerate.
20
26bfd1c0
JR
21Tue Jun 13 01:28:57 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
22
23 * peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of
24 armpei_little_vec.
25
946efd95
DB
262000-06-08 David O'Brien <obrien@FreeBSD.org>
27
28 * configure.in (VERSION): Update to show this is the CVS mainline.
29
1b452ec6
AM
302000-06-07 Alan Modra <alan@linuxcare.com.au>
31
32 * elf32-d10v.c: Include elf/d10v.h
33 (enum reloc_type): Delete.
34 * elf32-d30v.c: Include elf/d30v.h
35 (enum reloc_type): Delete.
36
37 * Makefile.am: Run "make dep-am" to regenerate dependencies.
38 * Makefile.in: Regenerate.
39
40 * elf32-i386.c (elf_howto_table): Remove EMPTY_HOWTOs.
dc47f327
AM
41 (elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and
42 move HOWTOs into elf_howto_table.
1b452ec6 43 (R_386_standard, R_386_ext_offset): Define.
dc47f327 44 (R_386_ext, R_386_vt_offset, R_386_vt): Define.
1b452ec6 45 (elf_i386_reloc_type_lookup): Modify calculation of index into
dc47f327 46 elf_howto_table since we've removed the padding.
1b452ec6
AM
47 (elf_i386_info_to_howto_rel): Likewise.
48 (elf_i386_relocate_section): Likewise.
49
e0ebfc61
MS
502000-06-06 Michael Snyder <msnyder@seadog.cygnus.com>
51
52 * elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t.
53
9d6eee78
L
542000-06-05 H.J. Lu <hjl@gnu.org>
55
56 * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag
57 an error when seeing an undefined symbol with hidden/internal
58 attribute. It is handled in *_relocate_section ().
59
94b6c40a
L
602000-06-05 H.J. Lu <hjl@gnu.org>
61
62 * elflink.h (elf_fix_symbol_flags): Follow the link for the
63 indirect symbol for the ELF_LINK_NON_ELF bit.
64 (elf_link_output_extsym): Don't output the indirect symbol even
65 if the ELF_LINK_NON_ELF bit is set.
66
0af288f3
C
672000-06-01 J.T. Conklin <jtc@redback.com>
68
69 * config.bfd (i[3456]86-*-netbsdelf*): New target.
70 (i[3456]86-*-netbsdaout*): New target.
71 (i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs.
72 (i[3456]86-*-openbsd*): Likewise.
73
12df4d3c
AC
74Tue May 30 15:39:04 2000 Andrew Cagney <cagney@b1.cygnus.com>
75
76 * trad-core.c: From hpux-core.c, include <dirent.h> or
77 <sys/ndir.h> when possible.
78
c0ae4ccc
NC
792000-05-31 Nick Clifton <nickc@cygnus.com>
80
81 * opintl.h (_(String)): Explain why dgettext is used instead
82 of gettext.
83
321fa097
UD
842000-05-31 Ulrich Drepper <drepper@redhat.com>
85
86 * elf.c (_bfd_elf_slurp_version_tables): Correct reading of version
87 definitions. We must not assume they are sorted in the file
88 according to their index numbers.
89
70d72e0e
AM
902000-05-31 Alan Modra <alan@linuxcare.com.au>
91
92 * elf-hppa.h: (elf_hppa_final_link_relocate): Use e_rsel field
93 selector for R_PARISC_PCREL17R. R_PARISC_DIR17R and
94 R_PARISC_DIR17F are for absolute branches; Handle them as such.
95
96f6d4c4
NC
962000-05-30 Nick Clifton <nickc@cygnus.com>
97
98 * cpu-i960.c (scan_960_mach): Accept 80960KA, 80960KB,
99 80960CA, 80960MC as valid machine names.
100
38048eb9
L
1012000-05-30 H.J. Lu <hjl@gnu.org>
102
103 * elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the
104 visibility bits if the symbol is undefined. Correctly handle
105 weak undefined symbols with hidden and internal attributes.
106
107 * elflink.h (elf_link_add_object_symbols): Always turn the
108 symbol into local if it has the hidden or internal attribute.
109
8c763017
PB
1102000-05-29 Philip Blundell <philb@gnu.org>
111
112 * ppcboot.c: Add packed attribute if compiling with GCC.
113
1ae00f9d
AM
1142000-05-29 Anatoly Vorobey <mellon@pobox.com>
115
116 * elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal.
117
4a938328
MS
1182000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>
119
120 * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus,
121 elfcore_grok_psinfo): Add code to allow debugging a 32-bit
122 corefile on a 64-bit (Sparc Solaris) host. Also clean up
123 a few old comments.
124
5af11cab
AM
1252000-05-26 Alan Modra <alan@linuxcare.com.au>
126
2114f57b
AM
127 * Makefile.am: Update dependencies with "make dep-am"
128 * Makefile.in: Regenerate.
129
5af11cab
AM
130 * sysdep.h (gettext, dgettext, dcgettext, textdomain,
131 bindtextdomain): Replace defines with those from intl/libgettext.h
132 to quieten gcc warnings.
133
1342000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
135
136 * aoutx.h (find_nearest_line): Use IS_ABSOLUTE_PATH.
137
138 * archive.c (normalize, bfd_bsd_truncate_arname,
139 bfd_gnu_truncate_arname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support
140 file names with backslashes.
141
142 * cache.c (bfd_open_file) [__MSDOS__]: Don't unlink the file
143 before opening it.
144
145 * sysdep.h: Include filenames.h.
146
b6cdd0fd
AM
1472000-05-26 Alan Modra <alan@linuxcare.com.au>
148
149 * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777.
150
f7775d95
JJ
1512000-05-26 Jakub Jelinek <jakub@redhat.com>
152
153 * elf64-sparc.c (sparc64_elf_relax_section): New.
154 (sparc64_elf_relocate_section): Optimize tail call into branch always
155 if possible.
156 * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
157 (elf32_sparc_relax_section): New.
158
6c08d697
JJ
1592000-05-26 Jakub Jelinek <jakub@redhat.com>
160
161 * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.
162 Remove unusued variables.
163 (sparc64_elf_relocate_section): Change r_symndx type to unsigned long.
164 (sparc64_elf_merge_private_bfd_data): Fix shared library case from
165 previous fix, so that shared libs really don't influence targets
166 extension mask and memory model.
167
edb72b3b
L
1682000-05-23 H.J. Lu <hjl@gnu.org>
169
170 * elf64-alpha.c (elf64_alpha_relocate_section): Check
171 h->root.other not h->other.
ba09750c
L
172 * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
173
174 * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
edb72b3b 175
3a27a730
L
1762000-05-23 H.J. Lu <hjl@gnu.org>
177
178 * elf32-i386.c (elf_i386_relocate_section): Don't allow the
179 undefined symbol with the non-default visibility attributes.
180 * elf-hppa.h (elf_hppa_relocate_section): Likewise.
181 * elf32-arm.h (elf32_arm_relocate_section): Likewise.
182 * elf32-i370.c (i370_elf_relocate_section): Likewise.
183 * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
184 * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
185 * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
186 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
187 * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
188 * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
189 * elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
190 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
191
748abff6
RH
1922000-05-22 Richard Henderson <rth@cygnus.com>
193
194 * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
195 PCREL22, PCREL64I. Zero size of special relocs.
196 (elf64_ia64_reloc_type_lookup): Likewise.
197 (USE_BRL, oor_brl, oor_ip): New.
198 (elf64_ia64_relax_section): New.
199 (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
200 (elf64_ia64_install_value): Likewise, plus PCREL21BI.
201 (elf64_ia64_relocate_section): Likewise.
202 (bfd_elf64_bfd_relax_section): New.
203 * reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
204 (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
205 * bfd-in2.h, libbfd.h: Regenerate.
206
fb67355a
NC
2072000-05-22 Nick Clifton <nickc@cygnus.com>
208
209 * configure.in : Add peigen.lo to MIPS PE targets.
210 * configure: Regenerate.
211
1fe494a5
NC
2122000-05-22 Momchil Velikov <velco@fadata.bg>
213
214 * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess
748abff6 215 only if it is known for both input and output bfds. Separate
1fe494a5
NC
216 error message strings as in some languages, it may be necessary
217 to change more than one place in the string to change between
218 'big' and 'little'.
219
220 * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline
221 endianess checks, call _bfd_generic_verify_endian_match() instead.
222
223 * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise.
224
225 * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise.
226
227 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify
228 endianess before checking bfd flavours.
229
32c092c3
L
2302000-05-22 H.J. Lu <hjl@gnu.org>
231
232 * elflink.h (elf_link_output_extsym): Clear the visibility
233 field for symbols not defined locally.
234
df6d9773
JL
2352000-05-18 Alan Modra <alan@linuxcare.com.au>
236
237 * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
238 re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
239 (hppa_rebuild_insn): Mask immediate bits here instead.
240 * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
241
7ad34365
NC
2422000-05-18 Momchil Velikov <velco@fadata.bg>
243
244 * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting
245 relocs for an executable, ensure that they are virtual addresses.
246
d1dab720
JL
247Thu May 18 10:55:47 2000 Jeffrey A Law (law@cygnus.com)
248
249 * config.bfd (hppa*64*-*-hpux11*): New target triplet.
250
a712da20
NC
2512000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
252 Rick Gorton <gorton@scrugs.lkg.dec.com>
253
254 * elflink.h: Add emitrelocations support: when enabled, relocation
255 information and relocation sections are put into final output
256 executables. If the emitrelocations flag is set, do the following:
257 (elf_bfd_final_link): Emit relocation sections.
258 (elf_link_input_bfd): Compute relocation section contents.
259 (elf_gc_sections): Don't clean relocation sections.
260
10febd84
CM
2612000-05-16 Catherine Moore <clm@cygnux.com>
262
263 * som.c (som_decode_symclass): Recognize weak symbols.
264
db8503c4
AM
2652000-05-16 Szabolcs Szakacsits <szaka@F-Secure.com>
266
267 * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that
268 read idata section only from dataoff.
269 (pe_print_edata): Correctly check for valid eat_member.
270
851cde10
JR
271Tue May 16 00:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
272
273 * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
274
1bde2d57
PB
2752000-05-14 Philip Blundell <philb@gnu.org>
276
277 * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets.
278
a76b448c
AM
2792000-05-12 Alan Modra <alan@linuxcare.com.au>
280
9ee25201
AM
281 * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec
282
a76b448c
AM
283 * peigen.c (pe_print_idata): Look for .idata section and print
284 info even if data directory has zero entries. Read idata section
285 starting from dataoff, and adjust all data offsets to suit. Cast
286 all bfd_vma vars to unsigned long before passing to fprintf.
287 * peigen.c (pe_print_edata): Similarly, look for .edata section
288 and print info even if data directory has zero entries. Cast
289 all bfd_vma vars to unsigned long before passing to fprintf.
290
291 From Szabolcs Szakacsits <szaka@F-Secure.com>
292 * peigen.c (pe_print_idata): Use bfd_section_size rather than data
293 directory size which may be bogus.
294 * peigen.c (pe_print_edata): Similarly.
295
72730e0c
AM
2962000-05-09 Alan Modra <alan@linuxcare.com.au>
297
298 * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela
299 section is empty.
300 (copy_private_bfd_data): Allow for space possibly taken up by elf
301 headers when calculating segment physical address from lma.
302
8181c403
AM
3032000-05-08 Alan Modra <alan@linuxcare.com.au>
304
bfde9f99
AM
305 * versados.c (versados_scan): Init stringlen and pass_2_done.
306
b35efbcd
AM
307 * trad-core.c (trad_unix_core_file_p): Return
308 bfd_error_wrong_format rather than bfd_error_file_truncated.
309
8181c403
AM
310 * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to
311 add_data_entry. DataDirectory virtual address is relative.
312 (pe_print_idata): Account for relative DataDirectory virtual
313 addresses. Don't trash datasize inside POWERPC_LE_PE code.
314 (pe_print_edata): Similarly.
315
316 From Szabolcs Szakacsits <szaka@F-Secure.com>
317 * peigen.c (dir_names): Add Delay Import Directory.
318 (pe_print_idata): Always search for bfd section containing
319 idata address rather than looking up section name. Print this
320 section name rather than .idata.
321 (pe_print_edata): Similarly. Also print some fields as %08lx.
322 (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as
323 Win32Version.
324
2c38bc20
CP
325Fri May 5 20:44:40 2000 Clinton Popetz <cpopetz@cygnus.com>
326
327 * xcoff.h: Rename to xcoff-target.h
328 * Makefile.am: Change all instances of xcoff.h to xcoff-target.h
329 * coff-rs6000.c: Ditto.
330 * coff64-rs6000.c: Ditto.
331 * coff-pmac.c: Ditto.
332 * Makefile.in: Regenerate.
333
c6664dfb
CP
334Fri May 5 16:51:03 2000 Clinton Popetz <cpopetz@cygnus.com>
335
336 * coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
337 Change U802TOC64MAGIC to U803XTOCMAGIC.
338
3425c182
MS
3392000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
340
341 * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
342 * bfd-in.h: Prototype bfd_elf_get_arch_size.
343 * bfd-in2.h: Prototype bfd_elf_get_arch_size.
344
7c30ac37
AM
3452000-05-04 Alan Modra <alan@linuxcare.com.au>
346
347 * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma.
348