Update dependencies.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
5af11cab
AM
12000-05-26 Alan Modra <alan@linuxcare.com.au>
2
2114f57b
AM
3 * Makefile.am: Update dependencies with "make dep-am"
4 * Makefile.in: Regenerate.
5
5af11cab
AM
6 * sysdep.h (gettext, dgettext, dcgettext, textdomain,
7 bindtextdomain): Replace defines with those from intl/libgettext.h
8 to quieten gcc warnings.
9
102000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
11
12 * aoutx.h (find_nearest_line): Use IS_ABSOLUTE_PATH.
13
14 * archive.c (normalize, bfd_bsd_truncate_arname,
15 bfd_gnu_truncate_arname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support
16 file names with backslashes.
17
18 * cache.c (bfd_open_file) [__MSDOS__]: Don't unlink the file
19 before opening it.
20
21 * sysdep.h: Include filenames.h.
22
b6cdd0fd
AM
232000-05-26 Alan Modra <alan@linuxcare.com.au>
24
25 * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777.
26
f7775d95
JJ
272000-05-26 Jakub Jelinek <jakub@redhat.com>
28
29 * elf64-sparc.c (sparc64_elf_relax_section): New.
30 (sparc64_elf_relocate_section): Optimize tail call into branch always
31 if possible.
32 * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
33 (elf32_sparc_relax_section): New.
34
6c08d697
JJ
352000-05-26 Jakub Jelinek <jakub@redhat.com>
36
37 * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.
38 Remove unusued variables.
39 (sparc64_elf_relocate_section): Change r_symndx type to unsigned long.
40 (sparc64_elf_merge_private_bfd_data): Fix shared library case from
41 previous fix, so that shared libs really don't influence targets
42 extension mask and memory model.
43
edb72b3b
L
442000-05-23 H.J. Lu <hjl@gnu.org>
45
46 * elf64-alpha.c (elf64_alpha_relocate_section): Check
47 h->root.other not h->other.
ba09750c
L
48 * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
49
50 * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
edb72b3b 51
3a27a730
L
522000-05-23 H.J. Lu <hjl@gnu.org>
53
54 * elf32-i386.c (elf_i386_relocate_section): Don't allow the
55 undefined symbol with the non-default visibility attributes.
56 * elf-hppa.h (elf_hppa_relocate_section): Likewise.
57 * elf32-arm.h (elf32_arm_relocate_section): Likewise.
58 * elf32-i370.c (i370_elf_relocate_section): Likewise.
59 * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
60 * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
61 * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
62 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
63 * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
64 * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
65 * elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
66 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
67
748abff6
RH
682000-05-22 Richard Henderson <rth@cygnus.com>
69
70 * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
71 PCREL22, PCREL64I. Zero size of special relocs.
72 (elf64_ia64_reloc_type_lookup): Likewise.
73 (USE_BRL, oor_brl, oor_ip): New.
74 (elf64_ia64_relax_section): New.
75 (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
76 (elf64_ia64_install_value): Likewise, plus PCREL21BI.
77 (elf64_ia64_relocate_section): Likewise.
78 (bfd_elf64_bfd_relax_section): New.
79 * reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
80 (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
81 * bfd-in2.h, libbfd.h: Regenerate.
82
fb67355a
NC
832000-05-22 Nick Clifton <nickc@cygnus.com>
84
85 * configure.in : Add peigen.lo to MIPS PE targets.
86 * configure: Regenerate.
87
1fe494a5
NC
882000-05-22 Momchil Velikov <velco@fadata.bg>
89
90 * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess
748abff6 91 only if it is known for both input and output bfds. Separate
1fe494a5
NC
92 error message strings as in some languages, it may be necessary
93 to change more than one place in the string to change between
94 'big' and 'little'.
95
96 * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline
97 endianess checks, call _bfd_generic_verify_endian_match() instead.
98
99 * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise.
100
101 * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise.
102
103 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify
104 endianess before checking bfd flavours.
105
32c092c3
L
1062000-05-22 H.J. Lu <hjl@gnu.org>
107
108 * elflink.h (elf_link_output_extsym): Clear the visibility
109 field for symbols not defined locally.
110
df6d9773
JL
1112000-05-18 Alan Modra <alan@linuxcare.com.au>
112
113 * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
114 re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
115 (hppa_rebuild_insn): Mask immediate bits here instead.
116 * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
117
7ad34365
NC
1182000-05-18 Momchil Velikov <velco@fadata.bg>
119
120 * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting
121 relocs for an executable, ensure that they are virtual addresses.
122
d1dab720
JL
123Thu May 18 10:55:47 2000 Jeffrey A Law (law@cygnus.com)
124
125 * config.bfd (hppa*64*-*-hpux11*): New target triplet.
126
a712da20
NC
1272000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
128 Rick Gorton <gorton@scrugs.lkg.dec.com>
129
130 * elflink.h: Add emitrelocations support: when enabled, relocation
131 information and relocation sections are put into final output
132 executables. If the emitrelocations flag is set, do the following:
133 (elf_bfd_final_link): Emit relocation sections.
134 (elf_link_input_bfd): Compute relocation section contents.
135 (elf_gc_sections): Don't clean relocation sections.
136
10febd84
CM
1372000-05-16 Catherine Moore <clm@cygnux.com>
138
139 * som.c (som_decode_symclass): Recognize weak symbols.
140
db8503c4
AM
1412000-05-16 Szabolcs Szakacsits <szaka@F-Secure.com>
142
143 * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that
144 read idata section only from dataoff.
145 (pe_print_edata): Correctly check for valid eat_member.
146
851cde10
JR
147Tue May 16 00:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
148
149 * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
150
1bde2d57
PB
1512000-05-14 Philip Blundell <philb@gnu.org>
152
153 * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets.
154
a76b448c
AM
1552000-05-12 Alan Modra <alan@linuxcare.com.au>
156
9ee25201
AM
157 * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec
158
a76b448c
AM
159 * peigen.c (pe_print_idata): Look for .idata section and print
160 info even if data directory has zero entries. Read idata section
161 starting from dataoff, and adjust all data offsets to suit. Cast
162 all bfd_vma vars to unsigned long before passing to fprintf.
163 * peigen.c (pe_print_edata): Similarly, look for .edata section
164 and print info even if data directory has zero entries. Cast
165 all bfd_vma vars to unsigned long before passing to fprintf.
166
167 From Szabolcs Szakacsits <szaka@F-Secure.com>
168 * peigen.c (pe_print_idata): Use bfd_section_size rather than data
169 directory size which may be bogus.
170 * peigen.c (pe_print_edata): Similarly.
171
72730e0c
AM
1722000-05-09 Alan Modra <alan@linuxcare.com.au>
173
174 * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela
175 section is empty.
176 (copy_private_bfd_data): Allow for space possibly taken up by elf
177 headers when calculating segment physical address from lma.
178
8181c403
AM
1792000-05-08 Alan Modra <alan@linuxcare.com.au>
180
bfde9f99
AM
181 * versados.c (versados_scan): Init stringlen and pass_2_done.
182
b35efbcd
AM
183 * trad-core.c (trad_unix_core_file_p): Return
184 bfd_error_wrong_format rather than bfd_error_file_truncated.
185
8181c403
AM
186 * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to
187 add_data_entry. DataDirectory virtual address is relative.
188 (pe_print_idata): Account for relative DataDirectory virtual
189 addresses. Don't trash datasize inside POWERPC_LE_PE code.
190 (pe_print_edata): Similarly.
191
192 From Szabolcs Szakacsits <szaka@F-Secure.com>
193 * peigen.c (dir_names): Add Delay Import Directory.
194 (pe_print_idata): Always search for bfd section containing
195 idata address rather than looking up section name. Print this
196 section name rather than .idata.
197 (pe_print_edata): Similarly. Also print some fields as %08lx.
198 (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as
199 Win32Version.
200
2c38bc20
CP
201Fri May 5 20:44:40 2000 Clinton Popetz <cpopetz@cygnus.com>
202
203 * xcoff.h: Rename to xcoff-target.h
204 * Makefile.am: Change all instances of xcoff.h to xcoff-target.h
205 * coff-rs6000.c: Ditto.
206 * coff64-rs6000.c: Ditto.
207 * coff-pmac.c: Ditto.
208 * Makefile.in: Regenerate.
209
c6664dfb
CP
210Fri May 5 16:51:03 2000 Clinton Popetz <cpopetz@cygnus.com>
211
212 * coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
213 Change U802TOC64MAGIC to U803XTOCMAGIC.
214
3425c182
MS
2152000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
216
217 * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
218 * bfd-in.h: Prototype bfd_elf_get_arch_size.
219 * bfd-in2.h: Prototype bfd_elf_get_arch_size.
220
7c30ac37
AM
2212000-05-04 Alan Modra <alan@linuxcare.com.au>
222
223 * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma.
224