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