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