Commit | Line | Data |
---|---|---|
811c57ff NC |
1 | 1998-12-08 Nick Clifton <nickc@cygnus.com> |
2 | ||
3 | * elf32-fr30.c (fr30_final_link_relocate): Fix PC relative | |
4 | relocations to include offset of 2 included in the insns, and the | |
5 | offset of the relocs within the section. | |
6 | ||
8ecd559a DT |
7 | Wed Dec 2 15:03:59 1998 David Taylor <taylor@texas.cygnus.com> |
8 | ||
9 | The following changes were made by David Taylor | |
10 | <taylor@texas.cygnus.com>, Edith Epstein | |
11 | <eepstein@sophia.cygnus.com>, Jim Blandy | |
12 | <jimb@zwingli.cygnus.com>, and Elena Zannoni | |
13 | <ezannoni@kwikemart.cygnus.com> as part of the project to merge in | |
14 | changes originally made by HP; HP did not create ChangeLog | |
15 | entries. | |
16 | ||
17 | * aclocal.m4, configure, Makefile.in: Rebuilt using latest | |
18 | automake macro library. | |
19 | ||
20 | * hpux-core.c (hpux_core_core_file_p): this function now | |
21 | understands HPUX 10.30 thread info. Yes, the thread stacks can be | |
22 | found in the corefile! Also, in hpux_core_core_file_p, if we | |
23 | encounter a section with an unknown type, don't punt. Instead, | |
24 | just skip it. Also, count the number of sections of known type | |
25 | that we encounter. If we encounter at least one good one, then | |
26 | we'll declare that the file is a core file. If we encounter any | |
27 | unknown ones but some known ones, then we'll issue a warning (but | |
28 | still declare it to be a core file). Also, correctly decide when a | |
29 | file is not a core. | |
30 | (PROC_INFO_HAS_THREAD_ID): define if CORE_ANON_SHMEM defined. | |
31 | (CORE_ANON_SHMEM): define if not defined. | |
32 | (hpux_core_struct): add members lwpid and user_tid. | |
33 | (core_kernel_thread_id, core_user_thread_id): new macros. | |
34 | (make_bfd_asection): use bfd_alloc to allocate room for a copy of | |
35 | the name before storing it in the bfd. | |
36 | (hpux_core_core_file_p): handle threads. | |
37 | ||
38 | * libhppa.h (GET_FIELD): protect against redefinition. | |
39 | (HPPA_WIDE): define. | |
40 | (GET_FIELD): define. | |
41 | (GET_BIT): define. | |
42 | (MASK): define. | |
43 | (CATENATE): define. | |
44 | (ELEVEN): define. | |
45 | (sign_extend): redefine. | |
46 | (assemble_6): define. | |
47 | (assemble_12): rewrite. | |
48 | (assemble_16): define. | |
49 | (assemble_16a): define. | |
50 | (assemble_17): rewrite. | |
51 | (assemble_22): define. | |
52 | ||
8f34fce5 NC |
53 | 1998-12-07 Nick Clifton <nickc@cygnus.com> |
54 | ||
55 | * elf32-fr30.c (fr30_final_link_relocate): Using signed | |
56 | relocations for signed values. | |
57 | ||
884949db ILT |
58 | Sun Dec 6 16:30:33 1998 Ian Lance Taylor <ian@cygnus.com> |
59 | ||
b447de7a ILT |
60 | * mipsbsd.c (MY(set_arch_mach)): Make static. |
61 | * aoutx.h (NAME(aout,machine_type)): For bfd_arch_mips, use | |
62 | bfd_mach_mips* macros rather than simple numbers. | |
63 | ||
20a7eb60 ILT |
64 | COFF weak symbol support, based on patches from Mark Elbrecht |
65 | <snowball3@usa.net>: | |
66 | * coffcode.h (coff_slurp_symbol_table): Handle C_WEAKEXT. | |
67 | * coffgen.c (coff_renumber_symbols): Handle weak symbols. | |
68 | (coff_write_alien_symbol): Likewise. | |
69 | * cofflink.c (coff_link_check_ar_symbols): Likewise. | |
70 | (coff_link_add_symbols): Likewise. | |
71 | (_bfd_coff_link_input_bfd): Likewise. | |
72 | (_bfd_coff_write_global_sym): Likewise. | |
73 | ||
8dabc985 ILT |
74 | * elf.c (copy_private_bfd_data): Always initialize the |
75 | includes_phdrs field. | |
76 | ||
e9814417 ILT |
77 | * elflink.h (elf_fix_symbol_flags): Check for case where a non-ELF |
78 | file defines a symbol first mentioned in an ELF file. | |
79 | ||
859a615e ILT |
80 | * bfd-in.h: Always define BFD_HOST_64_BIT and BFD_HOST_U_64_BIT if |
81 | possible, rather than only if BFD64. | |
82 | * elflink.h (compute_bucket_count): Just check BFD_HOST_U_64_BIT, | |
83 | not __GNUC__. | |
84 | * bfd-in2.h: Rebuild. | |
85 | ||
fa062871 ILT |
86 | * srec.c (srec_set_section_contents): Correct test to avoid |
87 | switching to 4 byte addresses after seeing a second section which | |
88 | requires 3 byte addresses. From Joel Schantz | |
89 | <joel.schantz@argosys.boeing.com>. | |
90 | ||
884949db ILT |
91 | * config.bfd (m68*-*-gnu*): New target. From Aymeric Vincent |
92 | <aymeric.vincent@emi.u-bordeaux.fr>. | |
93 | ||
cc95a2d5 JB |
94 | 1998-12-04 Jim Blandy <jimb@zwingli.cygnus.com> |
95 | ||
96 | * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Fix logic to | |
97 | decide whether the output file is -mrelocatable-lib, | |
71812ec5 | 98 | -mrelocatable, or neither. (gdb.base/nodebug.exp) |
cc95a2d5 JB |
99 | |
100 | 1998-12-03 Nick Clifton <nickc@cygnus.com> | |
101 | ||
102 | * elf32-fr30.c: Add support for R_FR30_48 reloc. | |
103 | * reloc.c: Add BFD_RELOC_FR30_48 relocation. | |
104 | * bfd-in2.h: Regenerate. | |
105 | * libbfd.h: Regenerate | |
106 | ||
107 | Wed Dec 2 00:58:37 1998 Ian Lance Taylor <ian@cygnus.com> | |
108 | ||
109 | * elflink.h (elf_adjust_dynamic_symbol): Warn on an attempt to | |
110 | link against a dynamic symbol with no type or size. | |
111 | ||
27f7e91a UD |
112 | 1998-12-01 Ulrich Drepper <drepper@cygnus.com> |
113 | ||
114 | * elf32-i386.c (i386_check_relocs) [R_386_32]: Don't emit | |
115 | relocation for section which does not get loaded. | |
116 | (elf_i386_relocate_section) [R_386_32]: Likewise. | |
117 | ||
16636918 JW |
118 | Tue Dec 1 11:33:33 1998 Jim Wilson <wilson@cygnus.com> |
119 | ||
120 | * coff-h8300.c (h8300_bfd_link_add_symbols): Make reloc_size, | |
121 | reloc_count and i long instead of unsigned long. Handle error | |
122 | return from bfd_canonicalize_reloc. | |
123 | ||
1ab49c84 NC |
124 | 1998-12-01 Nick Clifton <nickc@cygnus.com> |
125 | ||
126 | * elf32-v850.c (v850_elf_relocate_section): Detect the absence of | |
127 | a hash table. | |
128 | ||
c2d4e431 JR |
129 | Mon Nov 30 15:28:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk> |
130 | ||
131 | * elf32-sh.c (elf/sh.h): Include. | |
132 | sh_reloc_type: Delete. Changed all references to elf_sh_reloc_type. | |
133 | (sh_elf_howto_tab): Add HOWTO for R_SH_SWITCH8. | |
134 | (sh_reloc_map): Map BFD_RELOC_8_PCREL to R_SH_SWITCH8. | |
135 | (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8. | |
136 | * Makefile.in: Add dependency of elf32-sh.lo on $(INCDIR)/elf/sh.h. | |
137 | ||
5825dfc5 RH |
138 | Fri Nov 27 17:51:38 1998 Geoff Keating <geoffk@ozemail.com.au> |
139 | ||
140 | * elflink.h (compute_bucket_count): Don't allow minsize==0, it | |
141 | causes division by zero later on. | |
142 | ||
3f298868 DB |
143 | Thu Nov 26 11:19:35 1998 Dave Brolley <brolley@cygnus.com> |
144 | ||
145 | * elf32-fr30.c (fr30_elf_pc9_reloc,fr30_elf_pc12_reloc): Not | |
146 | needed. | |
147 | ||
8cde3351 DD |
148 | 1998-11-25 DJ Delorie <dj@cygnus.com> |
149 | ||
150 | * coff-i386.c (i3coff_object_p): Remove hack. Use new emulation | |
151 | hook now. | |
152 | ||
cb4ec686 NC |
153 | Tue Nov 24 10:25:27 1998 Nick Clifton <nickc@cygnus.com> |
154 | ||
155 | * elf32-fr30.c (fr30_elf_relocate_section): Call | |
156 | fr30_final_link_relocate. | |
157 | (fr30_final_link_relocate): New function: Handle I20 and I32 | |
158 | relocs. | |
159 | (fr30_elf_i32_reloc): New function: Handle I32 relocs. | |
226c1993 NC |
160 | (fr30_elf_pc9_reloc): New function: Handle 9_PCREL relocs. |
161 | (fr30_elf_pc12_reloc): New function: Handle 12_PCREL relocs. | |
cb4ec686 NC |
162 | |
163 | * elf32-v850.c (v850_elf_relocate_section): Reset hi16s reloc | |
164 | chain to empty. | |
27f7e91a | 165 | |
cb4ec686 NC |
166 | The following changes are based on a patch submitted by Gianluca |
167 | Moro <glctr@abc.it>: | |
27f7e91a | 168 | |
cb4ec686 NC |
169 | (v850_elf_perform_relocation): Only update a hi16s reloc if it has |
170 | not already been updated. | |
171 | (find_remembered_hi16s_reloc): New parameter 'already_found' | |
172 | returns state of remembered hi16s reloc. | |
173 | (remember_hi16s_reloc): Set 'found' field to false. | |
174 | (hi16s_location): Add 'found' field. | |
175 | ||
11dddcef DD |
176 | 1998-11-23 DJ Delorie <dj@cygnus.com> |
177 | ||
178 | * coff-i386.c (bfd_pe_dll_not_recognized_hack): the linker wants | |
179 | to see .DLL files as unrecognized. | |
180 | (i3coff_object_p): Sorry, had to hack it to not recognize these | |
181 | files (pei-i386) on request. | |
182 | ||
b7de6a0d DD |
183 | 1998-11-23 DJ Delorie <dj@cygnus.com> |
184 | ||
185 | * opncls.c (bfd_make_readable): need more cleanup for symbols and | |
186 | relents. Call bfd_check_format to reinitialize. | |
187 | ||
e203d469 NC |
188 | Fri Nov 20 14:21:36 1998 Nick Clifton <nickc@cygnus.com> |
189 | ||
190 | * elf32-fr30.c (fr30_elf_relocate_section): Remove spurious | |
27f7e91a | 191 | warnings. |
e203d469 | 192 | |
4aeb051e | 193 | Thu Nov 19 14:42:15 1998 Geoffrey Noer <noer@cygnus.com> |
aba19543 GN |
194 | |
195 | * aclocal.m4: regenerate | |
196 | * configure: regenerate | |
197 | ||
468bc0c5 RH |
198 | Tue Nov 17 20:23:35 1998 Richard Henderson <rth@cygnus.com> |
199 | ||
200 | * elf-bfd.h (struct elf_link_hash_entry): Add vtable_entries_size. | |
201 | * elf.c (_bfd_elf_link_hash_newfunc): Clear it. | |
202 | * elflink.h (elf_gc_propagate_vtable_entries_used): Copy it, and | |
203 | respect it as an upper bound on what memory to reference. | |
204 | (elf_gc_smash_unused_vtentry_relocs): Likewise. | |
205 | (elf_gc_record_vtentry): Handle as-yet undefined vtables. Set and | |
206 | update vtable_entries_size appropriately. | |
207 | ||
82ef568c NC |
208 | Tue Nov 17 15:28:31 1998 Nick Clifton <nickc@cygnus.com> |
209 | ||
210 | * elf32-fr30.c (fr30_reloc_type_lookup): Used integers to hold | |
211 | reloc number. | |
212 | ||
949fae0b | 213 | Mon Nov 16 22:19:21 1998 DJ Delorie <dj@cygnus.com> |
020917f9 DD |
214 | |
215 | * archive.c (bfd_ar_hdr_from_filesystem): support BFD_IN_MEMORY | |
216 | bfds; they have no "file" so we fake it. | |
217 | * bfd-in2.h: add bfd_make_writable and bfd_make_readable (regen) | |
218 | * libbfd.c (bfd_write): Allow writing to BFD_IN_MEMORY bfds by | |
219 | resizing the memory buffer. | |
220 | * opncls.c (bfd_make_writable): New function; lets you write a | |
221 | bfd_create'd bfd to an in-memory buffer. | |
222 | (bfd_make_readable): New function; lets you read back that buffer | |
223 | as if it were from bfd_openr. Used to build generated archive | |
224 | members (winsup's ld's dlltool) | |
225 | ||
44e7cd63 DB |
226 | Mon Nov 16 19:15:19 1998 Dave Brolley <brolley@cygnus.com> |
227 | ||
228 | * po/bfd.pot: Regenerated. | |
229 | ||
45cac0cb NC |
230 | Mon Nov 16 10:57:06 1998 Nick Clifton <nickc@cygnus.com> |
231 | ||
232 | * elf32-v850.c (hi16s_location): Replaced fixed size array with | |
233 | linked list. | |
234 | ||
34c304a7 RH |
235 | Sun Nov 15 20:28:25 1998 Richard Henderson <rth@cygnus.com> |
236 | ||
237 | * elf64-alpha.c (elf64_alpha_relax_section): Search for the proper | |
238 | element of the gotentry list for local symbols too. | |
239 | (elf64_alpha_relocate_section): Unify local and global handling. | |
240 | Assert that gotent->use_count > 0. | |
241 | ||
dc52ee8c ILT |
242 | Sat Nov 14 15:16:01 1998 Ian Lance Taylor <ian@cygnus.com> |
243 | ||
244 | * configure.in (vms_alpha_vec): Rename from evax_alpha_vec, and | |
245 | update for file name changes of July 2, 1998. | |
246 | (vms_vax_vec): New. | |
247 | * configure: Rebuild. | |
248 | ||
e9928289 DB |
249 | Thu Nov 12 19:19:54 1998 Dave Brolley <brolley@cygnus.com> |
250 | ||
251 | * po/bfd.pot: Regenerated. | |
252 | ||
9dfa8076 GN |
253 | Tue Nov 10 16:17:06 1998 Geoffrey Noer <noer@cygnus.com> |
254 | ||
ea42e2d8 | 255 | * acinclude.m4, config.bfd: detect cygwin* instead of cygwin32*. |
9dfa8076 GN |
256 | * aclocal.m4, configure: regenerate |
257 | ||
ac0442dd NC |
258 | Tue Nov 10 15:13:59 1998 Nick Clifton <nickc@cygnus.com> |
259 | ||
260 | * elf.c (prep_headers): Add support for bfd_arch_fr30. | |
261 | ||
e92a168f FL |
262 | Tue Nov 10 13:37:36 1998 Felix Lee <flee@cygnus.com> |
263 | ||
264 | * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE, | |
265 | BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): didn't define macro when value | |
266 | was cached. | |
267 | * aclocal.m4, configure: regenerated. | |
27f7e91a | 268 | |
970e0ba2 CM |
269 | Tue Nov 10 14:31:01 1998 Catherine Moore <clm@cygnus.com> |
270 | ||
271 | * elf32-d10v.c (reloc_type): Add R_D10V_GNU_VTINHERIT and | |
272 | R_D10V_GNU_VTENTRY relocs. | |
273 | (elf_d10v_howto_table): Likewise. | |
274 | (d10v_reloc_map d10v_reloc_map): Likewise. | |
275 | (elf32_d10v_gc_mark_hook): New. | |
276 | (elf32_d10v_gc_sweep_hook): New. | |
277 | (elf32_d10v_check_relocs): New. | |
278 | (elf32_d10v_relocate_section): New. | |
279 | (elf_backend_relocate_section): Define. | |
280 | (elf_backend_can_gc_sections): Define. | |
281 | ||
446b878f ILT |
282 | Sat Nov 7 18:07:51 1998 Peter Schauer <peter.schauer@regent.e-technik.tu-muenchen.de> |
283 | ||
284 | * Makefile.am (BFD32_BACKENDS): Move vms files here... | |
285 | (BFD64_BACKENDS): ...from here. | |
286 | (BFD32_BACKENDS_CFILES): Move vms files here... | |
287 | (BFD64_BACKENDS_CFILES): ...from here. | |
288 | * Makefile.in: Rebuild. | |
289 | ||
4aeed4f2 NC |
290 | Wed Nov 4 15:58:48 1998 Nick Clifton <nickc@cygnus.com> |
291 | ||
292 | * Makefile.am: Add FR30 target. | |
293 | * Makefile.in: Add FR30 target. | |
294 | * archures.c: Add support for FR30. | |
295 | * config.bfd: Add support for FR30. | |
296 | * configure.in: Add support for FR30. | |
297 | * reloc.c: Add support for FR30 relocations. | |
27f7e91a | 298 | * targets.c: Add support for FR30 relocations. |
4aeed4f2 NC |
299 | * bfd-in2.h: Regenerate. |
300 | * configure: Regenerate. | |
301 | * libbfd.h: Regenerate. | |
302 | * cpu-fr30.c: New file. | |
303 | * elf32-fr30.c: New file. | |
27f7e91a | 304 | |
1c18e77a GN |
305 | Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com> |
306 | ||
307 | * configure.in: detect cygwin* instead of cygwin32* | |
308 | * configure: regenerate | |
309 | ||
be70e54c JL |
310 | Sun Nov 1 19:32:28 1998 Jeffrey A Law (law@cygnus.com) |
311 | ||
312 | * elf-m10300.c (mn10300_elf_relax_section): Do not use alloca, | |
313 | use bfd_malloc and free instead and check return value from bfd_malloc. | |
314 | ||
9f83f953 ILT |
315 | Sun Nov 1 16:20:35 1998 Ian Lance Taylor <ian@cygnus.com> |
316 | ||
317 | * libbfd-in.h (_bfd_dwarf1_find_nearest_line): Declare. | |
318 | * libbfd.h: Rebuild. | |
319 | ||
320 | * elf32-mips.c (mips_elf_dynsym_sec_names): Comment out. | |
321 | (SIZEOF_MIPS_DYNSYM_SECNAMES): Likewise. | |
322 | (MIPS_TEXT_DYNSYM_SECN): Likewise. | |
323 | (_bfd_mips_elf_fake_sections): Don't set sh_info field of a .hash | |
324 | section. | |
325 | (struct mips_elf_link_hash_table): Remove dynsym_sec_strindex | |
326 | field. | |
327 | (mips_elf_link_hash_table_create): Don't initialize | |
328 | dynsym_sec_strindex. | |
329 | (mips_elf_gc_mark_hook): Add default case to avoid warning. | |
330 | (mips_elf_size_dynamic_sections): Generate a section symbol for | |
331 | every output section. | |
332 | (mips_elf_finish_dynamic_sections): Count all sections for | |
333 | DT_MIPS_UNREFEXTNO. | |
334 | (mips_elf_finish_dynamic_sections): Use dynamic symbols for all | |
335 | output sections. | |
336 | ||
02be03db ILT |
337 | Sun Nov 1 12:46:53 1998 Geoff Keating <geoffk@ozemail.com.au> |
338 | ||
339 | * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Allocate two slots | |
340 | for later PLT entries in large PLTs. | |
341 | (ppc_elf_finish_dynamic_symbol): Allow for the extra slots. | |
342 | ||
7a62c80b JL |
343 | Sat Oct 31 20:10:09 1998 Jeffrey A Law (law@cygnus.com) |
344 | ||
345 | * elf32-ppc.c (ppc_elf_reload_section): Fix typo. | |
346 | ||
5c2ad07f UD |
347 | 1998-10-26 15:58 Ulrich Drepper <drepper@cygnus.com> |
348 | ||
349 | * elf-bfd.h (struct elf_link_hash_entry): Add new field elf_hash_value. | |
350 | * elflink.h (elf_collect_hash_codes): New function. This function is | |
351 | called for each exported symbol and we compute the ELF hash value for | |
352 | it. | |
353 | (compute_bucket_value): New function. It is called from | |
354 | size_dynamic_sections to determine the hash table size. When we are | |
355 | optimizing a better, but slower, algorithm is used. | |
356 | (size_dynamic_sections): Call compute_bucket_value. | |
357 | ||
358 | * elf.c (bfd_elf_hash): Optimize the hash function a bit. | |
359 | ||
360 | Mon Oct 19 20:03:21 1998 Catherine Moore <clm@cygnus.com> | |
361 | ||
362 | * elf32-sh.c: Add HOWTO entries for R_SH_GNU_VTINHERIT and | |
363 | R_SH_GNU_VTENTRY. | |
364 | (sh_elf_gc_mark_hook): New. | |
365 | (sh_elf_gc_sweep_hook): New. | |
366 | (sh_elf_check_relocs): New. | |
367 | (elf_backend_can_gc_sections): Define. | |
368 | ||
fa03589c FL |
369 | Mon Oct 19 16:57:05 1998 Felix Lee <flee@cygnus.com> |
370 | ||
371 | * acinclude.m4: undo previous gettext change | |
372 | * aclocal.m4: rebuild with right version of aclocal. | |
373 | ||
2c54bc60 FL |
374 | Mon Oct 19 01:47:21 1998 Felix Lee <flee@cygnus.com> |
375 | ||
376 | * acinclude.m4, aclocal.m4: move gettext-related fragments from | |
377 | aclocal.m4 to acinclude.m4, so they don't get lost. | |
5c2ad07f | 378 | |
2c54bc60 FL |
379 | * elfcore.h: rewrite for better corefile support. |
380 | * elf.c (elfcore_*): new functions. | |
381 | * elf-bfd.h (elf_obj_tdata): new structure members. | |
382 | * acconfig.h, acinclude.m4, configure.in: add feature-tests for | |
383 | flavor of procfs. | |
384 | * aclocal.m4, config.in, configure, Makefile.in: regenerated. | |
385 | ||
09878672 CM |
386 | Fri Oct 16 14:07:45 1998 Catherine Moore <clm@cygnus.com> |
387 | ||
388 | * elf32-m32r.c: Add HOWTO entries for R_M32R_GNU_VTINHERIT | |
389 | and R_M32R_GNU_VTENTRY. | |
390 | (elf_backend_can_gc_sections): Define. | |
391 | (m32r_elf_check_relocs): New. | |
392 | (m32r_elf_gc_mark_hook): New. | |
393 | (m32r_elf_gc_sweep_hook): New. | |
394 | (m32r_elf_relocate_section): Handle VT relocs. | |
395 | ||
a11380f1 NC |
396 | Mon Oct 12 14:18:40 1998 Nick Clifton <nickc@cygnus.com> |
397 | ||
09878672 | 398 | * coff-arm.c (arm_relocate_section): Remove redundant test. |
5c2ad07f | 399 | |
a148e678 NC |
400 | * bfd-in2.h (struct reloc_howto_struct): Improve comment to make |
401 | cleat that the 'bitsize' field is the size of the bitfield AFTER | |
402 | relocation not before. | |
5c2ad07f | 403 | |
a148e678 NC |
404 | * elf32-m32r.c (R_M32R_18_PCREL): Fix size of bitfield. |
405 | ||
a11380f1 NC |
406 | * coff-mips.c (mips_relocate_hi): Cope with missing refhi or reflo |
407 | relocs. | |
408 | ||
409 | Tue Oct 6 09:20:44 1998 Catherine Moore <clm@cygnus.com> | |
5c2ad07f | 410 | |
a11380f1 NC |
411 | * elf32-sparc.c: Add HOWTO entries for R_SPARC_GNU_VTINHERIT and |
412 | R_SPARC_GNU_VTENTRY. | |
413 | (elf32_sparc_check_relocs): Handle them. | |
414 | (elf32_sparc_reloc_type_lookup): Likewise. | |
415 | (elf32_sparc_relocate_section): Likewise. | |
416 | (elf32_sparc_gc_mark_hook): New. | |
417 | (elf32_sparc_gc_sweep_hook): New. | |
5c2ad07f | 418 | |
8e40ea4b JL |
419 | Mon Oct 5 14:55:30 1998 Jeffrey A Law (law@cygnus.com) |
420 | ||
421 | * som.c (som_finish_writing): Perform some sanity checks when | |
422 | writing an executable or shared library. | |
423 | ||
ecd41d25 GRK |
424 | Mon Oct 5 12:02:31 1998 Gavin Romig-Koch <gavin@cygnus.com> |
425 | ||
426 | * dwarf1.c : New file. Adds _bfd_dwarf1_find_nearest_line. | |
427 | * configure.in (elf): Add dwarf1.lo. | |
428 | * elf_bfd.h (elf_ob_tdata): Add dwarf1_find_line_info. | |
5c2ad07f | 429 | * elf.c (_bfd_elf_find_nearest_line): Add call to |
ecd41d25 | 430 | _bfd_dwarf1_find_nearest_line. |
5c2ad07f | 431 | * elf32-mips.c (_bfd_mips_elf_find_nearest_line): |
ecd41d25 GRK |
432 | Add call to _bfd_dwarf1_find_nearest_line. |
433 | * configure: Rebuilt. | |
434 | ||
6342b062 CM |
435 | Mon Oct 5 10:06:22 1998 Catherine Moore <clm@cygnus.com> |
436 | ||
437 | * elflink.h (elf_gc_sections): Do not allow garbage | |
438 | collection if dynamic sections have been created. | |
439 | ||
2bbf16bf CM |
440 | Mon Oct 5 09:07:37 1998 Catherine Moore <clm@cygnus.com> |
441 | ||
442 | * elf32-v850.c: Add HOWTO entries for R_V850_GNU_VTINHERIT and | |
443 | R_V850_GNU_VTENTRY. | |
444 | (v850_elf_check_relocs): Handle VTINHERIT and VTENTRY relocs. | |
445 | (v850_elf_perform_relocation): Likewise. | |
446 | (v850_elf_final_link_relocate): Likewise. | |
447 | (v850_elf_relocate_section): Likewise. | |
448 | (v850_elf_gc_sweep_hook): New routine. | |
449 | (v850_elf_gc_mark_hook): New routine. | |
450 | (elf_backend_can_gc_sections): Define. | |
451 | ||
1b9dc864 CM |
452 | Mon Oct 5 09:04:25 1998 Catherine Moore <clm@cygnus.com> |
453 | ||
454 | * elf32-m68k.c (elf_m68k_gc_sweep_hook): Don't assume | |
455 | that dynobj exists. | |
456 | ||
cba6760b ILT |
457 | Sun Oct 4 23:29:34 1998 David Edelsohn <edelsohn@mhpcc.edu> |
458 | ||
459 | * rs6000-core.c (rs6000coff_core_file_matches_executable_p): | |
460 | Declare size as bfd_size_type. | |
5c2ad07f | 461 | (rs6000coff_get_section_contents): Declare count as bfd_size_type. |
cba6760b | 462 | |
6886ab29 JL |
463 | Sun Oct 4 20:38:29 1998 Jeffrey A Law (law@cygnus.com) |
464 | ||
465 | * cpu-hppa.c (bfd_hppa20_arch): Define. Link it into the bfd_hppa_arch | |
466 | structure. | |
467 | * som.c (CPU_PA_RISC2_0): Define. | |
468 | (_PA_RISC2_0_ID): Likewise. | |
469 | (som_finish_writing): Use CPU_PA_RISC2_0 for the system_id as needed. | |
470 | ||
0f529d8c ILT |
471 | Sun Oct 4 21:19:09 1998 Ian Lance Taylor <ian@cygnus.com> |
472 | ||
1bec01fc ILT |
473 | * elflink.h (elf_link_add_object_symbols): When a versioned symbol |
474 | has a base which is already defined, only add the referenced | |
475 | symbol to the dynamic symbol table if it is defined or referenced | |
476 | by a regular file. | |
477 | ||
0f529d8c ILT |
478 | * elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocs |
479 | correctly. | |
480 | ||
481 | 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
482 | ||
483 | * elflink.h (elf_link_add_object_symbols): Undo last change. | |
484 | ||
c4a00a83 RH |
485 | Wed Sep 23 16:09:31 1998 Richard Henderson <rth@cygnus.com> |
486 | ||
487 | * elflink.h (elf_link_add_object_symbols): Don't record a dynamic | |
488 | symbol for the indirect alias to a versioned symbol. | |
489 | ||
74db0d03 CM |
490 | Mon Sep 21 12:15:22 1998 Catherine Moore <clm@cygnus.com> |
491 | ||
492 | * elf32-i386.c (elf32_i386_vtinherit_howto): New. | |
493 | (elf32_i386_vtentry_howto): New. | |
494 | (elf_i386_reloc_type_lookup): Return elf32_i386_vtentry_howto | |
495 | or elf32_i386_vtinherit_howto on lookup. | |
496 | ||
776c436d ILT |
497 | Sun Sep 20 00:48:07 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
498 | ||
499 | * elf32-m68k.c: Include "elf/m68k.h". Remove definition of enum | |
500 | reloc_type. Rename R_68K__max to R_68K_max. | |
501 | (howto_table): Use _bfd_elf_rel_vtable_reloc_fn for a VTENTRY | |
502 | reloc. | |
503 | ||
8b77a7d9 ILT |
504 | Sun Sep 20 00:09:25 1998 Chris Torek <torek@bsdi.com> |
505 | ||
506 | * libbfd.c (bfd_getb32): Rewrite expression to get better code. | |
507 | (bfd_getl32, bfd_getb_signed_32, bfd_getl_signed_32): Likewise. | |
09832674 ILT |
508 | |
509 | * libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not | |
8b77a7d9 | 510 | after. |
09832674 | 511 | |
d7298d8f ILT |
512 | Sat Sep 19 22:42:23 1998 Doug Rabson <dfr@nlsystems.com> |
513 | ||
514 | * elflink.h (elf_link_add_object_symbols): Ensure that the warning | |
515 | message has a null byte terminator. | |
516 | ||
618e96a0 NC |
517 | Fri Sep 18 14:35:29 1998 Nick Clifton <nickc@cygnus.com> |
518 | ||
519 | * elf32-v850.c (v850_elf_perform_relocation): Ignore contents of | |
520 | word subject to R_V850_32 relocation. | |
521 | ||
f5ec493e NC |
522 | Thu Sep 17 17:20:36 1998 Nick Clifton <nickc@cygnus.com> |
523 | ||
524 | * dwarf2.c: Add comment describing problem computing line numbers | |
525 | for undefined symbols at link time. | |
526 | ||
93893904 RH |
527 | Thu Sep 17 16:03:28 1998 Richard Henderson <rth@cygnus.com> |
528 | ||
529 | * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't | |
530 | transform a defweak into a plt entry. | |
531 | (elf64_alpha_calc_dynrel_sizes): Allow room for secondary | |
532 | plt entry references to receive a RELATIVE reloc. | |
533 | (elf64_alpha_finish_dynamic_symbol): Fill them in. | |
534 | (elf64_alpha_relocate_section): Assert we don't overrun | |
535 | the allocated relocation space. | |
536 | ||
bc2c7e53 NC |
537 | Wed Sep 16 18:03:13 1998 Nick Clifton <nickc@cygnus.com> |
538 | ||
539 | * elf.c (swap_out_syms): Always treat section symbols as | |
540 | special, even if they are attached to a common section. | |
541 | ||
93893904 RH |
542 | Wed Sep 16 10:34:13 1998 Nick Clifton <nickc@cygnus.com> |
543 | ||
544 | * elf32-v850.c (v850_elf_symbol_processing): Move symbols in | |
545 | sections with v850 common section attributes into named v850 | |
546 | common sections. | |
547 | (v850_elf_add_symbol_hook): Move symbols in sections with v850 | |
548 | common section attributes into named v850 common sections. | |
5c2ad07f | 549 | |
9c682261 CM |
550 | Wed Sep 16 11:26:49 CDT 1998 Catherine Moore <clm@cygnus.com> |
551 | ||
5c2ad07f | 552 | * elf32-arm.c (elf32_arm_gc_mark_hook): Remove print |
9c682261 CM |
553 | statement. |
554 | ||
5df02296 VM |
555 | 1998-09-15 Geoff Keating <geoffk@ozemail.com.au> |
556 | ||
557 | * elf32-ppc.c (ppc_elf_relocate_section): Reverse output_offset | |
558 | part of Vladimir's change of 1998-08-19. Make a R_PPC_SDAREL16 | |
559 | reloc to the wrong section a warning, not an error. .dynsbss | |
560 | is not an output section, so there is no need to check for it. | |
561 | ||
a2dd26e9 CM |
562 | Tue Sep 15 12:40:05 1998 Catherine Moore <clm@cygnus.com> |
563 | ||
564 | * elf-bfd.h: Add argument to elf_backend_get_symbol_type. | |
565 | ||
566 | Tue Sep 15 08:34:40 1998 Catherine Moore <clm@cygnus.com> | |
948beb4a | 567 | |
948beb4a CM |
568 | * elf.c (swap_out_syms): Pass type to elf_backend_get_symbol_type. |
569 | * elf32-arm.c: Add HOWTO entries for R_ARM_GNU_VTINHERIT and | |
570 | R_ARM_GNU_VTENTRY. | |
571 | (elf32_arm_gc_mark_hook): New. | |
572 | (elf32_arm_gc_sweep_hook): New. | |
573 | (elf32_arm_check_relocs): New. | |
574 | (elf32_arm_final_link_relocate): Handle VTINHERIT and VTENTRY | |
575 | relocations. | |
576 | (elf32_arm_relocate_section): Handle VTINHERIT and VTENTRY | |
577 | relocations. | |
578 | ||
7194b91a RH |
579 | 1998-09-10 Geoff Keating <geoffk@ozemail.com.au> |
580 | ||
581 | * elf32-ppc.c (ppc_elf_relocate_section): If dynobj is NULL, | |
582 | assume there is no PLT or GOT. | |
583 | ||
a61c9386 NC |
584 | Wed Sep 9 14:24:12 1998 Nick Clifton <nickc@cygnus.com> |
585 | ||
586 | * elf32-arm.c (elf32_arm_find_nearest_line): New function: just | |
587 | like _elf_bfd_find_nearest_line() except that STT_ARM_TFUNC is | |
588 | also accepted as a function symbol type. | |
589 | ||
ebe909d2 PS |
590 | Mon Sep 7 13:24:03 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
591 | ||
592 | * rs6000-core.c (_LONG_LONG): Define for AIX 4.x only. | |
593 | ||
c84d3d69 ILT |
594 | Sat Sep 5 20:40:18 1998 Ian Lance Taylor <ian@cygnus.com> |
595 | ||
596 | * libbfd-in.h (_bfd_nolink_bfd_gc_sections): Correct definition to | |
597 | match definition of _bfd_gc_sections field. | |
598 | * libbfd.h: Rebuild. | |
599 | ||
35ac82f2 RH |
600 | Fri Sep 4 13:54:23 1998 David Miller <davem@dm.cobaltmicro.com> |
601 | ||
602 | * elf32-sparc.c (elf32_sparc_relocate_section): Properly adjust | |
603 | the addend of a dynamic relocation referencing a section. | |
604 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
605 | (sparc64_elf_finish_dynamic_symbol): Fix the PLT relocation offset. | |
606 | ||
37b68f72 RH |
607 | Thu Sep 3 17:28:50 1998 Richard Henderson <rth@cygnus.com> |
608 | ||
609 | * elflink.h (bfd_elfNN_size_dynamic_sections): Verify that the | |
610 | bed has a size_dynamic_sections routine before trying to use it. | |
611 | ||
c2242569 RH |
612 | Mon Aug 31 14:49:22 1998 Richard Henderson <rth@cygnus.com> |
613 | ||
614 | * elf32-mips.c (elf_mips_gnu_vtentry_howto): Use | |
615 | _bfd_elf_rel_vtable_reloc_fn. | |
616 | ||
bb3b4377 CM |
617 | Mon Aug 31 10:23:40 1998 Catherine Moore <clm@cygnus.com> |
618 | ||
619 | * Makefile.am: Add elf32-arm.c. | |
620 | * Makefile.in: Rebuild. | |
621 | * elf-bfd.h: Add elf_backend_get_symbol_type. | |
622 | * elf.c (swap_out_syms): If defined, call | |
623 | elf_backend_get_symbol_type. | |
624 | * elf32-arm.c: Define elf_backend_get_symbol_type. | |
625 | (elf32_arm_get_symbol-type): New routine. | |
626 | (record_thumb_to_arm_glue): Change to use STT_ARM_TFUNC. | |
627 | (bfd_elf32_arm_process_before_allocation): Change to | |
628 | check for STT_ARM_TFUNC. | |
629 | (elf32_arm_final_link_relocate): Likewise. | |
630 | * elfxx-target.h: Add elf_backend_get_symbol_type. | |
631 | ||
68631a86 RH |
632 | Fri Aug 28 19:44:07 1998 Richard Henderson <rth@cygnus.com> |
633 | ||
634 | * archures.c (bfd_mach_alpha_ev[456]): New. | |
635 | * cpu-alpha.c: Rework to match these types. | |
636 | * bfd-in2.h: Rebuild. | |
637 | ||
09e5322a RH |
638 | Fri Aug 28 19:38:53 1998 Richard Henderson <rth@cygnus.com> |
639 | ||
640 | * elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare. | |
641 | * elf.c (_bfd_elf_rel_vtable_reloc_fn): New. | |
642 | ||
643 | * elf32-i386.c (elf_howto_table): Add vtable relocs. | |
644 | (elf_i386_reloc_type_lookup): Recognize them. | |
645 | (elf_i386_check_relocs): Pass them off to generic code. | |
646 | (elf_i386_relocate_section): Ignore them. | |
647 | (elf_i386_gc_mark_hook, elf_i386_gc_sweep_hook): New. | |
648 | (elf_backend_can_gc_sections): True. | |
649 | ||
774852e9 NC |
650 | Thu Aug 20 15:03:45 1998 Nick Clifton <nickc@cygnus.com> |
651 | ||
652 | * elf32-arm.c (elf32_thumb_to_arm_stub): Check sym_sec is not NULL | |
653 | before looking at owner field. | |
654 | (elf32_arm_to_thumb_stub): Ditto. | |
655 | (elf32_arm_relocate_section): Compute name before calling | |
656 | elf32_arm_final_link_relocate(). | |
09e5322a | 657 | |
a6ac3b6b MS |
658 | Thu Aug 20 11:30:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
659 | ||
660 | * elf.c: comment and formatting cleanups. | |
661 | * elfcore.h: ditto. | |
662 | ||
b64beb2d MS |
663 | Wed Aug 19 15:43:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com> |
664 | ||
665 | * elfcode.h (elf_object_p): Reject files of header type ET_CORE | |
666 | (core files are treated differently than object files). | |
5c2ad07f | 667 | * elf-bfd.h (_bfd_elf_write_corefile_contents, |
b64beb2d | 668 | bfd_elf_mkcorefile): declare. |
5c2ad07f | 669 | * elfxx-target.h (_bfd_elf_write_corefile_contents, |
b64beb2d | 670 | bfd_elf_mkcorefile): add to bfd_target vector. |
5c2ad07f | 671 | * elfcore.h (elf_core_file_p): save the program header table, |
b64beb2d MS |
672 | and set the bfd architecture from the elf file header. |
673 | * elf.c (bfd_elf_mkcorefile): new function. | |
674 | (_bfd_elf_write_corefile_contents): new function. | |
675 | (assign_file_positions_for_segments): add cases for handling | |
676 | PT_NOTE segments. (assign_file_positions_except_relocs): | |
677 | core files should be handled the same as exec files. | |
678 | (prep_headers): identify core files as type ET_CORE. | |
679 | (copy_private_bfd_data): identify the sections belonging to | |
680 | the PT_NOTE segment. | |
5c2ad07f | 681 | |
b64beb2d MS |
682 | * elf32-sparc.c (elf32_sparc_final_write_processing): |
683 | add break statement to default case. | |
5c2ad07f | 684 | |
b49867b6 VM |
685 | 1998-08-19 Vladimir N. Makarov <vmakarov@cygnus.com> |
686 | ||
687 | * elf32-ppc.c (ppc_elf_relocate_section): Check that output | |
688 | section (not input) will be in sections ".sbss", ".sbss2", | |
689 | ".sdata", and ".sdata" for R_PPC_SDAREL16, R_PPC_EMB_SDA2REL, | |
690 | R_PPC_EMB_SDA21, R_PPC_EMB_RELSDA. In all these cases also ignore | |
691 | output_offset for correct evaluation of addend. | |
692 | ||
2c3c46ad CM |
693 | Tue Aug 18 11:48:12 1998 Catherine Moore <clm@cygnus.com> |
694 | ||
695 | * elf32-arm.c: Add prefix bfd_ to elf32_arm_get_bfd_for_interworking, | |
09e5322a RH |
696 | elf32_arm_allocate_interworking_sections and |
697 | elf32_arm_process_before_allocation. | |
2c3c46ad CM |
698 | |
699 | Tue Aug 18 11:46:00 1998 Nick Clifton <nickc@cygnus.com> | |
700 | ||
701 | * bfd-in.h: Ammend prototype for | |
702 | elf32_arm_process_before_allocation to remove surplus third | |
703 | argument. | |
5c2ad07f | 704 | |
2c3c46ad CM |
705 | * bfd-in2.h: Regenerate. |
706 | ||
803f5d55 RH |
707 | Sat Aug 15 20:55:08 1998 Richard Henderson <rth@cygnus.com> |
708 | ||
709 | * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols. | |
710 | ||
a05d3537 SC |
711 | Fri Aug 14 09:12:28 1998 Stan Cox <scox@cygnus.com> |
712 | ||
713 | * aoutx.h (aout_link_input_section_ext): Use the relocation already | |
714 | calculated for RELOC_SPARC_REV32 case. | |
715 | ||
a05d3537 SC |
716 | Thu Aug 13 14:02:02 1998 Catherine Moore <clm@cygnus.com> |
717 | ||
718 | * bfd-in.h: Add prototypes for elf32_arm_get_bfd_for_interworking, | |
719 | elf32_arm_allocate_interworking_sections and | |
720 | elf32_arm_process_before_allocation. | |
721 | * bfd-in2.h: Regenerated. | |
722 | * elf32-arm.c Define elf32_arm_link_hash_table. | |
723 | (insert_thumb_branch): New routine. | |
724 | (find_thumb_glue): New routine. | |
725 | (find_arm_glue): New routine. | |
726 | (record_arm_to_thumb_glue): New routine. | |
727 | (record_thumb_to_arm_glue): New routine. | |
728 | (elf32_arm_link_hash_table_create): New routine. | |
729 | (elf32_arm_get_bfd_for_interworking): New routine. | |
730 | (elf32_arm_allocate_interworking_sections) New routine. | |
731 | (elf32_arm_process_before_allocation) New routine. | |
732 | (elf32_thumb_to_arm_stub): New routine. | |
733 | (elf32_arm_to_thumb_stub): New routine. | |
734 | (elf32_print_private_bfd_data): Fix typo. | |
735 | (elf32_arm_final_link_relocate): Add argument sym_sec. | |
736 | Check for branches to thumb symbols in case R_ARM_PC24. | |
737 | Check for branches to arm symbols in case R_ARM_THM_PC22. | |
738 | (elf32_arm_relocate_section): Pass symbol section to | |
739 | elf32_arm_final_link_relocate. | |
740 | ||
cb5fa481 ILT |
741 | Wed Aug 12 19:00:39 1998 Geoff Keating <geoffk@ozemail.com.au> |
742 | ||
743 | * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Generate PLT | |
744 | entries unless the symbol is defined in the executable; in | |
745 | particular, undefined weak symbols get a PLT entry. | |
746 | ||
24ec5f63 ILT |
747 | Wed Aug 12 14:48:33 1998 Ian Lance Taylor <ian@cygnus.com> |
748 | ||
749 | * libaout.h: Remove nested comment to avoid warning. | |
750 | ||
24ec5f63 ILT |
751 | Wed Aug 12 08:10:11 1998 Catherine Moore <clm@cygnus.com> |
752 | ||
753 | * elf32-arm.c (elf32_arm_final_link_relocate): Rework | |
754 | R_ARM_PC24 relocation. | |
755 | ||
a17e14c1 CM |
756 | Tue Aug 11 14:42:26 1998 Catherine Moore <clm@cygnus.com> |
757 | ||
758 | * elf32-arm.c (elf32_arm_final_link_relocate): Remove unused | |
24ec5f63 ILT |
759 | argument is_local. Add argument sym_flags. Check sym_flags |
760 | in R_ARM_ABS32 case. Include addend for R_ARM_THM_PC22 case. | |
761 | (elf32_arm_relocate_section): Don't pass local sym and pass | |
5c2ad07f | 762 | sym_flags to elf32_arm_final_link_relocate. |
a17e14c1 | 763 | |
176e2f25 RH |
764 | Mon Aug 10 20:38:39 1998 Richard Henderson <rth@cygnus.com> |
765 | ||
766 | * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Correct last change | |
767 | to not count too few relocs for dynamicly linked executables. | |
768 | ||
769 | Mon Aug 10 15:35:34 1998 Richard Henderson <rth@cygnus.com> | |
770 | ||
771 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Never consider | |
772 | symbols without a dynamic index dynamic. Consider all weak | |
773 | symbols dynamic. | |
774 | (elf64_alpha_strip_section_from_output): Don't assume 1-1 | |
775 | correspondance between input and output sections. | |
776 | ||
7993f96a RH |
777 | Mon Aug 10 15:31:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
778 | ||
779 | * elflink.h (elf_gc_common_finalize_got_offsets): For backends | |
780 | that use a .got.plt section start the got offset at zero. | |
781 | ||
70c73209 ILT |
782 | Mon Aug 10 17:31:21 1998 Ian Lance Taylor <ian@cygnus.com> |
783 | ||
784 | * ieee.c (ieee_write_processor): Correct the processor ID written | |
785 | out for bfd_arch_m68k, accommodating change of March 25. | |
786 | ||
cb43e2a9 CM |
787 | Sun Aug 9 20:55:44 1998 Catherine Moore <clm@cygnus.com> |
788 | ||
789 | * elf32-arm.c (elf32_arm_final_link_relocate): Rework | |
790 | R_ARM_THM_RPC22 relocations. | |
791 | ||
382fab1a RH |
792 | Sat Aug 8 15:15:30 1998 Richard Henderson <rth@cygnus.com> |
793 | ||
794 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Undef weak symbols | |
795 | are always dynamic. | |
796 | (elf64_alpha_calc_dynrel_sizes): Allow enough room for RELATIVE | |
797 | .got relocs in -Bsymbolic shared objects. | |
798 | ||
0e7361bc NC |
799 | Wed Aug 5 15:48:08 1998 Nick Clifton <nickc@cygnus.com> |
800 | ||
801 | * elf32-arm.c: Add private flags to ELF header. | |
802 | (elf32_arm_print_private_bfd_data): New Function. | |
803 | (elf32_arm_set_private_flags): New Function. | |
804 | (elf32_arm_copy_private_flags): New Function. | |
805 | (elf32_arm_merge_private_bfd_data): New Function. | |
806 | ||
82912e99 ILT |
807 | Mon Aug 3 17:10:15 1998 Ian Lance Taylor <ian@cygnus.com> |
808 | ||
809 | * elf32-sparc.c (elf32_sparc_check_relocs): Permit WPLT30 against | |
810 | a local symbol. | |
811 | (elf32_sparc_relocate_section): Likewise. | |
812 | ||
c95f174a RH |
813 | Sun Aug 2 03:19:23 1998 Richard Henderson <rth@cygnus.com> |
814 | ||
815 | * elf32-ppc.c (ppc_elf_check_relocs): Init sgot to NULL. Create the | |
816 | .got if any relocation referrs to _GLOBAL_OFFSET_TABLE_. | |
817 | (ppc_elf_relocate_section): Pull sgot and splt search to the start | |
818 | of the function. Recognize no .plt as static linking. | |
819 | ||
5530d45d UD |
820 | 1998-08-01 Ulrich Drepper <drepper@cygnus.com> |
821 | ||
822 | * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Don't pass | |
823 | ".liblist" string through gettext. | |
824 | ||
7cebe50a CM |
825 | Fri Jul 31 16:38:14 1998 Catherine Moore <clm@cygnus.com> |
826 | ||
827 | * Makefile.am: Add support for elf32-arm.lo. | |
828 | * Makefile.in: Rebuild. | |
829 | * config.bfd (arm-*-elf): Define targ_defvec and targ_selvecs. | |
830 | (thumb-*-elf): Define targ_defvec and targ_selvecs. | |
831 | * configure.in: Handle bfd_elf32_littlearm_vec and bfd_elf32_bigarm_vec. | |
832 | * configure: Regenerate. | |
833 | * elf.c: (prep_headers): Support arch_type of EM_ARM. | |
834 | * targets.c: Support new targets bfd_elf32_bigarm_vec and | |
835 | bfd_target bfd_elf32_littlearm_vec. | |
836 | * elf32-arm.c: New file. | |
837 | ||
7cebe50a CM |
838 | Tue Jun 28 19:05:28 1998 Stan Cox <scox@cygnus.com> |
839 | ||
840 | * libaout.h (M_SPARCLITE_LE): New machine. | |
841 | * sunos.c (MACHTYPE_OK): Add machine M_SPARCLITE_LE. | |
842 | * aoutf1.h (sunos_set_arch_mach): Add machine M_SPARCLITE_LE. | |
843 | (sunos_write_object_contents): Add machine bfd_mach_sparc_sparclite_le | |
844 | * aoutx.h (howto_table_ext): Add relocation R_SPARC_REV32. | |
845 | (NAME(aout,machine_type)) Add machine bfd_mach_sparc_sparclite_le | |
846 | (aout_link_input_section_ext): Add RELOC_SPARC_REV32 support. | |
847 | * elf32-sparc.c (_bfd_sparc_elf_howto_table, sparc_reloc_map, | |
848 | elf32_sparc_relocate_section): Rename R_SPARC_32LE to be R_SPARC_REV32 | |
849 | * libbfd.h (bfd_reloc_code_real_names): Rename BFD_RELOC_SPARC_32LE to | |
850 | be BFD_RELOC_SPARC_REV32. | |
851 | * reloc.c: Ditto. | |
852 | * config.bfd (sparc86x-*-aout): New | |
5c2ad07f | 853 | |
5639074c NC |
854 | Fri Jul 24 13:54:19 1998 Nick Clifton <nickc@cygnus.com> |
855 | ||
856 | * linker.c (_bfd_generic_final_link): Allocate NULL symbol before | |
857 | actually mapping the output sections. | |
858 | ||
06992a45 JL |
859 | Fri Jul 24 11:24:29 1998 Jeffrey A Law (law@cygnus.com) |
860 | ||
88ac1a5e | 861 | start-sanitize-am33 |
8417b624 JL |
862 | * elf-m10300.c (mn10300_elf_relax_section): Fix typo when relaxing |
863 | from 24bit operand to an 8bit operand. | |
864 | ||
88ac1a5e JL |
865 | * elf-m10300.c (mn10300_elf_relax_section): Do not relax "dmul", |
866 | "dmulu", "dmach", "dmachu" with 32bit operands. | |
867 | end-sanitize-am33 | |
868 | ||
06992a45 JL |
869 | * elf-m10300.c (mn10300_elf_howto): Add R_MN10300_24 entry. |
870 | (mn10300_elf_reloc_map): Similarly. | |
871 | (mn10300_elf_final_link_relocate): Handle R_MN10300_24. | |
872 | start-sanitize-am33 | |
873 | (mn10300_elf_relax_section): Support relaxing on the am33. | |
874 | end-sanitize-am33 | |
875 | ||
e2e8e76b ILT |
876 | Fri Jul 24 12:36:04 1998 Ian Lance Taylor <ian@cygnus.com> |
877 | ||
878 | start-sanitize-r5900 | |
879 | The value of R_MIPS15_S3 has changed: | |
880 | * elf32-mips.c (elf_mips15_s3_howto): New static variable. | |
881 | (mips_reloc_map): Remove BFD_RELOC_MIPS15_S3. | |
882 | (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS15_S3 | |
883 | specially. | |
884 | (mips_info_to_howto_rel): Handle R_MIPS15_S3 specially. | |
885 | (mips_elf_relocate_section): Check for R_MIPS15_S3. | |
886 | ||
887 | end-sanitize-r5900 | |
888 | * elf32-mips.c (elf_mips_howto_table): Add reloc types used on | |
889 | Irix 6. | |
890 | (bfd_elf32_bfd_reloc_type_lookup): Add default case. | |
891 | * elf64-mips.c: Replace all uses of mips_elf64_reloc_type with | |
892 | elf_mips_reloc_type defined in elf/mips.h. | |
893 | ||
30471c22 UD |
894 | 1998-07-24 Ulrich Drepper <drepper@cygnus.com> |
895 | ||
896 | * elf64-mips.c: Remove reloc_type definition completely. It's now | |
897 | in elf/mips.h. | |
898 | ||
650a2272 DE |
899 | Thu Jul 23 13:33:19 1998 Doug Evans <devans@canuck.cygnus.com> |
900 | ||
901 | * elf64-mips.c (mips_elf64_reloc_type): #if 0 out more relocations | |
902 | as they are defined in elf/mips.h now. | |
903 | ||
d5394da7 JL |
904 | Thu Jul 23 11:29:43 1998 Jeffrey A Law (law@cygnus.com) |
905 | ||
91b9fccd JL |
906 | start-sanitize-am33 |
907 | * elf-m10300.c (compute_function_info): Keep track of stack space | |
908 | needed by am33 movm instruction variant. | |
909 | end-sanitize-am33 | |
910 | ||
d5394da7 JL |
911 | * Re-add lost change: |
912 | * elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field | |
913 | "movm_stack_size". | |
914 | (mn10300_elf_relax_section): Include stack space for register saves | |
915 | in the imm8 field of a "call" instruction. | |
916 | (compute_function_info): Determine how much stack is allocated by | |
917 | the movm instruction. Fix typo. | |
918 | (elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size. | |
919 | ||
511068f6 ILT |
920 | Thu Jul 23 11:38:05 1998 Ian Lance Taylor <ian@cygnus.com> |
921 | ||
922 | * elf32-sparc.c (elf_backend_got_header_size): Define as 4. | |
923 | * elf64-sparc.c (elf_backend_got_header_size): Define as 8. | |
924 | ||
873e2f6a UD |
925 | 1998-07-22 Ulrich Drepper <drepper@cygnus.com> |
926 | ||
927 | * elf32-ppc.c: Change use of pp_reloc_type to elf_ppc_reloc_type. | |
928 | ||
6ff4269b NC |
929 | Wed Jul 22 16:27:18 1998 Nick Clifton <nickc@cygnus.com> |
930 | ||
931 | * elf32-hppa.h: Let ELF header define the enum containing the | |
932 | external reloc numbers. | |
933 | * elf32-i386.h: Likewise. | |
934 | ||
043e6949 UD |
935 | 1998-07-22 14:57 Ulrich Drepper <drepper@cygnus.com> |
936 | ||
937 | * elf-m10300.c: Let ELF header now define the macros to get the enum. | |
938 | * elf32-mips.c: Likewise. | |
939 | * elf32-ppc.c: Likewise. | |
940 | ||
c1366193 NC |
941 | Wed Jul 22 13:53:52 1998 Nick Clifton <nickc@cygnus.com> |
942 | ||
943 | * bfd-in2.h: Change type of 'class' parameter to 'unsigned int' in | |
944 | bfd_coff_set_symbol_class(), in order to avoid K&R compatability | |
043e6949 | 945 | prblems. |
c1366193 NC |
946 | * bfd-in.h: Regenerate. |
947 | * coffgen.c (bfd_coff_set_symbol_class): Change type of 'class' | |
948 | parameter to 'unsigned int' to avoid K&R compatability problems. | |
949 | ||
7ae26f27 ILT |
950 | Wed Jul 22 16:43:24 1998 Ian Lance Taylor <ian@cygnus.com> |
951 | ||
952 | * ieee.c (ieee_find_nearest_line): Change filename_ptr and | |
953 | functionname_ptr to be const. Change line_ptr to be unsigned. | |
954 | ||
955 | * coffcode.h (coff_link_output_has_begun): Simplify handling when | |
956 | macro is not defined. Change second parameter from bfd_link_info | |
957 | to coff_final_link_info. Add prototype. | |
958 | (coff_final_link_postscript): Simplify handling when macro is not | |
959 | defined. Add prototype. | |
960 | ||
767af63c UD |
961 | 1998-07-22 13:08 Ulrich Drepper <drepper@cygnus.com> |
962 | ||
963 | * elf-mn10300.c: Before include system specific ELF header define | |
964 | START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. | |
91e32e23 UD |
965 | * elf32-mips.c: Likewise. |
966 | * elf32-ppc.c: Likewise. | |
767af63c | 967 | |
39e4bca4 ILT |
968 | Wed Jul 22 13:46:51 1998 Ian Lance Taylor <ian@cygnus.com> |
969 | ||
970 | * elf64-mips.c (mips_elf64_reloc_type): Copy Ulrich's elf32-mips.c | |
971 | temporary patch over to elf64-mips.c as well. | |
972 | ||
92a7119c UD |
973 | 1998-07-21 Ulrich Drepper <drepper@cygnus.com> |
974 | ||
975 | * elf32-mips.c (reloc_type): Temporarily disable definition of | |
976 | standard relocation since they are now defined in elf/mips.h. | |
977 | ||
978 | Tue Jul 21 09:47:00 1998 Catherine Moore <clm@cygnus.com> | |
979 | ||
980 | * elf-m10200.c (mn10200_elf_final_link_relocate): | |
981 | Modify range test for case R_MN10200_8. | |
982 | ||
983 | * elf-m10300.c (mn10300_elf_final_link_relocate): | |
984 | Modify range test for case R_MN10300_8. | |
985 | ||
965d5a46 RH |
986 | Mon Jul 20 18:50:54 1998 Richard Henderson <rth@cygnus.com> |
987 | ||
988 | * elf-bfd.h (struct elf_backend_data): Add got_ & plt_header_size. | |
989 | * elf32-i386.c (elf_backend_got_header_size): Define. | |
990 | (elf_backend_plt_header_size): Define. | |
991 | * elf32-m68k.c, elf32-mips.c, elf32-ppc.c: Likewise. | |
992 | * elf32-sparc.c, elf64-alpha.c, elf64-sparc.c: Likewise. | |
993 | * elfxx-target.h: Provide a default of zero. | |
994 | * elflink.c (_bfd_elf_create_got_section): Use got_header_size. | |
995 | * elflink.h (elf_gc_common_finalize_got_offsets): Likewise. | |
996 | ||
997 | * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't remove a PLT | |
998 | entry from an executable, even if the plt refcount goes to 0. | |
999 | ||
490e0e13 ILT |
1000 | Mon Jul 20 12:47:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
1001 | ||
1002 | * aoutx.h (NAME(aout,find_nearest_line)): Also remember the | |
1003 | directory name at the line number. | |
1004 | ||
1005 | * elf.c (_bfd_elf_find_nearest_line): Also consider symbols | |
1006 | with an unspecified type. | |
1007 | ||
c3da0ebf ILT |
1008 | Wed Jul 15 11:20:01 1998 Ian Lance Taylor <ian@cygnus.com> |
1009 | ||
1010 | * sunos.c: Add undef of valid to avoid problem on SunOS. | |
1011 | ||
1012 | start-sanitize-beos | |
1013 | Tue Jul 14 15:30:59 1998 Richard Henderson <rth@cygnus.com> | |
1014 | ||
1015 | * config.bfd (i?86-pc-beos{pe,elf,}*): Recognize. | |
1016 | ||
1017 | end-sanitize-beos | |
be228e0d ILT |
1018 | Tue Jul 14 11:22:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
1019 | ||
1020 | * elf32-m68k.c (elf_m68k_check_relocs): Also reference count | |
1021 | R_68K_PCxx and R_68K_xx relocations. Make sure that | |
1022 | ELF_LINK_HASH_NEEDS_PLT is always set for a PLT reloc reference. | |
1023 | (elf_m68k_gc_sweep_hook): Also reference count R_68K_PCxx and | |
1024 | R_68K_xx relocations. | |
1025 | (elf_m68k_adjust_dynamic_symbol): Reset the plt offset of a symbol | |
1026 | that has no plt entry. | |
1027 | (elf_m68k_relocate_section): Ignore the plt offset in a static | |
1028 | link. | |
1029 | * elflink.h (elf_adjust_dynamic_symbol): Reset the plt offset for | |
1030 | an ignored symbol. | |
1031 | (elf_gc_common_finalize_got_offsets): Set the got offsets also in | |
1032 | a static link. | |
1033 | ||
1034 | * elf32-m68k.c (R_68K_GNU_VTINHERIT, R_68K_GNU_VTENTRY): New reloc | |
1035 | types. | |
1036 | (howto_table, reloc_map): Add entries for them. | |
1037 | (elf_m68k_check_relocs): Handle them. Implement reference | |
1038 | counting for got and plt entries. | |
1039 | (elf_m68k_gc_mark_hook, elf_m68k_gc_sweep_hook): New functions. | |
1040 | (elf_m68k_adjust_dynamic_symbol): Handle unreferenced plt | |
1041 | symbols. | |
1042 | (rtype_to_howto_rel, elf_info_to_howto_rel): Delete. | |
1043 | (elf_m68k_relocate_section): Handle the new reloc types. | |
1044 | (bfd_elf32_bfd_final_link, elf_backend_gc_mark_hook, | |
1045 | elf_backend_gc_sweep_hook, elf_backend_can_gc_sections): Define. | |
1046 | * elflink.h (elf_link_add_object_symbols): When creating an | |
1047 | indirect reference for symbol versioning also copy the plt | |
1048 | offset. | |
1049 | (elf_fix_symbol_flags): When clearing the ELF_LINK_HASH_NEEDS_PLT | |
1050 | flag also reset the plt offset. | |
1051 | (elf_link_assign_sym_version): Likewise. | |
1052 | (elf_gc_common_finalize_got_offsets): Increment the got offset by | |
1053 | the size of the entry in bytes. | |
1054 | (elf_gc_allocate_got_offsets): Likewise. | |
1055 | ||
bb51198f ILT |
1056 | Tue Jul 14 11:18:14 1998 Ian Lance Taylor <ian@cygnus.com> |
1057 | ||
be228e0d ILT |
1058 | * elflink.h (elf_gc_sections): Return true rather than falling off |
1059 | the bottom. | |
1060 | ||
bb51198f ILT |
1061 | * coffgen.c (bfd_coff_set_symbol_class): Call bfd_alloc, not |
1062 | xmalloc. | |
1063 | ||
86546292 NC |
1064 | Mon Jul 13 11:06:31 1998 Nick Clifton <nickc@cygnus.com> |
1065 | ||
1066 | * coff-arm.c: Supress definition of TARGET_UNDERSCORE and add a | |
1067 | comment describing when it should be enabled. | |
1068 | Changed definition of USER_LABEL_PREFIX to "", to fall into line | |
1069 | with GCC sources. | |
1070 | ||
6d138e6f ILT |
1071 | Mon Jul 13 13:06:54 1998 Ian Lance Taylor <ian@cygnus.com> |
1072 | ||
1073 | * ieee.c (ieee_slurp_external_symbols): Handle call optimization | |
1074 | information ATN records. | |
1075 | ||
81d195ae ILT |
1076 | Fri Jul 10 16:31:06 1998 Ian Lance Taylor <ian@cygnus.com> |
1077 | ||
1078 | * ieee.c (ieee_slurp_external_symbols): Select an appropriate | |
1079 | section for an absolute symbol in a fully linked file. Based on | |
1080 | patch from Christian Holland <CHolland@de.lucent.com>. | |
1081 | ||
ab1d35b4 ILT |
1082 | Wed Jul 8 11:29:56 1998 Manfred Hollstein <manfred@s-direktnet.de> |
1083 | ||
1084 | * coff-m88k.c (m88k_special_reloc): Don't lose the information | |
1085 | that a symbol is undefined. | |
1086 | ||
3f4444e0 JL |
1087 | Tue Jul 7 21:47:02 1998 Jeffrey A Law (law@cygnus.com) |
1088 | ||
1089 | * som.c (som_bfd_gc_sections): Define. | |
1090 | ||
384fff9c NC |
1091 | Mon Jul 6 11:35:50 1998 Nick Clifton <nickc@cygnus.com> |
1092 | ||
1093 | * coff-arm.c (aoutarm_std_reloc_howto): Do not complain about | |
1094 | overflows in ARM_26D patches, since they have already been | |
1095 | implmented. Patch submitted by Dr. R.J. Black <rjb@dcs.gla.ac.uk> | |
1096 | ||
69c3ef08 ILT |
1097 | Sat Jul 4 12:25:36 1998 Ian Lance Taylor <ian@cygnus.com> |
1098 | ||
1099 | * coffcode.h (coff_write_object_contents): If we have any long | |
1100 | section names, call coff_write_symbols even if there are no | |
1101 | symbols. | |
1102 | ||
81db6a9e ILT |
1103 | Fri Jul 3 13:11:35 1998 Ian Lance Taylor <ian@cygnus.com> |
1104 | ||
69c3ef08 ILT |
1105 | * elf.c (copy_private_bfd_data): Only set phdr_included once for a |
1106 | PT_LOAD segment, rather than only setting it once for the entire | |
369ee5df ILT |
1107 | file. |
1108 | ||
1109 | * elf.c (_bfd_elf_make_section_from_shdr): When setting the LMA, | |
1110 | rather than ignoring every phdr with a p_paddr of 0, ignore all | |
1111 | the phdrs if they all have a p_paddr of 0. | |
1112 | ||
81db6a9e ILT |
1113 | * stabs.c (_bfd_write_stab_strings): Check whether the .stabstr |
1114 | section was discarded from the link. | |
1115 | ||
06fdc311 | 1116 | Fri Jul 3 14:39:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk> |
a83a26f7 JR |
1117 | |
1118 | * coff-sh.c (sh_insn_uses_freg): Ignore lowest bit of register number. | |
1119 | ||
06fdc311 | 1120 | Fri Jul 3 14:35:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk> |
0ea9d7bc JR |
1121 | |
1122 | * coff-sh.c (sh_insns_conflict): Load of fpscr conflicts with | |
1123 | floating point operations. | |
1124 | ||
bf47f022 ILT |
1125 | Thu Jul 2 18:37:25 1998 Ian Lance Taylor <ian@cygnus.com> |
1126 | ||
1127 | * cofflink.c (_bfd_coff_link_input_bfd): Skip undefined global | |
1128 | function symbols. | |
1129 | ||
0dc4c667 ILT |
1130 | Thu Jul 2 14:59:42 1998 Klaus Kaempf <kkaempf@rmi.de> |
1131 | ||
1132 | Merge of vax/vms (read-only) support | |
1133 | * configure.com: Support Vax target. | |
1134 | * makefile.vms: Support Vax target. | |
1135 | * vms.h: Renamed from evax.h, merged vax/vms (read-only) support. | |
1136 | * vms.c: Renamed from evax-alpha.c, merged vax/vms (read-only) | |
1137 | support. | |
1138 | * vms-hdr.c: Renamed from evax-emh.c, merged vax/vms (read-only) | |
1139 | support. | |
1140 | * vms-gsd.c: Renamed from evax-egsd.c, merged vax/vms (read-only) | |
1141 | support. | |
1142 | * vms-tir.c: Renamed from evax-etir.c, merged vax/vms (read-only) | |
1143 | support. | |
1144 | * vms-misc.c: Renamed from evax-misc.c, merged vax/vms (read-only) | |
1145 | support. | |
1146 | * libbfd.c (real_read): Use unbuffered read on VMS/Vax. | |
1147 | * targets.c (bfd_target_ovax_flavour): New flavour. | |
1148 | (vms_alpha_vec): Renamed from evax_alpha_vec. | |
1149 | (vms_vax_vec): New. | |
1150 | (target_vector): Update accordingly. | |
1151 | * config.bfd (alpha*-*-*vms*): Use vms_alpha_vec, not | |
1152 | evax_alpha_vec. | |
1153 | (vax*-*-*vms*): New target. | |
1154 | * Makefile.am: Update for renamed files. Rebuild dependencies. | |
1155 | * bfd-in2.h: Rebuild. | |
1156 | * configure.in, Makefile.in, aclocal.m4: Rebuild. | |
1157 | ||
1158 | Thu Jul 2 13:31:55 1998 Ian Lance Taylor <ian@cygnus.com> | |
1159 | ||
1160 | Based on patch from Matt Semersky <matts@scd.hp.com>: | |
1161 | * linker.c (_bfd_generic_final_link): Force a trailing NULL | |
1162 | pointer on abfd->outsymbols. | |
1163 | (generic_add_output_symbol): Handle NULL sym parameter. | |
1164 | ||
9e7e5d5e NC |
1165 | Wed Jul 1 17:05:53 1998 Nick Clifton <nickc@cygnus.com> |
1166 | ||
1167 | * elf.c (copy_private_bfd_data): Add support for changing VMA or | |
1168 | LMA of sections. | |
1169 | ||
70f54910 ILT |
1170 | Wed Jul 1 16:58:50 1998 Ian Lance Taylor <ian@cygnus.com> |
1171 | ||
1172 | * coff-sh.c (sh_relax_delete_bytes): Correct address comparisons | |
1173 | when handling 32 bit immediate relocs. | |
1174 | * elf32-sh.c (sh_elf_relax_delete_bytes): Likewise. | |
1175 | ||
7ec96df5 JL |
1176 | Tue Jun 30 09:55:03 1998 Jeffrey A Law (law@cygnus.com) |
1177 | ||
39f5104e JL |
1178 | * section.c (STD_SECTION): Account for recently added gc_mark |
1179 | field in struct asection. | |
1180 | ||
7ec96df5 JL |
1181 | * elf-m10300.c (bfd_mn10300_elf_merge_private_bfd_data): New function. |
1182 | (bfd_elf32_bfd_merge_private_bfd_data): Define. | |
1183 | ||
303b4cc6 RH |
1184 | Thu Jun 25 18:31:41 1998 Richard Henderson <rth@cygnus.com> |
1185 | ||
1186 | ELF Section-level Garbage Collection: | |
1187 | * bfd.c (bfd_gc_sections): New. | |
1188 | * aout-adobe.c: Hook to default implementation. | |
1189 | * aout-target.h, aout-tic30.c, binary.c, bout.c: Likewise. | |
1190 | * coff-alpha.c, coff-mips.c, coff-rs6000.c, coffcode.h: Likewise. | |
1191 | * evax-alpha.c, i386msdos.c, i386os9k.c, ieee.c: Likewise. | |
1192 | * ihex.c, nlm-target.h, oasys.c, ppcboot.c, srec.c: Likewise. | |
1193 | * tekhex.c, versados.c: Likewise. | |
1194 | * libbfd-in.h (_bfd_nolink_bfd_gc_sections): New. | |
1195 | * targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_gc_sections. | |
1196 | ||
1197 | * reloc.c (BFD_RELOC_VTABLE_INHERIT, BFD_RELOC_VTABLE_ENTRY): New. | |
1198 | (bfd_generic_gc_sections): New. | |
1199 | * section.c (SEC_KEEP): New. | |
1200 | (asection): Add gc_mark member. | |
1201 | ||
1202 | * elfcode.h (elf_gc*): New name remappings. | |
1203 | * elflink.h (elf_link_input_bfd): Don't set contents on stabs | |
1204 | sections to be excluded. | |
1205 | (elf_gc_mark, elf_gc_sweep, elf_gc_sweep_symbol): New. | |
1206 | (elf_gc_propogate_vtable_entries_used): New. | |
1207 | (elf_gc_smash_unused_vtentry_relocs): New. | |
1208 | (elf_gc_sections, elf_gc_record_vtinherit, elf_gc_record_vtentry): New. | |
1209 | (elf_gc_common_finalize_got_offsets): New. | |
1210 | (elf_gc_allocate_got_offsets, elf_gc_common_final_link): New. | |
1211 | * elfxx-target.h: Add and default gc hooks. | |
1212 | ||
1213 | * elf-bfd.h (struct elf_link_hash_entry): Swap got_offset/plt_offset | |
92a7119c | 1214 | for unions. |
303b4cc6 RH |
1215 | (struct elf_obj_tdata): Likewise for local_got_offsets. |
1216 | * elf.c, elf-i386.c, elf32-m68k.c, elf32-mips.c: Update all uses. | |
1217 | * elf32-ppc.c, elf32-sparc.c, elf64-alpha.c: Likewise. | |
1218 | * elf64-sparc.c, elflink.h: Likewise. | |
1219 | ||
1220 | * elf-bfd.h (struct elf_link_hash_entry): Add vtable members. | |
1221 | (ELF_LINK_HASH_MARK): Define. | |
1222 | (struct elf_backend_data): Add GC hooks. | |
1223 | * elf.c (_bfd_elf_link_hash_newfunc): Zero vtable members. | |
1224 | ||
1225 | * elf-m10300.c (mn10300_elf_check_relocs): New. | |
1226 | (mn10300_elf_gc_mark_hook): New. | |
1227 | (R_MN10300_GNU_VTINHERIT, R_MN10300_GNU_VTENTRY): New. | |
1228 | (elf_mn10300_howto, mn10300_reloc_map): Handle them. | |
1229 | (mn10300_elf_final_link_relocate): Likewise. | |
1230 | (mn10300_elf_relocate_section): Likewise. | |
1231 | (elf_backend_can_gc_sections): Define. | |
1232 | * elf32-mips.c (R_MIPS_GNU_VTINHERIT, R_MIPS_GNU_VTENTRY): New. | |
1233 | (elf_mips_gnu_vtinherit_howto, elf_mips_gnu_vtentry_howto): New. | |
1234 | (bfd_elf32_bfd_reloc_type_lookup): Handle them. | |
1235 | (mips_info_to_howto_rel): Likewise. | |
1236 | (mips_elf_relocate_section): Likewise. | |
1237 | (mips_elf_check_relocs): Likewise. | |
1238 | (mips_elf_gc_mark_hook, mips_elf_gc_sweep_hook): New. | |
1239 | (elf_backend_can_gc_sections): Define. | |
1240 | * elf32-ppc.c (R_PPC_GNU_VTINHERIT, R_PPC_GNU_VTENTRY): New. | |
1241 | (ppc_elf_howto_raw): Handle them. | |
1242 | (ppc_elf_reloc_type_lookup): Likewise. | |
1243 | (ppc_elf_relocate_section): Likewise. | |
1244 | (ppc_elf_check_relocs): Reference count .got and .plt entires. | |
1245 | Handle new vtable relocs. | |
1246 | (ppc_elf_adjust_dynamic_symbol): Recognize unused .plt entries. | |
1247 | (ppc_elf_gc_mark_hook, ppc_elf_gc_sweep_hook): New. | |
1248 | (elf_backend_can_gc_sections): Define. | |
1249 | ||
4db4e912 JL |
1250 | Fri Jun 26 10:48:23 1998 Jeffrey A Law (law@cygnus.com) |
1251 | ||
1252 | * archures.c (bfd_mach_mn10300): Define. | |
1253 | * elf-m10300.c: Include elf/mn10300.h | |
1254 | (elf_mn10300_mach): New function. | |
1255 | (_bfd_mn10300_elf_final_write_processing): Likewise. | |
1256 | (_bfd_mn10300_elf_object_p): Likewise. | |
1257 | (elf_backendfinal_write_processing): Define. | |
1258 | (elf_backend_object_p): Likewise. | |
1259 | start-sanitize-am33 | |
1260 | * archures.c (bfd_mach_am33): Define. | |
1261 | * cpu-m10300.c (bfd_am33_arch): New arch info structure. Link it | |
1262 | into the NEXT field of bfd_mn10300_arch. | |
1263 | end-sanitize-am33 | |
1264 | ||
9ea28a85 NC |
1265 | Thu Jun 25 18:31:08 1998 Nick Clifton <nickc@cygnus.com> |
1266 | ||
1267 | * elf32-v850.c (v850_elf_perform_relocation): Fix HI16_S | |
92a7119c | 1268 | relocation. |
9ea28a85 | 1269 | |
146f8b77 ILT |
1270 | Wed Jun 24 17:17:57 1998 Ian Lance Taylor <ian@cygnus.com> |
1271 | ||
1272 | * elflink.h (elf_bfd_final_link): Loop over input_bfds using the | |
1273 | link_next field, not the next field. | |
1274 | ||
1275 | Sun Jun 21 19:38:39 1998 Ian Lance Taylor <ian@cygnus.com> | |
1276 | ||
1277 | * elf.c (map_sections_to_segments): Check the section address | |
1278 | against the phdr size both with and without a modulo of | |
1279 | maxpagesize. | |
1280 | ||
ae49bab6 ILT |
1281 | Fri Jun 19 17:08:18 1998 Ian Lance Taylor <ian@cygnus.com> |
1282 | ||
1283 | * elf32-mips.c (mips_elf_size_dynamic_sections): Only strip a | |
1284 | linker created empty input section if the output section has the | |
1285 | same name. | |
1286 | ||
1287 | * elflink.h (elf_link_output_extsym): Print an error message if | |
1288 | _bfd_elf_section_from_bfd_section fails. | |
1289 | ||
1290 | * elf.c (_bfd_elf_section_from_bfd_section): Call bfd_set_error on | |
1291 | failure. | |
1292 | ||
a57fc6b9 DE |
1293 | start-sanitize-sky |
1294 | Thu Jun 18 23:59:30 1998 Doug Evans <devans@seba.cygnus.com> | |
1295 | ||
1296 | * reloc.c: New relocs BFD_RELOC_MIPS_DVP_11_S4, | |
1297 | BFD_RELOC_MIPS_DVP_U15_S3. | |
1298 | * elf32-mips.c: Handle them. | |
1299 | * bfd-in2.h: Regenerate. | |
1300 | * libbfd.h: Regenerate. | |
1301 | ||
1302 | end-sanitize-sky | |
ae49bab6 ILT |
1303 | Tue Jun 16 11:55:55 1998 Ian Lance Taylor <ian@cygnus.com> |
1304 | ||
1305 | * elf.c (copy_private_bfd_data): Improve handling of Solaris | |
1306 | native linker output. Avoid putting an empty section in more than | |
1307 | one segment. | |
1308 | ||
365fac52 TT |
1309 | Fri Jun 12 13:30:17 1998 Tom Tromey <tromey@cygnus.com> |
1310 | ||
1311 | * po/Make-in (all-yes): If maintainer mode, depend on .pot file. | |
1312 | ($(PACKAGE).pot): Unconditionally depend on POTFILES. | |
1313 | ||
37fcafe6 DE |
1314 | Fri Jun 12 13:34:02 1998 Doug Evans <devans@canuck.cygnus.com> |
1315 | ||
1316 | * elf.c (swap_out_syms): New arg relocatable_p. | |
1317 | Don't add section VMA to symbols for relocatable output. | |
1318 | (_bfd_elf_compute_section_file_positions): Update call to | |
1319 | swap_out_syms. | |
1320 | ||
5aa6fe96 NC |
1321 | Mon Jun 8 15:20:57 1998 Nick Clifton <nickc@cygnus.com> |
1322 | ||
1323 | * elf32-v850.c (v850_elf_perform_relocation): Make comparisons | |
1324 | against 'addend' be signed rather than unsigned. | |
1325 | ||
7c3b369d NC |
1326 | Sat Jun 6 00:31:21 1998 Nick Clifton <nickc@cygnus.com> |
1327 | ||
0203fbf2 NC |
1328 | * elf32-m32r.c: Add prototyps for static functions. |
1329 | ||
92a7119c | 1330 | * coff-arm.c: Add prototypes for static functions. |
7c3b369d | 1331 | |
c84c3b96 NC |
1332 | Fri Jun 5 17:21:51 1998 Nick Clifton <nickc@cygnus.com> |
1333 | ||
40afcc4c NC |
1334 | * elf.c (elf_sort_sections): Sort by LMA first then VMA, since the |
1335 | LMA is used to order sections in a segment. | |
1336 | ||
c84c3b96 NC |
1337 | * elf32-v850.c: Add prototypes for static functions. |
1338 | Change type of addend parameter to bfd_vma in various functions. | |
1339 | ||
118bd595 ILT |
1340 | Fri Jun 5 18:09:58 1998 Ian Lance Taylor <ian@cygnus.com> |
1341 | ||
1342 | * aoutx.h (howto_table_ext): Change RELOC_BASE13 to use | |
1343 | complain_overflow_signed instead of complain_overflow_bitfield. | |
1344 | ||
5e3da1b0 ILT |
1345 | Fri Jun 5 15:11:11 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
1346 | ||
1347 | * elf.c (elf_map_symbols): Don't add section VMA to symbol value | |
1348 | when comparing against 0. | |
1349 | ||
2edb8195 ILT |
1350 | Wed Jun 3 17:52:49 1998 Ian Lance Taylor <ian@cygnus.com> |
1351 | ||
1352 | * Makefile.am (config.status): New target. | |
1353 | * Makefile.in: Rebuild. | |
1354 | ||
24a459d6 DE |
1355 | start-sanitize-sky |
1356 | Wed Jun 3 11:39:57 1998 Doug Evans <devans@canuck.cygnus.com> | |
1357 | ||
1358 | * elf32-mips.c (_bfd_mips_elf_fake_sections): Update to use | |
1359 | Elf32_Dvp_External_Overlay instead of 64 bit version. | |
1360 | ||
1361 | end-sanitize-sky | |
f5bb0acb SC |
1362 | Wed Jun 3 12:18:24 1998 Stan Cox <scox@equinox.cygnus.com> |
1363 | ||
1364 | * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Give an | |
1365 | error if previous object endianness doesn't match current object. | |
1366 | ||
cfba9ab0 NC |
1367 | Tue Jun 2 17:50:59 1998 Nick Clifton <nickc@cygnus.com> |
1368 | ||
1369 | * elf32-v850.c (v850_elf_print_private_bfd_data): Call | |
1370 | _bfd_elf_print_private)bfd_data (). | |
1371 | ||
d212bfa7 ILT |
1372 | Tue Jun 2 15:29:35 1998 Ian Lance Taylor <ian@cygnus.com> |
1373 | ||
0e039bdc ILT |
1374 | * elflink.h (elf_merge_symbol): Don't always set type_change_ok |
1375 | and size_change_ok. | |
1376 | (elf_link_add_object_symbols): Set type_change_ok and | |
1377 | size_change_ok before calling elf_merge_symbol. | |
1378 | ||
d212bfa7 ILT |
1379 | * elf32-mips.c (mips_elf_relocate_section): If we issue an |
1380 | undefined symbol error, don't also issue an overflow error. | |
1381 | ||
defc0050 ILT |
1382 | Tue Jun 2 13:51:00 1998 Geoff Keating <geoffk@ozemail.com.au> |
1383 | ||
1384 | * elf32-ppc.c (ppc_elf_relocate_section): The target of an | |
1385 | R_PPC_LOCAL24PC relocation should be local; if not, print an error | |
1386 | message instead of crashing. | |
1387 | ||
9591998d ILT |
1388 | Mon Jun 1 18:23:12 1998 Yuli Barcohen <yuli.barcohen@telrad.co.il> |
1389 | ||
1390 | * archures.c (bfd_mach_cpu32): Define. | |
1391 | (bfd_default_scan): Add case for 68060. Fix 68332 case to use | |
1392 | bfd_mach_cpu32. | |
1393 | * cpu-m68k.c (arch_info_struct): Add m68k:cpu32. | |
1394 | * ieee.c: Include <ctype.h>. | |
1395 | (ieee_object_p): Parse out process ID string to make it more | |
1396 | likely to be acceptable for bfd_scan_arch. | |
1397 | * bfd-in2.h: Rebuild. | |
1398 | ||
5872728a NC |
1399 | Mon Jun 1 11:12:02 1998 Nick Clifton <nickc@cygnus.com> |
1400 | ||
1401 | * elf32-m32r.c (m32r_elf_print_private_bfd_data): Also call | |
1402 | _bfd_elf_print_private_bfd_data() so that the program header will | |
1403 | be displayed. | |
1404 | ||
179ac41c ILT |
1405 | Mon Jun 1 12:14:28 1998 Ian Lance Taylor <ian@cygnus.com> |
1406 | ||
1407 | * peicode.h (coff_swap_sym_in): Check for C_SECTION rather than | |
1408 | 0x68. Reindent. Add some comments. | |
1409 | ||
edac2b4c DE |
1410 | start-sanitize-sky |
1411 | Sun May 31 16:11:22 1998 Doug Evans <devans@canuck.cygnus.com> | |
1412 | ||
1413 | * elf32-mips.c (_bfd_mips_elf_final_write_processing): Set sh_link | |
1414 | field of .DVP.ovlytab to .DVP.ovlystrtab's section index. | |
1415 | (_bfd_mips_elf_section_from_shdr): Recognize SHT_DVP_OVERLAY_TABLE | |
1416 | and SHT_DVP_OVERLAY. | |
1417 | (_bfd_mips_elf_fake_sections): Ditto. | |
1418 | ||
1419 | end-sanitize-sky | |
e5fc7809 NC |
1420 | Fri May 29 09:58:08 1998 Nick Clifton <nickc@cygnus.com> |
1421 | ||
1422 | * elf.c (copy_private_bfd_data): Adjust physical address of | |
1423 | segment in output BFD to contain LMAs of its sections. | |
1424 | ||
fc23c14e SC |
1425 | Tue May 26 19:37:47 1998 Stan Cox <scox@equinox.cygnus.com> |
1426 | ||
1427 | * elf32-sparc.c (_bfd_sparc_elf_howto_table, sparc_reloc_map, | |
1428 | elf32_sparc_relocate_section): Added R_SPARC_32LE for little | |
1429 | endian data 32 bit relocations. | |
1430 | (elf32_sparc_merge_private_bfd_data): Check if linking little | |
1431 | endian objects with big endian objects. | |
1432 | (elf32_sparc_object_p): Set bfd_mach_sparc_sparclite_le. | |
1433 | (elf32_sparc_final_write_processing): Set EF_SPARC_LEDATA in e_flags. | |
fc23c14e SC |
1434 | * libbfd.h (bfd_reloc_code_real_names): Added BFD_RELOC_SPARC_32LE. |
1435 | * reloc.c: Same. | |
fc23c14e | 1436 | * cpu-sparc.c (arch_info_struct): Added sparc:sparclite_le |
fc23c14e | 1437 | * archures.c (bfd_mach_sparc_sparclite_le): New. |
e838aeea SC |
1438 | * bfd-in2.h (BFD_RELOC_SPARC_32LE, bfd_mach_sparc_sparclite_le): New. |
1439 | ||
5422c749 NC |
1440 | Thu May 21 16:59:28 1998 Nick Clifton <nickc@cygnus.com> |
1441 | ||
1442 | * peicode.h (add_data_entry): Fix precedence of operators in if () | |
92a7119c | 1443 | statement. |
5422c749 | 1444 | |
71842815 ILT |
1445 | Tue May 19 18:41:19 1998 Ian Lance Taylor <ian@cygnus.com> |
1446 | ||
1447 | * bfd-in.h: Move over patch to bfd-in2.h. | |
1448 | ||
1449 | * reloc.c (bfd_check_overflow): Add casts before shifts which may | |
1450 | not fit in 32 bits. | |
1451 | (_bfd_relocate_contents): Likewise. | |
1452 | ||
be461cc3 NC |
1453 | Mon May 18 14:44:15 1998 Nick Clifton <nickc@cygnus.com> |
1454 | ||
1455 | * peicode.h (add_data_entry): If the section has no private data | |
1456 | then do not create a Data Dictionary entry for it. | |
1457 | ||
b0f7df06 RH |
1458 | Mon May 18 00:09:28 1998 Richard Henderson <rth@cygnus.com> |
1459 | ||
1460 | * elf64-alpha.c (elf64_alpha_relax_section): Set again on changes. | |
1461 | (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots, | |
1462 | elf64_alpha_size_got_sections): Rewrite, handling multiple got | |
1463 | subsections during relaxation more correctly. | |
1464 | ||
7c511326 NC |
1465 | Thu May 14 14:22:58 1998 Nick Clifton <nickc@cygnus.com> |
1466 | ||
1467 | * bfd-in2.h: Add new prototype: bfd_coff_set_symbol_class (). | |
1468 | Add extra argument to bfd_arm_process_before_allocation (). | |
1469 | * bfd-in.h: Reflect changes made in bfd-in2.h. | |
1470 | * coffgen.c (bfd_coff_set_symbol_class): New function. Set the | |
1471 | coff class of a BFD symbol. | |
1472 | * coff-arm.c: Add support for interworking between Thumb code and | |
1473 | non-interworking aware ARM code. | |
1474 | ||
1475 | Sun May 10 22:33:59 1998 Jeffrey A Law (law@cygnus.com) | |
1476 | ||
1477 | * po/Make-in (install-info): New target. | |
1478 | ||
980381af ILT |
1479 | Thu May 7 17:40:56 1998 Ian Lance Taylor <ian@cygnus.com> |
1480 | ||
1481 | * filemode.c: Remove; not used. | |
1482 | ||
1483 | If sysdep.h includes a header file, don't include it again: | |
1484 | * aix386-core.c: Don't include <stdio.h>, <stddef.h>, or | |
1485 | <errno.h>. | |
1486 | * aoutx.h: Don't include <string.h>. Use "sysdep.h" rather than | |
1487 | <sysdep.h>. | |
1488 | * archive.c: Don't include <string.h> or <errno.h>. | |
1489 | * evax-alpha.c; Don't include <stdio.h>. | |
1490 | * evax-egsd.c: Likewise. | |
1491 | * evax-etir.c: Likewise. | |
1492 | * evax-misc.c: Likewise. | |
1493 | * evax-emh.c: Likewise. Also, don't include <sys/types.h>. | |
1494 | * hppabsd-core.c: Don't include <stdio.h>, <sys/types.h>, or | |
1495 | <errno.h>. | |
1496 | * hpux-core.c: Likewise. | |
1497 | * netbsd-core.c: Likewise. | |
1498 | * som.c: Likewise. | |
1499 | * libbfd.c: Don't include <sys/types.h>. | |
1500 | * nlmcode.h: Don't include <string.h>. | |
1501 | * osf-core.c: Don't include <string.h> or <stdio.h>. | |
1502 | * ptrace-core.c: Don't include <stdio.h>, <sys/types.h>, | |
1503 | <errno.h>, or <unistd.h>. | |
1504 | * trad-core.c: Don't include <stdio.h> or <sys/types.h>. | |
1505 | ||
4c7f1d41 ILT |
1506 | Thu May 7 13:12:50 1998 Klaus Kaempf <kkaempf@progis.de> |
1507 | ||
1508 | * configure.com: If the version number can not be found in | |
1509 | configure.in, set it to "unknown" rather than "2.8.1". | |
1510 | ||
f5916da7 GRK |
1511 | Wed May 6 09:46:05 1998 Gavin Koch <gavin@cygnus.com> |
1512 | ||
1513 | * elf32-mips.c (elf_mips_mach): New. | |
1514 | (_bfd_mips_elf_object_p): Use elf_mips_mach. | |
1515 | (_bfd_mips_elf_final_write_processing): Use the names | |
1516 | of machines, rather than the numbers. Set both the ARCH | |
1517 | and MACH in e_flags. Handle a few more specific machines. | |
1518 | (_bfd_mips_elf_merge_private_bfd_data): Merge both | |
1519 | EF_MIPS_ARCH and EF_MIPS_MACH. | |
1520 | ||
97ec511f RH |
1521 | Tue May 5 21:01:53 1998 Richard Henderson <rth@cygnus.com> |
1522 | ||
1523 | * syms.c (bfd_is_local_label): Revert last change. | |
1524 | * srec.c (srec_write_symbols): Discard debugging symbols. | |
1525 | ||
80d30ced ILT |
1526 | Tue May 5 23:36:06 1998 Ian Lance Taylor <ian@cygnus.com> |
1527 | ||
1528 | * som.c: Include <ctype.h>. | |
1529 | * som.h: Don't include sysdep.h. | |
1530 | ||
fc8ff72d TT |
1531 | Tue May 5 18:29:24 1998 Tom Tromey <tromey@cygnus.com> |
1532 | ||
1533 | * libbfd.h: Rebuilt. | |
1534 | * libbfd-in.h: Removed gettext includes and defines. | |
1535 | * sysdep.h: Moved gettext-related includes and defines here. | |
1536 | ||
4aa65bb8 RH |
1537 | Tue May 5 16:47:54 1998 Richard Henderson <rth@cygnus.com> |
1538 | ||
1539 | * srec.c (srec_write_symbols): Use bfd_is_local_label rather than | |
1540 | an ad-hoc test. Kill bogus #if 0 code. | |
1541 | * syms.c (bfd_is_local_label): Consider BSF_DEBUGGING symbols local. | |
1542 | ||
1543 | Mon May 4 16:10:33 1998 Ian Lance Taylor <ian@cygnus.com> | |
1544 | ||
1545 | * sunos.c (sunos_check_dynamic_reloc): Don't use the PLT address | |
1546 | when generating a normal executable for a symbol defined in a | |
1547 | regular file. When copying a reloc into the output file, adjust | |
1548 | the addend for a PC relative reloc against a global symbol. | |
1549 | ||
766dcecc TT |
1550 | Mon May 4 10:08:18 1998 Tom Tromey <tromey@cygnus.com> |
1551 | ||
1552 | * libbfd.h: Rebuilt. | |
1553 | * libbfd-in.h (_): Define as dgettext. | |
1554 | ||
d116929e ILT |
1555 | Mon May 4 11:02:23 1998 Ian Lance Taylor <ian@cygnus.com> |
1556 | ||
1557 | * coff-arm.c (coff_arm_relocate_section): Cast to bfd_signed_vma, | |
1558 | not signed. | |
1559 | * peicode.h (pe_saved_coff_bfd_print_private_bfd_data): Use PARAMS | |
1560 | when declaring parameter types. | |
1561 | (pe_saved_coff_bfd_copy_private_bfd_data): Likewise. | |
1562 | ||
92769ae9 ILT |
1563 | Wed Apr 29 15:35:03 1998 Ian Lance Taylor <ian@cygnus.com> |
1564 | ||
1565 | * config.bfd: If we include any ELF targets in targ_defvec and/or | |
1566 | targ_selvecs, then add the generic ELF targets to targ_selvecs. | |
1567 | * elf32-gen.c (dummy): New static const variable. | |
1568 | (elf_generic_info_to_howto): New static function. | |
1569 | (elf_generic_info_to_howto_rel): New static function. | |
1570 | (elf_info_to_howto): Define as elf_generic_info_to_howto. | |
1571 | (elf_info_to_howto_rel): Define as elf_generic_info_to_howto_rel. | |
1572 | * elf64-gen.c: Same changes as elf32-gen.c. | |
1573 | * elfcode.h (elf_object_p): For the generic target, ignore a | |
1574 | failure of bfd_default_set_arch_mach. Fix indentation a bit. | |
1575 | ||
351fc10b ILT |
1576 | Tue Apr 28 20:05:52 1998 Ian Lance Taylor <ian@cygnus.com> |
1577 | ||
1578 | * configure.in (WIN32LIBADD): Add -lintl on cygwin32. | |
1579 | * configure: Rebuild. | |
1580 | ||
1142c241 JM |
1581 | Tue Apr 28 12:16:57 1998 Jason Molenda (crash@bugshack.cygnus.com) |
1582 | ||
1583 | * config.bfd: Update OSR5/Unixware patterns. | |
1584 | ||
4d6f96eb RH |
1585 | Mon Apr 27 18:02:24 1998 Richard Henderson <rth@cygnus.com> |
1586 | ||
1587 | * elf.c (assign_file_positions_for_segments): Allow for holes | |
1588 | between sections added by a link script. | |
1589 | ||
0d3887ba ILT |
1590 | Mon Apr 27 11:49:55 1998 Ian Lance Taylor <ian@cygnus.com> |
1591 | ||
d510976d ILT |
1592 | * configure.in: Change version number to 2.9.4 |
1593 | * configure: Rebuild. | |
1594 | ||
0d3887ba ILT |
1595 | Based on patch from H.J. Lu <hjl@gnu.org>: |
1596 | * elf.c (bfd_elf_get_bfd_needed_list): New function. | |
1597 | * bfd-in.h (bfd_elf_get_bfd_needed_list): Declare. | |
1598 | * bfd-in2.h: Rebuild. | |
1599 | ||
dbcd157d RH |
1600 | Sat Apr 25 20:07:53 1998 Richard Henderson <rth@cygnus.com> |
1601 | ||
1602 | * elf64-alpha.c (struct alpha_relax_info): Replace elfsym with other. | |
1603 | Change all users. | |
1604 | ||
2506b568 RH |
1605 | Sat Apr 25 18:29:07 1998 Richard Henderson <rth@cygnus.com> |
1606 | ||
1607 | * elf64-alpha.c (struct alpha_relax_info): Add tsec & elfsym members. | |
1608 | (elf64_alpha_relax_section): Fill them in. | |
1609 | (elf64_alpha_relax_opt_call): Implement more than a stub. | |
92a7119c | 1610 | (elf64_alpha_add_symbol_hook): Don't set SEC_LOAD or default |
2506b568 RH |
1611 | alignment on .scommon. |
1612 | (elf64_alpha_merge_gots): Merge use counts as well. | |
1613 | ||
986c3691 RH |
1614 | Sat Apr 25 14:07:29 1998 Richard Henderson <rth@cygnus.com> |
1615 | ||
1616 | * elf64-alpha.c (elf64_alpha_relax_section): Use the proper section | |
1617 | for calculating a local symbol's address. | |
1618 | (elf64_alpha_calc_got_offsets): Skip entries with 0 use count. | |
1619 | Set the .got's cooked size as well as the raw size. | |
1620 | ||
05c07e29 NC |
1621 | Fri Apr 24 09:16:00 1998 Nick Clifton <nickc@cygnus.com> |
1622 | ||
1623 | * elf32-v850.c (v850_elf_print_private_bfd_data): Add | |
1624 | internationalisation of printed information. | |
92a7119c | 1625 | |
05c07e29 NC |
1626 | * coff-arm.c (coff_arm_print_private_bfd_data): Add |
1627 | internationalisation of printed information. | |
1628 | ||
016b7b4b ILT |
1629 | Fri Apr 24 12:09:18 1998 Ian Lance Taylor <ian@cygnus.com> |
1630 | ||
1631 | * syms.c (struct indexentry): Change directory_name, file_name, | |
1632 | and function_name fields to char *. | |
1633 | (struct stab_find_info): Change cached_file_name field to char *. | |
1634 | ||
701552a5 NC |
1635 | Thu Apr 23 08:13:04 1998 Nick Clifton <nickc@cygnus.com> |
1636 | ||
1637 | * peicode.h (dir_names): Add missing N_() macros to dir_names array. | |
1638 | ||
1158ffaf TT |
1639 | Wed Apr 22 13:06:15 1998 Tom Tromey <tromey@cygnus.com> |
1640 | ||
1641 | * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). | |
1642 | ||
fa466864 ILT |
1643 | Wed Apr 22 17:48:48 1998 Ian Lance Taylor <ian@cygnus.com> |
1644 | ||
1645 | * Makefile.am (install-data-local): Make $(includedir). | |
1646 | * Makefile.in: Rebuild. | |
1647 | ||
4725e922 TT |
1648 | Wed Apr 22 13:06:15 1998 Tom Tromey <tromey@cygnus.com> |
1649 | ||
1650 | * libbfd-in.h: Use `gettext' and not `dgettext' for now. | |
1651 | ||
3f4606a0 ILT |
1652 | Wed Apr 22 12:53:40 1998 Ian Lance Taylor <ian@cygnus.com> |
1653 | ||
a46abdd0 ILT |
1654 | * Makefile.am (INCLUDES): Add -I$(srcdir)/../intl -I../intl. |
1655 | * Makefile.in: Rebuild. | |
1656 | ||
3f4606a0 ILT |
1657 | * bfd-in2.h: Rebuild for Nick's changes. |
1658 | ||
b65c6163 RH |
1659 | Tue Apr 21 23:11:51 1998 Richard Henderson <rth@cygnus.com> |
1660 | ||
1661 | * archive.c (_bfd_generic_read_ar_hdr_mag): Fix lossage in last | |
1662 | change wrt length == max_namelen. | |
1663 | ||
53d3ce37 TT |
1664 | Tue Apr 21 21:19:36 1998 Tom Tromey <tromey@scribbles.cygnus.com> |
1665 | ||
1666 | * Many files: Added gettext invocations around user-visible | |
1667 | strings. | |
1668 | * libbfd-in.h: Added gettext includes and defines. | |
1669 | * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, | |
1670 | HAVE_LC_MESSAGES): Define. | |
1671 | * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and | |
1672 | po/Makefile. | |
1673 | * Makefile.am (SUBDIRS): Added po. | |
1674 | (POTFILES): New macro. | |
1675 | (po/POTFILES.in): New target. | |
1676 | (SOURCE_HFILES): New macro. | |
1677 | (HFILES): Use it. | |
1678 | * po/Make-in, po/POTFILES.in, po/bfd.pot: New files. | |
1679 | ||
d0f44984 PS |
1680 | Tue Apr 21 13:38:18 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1681 | ||
1682 | * elfcore.h (bfd_prstatus): Copy core_prstatus from the first | |
1683 | NT_PRSTATUS note section encountered, it contains the status of | |
1684 | the currently executing thread when the core file was written. | |
1685 | ||
7d6d10f9 NC |
1686 | Tue Apr 21 10:00:12 1998 Nick Clifton <nickc@cygnus.com> |
1687 | ||
1688 | * libcoff.h: Add extra parameter to | |
1689 | bfd_coff_link_output_has_begun overrideable function. | |
1690 | * cofflink.c: Pass extra parameter to | |
1691 | bfd_coff_link_output_has_begun function. | |
1692 | * bfd-in.h: Add prototypes for exported ARM interworking | |
92a7119c | 1693 | functions. |
7d6d10f9 | 1694 | * peicode.h: ARM specific code reorganised to conform to BFD |
92a7119c | 1695 | coding conventions. |
7d6d10f9 | 1696 | * coffcode.h: ARM specific code reorganised to conform to BFD |
92a7119c | 1697 | coding conventions. |
7d6d10f9 NC |
1698 | * coff-arm.c: Code reorganised to conform to the BFD coding |
1699 | conventions. Global variables have been moved into an ARM | |
1700 | specific hash table structure and a new function: | |
1701 | bfd_arm_get_bfd_for_interworking() has been created which is | |
1702 | called from the linker scripts. | |
1703 | ||
211b0be8 RH |
1704 | Tue Apr 21 00:11:51 1998 Richard Henderson <rth@cygnus.com> |
1705 | ||
1706 | * archive.c (_bfd_generic_read_ar_hdr_mag): Simplify end-of-name test. | |
1707 | ||
1708 | * elf64-alpha.c (elf64_alpha_find_reloc_at_ofs): Renamed from | |
1709 | elf64_alpha_relax_find_reloc_ofs. Changed all callers. | |
1710 | (elf64_alpha_add_symbol_hook): Put small commons in .scommon not .sbss. | |
1711 | (elf64_alpha_size_got_sections): Don't merge .got sections twice. | |
1712 | ||
1713 | Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com> | |
1714 | ||
1715 | * config.bfd: Added sparc86x support. | |
92a7119c | 1716 | |
14c683b2 JL |
1717 | Fri Apr 17 22:29:04 1998 Ian Lance Taylor <ian@cygnus.com> |
1718 | ||
1719 | * elf32-mips.c (mips_elf_relocate_section): Do not complain about | |
1720 | an out of range pc-relative jump/call to an undefined weak symbol. | |
1721 | ||
eb03bc25 RH |
1722 | Thu Apr 16 13:49:00 1998 Richard Henderson <rth@cygnus.com> |
1723 | ||
92a7119c | 1724 | * elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdisp |
eb03bc25 RH |
1725 | comparisons signed. |
1726 | ||
25e8be1d ILT |
1727 | Thu Apr 16 11:43:33 1998 Ian Lance Taylor <ian@cygnus.com> |
1728 | ||
216c36d9 ILT |
1729 | * archive.c (bfd_generic_archive_p): If a slurp subroutine returns |
1730 | an error other than bfd_error_system_call, set the error to | |
1731 | bfd_error_wrong_format. | |
1732 | ||
b3c76255 ILT |
1733 | * targets.c (bfd_target_vector) [SELECT_VECS not defined]: Add |
1734 | bfd_elf32_powerpcle_vec. | |
1735 | ||
25e8be1d ILT |
1736 | * elf.c (copy_private_bfd_data): If all the p_paddr fields in the |
1737 | program segments are zero, don't set p_paddr_valid. | |
1738 | ||
69842d08 RH |
1739 | Wed Apr 15 22:15:16 1998 Richard Henderson <rth@cygnus.com> |
1740 | ||
1741 | * elf64-alpha.c: Initial implementation of relaxation -- | |
1742 | (struct alpha_elf_link_hash_entry): Add use_count member. | |
1743 | (elf64_alpha_check_relocs): Initialize and increment it. | |
1744 | (elf64_alpha_can_merge_gots): Check it when considering merging. | |
1745 | (elf64_alpha_merge_gots): Drop entries with zero use. | |
1746 | (elf64_alpha_calc_got_offsets_for_symbol): Likewise. | |
1747 | (elf64_alpha_always_size_sections): Split out got sizing ... | |
1748 | (elf64_alpha_size_got_sections): ... here. New function. | |
1749 | (elf64_alpha_relax_find_reloc_ofs): New function. | |
1750 | (elf64_alpha_relax_with_lituse): Likewise. | |
1751 | (elf64_alpha_relax_without_lituse): Likewise. | |
1752 | (elf64_alpha_relax_opt_call): Likewise. | |
1753 | (elf64_alpha_relax_section): Likewise. | |
1754 | (elf64_alpha_add_symbol_hook): Likewise. | |
1755 | (elf64_alpha_howto_table): Implement GPRELHIGH/LOW & IMMED_GP_16. | |
1756 | (elf64_alpha_relocate_section): Likewise. | |
1757 | (bfd_elf64_bfd_relax_section): Define. | |
1758 | (elf_backend_add_symbol_hook): Likewise. | |
1759 | ||
b356d4af RH |
1760 | Wed Apr 15 16:08:46 1998 Richard Henderson <rth@cygnus.com> |
1761 | ||
1762 | * elf.c (prep_headers): Use new EM_SPARCV9 symbol. | |
1763 | * elf64-sparc.c (ELF_MACHINE_CODE): Likewise. | |
1764 | (ELF_MACHINE_ALT1): New. Set to EM_OLD_SPARC64. | |
1765 | ||
64596865 ILT |
1766 | Wed Apr 15 11:34:33 1998 Ian Lance Taylor <ian@cygnus.com> |
1767 | ||
1768 | * configure.in: Add -lkernel32 to WIN32LIBADD on cygwin32. | |
1769 | * configure: Rebuild. | |
1770 | ||
5a83fcdd ILT |
1771 | Mon Apr 13 16:46:27 1998 Ian Lance Taylor <ian@cygnus.com> |
1772 | ||
1773 | * Makefile.am (libbfd_la_LIBADD): Add @WIN32LIBADD@. | |
1774 | (libbfd_la_LDFLAGS): Add @WIN32LDFLAGS@. | |
1775 | * configure.in: Define and substitute WIN32LDFLAGS and | |
1776 | WIN32LIBADD. | |
1777 | * aclocal.m4: Rebuild with new libtool. | |
1778 | * configure, Makefile.in: Rebuild. | |
1779 | ||
c24c4203 ILT |
1780 | Fri Apr 10 13:44:27 1998 Ian Lance Taylor <ian@cygnus.com> |
1781 | ||
1782 | * coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol | |
1783 | before any other symbols in the same section. | |
1784 | ||
d6c3cfb5 MM |
1785 | Wed Apr 8 14:50:23 1998 Michael Meissner <meissner@cygnus.com> |
1786 | ||
1787 | * config.bfd (powerpc*-*-*): Remove PowerPC NT support from ELF | |
1788 | systems. | |
1789 | ||
b7781f9f GRK |
1790 | Tue Apr 7 16:25:31 1998 Gavin Romig-Koch <gavin@cygnus.com> |
1791 | ||
1792 | * dwarf2.c (comp_unit): Move it earlier in the source. Add | |
1793 | addr_size. | |
1794 | (read_address): Replace 'bdf*' argument with 'comp_unit*' argument. | |
1795 | Use addr_size for address size, rather than sizeof(bfd_vma). | |
1796 | (read_attribute): Replace bdf* argument with 'comp_unit*' argument. | |
1797 | Fix call to read_address. | |
1798 | (decode_line_info): Replace bdf* argument with 'comp_unit*' argument. | |
1799 | Scrap other unneeded arguments. Fix call to read_address. | |
1800 | (scan_unit_for_functions): Fix call to read_attribute. | |
1801 | (parse_comp_unit): We now handle more values for addr_size. | |
1802 | Set addr_size in unit. Fix call to read_attribute and | |
1803 | decode_line_info. | |
1804 | ||
d02731be GRK |
1805 | Tue Apr 7 15:44:47 1998 Gavin Romig-Koch <gavin@cygnus.com> |
1806 | ||
1807 | * dwarf2.c (parse_comp_unit): Drop use of unit->name when it is null. | |
1808 | ||
1d9ee924 ILT |
1809 | Tue Apr 7 12:35:18 1998 Ian Lance Taylor <ian@cygnus.com> |
1810 | ||
1811 | * archures.c (bfd_default_scan): Add m68k cases back to default | |
1812 | switch, reverting patch of March 25, since IEEE support depends | |
1813 | upon them. | |
1814 | ||
78e700af ILT |
1815 | Mon Apr 6 14:06:40 1998 Ian Lance Taylor <ian@cygnus.com> |
1816 | ||
1817 | * Makefile.am (diststuff): New target. | |
1818 | * Makefile.in: Rebuild. | |
1819 | ||
1fa0aaae JL |
1820 | Sun Apr 5 16:21:44 1998 Jeffrey A Law (law@cygnus.com) |
1821 | ||
1822 | * som.c (som_bfd_ar_write_symbol_stuff): Fix computation of | |
1823 | som_offset when we have an extended name table. | |
1824 | ||
56231d31 ILT |
1825 | Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org> |
1826 | ||
1827 | * Makefile.am (stamp-lib): Check that .libs/libbfd.a exists before | |
1828 | trying to copy it. | |
1829 | * Makefile.in: Rebuild. | |
1830 | ||
c4ffc67c ILT |
1831 | Fri Apr 3 11:09:42 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
1832 | ||
1833 | * elf32-m68k.c (elf_m68k_size_dynamic_sections): Generate section | |
1834 | symbols when creating a shared library. | |
1835 | (elf_m68k_adjust_dynindx): New function, used by above code. | |
1836 | (elf_m68k_finish_dynamic_sections): Initialize the section | |
1837 | symbols. | |
1838 | (elf_m68k_relocate_section): Change abort to BFD_ASSERT. | |
1839 | ||
1840 | Wed Apr 1 16:04:02 1998 Nick Clifton <nickc@cygnus.com> | |
1841 | ||
1842 | * coff-arm.c (in_reloc_p): Use ARM_RVA32 in place of constant | |
1843 | value 11. | |
1844 | ||
ed5e146b ILT |
1845 | Wed Apr 1 13:36:58 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
1846 | ||
1847 | * elf32-m68k.c (elf_m68k_relocate_section, case R_68K_PLT*O): Fix | |
1848 | assertion. | |
1849 | ||
b11b841b JL |
1850 | Tue Mar 31 00:12:12 1998 Jeffrey A Law (law@cygnus.com) |
1851 | ||
1852 | * elf-m10300.c (mn10300_elf_relax_section): Correctly handle | |
1853 | absolute symbols. | |
1854 | ||
f3aa01e2 ILT |
1855 | Mon Mar 30 12:46:15 1998 Ian Lance Taylor <ian@cygnus.com> |
1856 | ||
1857 | * configure.in: Set version to 2.9.1. | |
1858 | * configure: Rebuild. | |
1859 | ||
1860 | * Branched binutils 2.9. | |
1861 | ||
1862 | Mon Mar 30 12:20:50 1998 Brent Baccala <baccala@freesoft.org> | |
1863 | ||
1864 | * syms.c (ENABLE_CACHING): Define. | |
1865 | (struct indexentry): Define. | |
1866 | (struct stab_cache): Remove. | |
1867 | (cmpindexentry): New static function. | |
1868 | (struct stab_find_info): Add new fields: indextable, | |
1869 | indextablesize, cached_indexentry, cached_offset, cached_stab, and | |
1870 | cached_file_name. Remove fields: file_cache, function_cache, and | |
1871 | line_cache. | |
1872 | (_bfd_stab_section_find_nearest_line): Rewrite to build a sorted | |
1873 | index table and search it. | |
1874 | ||
24bce4a2 ILT |
1875 | Mon Mar 30 10:39:34 1998 Ian Lance Taylor <ian@cygnus.com> |
1876 | ||
368802d1 ILT |
1877 | * elf.c (_bfd_elf_copy_private_section_data): Call |
1878 | copy_private_bfd_data once we've seen the last SEC_ALLOC section. | |
1879 | ||
24bce4a2 ILT |
1880 | * cpu-mips.c: Remove trailing comma at end of enumeration list. |
1881 | ||
ac129350 ILT |
1882 | Sat Mar 28 16:33:02 1998 Ian Lance Taylor <ian@cygnus.com> |
1883 | ||
1884 | * coff-arm.c: Define all globally visible variables and functions | |
1885 | only when COFF_WITH_PE is not defined. | |
1886 | * configure.in (armpe_little_vec, armpe_big_vec): Add | |
1887 | coff-arm.lo. | |
1888 | * configure: Rebuild. | |
1889 | ||
f6727b90 ILT |
1890 | Fri Mar 27 16:06:02 1998 Ian Lance Taylor <ian@cygnus.com> |
1891 | ||
1892 | Fix some gcc -Wall warnings: | |
1893 | * aout-arm.c (MY(fix_pcrel_26)): Add casts to avoid warnings. | |
1894 | * archive.c (_bfd_generic_read_ar_hdr_mag): Likewise. | |
1895 | * archures.c (bfd_default_scan): Likewise. | |
1896 | * bfd.c (bfd_scan_vma): Likewise. | |
1897 | * binary.c (mangle_name): Likewise | |
1898 | * coff-arm.c (aoutarm_fix_pcrel_26): Likewise. | |
1899 | * coff-sh.c (sh_relocate_section): Likewise. | |
1900 | * coff-stgo32.c (create_go32_stub): Likewise. | |
1901 | * coffcode.h (coff_slurp_line_table): Likewise. | |
1902 | * ecoff.c (_bfd_ecoff_write_armap): Likewise. | |
1903 | * elf.c (_bfd_elf_make_section_from_shdr): Likewise. | |
1904 | (assign_file_positions_for_segments): Likewise. | |
1905 | * elf32-mips.c (mips_elf_relocate_section): Likewise. | |
1906 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. | |
1907 | * oasys.c (oasys_write_sections): Likewise. | |
1908 | * ppcboot.c (ppcboot_object_p): Likewise. | |
1909 | (mangle_name): Likewise. | |
1910 | * riscix.c (riscix_fix_pcrel_26): Likewise. | |
1911 | * srec.c (srec_scan): Likewise. | |
1912 | * stabs.c (_bfd_write_section_stabs): Likewise. | |
1913 | * sunos.c (sunos_add_dynamic_symbols): Likewise. | |
1914 | * aout-ns32k.c (_bfd_ns32k_relocate_contents): Add default case to | |
1915 | switch. Declare parameters for function pointers. | |
1916 | * archures.c (bfd_default_scan): Add braces to avoid ambiguous if | |
1917 | warning. | |
1918 | * elf.c (elf_sort_sections): Likewise. | |
1919 | * coff-arm.c (coff_thumb_pcrel_common): Initialize relocation. | |
1920 | Add default cases to switches. | |
1921 | (coff_arm_relocate_section): Remove unused local variables. | |
1922 | Always set rstat. | |
1923 | (coff_arm_bfd_set_private_flags): Change flag variable to type | |
1924 | flagword. | |
1925 | * coff-mips.c (mips_relocate_section): Initialize use_lo. | |
1926 | * coff-ppc.c (ppc_record_toc_entry): Change i to unsigned int. | |
1927 | (dump_toc): Change cat to const, and initialize it. | |
1928 | * coff-sh.c (sh_relax_delete_bytes): Initialize start and voff. | |
1929 | * elf32-sh.c (sh_elf_relax_delete_bytes): Likewise. | |
1930 | (sh_elf_relocate_section): Initialize r_symndx. | |
1931 | * coffcode.h (coff_compute_section_file_positions): Only declare | |
1932 | old_sofar if ALIGN_SECTIONS_IN_FILE. | |
1933 | (coff_write_object_contents): Initialize csym. | |
1934 | * coffgen.c (coff_pointerize_aux): Make type and class unsigned. | |
1935 | * cpu-ns32k.c (_bfd_ns32k_get_displacement): Add default case to | |
1936 | switch. | |
1937 | * dwarf2.c: Include libiberty.h. | |
1938 | (read_2_signed_bytes, read_4_signed_bytes): Comment out. | |
1939 | (decode_line_info): Remove unused local variables. | |
1940 | * elf32-m32r.c (m32r_elf_sda16_reloc): Likewise. | |
1941 | (m32r_elf_relocate_section): Likewise. | |
1942 | * elf32-v850.c (v850_elf_store_addend_in_insn): Likewise. | |
1943 | (v850_elf_reloc): Likewise. | |
1944 | * elf-bfd.h (elf_linker_section_t): Make alignment unsigned. | |
1945 | (struct elf_obj_tdata): Make cverdefs and cverrefs unsigned. | |
1946 | * elf.c (assign_file_positions_for_segments): Always set adjust. | |
1947 | * elf32-d30v.c (bfd_elf_d30v_reloc): Initialize tmp_addr. Fully | |
1948 | parenthesize expression. | |
1949 | * elf32-m32r.c (m32r_elf_relocate_section): Always initialize h. | |
1950 | (m32r_elf_object_p): Return a value. | |
1951 | (m32r_elf_print_private_bfd_data): Change fprintf format string. | |
1952 | * elf32-mips.c (mips_elf_final_link): Initialize last. | |
1953 | (mips_elf_finish_dynamic_sections): Initialize last and dindx. | |
1954 | * elf32-v850.c (v850_elf_object_p): Return a value. | |
1955 | (v850_elf_print_private_bfd_data): Change fprintf format string. | |
1956 | * elfcode.h (elf_slurp_symbol_table): Change symcount and i to | |
1957 | unsigned long. | |
1958 | * elflink.h (elf_link_add_object_symbols): Change vernum to | |
1959 | unsigned int, and initialize it. Change fprintf format string. | |
1960 | (NAME(bfd_elf,size_dynamic_sections)): Cast -1 to bfd_size_type | |
1961 | when setting or comparing to soname_indx. | |
1962 | (elf_create_pointer_linker_section): Change num_symbols to | |
1963 | unsigned int. | |
1964 | * libcoff-in.h (coff_data_type): Change flags to flagword. | |
1965 | * peicode.h (pe_print_idata): Initialize idx. Change j to | |
1966 | bfd_size_type. Initialize hint_member. Remove useless test to | |
1967 | time_stamp. | |
1968 | (pe_print_edata): Change num_functions and num_names in struct | |
1969 | EDT_type to unsigned long. Remove cast. Change fprintf format | |
1970 | string. | |
1971 | * ppcboot.c (ppcboot_object_p): Change i to size_t. | |
1972 | * reloc.c (bfd_get_reloc_size): Change return type to unsigned | |
1973 | int. | |
1974 | * reloc16.c (bfd_coff_reloc16_relax_section): Change shrinks to | |
1975 | int *. Update uses. Change j to long. | |
1976 | * bfd-in2.h, libcoff.h: Rebuild. | |
1977 | ||
197de3ba | 1978 | Fri Mar 27 10:10:46 1998 Catherine Moore <clm@cygnus.com> |
08eefd3e ILT |
1979 | |
1980 | * elf32-v850.c Remove definition of USE_REL. | |
1981 | (v850_elf_info_to_howto_rela): New function. | |
1982 | (v850_elf_perform_relocation): Renamed from | |
1983 | v850_elf_store_addend_in_insn. Removed replace argument. | |
1984 | (v850_elf_reloc): store the relocation in the addend field instead | |
1985 | of the insn. | |
1986 | (v850_elf_final_link_relocate): Now calls | |
1987 | v850_elf_perform_relocation. | |
1988 | (v850_elf_relocate_section): Remove code to generate REL | |
1989 | relocations. | |
1990 | ||
f6727b90 ILT |
1991 | Thu Mar 26 13:32:17 1998 Ian Lance Taylor <ian@cygnus.com> |
1992 | ||
1993 | * coffcode.h (coff_new_section_hook): Set the type and storage | |
1994 | class in the native symbol information allocated for a new section | |
1995 | symbol. | |
1996 | ||
8c11394a NC |
1997 | Thu Mar 26 10:13:41 1998 Nick Clifton <nickc@cygnus.com> |
1998 | ||
1999 | * peicode.h: Chain together calls to | |
2000 | coff_bfd_copy_private_bfd_data and | |
92a7119c | 2001 | coff_bfd_print_private_bfd_data. |
8c11394a NC |
2002 | |
2003 | * coff-arm.c: Add prototypes for | |
2004 | coff_arm_bfd_print_private_bfd_data and | |
92a7119c | 2005 | coff_arm_bfd_copy_private_bfd_data. |
8c11394a | 2006 | |
38c574bb NC |
2007 | Wed Mar 25 15:45:55 1998 Nick Clifton <nickc@cygnus.com> |
2008 | ||
2009 | * coffcode.h (coff_mkobject_hook): Set private falgs even for a PE | |
2010 | build. | |
2011 | ||
2012 | * peicode.h: Call arm-coff private data functions after handling | |
2013 | pe private data. | |
2014 | ||
2015 | * coff-arm.c: Turn statics into globals so that they can be shared | |
2016 | both pe and pei backends. | |
2017 | ||
d04efb80 ILT |
2018 | Wed Mar 25 15:19:38 1998 Ian Lance Taylor <ian@cygnus.com> |
2019 | ||
2020 | * aoutf1.h (sunos_set_arch_mach): Use bfd_mach_m68* rather than | |
2021 | plain numbers. | |
2022 | (sunos_write_object_contents): Likewise. | |
2023 | * aoutx.h (NAME(aout,machine_type)): Likewise. | |
2024 | * coffcode.h (coff_set_arch_mach_hook): Likewise. | |
2025 | ||
b35711c4 ILT |
2026 | Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
2027 | ||
ce6821a5 ILT |
2028 | * archures.c (bfd_mach_m68*): Add definitions for various m68k |
2029 | variants. | |
2030 | (bfd_default_scan): Remove m68k special cases. | |
2031 | * bfd-in2.h: Rebuild. | |
d04efb80 ILT |
2032 | * mipsbsd.c (MY(write_object_contents)): Use bfd_mach_m68* rather |
2033 | than plain numbers. | |
ce6821a5 ILT |
2034 | * sparclynx.c (NAME(lynx,set_arch_mach)): Likewise. |
2035 | * cpu-m68k.c (arch_info_struct): Likewise. Add entry for | |
2036 | m68k:68000. | |
2037 | (bfd_m68k_arch): Set mach field to zero to signal no explicit | |
2038 | selection, change printable_name to just "m68k" and make that the | |
2039 | default instead of m68k:68020. | |
2040 | ||
df5f44d1 ILT |
2041 | * aout-tic30.c (NAME): Define this to avoid multiple definitions |
2042 | from aoutx.h. | |
2043 | (MY_get_section_contents): Define as aout_32_get_section_contents | |
2044 | rather than NAME(aout,get_section_contents). | |
2045 | ||
2046 | * elf-m10300.c (elf32_mn10300_link_hash_table_create): Fix cast. | |
2047 | ||
b35711c4 ILT |
2048 | * evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha |
2049 | and call bfd_default_set_arch_mach to do the real work. | |
2050 | ||
0892d40b RH |
2051 | Wed Mar 25 10:41:35 1998 Richard Henderson <rth@cygnus.com> |
2052 | ||
2053 | * bout.c (BALX): Include return register g14 as part of the insn. | |
2054 | (BALX_MASK): New. | |
2055 | (calljx_callback): Use it. | |
2056 | ||
1719df74 ILT |
2057 | Wed Mar 25 11:19:28 1998 Ian Lance Taylor <ian@cygnus.com> |
2058 | ||
ce6821a5 ILT |
2059 | * libbfd-in.h (BFD_ALIGN): Cast this parameter to bfd_vma. |
2060 | * libbfd.h: Rebuild. | |
2061 | ||
df5f44d1 ILT |
2062 | * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Change |
2063 | byte_count to unsigned int. | |
2064 | (mn10300_elf_relax_section): Initialize internal_relocs. Remove | |
2065 | unused local variables. | |
2066 | ||
b35711c4 ILT |
2067 | * evax-alpha.c (evax_close_and_cleanup): Remove unused local |
2068 | variables er and er1. | |
2069 | ||
883f72a2 ILT |
2070 | * cpu-v850.c: Include <ctype.h>. |
2071 | (scan): Case isdigit argument to unsigned char. | |
2072 | ||
1719df74 ILT |
2073 | From Yan Meroth <YAN.MEROTH@st.com>: |
2074 | * ihex.c (ihex_scan): Add extbase variable so that getting an | |
2075 | extended linear address record does not ignore any previous | |
2076 | extended address. | |
2077 | (ihex_write_object_contents): When writing out an extended linear | |
2078 | address record, zero out any previous extended address. | |
2079 | ||
b7f28e8f ILT |
2080 | Tue Mar 24 16:09:43 1998 Manfred Hollstein <manfred@s-direktnet.de> |
2081 | ||
2082 | * ieee.c (do_one): Check section before dereferencing it. | |
2083 | (ieee_canonicalize_reloc): Likewise with src->relent.sym_ptr_ptr. | |
2084 | (ieee_generic_stat_arch_elt): Likewise with abfd->my_archive. | |
2085 | ||
615141db ILT |
2086 | Mon Mar 23 18:51:47 1998 Joel Sherrill <joel@OARcorp.com> |
2087 | ||
2088 | * config.bfd: (sh*-*-rtems*): Switched from ELF to COFF. | |
2089 | ||
454515c0 NC |
2090 | Mon Mar 23 14:23:36 1998 Nick Clifton <nickc@cygnus.com> |
2091 | ||
2092 | * coff-arm.c: Add interworking functions to pe backends. | |
2093 | ||
2094 | start-sanitize-r5900 | |
2095 | Sun Mar 22 13:05:08 1998 Jeffrey A Law (law@cygnus.com) | |
2096 | ||
2097 | * elf32-mips.c (R_MIPS15_S3): New relocation type. | |
2098 | (elf_mips_howto_table): Add R_MIPS15_S3. | |
2099 | (mips_reloc_map): Map BFD_RELOC_MIPS15_S3 to R_MIPS15_S3. | |
2100 | * reloc.c (BFD_RELOC_MIPS15_S3): New relocation type. | |
2101 | * bfd-in2.h, libbfd.h: Rebuilt. | |
2102 | ||
2103 | end-sanitize-r5900 | |
2104 | Fri Mar 20 18:47:20 1998 Ian Lance Taylor <ian@cygnus.com> | |
2105 | ||
2106 | * configure.in: Use AM_DISABLE_SHARED. | |
2107 | * aclocal.m4, configure: Rebuild with libtool 1.2. | |
2108 | ||
a748b374 NC |
2109 | Fri Mar 20 11:25:41 1998 Nick Clifton <nickc@cygnus.com> |
2110 | ||
2111 | * coff-arm.c (coff_arm_relocate_section): Better error messages | |
2112 | when interowrking conflucts occur. Courtesy of Jonathan Walton | |
5e04ff14 | 2113 | and Tony Thompson. |
a748b374 NC |
2114 | (aoutarm_std_reloc_howto): Fixed bitsize fields of rightshifted |
2115 | relocations. Patch courtesy of Jonathan Walton and Tony | |
5e04ff14 | 2116 | Thompson. |
a748b374 | 2117 | |
f2caa39b RH |
2118 | Fri Mar 20 02:26:43 1998 Richard Henderson <rth@cygnus.com> |
2119 | ||
2120 | * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Revert | |
2121 | part of Feb 22 change controling when to override the existing | |
2122 | symbol with the .plt entry. | |
2123 | ||
41eca8a7 NC |
2124 | Wed Mar 18 09:26:25 1998 Nick Clifton <nickc@cygnus.com> |
2125 | ||
2126 | * config.bfd (targ_cpu): Add thumb-pe target. | |
2127 | ||
2128 | * coffcode.h (OTHER_GLOBAL_CLASS): Support thumb external | |
2129 | functions in PE build. | |
2130 | ||
2131 | Sun Mar 8 23:37:26 1998 Stan Cox <scox@equinox.cygnus.com> | |
2132 | ||
2133 | * config.bfd (sparclite-*-elf*): Added. | |
2134 | ||
ad4413e6 GRK |
2135 | start-sanitize-vr4320 |
2136 | Tue Mar 3 11:24:05 1998 Gavin Koch <gavin@cygnus.com> | |
2137 | ||
2138 | * mips-cpu.c: Reorganize sanitization. | |
2139 | ||
2140 | * archures.c, bfd-in2.h, mips-cpu.c : Added bfd_mach_mips4320. | |
2141 | ||
2142 | end-sanitize-vr4320 | |
3c9f13f4 ILT |
2143 | Mon Feb 23 19:31:19 1998 Ian Lance Taylor <ian@cygnus.com> |
2144 | ||
2145 | * configure.in: Add elf.lo to elf shell variable. | |
2146 | * Makefile.am (BFD_LIBS): Remove elf.lo. | |
2147 | (BFD_LIBS_CFILES): Remove elf.c. | |
2148 | (BFD32_BACKENDS): Add elf.lo. | |
2149 | (BFD32_BACKENDS_CFILES): Add elf.c. | |
2150 | * configure, Makefile.in: Rebuild. | |
2151 | ||
b35d842d UD |
2152 | 1998-02-23 15:53 Richard Henderson <rth@cygnus.com> |
2153 | ||
2154 | * elf32-i386.c (elf_i386_relocate_section): A pc-relative | |
2155 | relocation against a now-local symbol should not have a dynamic | |
2156 | relocation. | |
2157 | ||
b1f09b63 ILT |
2158 | Mon Feb 23 16:17:08 1998 Ian Lance Taylor <ian@cygnus.com> |
2159 | ||
2160 | * peicode.h (coff_swap_filehdr_in): Don't set BFD flag HAS_SYMS in | |
2161 | COFF filehdr flags. | |
2162 | (pe_print_private_bfd_data): Print PE flags. From Mikey | |
2163 | <jeffdb@netzone.com>. | |
2164 | ||
2f53b8ff RH |
2165 | Sun Feb 22 20:39:00 1998 Richard Henderson <rth@cygnus.com> |
2166 | ||
2167 | * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create | |
b35d842d UD |
2168 | a plt entry when we can determine that we authoritatively define |
2169 | the symbol. | |
2f53b8ff | 2170 | |
07fafd5d RH |
2171 | Sun Feb 22 20:33:05 1998 Richard Henderson <rth@cygnus.com> |
2172 | ||
2173 | * configure.in (COREFILE selection): Remove sparc-*-linux*. They | |
2174 | don't actually use trad-core, but a SunOS-style core file handled | |
2175 | by gdb directly. | |
2176 | * hosts/sparclinux.h: Remove. | |
2177 | ||
2178 | start-sanitize-sky | |
2179 | Thu Feb 19 02:38:52 1998 Doug Evans <devans@charmed.cygnus.com> | |
2180 | ||
2181 | * reloc.c (BFD_RELOC_MIPS_DVP_27_S4): New reloc type. | |
2182 | * elf32-mips.c (enum reloc_type): Add R_MIPS_DVP_27_S4. | |
2183 | (elf_mips_dvp_27_s4_howto): Describe it. | |
2184 | (bfd_elf32_bfd_reloc_type_lookup): Handle it. | |
2185 | (mips_info_to_how_rel): Handle it. | |
2186 | (mips_elf_relocate_section): Handle it. | |
2187 | * bfd-in2.h,libbfd.h: Regenerate. | |
2188 | ||
2189 | end-sanitize-sky | |
2190 | Wed Feb 18 15:31:06 1998 Ian Lance Taylor <ian@cygnus.com> | |
2191 | ||
2192 | * peicode.h (pe_print_idata): If there is no .idata section, look | |
2193 | for the import tables in some other section. Make the initial | |
2194 | label line up better with the data. Print the import address | |
2195 | table even if there is no import name table. If the import | |
2196 | address table holds actual addresses, print them. | |
2197 | ||
58713764 DE |
2198 | start-sanitize-sky |
2199 | Tue Feb 17 20:00:26 1998 Doug Evans <devans@canuck.cygnus.com> | |
2200 | ||
2201 | * config.bfd (targ_archs): If mips64r5900-sky-elf, add bfd_dvp_arch. | |
2202 | ||
2203 | end-sanitize-sky | |
5290378a ILT |
2204 | Tue Feb 17 12:58:34 1998 Ian Lance Taylor <ian@cygnus.com> |
2205 | ||
2206 | * libbfd.c (bfd_seek): If fseek fails, save errno around call to | |
2207 | bfd_tell. If errno is EINVAL, set bfd_error_file_truncated, not | |
2208 | bfd_error_system_call. | |
2209 | ||
6e639e5d ILT |
2210 | Fri Feb 13 13:11:33 1998 Ian Lance Taylor <ian@cygnus.com> |
2211 | ||
004040c9 ILT |
2212 | * Makefile.am (AUTOMAKE_OPTIONS): Define. |
2213 | * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. | |
2214 | ||
cf4ce877 | 2215 | From H.J. Lu <hjl@gnu.org>: |
6e639e5d ILT |
2216 | * Makefile.am (libbfd_la_LDFLAGS): Define. |
2217 | * Makefile.in: Rebuild. | |
2218 | ||
eee4e8ca ILT |
2219 | Thu Feb 12 17:31:11 1998 Ian Lance Taylor <ian@cygnus.com> |
2220 | ||
f53bcd0a ILT |
2221 | NetBSD patches from Gordon W. Ross <gwr@mc.com>: |
2222 | * netbsd.h (MACHTYPE_OK): Define. | |
2223 | (MY(write_object_contents)): Use DEFAULT_ARCH and DEFAULT_MID when | |
2224 | calling N_SET_MACHTYPE, rather than having a switch. | |
2225 | * libaout.h (enum machine_type): Add M_PMAX_NETBSD, M_VAX_NETBSD, | |
2226 | and M_ALPHA_NETBSD. | |
2227 | * i386netbsd.c (MACHTYPE_OK): Don't define. | |
2228 | (DEFAULT_MID): Define. | |
2229 | * m68k4knetbsd.c (SEGMENT_SIZE): Don't define. | |
2230 | (MACHTYPE_OK): Don't define. | |
2231 | (DEFAULT_MID): Define. | |
2232 | * m68knetbsd.c: (MACHTYPE_OK): Don't define. | |
2233 | (DEFAULT_MID): Define. | |
2234 | * ns32knetbsd.c (MACHTYPE_OK): Don't define. | |
2235 | (DEFAULT_MID): Define. | |
2236 | * sparcnetbsd.c (MACHTYPE_OK): Don't define. | |
2237 | (DEFAULT_MID): Define. | |
2238 | ||
eee4e8ca ILT |
2239 | NetBSD patches from Gordon W. Ross <gwr@mc.com>: |
2240 | * vaxnetbsd.c: New file. | |
2241 | * netbsd-core.c: Clean up. Remove unused macros. Use netbsd | |
2242 | rather than netbsd_core. | |
2243 | * targets.c (vaxnetbsd_vec): Declare. | |
2244 | (bfd_target_vector): Add vaxnetbsd_vec. If NETBSD_CORE is | |
2245 | defined, add netbsd_core_vec. | |
2246 | * configure.in: Set COREFILE for alpha*-*-netbsd* and | |
2247 | powerpc-*-netbsd* to netbsd-core.lo. If COREFILE is | |
2248 | netbsd-core.lo, set COREFLAG to -DNETBSD_CORE. | |
2249 | * config.bfd (alpha*-*-netbsd*): New target. | |
2250 | * Makefile.am: Rebuild dependencies. | |
2251 | (BFD32_BACKENDS): Add vaxnetbsd.lo. | |
2252 | (BFD32_BACKENDS_CFILES): Add vaxnetbsd.c. | |
2253 | * configure, Makefile.in: Rebuild. | |
2254 | ||
2255 | * configure.host: Remove the old shared library build stuff. We | |
2256 | now use libtool instead. | |
2257 | ||
ba475667 RH |
2258 | Wed Feb 11 17:13:09 1998 Richard Henderson <rth@cygnus.com> |
2259 | ||
2260 | * tekhex.c (tekhex_write_object_contents): Call tekhex_init. | |
2261 | ||
2262 | Tue Feb 10 19:23:28 1998 H.J. Lu <hjl@gnu.org> | |
2263 | ||
2264 | * configure.in: Take stab-syms.lo out of sparclinux_vec list. | |
2265 | * configure: Rebuild. | |
2266 | ||
9cca7762 | 2267 | Tue Feb 10 15:16:38 1998 Nick Clifton <nickc@cygnus.com> |
bae2276c NC |
2268 | start-sanitize-m32rx |
2269 | * elf32-m32r.c (m32r_elf_merge_private_bfd_data): Do not complain | |
2270 | when merging m32r BFDs into m32rx BFDs. | |
2271 | end-sanitize-m32rx | |
9cca7762 NC |
2272 | * elf32-v850.c (remember_hi16s_reloc): New function. |
2273 | (find_remembered_hi16s_reloc): New function. | |
2274 | (v850_elf_store_addend_in_insn): Use the above new functions to | |
2275 | match up HI6S relocs with LO16 relocs. | |
2276 | ||
9eb7b67b DE |
2277 | start-sanitize-sky |
2278 | Tue Feb 10 13:25:14 1998 Doug Evans <devans@canuck.cygnus.com> | |
2279 | ||
2280 | * archures.c (bfd_mach_dvp_{vif,gif}): Renamed from ..._{pke,gpuif}. | |
2281 | (bfd_txvu_arch): Delete. | |
2282 | * cpu-mips.c (arch_info_struct): dvp:{vif,gif} renamed from | |
2283 | dvp:{pke,gpuif}. | |
2284 | * bfd-in2.h: Regenerate. | |
2285 | ||
2286 | end-sanitize-sky | |
5303c574 ILT |
2287 | Tue Feb 10 15:01:39 1998 Ian Lance Taylor <ian@cygnus.com> |
2288 | ||
2289 | * configure.in: Change -linux* to -linux-gnu*. | |
2290 | * config.bfd, configure.host: Likewise. | |
2291 | * configure: Rebuild. | |
2292 | ||
6aa32b90 NC |
2293 | Mon Feb 9 19:40:59 1998 Nick Clifton <nickc@cygnus.com> |
2294 | ||
2295 | * elf32-v850.c (v850_elf_store_addend_in_insn): Fix another | |
2296 | LO16/HI16S bug and improve comments about what is going on. | |
2297 | ||
7ee4e307 ILT |
2298 | Sat Feb 7 15:27:03 1998 Ian Lance Taylor <ian@cygnus.com> |
2299 | ||
2300 | * configure, aclocal.m4: Rebuild with new libtool. | |
2301 | ||
75172c0f NC |
2302 | start-sanitize-v850e |
2303 | Fri Feb 6 14:48:20 1998 Nick Clifton <nickc@cygnus.com> | |
2304 | ||
2305 | * elf32-v850.c (v850_elf_merge_private_bfd_data): Do not complain | |
8b6dcc1b | 2306 | when merging v850 code into v850e/v850ea code. Do not initialise |
5e04ff14 | 2307 | output flags if the input is the default architecture. |
75172c0f | 2308 | end-sanitize-v850e |
9b47bc23 JL |
2309 | Fri Feb 6 11:50:22 1998 Jeffrey A Law (law@cygnus.com) |
2310 | ||
bb1fd71f | 2311 | start-sanitize-r5900 |
6f84b00f | 2312 | * cpu-mips.c (arch_info_struct): Make r5900 pointer size 32bits. |
bb1fd71f | 2313 | end-sanitize-r5900 |
9b47bc23 JL |
2314 | * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR |
2315 | get the size from bfd_arch_bits_per_address instead of directly | |
2316 | from the isa. | |
2317 | ||
29b7118a MM |
2318 | Thu Feb 5 14:21:34 1998 Michael Meissner <meissner@cygnus.com> |
2319 | ||
b494ec3e MM |
2320 | * libbfd-in.h (BFD_ALIGN): If rounding up would cause the address |
2321 | to wrap, just return all 1's bits instead. | |
2322 | * libbfd.h: Regenerate. | |
29b7118a | 2323 | |
4ea65387 ILT |
2324 | Thu Feb 5 11:51:05 1998 Ian Lance Taylor <ian@cygnus.com> |
2325 | ||
1f286476 ILT |
2326 | * coff-i386.c (coff_pe_i386_relocate_section): New static function |
2327 | if COFF_WITH_PE. | |
2328 | (coff_relocate_section): If COFF_WITH_PE, define as | |
2329 | coff_pe_i386_relocate_section. | |
2330 | * coffcode.h (coff_write_object_contents): If COFF_IMAGE_WITH_PE, | |
2331 | skip empty sections, to match coff_write_object_contents. | |
2332 | ||
4ea65387 ILT |
2333 | * elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend, |
2334 | rather than swapping out r_offset twice. From Luke Deller | |
2335 | <luked@cse.unsw.edu.au>. | |
2336 | ||
9a837903 ILT |
2337 | Wed Feb 4 19:11:28 1998 Ian Lance Taylor <ian@cygnus.com> |
2338 | ||
2339 | * configure.in: Set libtool_enable_shared rather than | |
2340 | libtool_shared. Remove diversion hack. | |
2341 | * configure, Makefile.in, doc/Makefile.in, aclocal.m4: Rebuild | |
2342 | with new libtool. | |
2343 | ||
68d864d7 ILT |
2344 | Wed Feb 4 16:10:21 1998 Brent Baccala <baccala@freesoft.org> |
2345 | ||
2346 | * syms.c (struct stab_cache): Define. | |
2347 | (struct stab_find_info): Remove cached_offset, cached_stab, | |
2348 | cached_str, and cached_stroff fields. Add file_cache, | |
2349 | function_cache, and line_cache fields. | |
2350 | (_bfd_stab_section_find_nearest_line): Use extensive caching to | |
2351 | speed up searches. | |
2352 | ||
7f84fa70 ILT |
2353 | Wed Feb 4 13:34:22 1998 Ian Lance Taylor <ian@cygnus.com> |
2354 | ||
2355 | * peicode.h (pe_print_idata): Check for import of ordinal rather | |
2356 | than name. | |
2357 | (pe_print_edata): If there is no .edata section, look for the | |
2358 | export data in some other section. | |
2359 | ||
229811d1 JM |
2360 | Mon Feb 2 20:05:42 1998 Jason Molenda (crash@bugshack.cygnus.com) |
2361 | ||
2362 | * configure.in: Change version to 2.8.4. | |
2363 | * configure: Regenerated. | |
2364 | ||
2365 | Mon Feb 2 17:39:39 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> | |
2366 | ||
2367 | Add tms320c30 support: | |
2368 | * cpu-tic30.c: New file. | |
2369 | * aout-tic30.c: New file. | |
2370 | * coff-tic30.c: New file. | |
2371 | * archures.c (bfd_arch_tic30): Define. | |
2372 | (bfd_tic30_arch): Declare. | |
2373 | (bfd_archures_list): Add bfd_tic30_arch. | |
2374 | * targets.c (bfd_target_vector): Add tic30_aout_vec and | |
2375 | tic30_coff_vec. | |
2376 | * reloc.c (BFD_RELOC_TIC30_LDP): Define. | |
2377 | * coffcode.h (coff_set_arch_mach_hook): Add tic30 case. | |
2378 | (coff_set_flags): Likewise. | |
2379 | * config.bfd (tic30-*-*aout*, tic30-*-*coff*): New targets. | |
2380 | * configure.in (tic30_aout_vec, tic30_coff_vec): New vectors. | |
2381 | * Makefile.am: Rebuild dependencies. | |
2382 | (ALL_MACHINES): Add cpu-tic30.lo. | |
2383 | (ALL_MACHINES_CFILES): Add cpu-tic30.c. | |
2384 | (BFD32_BACKENDS): Add aout-tic30.lo and coff-tic30.lo. | |
2385 | (BFD32_BACKENDS_CFILES): Add aout-tic30.c and coff-tic30.c. | |
2386 | * configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild. | |
2387 | ||
581d7269 NC |
2388 | Mon Feb 2 12:25:12 1998 Nick Clifton <nickc@cygnus.com> |
2389 | ||
2390 | * elf32-v850.c (v850_elf_store_addend_in_insn): Allow HI16_S reloc | |
2391 | to lag behind LO16 reloc by a couple of instructions. | |
2392 | ||
1a58a2d8 ILT |
2393 | Mon Feb 2 14:09:46 1998 Ian Lance Taylor <ian@cygnus.com> |
2394 | ||
229811d1 JM |
2395 | * Makefile.am ($(srcdir)/bfd-in2.h): Add dummy command to force |
2396 | make to reexamine the file timestamp. | |
2397 | ($(srcdir)/libbfd.h, $(srcddir)/libcoff.h): Likewise. | |
2398 | ||
1a58a2d8 ILT |
2399 | * elf64-alpha.c (ELF_MAXPAGESIZE): Change to 0x10000 from |
2400 | 0x100000. | |
2401 | ||
c62a82b5 DE |
2402 | start-sanitize-sky |
2403 | Fri Jan 30 17:48:17 1998 Doug Evans <devans@canuck.cygnus.com> | |
2404 | ||
c44b38d7 DE |
2405 | * elf32-mips.c (elf_mips_dvp_11_pcrel_howto): Set pcrel_offset=true |
2406 | and partial_inplace=false. | |
c62a82b5 DE |
2407 | (mips_elf_relocate_section): Recognize R_MIPS_DVP_11_PCREL. |
2408 | ||
2409 | end-sanitize-sky | |
8a5863be ILT |
2410 | Fri Jan 30 19:07:07 1998 Geoff Keating <geoffk@ozemail.com.au> |
2411 | ||
2412 | * elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure | |
2413 | to create .dynsbss and .rela.sbss sections. | |
2414 | (ppc_elf_adjust_dynamic_symbol): Put space for small data to be | |
2415 | copied from dynamic objects into .sbss. | |
2416 | (ppc_elf_size_dynamic_sections): Strip .rela.sbss if we don't | |
2417 | use it. Correct typo of .rela.sdata2. | |
2418 | (ppc_elf_finish_dynamic_symbol): Generate reloc to where we | |
2419 | put the data, which may now be in .sbss. | |
2420 | (ppc_elf_relocate_section): A SDAREL16 reloc can be in dynsbss. | |
2421 | (elf_backend_create_dynamic_sections): Define as | |
2422 | ppc_elf_create_dynamic_sections. | |
2423 | ||
2424 | * elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs | |
2425 | against _GLOBAL_OFFSET_TABLE_. | |
2426 | (ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in | |
2427 | shared libraries which refer to local symbols. Make sure that the | |
2428 | test for allocating space for a reloc in a shared object is the | |
2429 | same as the test for emitting a reloc. | |
2430 | ||
3134a2bd DE |
2431 | start-sanitize-sky |
2432 | Thu Jan 29 17:44:53 1998 Doug Evans <devans@canuck.cygnus.com> | |
2433 | ||
2434 | * elf32-mips.c: Add dvp support. | |
2435 | ||
2436 | end-sanitize-sky | |
847b9629 ILT |
2437 | Thu Jan 29 15:55:35 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> |
2438 | ||
2439 | * config.bfd (i[3456]-*-mingw32*): New target. | |
2440 | * acinclude.m4 (BFD_BINARY_OPEN): Check for mingw32. | |
2441 | * aclocal.m4, configure: Rebuild. | |
2442 | ||
36df40e0 | 2443 | start-sanitize-sky |
06fdc311 | 2444 | Wed Jan 28 15:14:28 1998 Doug Evans <devans@canuck.cygnus.com> |
36df40e0 DE |
2445 | |
2446 | * config.bfd, configure.in: Add dvp support. | |
2447 | * configure: Regenerate. | |
2448 | * aclocal.m4: Regenerate. | |
2449 | * archures.c, reloc.c, cpu-mips.c: Add dvp support. | |
2450 | * bfd-in2.h, libbfd.h, libcoff.h: Regenerate. | |
2451 | ||
2452 | end-sanitize-sky | |
e6e3d4bd ILT |
2453 | Wed Jan 28 13:41:26 1998 Ian Lance Taylor <ian@cygnus.com> |
2454 | ||
2455 | * elf.c (_bfd_elf_close_and_cleanup): Only check the strtab if we | |
2456 | have a bfd_object. | |
2457 | ||
16ce6205 RH |
2458 | Tue Jan 27 21:43:55 1998 Richard Henderson <rth@cygnus.com> |
2459 | ||
2460 | Sparc v9 ABI compliant PLT: | |
2461 | * elf64-sparc.c (PLT_HEADER_SIZE): V9 ABI uses 4 entries. | |
2462 | (plt_templates, sparc64_elf_build_plt_entry): Delete. | |
2463 | (LARGE_PLT_THRESHOLD): New define. | |
2464 | (GOT_RESERVED_ENTRIES): V9 ABI only uses 1. | |
2465 | (sparc64_elf_build_plt): New function. | |
2466 | (sparc64_elf_plt_entry_offset): Likewise. | |
2467 | (sparc64_elf_plt_ptr_offset): Likewise. | |
b35d842d UD |
2468 | (sparc64_elf_adjust_dynamic_symbol): Change h->plt_offset to |
2469 | contain the index for convenience. Skip the initial entries | |
16ce6205 RH |
2470 | in .rela.plt. |
2471 | (sparc64_elf_size_dynamic_sections): Zero the allocated contents | |
2472 | memory for the benefit of .rela.plt. | |
2473 | (sparc64_elf_relocate_section): Call sparc64_elf_plt_entry_offset. | |
2474 | (sparc64_elf_finish_dynamic_symbol): Kill template stuff. Use | |
2475 | sparc64_elf_plt_entry_offset & sparc64_elf_plt_ptr_offset for reloc. | |
2476 | (sparc64_elf_finish_dynamic_sections): DT_PLTGOT points to .plt. | |
2477 | Call sparc64_elf_build_plt. | |
2478 | (elf_backend_want_got_plt): No. | |
2479 | (elf_backend_plt_readonly): No. | |
2480 | (elf_backend_plt_alignment): 8. | |
2481 | ||
2482 | * elf.c (_bfd_elf_close_and_cleanup): New function; free the shstrtab. | |
2483 | * elf-bfd.h (_bfd_elf_close_and_cleanup): Declare it. | |
b35d842d | 2484 | * elfxx-target.h (bfd_elfNN_close_and_cleanup): Arrange for it |
16ce6205 RH |
2485 | to be called. |
2486 | ||
29410c45 JL |
2487 | Tue Jan 27 21:45:15 1998 Jeffrey A Law (law@cygnus.com) |
2488 | ||
2489 | * archures.c (bfd_mach_mips*): Add definitions for various MIPS | |
2490 | processors. | |
2491 | * cpu-mips.c (arch_info_struct): Add mips variants. | |
2492 | * bfd-in2.h: Rebuilt. | |
2493 | ||
ba6ea759 NC |
2494 | Tue Jan 27 15:06:04 1998 Nick Clifton <nickc@cygnus.com> |
2495 | ||
5e04ff14 ILT |
2496 | * coff-arm.c (coff_arm_relocate_section): Preserve the contents of |
2497 | t2a3_b_insn. | |
ba6ea759 | 2498 | |
a3e62cc0 ILT |
2499 | Tue Jan 27 12:47:27 1998 Robert Lipe <robertl@dgii.com> |
2500 | ||
b35d842d | 2501 | * config.bfd (i[3456]86-sco3.2v5*): ELF now the default. |
e6e3d4bd | 2502 | (i[3456]86sco3.2v5*coff): New target. |
a3e62cc0 | 2503 | |
f1dc7bb2 ILT |
2504 | Mon Jan 26 15:41:30 1998 Ian Lance Taylor <ian@cygnus.com> |
2505 | ||
2506 | * bfd-in2.h: Rebuild with changes to chew--tab expansion. | |
2507 | ||
f3da1439 RH |
2508 | Thu Jan 22 21:26:48 1998 Richard Henderson <rth@cygnus.com> |
2509 | ||
2510 | * bfd.c (bfd_get_error_handler): Add orthogonal function. | |
2511 | * bfd-in2.h: Regenerate. | |
2512 | ||
31af3ca9 RH |
2513 | Thu Jan 22 21:13:39 1998 Richard Henderson <rth@cygnus.com> |
2514 | ||
2515 | * tekhex.c (tekhex_write_object_contents): Check for no symbols. | |
2516 | ||
d7340050 ILT |
2517 | Wed Jan 21 21:19:03 1998 Ian Lance Taylor <ian@cygnus.com> |
2518 | ||
f5e23c73 ILT |
2519 | * coff-i386.c (coff_i386_rtype_to_howto): If COFF_WITH_PE, don't |
2520 | adjust addend for an output common symbol (from Jimmy Blair | |
2521 | <jimmyb@wrs.com>). If COFF_WITH_PE, adjust addend for PC relative | |
2522 | defined symbol to counteract adjustment made in generic relocation | |
2523 | code. | |
2524 | ||
d7340050 ILT |
2525 | * dwarf2.c: Include sysdep.h, not stdio.h and stdlib.h. |
2526 | ||
bc01e4a2 ILT |
2527 | Wed Jan 21 21:16:06 1998 Manfred Hollstein <manfred@s-direktnet.de> |
2528 | ||
2529 | * coff-m88k.c (GET_SCNDHR_NRELOC): Fix typo in macro name. | |
2530 | (GET_SCNDHR_NLNNO): Likewise. | |
2531 | ||
e79e79cf ILT |
2532 | Mon Jan 19 12:49:52 1998 Ian Lance Taylor <ian@cygnus.com> |
2533 | ||
2534 | * cpu-sh.c (arch_info_struct): Correct next field of sh3e. | |
2535 | ||
cc662e86 NC |
2536 | Wed Jan 14 17:23:27 1998 Nick Clifton <nickc@cygnus.com> |
2537 | ||
2538 | * elf32-m32r.c: Add macros to handle NOP insertion. | |
2539 | ||
16b7d65d RH |
2540 | Wed Jan 14 16:15:22 1998 Richard Henderson <rth@cygnus.com> |
2541 | ||
2542 | * xcofflink.c (xcoff_mark_symbol): Don't mark the absolute section. | |
2543 | (xcoff_mark): Likewise. | |
2544 | (xcoff_build_ldsyms): Mark absolute symbols. | |
2545 | ||
52dcb248 RH |
2546 | Wed Jan 14 16:03:11 1998 Richard Henderson <rth@cygnus.com> |
2547 | ||
2548 | * bout.c (b_out_write_object_contents): Sort symbols before output | |
2549 | to keep {CALL,BAL}NAME symbols adjacent. | |
2550 | (b_out_symbol_cmp): New function. | |
2551 | ||
06fdc311 | 2552 | For older changes see ChangeLog-9697 |
41126f15 JK |
2553 | \f |
2554 | Local Variables: | |
c6c7035c | 2555 | mode: change-log |
41126f15 | 2556 | left-margin: 8 |
6ec3bb6a ILT |
2557 | fill-column: 74 |
2558 | version-control: never | |
2559 | End: |