* remote-nindy.c (nindy_fetch_word, nindy_store_word): Removed
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
60bcf0fa
NC
12000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2
3 * Makefile.in, bfd-in2.h, libbfd.h, configure: Rebuild.
4 * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS,
5 BFD32_BACKENDS_CFILES): Add 68hc12, 68hc11 files.
6 * configure.in (bfd_elf32_m68hc12_vec): Recognize.
7 (bfd_elf32_m68hc11_vec): Likewise.
8 * config.bfd (targ_cpu): Recognize 68hc12 and 68hc11.
9 Supports 68hc11 & 68hc12 at the same time.
10 * targets.c (bfd_elf32_m68hc12_vec): Declare and put in
11 bfd_target_vector.
12 (bfd_elf32_m68hc11_vec): Likewise.
13 * elf.c (prep_headers): Recognize bfd_arch_m68hc12 and 68hc11.
14 * archures.c (bfd_m68hc12_arch): Define and register in global list
15 (bfd_m68hc11_arch): Likewise.
16 * reloc.c (BFD_RELOC_M68HC11_HI8, BFD_RELOC_M68HC11_LO8,
17 BFD_RELOC_M68HC11_3B): Define.
18 * cpu-m68hc12.c, elf32-m68hc12.c: New files for 68hc12 support.
19 * cpu-m68hc11.c, elf32-m68hc11.c: New files for 68hc11 support.
20
f41cbf03
UC
212000-06-18 Ulf Carlsson <ulfc@engr.sgi.com>
22
23 * elf_bfd.h (struct elf_backend_data): Add info argument to
24 elf_backend_hide_symbol.
25 (_bfd_elf_link_hash_hide_symbol): Likewise.
26 * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise.
27 * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise.
28 * elflink.h (elf_link_add_object_symbols): Likewise.
29 (elf_link_assign_sym_version): Likewise.
30
689be717
L
312000-06-18 H.J. Lu <hjl@gnu.org>
32
33 * coff-i386.c (coff_i386_reloc): Don't return in case of
34 output_bfd == (bfd *) NULL if COFF_WITH_PE is defined.
35 Compensate PE relocations when linking with non-PE object
36 files to generate a non-PE executable.
37
9a8f3bb7
UC
382000-06-17 Ulf Carlsson <ulfc@engr.sgi.com>
39
40 * elf32-mips.c (mips_elf_calculate_relocation): Explicitly write
41 GOT entries if we're doing a static link or -Bsymbolic link.
42
32f0787a
UC
432000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
44
45 * elflink.h (elf_link_adjust_relocs): Check for and call backend
46 specifific swap_reloc_{in,out} and swap_reloca_{in,out} if
47 available.
48 (elf_link_output_relocs): Likewise.
49 (elf_reloc_link_order): Likewise.
50
87f33987
ND
512000-06-16 Nicholas Duffek <nsd@redhat.com>
52
53 * archures.c (enum bfd_architecture): #define constants for
54 PowerPc and RS6000 machine numbers.
55 * bfd-in2.h: Regenerate.
56 * coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch
57 to bfd_arch_powerpc instead of bfd_arch_rs6000. Refer to PowerPc
58 and RS6000 machine numbers using #defined constants from
59 archures.c.
60 * cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000
61 machine numbers using #defined constants from archures.c. Add
62 entries for EC603e, 630, A35, RS64II, RS64III, 7400. Specify
63 64-bit words in 620 entry.
64 * cpu-rs6000.c (arch_info_struct): Create with entries for RS1,
65 RSC, and RS2.
66 (bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k).
67
a2fdf270
ND
682000-06-16 Nicholas Duffek <nsd@cygnus.com>
69
70 * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64.
71 * libcoff-in.h (struct xcoff_tdata): Define xcoff64 field.
72 * libcoff.h (struct xcoff_tdata): Define xcoff64 field.
73
9bd09e22
ND
742000-06-16 Nicholas Duffek <nsd@redhat.com>
75
76 * bfd-in.h (bfd_family_coff): Define.
77 * bfd-in2.h: Regenerate.
78 * coffgen.c (coff_count_linenumbers, coff_symbol_from,
79 coff_find_nearest_line): Check COFFness using bfd_family_coff()
80 instead of bfd_target_coff_flavour.
81 * cofflink.c (_bfd_coff_final_link): Likewise.
82 * cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to
83 exclude XCOFF files.
84 * reloc.c (bfd_perform_relocation, bfd_install_relocation):
85 Likewise.
86 * targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour.
87 * xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour.
88 * xcofflink.c (XCOFF_XVECP): Delete.
89 (bfd_xcoff_link_record_set, bfd_xcoff_import_symbol,
90 bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc,
91 bfd_xcoff_record_link_assignment,
92 bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with
93 check for bfd_target_xcoff_flavour.
94
59d9f049
ND
952000-06-16 Nicholas Duffek <nsd@redhat.com>
96
97 * rs6000-core.c: Support 64-bit core files, support pre-4.3 core
98 files on AIX 4.3.
99 (read_hdr): New function.
100 (rs6000coff_core_p): Store mstsave or __context64 struct instead
101 of trying to extract individual registers. Set abfd->arch_info
102 to match the architecture that created the core file.
103 (rs6000coff_get_section_contents): Delete.
104 * xcoff-target.h (rs6000coff_get_section_contents): Delete.
105
63e39178
L
1062000-06-14 H.J. Lu <hjl@gnu.org>
107
108 * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec)
109 is NULL.
110
bcef29e6
L
1112000-06-13 H.J. Lu <hjl@gnu.org>
112
113 * configure: Regenerate.
114
26bfd1c0
JR
115Tue Jun 13 01:28:57 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
116
117 * peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of
118 armpei_little_vec.
119
946efd95
DB
1202000-06-08 David O'Brien <obrien@FreeBSD.org>
121
122 * configure.in (VERSION): Update to show this is the CVS mainline.
123
1b452ec6
AM
1242000-06-07 Alan Modra <alan@linuxcare.com.au>
125
126 * elf32-d10v.c: Include elf/d10v.h
127 (enum reloc_type): Delete.
128 * elf32-d30v.c: Include elf/d30v.h
129 (enum reloc_type): Delete.
130
131 * Makefile.am: Run "make dep-am" to regenerate dependencies.
132 * Makefile.in: Regenerate.
133
134 * elf32-i386.c (elf_howto_table): Remove EMPTY_HOWTOs.
dc47f327
AM
135 (elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and
136 move HOWTOs into elf_howto_table.
1b452ec6 137 (R_386_standard, R_386_ext_offset): Define.
dc47f327 138 (R_386_ext, R_386_vt_offset, R_386_vt): Define.
1b452ec6 139 (elf_i386_reloc_type_lookup): Modify calculation of index into
dc47f327 140 elf_howto_table since we've removed the padding.
1b452ec6
AM
141 (elf_i386_info_to_howto_rel): Likewise.
142 (elf_i386_relocate_section): Likewise.
143
e0ebfc61
MS
1442000-06-06 Michael Snyder <msnyder@seadog.cygnus.com>
145
146 * elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t.
147
9d6eee78
L
1482000-06-05 H.J. Lu <hjl@gnu.org>
149
150 * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag
151 an error when seeing an undefined symbol with hidden/internal
152 attribute. It is handled in *_relocate_section ().
153
94b6c40a
L
1542000-06-05 H.J. Lu <hjl@gnu.org>
155
156 * elflink.h (elf_fix_symbol_flags): Follow the link for the
157 indirect symbol for the ELF_LINK_NON_ELF bit.
158 (elf_link_output_extsym): Don't output the indirect symbol even
159 if the ELF_LINK_NON_ELF bit is set.
160
0af288f3
C
1612000-06-01 J.T. Conklin <jtc@redback.com>
162
163 * config.bfd (i[3456]86-*-netbsdelf*): New target.
164 (i[3456]86-*-netbsdaout*): New target.
165 (i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs.
166 (i[3456]86-*-openbsd*): Likewise.
167
12df4d3c
AC
168Tue May 30 15:39:04 2000 Andrew Cagney <cagney@b1.cygnus.com>
169
170 * trad-core.c: From hpux-core.c, include <dirent.h> or
171 <sys/ndir.h> when possible.
172
c0ae4ccc
NC
1732000-05-31 Nick Clifton <nickc@cygnus.com>
174
175 * opintl.h (_(String)): Explain why dgettext is used instead
176 of gettext.
177
321fa097
UD
1782000-05-31 Ulrich Drepper <drepper@redhat.com>
179
180 * elf.c (_bfd_elf_slurp_version_tables): Correct reading of version
181 definitions. We must not assume they are sorted in the file
182 according to their index numbers.
183
70d72e0e
AM
1842000-05-31 Alan Modra <alan@linuxcare.com.au>
185
186 * elf-hppa.h: (elf_hppa_final_link_relocate): Use e_rsel field
187 selector for R_PARISC_PCREL17R. R_PARISC_DIR17R and
188 R_PARISC_DIR17F are for absolute branches; Handle them as such.
189
96f6d4c4
NC
1902000-05-30 Nick Clifton <nickc@cygnus.com>
191
192 * cpu-i960.c (scan_960_mach): Accept 80960KA, 80960KB,
193 80960CA, 80960MC as valid machine names.
194
38048eb9
L
1952000-05-30 H.J. Lu <hjl@gnu.org>
196
197 * elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the
198 visibility bits if the symbol is undefined. Correctly handle
199 weak undefined symbols with hidden and internal attributes.
200
201 * elflink.h (elf_link_add_object_symbols): Always turn the
202 symbol into local if it has the hidden or internal attribute.
203
8c763017
PB
2042000-05-29 Philip Blundell <philb@gnu.org>
205
206 * ppcboot.c: Add packed attribute if compiling with GCC.
207
1ae00f9d
AM
2082000-05-29 Anatoly Vorobey <mellon@pobox.com>
209
210 * elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal.
211
4a938328
MS
2122000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>
213
214 * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus,
215 elfcore_grok_psinfo): Add code to allow debugging a 32-bit
216 corefile on a 64-bit (Sparc Solaris) host. Also clean up
217 a few old comments.
218
5af11cab
AM
2192000-05-26 Alan Modra <alan@linuxcare.com.au>
220
2114f57b
AM
221 * Makefile.am: Update dependencies with "make dep-am"
222 * Makefile.in: Regenerate.
223
5af11cab
AM
224 * sysdep.h (gettext, dgettext, dcgettext, textdomain,
225 bindtextdomain): Replace defines with those from intl/libgettext.h
226 to quieten gcc warnings.
227
2282000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
229
230 * aoutx.h (find_nearest_line): Use IS_ABSOLUTE_PATH.
231
232 * archive.c (normalize, bfd_bsd_truncate_arname,
233 bfd_gnu_truncate_arname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support
234 file names with backslashes.
235
236 * cache.c (bfd_open_file) [__MSDOS__]: Don't unlink the file
237 before opening it.
238
239 * sysdep.h: Include filenames.h.
240
b6cdd0fd
AM
2412000-05-26 Alan Modra <alan@linuxcare.com.au>
242
243 * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777.
244
f7775d95
JJ
2452000-05-26 Jakub Jelinek <jakub@redhat.com>
246
247 * elf64-sparc.c (sparc64_elf_relax_section): New.
248 (sparc64_elf_relocate_section): Optimize tail call into branch always
249 if possible.
250 * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
251 (elf32_sparc_relax_section): New.
252
6c08d697
JJ
2532000-05-26 Jakub Jelinek <jakub@redhat.com>
254
255 * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.
256 Remove unusued variables.
257 (sparc64_elf_relocate_section): Change r_symndx type to unsigned long.
258 (sparc64_elf_merge_private_bfd_data): Fix shared library case from
259 previous fix, so that shared libs really don't influence targets
260 extension mask and memory model.
261
edb72b3b
L
2622000-05-23 H.J. Lu <hjl@gnu.org>
263
264 * elf64-alpha.c (elf64_alpha_relocate_section): Check
265 h->root.other not h->other.
ba09750c
L
266 * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
267
268 * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
edb72b3b 269
3a27a730
L
2702000-05-23 H.J. Lu <hjl@gnu.org>
271
272 * elf32-i386.c (elf_i386_relocate_section): Don't allow the
273 undefined symbol with the non-default visibility attributes.
274 * elf-hppa.h (elf_hppa_relocate_section): Likewise.
275 * elf32-arm.h (elf32_arm_relocate_section): Likewise.
276 * elf32-i370.c (i370_elf_relocate_section): Likewise.
277 * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
278 * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
279 * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
280 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
281 * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
282 * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
283 * elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
284 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
285
748abff6
RH
2862000-05-22 Richard Henderson <rth@cygnus.com>
287
288 * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
289 PCREL22, PCREL64I. Zero size of special relocs.
290 (elf64_ia64_reloc_type_lookup): Likewise.
291 (USE_BRL, oor_brl, oor_ip): New.
292 (elf64_ia64_relax_section): New.
293 (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
294 (elf64_ia64_install_value): Likewise, plus PCREL21BI.
295 (elf64_ia64_relocate_section): Likewise.
296 (bfd_elf64_bfd_relax_section): New.
297 * reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
298 (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
299 * bfd-in2.h, libbfd.h: Regenerate.
300
fb67355a
NC
3012000-05-22 Nick Clifton <nickc@cygnus.com>
302
303 * configure.in : Add peigen.lo to MIPS PE targets.
304 * configure: Regenerate.
305
1fe494a5
NC
3062000-05-22 Momchil Velikov <velco@fadata.bg>
307
308 * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess
748abff6 309 only if it is known for both input and output bfds. Separate
1fe494a5
NC
310 error message strings as in some languages, it may be necessary
311 to change more than one place in the string to change between
312 'big' and 'little'.
313
314 * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline
315 endianess checks, call _bfd_generic_verify_endian_match() instead.
316
317 * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise.
318
319 * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise.
320
321 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify
322 endianess before checking bfd flavours.
323
32c092c3
L
3242000-05-22 H.J. Lu <hjl@gnu.org>
325
326 * elflink.h (elf_link_output_extsym): Clear the visibility
327 field for symbols not defined locally.
328
df6d9773
JL
3292000-05-18 Alan Modra <alan@linuxcare.com.au>
330
331 * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
332 re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
333 (hppa_rebuild_insn): Mask immediate bits here instead.
334 * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
335
7ad34365
NC
3362000-05-18 Momchil Velikov <velco@fadata.bg>
337
338 * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting
339 relocs for an executable, ensure that they are virtual addresses.
340
d1dab720
JL
341Thu May 18 10:55:47 2000 Jeffrey A Law (law@cygnus.com)
342
343 * config.bfd (hppa*64*-*-hpux11*): New target triplet.
344
a712da20
NC
3452000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
346 Rick Gorton <gorton@scrugs.lkg.dec.com>
347
348 * elflink.h: Add emitrelocations support: when enabled, relocation
349 information and relocation sections are put into final output
350 executables. If the emitrelocations flag is set, do the following:
351 (elf_bfd_final_link): Emit relocation sections.
352 (elf_link_input_bfd): Compute relocation section contents.
353 (elf_gc_sections): Don't clean relocation sections.
354
10febd84
CM
3552000-05-16 Catherine Moore <clm@cygnux.com>
356
357 * som.c (som_decode_symclass): Recognize weak symbols.
358
db8503c4
AM
3592000-05-16 Szabolcs Szakacsits <szaka@F-Secure.com>
360
361 * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that
362 read idata section only from dataoff.
363 (pe_print_edata): Correctly check for valid eat_member.
364
851cde10
JR
365Tue May 16 00:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
366
367 * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
368
1bde2d57
PB
3692000-05-14 Philip Blundell <philb@gnu.org>
370
371 * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets.
372
a76b448c
AM
3732000-05-12 Alan Modra <alan@linuxcare.com.au>
374
9ee25201
AM
375 * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec
376
a76b448c
AM
377 * peigen.c (pe_print_idata): Look for .idata section and print
378 info even if data directory has zero entries. Read idata section
379 starting from dataoff, and adjust all data offsets to suit. Cast
380 all bfd_vma vars to unsigned long before passing to fprintf.
381 * peigen.c (pe_print_edata): Similarly, look for .edata section
382 and print info even if data directory has zero entries. Cast
383 all bfd_vma vars to unsigned long before passing to fprintf.
384
385 From Szabolcs Szakacsits <szaka@F-Secure.com>
386 * peigen.c (pe_print_idata): Use bfd_section_size rather than data
387 directory size which may be bogus.
388 * peigen.c (pe_print_edata): Similarly.
389
72730e0c
AM
3902000-05-09 Alan Modra <alan@linuxcare.com.au>
391
392 * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela
393 section is empty.
394 (copy_private_bfd_data): Allow for space possibly taken up by elf
395 headers when calculating segment physical address from lma.
396
8181c403
AM
3972000-05-08 Alan Modra <alan@linuxcare.com.au>
398
bfde9f99
AM
399 * versados.c (versados_scan): Init stringlen and pass_2_done.
400
b35efbcd
AM
401 * trad-core.c (trad_unix_core_file_p): Return
402 bfd_error_wrong_format rather than bfd_error_file_truncated.
403
8181c403
AM
404 * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to
405 add_data_entry. DataDirectory virtual address is relative.
406 (pe_print_idata): Account for relative DataDirectory virtual
407 addresses. Don't trash datasize inside POWERPC_LE_PE code.
408 (pe_print_edata): Similarly.
409
410 From Szabolcs Szakacsits <szaka@F-Secure.com>
411 * peigen.c (dir_names): Add Delay Import Directory.
412 (pe_print_idata): Always search for bfd section containing
413 idata address rather than looking up section name. Print this
414 section name rather than .idata.
415 (pe_print_edata): Similarly. Also print some fields as %08lx.
416 (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as
417 Win32Version.
418
2c38bc20
CP
419Fri May 5 20:44:40 2000 Clinton Popetz <cpopetz@cygnus.com>
420
421 * xcoff.h: Rename to xcoff-target.h
422 * Makefile.am: Change all instances of xcoff.h to xcoff-target.h
423 * coff-rs6000.c: Ditto.
424 * coff64-rs6000.c: Ditto.
425 * coff-pmac.c: Ditto.
426 * Makefile.in: Regenerate.
427
c6664dfb
CP
428Fri May 5 16:51:03 2000 Clinton Popetz <cpopetz@cygnus.com>
429
430 * coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
431 Change U802TOC64MAGIC to U803XTOCMAGIC.
432
3425c182
MS
4332000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
434
435 * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
436 * bfd-in.h: Prototype bfd_elf_get_arch_size.
437 * bfd-in2.h: Prototype bfd_elf_get_arch_size.
438
7c30ac37
AM
4392000-05-04 Alan Modra <alan@linuxcare.com.au>
440
441 * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma.
442