Commit | Line | Data |
---|---|---|
00d2865b NC |
1 | 2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl> |
2 | ||
3 | * elf32-avr.c (bfd_elf32_bfd_reloc_type_lookup): | |
4 | Add ATTRIBUTE_UNUSED to unused arguments to avoid warnings. | |
5 | (avr_info_to_howto_rela): Likewise. | |
6 | (elf32_avr_gc_mark_hook): Likewise. | |
7 | (elf32_avr_gc_sweep_hook): Likewise. | |
8 | (elf32_avr_relocate_section): Likewise. | |
9 | ||
e4202681 NC |
10 | 2000-07-03 Mark Elbrecht <snowball3@bigfoot.com> |
11 | ||
12 | * cofflink.c (_bfd_coff_write_global_sym): Turn a weak symbol into | |
13 | an external symbol for a non-shared, non-relocatable link. | |
14 | ||
15 | 2000-07-03 Nick Clifton <nickc@redhat.com> | |
16 | ||
99d6ac2f NC |
17 | * cofflink.c (IS_EXTERNAL): New macro: Return true if the symbol |
18 | is an external symbol. | |
e4202681 NC |
19 | (IS_WEAK_EXTERNAL): New macro: Return true if the symbol is a weak |
20 | external symbol. | |
21 | ||
289c596c NC |
22 | 2000-07-03 Kazu Hirata <kazu@hxi.com> |
23 | ||
24 | * reloc16.c: Fix formatting. | |
25 | ||
dd745cfa UC |
26 | 2000-07-01 Koundinya K <kk@ddeorg.soft.net> |
27 | ||
28 | * config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4* | |
29 | to add a new target for traditional mips i.e | |
30 | bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec. | |
31 | * configure.in: Likewise. | |
32 | * configure: Rebuild. | |
33 | * targets.c (bfd_elf32_tradbigmips_vec): Declare and put in | |
34 | bfd_target_vector. | |
35 | (bfd_elf32_tradlittlemips_vec): Likewise. | |
36 | * elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test | |
37 | to see that elfNN_bed does not get redefined even if the target file | |
38 | is included twice for a chip. See elf32-mips.c. | |
39 | ||
0bdaf48b AM |
40 | 2000-07-01 Alan Modra <alan@linuxcare.com.au> |
41 | ||
42 | * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed | |
43 | (CLEANFILES): Add DEPA. | |
44 | * Makefile.in: Regenerate. | |
45 | ||
c75df619 DD |
46 | 2000-06-30 DJ Delorie <dj@cygnus.com> |
47 | ||
48 | * peicode.h (coff_swap_filehdr_in): can't use e_magic because we | |
49 | can't assume the PE header is at 0x80. | |
50 | ||
b4b415e5 DD |
51 | 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com> |
52 | ||
cda43a1d | 53 | * syms.c (_bfd_stab_section_find_nearest_line): Use IS_ABSOLUTE_PATH. |
b4b415e5 | 54 | |
addd3117 DD |
55 | 2000-06-28 Mark Elbrecht <snowball3@bigfoot.com> |
56 | ||
57 | * go32stub.h: Update stub. | |
58 | ||
65aa24b6 NC |
59 | 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> |
60 | ||
61 | * archures.c (bfd_mach_avr5): Define. | |
62 | * bfd-in2.h (bfd_mach_avr5): Define. | |
63 | * cpu-avr.c (arch_info_struct): Rename bfd_mach_avr4 to | |
64 | bfd_mach_avr5, add bfd_mach_avr4. Update comments. | |
65 | (compatible): Update comment. Add missing test. | |
66 | * elf32-avr.c (avr_final_link_relocate): Support 8K wrap | |
67 | for avr2 and avr4. Simplify 8K wrap code. | |
68 | (bfd_elf_avr_final_write_processing): Recognize bfd_mach_avr5. | |
69 | (elf32_avr_object_p): Recognize E_AVR_MACH_AVR5. | |
70 | ||
cc040812 NC |
71 | 2000-06-26 Kazu Hirata <kazu@hxi.com> |
72 | ||
73 | * coff-h8300.c: Fix formatting. | |
74 | * cpu-h8300.c: Likewise. | |
75 | ||
b1bcb49f AO |
76 | 2000-06-24 Alexandre Oliva <aoliva@redhat.com> |
77 | ||
78 | * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)' | |
79 | for local symbols whose names are unknown. | |
80 | ||
1581f8c9 AM |
81 | 2000-06-22 Alan Modra <alan@linuxcare.com.au> |
82 | ||
83 | * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we | |
84 | find one. | |
85 | * Makefile.in: Regenerate. | |
86 | * doc/Makefile.in: Regenerate. | |
87 | ||
bbeb2e03 L |
88 | 2000-06-20 H.J. Lu <hjl@gnu.org> |
89 | ||
90 | * Makefile.am: Rebuild dependency. | |
91 | * Makefile.in: Rebuild. | |
92 | ||
8a20f077 UC |
93 | 2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
94 | ||
95 | * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): New function. | |
96 | (elf_backend_copy_indirect_symbol): Map to the new function. | |
97 | ||
2ab47eed AM |
98 | 2000-06-20 Alan Modra <alan@linuxcare.com.au> |
99 | ||
100 | * archive.c (normalize): Correct pointer comparison when checking | |
101 | for backslashes. | |
102 | (bfd_bsd_truncate_arname): Likewise. | |
103 | (bfd_gnu_truncate_arname): Likewise. | |
104 | ||
b305ef96 UC |
105 | 2000-06-20 Ulf Carlsson <ulfc@engr.sgi.com> |
106 | ||
107 | * elf-bfd.h (struct elf_obj_tdata): Define per BFD Irix 5 virtual | |
108 | sections elf_{text,data}_{section,symbol}. | |
109 | * elf32-mips.c: mips_elf_{text,data}_{section,symbol}{,_ptr}: Remove. | |
110 | (_bfd_mips_elf_hide_symbol): New function. | |
111 | (elf_backend_hide_symbol): Map to the new function. | |
112 | (_bfd_mips_elf_add_symbol_hook): Change to use new per BFD | |
113 | definitions of mips_elf_{text,data}_{section,symbol}. | |
114 | (mips_elf_local_relocation_p): Try to find the direct symbol | |
115 | based on new check_forced argument. | |
116 | (mips_elf_calculate_relocation): Use new version of | |
117 | mips_elf_local_relocation_p. | |
118 | (mips_elf_relocate_section): Likewise. | |
119 | (_bfd_mips_elf_relocate_section): Likewise. | |
120 | (mips_elf_sort_hash_table): Only assert that have enough GOT | |
121 | space. | |
122 | (mips_elf_got16_entry): Match all 32 bits to the existing GOT | |
123 | entry if the relocation based on the new external argument. | |
124 | (mips_elf_create_dynamic_relocation): Assert that we have a | |
125 | section contents allocated where we can swap out the dynamic | |
126 | relocations. | |
127 | (mips_elf_calculate_relocation): Find the real hash-table entry | |
128 | correctly by using h->root.root.type. Only create a dynamic | |
129 | relocation entry if the symbol is defined in a shared library. | |
130 | Create an external GOT entry for the GOT16 relocation if the | |
131 | symbol was forced local. | |
132 | (_bfd_mips_elf_finish_dynamic_symbol): Don't assert there is a | |
133 | dynamic index if the symbol was forced local. | |
134 | ||
135 | 2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl> | |
136 | ||
137 | * elf32-mips.c: Fix typos in comments. | |
138 | ||
1605fc4f MK |
139 | 2000-06-19 Mark Kettenis <kettenis@gnu.org> |
140 | ||
141 | * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef | |
142 | CORE_VERSION_1. | |
143 | ||
60bcf0fa NC |
144 | 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> |
145 | ||
146 | * Makefile.in, bfd-in2.h, libbfd.h, configure: Rebuild. | |
147 | * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS, | |
148 | BFD32_BACKENDS_CFILES): Add 68hc12, 68hc11 files. | |
149 | * configure.in (bfd_elf32_m68hc12_vec): Recognize. | |
150 | (bfd_elf32_m68hc11_vec): Likewise. | |
151 | * config.bfd (targ_cpu): Recognize 68hc12 and 68hc11. | |
152 | Supports 68hc11 & 68hc12 at the same time. | |
153 | * targets.c (bfd_elf32_m68hc12_vec): Declare and put in | |
154 | bfd_target_vector. | |
155 | (bfd_elf32_m68hc11_vec): Likewise. | |
156 | * elf.c (prep_headers): Recognize bfd_arch_m68hc12 and 68hc11. | |
157 | * archures.c (bfd_m68hc12_arch): Define and register in global list | |
158 | (bfd_m68hc11_arch): Likewise. | |
159 | * reloc.c (BFD_RELOC_M68HC11_HI8, BFD_RELOC_M68HC11_LO8, | |
160 | BFD_RELOC_M68HC11_3B): Define. | |
161 | * cpu-m68hc12.c, elf32-m68hc12.c: New files for 68hc12 support. | |
162 | * cpu-m68hc11.c, elf32-m68hc11.c: New files for 68hc11 support. | |
163 | ||
f41cbf03 UC |
164 | 2000-06-18 Ulf Carlsson <ulfc@engr.sgi.com> |
165 | ||
166 | * elf_bfd.h (struct elf_backend_data): Add info argument to | |
167 | elf_backend_hide_symbol. | |
168 | (_bfd_elf_link_hash_hide_symbol): Likewise. | |
169 | * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise. | |
170 | * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise. | |
171 | * elflink.h (elf_link_add_object_symbols): Likewise. | |
172 | (elf_link_assign_sym_version): Likewise. | |
173 | ||
689be717 L |
174 | 2000-06-18 H.J. Lu <hjl@gnu.org> |
175 | ||
176 | * coff-i386.c (coff_i386_reloc): Don't return in case of | |
177 | output_bfd == (bfd *) NULL if COFF_WITH_PE is defined. | |
178 | Compensate PE relocations when linking with non-PE object | |
179 | files to generate a non-PE executable. | |
180 | ||
9a8f3bb7 UC |
181 | 2000-06-17 Ulf Carlsson <ulfc@engr.sgi.com> |
182 | ||
183 | * elf32-mips.c (mips_elf_calculate_relocation): Explicitly write | |
184 | GOT entries if we're doing a static link or -Bsymbolic link. | |
185 | ||
32f0787a UC |
186 | 2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com> |
187 | ||
188 | * elflink.h (elf_link_adjust_relocs): Check for and call backend | |
189 | specifific swap_reloc_{in,out} and swap_reloca_{in,out} if | |
190 | available. | |
191 | (elf_link_output_relocs): Likewise. | |
192 | (elf_reloc_link_order): Likewise. | |
193 | ||
87f33987 ND |
194 | 2000-06-16 Nicholas Duffek <nsd@redhat.com> |
195 | ||
196 | * archures.c (enum bfd_architecture): #define constants for | |
197 | PowerPc and RS6000 machine numbers. | |
198 | * bfd-in2.h: Regenerate. | |
199 | * coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch | |
200 | to bfd_arch_powerpc instead of bfd_arch_rs6000. Refer to PowerPc | |
201 | and RS6000 machine numbers using #defined constants from | |
202 | archures.c. | |
203 | * cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000 | |
204 | machine numbers using #defined constants from archures.c. Add | |
205 | entries for EC603e, 630, A35, RS64II, RS64III, 7400. Specify | |
206 | 64-bit words in 620 entry. | |
207 | * cpu-rs6000.c (arch_info_struct): Create with entries for RS1, | |
208 | RSC, and RS2. | |
209 | (bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k). | |
210 | ||
a2fdf270 ND |
211 | 2000-06-16 Nicholas Duffek <nsd@cygnus.com> |
212 | ||
213 | * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64. | |
214 | * libcoff-in.h (struct xcoff_tdata): Define xcoff64 field. | |
215 | * libcoff.h (struct xcoff_tdata): Define xcoff64 field. | |
216 | ||
9bd09e22 ND |
217 | 2000-06-16 Nicholas Duffek <nsd@redhat.com> |
218 | ||
219 | * bfd-in.h (bfd_family_coff): Define. | |
220 | * bfd-in2.h: Regenerate. | |
221 | * coffgen.c (coff_count_linenumbers, coff_symbol_from, | |
222 | coff_find_nearest_line): Check COFFness using bfd_family_coff() | |
223 | instead of bfd_target_coff_flavour. | |
224 | * cofflink.c (_bfd_coff_final_link): Likewise. | |
225 | * cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to | |
226 | exclude XCOFF files. | |
227 | * reloc.c (bfd_perform_relocation, bfd_install_relocation): | |
228 | Likewise. | |
229 | * targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour. | |
230 | * xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour. | |
231 | * xcofflink.c (XCOFF_XVECP): Delete. | |
232 | (bfd_xcoff_link_record_set, bfd_xcoff_import_symbol, | |
233 | bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc, | |
234 | bfd_xcoff_record_link_assignment, | |
235 | bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with | |
236 | check for bfd_target_xcoff_flavour. | |
237 | ||
59d9f049 ND |
238 | 2000-06-16 Nicholas Duffek <nsd@redhat.com> |
239 | ||
240 | * rs6000-core.c: Support 64-bit core files, support pre-4.3 core | |
241 | files on AIX 4.3. | |
242 | (read_hdr): New function. | |
243 | (rs6000coff_core_p): Store mstsave or __context64 struct instead | |
244 | of trying to extract individual registers. Set abfd->arch_info | |
245 | to match the architecture that created the core file. | |
246 | (rs6000coff_get_section_contents): Delete. | |
247 | * xcoff-target.h (rs6000coff_get_section_contents): Delete. | |
248 | ||
63e39178 L |
249 | 2000-06-14 H.J. Lu <hjl@gnu.org> |
250 | ||
251 | * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec) | |
252 | is NULL. | |
253 | ||
bcef29e6 L |
254 | 2000-06-13 H.J. Lu <hjl@gnu.org> |
255 | ||
256 | * configure: Regenerate. | |
257 | ||
26bfd1c0 JR |
258 | Tue Jun 13 01:28:57 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
259 | ||
260 | * peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of | |
261 | armpei_little_vec. | |
262 | ||
946efd95 DB |
263 | 2000-06-08 David O'Brien <obrien@FreeBSD.org> |
264 | ||
265 | * configure.in (VERSION): Update to show this is the CVS mainline. | |
266 | ||
1b452ec6 AM |
267 | 2000-06-07 Alan Modra <alan@linuxcare.com.au> |
268 | ||
269 | * elf32-d10v.c: Include elf/d10v.h | |
270 | (enum reloc_type): Delete. | |
271 | * elf32-d30v.c: Include elf/d30v.h | |
272 | (enum reloc_type): Delete. | |
273 | ||
274 | * Makefile.am: Run "make dep-am" to regenerate dependencies. | |
275 | * Makefile.in: Regenerate. | |
276 | ||
277 | * elf32-i386.c (elf_howto_table): Remove EMPTY_HOWTOs. | |
dc47f327 AM |
278 | (elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and |
279 | move HOWTOs into elf_howto_table. | |
1b452ec6 | 280 | (R_386_standard, R_386_ext_offset): Define. |
dc47f327 | 281 | (R_386_ext, R_386_vt_offset, R_386_vt): Define. |
1b452ec6 | 282 | (elf_i386_reloc_type_lookup): Modify calculation of index into |
dc47f327 | 283 | elf_howto_table since we've removed the padding. |
1b452ec6 AM |
284 | (elf_i386_info_to_howto_rel): Likewise. |
285 | (elf_i386_relocate_section): Likewise. | |
286 | ||
e0ebfc61 MS |
287 | 2000-06-06 Michael Snyder <msnyder@seadog.cygnus.com> |
288 | ||
289 | * elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t. | |
290 | ||
9d6eee78 L |
291 | 2000-06-05 H.J. Lu <hjl@gnu.org> |
292 | ||
293 | * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag | |
294 | an error when seeing an undefined symbol with hidden/internal | |
295 | attribute. It is handled in *_relocate_section (). | |
296 | ||
94b6c40a L |
297 | 2000-06-05 H.J. Lu <hjl@gnu.org> |
298 | ||
299 | * elflink.h (elf_fix_symbol_flags): Follow the link for the | |
300 | indirect symbol for the ELF_LINK_NON_ELF bit. | |
301 | (elf_link_output_extsym): Don't output the indirect symbol even | |
302 | if the ELF_LINK_NON_ELF bit is set. | |
303 | ||
0af288f3 C |
304 | 2000-06-01 J.T. Conklin <jtc@redback.com> |
305 | ||
306 | * config.bfd (i[3456]86-*-netbsdelf*): New target. | |
307 | (i[3456]86-*-netbsdaout*): New target. | |
308 | (i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs. | |
309 | (i[3456]86-*-openbsd*): Likewise. | |
310 | ||
12df4d3c AC |
311 | Tue May 30 15:39:04 2000 Andrew Cagney <cagney@b1.cygnus.com> |
312 | ||
313 | * trad-core.c: From hpux-core.c, include <dirent.h> or | |
314 | <sys/ndir.h> when possible. | |
315 | ||
c0ae4ccc NC |
316 | 2000-05-31 Nick Clifton <nickc@cygnus.com> |
317 | ||
318 | * opintl.h (_(String)): Explain why dgettext is used instead | |
319 | of gettext. | |
320 | ||
321fa097 UD |
321 | 2000-05-31 Ulrich Drepper <drepper@redhat.com> |
322 | ||
323 | * elf.c (_bfd_elf_slurp_version_tables): Correct reading of version | |
324 | definitions. We must not assume they are sorted in the file | |
325 | according to their index numbers. | |
326 | ||
70d72e0e AM |
327 | 2000-05-31 Alan Modra <alan@linuxcare.com.au> |
328 | ||
329 | * elf-hppa.h: (elf_hppa_final_link_relocate): Use e_rsel field | |
330 | selector for R_PARISC_PCREL17R. R_PARISC_DIR17R and | |
331 | R_PARISC_DIR17F are for absolute branches; Handle them as such. | |
332 | ||
96f6d4c4 NC |
333 | 2000-05-30 Nick Clifton <nickc@cygnus.com> |
334 | ||
335 | * cpu-i960.c (scan_960_mach): Accept 80960KA, 80960KB, | |
336 | 80960CA, 80960MC as valid machine names. | |
337 | ||
38048eb9 L |
338 | 2000-05-30 H.J. Lu <hjl@gnu.org> |
339 | ||
340 | * elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the | |
341 | visibility bits if the symbol is undefined. Correctly handle | |
342 | weak undefined symbols with hidden and internal attributes. | |
343 | ||
344 | * elflink.h (elf_link_add_object_symbols): Always turn the | |
345 | symbol into local if it has the hidden or internal attribute. | |
346 | ||
8c763017 PB |
347 | 2000-05-29 Philip Blundell <philb@gnu.org> |
348 | ||
349 | * ppcboot.c: Add packed attribute if compiling with GCC. | |
350 | ||
1ae00f9d AM |
351 | 2000-05-29 Anatoly Vorobey <mellon@pobox.com> |
352 | ||
353 | * elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal. | |
354 | ||
4a938328 MS |
355 | 2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com> |
356 | ||
357 | * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus, | |
358 | elfcore_grok_psinfo): Add code to allow debugging a 32-bit | |
359 | corefile on a 64-bit (Sparc Solaris) host. Also clean up | |
360 | a few old comments. | |
361 | ||
5af11cab AM |
362 | 2000-05-26 Alan Modra <alan@linuxcare.com.au> |
363 | ||
2114f57b AM |
364 | * Makefile.am: Update dependencies with "make dep-am" |
365 | * Makefile.in: Regenerate. | |
366 | ||
5af11cab AM |
367 | * sysdep.h (gettext, dgettext, dcgettext, textdomain, |
368 | bindtextdomain): Replace defines with those from intl/libgettext.h | |
369 | to quieten gcc warnings. | |
370 | ||
371 | 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il> | |
372 | ||
373 | * aoutx.h (find_nearest_line): Use IS_ABSOLUTE_PATH. | |
374 | ||
375 | * archive.c (normalize, bfd_bsd_truncate_arname, | |
376 | bfd_gnu_truncate_arname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support | |
377 | file names with backslashes. | |
378 | ||
379 | * cache.c (bfd_open_file) [__MSDOS__]: Don't unlink the file | |
380 | before opening it. | |
381 | ||
382 | * sysdep.h: Include filenames.h. | |
383 | ||
b6cdd0fd AM |
384 | 2000-05-26 Alan Modra <alan@linuxcare.com.au> |
385 | ||
386 | * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777. | |
387 | ||
f7775d95 JJ |
388 | 2000-05-26 Jakub Jelinek <jakub@redhat.com> |
389 | ||
390 | * elf64-sparc.c (sparc64_elf_relax_section): New. | |
391 | (sparc64_elf_relocate_section): Optimize tail call into branch always | |
392 | if possible. | |
393 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
394 | (elf32_sparc_relax_section): New. | |
395 | ||
6c08d697 JJ |
396 | 2000-05-26 Jakub Jelinek <jakub@redhat.com> |
397 | ||
398 | * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters. | |
399 | Remove unusued variables. | |
400 | (sparc64_elf_relocate_section): Change r_symndx type to unsigned long. | |
401 | (sparc64_elf_merge_private_bfd_data): Fix shared library case from | |
402 | previous fix, so that shared libs really don't influence targets | |
403 | extension mask and memory model. | |
404 | ||
edb72b3b L |
405 | 2000-05-23 H.J. Lu <hjl@gnu.org> |
406 | ||
407 | * elf64-alpha.c (elf64_alpha_relocate_section): Check | |
408 | h->root.other not h->other. | |
ba09750c L |
409 | * elf32-mips.c (mips_elf_calculate_relocation): Likewise. |
410 | ||
411 | * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo. | |
edb72b3b | 412 | |
3a27a730 L |
413 | 2000-05-23 H.J. Lu <hjl@gnu.org> |
414 | ||
415 | * elf32-i386.c (elf_i386_relocate_section): Don't allow the | |
416 | undefined symbol with the non-default visibility attributes. | |
417 | * elf-hppa.h (elf_hppa_relocate_section): Likewise. | |
418 | * elf32-arm.h (elf32_arm_relocate_section): Likewise. | |
419 | * elf32-i370.c (i370_elf_relocate_section): Likewise. | |
420 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
421 | * elf32-mcore.c (mcore_elf_relocate_section): Likewise. | |
422 | * elf32-mips.c (mips_elf_calculate_relocation): Likewise. | |
423 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
424 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
425 | * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. | |
426 | * elf64-ia64.c (elf64_ia64_relocate_section): Likewise. | |
427 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
428 | ||
748abff6 RH |
429 | 2000-05-22 Richard Henderson <rth@cygnus.com> |
430 | ||
431 | * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI, | |
432 | PCREL22, PCREL64I. Zero size of special relocs. | |
433 | (elf64_ia64_reloc_type_lookup): Likewise. | |
434 | (USE_BRL, oor_brl, oor_ip): New. | |
435 | (elf64_ia64_relax_section): New. | |
436 | (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I. | |
437 | (elf64_ia64_install_value): Likewise, plus PCREL21BI. | |
438 | (elf64_ia64_relocate_section): Likewise. | |
439 | (bfd_elf64_bfd_relax_section): New. | |
440 | * reloc.c (BFD_RELOC_IA64_PCREL21BI): New. | |
441 | (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New. | |
442 | * bfd-in2.h, libbfd.h: Regenerate. | |
443 | ||
fb67355a NC |
444 | 2000-05-22 Nick Clifton <nickc@cygnus.com> |
445 | ||
446 | * configure.in : Add peigen.lo to MIPS PE targets. | |
447 | * configure: Regenerate. | |
448 | ||
1fe494a5 NC |
449 | 2000-05-22 Momchil Velikov <velco@fadata.bg> |
450 | ||
451 | * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess | |
748abff6 | 452 | only if it is known for both input and output bfds. Separate |
1fe494a5 NC |
453 | error message strings as in some languages, it may be necessary |
454 | to change more than one place in the string to change between | |
455 | 'big' and 'little'. | |
456 | ||
457 | * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline | |
458 | endianess checks, call _bfd_generic_verify_endian_match() instead. | |
459 | ||
460 | * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise. | |
461 | ||
462 | * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise. | |
463 | ||
464 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify | |
465 | endianess before checking bfd flavours. | |
466 | ||
32c092c3 L |
467 | 2000-05-22 H.J. Lu <hjl@gnu.org> |
468 | ||
469 | * elflink.h (elf_link_output_extsym): Clear the visibility | |
470 | field for symbols not defined locally. | |
471 | ||
df6d9773 JL |
472 | 2000-05-18 Alan Modra <alan@linuxcare.com.au> |
473 | ||
474 | * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16, | |
475 | re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn. | |
476 | (hppa_rebuild_insn): Mask immediate bits here instead. | |
477 | * elf-hppa.h (elf_hppa_relocate_insn): Mask here too. | |
478 | ||
7ad34365 NC |
479 | 2000-05-18 Momchil Velikov <velco@fadata.bg> |
480 | ||
481 | * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting | |
482 | relocs for an executable, ensure that they are virtual addresses. | |
483 | ||
d1dab720 JL |
484 | Thu May 18 10:55:47 2000 Jeffrey A Law (law@cygnus.com) |
485 | ||
486 | * config.bfd (hppa*64*-*-hpux11*): New target triplet. | |
487 | ||
a712da20 NC |
488 | 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com> |
489 | Rick Gorton <gorton@scrugs.lkg.dec.com> | |
490 | ||
491 | * elflink.h: Add emitrelocations support: when enabled, relocation | |
492 | information and relocation sections are put into final output | |
493 | executables. If the emitrelocations flag is set, do the following: | |
494 | (elf_bfd_final_link): Emit relocation sections. | |
495 | (elf_link_input_bfd): Compute relocation section contents. | |
496 | (elf_gc_sections): Don't clean relocation sections. | |
497 | ||
10febd84 CM |
498 | 2000-05-16 Catherine Moore <clm@cygnux.com> |
499 | ||
500 | * som.c (som_decode_symclass): Recognize weak symbols. | |
501 | ||
db8503c4 AM |
502 | 2000-05-16 Szabolcs Szakacsits <szaka@F-Secure.com> |
503 | ||
504 | * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that | |
505 | read idata section only from dataoff. | |
506 | (pe_print_edata): Correctly check for valid eat_member. | |
507 | ||
851cde10 JR |
508 | Tue May 16 00:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
509 | ||
510 | * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8. | |
511 | ||
1bde2d57 PB |
512 | 2000-05-14 Philip Blundell <philb@gnu.org> |
513 | ||
514 | * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets. | |
515 | ||
a76b448c AM |
516 | 2000-05-12 Alan Modra <alan@linuxcare.com.au> |
517 | ||
9ee25201 AM |
518 | * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec |
519 | ||
a76b448c AM |
520 | * peigen.c (pe_print_idata): Look for .idata section and print |
521 | info even if data directory has zero entries. Read idata section | |
522 | starting from dataoff, and adjust all data offsets to suit. Cast | |
523 | all bfd_vma vars to unsigned long before passing to fprintf. | |
524 | * peigen.c (pe_print_edata): Similarly, look for .edata section | |
525 | and print info even if data directory has zero entries. Cast | |
526 | all bfd_vma vars to unsigned long before passing to fprintf. | |
527 | ||
528 | From Szabolcs Szakacsits <szaka@F-Secure.com> | |
529 | * peigen.c (pe_print_idata): Use bfd_section_size rather than data | |
530 | directory size which may be bogus. | |
531 | * peigen.c (pe_print_edata): Similarly. | |
532 | ||
72730e0c AM |
533 | 2000-05-09 Alan Modra <alan@linuxcare.com.au> |
534 | ||
535 | * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela | |
536 | section is empty. | |
537 | (copy_private_bfd_data): Allow for space possibly taken up by elf | |
538 | headers when calculating segment physical address from lma. | |
539 | ||
8181c403 AM |
540 | 2000-05-08 Alan Modra <alan@linuxcare.com.au> |
541 | ||
bfde9f99 AM |
542 | * versados.c (versados_scan): Init stringlen and pass_2_done. |
543 | ||
b35efbcd AM |
544 | * trad-core.c (trad_unix_core_file_p): Return |
545 | bfd_error_wrong_format rather than bfd_error_file_truncated. | |
546 | ||
8181c403 AM |
547 | * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to |
548 | add_data_entry. DataDirectory virtual address is relative. | |
549 | (pe_print_idata): Account for relative DataDirectory virtual | |
550 | addresses. Don't trash datasize inside POWERPC_LE_PE code. | |
551 | (pe_print_edata): Similarly. | |
552 | ||
553 | From Szabolcs Szakacsits <szaka@F-Secure.com> | |
554 | * peigen.c (dir_names): Add Delay Import Directory. | |
555 | (pe_print_idata): Always search for bfd section containing | |
556 | idata address rather than looking up section name. Print this | |
557 | section name rather than .idata. | |
558 | (pe_print_edata): Similarly. Also print some fields as %08lx. | |
559 | (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as | |
560 | Win32Version. | |
561 | ||
2c38bc20 CP |
562 | Fri May 5 20:44:40 2000 Clinton Popetz <cpopetz@cygnus.com> |
563 | ||
564 | * xcoff.h: Rename to xcoff-target.h | |
565 | * Makefile.am: Change all instances of xcoff.h to xcoff-target.h | |
566 | * coff-rs6000.c: Ditto. | |
567 | * coff64-rs6000.c: Ditto. | |
568 | * coff-pmac.c: Ditto. | |
569 | * Makefile.in: Regenerate. | |
570 | ||
c6664dfb CP |
571 | Fri May 5 16:51:03 2000 Clinton Popetz <cpopetz@cygnus.com> |
572 | ||
573 | * coffcode.h (coff_set_arch_mach_hook, coff_set_flags): | |
574 | Change U802TOC64MAGIC to U803XTOCMAGIC. | |
575 | ||
3425c182 MS |
576 | 2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com> |
577 | ||
578 | * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1. | |
579 | * bfd-in.h: Prototype bfd_elf_get_arch_size. | |
580 | * bfd-in2.h: Prototype bfd_elf_get_arch_size. | |
581 | ||
7c30ac37 AM |
582 | 2000-05-04 Alan Modra <alan@linuxcare.com.au> |
583 | ||
584 | * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma. | |
585 |