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