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