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