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