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