]>
Commit | Line | Data |
---|---|---|
a8a3d83a ILT |
1 | Thu Jul 18 15:39:10 1996 Ian Lance Taylor <[email protected]> |
2 | ||
e8c249cb ILT |
3 | * config.bfd (mips*-*-irix6*): New target. |
4 | * configure.host: Handle Irix 6 shared library like Irix 5. | |
5 | ||
a8a3d83a ILT |
6 | * xcofflink.c (xcoff_link_add_symbols): Don't check an XMC_TD |
7 | symbol for a magic name. | |
8 | (xcoff_link_input_bfd): Don't change the reloc symbol for an | |
9 | XMC_TD symbol. | |
10 | (_bfd_ppc_xcoff_relocate_section): Don't get the TOC offset for an | |
11 | XMC_TD symbol. | |
12 | ||
b576c7b3 SS |
13 | Thu Jul 18 11:36:31 1996 Stan Shebs <[email protected]> |
14 | ||
15 | * mpw-config.in: Add ELF support to mips config, create the | |
16 | elf32-target.h file in the object dir. | |
17 | * mpw-make.sed: Edit elfXX-target.h refs at beginnings of lines. | |
18 | ||
2ba0d82d KK |
19 | Wed Jul 17 18:02:32 1996 Kim Knuttila <[email protected]> |
20 | ||
21 | * coff-ppc.c: Redid debug scheme - numerous fprintf's gone. | |
22 | Also removed most abort calls, in favor of using bfd reporting. | |
23 | ||
50bd50d4 | 24 | start-sanitize-d10v |
b576c7b3 | 25 | Wed Jul 17 14:51:52 1996 Martin M. Hunt <[email protected]> |
50bd50d4 | 26 | |
b576c7b3 SS |
27 | * Makefile.in (ALL_MACHINES): Add cpu-d10v.o. |
28 | (BFD32_BACKENDS) Add elf32-d10v.o. | |
50bd50d4 MH |
29 | * archures.c: Add bfd_d10v_arch. |
30 | * bfd-in2.h: Add bfd_d10v_arch. | |
31 | * config.bfd (d10v-*-*): New target. | |
32 | * configure: (bfd_elf32_d10v_vec) New vector. | |
33 | * configure.in: (bfd_elf32_d10v_vec) New vector. | |
34 | * cpu-d10v.c: New file. | |
35 | * elf.c (prep_headers): Added case bfd_arch_d10v. | |
36 | * elf32-d10v.c: New file. | |
37 | * libbfd.h: Rebuild. | |
b576c7b3 SS |
38 | * reloc.c (BFD_RELOC_D10V_10_PCREL_R, BFD_RELOC_D10V_10_PCREL_L, |
39 | BFD_RELOC_D10V_18, BFD_RELOC_D10V_18_PCREL): Define. | |
50bd50d4 MH |
40 | * targets.c (bfd_elf32_d10v_vec): New vector. |
41 | end-sanitize-d10v | |
42 | ||
2ce9802e KK |
43 | Wed Jul 17 10:58:55 1996 Kim Knuttila <[email protected]> |
44 | ||
45 | * coff-ppc.c (coff_ppc_relocate_section): Removed bogus fprintf | |
46 | ||
9676e446 | 47 | Tue Jul 16 23:49:02 1996 Stu Grossman ([email protected]) |
3cc21bf6 | 48 | |
9676e446 SG |
49 | * archures.c bfd-in2.h: Add bfd_mach_i386_i386 and |
50 | bfd_mach_i386_i8086 machine types. | |
3cc21bf6 | 51 | |
f7171978 ILT |
52 | Wed Jul 10 12:42:56 1996 Ian Lance Taylor <[email protected]> |
53 | ||
54 | * ecoff.c (_bfd_ecoff_new_section_hook): Set SEC_CODE for _INIT | |
55 | and _FINI sections. | |
56 | ||
74e2ab38 ILT |
57 | Wed Jul 10 11:18:21 1996 Richard Henderson <[email protected]> |
58 | ||
59 | * coffcode.h (coff_set_section_contents): A/UX does not require | |
60 | special handling of the _LIB section. | |
61 | ||
01cfaa6b JL |
62 | Tue Jul 9 15:52:20 1996 Jeffrey A Law ([email protected]) |
63 | ||
64 | * coff-h8300.c (h8300_reloc16_extra_cases): Use the correct | |
65 | value for R_RELBYTE. | |
66 | ||
67 | * reloc16.c (bfd_coff_reloc16_relax_section): Only "shrinks" | |
68 | array if one was allocated. | |
69 | ||
eb52b9dc ILT |
70 | Tue Jul 9 12:21:54 1996 Ian Lance Taylor <[email protected]> |
71 | ||
72 | From Kazumoto Kojima <[email protected]>: | |
73 | * elf32-mips.c (struct mips_elf_link_hash_table): Add new fields | |
74 | use_rld_obj_head and rld_value. | |
75 | (mips_elf_link_hash_table_create): Initialize new fields. | |
76 | (mips_elf_add_symbol_hook): Mark __rld_obj_head symbol as | |
77 | dynamic. | |
78 | (mips_elf_create_dynamic_sections): Create .rld_map section. If | |
79 | __rld_obj_head symbol not seen, create an __rld_map symbol. | |
80 | (mips_elf_size_dynamic_sections): Make space in .rld_map section. | |
81 | Create a DT_MIPS_RLD_MAP entry rather than a DT_DEBUG entry. | |
82 | (mips_elf_finish_dynamic_symbol): Save value of __rld_map or | |
83 | __rld_obj_head symbol. | |
84 | (mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP. | |
85 | ||
56b4cbaa ILT |
86 | Mon Jul 8 16:18:03 1996 Ian Lance Taylor <[email protected]> |
87 | ||
9b292d4c ILT |
88 | * elf32-mips.c (mips_reloc_map): Remove BFD_RELOC_32_PCREL entry. |
89 | ||
dab45734 ILT |
90 | * elf32-ppc.c (ppc_elf_howto_raw): For R_PPC_ADDR16_HA, use |
91 | ppc_elf_addr16_ha_reloc. | |
92 | (ppc_elf_addr16_ha_reloc): New static function. | |
93 | ||
56b4cbaa ILT |
94 | * coff-mips.c (struct mips_hi): Define. |
95 | (mips_refhi_list): New static variable. | |
96 | (mips_refhi_addr, mips_refhi_addend): Remove. | |
97 | (mips_refhi_reloc): Maintain a list of unmatched REFHI relocs. | |
98 | (mips_reflo_reloc): Process mips_refhi_list. | |
99 | (mips_relhi_list): New static variable. | |
100 | (mips_relhi_addr, mips_relhi_addend): Remove. | |
101 | (mips_relhi_reloc): Maintain a list of unmatched RELHI relocs. | |
102 | (mips_rello_reloc): Process mips_relhi_list. | |
103 | (mips_relocate_section): Permit an arbitrary number of REFHI or | |
104 | RELHI relocs before the associated REFLO or RELLO reloc. | |
105 | ||
b777c6a7 ILT |
106 | Fri Jul 5 19:27:49 1996 Ian Lance Taylor <[email protected]> |
107 | ||
108 | * aout-target.h (MY(callback)): Set reloc_count fields. | |
109 | ||
100b65dd ILT |
110 | Thu Jul 4 12:00:37 1996 Ian Lance Taylor <[email protected]> |
111 | ||
48f3aaf3 ILT |
112 | * sunos.c (sunos_add_dynamic_symbols): Don't create dynamic |
113 | sections unless this is a SunOS link. | |
114 | ||
100b65dd ILT |
115 | * VERSION: Set to 2.7.1. |
116 | ||
117 | * Released binutils 2.7. | |
118 | ||
a31e14f4 ILT |
119 | Wed Jul 3 14:59:47 1996 Ian Lance Taylor <[email protected]> |
120 | ||
4d3daf4f ILT |
121 | * i386aout.c: Include "aout/aout64.h". |
122 | (i386aout_write_object_contents): New static function. | |
123 | (MY_write_object_contents): Define. | |
124 | ||
a31e14f4 ILT |
125 | * netbsd.h (MY(write_object_contents)): Make sure that |
126 | adjust_sizes_and_vmas is called before fiddling with the magic | |
127 | number. | |
128 | ||
d2d04f7a ILT |
129 | Tue Jul 2 23:30:39 1996 Ian Lance Taylor <[email protected]> |
130 | ||
131 | * stabs.c (_bfd_link_section_stabs): Fix casts of psinfo. | |
132 | ||
4f6ee760 ILT |
133 | Sun Jun 30 13:34:33 1996 Ian Lance Taylor <[email protected]> |
134 | ||
135 | * libbfd-in.h (itos, stoi): Don't define. | |
136 | * libbfd.h: Rebuild. | |
137 | * i386lynx.c (KEEPIT): Define as udata.i. | |
138 | (NAME(lynx,swap_std_reloc_out)): Don't use stoi. | |
139 | (NAME(lynx,swap_ext_reloc_out)): Likewise. | |
140 | * riscix.c (riscix_swap_std_reloc_out): Use udata.i rather than | |
141 | flags. Don't use stoi. | |
142 | ||
143 | * elf32-mips.c (ELF_MAGPAGESIZE): Change definition to 0x1000. | |
144 | ||
145 | * elf.c (map_sections_to_segments): Don't start a new segment for | |
146 | a writable section if it's on the same page as the previous | |
147 | segment. Reset the writable variable for a readonly section. | |
148 | ||
dfb89b82 KK |
149 | Sat Jun 29 16:18:51 1996 Kim Knuttila <[email protected]> |
150 | ||
151 | * peicode.h (coff_swap_aouthdr_in): Missing initializations of | |
152 | first_thunk_address, thunk_size, and import_table_size. | |
153 | * peicode.h: Improved some diagnostics regarding edata sections. | |
154 | ||
155 | * coff-ppc.c (coff_ppc_relocate_section): Earlier error check | |
156 | on IMGLUE relocs. | |
157 | (coff_ppc_relocate_section): Improved diagnostic for large TOCDEFN's. | |
158 | (TARGET_LITTLE_SYM): Added missing D_PAGED. | |
159 | ||
8e80606f ILT |
160 | Fri Jun 28 13:48:45 1996 Ian Lance Taylor <[email protected]> |
161 | ||
f93fb275 ILT |
162 | * xcofflink.c (xcoff_link_check_ar_symbols): An undefined symbol |
163 | with XCOFF_DEF_DYNAMIC set is really defined. | |
164 | (xcoff_link_check_dynamic_ar_symbols): Likewise. | |
165 | (xcoff_link_add_symbols): Only create special sections if using an | |
166 | XCOFF hash table. | |
167 | ||
8e80606f ILT |
168 | * reloc.c (bfd_perform_relocation): Handle xcoff-powermac like |
169 | aixcoff-rs6000. | |
170 | (bfd_install_relocation): Likewise. | |
171 | ||
eec2f824 ILT |
172 | Fri Jun 28 11:17:00 1996 Richard Henderson <[email protected]> |
173 | ||
174 | * elf64-alpha.c (struct alpha_elf_link_hash_entry): Add flags | |
175 | field. | |
176 | (ALPHA_ELF_LINK_HASH_LU_ADDR): Define. | |
177 | (ALPHA_ELF_LINK_HASH_LU_MEM): Define. | |
178 | (ALPHA_ELF_LINK_HASH_LU_FUNC): Define. | |
179 | (elf64_alpha_link_hash_newfunc): Initialize flags field. | |
180 | (elf64_alpha_check_relocs): Record types of LITUSE entries that | |
181 | are found for LITERAL relocs. | |
182 | (elf64_alpha_adjust_dynamic_symbol): If a symbol has its address | |
183 | taken, we cannot generate a .plt entry for the symbol. | |
184 | ||
5304aea9 ILT |
185 | Thu Jun 27 11:24:29 1996 Ian Lance Taylor <[email protected]> |
186 | ||
187 | * configure.in: Add AC_ISC_POSIX, and check for setitimer and | |
188 | sysconf functions (for gprof). | |
189 | * configure, config.in: Rebuild. | |
190 | ||
017047d4 ILT |
191 | Wed Jun 26 16:29:02 1996 Ian Lance Taylor <[email protected]> |
192 | ||
f292bbe9 ILT |
193 | * ecoff.c (_bfd_ecoff_archive_p): Check the first object file in |
194 | an archive if it has a map. If the object file has the wrong | |
195 | xvec, reject it. | |
196 | ||
566e2325 ILT |
197 | * coff-alpha.c (alpha_adjust_reloc_in): Set the addend for a |
198 | BRADDR, SREL16, SREL32, or SREL64 reloc against an external | |
199 | symbol. | |
200 | (alpha_relocate_section): Likewise. | |
201 | ||
017047d4 ILT |
202 | * coffswap.h (coff_swap_reloc_out): Use RELSZ, not sizeof. |
203 | (coff_swap_filehdr_out): Use FILHSZ, not sizeof. | |
204 | (coff_swap_sym_out): Use SYMESZ, not sizeof. | |
205 | (coff_swap_aux_out): Use AUXESZ, not sizeof. | |
206 | (coff_swap_lineno_out): Use LINESZ, not sizeof. | |
207 | (coff_swap_aouthdr_out): Use AOUTSZ, not sizeof. | |
208 | (coff_swap_scnhdr_out): Use SCNHSZ, not sizeof. | |
209 | * peicode.h: Corresponding changes. | |
210 | ||
cb73f5d7 MM |
211 | Tue Jun 25 15:28:34 1996 Michael Meissner <[email protected]> |
212 | ||
213 | * elflink.h (elf_create_pointer_linker_section): Comment out code | |
214 | dealing with making GOT pointers negative of the GOT symbol for | |
215 | now. | |
216 | ||
297a4f1a ILT |
217 | Tue Jun 25 11:41:24 1996 Richard Henderson <[email protected]> |
218 | ||
219 | * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't | |
220 | increment the .rela.plt size until after we're done creating the | |
221 | .plt entry. | |
222 | (elf64_alpha_finish_dynamic_symbol): Change .plt entry to load the | |
223 | .rela.plt offset directly rather than calculating it. | |
224 | ||
dbbfec07 JM |
225 | Mon Jun 24 17:15:10 1996 Jason Molenda ([email protected]) |
226 | ||
01e58ff6 JM |
227 | * Makefile.in, (bindir, libdir, datadir, mandir, infodir, includedir): |
228 | Use autoconf-set values. | |
229 | * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir, | |
230 | includedir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set | |
231 | values. | |
dbbfec07 JM |
232 | (docdir): Deleted. |
233 | * configure.in (AC_PREREQ): autoconf v2.5 or higher. | |
234 | * configure: Rebuilt. | |
235 | ||
50004d8d JL |
236 | Mon Jun 24 22:50:35 1996 Jeffrey A Law ([email protected]) |
237 | ||
238 | * som.c (som_write_fixups): Fix typo in R_END_TRY for exception | |
239 | handling code > 1k away. | |
240 | ||
241 | Mon Jun 24 18:41:06 1996 Michael Meissner <[email protected]> | |
242 | ||
243 | * elflink.h (elf_create_pointer_linker_section): If DEBUG is | |
244 | defined, output whenever the symbol is updated. | |
245 | ||
2e0567eb ILT |
246 | Mon Jun 24 17:58:12 1996 Jouke Numan <[email protected]> |
247 | ||
248 | * elf.c (elf_fake_sections): Don't set sh_addr of a non SEC_ALLOC | |
249 | section to 0 if user_set_vma is set. | |
250 | * elflink.h (elf_bfd_final_link): Likewise. | |
251 | ||
252 | Sun Jun 23 20:42:51 1996 Doug Evans <[email protected]> | |
253 | ||
254 | Partially undo patch of Jun 20. | |
255 | * coffcode.h (coff_set_alignment_hook): Use COFF_IMAGE_WITH_PE. | |
256 | (coff_compute_section_file_positions): Likewise. | |
257 | (coff_write_object_contents): Likewise. Re-add deleted code, but | |
258 | use #ifdef COFF_WITH_PE, not COFF_OBJ_WITH_PE. | |
259 | * peicode.h (pe_bfd_copy_private_bfd_data): Re-add #ifdef. | |
260 | ||
bff4a496 ILT |
261 | Fri Jun 21 17:38:15 1996 Joel Sherrill <[email protected]> |
262 | ||
263 | * config.bfd: Add support for *-*-rtems* configurations. | |
264 | ||
7ae6550f ILT |
265 | Fri Jun 21 15:19:59 1996 Ian Lance Taylor <[email protected]> |
266 | ||
267 | * elf.c (prep_headers): Add bfd_arch_alpha case. | |
268 | ||
e8f46717 ILT |
269 | Fri Jun 21 12:35:27 1996 Richard Henderson <[email protected]> |
270 | ||
271 | * elf64-alpha.c: New file. | |
272 | * config.bfd (alpha-*-linuxecoff*): New target. | |
273 | (alpha-*-linux*, alpha-*-elf*): New targets. | |
274 | * configure.in (bfd_elf64_alpha_vec): New vector. | |
275 | * configure: Rebuild. | |
276 | * targets.c (bfd_elf64_alpha_vec): Declare. | |
277 | (bfd_target_vector): Add bfd_elf64_alpha_vec if BFD64. | |
278 | * reloc.c (BFD_RELOC_ALPHA_GPDISP): Define. | |
279 | * bfd-in2.h, libbfd.h: Rebuild. | |
280 | * Makefile.in: Rebuild dependencies. | |
281 | (BFD64_BACKENDS): Add elf64-alpha.o. | |
282 | (BFD64_BACKENDS_CFILES): Add elf64-alpha.c. | |
283 | ||
bacecac8 ILT |
284 | Thu Jun 20 18:14:25 1996 Ian Lance Taylor <[email protected]> |
285 | ||
286 | * ecoff.c (ecoff_armap_hash): If hlog is 0, just return 0, rather | |
287 | than relying on a right shift of 32. | |
288 | ||
9ca108cd DE |
289 | Thu Jun 20 11:00:57 1996 Doug Evans <[email protected]> |
290 | ||
b9110a3c DE |
291 | * coffcode.h (coff_set_alignment_hook): Change COFF_IMAGE_WITH_PE |
292 | ifdef to COFF_WITH_PE. | |
293 | (coff_compute_section_file_positions): Likewise. | |
294 | (coff_write_object_contents): Likewise. Delete COFF_OBJ_WITH_PE. | |
295 | * pe-{arm,i386,ppc}.c (COFF_OBJ_WITH_PE): Delete. | |
296 | * peicode.h (pe_bfd_copy_private_bfd_data): Delete ifdef | |
297 | COFF_IMAGE_WITH_PE, always include. | |
298 | ||
9ca108cd DE |
299 | * peicode.h (coff_swap_scnhdr_out): ".drectve" doesn't have trailing 0. |
300 | ||
c2073f05 ILT |
301 | Wed Jun 19 11:37:52 1996 Ian Lance Taylor <[email protected]> |
302 | ||
7fc6a16a ILT |
303 | * elf.c (map_sections_to_segments): Fix up the test for -Ttext to |
304 | approximate the correct answer if SIZEOF_HEADERS was not used. | |
305 | ||
c2073f05 ILT |
306 | * binary.c (binary_set_section_contents): Set section file |
307 | position based on LMA rather than VMA. | |
308 | ||
4838929e ILT |
309 | Wed Jun 19 11:19:25 1996 Manfred Hollstein KS/EIC5 60/3/142 #40283 <[email protected]> |
310 | ||
311 | * linker.c (_bfd_generic_link_output_symbols): Don't output any | |
312 | symbols if info->strip == strip_all. | |
313 | ||
314 | Tue Jun 18 15:17:36 1996 Jeffrey A. Law <[email protected]> | |
315 | ||
316 | * coff-h8300.c: Remove #if 0 code. | |
317 | (compatable): Don't allow mixing/matching of different architectures. | |
318 | ||
4838929e ILT |
319 | * archures.c (bfd_mach_h8300s): Add. |
320 | * bfd-in2.h: Rebuilt. | |
321 | * coff-h8300.c (funcvec_hash_newfunc): Handle H8/S too. | |
322 | (BADMAG): Likewise. | |
323 | (h8300_reloc16_estimate): Likewise. | |
324 | (h8300_reloc16_extra_cases): Likewise. | |
325 | (h8300_bfd_link_add_symbols): Likewise. | |
326 | * coffcode.h (coff_set_arch_mach_hook): Likewise. | |
327 | (coff_set_flags): Likewise. | |
328 | * cpu-h8300.c (h8300_scan): Likewise. | |
329 | Add H8/S to bfd_h8300_arch list. | |
330 | ||
c3d8e071 ILT |
331 | Tue Jun 18 14:42:58 1996 Klaus Kaempf <[email protected]> |
332 | ||
333 | Added support for Alpha OpenVMS: | |
334 | * evax.h, evax-alpha.c, evax-egsd.c, evax-emh.c: New files. | |
335 | * evax-etir.c, evax-misc.c, hosts/alphavms.h: New files. | |
336 | * config.h-vms, makefile.vms: New files. | |
337 | * config.bfd (alpha-*-*vms*): New target. | |
338 | * configure.in (evax_alpha_vec): New target vector. | |
339 | * configure: Rebuild. | |
340 | * reloc.c (BFD_RELOC_SWREL32, BFD_RELOC_SWREL64): Define. | |
341 | (BFD_RELOC_ALPHA_LINKAGE, BFD_RELOC_ALPHA_BASEREG): Define. | |
342 | * targets.c (bfd_target_evax_flavour): Define. | |
343 | (evax_alpha_vec): Declare. | |
344 | (bfd_target_vector): Add ecoffalpha_little_vec and evax_alpha_vec | |
345 | if BFD64 is defined. | |
346 | * bfd-in2.h, libbfd.h: Rebuild. | |
347 | * Makefile.in: Rebuild dependencies. | |
348 | (BFD64_BACKENDS): Add evax-alpha.o, evax-egsd.o, evax-etir.o, | |
349 | evax-emh.o, and evax-misc.o. | |
350 | (BFD64_BACKENDS_CFILES): Add evax-alpha.c, evax-egsd.c, | |
351 | evax-etir.c, evax-emh.c, and evax-misc.c. | |
352 | (HFILES): Add evax.h. | |
353 | ||
142aa7d9 ILT |
354 | Tue Jun 18 13:54:18 1996 Ian Lance Taylor <[email protected]> |
355 | ||
356 | * coff-h8300.c (h8300_reloc16_extra_cases): Make name a const | |
357 | pointer. | |
358 | (h8300_bfd_link_add_symbols): Likewise. | |
359 | ||
b658d64d JL |
360 | Mon Jun 17 10:06:50 1996 Jeffrey A. Law <[email protected]> |
361 | ||
362 | * som.h (R_HPPA_BEGIN_TRY, R_HPPA_END_TRY): Define. | |
363 | * som.c (som_write_fixups): Handle R_BEGIN_TRY and R_END_TRY. | |
364 | ||
2df1e84b ILT |
365 | Mon Jun 17 12:49:11 1996 Ian Lance Taylor <[email protected]> |
366 | ||
367 | * elf32-mips.c (mips_elf_relocate_section): Don't create a reloc | |
368 | for R_MIPS_REL32 and R_MIPS_32 relocs if no dynamic sections were | |
369 | created. | |
370 | (mips_elf_check_relocs): Only create .rel.dyn for R_MIPS_REL32 and | |
371 | R_MIPS_32 relocs if creating a shared library. | |
372 | ||
373 | Thu Jun 13 20:14:51 1996 Doug Evans <[email protected]> | |
374 | ||
375 | * peicode.h (add_data_entry): Use pei_section_data rather than | |
376 | _cooked_size. Corresponds to May 13 change in coffcode.h. | |
377 | ||
8100e72c ILT |
378 | Thu Jun 13 10:23:40 1996 Ian Lance Taylor <[email protected]> |
379 | ||
51bc9642 ILT |
380 | * cofflink.c (_bfd_coff_final_link): Handle long section names. |
381 | * coffcode.h (coff_write_object_contents): If there are long | |
382 | section names, always set the f_symptr field, even if there are no | |
383 | symbols. | |
384 | * peicode.h (coff_swap_filehdr_in): Don't clear the f_symptr field | |
385 | if there are no symbols. | |
386 | ||
8100e72c ILT |
387 | * coffgen.c (make_a_section_from_file): Check return value of |
388 | _bfd_coff_read_string_table. | |
389 | (coff_real_object_p): Check return value of | |
390 | make_a_section_from_file. | |
391 | (_bfd_coff_read_string_table): Check that there are some symbols | |
392 | before trying to read the string table size. | |
393 | ||
0e3bd85e ILT |
394 | Wed Jun 12 11:16:37 1996 Ian Lance Taylor <[email protected]> |
395 | ||
ed675a04 ILT |
396 | * xcofflink.c (xcoff_link_add_symbols): When considering whether |
397 | to replace a symbol in a dynamic object with a symbol from another | |
398 | dynamic object, do the replacement if the existing symbol is | |
399 | global linkage code. | |
400 | ||
49144784 ILT |
401 | * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Check explicitly |
402 | for _ptrgl, and treat it as global linkage code. | |
403 | ||
0e3bd85e ILT |
404 | * aoutx.h (NAME(aout,find_nearest_line)): Notice if we find a |
405 | filename or N_SO symbol past the offset, and use it to indicate | |
406 | that there is no line number or function when appropriate. | |
407 | ||
a5c7acea ILT |
408 | Tue Jun 11 15:24:48 1996 Ian Lance Taylor <[email protected]> |
409 | ||
410 | * xcofflink.c (xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR for a | |
411 | common symbol defined by the linker. Don't export function code | |
412 | even if export_defineds is set. | |
413 | ||
414 | Mon Jun 10 11:57:27 1996 Jeffrey A Law ([email protected]) | |
415 | ||
416 | * coff-h8300.c (howto_table): Add new entries for R_BCC_INV | |
417 | and R_JMP_DEL. | |
418 | (rtype2howto): Handle R_BCC_INV and R_JMP_DEL. | |
419 | (h8300_symbol_address_p): New function. | |
420 | (h8300_reloc16_estimate): Eliminate jumps made unnecessary by | |
421 | relaxing. | |
422 | ||
890f5b7f JL |
423 | Sun Jun 9 16:30:20 1996 Jeffrey A Law ([email protected]) |
424 | ||
425 | * coff-h8300.c (h8300_reloc16_estimate): Fix many minor spacing | |
426 | problems. | |
427 | (h8300_reloc16_estimate, cases R_JMP1, R_JMP2): Adjust "dot" | |
428 | correctly for the two variants. Allow relaxing if the target | |
429 | is 128 bytes away since after relaxation it'll be 126 bytes away. | |
430 | (h8300_reloc16_estimate, case R_PCRWORD): Correctly adjust | |
431 | "dot" and "value". Allow relaxing if the target is 128 bytes | |
432 | away since after relaxation it'll be 126 bytes away. | |
433 | * reloc16.c (bfd_coff_reloc16_relax_section): Keep relaxing | |
434 | the given section until nothing changes. | |
435 | ||
0593fc16 ILT |
436 | Thu Jun 6 15:24:45 1996 Richard Henderson <[email protected]> |
437 | ||
438 | * ecoff.c (_bfd_ecoff_new_section_hook): Remove the _PDATA | |
439 | alignment hack--we can get the lnnoptr info another way without | |
440 | suddenly increasing the alignment requirements. Set the flags for | |
441 | the _PDATA section. | |
442 | (ecoff_compute_section_file_positions): Do so. | |
443 | ||
9b263b79 ILT |
444 | Thu Jun 6 11:24:37 1996 Ian Lance Taylor <[email protected]> |
445 | ||
bbf7c335 ILT |
446 | * ieee.c (ieee_write_object_contents): Put a timestamp in the file |
447 | to keep the HP emulator database happy. | |
448 | ||
9b263b79 ILT |
449 | * config.bfd: Recognize powerpc-*-linux* and powerpcle-*-linux*. |
450 | From Kevin Buettner <[email protected]>. | |
451 | ||
452 | Wed Jun 5 15:16:04 1996 Ian Lance Taylor <[email protected]> | |
453 | ||
454 | * aoutx.h (translate_to_native_sym_flags): Don't try to print the | |
455 | name of a NULL section. | |
456 | ||
26145b15 ILT |
457 | Tue Jun 4 18:53:58 1996 Ian Lance Taylor <[email protected]> |
458 | ||
459 | * linker.c (_bfd_generic_link_add_one_symbol): If notice_all is | |
460 | set, always call the notice callback. | |
461 | ||
462 | * VERSION: Increment for bfdlink.h change. | |
463 | ||
3a2080d8 ILT |
464 | Mon Jun 3 11:01:53 1996 Ian Lance Taylor <[email protected]> |
465 | ||
9d175198 ILT |
466 | * coff-sh.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set to 4. |
467 | (sh_relax_delete_bytes): Correct handling of differently sized | |
468 | trailing alignment reloc. | |
469 | ||
5a04f1bd ILT |
470 | * bfd-in.h: Use #error if BFD_HOST_64_BIT can not be defined. |
471 | * bfd-in2.h: Rebuild. | |
472 | * configure.in: Warn if there is no known 64 bit type. | |
473 | * configure: Rebuild. | |
474 | ||
60c8b04f ILT |
475 | * Makefile.in: Rebuild dependencies. |
476 | (BFD32_BACKENDS): Add ppcboot.o. | |
477 | (BFD32_BACKENDS_CFILES): Add ppcboot.c. | |
478 | ||
3a2080d8 ILT |
479 | * elf32-mips.c (mips_elf_size_dynamic_sections): Initialize c. |
480 | From Per Fogelstrom <[email protected]>. | |
481 | ||
903612a2 ILT |
482 | Sat Jun 1 21:49:58 1996 Ian Lance Taylor <[email protected]> |
483 | ||
484 | * elf64-mips.c (bfd_mips_elf64_swap_reginfo_in) | |
485 | (bfd_mips_elf64_swap_reginfo_out): Move from here... | |
486 | * elf32-mips.c (bfd_mips_elf64_swap_reginfo_in) | |
487 | (bfd_mips_elf64_swap_reginfo_out): ...to here. | |
488 | ||
38893c8c ILT |
489 | Fri May 31 13:51:28 1996 Ian Lance Taylor <[email protected]> |
490 | ||
bc05732b ILT |
491 | * elf64-mips.c: Improve reloc special_functions and handling of |
492 | SHT_MIPS_OPTIONS section. | |
493 | * elf32-mips.c (_bfd_mips_elf_hi16_reloc): Rename from | |
494 | mips_elf_hi16_reloc and make globally visible. | |
495 | (_bfd_mips_elf_lo16_reloc): Rename from mips_elf_lo16_reloc and | |
496 | make globally visible. | |
497 | (_bfd_mips_elf_got16_reloc): Rename from mips_elf_got16_reloc and | |
498 | make globally visible. | |
499 | (_bfd_mips_elf_gprel16_reloc): Rename from mips_elf_gprel16_reloc | |
500 | and make globally visible. | |
501 | (gprel16_with_gp): Check howto->src_mask before using value in | |
502 | insn. | |
503 | (_bfd_mips_elf_gprel32_reloc): Rename from mips_elf_gprel32_reloc | |
504 | and make globally visible. | |
505 | (gprel32_with_gp): Check howto->src_mask before fetching value. | |
506 | (bfd_mips_elf_swap_options_in): New function. | |
507 | (bfd_mips_elf_swap_options_out): New function. | |
508 | (_bfd_mips_elf_set_private_flags): Rename from | |
509 | mips_elf_set_private_flags and make globally visible. | |
510 | (_bfd_mips_elf_copy_private_bfd_data): Rename from | |
511 | mips_elf_copy_private_bfd_data and make globally visible. | |
512 | (_bfd_mips_elf_merge_private_bfd_data): Rename from | |
513 | mips_elf_merge_private_bfd_data and make globally visible. | |
514 | (_bfd_mips_elf_section_from_shdr): Accept .MIPS.options as a name | |
515 | for a SHT_MIPS_OPTIONS section. | |
516 | (mips_elf32_section_from_shdr): Handle SHT_MIPS_OPTIONS section. | |
517 | (_bfd_mips_elf_fake_sections): Consider .MIPS.options to be the | |
518 | name of a SHT_MIPS_OPTIONS section. | |
519 | (_bfd_mips_elf_set_section_contents): New function. | |
520 | (mips_elf32_section_processing): Set the GP value in a | |
521 | SHT_MIPS_OPTIONS section. | |
522 | (_bfd_mips_elf_find_nearest_line): Rename from | |
523 | mips_elf_find_nearest_line and make globally visible. | |
524 | (bfd_elf32_set_section_contents): Define. | |
525 | * elf-bfd.h (_bfd_mips_elf_hi16_reloc): Declare. | |
526 | (_bfd_mips_elf_lo16_reloc): Declare. | |
527 | (_bfd_mips_elf_gprel16_reloc): Declare. | |
528 | (_bfd_mips_elf_got16_reloc): Declare. | |
529 | (_bfd_mips_elf_gprel32_reloc): Declare. | |
530 | (_bfd_mips_elf_set_private_flags): Declare. | |
531 | (_bfd_mips_elf_copy_private_bfd_data): Declare. | |
532 | (_bfd_mips_elf_merge_private_bfd_data): Declare. | |
533 | (_bfd_mips_elf_find_nearest_line): Declare. | |
534 | (_bfd_mips_elf_set_section_contents): Declare. | |
535 | ||
38893c8c ILT |
536 | * elf32-hppa.c (elf32_hppa_info_to_howto): Rename from |
537 | elf_info_to_howto. | |
538 | (elf_info_to_howto): Define. | |
539 | * elf32-sparc.c (elf32_sparc_info_to_howto): Rename from | |
540 | elf_info_to_howto. | |
541 | (elf_info_to_howto): Define. | |
542 | * elf64-sparc.c (sparc64_elf_info_to_howto): Rename from | |
543 | elf_info_to_howto. | |
544 | (elf_info_to_howto): Define. | |
545 | ||
546 | * coff-w65.c (h8300_reloc16_estimate): Rename R_MOVB[12] to | |
547 | R_MOV16B[12], to match change in coff/internal.h. | |
548 | ||
cabd8fa0 ILT |
549 | Thu May 30 12:38:49 1996 Ian Lance Taylor <[email protected]> |
550 | ||
00176555 ILT |
551 | * elf64-mips.c: Extensive additions to provide better support for |
552 | writing files and for gas. | |
553 | * elf32-mips.c (_bfd_mips_elf_object_p): New function, broken out | |
554 | of mips_elf_object_p. | |
555 | (mips_elf32_object_p): Rename from mips_elf_object_p; call | |
556 | _bfd_mips_elf_object_p. | |
557 | (_bfd_mips_elf_final_write_processing): Rename from | |
558 | mips_elf_final_write_processing and make globally visible. | |
559 | (_bfd_mips_elf_fake_sections): Rename from | |
560 | mips_elf_fake_sections and make globally visible. | |
561 | (_bfd_mips_elf_section_from_bfd_section): Rename from | |
562 | mips_elf_section_from_bfd_section and make globally visible. | |
563 | (_bfd_mips_elf_section_processing): New function, broken out of | |
564 | mips_elf_section_processing. | |
565 | (mips_elf32_section_processing): Rename from | |
566 | mips_elf_section_processing; call | |
567 | _bfd_mips_elf_section_processing. | |
568 | (_bfd_mips_elf_symbol_processing): Rename from | |
569 | mips_elf_symbol_processing and make globally visible. | |
570 | (_bfd_mips_elf_read_ecoff_info): Rename from | |
571 | mips_elf_read_ecoff_info and make globally visible. | |
572 | (mips_elf32_ecoff_debug_swap): Rename from | |
573 | mips_elf_ecoff_debug_swap. | |
574 | * elf.c (_bfd_elf_symbol_from_bfd_symbol): Use asymbol rather than | |
575 | struct symbol_cache_entry. | |
576 | (_bfd_elf_validate_reloc): New function, moved in from | |
577 | elfcode.h:validate_reloc. | |
578 | * elfcode.h (validate_reloc): Remove; moved into elf.c and renamed | |
579 | to _bfd_elf_validate_reloc. Change all callers. | |
580 | * elf-bfd.h (bfd_section_from_shdr): Declare. | |
581 | (_bfd_elf_symbol_from_bfd_symbol): Declare. | |
582 | (_bfd_elf_validate_reloc): Declare. | |
583 | (_bfd_mips_elf_object_p): Declare. | |
584 | (_bfd_mips_elf_fake_sections): Declare. | |
585 | (_bfd_mips_elf_section_from_bfd_section): Declare. | |
586 | (_bfd_mips_elf_section_processing): Declare. | |
587 | (_bfd_mips_elf_symbol_processing): Declare. | |
588 | (_bfd_mips_elf_read_ecoff_info): Declare. | |
589 | (_bfd_mips_elf_final_write_processing): Declare. | |
590 | * elfxx-target.h (bfd_elfNN_get_reloc_upper_bound): Don't define | |
591 | if already defined. | |
592 | ||
cabd8fa0 ILT |
593 | * elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4. |
594 | (mips_elf_final_write_processing): Likewise. | |
595 | ||
d1bf45aa ILT |
596 | Wed May 29 16:15:29 1996 Ian Lance Taylor <[email protected]> |
597 | ||
598 | 64-bit MIPS ELF ABI objdump support: | |
599 | * elf64-mips.c: New file. | |
600 | * Makefile.in: Rebuild dependencies. | |
601 | (BFD64_BACKENDS): Add elf64-mips.o. | |
602 | (BFD64_BACKENDS_CFILES): Add elf64-mips.c. | |
603 | * config.bfd (mips*el-*-elf*) Add bfd_elf64_bigmips_vec and | |
604 | bfd_elf64_littlemips_vec to targ_selvecs. | |
605 | (mips*-*-elf*): Likewise. | |
606 | * confingure.in: Add bfd_elf64_bigmips_vec and | |
607 | bfd_elf64_littlemips_vec to vector switch. | |
608 | * configure: Rebuild. | |
609 | * elf32-mips.c (_bfd_mips_elf_section_from_shdr): New function, | |
610 | broken out of mips_elf_section_from_shdr. | |
611 | (mips_elf32_section_from_shdr): Rename from | |
612 | mips_elf_section_from_shdr. Call new function. | |
613 | (elf_backend_section_from_shdr): Update name of renamed function. | |
614 | * elf-bfd.h (struct elf_size_info): Change second parameter of | |
615 | write_out_phdrs to be const. Likewise for second parameter of | |
616 | swap_symbol_out. | |
617 | (struct bfd_elf_section_data): Add rel_hdr2 field. | |
618 | (bfd_elf32_swap_symbol_in): Change second parameter to be const. | |
619 | (bfd_elf32_swap_symbol_out): Likewise. | |
620 | (bfd_elf32_swap_reloc_in): Likewise. | |
621 | (bfd_elf32_swap_reloc_out): Likewise. | |
622 | (bfd_elf32_swap_reloca_in): Likewise. | |
623 | (bfd_elf32_swap_reloca_out): Likewise. | |
624 | (bfd_elf32_swap_phdr_in): Likewise. | |
625 | (bfd_elf32_swap_phdr_out): Likewise. | |
626 | (bfd_elf32_swap_dyn_in): Likewise. | |
627 | (bfd_elf32_swap_dyn_out): Likewise. | |
628 | (bfd_elf32_slurp_symbol_table): Declare. | |
629 | (bfd_elf32_write_shdrs_and_ehdr): Declare. | |
630 | (bfd_elf32_write_out_phdrs): Declare. | |
631 | (bfd_elf64_swap_symbol_in): Change second parameter to be const. | |
632 | (bfd_elf64_swap_symbol_out): Likewise. | |
633 | (bfd_elf64_swap_reloc_in): Likewise. | |
634 | (bfd_elf64_swap_reloc_out): Likewise. | |
635 | (bfd_elf64_swap_reloca_in): Likewise. | |
636 | (bfd_elf64_swap_reloca_out): Likewise. | |
637 | (bfd_elf64_swap_phdr_in): Likewise. | |
638 | (bfd_elf64_swap_phdr_out): Likewise. | |
639 | (bfd_elf64_swap_dyn_in): Likewise. | |
640 | (bfd_elf64_swap_dyn_out): Likewise. | |
641 | (bfd_elf64_slurp_symbol_table): Declare. | |
642 | (bfd_elf64_write_shdrs_and_ehdr): Declare. | |
643 | (bfd_elf64_write_out_phdrs): Declare. | |
644 | (_bfd_mips_elf_section_from_shdr): Declare. | |
645 | * elf.c (bfd_section_from_shdr): Remove assertion requiring | |
646 | SHT_REL/SHT_RELA to match use_rela_p. If there is already a reloc | |
647 | section for the section, add the new one to rel_hdr2. Increment | |
648 | reloc_count rather than setting it. | |
649 | * elfcode.h (elf_slurp_symbol_table): Define name as macro. | |
650 | Remove static declaration. | |
651 | (elf_write_shdrs_and_ehdr): Define name as macro. | |
652 | (elf_write_out_phdrs): Likewise. | |
653 | (elf_swap_ehdr_in, elf_swap_ehdr_out): Declare. | |
654 | (elf_swap_shdr_in, elf_swap_shdr_out): Declare. | |
655 | (elf_swap_symbol_in): Change second parameter to be const. | |
656 | (elf_swap_symbol_out): Likewise. | |
657 | (elf_swap_ehdr_in, elf_swap_ehdr_out): Likewise. | |
658 | (elf_swap_shdr_in, elf_swap_shdr_out): Likewise. | |
659 | (elf_swap_phdr_in, elf_swap_phdr_out): Likewise. | |
660 | (elf_swap_reloc_in, elf_swap_reloc_out): Likewise. | |
661 | (elf_swap_reloca_in, elf_swap_reloca_out): Likewise. | |
662 | (elf_write_out_phdrs): Rename from write_out_phdrs. Change second | |
663 | parameter to be const. Make non-static. | |
664 | (elf_write_shdrs_and_ehdr): Rename from write_shdrs_and_ehdr. | |
665 | Make non-static. | |
666 | (elf_slurp_symbol_table): Make non-static. | |
667 | (NAME(_bfd_elf,size_info)): Update names of renamed functions. | |
668 | * elfxx-target.h (elf_info_to_howto): Define if not defined. | |
669 | (elf_backend_size_info): Likewise. | |
670 | (elfNN_bed): Use elf_backend_size_info. | |
671 | * targets.c (bfd_elf64_bigmips_vec): Declare. | |
672 | (bfd_elf64_littlemips_vec): Declare. | |
673 | (bfd_target_vector): Add bfd_elf64_bigmips_vec and | |
674 | bfd_elf64_littlemips_vec if BFD64 is defined. | |
675 | ||
676 | * libbfd.c (bfd_get_file_window): Add cast to fprintf argument. | |
677 | ||
7dd3d45a ILT |
678 | Tue May 28 11:42:08 1996 Ian Lance Taylor <[email protected]> |
679 | ||
07692951 ILT |
680 | * coff-sh.c (sh_relax_delete_bytes): Insert nop instructions, not |
681 | zeroes, in alignment holes. | |
682 | ||
a4322a77 ILT |
683 | * configure: Rebuild with autoconf 2.10. |
684 | ||
7dd3d45a ILT |
685 | * aoutx.h (NAME(aout,find_nearest_line)): Make room for the |
686 | potential leading underscore in the allocated buffer. | |
687 | ||
0293d5b0 MM |
688 | Fri May 24 14:28:38 1996 Michael Meissner <[email protected]> |
689 | ||
690 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Do not put small common | |
691 | symbols into .sbss if this is a relocatable link. | |
692 | ||
a5d0cd50 ILT |
693 | Thu May 23 12:26:24 1996 Ian Lance Taylor <[email protected]> |
694 | ||
695 | * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Warn about | |
696 | undefined symbols when creating a shared library. | |
697 | ||
698 | Fri May 17 13:54:15 1996 Ian Lance Taylor <[email protected]> | |
699 | ||
700 | * coff-sh.c: Add a bunch of new code and static const arrays to | |
701 | support aligning loads and stores on four byte memory boundaries. | |
702 | Also: | |
703 | (sh_coff_howtos): Add entries for R_SH_CODE, R_SH_DATA and | |
704 | R_SH_LABEL. | |
705 | (sh_relax_section): Look for R_SH_CODE relocs. If we find one, | |
706 | call sh_align_loads. | |
707 | (sh_relax_delete_bytes): Don't mark R_SH_CODE or R_SH_DATA relocs | |
708 | as unused. | |
709 | ||
c403d358 ILT |
710 | Thu May 16 16:34:13 1996 Ian Lance Taylor <[email protected]> |
711 | ||
712 | * cache.c (bfd_open_file): Unlink the file before opening it for | |
713 | write. From Marty Leisner <[email protected]>. | |
714 | ||
715 | * opncls.c (bfd_fdopenr): Set opened_once. | |
716 | ||
2f710e17 ILT |
717 | Tue May 14 12:35:32 1996 Ian Lance Taylor <[email protected]> |
718 | ||
ff60fc3a ILT |
719 | * som.c (som_slurp_reloc_table): Clear external_relocs cache after |
720 | freeing it. | |
721 | ||
2f710e17 ILT |
722 | * libbfd.c: Remove #ifdef FILE_OFFSET_IS_CHAR_INDEX, and compile |
723 | the code unconditionally. | |
724 | ||
efb33f6b ILT |
725 | Mon May 13 19:51:37 1996 Ian Lance Taylor <[email protected]> |
726 | ||
727 | * libcoff-in.h (struct pei_section_tdata): Define structure. | |
728 | (pei_section_data): Define macro. | |
729 | * libcoff.h: Rebuild. | |
730 | * coffcode.h (coff_set_alignment_hook): If COFF_IMAGE_WITH_PE, | |
731 | store s_paddr field in pei_section_data. | |
732 | (coff_compute_section_file_positions): Use pei_section_data rather | |
733 | than _cooked_size, and don't overwrite an existing value. | |
734 | (coff_write_object_contents): If COFF_OBJ_WITH_PE, set s_paddr to | |
735 | 0. If COFF_IMAGE_WITH_PE, set s_paddr to pei_section_data. | |
736 | * peicode.h (coff_bfd_copy_private_section_data): Define if | |
737 | COFF_IMAGE_WITH_PE. | |
738 | (pe_bfd_copy_private_section_data): New static function if | |
739 | COFF_IMAGE_WITH_PE. | |
740 | ||
5ecd6d7f ILT |
741 | Wed May 8 16:10:38 1996 Ian Lance Taylor <[email protected]> |
742 | ||
db1e2aa7 ILT |
743 | * srec.c (srec_set_arch_mach): Write as a function rather than a |
744 | macro definition. | |
745 | ||
5ecd6d7f ILT |
746 | * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): If an archive has |
747 | no map, just check each member in turn to see whether it is | |
748 | required. | |
749 | ||
aefee5c8 MM |
750 | Wed May 8 09:17:34 1996 Michael Meissner <[email protected]> |
751 | ||
752 | * ppcboot.c (ppcboot_object_p): Check for type 0x41 in partition | |
753 | table. Call BFD_ASSERT to validate header size, instead of | |
754 | calling fatal. | |
755 | (ppcboot_bfd_print_private_bfd_data): Put quotes around partition | |
756 | name. | |
757 | ||
0d1fcbbb MM |
758 | Tue May 7 16:10:19 1996 Michael Meissner <[email protected]> |
759 | ||
760 | * ppcboot.c: New target for looking at PPCbug boot records. | |
761 | ||
762 | * config{ure.in,.bfd}: Add support for ppcboot target. | |
763 | * targets.c: Ditto. | |
764 | * configure: Regenerate. | |
765 | ||
f4597f8c JL |
766 | Tue May 7 11:15:19 1996 Jeffrey A Law ([email protected]) |
767 | ||
768 | * coff-h8300.c (howto_table): Update names to match recent | |
769 | changes to include/coff/internal.h. Fix minor errors in the | |
770 | existing relocs. Add R_MOVL1 and R_MOVL2. | |
771 | (rtype2howto): Similarly. | |
772 | (h8300_reloc16_estimate): Rewrite to simplify, fix bugs in the | |
773 | existing relaxing code and peform more relaxing. | |
774 | (h8300_reloc16_extra_cases): Likewise. | |
775 | ||
0dc70e1a JL |
776 | Mon May 6 18:24:09 1996 Jeffrey A Law ([email protected]) |
777 | ||
778 | * reloc16.c (bfd_coff_reloc16_get_value): Handle common | |
779 | symbols correctly. | |
780 | ||
d1b8ccb0 PS |
781 | Sat May 4 05:08:45 1996 Peter Schauer ([email protected]) |
782 | ||
783 | * elfcode.h (elf_object_p): Reject generic ELF target if | |
784 | e_machine matches an alternate machine code in a specific backend. | |
785 | ||
786 | * netbsd-core.c (netbsd_core_vec): Remove initializer for | |
787 | obsolete align_power_min field. | |
788 | ||
c9f5444e JL |
789 | Fri May 3 13:07:35 1996 Jeffrey A Law ([email protected]) |
790 | ||
791 | * coff-h8300.c (reloc_howto_type): Add howto entry for | |
792 | R_PCRWORD_B. | |
793 | (rtype2howto): Handle R_PCRWORD_B. | |
794 | (h8300_reloc16_extra_cases): Handle R_PCRWORD_B. | |
795 | (h8300_reloc_16_estimate): Likewise. Try to turn a 16bit | |
796 | pc-relative branch (R_PCRWORD) into an 8bit pc-relative | |
797 | branch (R_PCWORD_B). | |
798 | ||
4ad842aa ILT |
799 | Fri May 3 10:47:41 1996 Ian Lance Taylor <[email protected]> |
800 | ||
340d654f ILT |
801 | * aoutx.h (translate_from_native_sym_flags): Set the section for |
802 | BSF_CONSTRUCTOR symbols. | |
803 | ||
4ad842aa ILT |
804 | * cofflink.c (_bfd_coff_link_input_bfd): Correct setting of |
805 | last_bf_index. | |
806 | ||
9c7a5748 DE |
807 | Wed May 1 18:39:32 1996 Doug Evans <[email protected]> |
808 | ||
809 | * coffcode.h (coff_write_object_contents): In comdat section lookup, | |
810 | stop looking when section is found. | |
811 | ||
622c93a3 ILT |
812 | Wed May 1 14:17:57 1996 Ian Lance Taylor <[email protected]> |
813 | ||
e8f3bb64 | 814 | * coffcode.h (STRING_SIZE_SIZE): Define. |
9aac8e83 ILT |
815 | (styp_to_sec_flags): Handle long symbol names when looking for the |
816 | section symbol. | |
e8f3bb64 ILT |
817 | (bfd_coff_backend_data): Add _bfd_coff_long_section_names field. |
818 | (bfd_coff_long_section_names): Define. | |
819 | (coff_write_object_contents): Handle long section names. | |
820 | (bfd_coff_std_swap_table): Initialize new field. | |
821 | * libcoff.h: Rebuild. | |
822 | * coffgen.c (make_a_section_from_file): Handle long section | |
823 | names. | |
824 | (coff_write_symbols): Handle long section names. | |
825 | * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. | |
826 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
827 | * pe-arm.c (COFF_LONG_SECTION_NAMES): Define. | |
828 | * pei-arm.c (COFF_LONG_SECTION_NAMES): Define. | |
829 | * pe-i386.c (COFF_LONG_SECTION_NAMES): Define. | |
830 | * pei-i386.c (COFF_LONG_SECTION_NAMES): Define. | |
831 | * pe-ppc.c (COFF_LONG_SECTION_NAMES): Define. | |
832 | * pei-ppc.c (COFF_LONG_SECTION_NAMES): Define. | |
833 | ||
622c93a3 ILT |
834 | * bout.c (b_out_callback): Set lma of sections. |
835 | (b_out_bfd_get_relocated_section_contents): Rename in_abfd | |
836 | parameter to output_bfd. Used input_bfd instead of output_bfd in | |
837 | several places. | |
838 | ||
6b725f83 ILT |
839 | Tue Apr 30 17:56:39 1996 Ian Lance Taylor <[email protected]> |
840 | ||
b7d1158a ILT |
841 | * aoutx.h (translate_from_native_sym_flags): Don't create |
842 | SEC_CONSTRUCTOR sections. | |
843 | * ecoff.c (ecoff_set_symbol_info): Likewise. | |
844 | ||
6b725f83 ILT |
845 | * elf32-mips.c (mips_elf_copy_private_bfd_data): Copy elf_gp. |
846 | From Don Bowman <[email protected]>. | |
847 | ||
e28a1e77 DE |
848 | Tue Apr 30 17:06:32 1996 Doug Evans <[email protected]> |
849 | ||
850 | * coff-arm.c (armcoff_little_vec): If COFF_WITH_PE is defined, add | |
851 | SEC_LINK_ONCE and SEC_LINK_DUPLICATES to section_flags. | |
852 | ||
abec70b9 ILT |
853 | Mon Apr 29 13:15:17 1996 Ian Lance Taylor <[email protected]> |
854 | ||
855 | * elf32-mips.c (struct mips_elf_link_hash_entry): Add | |
856 | mips_32_relocs field. | |
857 | (mips_elf_link_hash_newfunc): Initialize mips_32_relocs field. | |
858 | (mips_elf_relocate_section): Copy R_MIPS_REL32 and R_MIPS_32 | |
859 | relocs against a global symbol which is not defined in a regular | |
860 | file. | |
861 | (mips_elf_check_relocs): For a R_MIPS_REL32 or R_MIPS_32 reloc | |
862 | against a global symbol, increment mips_32_relocs. | |
863 | (mips_elf_adjust_dynamic_symbol): If mips_32_relocs is set, and | |
864 | the symbol is not defined in a regular file, make room in the | |
865 | .rel.dyn section. | |
866 | ||
ecba7a3a ILT |
867 | Fri Apr 26 18:00:37 1996 Ian Lance Taylor <[email protected]> |
868 | ||
656c5b6d ILT |
869 | * ecoff.c (ecoff_compute_section_file_positions): Track the real |
870 | file position and the virtual file position separately. Set | |
871 | filepos information bsaed on the real file position. | |
872 | (_bfd_ecoff_set_section_contents): Handle .lib sections like the | |
873 | Jan 23 change to coffcode.h. | |
874 | ||
ecba7a3a ILT |
875 | * som.c (som_slurp_symbol_table): Set the symbol count to the |
876 | number of BFD symbols created. | |
877 | ||
e25a7988 MM |
878 | Fri Apr 26 12:34:29 1996 Michael Meissner <[email protected]> |
879 | ||
880 | * elf32-ppc.c (ppc_elf_check_relocs): Forward relocations to the | |
881 | output file if linking shared objects. Loop to check all relocs, | |
882 | rather than returning false on first error. | |
883 | ||
5c28a96e MM |
884 | Thu Apr 25 13:25:12 1996 Michael Meissner <[email protected]> |
885 | ||
3f7ca26b MM |
886 | * elf32-ppc.c (ppc_elf_create_linker_section): Add PLT case. |
887 | (ppc_elf_additional_program_headers): If .interp section, bump # | |
888 | of program headers by 1. | |
889 | (ppc_elf_adjust_dynamic_symbol): Flesh out support. | |
890 | (ppc_elf_size_dynamic_sections): Add support for .plt section. | |
891 | (ppc_elf_check_relocs): Print out filename in debug code. Enable | |
892 | PLT support. | |
893 | (ppc_elf_finish_dynamic_symbol): Add support for PLT's, beef up | |
894 | debug output. | |
895 | (ppc_elf_relocate_section): If the output section isn't defined, | |
896 | don't abort, just give an error message. | |
897 | ||
5c28a96e MM |
898 | * elflink.c (_bfd_elf_create_dynamic_sections): If the section |
899 | being created is .sdata or .sdata2, don't make the symbol dynamic. | |
900 | ||
f5d65485 ILT |
901 | Wed Apr 24 14:04:07 1996 Ian Lance Taylor <[email protected]> |
902 | ||
903 | * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Look through the | |
904 | members of an archive for dynamic objects with no symbols, and | |
905 | pass them directly to check_archive_element. | |
906 | (xcoff_link_check_ar_symbols): Pass dynamic objects to | |
907 | xcoff_link_check_dynamic_ar_symbols. | |
908 | (xcoff_link_check_dynamic_ar_symbols): New static function. | |
909 | ||
910 | * coff-rs6000.c (rs6000coff_vec): Change BFD_JUMP_TABLE_DYNAMIC | |
911 | from _bfd_nodynamic to _bfd_xcoff. | |
912 | * libcoff-in.h (_bfd_xcoff_get_dynamic_symtab_upper_bound): | |
913 | Declare. | |
914 | (_bfd_xcoff_canonicalize_dynamic_symtab): Declare. | |
915 | (_bfd_xcoff_get_dynamic_reloc_upper_bound): Declare. | |
916 | (_bfd_xcoff_canonicalize_dynamic_reloc): Declare. | |
917 | * libcoff.h: Rebuild. | |
918 | * xcofflink.c (xcoff_swap_ldrel_in): New static function. | |
919 | (xcoff_get_section_contents): New static function. | |
920 | (_bfd_xcoff_get_dynamic_symtab_upper_bound): New function. | |
921 | (_bfd_xcoff_canonicalize_dynamic_symtab): New function. | |
922 | (_bfd_xcoff_get_dynamic_reloc_upper_bound): New function. | |
923 | (xcoff_dynamic_reloc): New static variable. | |
924 | (_bfd_xcoff_canonicalize_dynamic_reloc): New function. | |
925 | (xcoff_link_add_dynamic_symbols): Use xcoff_get_section_contents. | |
926 | ||
927 | Tue Apr 23 12:48:42 1996 Ian Lance Taylor <[email protected]> | |
928 | ||
929 | * coff-sparc.c (bfd_coff_generic_reloc): Return bfd_reloc_ok even | |
930 | if reloc_entry->addend is not 0. | |
931 | (CALC_ADDEND): Just set the addend to reloc.r_offset. | |
932 | ||
34249b2f DE |
933 | Mon Apr 22 18:29:01 1996 Doug Evans <[email protected]> |
934 | ||
935 | * elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix spelling of | |
936 | R_SPARC_GLOB_JMP. | |
937 | * elf64-sparc.c (sparc64_elf_howto_table): Likewise. | |
938 | Add entries for R_SPARC_[56]. | |
939 | (sparc_reloc_map): Add entries for R_SPARC_[56]. | |
940 | ||
af50cd91 ILT |
941 | Mon Apr 22 15:07:24 1996 Ian Lance Taylor <[email protected]> |
942 | ||
1726b8f0 ILT |
943 | Optimize linking of stabs in sections as used in ELF and COFF. |
944 | * stabs.c: New file. | |
945 | * libbfd-in.h (_bfd_link_section_stabs): Declare. | |
946 | (_bfd_write_section_stabs): Declare. | |
947 | (_bfd_write_stab_strings): Declare. | |
948 | * libbfd.h: Rebuild. | |
949 | * libcoff-in.h (struct coff_section_tdata): Add stab_info field. | |
950 | (struct coff_link_hash_table): Add stab_info field. | |
951 | * libcoff.h: Rebuild. | |
952 | * cofflink.c (_bfd_coff_link_hash_table_init): Initialize | |
953 | stab_info field. | |
954 | (coff_link_add_symbols): Call _bfd_link_section_stabs if | |
955 | appropriate. | |
956 | (_bfd_coff_final_link): Write out stab strings hash table. | |
957 | (_bfd_coff_link_input_bfd): Handle optimized stabs sections. | |
958 | * coff-ppc.c (ppc_bfd_coff_final_link): Write out stab strings | |
959 | hash table. | |
960 | * elf-bfd.h (struct elf_link_hash_table): Add stab_info field. | |
961 | (struct bfd_elf_section_data): Add stab_info field. | |
962 | * elf.c (_bfd_elf_link_hash_table_init): Initialize stab_info | |
963 | field. | |
964 | * elflink.h (elf_link_add_object_symbols): If appropriate, call | |
965 | _bfd_link_section_stabs. | |
966 | (elf_bfd_final_link): Write out stab strings hash table. | |
967 | (elf_link_input_bfd): Handle optimized stabs sections. | |
968 | * reloc.c (_bfd_final_link_relocate): Check address against | |
969 | _raw_size rather than _cooked_size. | |
970 | * Makefile.in: Rebuild dependencies. | |
971 | (BFD_LIBS): Add stabs.o | |
972 | (BFD_LIBS_CFILES): Add stabs.c. | |
973 | ||
974 | * VERSION: Increment for bfdlink.h change. | |
975 | ||
af50cd91 ILT |
976 | * coffgen.c (coff_renumber_symbols): Correct handling of |
977 | BSF_NOT_AT_END common symbols. | |
978 | ||
f9fa5df3 ILT |
979 | Fri Apr 19 19:21:56 1996 Ian Lance Taylor <[email protected]> |
980 | ||
981 | * coff-ppc.c (record_toc): Add cast to avoid warning. | |
982 | (ppc_allocate_toc_section): Likewise. | |
983 | (coff_ppc_relocate_section): Remove ANSI C string concatenation. | |
984 | (ppc_coff_reloc_type_lookup): Remove unreached code. | |
985 | * coffcode.h (coff_write_object_contents): Don't take the address | |
986 | of an array. | |
987 | * peicode.h (pe_print_idata): Add casts to avoid warning. | |
988 | (pe_print_edata): Likewise. | |
989 | (pe_print_reloc): Remove ANSI C string concatenation. | |
990 | ||
d6e0e2f7 ILT |
991 | Thu Apr 18 18:51:18 1996 Ian Lance Taylor <[email protected]> |
992 | ||
993 | * libcoff-in.h (struct coff_final_link_info): Add last_bf_index | |
994 | and last_bf fields. | |
995 | * libcoff.h: Rebuild. | |
996 | * coffswap.h (coff_swap_aux_in): Swap endndx field for C_FCN | |
997 | symbols. | |
998 | (coff_swap_aux_out): Likewise. | |
999 | * peicode.h (coff_swap_aux_in): Likewise. | |
1000 | (coff_swap_aux_out): Likewise. | |
1001 | * coffgen.c (coff_pointerize_aux): Check endndx field for C_FCN | |
1002 | symbols. | |
1003 | * cofflink.c (_bfd_coff_final_link): Initialize last_bf_index | |
1004 | field. | |
1005 | (_bfd_coff_link_input_bfd): Check endndx field for C_FCN symbols. | |
1006 | Fix up .bf endndx link fields. | |
1007 | * coff-ppc.c (ppc_bfd_coff_final_link): Initialize last_bf_index | |
1008 | field. | |
1009 | * xcofflink.c (xcoff_link_input_bfd): Check endndx field for C_FCN | |
1010 | symbols. | |
1011 | ||
221d1e19 MM |
1012 | Wed Apr 17 12:08:24 1996 Michael Meissner <[email protected]> |
1013 | ||
1014 | * pe{,i}-ppc.c (PPC_PE): Define instead of PPC, so that compiling | |
1015 | on Solaris PowerPC systems doesn't get confused. | |
1016 | ||
1017 | * ccffcode.h (coff_write_object_contents): Use #ifdef PPC_PE, not | |
1018 | #ifdef PPC. | |
1019 | ||
1020 | * elfcore.h (bfd_prstatus, bfd_fpregset): Add thread argument. | |
1021 | (elf_corefile_note): If HAVE_SYS_PROCFS_H is not defined, don't | |
1022 | update did_reg and did_reg2. | |
1023 | ||
8f9a56c6 ILT |
1024 | Wed Apr 17 13:07:37 1996 Ian Lance Taylor <[email protected]> |
1025 | ||
f97fca78 ILT |
1026 | * xcofflink.c (xcoff_link_input_bfd): Check for TOC overflow. |
1027 | ||
8f9a56c6 ILT |
1028 | * linker.c (_bfd_generic_link_add_one_symbol): When calling the |
1029 | callback routines, pass h->root.string rather than name, in case | |
1030 | copy is true and name is transient. | |
1031 | ||
603fdf16 SG |
1032 | Tue Apr 16 16:36:38 1996 Stu Grossman ([email protected]) |
1033 | ||
1034 | * elfcore.h: Add support for core files with multiple threads. | |
1035 | (Primarily for Solaris.) | |
1036 | ||
a2d914e1 ILT |
1037 | Tue Apr 16 13:44:08 1996 Ian Lance Taylor <[email protected]> |
1038 | ||
cdf23557 ILT |
1039 | * aoutx.h (NAME(aout,squirt_out_relocs)): Don't do anything if |
1040 | section->orelocation is NULL. | |
1041 | ||
a2d914e1 ILT |
1042 | * coffgen.c (bfd_coff_get_syment): New function. |
1043 | (bfd_coff_get_auxent): New function. | |
1044 | * bfd-in.h (bfd_coff_get_syment): Declare. | |
1045 | (bfd_coff_get_auxent): Declare. | |
1046 | * bfd-in2.h: Rebuild. | |
1047 | ||
5cf36a32 ILT |
1048 | Mon Apr 15 19:06:59 1996 Ian Lance Taylor <[email protected]> |
1049 | ||
1050 | * elf32-mips.c (struct mips_hi16): Define. | |
1051 | (mips_hi16_addr, mips_hi16_addend): Remove. | |
1052 | (mips_hi16_list): New static variable. | |
1053 | (mips_elf_hi16_reloc): Maintain a list of unmatched HI16 relocs. | |
1054 | (mips_elf_lo16_reloc): Process mips_hi16_list. | |
1055 | (mips_elf_relocate_section): Permit an arbitrary number of HI16 | |
1056 | relocs before the associated LO16 reloc. | |
1057 | ||
b7fce5be ILT |
1058 | Wed Apr 10 00:23:53 1996 Ian Lance Taylor <[email protected]> |
1059 | ||
176512da ILT |
1060 | * versados.c (versados_scan): Check bfd_alloc return value. |
1061 | (versados_object_p): Check all bfd_read return values. Require | |
1062 | that lang field be less than 10, to avoid confusion with Intel Hex | |
1063 | files. | |
1064 | ||
18de3f19 ILT |
1065 | * libaout.h (WRITE_HEADERS): Write out the relocs even if there |
1066 | aren't any symbols. | |
1067 | * aoutx.h (NAME(aout,swap_std_reloc_out)): Set r_index to N_ABS, | |
1068 | not 0, for an absolute symbol. | |
1069 | (NAME(aout,swap_ext_reloc_out)): Likewise. | |
1070 | ||
66ab4152 ILT |
1071 | * ihex.c (ihex_scan): Accept a length of 4 for record type 5. |
1072 | (ihex_write_object_contents): For a large start address, output | |
1073 | the full 32 bit address in record type 5. | |
1074 | ||
b7fce5be ILT |
1075 | * ieee.c (ieee_write_byte): Change second parameter from bfd_byte |
1076 | to int to avoid promotion problems in prototype. | |
1077 | ||
f1b45745 ILT |
1078 | Tue Apr 9 11:44:21 1996 Ian Lance Taylor <[email protected]> |
1079 | ||
f400f358 ILT |
1080 | * configure.host: Use ${srcdir} when looking for picfrag. |
1081 | ||
3d9a5986 ILT |
1082 | * configure.host: Switch on ${libdir}, not $(libdir). From |
1083 | [email protected] (Alan Modra). | |
1084 | ||
f1b45745 ILT |
1085 | * aoutx.h (aout_link_add_symbols): Always call add_dynamic_symbols |
1086 | entry point, not just for DYNAMIC objects. | |
1087 | * sunos.c (sunos_add_dynamic_symbols): Always call | |
1088 | sunos_create_dynamic_sections. If called with a non DYNAMIC | |
1089 | object, don't do anything else. | |
1090 | (sunos_add_one_symbol): Don't call sunos_create_dynamic_sections. | |
1091 | ||
6f21f2e3 ILT |
1092 | Mon Apr 8 12:09:36 1996 Ian Lance Taylor <[email protected]> |
1093 | ||
639b5a09 ILT |
1094 | * configure.in: Permit --enable-shared to specify a list of |
1095 | directories. | |
1096 | * configure: Rebuild. | |
1097 | ||
6f21f2e3 ILT |
1098 | * configure.host: Set HLDFLAGS and SHLIB_CFLAGS for *-dec-osf* |
1099 | host when configuring with --enable-shard. | |
1100 | ||
3f5f565b ILT |
1101 | Fri Apr 5 12:24:13 1996 Ian Lance Taylor <[email protected]> |
1102 | ||
1ac75f5c ILT |
1103 | * config.bfd: Add i[345]86-*-freebsdelf* target; from John Polstra |
1104 | <[email protected]>. | |
1105 | ||
1a9951a9 ILT |
1106 | * linker.c (link_action): For WARN_ROW/warn, use MWARN, not CYCLE, |
1107 | to avoid crashing in bfd_hash_replace. | |
1108 | ||
f1ac3acb | 1109 | * sysdep.h: Use #ifdef, not #if. |
3f5f565b | 1110 | |
eb5f58e0 ILT |
1111 | Thu Apr 4 23:32:23 1996 Ian Lance Taylor <[email protected]> |
1112 | ||
1113 | * config.in: Rebuild. | |
1114 | ||
ab1aa5cd FF |
1115 | Thu Apr 4 18:49:09 1996 Fred Fish <[email protected]> |
1116 | ||
1117 | * configure.in (mips-sony-bsd*): Fix typo in AC_DEFINE. | |
1118 | (AC_CHECK_HEADERS): Check for sys/time.h | |
1119 | (AC_HEADER_TIME): Add macro. | |
1120 | * configure: Rebuild. | |
1121 | * sysdep.h: Use TIME_WITH_SYS_TIME and HAVE_SYS_TIME_H | |
1122 | to control what combination of <time> and <sys/time.h> | |
1123 | get included. | |
1124 | ||
d1f74cd2 DE |
1125 | Tue Apr 2 13:11:53 1996 Doug Evans <[email protected]> |
1126 | ||
1127 | * aoutf1.h (sunos_32_set_arch_mach): Handle M_SPARCLET. | |
1128 | (aout_32_sunos4_write_object_contents): Likewise. | |
1129 | * aoutx.h (NAME(aout,machine_type)): Handle | |
1130 | bfd_mach_sparc_{sparclet,sparclite}. | |
1131 | * archures.c (bfd_mach_sparc_{sparclet,sparclite}): Define. | |
1132 | (bfd_mach_sparc_v9_p): Update. | |
1133 | * cpu-sparc.c (arch_info_struct): Add entries for sparclet,sparclite. | |
1134 | * libaout.h (enum machine_type): Add M_SPARCLET. | |
1135 | * sunos.c (MACHTYPE_OK): Define. | |
1136 | * bfd-in2.h: Regenerated. | |
1137 | ||
1dad72bd ILT |
1138 | Tue Apr 2 00:33:18 1996 Ian Lance Taylor <[email protected]> |
1139 | ||
19bfbcbe ILT |
1140 | * elf-bfd.h (struct elf_link_hash_table): Add hgot field. |
1141 | * elf.c (_bfd_elf_link_hash_table_init): Initialize hgot field. | |
1142 | * elflink.c (_bfd_elf_create_got_section): Store the | |
1143 | _GLOBAL_OFFSET_TABLE_ hash table entry in the hgot field. | |
1144 | * elf32-sparc.c (elf32_sparc_check_relocs): If the size of the | |
1145 | global offset table goes over 0x1000, set the value of | |
1146 | _GLOBAL_OFFSET_TABLE_ to 0x1000 into the section. | |
1147 | (elf32_sparc_relocate_section): Subtract the offset of | |
1148 | _GLOBAL_OFFSET_TABLE_ when handling GOT relocations. | |
1149 | ||
1dad72bd ILT |
1150 | * elfcode.h: Don't include <string.h>. |
1151 | ||
ca4e2190 JL |
1152 | Mon Apr 1 10:39:24 1996 Jeffrey A Law ([email protected]) |
1153 | ||
1154 | * linker.c (_bfd_generic_link_hash_newfunc): Renamed from | |
1155 | generic_link_hash_newfunc. All references changed. | |
1156 | * genlink.h (_bfd_generic_link_hash_newfunc): Declaration | |
1157 | moved here from libbfd-in.h. | |
1158 | * libbfd-in.h: Corresponding changes. | |
1159 | * libbfd.h: Regenerated. | |
1160 | ||
ce6a7731 ILT |
1161 | Mon Apr 1 12:35:36 1996 Ian Lance Taylor <[email protected]> |
1162 | ||
aad53b0d ILT |
1163 | * aoutx.h (aout_link_input_section_std): When reporting an |
1164 | overflow error, use the name of the symbol in the hash table if | |
1165 | available. | |
1166 | (aout_link_input_section_ext): Likewise. | |
1167 | ||
ce6a7731 ILT |
1168 | * elflink.h (elf_adjust_dynamic_symbol): If a common symbol got |
1169 | defined in a regular file, set ELF_LINK_HASH_DEF_REGULAR. | |
1170 | ||
323b430f SC |
1171 | Sun Mar 31 01:58:41 1996 steve chamberlain <[email protected]> |
1172 | ||
1173 | * peicode.h (coff_swap_aouthdr_out): Delete test for .junk. | |
1174 | * coffcode.h (coff_compute_section_file_positions): Likewise. | |
1175 | (coff_write_object_contents): Likewise. | |
1176 | ||
7fc1cd16 ILT |
1177 | Fri Mar 29 12:44:36 1996 Ian Lance Taylor <[email protected]> |
1178 | ||
5a28331f ILT |
1179 | * section.c (SEC_LINK_ONCE): Define. |
1180 | (SEC_LINK_DUPLICATES): Define. | |
1181 | (SEC_LINK_DUPLICATES_DISCARD): Define. | |
1182 | (SEC_LINK_DUPLICATES_ONE_ONLY): Define. | |
1183 | (SEC_LINK_DUPLICATES_SAME_SIZE): Define. | |
1184 | (SEC_LINK_DUPLICATES_SAME_CONTENTS): Define. | |
1185 | * bfd-in2.h: Rebuild. | |
1186 | * coffcode.h (sec_to_styp_flags): If COFF_WITH_PE, turn | |
1187 | SEC_LINK_ONCE into IMAGE_SCN_LNK_COMDAT. | |
1188 | (styp_to_sec_flags): If COFF_WITH_PE, turn IMAGE_SCN_LNK_REMOVE | |
1189 | into SEC_EXCLUDE. If IMAGE_SCN_LNK_COMDAT is set, set | |
1190 | SEC_LINK_ONCE, and look through the symbol table for the setting | |
1191 | for SEC_LINK_DUPLICATES. | |
1192 | (coff_write_object_contents): If COFF_WITH_PE, if SEC_LINK_ONCE is | |
1193 | set for a section, find the section symbol in the symbol table, | |
1194 | and set the aux entry based on SEC_LINK_DUPLICATES. | |
1195 | * coffgen.c (coff_print_symbol): Add a space before "checksum". | |
1196 | * coff-arm.c (armcoff_big_vec): If COFF_WITH_PE is defined, add | |
1197 | SEC_LINK_ONCE and SEC_LINK_DUPLICATES to section_flags. | |
1198 | * coff-i386.c (i386coff_vec): Likewise. | |
1199 | * coff-ppc.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Likewise. | |
1200 | ||
7fc1cd16 ILT |
1201 | * VERSION: Bump to 2.6.1. |
1202 | * Makefile.in (stamp-h): Depend upon VERSION. | |
1203 | ||
9399a257 JL |
1204 | Thu Mar 28 23:48:49 1996 Jeffrey A Law ([email protected]) |
1205 | ||
1206 | * libbfd-in.h (generic_link_hash_newfunc): Add declaration. | |
1207 | * libbfd.h: Rebuilt. | |
1208 | * linker.c (generic_link_hash_newfunc): No longer static. | |
1209 | * coffcode.h (coff_bfd_link_hash_create): Allow specific targets | |
1210 | to override. | |
1211 | * coff-h8300.c: Add two derived hash tables and their associated | |
1212 | funtions and #defines for use by the h8300 linker. | |
1213 | (h8300_reloc16_extra_cases, case R_MEM_INDIRECT): Create entries in | |
1214 | the function vector as needed. Place the address of the function | |
1215 | vector entry in the location specified by the R_MEM_INDIRECT reloc. | |
1216 | Rewrite the vectors section contents as necessary. | |
1217 | (h8300_bfd_link_add_symbols): New function for the h8300 linker. | |
1218 | (coff_bfd_link_add_symbols): Define to use h8300 specific version. | |
1219 | (coff_bfd_link_hash_table_create): Likewise. | |
1220 | ||
506f2bb4 ILT |
1221 | Thu Mar 28 17:44:08 1996 Ian Lance Taylor <[email protected]> |
1222 | ||
1223 | * libhppa.h: If gcc 2.7 or higher, declare all the functions with | |
1224 | __attribute__ ((__unused__)) so that -Wall doesn't warn about | |
1225 | them. | |
1226 | (hppa_rebuild_insn): Pass pointer to correct type to | |
1227 | low_sign_unext and dis_assemble_21. | |
1228 | ||
05a84ae1 DE |
1229 | Thu Mar 28 11:00:36 1996 Doug Evans <[email protected]> |
1230 | ||
1231 | * config.bfd (sparc64-{sysv4*,solaris2*}): Delete. | |
1232 | Stick with sparc-*-{sysv4*,solaris2*}. | |
1233 | ||
919cf4b5 ILT |
1234 | Wed Mar 27 10:43:34 1996 Ian Lance Taylor <[email protected]> |
1235 | ||
8230f31c ILT |
1236 | * peicode.h (coff_swap_aux_in): Swap in extra PE x_scn fields. |
1237 | (coff_swap_aux_out): Swap out extra PE x_scn fields. | |
1238 | * coffswap.h (coff_swap_aux_in): Zero out extra PE x_scn fields. | |
1239 | * coffgen.c (coff_print_symbol): If any of the extra PE x_scn | |
1240 | fields is non-zero, print them. | |
1241 | ||
9addd1d4 ILT |
1242 | * coff-ppc.c (ppc_record_toc_entry): Put inside COFF_IMAGE_WITH_PE |
1243 | ifdef. Remove unused variables. | |
1244 | (ppc_record_data_in_toc_entry): Ifdef out. Removed unused | |
1245 | variables. | |
1246 | (ppc_mark_symbol_as_glue): Put inside COFF_IMAGE_WITH_PE ifdef. | |
1247 | (get_symbol_value): Ifdef out. | |
1248 | (pe_ppc_reloc): Ifdef out. Remove unused variables. | |
1249 | (coff_ppc_relocate_section): Remove unused variables. Make | |
1250 | fprintf strings and argument types correspond. Put before_addr in | |
1251 | DEBUG_RELOC ifdef. | |
ff0e4a93 ILT |
1252 | (dump_toc): Make fprintf strings and argument types correspond. |
1253 | (ppc_process_before_allocation): Remove unused variables. Always | |
1254 | return a value. | |
9addd1d4 ILT |
1255 | (ppc_reflo_reloc): Ifdef out. |
1256 | (ppc_addr32nb_reloc): Ifdef out. | |
1257 | (ppc_coff_rtype2howto): Make fprintf strings and argument types | |
1258 | correspond. | |
1259 | (coff_ppc_rtype_to_howto): Likewise. | |
1260 | (ppc_coff_swap_sym_in_hook): Remove unused variables. | |
1261 | ||
1262 | * peicode.h (pe_print_idata): Move otherwise unused variables into | |
1263 | the #ifdef where they are used. Always return a value. | |
ff0e4a93 ILT |
1264 | (pe_print_edata): Make fprintf strings and argument types |
1265 | correspond. Always return a value. | |
9addd1d4 ILT |
1266 | (pe_print_pdata): Removed unused variable addr_value. Always |
1267 | return a value. | |
1268 | (pe_print_reloc): Remove unused variable onaline. Make fprintf | |
ff0e4a93 | 1269 | strings and argument types correspond. Always return a value. |
9addd1d4 ILT |
1270 | |
1271 | * elf32-ppc.c (ppc_elf_fake_sections): Return true. | |
1272 | (ppc_elf_finish_dynamic_symbol): Move definition of unused | |
1273 | variable rela inside #if 0 section where it is used. | |
1274 | ||
c877bdf1 ILT |
1275 | * ns32k.h: New file. |
1276 | * cpu-ns32k.h: Include ns32k.h. Rename externally visible | |
1277 | functions to start with _bfd_. | |
1278 | * aout-ns32k.c: Include ns32k.h. Change references to renamed | |
1279 | functions in cpu-ns32k.h. | |
1280 | * Makefile.in: Rebuild dependencies. | |
1281 | (HFILES): Add ns32k.h. | |
1282 | ||
ff0e4a93 ILT |
1283 | * section.c (struct sec): Add linker_mark field. Change |
1284 | user_set_vma and reloc_done to be single bit fields. | |
1285 | (STD_SECTION): Update accordingly. | |
7ec49f91 ILT |
1286 | * bfd-in2.h: Rebuild. |
1287 | * aoutx.h (NAME(aout,final_link)): Mark sections included in the | |
1288 | link. | |
1289 | (aout_link_input_bfd): Don't link unmarked sections. | |
1290 | * cofflink.c (_bfd_coff_final_link): Mark sections included in the | |
1291 | link. | |
1292 | (_bfd_coff_link_input_bfd): Don't link unmarked sections. | |
1293 | * coff-ppc.c (ppc_bfd_coff_final_link): Mark sections included in | |
1294 | the link. | |
1295 | * elflink.h (elf_bfd_final_link): Mark sections included in the | |
1296 | link. | |
1297 | (elf_link_input_bfd): Don't link unmarked sections. | |
1298 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Mark sections included | |
1299 | in the link. | |
1300 | (xcoff_link_input_bfd): Don't link unmarked sections. | |
1301 | ||
919cf4b5 ILT |
1302 | * coffswap.h (coff_swap_scnhdr_out): Include section name in |
1303 | overflow error messages. | |
1304 | ||
986cf3b8 ILT |
1305 | Tue Mar 26 15:46:18 1996 Ian Lance Taylor <[email protected]> |
1306 | ||
fd681dcd ILT |
1307 | * bfd.c (_bfd_default_error_handler): If _bfd_error_program_name |
1308 | is not set, print "BFD: " before the error message. | |
1309 | ||
986cf3b8 ILT |
1310 | * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From |
1311 | Miles Bader <[email protected]>. | |
1312 | * configure: Rebuild. | |
1313 | ||
3998d526 ILT |
1314 | Fri Mar 22 12:17:00 1996 Ian Lance Taylor <[email protected]> |
1315 | ||
c3dffbd7 ILT |
1316 | * xcofflink.c (xcoff_link_input_bfd): Fix scan for C_BINCL/C_EINCL |
1317 | symbols. | |
1318 | ||
3998d526 ILT |
1319 | * config.bfd: Add ieee_vec to targ_selvecs for i960 targets and |
1320 | m68k-aout, m68k-coff, and m68k-elf targets. | |
1321 | ||
e4d27380 ILT |
1322 | Fri Mar 22 11:33:44 1996 Martin Anantharaman <[email protected]> |
1323 | ||
1324 | * ieee.c: Changed #ifdef KEEPMINUSPCININST to #if KEEPMINUSPCININST. | |
1325 | (ieee_generic_stat_arch_elt): Restructured to prevent | |
1326 | ieee_object_p from being called repeatedly. | |
1327 | ||
51776a11 SC |
1328 | Thu Mar 21 11:00:47 1996 steve chamberlain <[email protected]> |
1329 | ||
1330 | * coffcode.h (coff_write_object_contents): Allocate | |
1331 | buffers large enough for any FILEHDR or AOUTHDR. | |
1332 | ||
1333 | Thu Mar 21 16:28:17 1996 David Mosberger-Tang <[email protected]> | |
1334 | ||
1335 | * ecofflink.c (lookup_line): New static function, renamed and | |
1336 | slighly changed from old _bfd_ecoff_locate_line. | |
1337 | (_bfd_ecoff_locate_line): Cache line number information. Use | |
1338 | lookup_line for actual lookup. | |
1339 | ||
9e4ebb1b MM |
1340 | Thu Mar 21 14:59:11 1996 Michael Meissner <[email protected]> |
1341 | ||
1342 | * peicode.h (pe_print_pdata): Warn if the .pdata section is not a | |
1343 | multiple of 20 bytes. | |
1344 | ||
9e7427a4 ILT |
1345 | Thu Mar 21 13:54:40 1996 Ian Lance Taylor <[email protected]> |
1346 | ||
51776a11 SC |
1347 | * ecoff.c (_bfd_ecoff_find_nearest_line): Use bfd_zalloc to |
1348 | allocate ecoff_find_line, and don't initialize by hand. | |
1349 | * elf32-mips.c (mips_elf_find_nearest_line): Use bfd_zalloc for | |
1350 | mips_elf_find_line, and don't call memset. | |
1351 | ||
9e7427a4 ILT |
1352 | * coffcode.h (coff_compute_section_file_positions): If not |
1353 | producing a final executable, don't consider sofar when aligning | |
1354 | the section to the correct size. | |
1355 | ||
1356 | Wed Mar 20 16:53:12 1996 Ian Lance Taylor <[email protected]> | |
1357 | ||
1358 | * coffcode.h (coff_add_missing_symbols): Ifdef out. | |
1359 | (coff_write_object_contents): Don't call coff_add_missing_symbols. | |
1360 | * coffgen.c (coff_section_symbol): Ifdef out. | |
1361 | ||
e7f9ba4f ILT |
1362 | Mon Mar 18 12:54:41 1996 Ian Lance Taylor <[email protected]> |
1363 | ||
1364 | * elf32-mips.c (mips_elf_gprel32_reloc): Initialize gp if | |
1365 | output_bfd is not NULL. | |
1366 | ||
34c4d647 DE |
1367 | Thu Mar 14 17:12:06 1996 Doug Evans <[email protected]> |
1368 | ||
1369 | * coffgen.c (coff_get_normalized_symtab): Call bfd_zalloc instead | |
1370 | of bfd_alloc (fixes fix_line not being initialized). | |
1371 | Delete zeroing of fix_{value,tag,end,scnlen} fields. | |
1372 | ||
4e054247 JL |
1373 | Thu Mar 14 16:06:06 1996 Jeffrey A Law ([email protected]) |
1374 | ||
57289b5c JL |
1375 | * coffcode.h: Allow specific backends to override the |
1376 | bfd_link_add_symbols routine. | |
1377 | ||
4e054247 JL |
1378 | * coff-h8300.c: Include genlink.h. |
1379 | (howto_table): Add R_MEM_INDIRECT. | |
1380 | (rtype2howto): Support R_MEM_INDIRECT. | |
1381 | (h8300_reloc16_extra_cases): Handle R_MEM_INDIRECT like R_RELBYTE | |
1382 | for now. | |
1383 | ||
a10d3dec ILT |
1384 | Tue Mar 12 12:41:17 1996 David Mosberger-Tang <[email protected]> |
1385 | ||
1386 | * coff-alpha.c (alpha_relocate_section): Use | |
1387 | info->callbacks_warning, rather than _bfd_error_handler, for | |
1388 | "multiple gp" warning. | |
1389 | ||
ea2488ad ILT |
1390 | Tue Mar 12 12:10:55 1996 Ian Lance Taylor <[email protected]> |
1391 | ||
8881b321 ILT |
1392 | * linker.c (bfd_wrapped_link_hash_lookup): New function. |
1393 | (_bfd_generic_link_add_one_symbol): Remove BFD_ASSERT on hash | |
1394 | table string. Use bfd_wrapped_link_hash_lookup. | |
1395 | (_bfd_generic_link_write_global_symbol): Remove BFD_ASSERT on hash | |
1396 | table string. | |
1397 | * aoutx.h (aout_link_write_symbols): Use the name from the hash | |
1398 | table, if any, when writing out symbols. | |
1399 | (aout_link_input_section_std): Use the name from the hash table, | |
1400 | if any, when reporting undefined symbols. | |
1401 | (aout_link_input_section_ext): Likewise. | |
1402 | (aout_link_reloc_link_order): Use bfd_wrapped_link_hash_lookup. | |
1403 | * bout.c (get_value): Likewise. | |
1404 | * cofflink.c (_bfd_coff_reloc_link_order): Likewise. | |
1405 | * ecoff.c (ecoff_reloc_link_order): Likewise. | |
1406 | * elflink.h (elf_link_add_object_symbols): Likewise. | |
1407 | (elf_reloc_link_order): Likewise. | |
1408 | * linker.c (_bfd_generic_link_output_symbols): Likewise. | |
1409 | (_bfd_generic_reloc_link_order): Likewise. | |
1410 | (default_indirect_link_order): Likewise. | |
1411 | * reloc16.c (bfd_coff_reloc16_get_value): Likewise. | |
1412 | * sunos.c (sunos_add_one_symbol): Likewise. | |
1413 | * xcofflink.c (xcoff_link_add_symbols): Likewise. | |
1414 | (bfd_xcoff_link_count_reloc): Likewise. | |
1415 | (xcoff_reloc_link_order): Likewise. | |
1416 | ||
1417 | * ecoffswap.h (ecoff_swap_fdr_in): If ECOFF_64, turn 0xffffffff | |
1418 | into -1 for intern->rss. | |
1419 | ||
ea2488ad ILT |
1420 | * configure: Rebuild with autoconf 2.8. |
1421 | ||
c189fdfb ILT |
1422 | Mon Mar 11 12:28:31 1996 Ian Lance Taylor <[email protected]> |
1423 | ||
1424 | * stab-syms.c (__define_stab_duplicate): Define. | |
1425 | (bfd_get_stab_name): Rename from aout_stab_name. Rewrite to use a | |
1426 | switch. | |
1427 | * bfd-in.h (bfd_get_stab_name): Declare. | |
1428 | * bfd-in2.h: Rebuild. | |
1429 | * Makefile.in: Rebuild dependencies. | |
1430 | (BFD_LIBS): Add stab-syms.o. | |
1431 | (BFD_LIBS_CFILES): Add stab-syms.c. | |
1432 | (BFD32_BACKENDS): Remove stab-syms.o. | |
1433 | (BFD32_BACKENDS_CFILES): Remove stab-syms.c. | |
1434 | * configure.in: Don't list stab-syms.o in bfd_backends. | |
1435 | * configure: Rebuild. | |
1436 | * libaout.h (aout_stab_name): Don't declare. | |
1437 | * aoutx.h (NAME(aout,get_symbol_info)): Call bfd_get_stab_name, | |
1438 | not aout_stab_name. | |
1439 | ||
1440 | Fri Mar 8 11:26:20 1996 Ian Lance Taylor <[email protected]> | |
1441 | ||
1442 | * elf.c (assign_file_positions_for_segments): Adjust file offset | |
1443 | for section alignment even if SEC_LOAD is not set. | |
1444 | ||
c5bde1ef ILT |
1445 | Tue Mar 5 12:02:23 1996 Ian Lance Taylor <[email protected]> |
1446 | ||
8f218e05 ILT |
1447 | * configure.in: Don't set SHLIB or SHLINK to an empty string, |
1448 | since they appear as targets in Makefile.in. | |
1449 | * configure: Rebuild. | |
1450 | ||
c5bde1ef ILT |
1451 | * sunos.c (sunos_scan_ext_relocs): If not making a shared library, |
1452 | don't fiddle with a symbol which is not defined anywhere. | |
1453 | ||
cb84f028 ILT |
1454 | Mon Mar 4 12:49:16 1996 Ian Lance Taylor <[email protected]> |
1455 | ||
4e59f523 ILT |
1456 | * xcofflink.c (xcoff_mark): Treat undefined imported symbols as |
1457 | though they are defined in a shared library. | |
1458 | (xcoff_build_ldsyms): Likewise. | |
1459 | ||
ea2504d5 ILT |
1460 | * coffgen.c (coff_find_nearest_line): Don't look at the line |
1461 | numbers for the section if section->lineno is NULL. | |
1462 | ||
cb84f028 ILT |
1463 | * elf.c (_bfd_elf_symbol_from_bfd_symbol): Print a useful error |
1464 | message rather than calling BFD_ASSERT. | |
1465 | * elfcode.h (write_relocs): Check return value of | |
1466 | _bfd_elf_symbol_from_bfd_symbol. | |
1467 | ||
6e036cf7 MM |
1468 | Fri Mar 1 09:42:59 1996 Michael Meissner <[email protected]> |
1469 | ||
1470 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Don't set SEC_LOAD flag | |
1471 | for .sbss section. | |
1472 | ||
d08435de JL |
1473 | Wed Feb 28 11:25:47 1996 Jeffrey A Law ([email protected]) |
1474 | ||
1475 | * libhppa.h (hppa_reloc_field_selector_type): Add R_HPPA_NLSEL | |
1476 | and R_HPPA_NLRSEL. | |
1477 | (e_nsel, e_nlsel, e_nlrsel): Undefine. Add to | |
1478 | hppa_reloc_field_selector_type_alt. | |
1479 | (hppa_field_adjust): Handle e_nlsel, e_nlrsel. Fix e_nsel handling. | |
1480 | * som.c (hppa_som_gen_reloc_type): Handle N', NL' NLR' field | |
1481 | selectors. | |
1482 | (som_write_fixups): Finish handling of R_N0SEL and R_N1SEL. | |
1483 | ||
09609415 ILT |
1484 | Wed Feb 28 11:00:24 1996 Ian Lance Taylor <[email protected]> |
1485 | ||
1486 | * elf.c (assign_file_positions_for_segments): Adjust the segment | |
1487 | memory size for the alignment of a SEC_ALLOC section, not just a | |
1488 | SEC_LOAD section. | |
1489 | ||
55626bf0 ILT |
1490 | Tue Feb 27 14:17:31 1996 Andreas Schwab <[email protected]> |
1491 | ||
1492 | * m68klinux.c: New file. | |
1493 | * hosts/m68klinux.h: New file. | |
1494 | * config.bfd (m68*-*-linuxaout*, m68*-*-linux*): New targets. | |
1495 | * configure.in (m68*-*-linux*): New native host. | |
1496 | (m68klinux_vec): New vector. | |
1497 | * configure: Rebuild. | |
1498 | * targets.c (m68klinux_vec): Declare. | |
1499 | * i386linux.c (bfd_i386linux_size_dynamic_sections): Renamed from | |
1500 | bfd_linux_size_dynmic_sections to avoid clash with m68klinux.c. | |
1501 | * bfd-in.h (bfd_i386linux_size_dynamic_sections): Rename | |
1502 | declaration from bfd_linux_size_dynamic_sections. | |
1503 | (bfd_m68klinux_size_dynamic_sections): Declare. | |
1504 | * bfd-in2.h: Rebuild. | |
1505 | * Makefile.in: Rebuild dependencies. | |
1506 | (BFD32_BACKENDS): Add m68klinux.o. | |
1507 | (BFD32_BACKENDS_CFILES): Add m68klinux.c. | |
1508 | ||
6c7b3090 JL |
1509 | Tue Feb 27 11:31:34 1996 Jeffrey A Law ([email protected]) |
1510 | ||
1511 | * libhppa.h (pa_arch): Add pa20. | |
1512 | (hppa_reloc_field_selector_type): Add R_HPPA_NSEL. | |
1513 | (e_nsel): Undefine. Add to hppa_reloc_field_selector_type_alt. | |
1514 | (hppa_field_adjust): Handle e_nsel. | |
1515 | * som.c: Provide default definitions for many new relocs found only | |
1516 | in hpux10 include files. | |
1517 | (som_fixup_formats): Add several new relocs from hpux10. | |
1518 | (som_hppa_howto_table): Add hpux10 relocs. | |
1519 | (som_write_fixups): Handle R_N0SEL and R_N1SEL hpux10 relocs. | |
1520 | ||
14fd4616 SS |
1521 | Mon Feb 26 12:52:48 1996 Stan Shebs <[email protected]> |
1522 | ||
1523 | * mpw-make.sed: Edit out recent shared library support, and | |
1524 | rules to rebuild .h files using doc/chew. | |
1525 | ||
3d9f042c ILT |
1526 | Mon Feb 26 14:48:39 1996 David Mosberger-Tang <[email protected]> |
1527 | ||
1528 | * ecoff.c (ecoff_compute_section_file_positions): Adjust the file | |
1529 | size even of sections with no contents. | |
1530 | ||
bdec6228 ILT |
1531 | Mon Feb 26 14:01:13 1996 Ian Lance Taylor <[email protected]> |
1532 | ||
88358469 ILT |
1533 | * cofflink.c (_bfd_coff_link_input_bfd): When merging, skip names |
1534 | starting with '$' the way we skip names starting with '.'. When | |
1535 | updating x_endndx, don't be fooled by an index which has been | |
1536 | merged. | |
1537 | ||
bdec6228 ILT |
1538 | * cofflink.c (_bfd_coff_link_input_bfd): Don't try to optimize a |
1539 | struct/union/enum type with no elements. | |
1540 | ||
053ae1d7 ILT |
1541 | Sat Feb 24 11:38:58 1996 Ian Lance Taylor <[email protected]> |
1542 | ||
15f4406c ILT |
1543 | * bfd.c (bfd_errmsg): Handle a NULL return from strerror. |
1544 | ||
c8435133 ILT |
1545 | * archive.c (bfd_generic_archive_p): If the first file in the |
1546 | archive can not be recognized as an object, don't assume that this | |
1547 | is the wrong format. | |
1548 | ||
053ae1d7 ILT |
1549 | * elf.c (bfd_elf_set_dt_needed_name): Don't do anything if the |
1550 | format is not bfd_object. | |
1551 | (bfd_elf_get_dt_soname): Likewise. | |
1552 | ||
ea74d979 ILT |
1553 | Wed Feb 21 13:58:04 1996 Ian Lance Taylor <[email protected]> |
1554 | ||
1555 | * coff-sh.c (sh_relax_delete_bytes): Correct range of R_SH_USES | |
1556 | reloc. | |
1557 | ||
871a3f3b C |
1558 | Tue Feb 20 16:22:44 1996 J.T. Conklin <[email protected]> |
1559 | ||
1560 | * bfd.c (tdata): Add netbsd_core_data. | |
1561 | * bfd-in2.h: Regenerated. | |
1562 | ||
1563 | Tue Feb 20 16:50:02 1996 Ian Lance Taylor <[email protected]> | |
1564 | ||
fe6fc35f ILT |
1565 | * sunos.c (SUNOS_CONSTRUCTOR): Define. |
1566 | (sunos_add_one_symbol): Don't let a symbol from a dynamic object | |
1567 | override a constructor symbol. Set SUNOS_CONSTRUCTOR when | |
1568 | appropriate. | |
1569 | ||
871a3f3b C |
1570 | * bout.c (b_out_squirt_out_relocs): Use udata.i rather than flags |
1571 | to get the symbol index, matching 14 Jul 95 change. | |
1572 | ||
d3785301 FF |
1573 | Tue Feb 20 08:26:27 1996 Fred Fish <[email protected]> |
1574 | ||
1575 | * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): | |
1576 | Remove duplicate definition of gp. | |
1577 | ||
60a49e7f ILT |
1578 | Mon Feb 19 12:37:41 1996 Ian Lance Taylor <[email protected]> |
1579 | ||
81bdcecf ILT |
1580 | * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Don't |
1581 | assume that we can set the GP value and then get the same value, | |
1582 | since it won't be true if the output file is neither ELF nor | |
1583 | ECOFF. | |
1584 | * coff-mips.c (mips_adjust_reloc_in): Don't bother to use | |
1585 | _bfd_get_gp_value here. | |
1586 | (mips_gprel_reloc): Don't assume we can set and get the GP value. | |
1587 | * elf32-mips.c (mips_elf_hi16_reloc): Get gp value from | |
1588 | mips_elf_final_gp. | |
1589 | (mips_elf_lo16_reloc): Likewise. | |
1590 | (mips_elf_final_gp): Add pgp parameter. Set it to the GP value. | |
1591 | Don't require that the BFD be ELF. | |
1592 | (mips_elf_gprel16_reloc): Get gp value from mips_elf_final_gp. | |
1593 | (mips_elf_gprel32_reloc): Likewise. | |
1594 | (mips_elf_relocate_section): Don't assume we can set and get the | |
1595 | GP value. | |
1596 | (mips_elf_finish_dynamic_symbol): Don't bother to use | |
1597 | _bfd_get_gp_value here. | |
1598 | ||
1599 | * elf32-mips.c (mips_elf_create_procedure_table): Initialize sv. | |
1600 | Don't change epdr between malloc and free. Be careful not to free | |
1601 | NULL pointers. Zero out the first RPDR. | |
1602 | ||
7b61165a ILT |
1603 | * configure.host: On Linux, only pass -rpath option if $(libdir) |
1604 | is neither /lib nor /usr/lib. From Alan Modra | |
1605 | <[email protected]>. | |
1606 | ||
60a49e7f ILT |
1607 | * elf-bfd.h (struct elf_obj_tdata): Rename dt_needed_name to |
1608 | dt_name. | |
1609 | (elf_dt_name): Rename from elf_dt_needed_name. | |
1610 | * elf.c (bfd_elf_set_dt_needed_name): Use elf_dt_name, not | |
1611 | elf_dt_needed_name. | |
1612 | (bfd_elf_get_dt_soname): New function. | |
1613 | * elflink.h (elf_link_add_object_symbols): Use elf_dt_name, not | |
1614 | elf_dt_needed_name. Save the SONAME back in elf_dt_name. | |
1615 | * bfd-in.h (bfd_elf_get_dt_soname): Declare. | |
1616 | * bfd-in2.h: Rebuild. | |
1617 | ||
b268e261 DE |
1618 | Mon Feb 19 02:50:23 1996 Doug Evans <[email protected]> |
1619 | ||
1620 | * elf32-sparc.c (elf32_sparc_reloc_type_lookup): Renamed from | |
1621 | _bfd_sparc_elf_reloc_type_lookup. | |
1622 | (bfd_elf32_bfd_reloc_type_lookup): Update. | |
1623 | * elf64-sparc.c (SPARC64_OLD_RELOCS): Define. | |
1624 | (sparc64_elf_howto_table): Define. | |
1625 | (sparc_reloc_map): Define. | |
1626 | (sparc64_elf_reloc_type_lookup): New function. | |
1627 | (sparc_elf_wdisp16_reloc): New function. | |
1628 | (elf_info_to_howto): Use sparc64_elf_howto_table. | |
1629 | (sparc64_elf_relocate_section): Likewise. | |
1630 | (bfd_elf64_bfd_reloc_type_lookup): Update. | |
1631 | ||
9e2ef098 ILT |
1632 | Sun Feb 18 15:02:25 1996 Ian Lance Taylor <[email protected]> |
1633 | ||
1634 | * configure.host: Check for 'do not mix' from native linker before | |
1635 | trying to use -rpath. | |
1636 | ||
4c70373f ILT |
1637 | Fri Feb 16 12:46:18 1996 Ian Lance Taylor <[email protected]> |
1638 | ||
cba3f8a9 ILT |
1639 | * bfd.c (_bfd_get_gp_value): New function. |
1640 | (_bfd_set_gp_value): New function. | |
1641 | * libbfd-in.h (_bfd_get_gp_value): Declare. | |
1642 | (_bfd_set_gp_value): Declare. | |
1643 | * libbfd.h: Rebuild. | |
1644 | * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Use | |
1645 | _bfd_get_gp_value and _bfd_set_gp_value rather than referring | |
1646 | directly to the fields in the tdata information. | |
1647 | (alpha_relocate_section): Likewise. | |
1648 | * coff-mips.c (mips_adjust_reloc_in): Likewise. | |
1649 | (mips_gprel_reloc): Likewise. | |
1650 | (mips_relocate_section): Likewise. | |
1651 | * elf32-mips.c (mips_elf_hi16_reloc): Likewise. | |
1652 | (mips_elf_lo16_reloc): Likewise. | |
1653 | (mips_elf_final_gp): Likewise. | |
1654 | (mips_elf_gprel16_reloc): Likewise. | |
1655 | (mips_elf_gprel32_reloc): Likewise. | |
1656 | (mips_elf_relocate_section): Likewise. | |
1657 | (mips_elf_finish_dynamic_symbol): Likewise. | |
1658 | ||
4c70373f ILT |
1659 | * bout.c (b_out_set_arch_mach): Recognize bfd_mach_i960_jx. |
1660 | ||
a0a2dd54 ILT |
1661 | Thu Feb 15 11:29:13 1996 Ian Lance Taylor <[email protected]> |
1662 | ||
f54c7482 | 1663 | * configure.in: Call AC_PROG_CC before configure.host. |
65eed095 ILT |
1664 | * configure: Rebuild. |
1665 | * configure.host: Don't set information which autoconf should | |
1666 | figure out, namely CC, CFLAGS, LDFLAGS, AR, and RANLIB. | |
65eed095 | 1667 | |
14293419 ILT |
1668 | * configure.host: Remove go32 and win32 host information, since it |
1669 | should no longer be needed. | |
1670 | ||
edf3fe48 ILT |
1671 | * elf.c (map_sections_to_segments): If we have a .dynamic section, |
1672 | then start a new segment rather than put a writable section in a | |
1673 | readonly segment. | |
1674 | ||
b5e4f369 ILT |
1675 | * configure.host: Set RPATH_ENVVAR. |
1676 | ||
f2e33e27 ILT |
1677 | * Makefile.in: Rebuild dependencies. |
1678 | ||
a0a2dd54 ILT |
1679 | * elflink.c (_bfd_elf_create_linker_section): Remove unused |
1680 | zero_section variable. | |
1681 | ||
52c6bc4d ILT |
1682 | Thu Feb 15 10:39:17 1996 H.J. Lu <[email protected]> |
1683 | ||
1684 | * Makefile.in ($(srcdir)/bfd-in2.h): Rename target from bfd-in2.h. | |
1685 | ($(srcdir)/libbfd.h): Rename from libbfd.h. | |
1686 | ($(srcdir)/libcoff.h): Rename from libcoff.h. | |
1687 | ||
c9e5279f ILT |
1688 | Wed Feb 14 16:29:07 1996 Martin Anantharaman <[email protected]> |
1689 | ||
cb50baea ILT |
1690 | * ieee.c (ieee_write_expression): Only use an R variable for a |
1691 | local symbol. Don't output a zero offset. Handle a zero address. | |
1692 | (SRC_MASK, PCREL_OFFSET): Define based on KEEPMINUSPCININST. | |
1693 | (rel32_howto, rel16_howto, rel8_howto): Use SRC_MASK and | |
1694 | PCREL_OFFSET. | |
1695 | (parse_expression): Don't try to handle multiple occurrences of a | |
1696 | P variable. Handle I variables differently from X variables. Fix | |
1697 | the order of minus expressions. | |
1698 | (ieee_slurp_external_symbols): Generate an I variable for an NN | |
1699 | record. Fix handling of ATI and ATX records. | |
1700 | (ieee_slurp_sections): Only set minimal section attributes. | |
1701 | Adjust them later, based on the section contents. | |
1702 | (ieee_object_p): Read in the file until just after the ME record. | |
1703 | Call ieee_slurp_section_data to set the section flags. | |
1704 | (do_one): Add iterations parameter. Only repeat the first load | |
1705 | item. Set the section and file reloc flags. | |
1706 | (ieee_slurp_section_data): Set section flags. Pass iterations to | |
1707 | do_one. | |
1708 | (ieee_canonicalize_reloc): Handle I variables. | |
1709 | (do_with_relocs): Only emit relocation size when necessary. | |
1710 | Increase MAXRUN to 127. Change ov to be assigned, and take | |
1711 | src_mask and pcrel_offset into account. | |
1712 | (ieee_write_data_part): Skip sections that are not loaded. | |
1713 | (ieee_write_external_part): Don't output optional last entry of WX | |
1714 | records. | |
1715 | (ieee_write_me_part): Make setting of me_record neater. | |
1716 | (ieee_generic_stat_arch_elt): Get the size of an archive element. | |
1717 | ||
c9e5279f ILT |
1718 | * syms.c (stt): Add entries for zerovars, vars, and code. |
1719 | ||
1720 | * elfcode.h (validate_reloc): New static function. | |
1721 | (write_relocs): Call validate_reloc for non ELF relocs. | |
1722 | ||
1723 | * elfxx-target.h (elf_symbol_leading_char): Define if not defined. | |
1724 | (TARGET_BIG_SYM): Use elf_symbol_leading_char. | |
1725 | (TARGET_LITTLE_SYM): Likewise. | |
1726 | ||
1727 | * config.bfd (m68*-*-psos*): New target. | |
1728 | ||
d9d65be6 ILT |
1729 | Tue Feb 13 15:56:22 1996 Bryan Ford <[email protected]> |
1730 | ||
1731 | * i386msdos.c: Remove some #if 0 code. | |
1732 | (msdos_write_object_contents): Don't include empty sections in the | |
1733 | size computation, regardless of their address. | |
1734 | ||
1735 | Tue Feb 13 15:36:37 1996 Michael Meissner <[email protected]> | |
1736 | ||
1737 | * elf32-ppc.c (ppc_elf_relocate_section): Don't segfault if dynboj | |
1738 | is NULL, ie, the -r switch is used. | |
1739 | ||
db5970c7 ILT |
1740 | Tue Feb 13 14:35:15 1996 Ian Lance Taylor <[email protected]> |
1741 | ||
e9f03cd4 ILT |
1742 | * reloc.c (BFD_RELOC_MIPS_GOT_HI16): Define. |
1743 | (BFD_RELOC_MIPS_GOT_LO16): Define. | |
b7384d22 | 1744 | (BFD_RELOC_MIPS_CALL_HI16, BFD_RELOC_MIPS_CALL_LO16): Define. |
e9f03cd4 ILT |
1745 | * bfd-in2.h, libbfd.h: Rebuild. |
1746 | * elf32-mips.c (mips_reloc_map): Map new relocs. | |
1747 | ||
fe7c066a ILT |
1748 | * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared. |
1749 | ||
1ab628e4 ILT |
1750 | * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not |
1751 | $(SHLINK). | |
1752 | ||
db5970c7 ILT |
1753 | * ieee.c (get_symbol): Set the section to bfd_abs_section. |
1754 | (do_with_relocs): If EXEC_P is set and there are no relocs, use a | |
1755 | simple number for the section address, rather than an expression. | |
1756 | Limit the number of bytes between relocs to MAXRUN. | |
1757 | (ieee_write_me_part): Set me_record to the file offset after the | |
1758 | start address. | |
1759 | (ieee_write_processor): New static function. | |
1760 | (ieee_write_object_contents): Use ieee_write_processor. | |
1761 | ||
318b7c18 ILT |
1762 | Fri Feb 9 10:53:00 1996 Ian Lance Taylor <[email protected]> |
1763 | ||
db5970c7 ILT |
1764 | * configure.host: Use ${CC-gcc} when testing for -rpath on SunOS. |
1765 | ||
1766 | * coff-aux.c: Change include of aux.h to aux-coff.h. | |
318b7c18 | 1767 | |
56b64690 ILT |
1768 | Thu Feb 8 14:01:03 1996 Andreas Schwab <[email protected]> |
1769 | ||
1770 | * elf32-m68k.c (elf_m68k_relocate_section): For a R_68K_RELATIVE | |
1771 | relocation put the addend both in the reloc entry and the data. | |
1772 | (elf_m68k_finish_dynamic_symbol): Likewise. Mask out marker in | |
1773 | GOT offset value. | |
1774 | ||
1775 | * elf32-m68k.c (elf_m68k_relocate_section): If -Bsymbolic, resolve | |
1776 | a R_68K_PCxx reloc against a defined global symbol directly. | |
1777 | (elf_m68k_check_relocs): Don't count such a reloc. | |
1778 | ||
1779 | * elf32-m68k.c (elf_m68k_check_relocs): Don't record a symbol with | |
1780 | a PLTxx reloc as dynamic. Disallow PLTxxO reloc against a local | |
1781 | symbol for now, otherwise always record the symbol as dynamic. | |
1782 | (elf_m68k_adjust_dynamic_symbol): If a symbol with a PLTxx reloc | |
1783 | is not referenced by a dynamic object, and we are not making a | |
1784 | shared object, then don't make a PLT entry. If we do make a PLT | |
1785 | entry, make sure the symbol has been recorded as dynamic. | |
1786 | ||
5d649ca8 ILT |
1787 | Wed Feb 7 13:56:06 1996 Ian Lance Taylor <[email protected]> |
1788 | ||
1789 | * configure.host: When making a shared library, set HLDFLAGS to | |
1790 | pass an appropriate -rpath option. Use the make variable SONAME | |
1791 | as the shared library soname, rather than computing it here. On | |
1792 | SunOS, build stamp-tshlink in place of $(SHLINK). | |
1793 | * Makefile.in (SONAME): New variable. | |
1794 | ($(SHLINK)): Make a link to the transformed name, as well. | |
1795 | (stamp-tshlink): New target. | |
1796 | (install): Skip stamp-tshlink during install. | |
1797 | ||
8cc98cd5 MM |
1798 | Wed Feb 7 13:37:39 1996 Michael Meissner <[email protected]> |
1799 | ||
56b64690 ILT |
1800 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Do not assume that the |
1801 | linker sections have been set up yet. | |
1802 | ||
8cc98cd5 MM |
1803 | * elf.c (make_mapping): Add an additional argument to suppress |
1804 | making the first section include the program headers. | |
1805 | (map_sections_to_segments): If the user used -Ttext such that the | |
1806 | program headers are on a different page, do not set the flags | |
1807 | saying that this section includes the program headers. | |
1808 | ||
fe16107d C |
1809 | Tue Feb 6 14:04:49 1996 J.T. Conklin <[email protected]> |
1810 | ||
1811 | * configure.in (*-*-netbsd*): Set COREFILE to netbsd-core.c. | |
1812 | don't define TRAD_HEADER. | |
1813 | * configure: Rebuild. | |
1814 | ||
1815 | * netbsd-core.c: New file, support for NetBSD core files. | |
1816 | * hosts/*nbsd.h: Removed. | |
1817 | ||
f1783016 DE |
1818 | Tue Feb 6 11:47:49 1996 Doug Evans <[email protected]> |
1819 | ||
1820 | * reloc.c (BFD_RELOC_SPARC_[567]): New reloc types. | |
1821 | (BFD_RELOC_SPARC_LO7 reloc type): Deleted. | |
1822 | * libbfd.h, bfd-in2.h: Regenerated. | |
1823 | * elf32-sparc.c (_bfd_sparc_elf_reloc_type_lookup): Renamed from | |
1824 | bfd_elf32_bfd_reloc_type_lookup. | |
1825 | (reloc_type{,_names}): Deleted. | |
1826 | (_bfd_sparc_elf_howto_table): Renamed from elf_sparc_howto_table. | |
1827 | Add sparc64 relocs. | |
1828 | (sparc_reloc_map): Add sparc64 relocs. | |
1829 | (sparc_elf_notsupported_reloc): New static function. | |
1830 | (sparc_elf_wdisp16_reloc): New static function. | |
1831 | (elf32_sparc_check_relocs): Handle R_SPARC_WDISP{16,19}. | |
1832 | (elf32_sparc_relocate_section): Likewise. | |
1833 | (bfd_elf32_bfd_reloc_type_lookup): Define. | |
1834 | * elf64-sparc.c (sparc64_elf_wdisp16_reloc): Deleted. | |
1835 | (reloc_type{,_names}): Deleted. | |
1836 | (elf_sparc_howto_table): Deleted. | |
1837 | (sparc_reloc_map): Deleted. | |
1838 | (_bfd_sparc_elf_howto_table): Renamed from elf_sparc_howto_table. | |
1839 | (bfd_elf64_bfd_reloc_type_lookup): Change from function to #define. | |
1840 | ||
48fd00b6 ILT |
1841 | Tue Feb 6 12:12:22 1996 Ian Lance Taylor <[email protected]> |
1842 | ||
2300e217 ILT |
1843 | * configure.host: Make SHLIB_CFLAGS include $(PICFLAG) on a |
1844 | *-*-hpux* host. | |
1845 | ||
48fd00b6 ILT |
1846 | * Makefile.in (program_transform_name): New variable. |
1847 | (install): Transform library name before installing it. | |
1848 | ||
8adca582 ILT |
1849 | Mon Feb 5 10:38:27 1996 Ian Lance Taylor <[email protected]> |
1850 | ||
cbe75cb6 ILT |
1851 | * archures.c (bfd_mach_i960_hx): Define. |
1852 | * bfd-in2.h: Rebuild. | |
1853 | * cpu-i960.c (scan_960_mach): Accept machine "hx". | |
1854 | (MATRIX): Expand entries for HX. | |
1855 | (arch_info_struct): Add i960:hx entry. | |
1856 | * bout.c (b_out_set_arch_mach): Handle bfd_mach_i960_hx. | |
1857 | * coffcode.h (coff_set_arch_mach_hook): Handle F_I960HX. | |
1858 | (coff_set_flags): Handle bfd_mach_i960_hx. | |
1859 | ||
44f795f7 ILT |
1860 | Support for building as a shared library, based on patches from |
1861 | Alan Modra <[email protected]>: | |
1862 | * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib. | |
1863 | New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC, | |
1864 | SHLIB_CFLAGS, COMMON_SHLIB, PICLIST, SHLINK. | |
1865 | * configure: Rebuild. | |
1866 | * configure.host: If --enable-shared, adjust shared library stuff | |
1867 | based on the host. If the host is SunOS, and the linker supports | |
1868 | -rpath, set HLDFLAGS to use it. | |
1869 | * Makefile.in (ALLLIBS): New variable. | |
1870 | (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables. | |
1871 | (COMMON_SHLIB, SHLINK): New variables. | |
1872 | (.c.o): If PICFLAG is set, compile twice, once PIC, once normal. | |
1873 | (STAGESTUFF): Remove variable. | |
1874 | (all): Depend upon $(ALLLIBS) and @PICLIST@ rather than | |
1875 | $(TARGETLIB). | |
1876 | (stamp-ofiles): New target, like old ofiles target, but build | |
1877 | using a temporary file and move-if-change, and touch stamp-ofiles | |
1878 | when done. | |
1879 | (ofiles): Just depend upon stamp-ofiles. | |
1880 | (stamp-piclist, piclist): New targets. | |
1881 | ($(SHLIB), $(SHLINK)): New targets. | |
1882 | (targets.o, archures.o): Build twice if PICFLAG is set. | |
1883 | (do_mostlyclean): Remove pic/*.o. | |
1884 | (do_clean): Remove stamp-ofiles, $(SHLIB), $(SHLINK), piclist, and | |
1885 | stamp-piclist. | |
1886 | (do_distclean): Remove pic and stamp-picdir. | |
1887 | (install): Install shared libraries. | |
1888 | ($(OFILES)): Depend upon stamp-picdir. | |
1889 | (stamp-picdir): New target. | |
1890 | ||
cb62d2bc ILT |
1891 | * libcoff-in.h: Add comment reminding people that libcoff.h is a |
1892 | generated file. | |
1893 | * libcoff.h: Rebuild. | |
1894 | ||
8adca582 ILT |
1895 | * elflink.h (elf_adjust_dynamic_symbol): Don't try to get the |
1896 | flavour of a section with no owner. | |
1897 | ||
1898 | * elf32-mips.c (mips_elf_create_dynamic_sections): Clear | |
1899 | ELF_LINK_NON_ELF flag. | |
1900 | (mips_elf_create_got_section): Likewise. | |
1901 | ||
1902 | * elf.c: Revert last change, since it breaks dynamic linking. | |
1903 | * elf-bfd.h (struct elf_backend_data): Remove want_hdr_in_seg | |
1904 | field. | |
1905 | * elf32-mips.c (elf_backend_want_hdr_in_seg): Don't define. | |
1906 | * elfxx-target.h (elf_backend_want_hdr_in_seg): Don't define. | |
1907 | (elfNN_bed): Don't initialize want_hdr_in_seg field. | |
1908 | ||
1909 | Sun Feb 4 20:45:13 1996 Michael Meissner <[email protected]> | |
1910 | ||
1911 | * elf.c (assign_file_positions_for_segments): If the backend does | |
1912 | not want the elf header or the program headers in the address | |
1913 | space, do not include them in the calculations. | |
1914 | ||
1915 | * elf32-ppc.c (ppc_elf_additional_program_headers): New hook | |
1916 | function to determine if we need additional program headers. | |
1917 | (ppc_elf_modify_segment_map): Define as a NOP function for now. | |
1918 | (ppc_elf_create_linker_section): .sdata2 is a read-only section. | |
1919 | ||
0f09ddd4 ILT |
1920 | Sat Feb 3 23:00:03 1996 Ian Lance Taylor <[email protected]> |
1921 | ||
1922 | * coffcode.h: Move today's libcoff.h change into coffcode.h. | |
1923 | ||
b48f10ba FF |
1924 | Sat Feb 3 15:43:44 1996 Fred Fish <[email protected]> |
1925 | ||
0f09ddd4 ILT |
1926 | * libcoff.h (bfd_coff_link_add_one_symbol): Combine macro args |
1927 | back into one line. Some compilers (sunos 4.1.3 for example) | |
1928 | won't accept args split across more than one line. | |
b48f10ba | 1929 | |
50761d3b SC |
1930 | Fri Feb 2 11:42:15 1996 Steve Chamberlain <[email protected]> |
1931 | ||
1932 | * aclocal.m4 (BFD_BINARY_FOPEN): Understand cygwin32. | |
1933 | * configure: Regenerate. | |
1934 | ||
9dce8260 JL |
1935 | Fri Feb 2 12:12:16 1996 Jeffrey A Law ([email protected]) |
1936 | ||
1937 | * elf32-hppa.c (elf32_hppa_backend_symbol_table_processing): Don't | |
1938 | try to do arithmetic on a void *, cast it to a unsigned char * first. | |
1939 | ||
6c55897c ILT |
1940 | Thu Feb 1 16:04:06 1996 Ian Lance Taylor <[email protected]> |
1941 | ||
869b7d80 ILT |
1942 | * elf-bfd.h (ELF_LINK_NON_ELF): Define. |
1943 | * elf.c (_bfd_elf_link_hash_newfunc): Set elf_link_hash_flags to | |
1944 | ELF_LINK_NON_ELF. | |
1945 | * elflink.h (elf_link_add_object_symbols): Reset ELF_LINK_NON_ELF | |
1946 | flag for a newly defined symbol. | |
1947 | (NAME(bfd_elf,record_link_assignment)): Likewise. | |
1948 | (elf_adjust_dynamic_symbol): If ELF_LINK_NON_ELF is set, try to | |
1949 | set the DEF or REF_REGULAR flags correctly. | |
1950 | ||
6f6956c6 ILT |
1951 | * Makefile.in (bfd-in2.h): Make bfd.h, not protos, in docdir. |
1952 | (libbfd.h, libcoff.h): Corresponding change. | |
1953 | ||
6c55897c ILT |
1954 | * elf32-i386.c (elf_i386_check_relocs): Don't record a symbol with |
1955 | a PLT32 reloc as dynamic. | |
1956 | (elf_i386_adjust_dynamic_symbol): If a symbol with a PLT32 reloc | |
1957 | is not referenced by a dynamic object, and we are not making a | |
1958 | shared object, then don't make a PLT entry. If we do make a PLT | |
1959 | entry, make sure the symbol has been recorded as dynamic. | |
1960 | ||
b06136f2 SC |
1961 | Wed Jan 31 17:23:32 1996 Steve Chamberlain <[email protected]> |
1962 | ||
1963 | * coff-i386.c (coff_i386_reloc_type_lookup): Add BFD_RELOC_32_PCREL. | |
1964 | * config.bfd (i[345]86-*-win32): Becomes i[345]86-*-cygwin32. | |
1965 | (powerpcle-*-cygwin32): New. | |
1966 | * peicode.h (add_data_entry): Get address from vma. | |
1967 | ||
5c867ecd MM |
1968 | Wed Jan 31 16:23:57 1996 Michael Meissner <[email protected]> |
1969 | ||
1970 | * elflink.c (_bfd_elf_create_linker_section): If the symbol | |
1971 | attached to the section has already been created as an undefined | |
1972 | symbol, treat it as if it hasn't been created yet. | |
1973 | ||
28c16b55 ILT |
1974 | Wed Jan 31 16:16:53 1996 Ian Lance Taylor <[email protected]> |
1975 | ||
1976 | * elflink.h (elf_bfd_final_link): Don't output initial dummy | |
1977 | symbol or section symbols if stripping all symbols and this is not | |
1978 | a relocateable link. Don't output the symbol string table if | |
1979 | there are no symbols. | |
1980 | (elf_link_flush_output_syms): Don't do anything if there are no | |
1981 | symbols to flush. | |
1982 | ||
d19df9b5 ILT |
1983 | Wed Jan 31 12:55:49 1996 Richard Henderson <[email protected]> |
1984 | ||
1985 | * coff-aux.c: New file. | |
1986 | * hosts/m68kaux.h: New file. | |
1987 | * config.bfd (m68*-apple-aux*): New target. | |
1988 | * configure.in (m68*-apple-aux*): New native host. | |
1989 | (m68kaux_coff_vec): New vector. | |
1990 | * configure: Rebuild. | |
1991 | * targets.c (m68kaux_coff_vec): Declare. | |
1992 | * coffcode.h (bfd_coff_backend_data): Add field | |
1993 | _bfd_coff_link_add_one_symbol. | |
1994 | (bfd_coff_link_add_one_symbol): Define. | |
1995 | (compare_arelent_ptr): New static function if TARG_AUX. | |
1996 | (coff_write_relocs): If TARG_AUX, sort the relocs. | |
1997 | (coff_write_object_contents): Set A/UX aouthdr magic number. | |
1998 | (coff_link_add_one_symbol): Define if not defined. | |
1999 | (bfd_coff_std_swap_table): Initialize new field. | |
2000 | * libcoff.h: Rebuild. | |
2001 | * cofflink.c (coff_link_add_symbols): Call | |
2002 | bfd_coff_link_add_one_symbol rather than | |
2003 | _bfd_generic_link_add_one_symbol. | |
2004 | * coff-m68k.c (COFF_PAGE_SIZE): Don't define if already defined. | |
2005 | * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. | |
2006 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
2007 | * Makefile.in: Rebuild dependencies. | |
2008 | (BFD32_BACKENDS): Add coff-aux.o. | |
2009 | (BFD32_BACKENDS_CFILES): Add coff-aux.c. | |
2010 | ||
a796aafd ILT |
2011 | Wed Jan 31 11:37:46 1996 Andreas Schwab <[email protected]> |
2012 | ||
2013 | * elf32-m68k.c (elf_m68k_relocate_section): Fix R_68K_GOT* | |
2014 | relocation; ignore addend with R_68K_{GOT,PLT}*O relocation. | |
2015 | ||
a8763553 ILT |
2016 | Tue Jan 30 12:09:04 1996 Ian Lance Taylor <[email protected]> |
2017 | ||
66761e59 ILT |
2018 | * Makefile.in (do_maintainer_clean): Remove $(srcdir)/bfd-in2.h, |
2019 | $(srcdir)/libbfd.h and $(srcdir)/libcoff.h. | |
2020 | (maintainer-clean): Warn about deleting special files. | |
2021 | (bfd-in2.h, libbfd.h, libcoff.h): New targets. | |
2022 | ||
cf5138e3 ILT |
2023 | * elf32-hppa.c (elf32_hppa_relocate_section): Handle indirect and |
2024 | warning symbols correctly. | |
2025 | * elf32-i386.c (elf_i386_relocate_section): Likewise. | |
2026 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
2027 | * elf32-mips.c (mips_elf_relocate_section): Likewise. | |
2028 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
2029 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
2030 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
2031 | ||
a8763553 ILT |
2032 | * syms.c (_bfd_stab_section_find_nearest_line): Add casts to avoid |
2033 | warnings. | |
2034 | ||
bdd2e7f1 KK |
2035 | Mon Jan 29 14:27:24 1996 Kim Knuttila <[email protected]> |
2036 | ||
2037 | * libcoff-in.h: aligned newly exported names with bfd naming | |
2038 | conventions. Removed an erroneous define of POWERPC_LE_PE. | |
2039 | * libcoff.h: Rebuild. | |
2040 | * cofflink.c, coff-ppc.c: the above function name changes | |
2041 | ||
d2bb6c79 ILT |
2042 | Mon Jan 29 13:06:28 1996 Ian Lance Taylor <[email protected]> |
2043 | ||
eb5bc1f3 ILT |
2044 | From Basim Kadhim <[email protected]>: |
2045 | * ecoff.c (struct extsym_info): Define. | |
2046 | (_bfd_ecoff_bfd_final_link): Pass a pointer to struct extsym_info | |
2047 | to ecoff_link_write_external. | |
2048 | (ecoff_link_write_external): Accept a struct extsym_info pointer. | |
2049 | Strip symbols when appropriate. | |
2050 | ||
052b35d2 ILT |
2051 | Based on patches from Ronald F. Guilmette <[email protected]>: |
2052 | * syms.c (BSF_OBJECT): Define. | |
2053 | (bfd_print_symbol_vandf): Print 'O' for BSF_OBJECT. | |
2054 | * bfd-in2.h: Rebuild. | |
2055 | * elfcode.h (elf_slurp_symbol_table): Set BSF_OBJECT for an | |
2056 | STT_OBJECT symbol. | |
2057 | * elf.c (swap_out_syms): Only set type to STT_OBJECT if BSF_OBJECT | |
2058 | is set. | |
2059 | ||
53787b23 ILT |
2060 | * elf32-i386.c (elf_i386_relocate_section): If -Bsymbolic, when |
2061 | copying relocs into a shared object, treat a defined global symbol | |
2062 | as a local symbol. | |
2063 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
2064 | * elf32-mips.c (mips_elf_relocate_section): Likewise. | |
2065 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
2066 | ||
d2bb6c79 ILT |
2067 | * elflink.h (elf_link_add_object_symbols): Only set weakdef to a |
2068 | real defined symbol, not to a weak defined symbol. | |
2069 | ||
13d1a4dd KK |
2070 | Mon Jan 29 11:34:36 1996 Kim Knuttila <[email protected]> |
2071 | ||
2072 | * cofflink.c: removed the POWERPC_LE_PE hack, promoted some types | |
2073 | and made a few static functions externs. | |
2074 | ||
2075 | * coff-ppc.c (ppc_bfd_coff_final_link): new function, replaces the | |
2076 | POWERPC_LE_PE hack in cofflink. | |
2077 | ||
2078 | * libcoff-in.h: promoted the following from cofflink.c to allow | |
2079 | _bfd_coff_final_link to be overridden - STRING_SIZE_SIZE, | |
2080 | coff_debug_merge_element, struct coff_debug_merge_type, | |
2081 | coff_debug_merge_hash_entry, coff_debug_merge_hash_table, | |
2082 | coff_debug_merge_hash_table_init, coff_debug_merge_hash_table_free, | |
2083 | coff_debug_merge_hash_lookup, coff_link_section_info, | |
2084 | coff_final_link_info, coff_debug_merge_hash_newfunc, | |
2085 | coff_write_global_sym, coff_link_input_bfd, coff_reloc_link_order. | |
2086 | ||
2087 | * libcoff.h: re-gen'd | |
2088 | ||
86aac8ea ILT |
2089 | Fri Jan 26 18:33:35 1996 Ian Lance Taylor <[email protected]> |
2090 | ||
2091 | * syms.c: Include "bfdlink.h". | |
2092 | (struct stab_find_info): Define. | |
2093 | (_bfd_stab_section_find_nearest_line): New function. | |
2094 | * libbfd-in.h (_bfd_stab_section_find_nearest_line): Declare. | |
2095 | * libbfd.h: Rebuild. | |
2096 | * elf-bfd.h (struct elf_obj_tdata): Add line_info field. | |
2097 | * elf.c (_bfd_elf_find_nearest_line): Try calling | |
2098 | _bfd_stab_section_find_nearest_line before searching the ELF | |
2099 | symbol table. Find the closest STT_FUNC symbol, not the last one. | |
2100 | * libcoff-in.h (coff_data_type): Add line_info field. | |
bdd2e7f1 | 2101 | * libcoff.h: Rebuild. |
86aac8ea ILT |
2102 | * coffgen.c (coff_find_nearest_line): Try calling |
2103 | _bfd_stab_section_find_nearest_line before searching the COFF | |
2104 | symbol table. | |
2105 | * Makefile.in: Rebuild dependencies. | |
2106 | ||
2107 | Fri Jan 26 16:11:19 1996 Michael Meissner <[email protected]> | |
2108 | ||
2109 | * elf32-ppc.c (R_PPC_EMB_SDA21 relocations): Make relocation size | |
2110 | 4 bytes, so we get the correct value when updating the register | |
2111 | field in little endian mode. | |
2112 | ||
43d36aad ILT |
2113 | Thu Jan 25 12:14:16 1996 Ian Lance Taylor <[email protected]> |
2114 | ||
f0a97077 ILT |
2115 | * libcoff-in.h (struct xcoff_tdata): Remove toc_section and |
2116 | entry_section fields. Add sntoc and snentry fields. | |
2117 | * libcoff.h: Rebuild. | |
2118 | * coffcode.h (coff_mkobject_hook): Initialize sntoc and snentry, | |
2119 | not toc_section and entry_section (the COFF file does not have any | |
2120 | sections at this point). | |
2121 | (coff_write_object_contents): Set o_snentry and o_sntoc from | |
2122 | snentry and sntoc rather than entry_section and toc_section. | |
2123 | * coff-rs6000.c (xcoff_copy_private_bfd_data): Copy sntoc and | |
2124 | snentry, not toc_section and entry_section. | |
2125 | * xcofflink.c (bfd_xcoff_size_dynamic_sections): Don't set | |
2126 | entry_section from hentry. | |
2127 | (xcoff_link_input_bfd): If a defined symbol has XCOFF_ENTRY set, | |
ea2504d5 | 2128 | set snenty. |
f0a97077 ILT |
2129 | (xcoff_link_input_bfd): Set sntoc, not toc_section. |
2130 | (xcoff_write_global_symbol): Get toc_section from sntoc, rather | |
2131 | than using toc_section directly. | |
2132 | ||
9b4598d0 ILT |
2133 | * archures.c: Add missing `.' in enum bfd_architecture. |
2134 | * bfd-in2.h: Rebuild. | |
2135 | ||
43d36aad ILT |
2136 | * config.bfd (i[345]86-*-sco*elf*): Use bfd_elf32_i386_vec. From |
2137 | Robert Lipe <[email protected]>. | |
2138 | ||
eb82bc60 MM |
2139 | Thu Jan 25 12:08:51 1996 Michael Meissner <[email protected]> |
2140 | ||
2141 | * elf32-ppc.c (ppc_elf_size_dynamic_sections): Add .rela.sdata{,2} | |
2142 | to sections we allocate. Use bfd_zalloc to allocate initialial | |
2143 | sections, not bfd_alloc. | |
2144 | (ppc_elf_check_relocs): Remove BFD_ASSERTs for !shared from | |
2145 | SDA{,2}I16 relocations. | |
2146 | (ppc_elf_add_symbol_hook): Use the value of -G nn to determine | |
2147 | whether to put something in .sbss or not. | |
2148 | (ppc_elf_relocate_section): Add support for more relocations. Add | |
c1e65e24 MM |
2149 | in sec->output_offset where appropriate. Make error messages |
2150 | include the symbol name. | |
eb82bc60 MM |
2151 | |
2152 | * elflink.c (_bfd_elf_create_linker_section): Lookup symbol before | |
2153 | trying to add it to the symbol table, so _GLOBAL_OFFSET_TABLE_ | |
2154 | doesn't get redefined messages if -shared. | |
2155 | ||
2156 | * elflink.h (elf_create_pointer_linker_section) Only bump RELA | |
2157 | section if the rel_section field has been set up. | |
2158 | ||
9d621c7d MM |
2159 | Wed Jan 24 20:40:26 1996 Michael Meissner <[email protected]> |
2160 | ||
2161 | * elf32-ppc.c (ppc_elf_relocate_section): Fix typo in eabi | |
2162 | relocations. | |
2163 | ||
75c9ddc9 DE |
2164 | Wed Jan 24 10:38:34 1996 Doug Evans <[email protected]> |
2165 | ||
2166 | * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Delete checking | |
2167 | of flags, only flags used are controlled by mach number. Bump up | |
2168 | output file mach number to highest of input file mach numbers. | |
2169 | (elf32_sparc_object_p): Watch for EF_SPARC_SUN_US1. | |
2170 | (elf32_sparc_final_write_processing): Set EF_SPARC_SUN_US1 if v8plusa. | |
2171 | ||
72c513bc DE |
2172 | * config.bfd (sparc64-*-{sysv4*,solaris2*}): Comment out |
2173 | bfd_elf64_sparc_vec support. | |
2174 | ||
3cbe19d2 MM |
2175 | Tue Jan 23 14:33:05 1996 Michael Meissner <[email protected]> |
2176 | ||
2177 | * elf32-ppc.c (ppc_elf_copy_private_bfd_data): Don't complain if | |
2178 | the embedded bit is set on some objects and not on others. Just | |
2179 | or it together. | |
d8fd85ad MM |
2180 | (ppc_elf_relocate_section): Implement R_PPC_EMB_{SDA21,RELSDA} |
2181 | relocations. | |
3cbe19d2 | 2182 | |
5eb83ede ILT |
2183 | Tue Jan 23 14:22:45 1996 Ian Lance Taylor <[email protected]> |
2184 | ||
4a3d3b42 ILT |
2185 | * coffcode.h (coff_new_section_hook): Don't try to align the |
2186 | .stabstr section. | |
2187 | ||
5eb83ede ILT |
2188 | * coffcode.h (coff_set_section_contents): Fix the handling of the |
2189 | .lib section to work even if the entire section contents are | |
2190 | written at once. From Gvran Uddeborg <[email protected]> and | |
2191 | Robert Lipe <[email protected]>. | |
2192 | ||
05f927dd MM |
2193 | Mon Jan 22 18:45:51 1996 Michael Meissner <[email protected]> |
2194 | ||
2195 | * elflink.h (elf_finish_pointer_linker_section): Don't allocate | |
2196 | memory here for contents. | |
2197 | ||
2198 | * elf32-ppc.c (ppc_elf_relocate_section): Bump up _SDA_BASE_ and | |
2199 | _SDA2_BASE_ by 32768. | |
2200 | (ppc_elf_size_dynamic_sections): #if out PLT code which we haven't | |
2201 | started using. Allocate contents for .sdata and .sdata2 sections | |
2202 | also. | |
2203 | (ppc_elf_check_relocs): Use bfd_get_section_name in debug message, | |
2204 | rather than _name. | |
2205 | (ppc_elf_finish_dynamic_symbol): Remove code that attempted to | |
2206 | size _SDA{,2}_BASE_. | |
2207 | (ppc_elf_relocate_section): Change how sdata{,2} relocations are | |
2208 | done. | |
2209 | ||
5bc513b4 DE |
2210 | Mon Jan 22 08:52:04 1996 Doug Evans <[email protected]> |
2211 | ||
5a5bac64 DE |
2212 | * elflink.h (elf_finish_pointer_linker_section): Fix typo. |
2213 | ||
5bc513b4 | 2214 | * archures.c (bfd_mach_sparc_v9): Renamed from bfd_mach_sparc64. |
5bc513b4 | 2215 | (bfd_mach_sparc_{v8plus,v8plusa}): Define. |
5bc513b4 | 2216 | (bfd_mach_sparc_v9a): Define. |
049f3d4c | 2217 | (bfd_mach_sparc_v9_p): Define. |
5bc513b4 DE |
2218 | * bfd-in2.h: Regenerated. |
2219 | * aoutx.h (aout,machine_type): bfd_mach_sparc64 renamed to | |
2220 | bfd_mach_sparc_v9. | |
d3366d23 | 2221 | * elf64-sparc.c (sparc64_elf_object_p): Likewise. |
5bc513b4 DE |
2222 | * config.bfd (sparc64-*-sysv4*,sparc64-*-solaris2*): Set targ_defvec |
2223 | to bfd_elf32_sparc_vec. | |
2224 | * cpu-sparc.c (arch_info_struct): Renamed from sparc_arch_info. | |
5bc513b4 | 2225 | Add v8plus{,a} support. |
5bc513b4 | 2226 | Add v9a support. |
768b8ade | 2227 | (sparc_compatible): New function. |
5bc513b4 | 2228 | * elf32-sparc.h: #include "elf/sparc.h". |
75c9ddc9 | 2229 | (elf32_sparc_merge_private_bfd_data, elf32_sparc_object_p, |
5bc513b4 | 2230 | elf32_sparc_final_write_processing): New functions. |
75c9ddc9 | 2231 | (bfd_elf32_bfd_merge_private_bfd_data, elf_backend_object_p, |
5bc513b4 | 2232 | elf_backend_final_write_processing): Define. |
5bc513b4 | 2233 | |
3b3753b8 MM |
2234 | Mon Jan 22 11:21:51 1996 Michael Meissner <[email protected]> |
2235 | ||
2236 | * elf-bfd.h (struct elf_link_hash_entry): Add | |
2237 | linker_section_pointer field. | |
2238 | (enum elf_linker_section_enum): Enumeration for new way of | |
2239 | creating linker dynamic sections and symbols. | |
2240 | (elf_linker_section{,_pointers}): New structures for creating | |
2241 | dynamic sections and symbols. | |
2242 | (elf_obj_tdata): Add linker_section_pointers and linker_section | |
2243 | fields. | |
2244 | (elf_local_ptr_offsets,elf_linker_section): New accessor macros. | |
2245 | (_bfd_elf_create_linker_section): New declarations. | |
2246 | (_bfd_elf_find_pointer_linker_section): Ditto. | |
2247 | (bfd_elf{32,64}_{create,finish}_pointer_linker_section): Ditto. | |
2248 | (_bfd_elf_make_linker_section_rela): Ditto. | |
2249 | ||
2250 | * elf.c (_bfd_elf_link_hash_newfunc): Initialize new fields. | |
2251 | ||
2252 | * elf32-ppc.c (ppc_elf_create_dynamic_sections): Delete. | |
2253 | (ppc_elf_create_linker_section): New function to create the | |
2254 | sections .got, .sdata, and .sdata2. | |
2255 | (ppc_elf_size_dynamic_sections): Zap .rela.{sdata,sdata2} if | |
2256 | needed. | |
2257 | (ppc_elf_check_relocs): Support more of the eabi relocations. | |
2258 | (ppc_elf_relocate_section): Ditto. | |
2259 | (ppc_elf_finish_dynamic_symbols): Adjust _SDA{,2}_BASE_ by 32768 | |
2260 | if the .sdata{,2} + .sbss{,2} section size is > 32k. | |
2261 | ||
2262 | * elflink.h (elf_create_pointer_linker_section): New function to | |
2263 | create initialized pointers in dynamic linker sections. | |
2264 | (elf_finish_pointer_linker_section): Actually intialize the | |
2265 | pointers created above. | |
2266 | ||
2267 | * elfcode.h (bfd_elf{32,64}_create_pointer_linker_section): New | |
2268 | macros to provide both 32 and 64 bit versions of | |
2269 | elf_create_pointer_linker_section. | |
2270 | (bfd_elf{32,64}_finish_pointer_linker_section): New macros to | |
2271 | provide both 32 and 64 bit versions of | |
2272 | elf_finish_pointer_linker_section. | |
2273 | ||
2274 | * elflink.c (_bfd_elf_create_linker_section): New function to | |
2275 | create a linker section. | |
2276 | (_bfd_elf_find_pointer_linker_section): Find a unique pointer to a | |
2277 | given address in the linker pointer offsets created for a given | |
2278 | symbol. | |
2279 | (_bfd_elf_make_linker_section_rela): Make a RELA section | |
2280 | corresponding to the generated linker section. | |
2281 | ||
6b3eb07e DE |
2282 | Sat Jan 20 08:36:10 1996 Doug Evans <[email protected]> |
2283 | ||
2284 | * elf32-sparc.c (ELF_MACHINE_ALT1): Define. | |
2285 | ||
e7894f6b KK |
2286 | Thu Jan 18 18:25:34 1996 Kim Knuttila <[email protected]> |
2287 | ||
2288 | * coff-ppc.c (coff_ppc_relocate_section): changed TOCDEFN relocs. | |
2289 | (coff_ppc_relocate_section): Handle special values for gcc built dlls. | |
2290 | (dump_toc): fix diagnosing code to identify out-of-toc-bounds entries. | |
2291 | Also begin the toc at 4 as an eye catcher ('31313131' marks the first | |
2292 | toc entry in an objdump) for now. | |
2293 | (ppc_do_last, ppc_get_last): New function - needed to save processing | |
2294 | the toc owner to the end. | |
2295 | (ppc_coff_swap_sym_in_hook): Removed an incorrect hack for doing the | |
2296 | toc owner last. | |
2297 | ||
2298 | * cofflink.c (_bfd_coff_final_link): Added a new hack to keep the | |
2299 | toc owner from being done till last. Must define POWERPC_LE_PC | |
2300 | to enable it. | |
2301 | ||
2302 | * coffcode.h (coff_set_alignment_hook): alignment setting for .stab | |
2303 | ||
2304 | * peicode.h (coff_swap_scnhdr_out): set section flags for stab/str | |
2305 | to INFO. | |
2306 | (coff_swap_aouthdr_out): Removed a non-working hack for computing the | |
2307 | SizeOfImage for PowerPC. Ignore the size of the .junk section. | |
2308 | ||
80b99ca0 ILT |
2309 | Thu Jan 18 17:42:12 1996 Ian Lance Taylor <[email protected]> |
2310 | ||
2311 | * elfcore.h: Include <signal.h> before <sys/procfs.h>. | |
2312 | ||
df96df4c ILT |
2313 | Wed Jan 17 12:40:14 1996 Ian Lance Taylor <[email protected]> |
2314 | ||
2315 | * cpu-powerpc.c (arch_info_struct): Change last entry to not point | |
2316 | back to first. | |
2317 | (bfd_powerpc_arch): Point at first entry in arch_info_struct. | |
2318 | ||
d49ddb85 ILT |
2319 | Tue Jan 16 15:10:49 1996 Ian Lance Taylor <[email protected]> |
2320 | ||
2321 | * elf.c (assign_file_positions_for_segments): Don't increment file | |
2322 | offset for a segment which contains no loadable sections. | |
2323 | ||
4500a112 MM |
2324 | Mon Jan 15 17:46:27 1996 Michael Meissner <[email protected]> |
2325 | ||
2326 | * reloc.c: Add new PowerPC relocations. | |
2327 | * {bfd-in2,libbfd}.h: Regenerate. | |
2328 | ||
2329 | * elf32-ppc.c (ppc_elf_howto_raw): Add more PPC relocations. | |
2330 | (ppc_elf_reloc_type_lookup): Lookup new relocations. | |
2331 | ||
252239f8 ILT |
2332 | Mon Jan 15 14:29:44 1996 Ian Lance Taylor <[email protected]> |
2333 | ||
20ab764e ILT |
2334 | * aoutx.h (howto_table_ext): Fix RELOC_BASE10 and RELOC_BASE22 |
2335 | entries. | |
2336 | ||
0a4ffa2d ILT |
2337 | * sunos.c (sunos_scan_ext_relocs): Don't fail assert if |
2338 | info->shared. | |
2339 | ||
45ca3195 ILT |
2340 | * coffgen.c (coff_find_nearest_line): Don't try to cache |
2341 | information in sections that are not owned by a BFD. From Richard | |
2342 | Henderson <[email protected]>. | |
2343 | ||
252239f8 ILT |
2344 | * elf32-mips.c: Numerous changes to dynamic linking code, mostly |
2345 | from Kazumoto Kojima <[email protected]>. | |
2346 | * elflink.h (elf_link_output_extsym): Remove special check for | |
2347 | _rld_new_interface. | |
2348 | ||
2349 | * ecoffswap.h: Add prototypes for static functions. | |
2350 | ||
bd2d10c0 MM |
2351 | Sun Jan 14 21:36:08 1996 Michael Meissner <[email protected]> |
2352 | ||
2353 | * elf32-ppc.c (ppc_elf_{unsupported,std}_reloc): Remove functions. | |
2354 | (ppc_elf_howto_raw): Remove ppc_elf_{unsupported,std}_reloc | |
2355 | references. | |
2356 | (ppc_elf_relocate_section): No longer allow .sdata/.sbss sections | |
2357 | to satisfy a TOC16 relocation. Rewrite unsupported relocation | |
2358 | support. Begin support for R_PPC_SDA{2,}REL. | |
2359 | ||
1c3a295b MM |
2360 | Sat Jan 13 09:36:52 1996 Michael Meissner <[email protected]> |
2361 | ||
2362 | * elf32-ppc.c (ppc_elf_create_dynamic_sections): New function to | |
2363 | create the .got and .got.neg sections. | |
2364 | (ppc_elf_size_dynamic_sections): Call it. | |
2365 | (ppc_elf_check_relocs): Call it. | |
2366 | (ppc_elf_size_dynamic_sections): Support .got.neg, just like .got. | |
2367 | (ppc_elf_check_relocs): Add error messages for relocations we | |
2368 | don't yet support. Do not include R_PPC_SDAREL16 like a GOT | |
2369 | relocation. | |
2370 | ||
57081126 MM |
2371 | Fri Jan 12 15:27:59 1996 Michael Meissner <[email protected]> |
2372 | ||
2373 | * elf32-ppc.c (ppc_elf_fake_sections): Define, and handle the new | |
2374 | section flags for V.4 and eabi. | |
2375 | ||
3c38b3df ILT |
2376 | Fri Jan 12 13:59:16 1996 Ian Lance Taylor <[email protected]> |
2377 | ||
14899eb7 ILT |
2378 | * elf.c (assign_file_positions_for_segments): If a segment |
2379 | contains no sections, don't mark it as readable. | |
2380 | ||
98bb57ad ILT |
2381 | * elf-bfd.h (_bfd_elf_section_from_bfd_section): Declare. |
2382 | * elfcode.h (_bfd_elf_section_from_bfd_section): Don't declare. | |
2383 | ||
02fcd126 ILT |
2384 | * elf.c (_bfd_elf_print_private_bfd_data): Dump contents of |
2385 | dynamic section, if there is one. | |
2386 | * elf-bfd.h (struct elf_size_info): Add swap_dyn_in field. | |
2387 | (bfd_elf32_swap_dyn_in): Change type of second parameter to PTR. | |
2388 | (bfd_elf64_swap_dyn_in): Likewise. | |
2389 | * elfcode.h (elf_swap_dyn_in): Change type of second parameter to | |
2390 | PTR. | |
2391 | (NAME(_bfd_elf,size_info)): Initialize swap_dyn_in field. | |
2392 | ||
3c38b3df ILT |
2393 | * elf32-i386.c (elf_i386_size_dynamic_sections): Don't create a |
2394 | DT_TEXTREL entry because of .rel.plt. From Martin Pirker | |
2395 | <[email protected]>. | |
2396 | ||
83f4323e MM |
2397 | Thu Jan 11 17:06:14 1996 Michael Meissner <[email protected]> |
2398 | ||
2399 | * section.c (SEC_{EXCLUDE,SORT_ENTRIES}): New section flags for | |
2400 | PowerPC V.4 and eabi. | |
2401 | * bfd-in2.h: Regenerate. | |
2402 | * libfd.h: Regenerate. | |
2403 | ||
2404 | * elfxx-target.h (TARGET_{BIG,LITTLE}_SYM): Add new flags. | |
2405 | ||
2406 | * elf32-ppc.c (ppc_elf_section_from_shdr): Support SHT_ORDERED | |
2407 | section type and SHF_EXCLUDE section flag, turning them into the | |
2408 | appropriate bfd section flag. | |
2409 | ||
a0271667 ILT |
2410 | Thu Jan 11 11:23:30 1996 Ian Lance Taylor <[email protected]> |
2411 | ||
c9746fb6 ILT |
2412 | * xcofflink.c (xcoff_link_add_symbols): Create the special |
2413 | sections if we see a DYNAMIC object, in case that is the only | |
2414 | XCOFF input object we see. | |
2415 | ||
5b3b9ff6 ILT |
2416 | * elf32-mips.c: Extensive changes for a start at dynamic linking |
2417 | support, from Kazumoto Kojima <[email protected]>. | |
2418 | ||
2419 | * elf-bfd.h (struct elf_backend_data): Add type_change_ok field. | |
2420 | (struct elf_backend_data): Remove | |
2421 | elf_backend_create_program_headers field. Add | |
2422 | elf_backend_additional_program_headers and | |
2423 | elf_backend_modify_segment_map fields. | |
2424 | * elfxx-target.h (elf_backend_type_change_ok): Define if not | |
2425 | defined. | |
2426 | (elf_backend_additional_program_headers): Likewise. | |
2427 | (elf_backend_modify_segment_map): Likewise. | |
2428 | (elf_backend_create_program_headers): Don't define. | |
2429 | (elfNN_bed): Change to account for field changes. | |
2430 | * elf.c (assign_file_positions_for_segments): Call new | |
2431 | modify_segment_map backend function. Don't call old | |
2432 | create_program_headers backend function. | |
2433 | (get_program_header_size): Call additional_program_headers rather | |
2434 | than create_program_headers. | |
2435 | * elflink.h (elf_link_add_object_symbols): Initialize | |
2436 | type_change_ok from new backend field. | |
2437 | (elf_link_output_extsym): Don't warn if _rld_new_interface is | |
2438 | defined. | |
2439 | (elf_reloc_link_order): Treat a reloc against a defined symbol as | |
2440 | a reloc against the appropriate section. | |
2441 | ||
761f377f ILT |
2442 | * elf-bfd.h (struct bfd_elf_section_data): Add tdata field. |
2443 | (struct elf_obj_tdata): Rename ppc_flags_init field to flags_init. | |
2444 | (elf_flags_init): Rename from elf_ppc_flags_init. | |
2445 | * elf32-ppc.c (ppc_elf_set_private_flags): Use elf_flags_init, not | |
2446 | elf_ppc_flags_init. | |
2447 | (ppc_elf_copy_private_bfd_data): Likewise. | |
2448 | (ppc_elf_merge_private_bfd_data): Likewise. | |
2449 | ||
a0271667 ILT |
2450 | * elf32-m68k.c (howto_table): Change src_mask to 0 for all |
2451 | relocation entries. | |
2452 | ||
64d5f5d0 ILT |
2453 | Tue Jan 9 15:22:53 1996 David Mosberger-Tang <[email protected]> |
2454 | ||
2455 | * coff-alpha.c (alpha_relocate_section): During final link, allow | |
2456 | output .lita section to be bigger than 64k by adjusting gp value | |
2457 | on a per-input section basis. | |
2458 | * libecoff.h (struct ecoff_tdata): Add issued_multiple_gp_warning | |
2459 | field. | |
2460 | (struct ecoff_section_tdata): Add gp field. | |
2461 | ||
c40d9c77 ILT |
2462 | Tue Jan 9 12:00:36 1996 Ian Lance Taylor <[email protected]> |
2463 | ||
64d5f5d0 ILT |
2464 | Handle Alpha ECOFF changes in OSF/1 3.2. |
2465 | * libecoff.h (struct ecoff_backend_data): Add get_elt_at_filepos | |
2466 | field. | |
2467 | * coff-alpha.c: Include "aout/ar.h". | |
2468 | (alpha_ecoff_get_relocated_section_contents): Don't require an | |
2469 | ALPHA_R_IGNORE reloc after an ALPHA_R_GPDISP reloc, since OSF/1 | |
2470 | 3.2 doesn't generate one. | |
2471 | (alpha_relocate_section): Likewise. | |
2472 | (alpha_ecoff_slurp_armap): Define. | |
2473 | (alpha_ecoff_slurp_extended_name_table): Define. | |
2474 | (alpha_ecoff_construct_extended_name_table): Define. | |
2475 | (alpha_ecoff_truncate_arname): Define. | |
2476 | (alpha_ecoff_write_armap): Define. | |
2477 | (alpha_ecoff_generic_stat_arch_elt): Define. | |
2478 | (alpha_ecoff_update_armap_timestamp): Define. | |
2479 | (ARFZMAG): Define. | |
2480 | (alpha_ecoff_read_ar_hdr): New static function. | |
2481 | (alpha_ecoff_get_elt_at_filepos): New static function. | |
2482 | (alpha_ecoff_openr_next_archived_file): New static function. | |
2483 | (alpha_ecoff_get_elt_at_index): New static function. | |
2484 | (alpha_ecoff_backend_data): Initialize get_elt_at_filepos field. | |
2485 | (ecoffalpha_little_vec): Change BFD_JUMP_TABLE_ARCHIVE from | |
2486 | _bfd_ecoff to alpha_ecoff. | |
2487 | * ecoff.c (ecoff_link_add_archive_symbols): Use get_elt_at_filepos | |
2488 | field from backend structure, rather than always calling | |
2489 | _bfd_get_elt_at_filepos. | |
2490 | * coff-mips.c (mips_ecoff_backend_data): Initialize | |
2491 | get_elt_at_filepos field. | |
2492 | * archive.c (_bfd_generic_read_ar_hdr_mag): New function, copied | |
2493 | from _bfd_generic_read_ar_hdr with minor changes. | |
2494 | (_bfd_generic_read_ar_hdr): Use _bfd_generic_read_ar_hdr_mag. | |
2495 | * libbfd-in.h (_bfd_generic_read_ar_hdr_mag): Declare. | |
2496 | * libbfd.h: Rebuild. | |
2497 | ||
2498 | * bfd-in.h (BFD_IN_MEMORY): Define. | |
2499 | * libbfd-in.h (struct bfd_in_memory): Define. | |
2500 | * libbfd.c (bfd_read): Handle BFD_IN_MEMORY flag. | |
2501 | (bfd_get_file_window): Don't try to map a BFD_IN_MEMORY file. | |
2502 | (bfd_write, bfd_stat): Abort if BFD_IN_MEMORY is set. | |
2503 | (bfd_tell, bfd_flush, bfd_seek): Handle BFD_IN_MEMORY flag. | |
2504 | * bfd.c (struct _bfd): Change iostream field from char * to PTR. | |
2505 | (bfd_get_size): Handle BFD_IN_MEMORY flag. | |
2506 | * cache.c (bfd_cache_close): Ignore BFD_IN_MEMORY files. | |
2507 | (bfd_open_file): Cast to PTR, not char *, when setting iostream. | |
2508 | (bfd_cache_lookup_worker): Abort if BFD_IN_MEMORY is set. | |
2509 | * opncls.c (bfd_fdopenr): Cast to PTR, not char *, when setting | |
2510 | iostream. | |
2511 | (bfd_openstreamr): Likewise. | |
2512 | * aoutx.h (NAME(aout,some_aout_object_p)): Only fstat iostream if | |
2513 | BFD_IN_MEMORY is not set. | |
2514 | * riscix.c (riscix_some_aout_object_p): Likewise. | |
2515 | * bfd-in2.h, libbfd.h: Rebuild. | |
2516 | ||
2517 | * targets.c (bfd_target): Add _bfd_get_elt_at_index field. | |
2518 | (BFD_JUMP_TABLE_ARCHIVE): Add _get_elt_at_index. | |
2519 | (bfd_get_elt_at_index): Define. | |
2520 | * archive.c (_bfd_generic_get_elt_at_index): Rename from | |
2521 | bfd_get_elt_at_index. Change index parameter from int to | |
2522 | symindex. | |
2523 | * libbfd-in.h (_bfd_generic_get_elt_at_index): Declare. | |
2524 | (_bfd_noarchive_get_elt_at_index): Define. | |
2525 | (_bfd_archive_bsd_get_elt_at_index): Define. | |
2526 | (_bfd_archive_coff_get_elt_at_index): Define. | |
2527 | * bfd-in2.h, libbfd.h: Rebuild. | |
2528 | * aout-target.h (MY_get_elt_at_index): Define if not defined. | |
2529 | * coff-rs6000.c (xcoff_get_elt_at_index): Define. | |
2530 | * ieee.c (ieee_get_elt_at_index): Define. | |
2531 | * libecoff.h (_bfd_ecoff_get_elt_at_index): Define. | |
2532 | * oasys.c (oasys_get_elt_at_index): Define. | |
2533 | * som.c (som_get_elt_at_index): Define. | |
2534 | ||
c40d9c77 ILT |
2535 | * ecoff.c (_bfd_ecoff_find_nearest_line): Don't restrict line |
2536 | numbers to the .text section. | |
2537 | ||
efa77952 ILT |
2538 | Mon Jan 8 17:00:57 1996 Ian Lance Taylor <[email protected]> |
2539 | ||
2540 | * ieee.c (ieee_write_debug_part): Change return type to boolean. | |
2541 | If there is a SEC_DEBUGGING section, get the contents of the debug | |
2542 | information part from it. | |
2543 | (ieee_set_section_contents): Store the contents of a SEC_DEBUGGING | |
2544 | section in memory. | |
2545 | (ieee_write_object_contents): Check ieee_write_debug_part return. | |
2546 | ||
767f22d5 FF |
2547 | Thu Jan 4 17:12:37 1996 Fred Fish <[email protected]> |
2548 | ||
2549 | * config.bfd (i[345]86-*-freebsd*): Add target. | |
2550 | * configure.in (i386freebsd_vec): Add vec. | |
2551 | * configure: Regenerate. | |
2552 | * Makefile.in (BFD32_BACKENDS): Add i386freebsd.o. | |
2553 | (BFD32_BACKENDS_CFILES): Add i386freebsd.c. | |
2554 | Rebuild dependencies.. | |
2555 | * freebsd.h: New file. | |
2556 | * i386freebsd.c: New file. | |
2557 | * targets.c (i386freebsd_vec): Declare. | |
2558 | (bfd_target_vector): Add i386freebsd_vec. | |
2559 | * i386linux.c (SEGMENT_SIZE): Define as TARGET_PAGE_SIZE | |
2560 | * i386netbsd.c (SEGMENT_SIZE): Define as TARGET_PAGE_SIZE | |
2561 | ||
f8254a3c ILT |
2562 | Thu Jan 4 16:27:46 1996 Ian Lance Taylor <[email protected]> |
2563 | ||
2564 | * ieee.c (ieee_slurp_debug): New static function. | |
2565 | (ieee_object_p): Call it. | |
2566 | (ieee_slurp_section_data): Skip debugging sections. | |
2567 | (ieee_get_reloc_upper_bound): Likewise. | |
2568 | (ieee_get_section_contents): Likewise. | |
2569 | (ieee_canonicalize_reloc): Likewise. | |
2570 | (ieee_write_section_part): Likewise. | |
2571 | (ieee_write_debug_part): Likewise. | |
2572 | (ieee_write_data_part): Likewise. | |
2573 | (init_for_output): Likewise. | |
2574 | ||
07a159db MM |
2575 | Wed Jan 3 19:42:47 1996 Michael Meissner <[email protected]> |
2576 | ||
2577 | * elf32-ppc.c (ppc_elf_relocate_section): Make @GOT relocations | |
2578 | work. | |
2579 | (ppc_elf_howto_raw): Just use bfd_elf_generic_reloc for all howto | |
2580 | relocs, since ppc_elf_relocate_section handles the linker case. | |
2581 | (ppc_elf_{addr16_ha,got16,toc16,brtaken}_reloc): Delete, no longer | |
2582 | used. | |
2583 | (ppc_elf_{addr16_ha,got16,toc16,brtaken}_inner): Merge these into | |
2584 | ppc_elf_relocate_section since that is now the only caller. | |
2585 | (ppc_elf_relocate_section): Ditto. | |
2586 | ||
d812945a ILT |
2587 | Wed Jan 3 15:11:30 1996 Ian Lance Taylor <[email protected]> |
2588 | ||
2589 | * coffcode.h (coff_write_object_contents): If we don't know the | |
2590 | section of the entry point for an XCOFF executable, always set the | |
2591 | entry address to -1. | |
2592 | ||
3a56d0b4 MM |
2593 | Tue Jan 2 14:17:15 1996 Michael Meissner <[email protected]> |
2594 | ||
2595 | * elf.c (bfd_section_from_shdr): Add support for note sections. | |
2596 | ||
c4406e50 ILT |
2597 | Tue Jan 2 13:10:25 1996 Ian Lance Taylor <[email protected]> |
2598 | ||
d812945a ILT |
2599 | * bfd-in.h (struct _symbol_info): Add stab_type field. |
2600 | * bfd-in2.h: Rebuild. | |
2601 | * aoutx.h (NAME(aout,get_symbol_info)): Set stab_type. | |
2602 | ||
c4406e50 ILT |
2603 | * elf32-ppc.c: Remove trailing newline from calls to |
2604 | _bfd_error_handler. | |
2605 | (ppc_elf_merge_private_bfd_data): Only warn about endianness | |
2606 | difference if target endianness is known. | |
2607 | ||
08556813 MM |
2608 | Thu Dec 21 12:43:49 1995 Michael Meissner <[email protected]> |
2609 | ||
2610 | * elf32-ppc.c (ppc_elf_howto_raw): Add a phony reloc to handle the | |
2611 | old style TOC16 references without using R_PPC_GOT. | |
2612 | (ppc_reloc_type): Ditto. | |
2613 | (ppc_elf_reloc_type_lookup): Add support for TOC16. | |
2614 | (ppc_elf_toc16_inner): Renamed from ppc_elf_got16_inner. | |
2615 | (ppc_elf_toc16_reloc): Renamed from ppc_elf_toc16_reloc. | |
2616 | (ppc_elf_got16_{inner,reloc}): Stubs for real GOT support. | |
2617 | (ppc_elf_check_relocs): New function for GOT/PLT support that is | |
2618 | work in progress. | |
2619 | (ppc_elf_adjust_dynamic_symbol): Ditto. | |
2620 | (ppc_elf_adjust_dynindx): Ditto. | |
2621 | (ppc_elf_size_dynamic_sections): Ditto. | |
2622 | (ppc_elf_finish_dynamic_symbol): Ditto. | |
2623 | (ppc_elf_finish_dynamic_sections): Ditto. | |
2624 | (ELF_DYNAMIC_INTERPRETER): Define. | |
2625 | ||
86587dd4 KR |
2626 | Wed Dec 20 19:14:18 1995 Ken Raeburn <[email protected]> |
2627 | ||
2628 | * elf.c (copy_private_bfd_data): When attaching sections to | |
2629 | segments ignore sections that won't be allocated. Patch from | |
2630 | Andreas Schwab. | |
2631 | ||
bf7f243f KR |
2632 | Tue Dec 19 20:01:43 1995 Ken Raeburn <[email protected]> |
2633 | ||
2634 | * config.bfd: Match on m68k-cbm-* only if OS doesn't match | |
2635 | anything else. | |
2636 | ||
d9518e2e ILT |
2637 | Tue Dec 19 16:38:59 1995 Ian Lance Taylor <[email protected]> |
2638 | ||
2639 | * coff-i960.c (CALC_ADDEND): Define. | |
2640 | (coff_i960_relocate_section): Add the input section VMA to the | |
2641 | addend for PC relative relocs. | |
2642 | ||
2643 | Sun Dec 17 20:11:55 1995 Kim Knuttila <[email protected]> | |
2644 | ||
2645 | * peicode.h (pe_print_pdata): Must test the entire entry for zero | |
2646 | to correctly terminate. | |
2647 | ||
010a405a ILT |
2648 | Fri Dec 15 12:05:57 1995 Ian Lance Taylor <[email protected]> |
2649 | ||
dc092b6b ILT |
2650 | * targets.c (enum bfd_endian): Define. |
2651 | (bfd_target): Rename byteorder_big_p to byteorder, and change it | |
2652 | from boolean to enum bfd_endian. Change header_byteorder_big_p | |
2653 | correspondingly. | |
2654 | * bfd-in.h (bfd_big_endian, bfd_little_endian): New macros. | |
2655 | (bfd_header_big_endian, bfd_header_little_endian): New macros. | |
2656 | * bfd-in2.h: Rebuild. | |
2657 | * All targets: Change initialization of byteorder and | |
2658 | header_byteorder to use enum bfd_endian values rather than | |
2659 | booleans. | |
2660 | * All files: Change all references to byteorder_big_p and | |
2661 | header_byteorder_big_p to use new bfd_*_endian macros. | |
2662 | ||
010a405a ILT |
2663 | * coffgen.c (make_a_section_from_file): Set lma to s_paddr, not |
2664 | s_vaddr. | |
2665 | * coffcode.h (coff_write_object_contents): Set s_paddr to lma, not | |
2666 | vma. | |
2667 | * ecoff.c (_bfd_ecoff_write_object_contents): Likewise. | |
2668 | ||
fcb43906 SC |
2669 | Fri Dec 15 07:32:09 1995 steve chamberlain <[email protected]> |
2670 | ||
2671 | * pe[i]-i386.c (TARGET_UNDERSCORE): Define to '_'. | |
2672 | ||
0d709d31 ILT |
2673 | Thu Dec 14 13:45:37 1995 Ian Lance Taylor <[email protected]> |
2674 | ||
14578105 ILT |
2675 | * ieee.c: Lots of minor cleanups. Make many functions return |
2676 | errors rather than calling abort. Also: | |
2677 | (ieee_write_twobyte): Remove; change callers to call existing | |
2678 | ieee_write_2bytes function. | |
2679 | (ieee_write_expression): Don't output the section twice when | |
2680 | outputting a local symbol. Don't emit an extraneous zero if there | |
2681 | is only one term. | |
2682 | (ieee_slurp_sections): Set the lma as well as the vma. | |
2683 | (ieee_archive_p): Use bfd_alloc_grow rather than an obstack. | |
2684 | ||
0d709d31 ILT |
2685 | * ihex.c (ihex_set_arch_mach): Don't accept any architecture, just |
2686 | a recognized one or bfd_arch_unknown. | |
2687 | (ihex_get_symtab_upper_bound): Define as bfd_0l, to permit objcopy | |
2688 | to succeed. | |
2689 | (ihex_get_symtab): Likewise. | |
2690 | ||
14dc2f77 ILT |
2691 | Wed Dec 13 15:44:06 1995 Ian Lance Taylor <[email protected]> |
2692 | ||
2693 | * aoutx.h: Include <ctype.h>. | |
2694 | (struct aout_link_includes_table): Define. | |
2695 | (struct aout_link_includes_totals): Define. | |
2696 | (struct aout_link_includes_entry): Define. | |
2697 | (aout_link_includes_lookup): Define macro. | |
2698 | (struct aout_final_link_info): Add includes field. | |
2699 | (aout_link_includes_newfunc): New static function. | |
2700 | (NAME(aout,final_link)): Initialize includes hash table. | |
2701 | (aout_link_write_symbols): Eliminate duplicate N_BINCL entries. | |
2702 | ||
480ccad5 SS |
2703 | Wed Dec 13 10:52:14 1995 Stan Shebs <[email protected]> |
2704 | ||
2705 | * mpw-config.in: Match on mips-*-* instead of mips-idt-ecoff. | |
2706 | ||
3920d9c9 KK |
2707 | Wed Dec 13 11:07:45 1995 Kim Knuttila <[email protected]> |
2708 | ||
2709 | * coff-ppc.c (coff_ppc_relocate_section): removed debugging code. | |
2710 | ||
207345f2 KK |
2711 | Tue Dec 12 17:42:06 1995 Kim Knuttila <[email protected]> |
2712 | ||
2713 | * peicode.h (pe_print_reloc): New function to dump the .reloc section. | |
2714 | (pe_print_private_bfd_data): call pe_print_reloc. | |
2715 | * coffcode.h (coff_set_alignment_hook): .reloc section alignment. | |
2716 | * coff-ppc.c (in_reloc_p): Added missing non-eligible relocs. Spiffed | |
2717 | up some debugging as well. | |
2718 | ||
273c019e ILT |
2719 | Tue Dec 12 11:34:23 1995 Ian Lance Taylor <[email protected]> |
2720 | ||
2721 | * config.bfd: Handle sparc-*-elf*. From Ronald F. Guilmette | |
2722 | <[email protected]>. | |
2723 | ||
010d9f2d ILT |
2724 | Fri Dec 8 17:47:07 1995 Ian Lance Taylor <[email protected]> |
2725 | ||
2726 | * elflink.h (elf_link_add_object_symbols): Set section_count to 0 | |
2727 | when setting sections to NULL. | |
2728 | ||
4a4a66bd ILT |
2729 | Wed Dec 6 17:05:37 1995 Ian Lance Taylor <[email protected]> |
2730 | ||
2731 | * xcofflink.c (struct xcoff_loader_info): Add export_defineds | |
2732 | field. | |
2733 | (bfd_xcoff_size_dynamic_sections): Add export_defineds parameter. | |
2734 | (xcoff_build_ldsyms): If export_defineds is set, set XCOFF_EXPORT | |
2735 | for all symbols. | |
2736 | * bfd-in.h (bfd_xcoff_size_dynamic_sections): Update declaration. | |
2737 | * bfd-in2.h: Rebuild. | |
2738 | ||
545bf026 KK |
2739 | Mon Dec 4 16:40:47 1995 Kim Knuttila <[email protected]> |
2740 | ||
2741 | * coffcode.h (coff_set_alignment_hook): Removed some debugging printf's | |
2742 | ||
1f4ae0d6 ILT |
2743 | Mon Dec 4 11:25:39 1995 Ian Lance Taylor <[email protected]> |
2744 | ||
55cac920 ILT |
2745 | * ihex.c (ihex_scan): Handle record types 4 and 5. |
2746 | (ihex_object_p): Permit types 4 and 5. | |
2747 | (ihex_set_section_contents): Remove check for out of range | |
2748 | addresses. | |
2749 | (ihex_write_object_contents): Generate types 4 and 5. | |
2750 | ||
1f4ae0d6 ILT |
2751 | * elflink.h (elf_link_output_extsym): Just ignore warning and |
2752 | indirect references to symbols which don't really exist. | |
2753 | ||
53d45489 KK |
2754 | Sun Dec 3 19:00:27 1995 Kim Knuttila <[email protected]> |
2755 | ||
2756 | * peicode.h (pe_print_idata): Minor format fixes | |
2757 | (pe_print_edata): New function. Under private printing, this formats | |
2758 | the edata section of a PE file. | |
2759 | (pe_print_private_bfd_data): Added call to pe_print_edata. | |
2760 | ||
361e8876 DE |
2761 | Sun Dec 3 16:46:54 1995 Richard Earnshaw ([email protected]) |
2762 | ||
2763 | * aout-arm.c (MY_swap_std_reloc_out): Use KEEPIT to get the symbol | |
2764 | index, don't call stoi. | |
2765 | ||
58142f10 ILT |
2766 | Fri Dec 1 14:46:51 1995 Ian Lance Taylor <[email protected]> |
2767 | ||
ffd15489 ILT |
2768 | * srec.c (srec_scan): Set lma as well as vma. |
2769 | ||
2770 | * ihex.c: New file; support for Intel Hex format. | |
2771 | * targets.c (enum bfd_flavour): Add bfd_target_ihex_flavour. | |
2772 | (ihex_vec): Declare. | |
2773 | (bfd_target_vector): Always include ihex_vec. | |
2774 | * bfd.c (struct _bfd): Add ihex_data field to tdata union. | |
2775 | * Makefile.in: Rebuild dependencies. | |
2776 | (BFD_LIBS): Add ihex.o | |
2777 | (BFD_LIBS_CFILES): Add ihex.c. | |
2778 | * bfd-in2.h: Rebuild. | |
2779 | ||
ae0a6bea ILT |
2780 | * elf.c (assign_file_positions_for_segments): Sort the sections in |
2781 | each segment. | |
2782 | (get_program_header_size): Return the right size if segment_map is | |
2783 | not NULL. | |
2784 | (copy_private_bfd_data): Don't bother to sort the sections. | |
2785 | ||
2786 | * bfd.c (bfd_record_phdr): New function. | |
2787 | * bfd-in.h (bfd_record_phdr): Declare. | |
2788 | * bfd_in2.h: Rebuild. | |
2789 | ||
ce0ee4bf ILT |
2790 | * elf32-sparc.c (elf32_sparc_relocate_section): Remove bogus |
2791 | BFD_ASSERT. | |
2792 | ||
58142f10 ILT |
2793 | * libbfd.c (bfd_malloc, bfd_realloc): New functions. |
2794 | (bfd_zmalloc): Return PTR, not char *. Take size_t, not | |
2795 | bfd_size_type. | |
2796 | * libbfd-in.h (bfd_malloc, bfd_realloc): Declare. | |
2797 | (bfd_zmalloc): Change declaration. | |
2798 | * libbfd.h: Rebuild. | |
2799 | * Many files: Use bfd_malloc and bfd_realloc rather than malloc | |
2800 | and realloc. Don't set bfd_error_no_memory if they fail. | |
2801 | ||
59066248 KK |
2802 | Thu Nov 30 19:32:26 1995 Kim Knuttila <[email protected]> |
2803 | ||
2804 | * coff-ppc.c: Added macros to tidy up toc cell treatment. Numerous | |
2805 | uses as well. Added a new howto to deal with TOCREL16 relocs that | |
2806 | are TOCDEFN as well. | |
2807 | (coff_ppc_relocate_section): Expanded treatment of ADDR32NB relocs | |
2808 | to handle RVA relocs from dlltool. | |
2809 | (ppc_coff_rtype2howto): TOCDEFN reloc addition. | |
2810 | (coff_ppc_rtype_to_howto): TOCDEFN reloc addition. | |
2811 | (ppc_coff_reloc_type_lookup): TOCDEFN reloc addition. | |
2812 | ||
2813 | * coffcode.h (coff_set_alignment_hook): check idata$X sections | |
2814 | to get the right section alignment. | |
2815 | ||
6933148a ILT |
2816 | Thu Nov 30 16:48:18 1995 Ian Lance Taylor <[email protected]> |
2817 | ||
2818 | * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on | |
2819 | p_paddr if p_paddr is zero. | |
2820 | (make_mapping): Set includes_filehdr and includes_phdrs for first | |
2821 | PT_LOAD segment. | |
2822 | (map_sections_to_segments): Set includes_phdrs for PT_PHDR | |
2823 | segment. | |
2824 | (assign_file_positions_for_segments): Handle includes_filehdr and | |
2825 | includes_phdrs. Remove special handling of PT_PHDR and first | |
2826 | PT_LOAD segments. | |
2827 | (copy_private_bfd_data): Set includes_filehdr and includes_phdr | |
2828 | when appropriate. Remove special handling of PT_PHDR segment. | |
2829 | Use a more complex condition for when a section is included in a | |
2830 | segment to handle Solaris linker oddities. | |
2831 | ||
f62fed1c ILT |
2832 | Thu Nov 30 11:17:33 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <[email protected]> |
2833 | ||
2834 | * coff-m88k.c (howto_table): Reformatted for easier reading; | |
2835 | special_function now points to new function m88k_special_reloc. | |
2836 | (howto_hvrt16): Function previously used for handling HVRT16 relocs | |
2837 | removed. | |
2838 | (rtype2howto): Do not add reloc's r_offset to the addend, this will | |
2839 | be done correctly by m88k_special_reloc. | |
2840 | (reloc_processing): New function to be used by RELOC_PROCESSING. | |
2841 | (RELOC_PROCESSING): Define to call reloc_processing. | |
2842 | ||
64ecde46 ILT |
2843 | Wed Nov 29 12:42:36 1995 Ian Lance Taylor <[email protected]> |
2844 | ||
b00c57ec ILT |
2845 | * peicode.h (pe_print_idata): Call malloc rather than xmalloc. |
2846 | (pe_print_pdata): Likewise. | |
2847 | ||
a9713b91 ILT |
2848 | * opncls.c (bfd_alloc_by_size_t): Set bfd_error_no_memory if |
2849 | obstack_alloc fails. | |
2850 | (bfd_alloc_finish): Set bfd_error_no_memory if obstack_finish | |
2851 | fails. | |
2852 | * libbfd.c (bfd_zmalloc): Set bfd_error_no_memory if malloc fails. | |
2853 | * Many files: don't set bfd_error_no_memory if one of the above | |
2854 | routines fails. | |
2855 | ||
3dbf33ee ILT |
2856 | * elf.c (assign_file_positions_for_segments): Don't adjust p_paddr |
2857 | if p_paddr_valid is set. | |
2858 | (copy_private_bfd_data): New static function. | |
2859 | (_bfd_elf_copy_private_section_data): Call copy_private_bfd_data. | |
2860 | ||
44ef8897 ILT |
2861 | * elf.c (assign_file_positions_for_segments): Fix case where extra |
2862 | program headers were allocated. | |
2863 | ||
27fb8f29 ILT |
2864 | * elf.c (_bfd_elf_print_private_bfd_data): New function. |
2865 | * elf-bfd.h (_bfd_elf_print_private_bfd_data): Declare. | |
2866 | * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define to | |
2867 | _bfd_elf_print_private_bfd_data. | |
2868 | ||
64ecde46 ILT |
2869 | * coff-alpha.c (alpha_ecoff_swap_reloc_in): Don't abort if |
2870 | r_symndx is RELOC_SECTION_NONE for an ALPHA_R_IGNORE reloc. | |
2871 | Change a RELOC_SECTION_LITA symndx to RELOC_SECTION_ABS. | |
2872 | (alpha_ecoff_swap_reloc_out): Change RELOC_SECTION_ABS to | |
2873 | RELOC_SECTION_LITA for ALPHA_R_IGNORE. | |
2874 | (alpha_adjust_reloc_out): For ALPHA_R_IGNORE, don't change | |
2875 | RELOC_SECTION_ABS to RELOC_SECTION_NONE. | |
2876 | ||
fd0198f0 ILT |
2877 | Tue Nov 28 16:59:50 1995 Ian Lance Taylor <[email protected]> |
2878 | ||
2879 | * elf-bfd.h (struct elf_obj_tdata): Add segment_map field. | |
2880 | * elf.c (make_mapping): New static function. | |
2881 | (map_sections_to_segments): New static function. | |
2882 | (elf_sort_sections): New static function. | |
2883 | (assign_file_positions_for_segments): New static function. | |
2884 | (map_program_segments): Remove. | |
2885 | (get_program_header_size): Remove sorted_hdrs, count, and | |
2886 | maxpagesize parameters. Simplify. | |
2887 | (assign_file_positions_except_relocs): When generating an | |
2888 | executable, use assign_file_positions_for_segments. | |
2889 | (elf_sort_hdrs): Remove. | |
2890 | (_bfd_elf_sizeof_headers): Remove eliminated parameters from call | |
2891 | to get_program_header_size. | |
2892 | ||
3b3f7625 ILT |
2893 | Mon Nov 27 12:27:46 1995 Ian Lance Taylor <[email protected]> |
2894 | ||
1ff0461b ILT |
2895 | * hp300hpux.c (MY(callback)): Set lma as well as vma. |
2896 | ||
80c8485c ILT |
2897 | * configure, config.in: Regenerate with autoconf 2.7. |
2898 | ||
3b3f7625 ILT |
2899 | * elf32-i386.c (elf_backend_plt_readonly): Set correctly, to 1. |
2900 | * elf32-sparc.c (elf_backend_plt_readonly): Set correctly, to 0. | |
2901 | ||
fa63d1ef ILT |
2902 | Wed Nov 22 12:02:09 1995 Ian Lance Taylor <[email protected]> |
2903 | ||
a877f591 ILT |
2904 | * ecoff.c (_bfd_ecoff_new_section_hook): Handle .rconst section. |
2905 | (ecoff_sec_to_styp_flags): Likewise. | |
2906 | (_bfd_ecoff_styp_to_sec_flags): Handle STYP_RCONST. | |
2907 | (ecoff_set_symbol_info): Handle scRConst. | |
2908 | (ecoff_slurp_reloc_table): Handle RELOC_SECTION_RCONST. | |
2909 | (ecoff_compute_section_file_positions): Handle .rconst section. | |
2910 | (_bfd_ecoff_write_object_contents): Likewise. | |
2911 | (ecoff_link_check_archive_element): Handle scRConst. | |
2912 | (ecoff_link_add_externals): Likewise. | |
2913 | (ecoff_link_write_external): Handle .rconst section. | |
2914 | (ecoff_reloc_link_order): Likewise. | |
2915 | * ecofflink.c (bfd_ecoff_debug_accumulate): Handle scRConst. | |
2916 | * coff-alpha.c (alpha_convert_external_reloc): Handle .rconst | |
2917 | section. | |
2918 | (alpha_relocate_section): Handle RELOC_SECTION_RCONST. | |
2919 | ||
fa63d1ef ILT |
2920 | * sunos.c (sunos_scan_dynamic_symbol): Only set written if the |
2921 | DEF_DYNAMIC flag is set. | |
2922 | ||
25bada65 KR |
2923 | Tue Nov 21 13:25:29 1995 Ken Raeburn <[email protected]> |
2924 | ||
2925 | * host-aout.c: If TRAD_HEADER is defined, include it. | |
2926 | ||
7938b4cb ILT |
2927 | Tue Nov 21 13:03:57 1995 Ian Lance Taylor <[email protected]> |
2928 | ||
85e493f0 ILT |
2929 | * aclocal.m4 (AC_PROG_CC): Remove local definition. |
2930 | (BFD_BINARY_FOPEN): Require AC_CANONICAL_SYSTEM. | |
2931 | (BFD_NEED_DECLARATION): New function. | |
2932 | * configure.in: Use BFD_NEED_DECLARATION. | |
bd77213b ILT |
2933 | * acconfig.h: Put NEED_DECLARATION_* in @TOP@ section. |
2934 | * configure, config.in: Rebuild with autoconf 2.6. | |
85e493f0 | 2935 | |
83dcdc61 ILT |
2936 | * xcofflink.c (bfd_xcoff_size_dynamic_sections): Clear |
2937 | special_sections before returning when called with a non XCOFF | |
2938 | BFD. | |
2939 | ||
7938b4cb ILT |
2940 | * coffgen.c (coff_renumber_symbols): Sort common symbols with |
2941 | global symbols. | |
2942 | ||
2943 | * coffcode.h (coff_compute_section_file_positions): Only pad the | |
2944 | previous section to force file alignment when creating an | |
2945 | executable. | |
2946 | ||
b5403ad7 ILT |
2947 | Mon Nov 20 14:54:09 1995 Ian Lance Taylor <[email protected]> |
2948 | ||
a418e05d ILT |
2949 | * coffcode.h (coff_compute_section_file_positions): If |
2950 | RS6000COFF_C, set up the .debug section. | |
2951 | ||
b5403ad7 ILT |
2952 | * xcofflink.c (xcoff_link_input_bfd): Adjust the TOC anchor value |
2953 | if it is not large enough to accomodate the entire TOC area with | |
2954 | signed 16 bit offsets. | |
2955 | (xcoff_write_global_symbol): Handle negative TOC offsets in global | |
2956 | linkage code. | |
2957 | (_bfd_ppc_xcoff_relocate_section): Adjust relocations against a | |
2958 | TOC anchor to use the TOC value used in the output file. | |
2959 | ||
90a7abbc ILT |
2960 | Sat Nov 18 18:01:41 1995 Ian Lance Taylor <[email protected]> |
2961 | ||
2962 | * coffgen.c (_bfd_coff_get_external_symbols): Cast malloc return. | |
2963 | (_bfd_coff_read_string_table): Likewise. | |
2964 | ||
177b1932 DE |
2965 | Sat Nov 18 19:43:04 1995 Richard Earnshaw ([email protected]) |
2966 | ||
2967 | * pe-arm.c: Fix typos. | |
2968 | * coff-arm.c: Likewise. | |
2969 | ||
2970 | Fri Nov 17 16:22:04 1995 Kim Knuttila <[email protected]> | |
2971 | ||
2972 | * coff-ppc.c (list_ele): Added "cat"egory member. | |
2973 | (record_toc): New category parameter (priv or pub). | |
2974 | (ppc_record_toc_entry): Check to see if toc bounds exceeded. | |
2975 | (ppc_process_before_allocation): Removed embrionic data-in-toc from | |
2976 | the mainline. It addes extra toc cells in error. | |
2977 | (ppc_coff_swap_sym_in_hook): Added some documentation. | |
2978 | (dump_toc): Can now diagnose "virtual toc" chicanery. | |
2979 | ||
e34314c4 ILT |
2980 | Fri Nov 17 10:41:25 1995 Philippe De Muyter <[email protected]> |
2981 | ||
2982 | * elf-bfd.h (struct elf_link_hash_table): Change type of | |
2983 | dynsymcount and bucketcount fields from size_t to bfd_size_type. | |
2984 | ||
73a68447 ILT |
2985 | Fri Nov 17 10:02:58 1995 Ian Lance Taylor <[email protected]> |
2986 | ||
535e9e29 ILT |
2987 | * coffcode.h (coff_pointerize_aux_hook): I960 version: don't |
2988 | pointerize C_LEAFSTAT or C_LEAFEXT entries. | |
2989 | ||
73a68447 ILT |
2990 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Only create |
2991 | DT_INIT and DT_FINI entries if the _init or _fini symbol is | |
2992 | defined or mentioned in a regular file. | |
2993 | ||
cd2b2402 KK |
2994 | Thu Nov 16 15:16:42 1995 Kim Knuttila <[email protected]> |
2995 | ||
2996 | * coff-ppc.c (ppc_record_data_in_toc_entry): new function | |
2997 | (coff_ppc_relocate_section): Handle TOCDEFN attribute | |
2998 | (coff_ppc_relocate_section): Correct REL24 handling | |
2999 | (ppc_process_before_allocation): Correct TOCDEFN handling | |
3000 | ||
3001 | * peicode.h (dir_names): Added name descriptions | |
3002 | ||
b218076e KR |
3003 | Thu Nov 16 03:38:03 1995 Ken Raeburn <[email protected]> |
3004 | ||
3005 | * VERSION: Updated to cygnus-2.6. | |
3006 | ||
3007 | Wed Nov 15 19:30:07 1995 Ken Raeburn <[email protected]> | |
3008 | ||
3009 | * targets.c (m68k4knetbsd_vec): Declare. | |
3010 | ||
e9f30616 ILT |
3011 | Wed Nov 15 18:05:52 1995 Ian Lance Taylor <[email protected]> |
3012 | ||
3013 | * targets.c (bfd_target): Change type of second argument to | |
3014 | _bfd_print_private_bfd_data from void * to PTR. | |
3015 | * libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): Cast | |
3016 | using PTR rather than void *. | |
3017 | * bfd-in2, libbfd.h: Rebuild. | |
3018 | * peicode.h (pe_print_private_bfd_data): Change vfile from void * | |
3019 | to PTR. | |
3020 | * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define as | |
3021 | _bfd_generic_bfd_print_private_bfd_data rather than casting | |
3022 | bfd_true. | |
3023 | ||
ae75c4a4 KR |
3024 | Wed Nov 15 04:09:14 1995 Ken Raeburn <[email protected]> |
3025 | ||
3026 | * Makefile.in (.dep1): Fix stupid typo in last change. Remove any | |
3027 | "DO NOT DELETE" lines or blank lines that mkdep writes on some | |
3028 | systems. | |
3029 | (BFD_LIBS_CFILES, ALL_MACHINES_CFILES, BFD32_BACKENDS_CFILES, | |
3030 | BFD64_BACKENDS_CFILES): New variables. | |
3031 | (CFILES): Use them. | |
3032 | ||
bebcd3db ILT |
3033 | Tue Nov 14 11:52:23 1995 Ian Lance Taylor <[email protected]> |
3034 | ||
4b71e164 ILT |
3035 | * peicode.h (coff_swap_aouthdr_out): For PPC PE, start isize at 0, |
3036 | not at the file position of the first section. | |
3037 | * coffcode.h (coff_compute_section_file_positions): Avoid using | |
3038 | unportable #elif. | |
3039 | (coff_write_object_contents): When generating a PPC PE executable | |
3040 | with no symbols, round up the file size to a COFF_PAGE_SIZE | |
3041 | boundary. | |
3042 | * cofflink.c (_bfd_coff_final_link): If there are no symbols, | |
3043 | don't write out a string table. | |
3044 | ||
631b10f4 ILT |
3045 | * elf.c (bfd_section_from_shdr): When using a different section |
3046 | header, pass the new one to _bfd_elf_make_section_from_shdr. | |
3047 | (elf_fake_sections): Don't set sh_info and sh_entsize fields. | |
3048 | (elf_map_symbols): Add section VMA to symbol value when comparing | |
3049 | against 0. | |
3050 | (_bfd_elf_compute_section_file_positions): Only build symbol table | |
3051 | if there are some symbols. Set file offset of symtab and strtab | |
3052 | sections. | |
3053 | (assign_file_positions_except_relocs): Remove dosyms parameter. | |
3054 | Change all callers. Never set file offset of symtab and strtab | |
3055 | sections. | |
3056 | (_bfd_elf_copy_private_section_data): New function. | |
3057 | (MAP_ONESYMTAB, MAP_DYNSYMTAB, MAP_STRTAB, MAP_SHSTRTAB): Define. | |
3058 | (_bfd_elf_copy_private_symbol_data): New function. | |
3059 | (swap_out_syms): Check for special mapping of st_shndx created by | |
3060 | copy_private_symbol_data. | |
3061 | * elfxx-target.h: Use new copy routines. | |
3062 | * elf-bfd.h (_bfd_elf_copy_private_symbol_data): Declare. | |
3063 | (_bfd_elf_copy_private_section_data): Declare. | |
3064 | ||
3065 | * config.bfd (sh-*-*): Set targ_defvec to shcoff_vec. | |
3066 | ||
3067 | * coffcode.h (coff_slurp_symbol_table): If COFF_WITH_PE, handle | |
3068 | C_NT_WEAK. | |
3069 | ||
bebcd3db ILT |
3070 | * coff-sh.c (shlcoff_vec): Use _bfd_generic_archive_p, not |
3071 | _bfd_dummy_target, matching the recent change to archive | |
3072 | recognition. | |
3073 | ||
7ad4ba81 ILT |
3074 | Mon Nov 13 13:24:38 1995 Ian Lance Taylor <[email protected]> |
3075 | ||
afa67334 ILT |
3076 | * libbfd.c (bfd_get_file_window): Use casts to avoid doing |
3077 | arithmetic on PTR types. | |
3078 | ||
f2bd8915 ILT |
3079 | * aout-target.h (MY(callback)): Set the lma of the sections. |
3080 | ||
7ad4ba81 ILT |
3081 | * ecoff.c (ecoff_reloc_link_order): Turn a reloc against a defined |
3082 | symbol into a reloc against the section. | |
3083 | ||
93b6a3f8 KK |
3084 | Mon Nov 13 07:31:35 1995 Kim Knuttila <[email protected]> |
3085 | ||
3086 | * coff-ppc.c (ppc_coff_link_hash_entry): added support for inline | |
3087 | glue for the relocs: IMGLUE and IFGLUE. | |
3088 | (record_toc): new function - tracks toc contents | |
3089 | (ppc_mark_symbol_as_glue): new function - supports the IMGLUE reloc | |
3090 | (coff_ppc_relocate_section): Added support and fixes for IMGLUE/IFGLUE | |
3091 | (ppc_coff_rtype2howto): removed invalid IMGLUE hack | |
3092 | (coff_ppc_rtype_to_howto): removed invalid IMGLUE hack | |
125d37c4 | 3093 | (ppc_record_toc_entry): Removed a debug define (duh) |
93b6a3f8 KK |
3094 | |
3095 | * peicode.h (coff_swap_scnhdr_out): Fixed invalid strcmp for ".reldata" | |
3096 | (pe_print_idata): New function - formats the idata section data | |
3097 | (pe_print_pdata): New function - formats the pdata section data | |
3098 | (pe_print_private_bfd_data): calls to above | |
3099 | ||
c769947b SS |
3100 | Sun Nov 12 12:23:24 1995 Stan Shebs <[email protected]> |
3101 | ||
3102 | * Makefile.in (bfd_libs_here, etc): Provide empty definitions. | |
3103 | * coff-rs6000.c (rs6000coff_vec): Add conditional defines | |
3104 | TARGET_SYM and TARGET_NAME for vector and BFD name. | |
3105 | * coff-pmac.c (pmac_xcoff_vec): Remove. | |
3106 | (TARGET_SYM, TARGET_NAME): Define. | |
3107 | * coffcode.h (coff_set_arch_mach_hook) [POWERMAC]: Set the | |
3108 | machine to 0, not all PowerMacs are 601s. | |
3109 | ||
3110 | Fri Nov 10 12:10:14 1995 Ian Lance Taylor <[email protected]> | |
3111 | ||
3112 | * elfcode.h (elf_object_p): Read in any program headers. | |
3113 | * elf.c (_bfd_elf_make_section_from_shdr): Adjust section lma | |
3114 | based on the program headers, if any. | |
3115 | (elf_fake_sections): Set sh_addr from the vma, not the lma. | |
3116 | (map_program_segments): Set p_paddr of program headers based on | |
3117 | the lma. | |
3118 | ||
ee174815 ILT |
3119 | Thu Nov 9 13:01:31 1995 Ian Lance Taylor <[email protected]> |
3120 | ||
839087b7 ILT |
3121 | * archive.c (bfd_generic_archive_p): Preserve tdata in case of |
3122 | failure. | |
3123 | ||
922530a6 ILT |
3124 | * aoutx.h (NAME(aout,final_link)): Report a reasonable error when |
3125 | trying to do a relocateable link with a non-a.out object file. | |
3126 | ||
3127 | * archive.c (bfd_generic_archive_p): Check the first object file | |
3128 | in an archive even if target_defaulted is set. If the object file | |
3129 | has the wrong xvec, reject it. | |
3130 | ||
a1774c51 ILT |
3131 | * aoutx.h (NAME(aout,set_section_contents)): If a section can not |
3132 | be represented, report the name via _bfd_error_handler. | |
3133 | (translate_to_native_sym_flags): Likewise. | |
3134 | * elf32-mips.c (mips_elf_final_link): Likewise. | |
3135 | * oasys.c (oasys_write_sections): Likewise. | |
3136 | ||
4a378b13 ILT |
3137 | * coffcode.h (coff_set_alignment_hook): Write RS6000COFF_C version |
3138 | which checks for STYP_OVRFLO sections. | |
3139 | (coff_compute_section_file_positions): If RS6000COFF_C, handle | |
3140 | reloc and lineno count overflows. | |
3141 | (coff_write_object_contents): Call coff_count_linenumbers before | |
3142 | coff_compute_section_file_positions. If RS6000COFF_C, handle | |
3143 | reloc and lineno count overflows. | |
3144 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Count line numbers and | |
3145 | relocs before dealing with .pad sections. Count overflow section | |
3146 | headers when handling .pad sections. | |
3147 | ||
7906bf87 ILT |
3148 | * coffcode.h (coff_write_object_contents): Set a.out vstamp to 1 |
3149 | if RS6000COFF_C. | |
3150 | ||
ee174815 ILT |
3151 | * xcofflink.c (XCOFF_DESCRIPTOR): Define. |
3152 | (struct xcoff_link_hash_table): Add descriptor_section and | |
3153 | special_sections fields. | |
3154 | (_bfd_xcoff_bfd_link_hash_table_create): Initialize new fields. | |
3155 | (xcoff_link_add_symbols): Set linkage section alignment. Create | |
3156 | descriptor section. Check for magic symbol names (_text, etc.), | |
3157 | and record them in special_sections if found. Set | |
3158 | XCOFF_DESCRIPTOR flag for a function descriptor, and set its | |
3159 | descriptor field to point back to the function code symbol. | |
3160 | (xcoff_sweep): Always mark the special descriptor_section. | |
3161 | (bfd_xcoff_export_symbol): Check whether the symbol might be a | |
3162 | function descriptor, and mark it if it is. | |
3163 | (bfd_xcoff_size_dynamic_sections): Add new special_sections | |
3164 | parameter, and fill it in. Allocate space for the descriptor | |
3165 | section. | |
3166 | (xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR flag when defining | |
3167 | global linkage code. If an undefined function descriptor is | |
3168 | exported, arrange to define it. Warn about any other undefined | |
3169 | exported symbol. | |
3170 | (_bfd_xcoff_bfd_final_link): Write out the descriptor section. | |
3171 | (xcoff_write_global_symbol): Create a function descriptor when | |
3172 | necessary. | |
3173 | * bfd-in.h (bfd_xcoff_size_dynamic_sections): Update declaration. | |
3174 | * bfd-in2.h: Rebuild. | |
3175 | ||
0e829f18 KK |
3176 | Thu Nov 9 08:40:23 1995 Kim Knuttila <[email protected]> |
3177 | ||
3178 | * coff-ppc.c (ppc_coff_link_hash_entry): new types for hashing | |
3179 | (ppc_coff_link_hash_table): new types for hashing | |
3180 | (ppc_coff_link_hash_newfunc): hash entry constructor | |
3181 | (ppc_coff_link_hash_table_init): hash table initializer | |
3182 | (ppc_coff_link_hash_table_create): hash table constructor | |
3183 | (ppc_record_toc_entry): changed references to hash table | |
3184 | (coff_ppc_relocate_section): changed references to hash table | |
3185 | ||
3186 | * libcoff-in.h (coff_link_hash_entry): removed toc_offset | |
3187 | * libcoff.h: Rebuild | |
3188 | ||
3189 | * cofflink.c (_bfd_coff_link_hash_newfunc): removed toc_offset init | |
3190 | (coff_link_add_symbols): removed toc_offset init | |
3191 | ||
7ac84736 KR |
3192 | Thu Nov 9 04:00:38 1995 Ken Raeburn <[email protected]> |
3193 | ||
b27cc4bc KR |
3194 | * Makefile.in (.dep1): Make sure the file mkdep is to write exists |
3195 | first. | |
3196 | ||
7ac84736 KR |
3197 | * configure.in: Added new option --with[out]-mmap. Set USE_MMAP |
3198 | if it is given and mmep is available. | |
3199 | * acconfig.h: Undef USE_MMAP. | |
3200 | * configure, config.in: Regenerated. | |
3201 | * aoutx.h: If USE_MMAP is not defined, do all symbol and string | |
3202 | table handling the old way. | |
3203 | (aout_get_external_symbols): Don't complain if last byte of string | |
3204 | table is nonzero. | |
3205 | * libbfd.c [HAVE_MADVISE]: Include sys/types.h and sys/mman.h. | |
3206 | (bfd_free_window) [! USE_MMAP]: Don't define. | |
3207 | (bfd_get_file_window, | |
3208 | _bfd_generic_get_section_contents_in_window) [! USE_MMAP]: Abort. | |
3209 | ||
1b3b0c03 ILT |
3210 | Wed Nov 8 20:03:44 1995 Eric Freudenthal <[email protected]> |
3211 | ||
3212 | * coff-a29k.c (SIGN_EXTEND_HWORD): Use ~0xffff rather than | |
3213 | 0xffff0000. | |
3214 | ||
092abcdf ILT |
3215 | Wed Nov 8 11:31:11 1995 Ian Lance Taylor <[email protected]> |
3216 | ||
33698029 ILT |
3217 | * coff-a29k.c (a29k_reloc): Change handling of R_IREL reloc to be |
3218 | compatible with AMD generated COFF files. Try to support both AMD | |
3219 | and GNU formats simultaneously. | |
3220 | (coff_a29k_relocate_section): Likewise. | |
3221 | ||
0bb8ff19 ILT |
3222 | * libbfd.c (bfd_get_file_window): Change writable parameter from |
3223 | int to boolean; update all callers. Pass MAP_SHARED if not | |
3224 | writable--it's required on Solaris. Cast fprintf argument to | |
3225 | avoid warning. | |
3226 | * bfd-in.h (bfd_get_file_window): Update declaration. | |
3227 | * bfd-in2.h: Rebuild. | |
3228 | * aoutx.h: Update calls to bfd_get_file_window. | |
3229 | ||
0634a431 ILT |
3230 | * xcofflink.c (XCOFF_DEF_DYNAMIC): Rename from XCOFF_REF_DYNAMIC. |
3231 | Change all uses. | |
3232 | (xcoff_swap_ldhdr_in): New static function. | |
3233 | (xcoff_swap_ldsym_in): New static function. | |
7812bf9c | 3234 | (xcoff_find_reloc): Handle the case of a single reloc correctly. |
0634a431 ILT |
3235 | (xcoff_link_add_symbols): If we just created a descriptor, pass it |
3236 | to _bfd_generic_link_add_one_symbol, to save a hash lookup. | |
417acf22 | 3237 | Handle XTY_ER/XMC_XO symbols correctly. |
0634a431 ILT |
3238 | (xcoff_link_add_dynamic_symbols): Rewrite to read .loader symbols |
3239 | rather than normal symbol table. | |
417acf22 ILT |
3240 | (bfd_xcoff_import_symbol): It's not an error if the symbol is |
3241 | already defined with the same absolute value. | |
0634a431 ILT |
3242 | (xcoff_mark): When considering called symbols, check whether the |
3243 | descriptor is from a dynamic object, rather than the symbol | |
3244 | itself. | |
3245 | (xcoff_build_ldsyms): Likewise. | |
3246 | ||
092abcdf ILT |
3247 | * libbfd.c (bfd_get_file_window): Change return type to boolean. |
3248 | Cast realloc and malloc return values. If malloc or realloc fail, | |
3249 | set bfd_error_no_memory. | |
3250 | * bfd-in.h (bfd_get_file_window): Change type to boolean. | |
3251 | * bfd-in2.h: Rebuild. | |
3252 | ||
d6f41a7d KK |
3253 | Tue Nov 7 11:53:48 1995 Kim Knuttila <[email protected]> |
3254 | ||
3255 | * coff-ppc.c (ppc_record_toc_entry): new function. | |
3256 | (in_reloc_p): changed return value. | |
3257 | (coff_ppc_relocate_section): much rework. | |
3258 | (ppc_allocate_toc_section): new function. | |
3259 | (ppc_process_before_allocation): new function. | |
3260 | (ppc_coff_swap_sym_in_hook): new function. | |
3261 | ||
3262 | * cofflink.c (_bfd_coff_link_hash_newfunc): initialize toc_offset. | |
3263 | (coff_link_add_symbols): initialize toc_offset. | |
3264 | ||
3265 | * peicode.h (coff_swap_sym_in): Added coff_swap_sym_in_hook | |
3266 | (coff_swap_aouthdr_out): Added more sections to the data | |
3267 | dictionary for the pe file header. Also changed linker version | |
3268 | number on the ppc side. | |
3269 | (dir_names): small improvements to the dictionary printing. | |
3270 | (pe_mkobject_hook): save the file level flags. | |
3271 | ||
3272 | * libcoff-in.h (coff_link_hash_entry): added toc_offset field | |
3273 | (pe_tdata): added real_flags field | |
3274 | (coff_tdata): added local_toc_sym_map and access macro | |
3275 | ||
3276 | * libcoff.h (coff_link_hash_entry): added toc_offset field | |
3277 | (pe_tdata): added real_flags field | |
3278 | (coff_tdata): added local_toc_sym_map and access macro | |
3279 | ||
3280 | * coffcode.h (coff_set_alignment_hook): added hook for PE. | |
3281 | (coff_mkobject): init for local_toc_sym_map | |
3282 | (coff_write_object_contents): set the internal_a.magic to | |
3283 | IMAGE_NT_OPTIONAL_HDR_MAGIC which appears to be what other | |
3284 | ppc compilers use. | |
3285 | ||
6bc200f2 ILT |
3286 | Tue Nov 7 13:48:58 1995 Ian Lance Taylor <[email protected]> |
3287 | ||
c0971298 ILT |
3288 | * ecofflink.c (_bfd_ecoff_locate_line): Keep looking through stabs |
3289 | entries until both the line number address and the function name | |
3290 | address are too large. | |
3291 | ||
6a468850 ILT |
3292 | * configure.in: Call AC_CHECK_PROG to find and cache AR. |
3293 | * configure: Rebuilt. | |
3294 | ||
6bc200f2 ILT |
3295 | * aclocal.m4 (BFD_CC_FOR_BUILD): Don't define CC_FOR_BUILD if it |
3296 | is defined in the environment. | |
3297 | ||
c44bf94c JL |
3298 | Tue Nov 7 10:57:24 1995 Jeffrey A Law ([email protected]) |
3299 | ||
3300 | * som.c (som_get_section_contents_in_window): Define to use | |
3301 | generic version. | |
3302 | ||
cf587de8 ILT |
3303 | Mon Nov 6 17:13:15 1995 Harry Dolan <[email protected]> |
3304 | ||
3305 | * coff-i860.c: New file, based on coff-i386.c. | |
3306 | * cpu-i860.c: New file, based on cpu-i386.c. | |
3307 | * hosts/i860mach3.h: New file, based on hosts/i386mach3.h. | |
3308 | * config.bfd (i860-*-mach3*, i860-*-osf1*, i860-*-coff*): New | |
3309 | targets, using i860coff_vec. | |
3310 | * configure.in (i860-*-mach3*, i860-*-osf1*): New hosts, using | |
3311 | trad-core.o and hosts/i860mach3.h. | |
3312 | (i860coff_vec): Use coff-i860.o and cofflink.o. | |
3313 | * configure: Rebuild. | |
3314 | * Makefile.in: Rebuild dependencies. | |
3315 | (ALL_MACHINES): Add cpu-i860.o. | |
3316 | (BFD32_BACKENDS): Add coff-i860.o. | |
3317 | (CFILES): Add cpu-i860.c and coff-i860.c. | |
3318 | * targets.c (i860coff_vec): Declare. | |
3319 | (bfd_target_vector): Add &i860coff_vec. | |
3320 | * archures.c (bfd_i860_arch): Declare. | |
3321 | (bfd_archures_list): Add &bfd_i860_arch. | |
3322 | * coffcode.h (coff_set_arch_mach_hook): Handle I860 magic number. | |
3323 | (coff_set_flags): Handle bfd_arch_i860. | |
3324 | (coff_write_object_contents): Handle I860 a.out magic number. | |
3325 | ||
83c23fca ILT |
3326 | Mon Nov 6 14:34:07 1995 Ian Lance Taylor <[email protected]> |
3327 | ||
3328 | * xcofflink.c (xcoff_link_add_symbols): Set the alignment power of | |
3329 | the created .tc section to 2. | |
3330 | (xcoff_mark): Don't keep a .loader reloc for a call to an | |
3331 | undefined symbol when creating a shared library. | |
3332 | (xcoff_build_ldsyms): When creating a shared library, generate | |
3333 | global linkage code for a call to an undefined symbol. | |
3334 | ||
5d9eb9c3 KR |
3335 | Sun Nov 5 21:44:13 1995 Ken Raeburn <[email protected]> |
3336 | ||
3337 | * Makefile.in (CFILES): Rebuild list from BFD_LIBS, ALL_MACHINES, | |
3338 | BFD32_BACKENDS, BFD64_BACKENDS. | |
3339 | (.dep1): Put mkdep output in a separate file. | |
3340 | Rebuilt dependencies. | |
3341 | ||
ffacb892 KR |
3342 | * ecoff.c (_bfd_ecoff_slurp_armap): Cast _bfd_read_ar_hdr return |
3343 | value. | |
3344 | ||
4fe6d901 KR |
3345 | Permit use of mmap when available: |
3346 | ||
3347 | * configure.in: Check for mmap, madvise, mprotect. | |
3348 | * config.in, configure: Regenerated. | |
3349 | ||
3350 | * libbfd.c (struct _bfd_window_internal): Define type. | |
3351 | (bfd_init_window, bfd_free_window, bfd_get_file_window): New | |
3352 | functions. | |
3353 | (ok_to_map): New static variable for debugging. | |
3354 | (_bfd_generic_get_section_contents_in_window): New function. | |
3355 | * bfd-in.h (bfd_window_internal): Declare type. | |
3356 | (bfd_window): Define type. | |
3357 | (bfd_init_window, bfd_free_window, bfd_get_file_window): Declare. | |
3358 | * libbfd-in.h (_bfd_generic_get_section_contents_in_window): | |
3359 | Declare. | |
3360 | ||
3361 | * libaout.h (struct aoutdata): Add two window fields. | |
3362 | (obj_aout_sym_window, obj_aout_string_window): New macros. | |
3363 | * aoutx.h (some_aout_object_p): Initialize windows. | |
3364 | (aout_get_external_symbols): Get symbol data and strings in | |
3365 | windows instead of explicitly allocated buffers. | |
3366 | (slurp_symbol_table): Free window instead of memory. | |
3367 | (bfd_free_cached_info): Release windows instead of freeing storage | |
3368 | directly. | |
3369 | (aout_link_free_symbols): Ditto. | |
3370 | ||
3371 | * targets.c (bfd_target): Add new field for | |
3372 | get_section_contents_in_window. | |
3373 | (BFD_JUMP_TABLE_GENERIC): Updated. | |
3374 | * aout-adobe.c, aout-target.h, binary.c, bout.c, coff-alpha.c, | |
3375 | coff-mips.c, elfxx-target.h, i386msdos.c, i386os9k.c, ieee.c, | |
3376 | libcoff-in.h, oasys.c, srec.c, tekhex.c, versados.c: Added new | |
3377 | macros for get_section_contents_in_window field. | |
3378 | ||
d9e771e3 FF |
3379 | Sat Nov 4 12:23:26 1995 Fred Fish <[email protected]> |
3380 | ||
3381 | * core.c: Renamed to corefile.c | |
3382 | * makefile.dos (OBJS): Change core.o to corefile.o | |
3383 | * Makefile.in (CFILES, BFD_LIBS): Use corefile.c instead of core.c | |
3384 | ||
bf917766 SG |
3385 | start-sanitize-gm |
3386 | Sat Nov 4 10:16:54 1995 Stu Grossman ([email protected]) | |
3387 | ||
3388 | * config.bfd (mips*-*-magic*): Add bfd_elf32_bigmips_vec to | |
3389 | targ_selvecs to allow debugging under Irix-5 native. | |
3390 | ||
3391 | end-sanitize-gm | |
583db7a8 ILT |
3392 | Fri Nov 3 15:54:59 1995 Ian Lance Taylor <[email protected]> |
3393 | ||
3394 | * xcofflink.c (xcoff_link_add_symbols): Rename local variable sub | |
3395 | to o. Clobber and restore the list of new csects around the call | |
3396 | to _bfd_generic_link_add_one_symbol, in case it wants to report a | |
3397 | linker error and the linker wants to read the symbol table. Reset | |
3398 | the line number count of a real section even if it has no relocs. | |
3399 | (_bfd_xcoff_bfd_final_link): If shared, set the DYNAMIC flag. | |
3400 | ||
3401 | * coffgen.c (_bfd_coff_read_string_table): Warn if the string size | |
3402 | is too small. | |
3403 | ||
68aed7db ILT |
3404 | Thu Nov 2 23:16:39 1995 Ian Lance Taylor <[email protected]> |
3405 | ||
18a9609c ILT |
3406 | * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Don't warn about |
3407 | an undefined symbol in a shared link. | |
3408 | ||
68aed7db ILT |
3409 | * linker.c (_bfd_generic_link_add_one_symbol): Correct type of |
3410 | oldtype from bfd_link_order_type to bfd_link_hash_type. From | |
3411 | [email protected] (Philippe De Muyter). | |
3412 | ||
7f82c7e1 ILT |
3413 | Wed Nov 1 14:26:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <[email protected]> |
3414 | ||
3415 | * coff-m88k.c (rtype2howto): New static function. | |
3416 | (RTYPE2HOWTO): Use it rather than a macro definition. | |
3417 | ||
3418 | * coffcode.h (coff_write_object_contents): set internal_a.magic | |
3419 | to PAGEMAGICPEXECPAGED #if defined (M68) && !defined (LYNXOS). | |
3420 | ||
4c8b9746 | 3421 | * configure.in: m68*-motorola-sysv* does not use ptrace-core.o; |
7f82c7e1 ILT |
3422 | define TRAD_HEADER to new file hosts/delta68.h. |
3423 | m88*-motorola-sysv*, however, does use ptrace-core.o. | |
3424 | * hosts/delta68.h: New file. | |
3425 | ||
3426 | * ptrace-core.c (ptrace_unix_core_file_p): change bfd_zmalloc to | |
3427 | bfd_zalloc; provide proper parm abfd to calls to bfd_zalloc. | |
3428 | ||
619c7730 KR |
3429 | Wed Nov 1 13:51:54 1995 Ken Raeburn <[email protected]> |
3430 | ||
3431 | * i386linux.c (MY(vec)): Declare before use. | |
3432 | ||
73246ff8 ILT |
3433 | Wed Nov 1 11:45:07 1995 Ian Lance Taylor <[email protected]> |
3434 | ||
e8d6d5d0 ILT |
3435 | * reloc16.c (bfd_coff_reloc16_get_relocated_section_contents): |
3436 | Pass input_bfd, not in_bfd, to bfd_coff_reloc16_extra_cases. | |
3437 | ||
b2193cc5 ILT |
3438 | * elf.c (bfd_elf_set_dt_needed_name): Don't do anything if the |
3439 | BFD is not of the right type. | |
3440 | (bfd_elf_get_needed_list): Likewise. | |
3441 | * i386linux.c (bfd_linux_size_dynamic_sections): Likewise. | |
3442 | * sunos.c (bfd_sunos_get_needed_list): Likewise. | |
3443 | * xcofflink.c (XCOFF_XVECP): Define. | |
3444 | (bfd_xcoff_link_record_set): Don't do anything if the BFD is not | |
3445 | of the right type. | |
3446 | (bfd_xcoff_import_symbol): Likewise. | |
3447 | (bfd_xcoff_export_symbol): Likewise. | |
3448 | (bfd_xcoff_link_count_reloc): Likewise. | |
3449 | (bfd_xcoff_record_link_assignment): Likewise. | |
3450 | (bfd_xcoff_size_dynamic_sections): Likewise. | |
3451 | ||
baabeb74 ILT |
3452 | * sunos.c (sunos_scan_ext_relocs): Only check the reloc symbol |
3453 | table index against the number of symbols for a base relative | |
3454 | reloc. | |
3455 | ||
73246ff8 ILT |
3456 | * coff-rs6000.c (_bfd_xcoff_sizeof_headers): Change from macro to |
3457 | static function. | |
3458 | * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Set | |
3459 | full_aouthdr flag here... | |
3460 | (_bfd_xcoff_bfd_final_link): ...not here. | |
3461 | ||
6ab826bd FF |
3462 | Tue Oct 31 12:52:02 1995 Fred Fish <[email protected]> |
3463 | ||
3464 | * libelf.h: Rename to elf-bfd.h to avoid conflict with | |
3465 | systems that have a system <libelf.h>. | |
3466 | * Makefile.in: Globally replace libelf.h with elf-bfd.h. | |
3467 | * bfd.c, elf.c, elf32-arc.c, elf32-gen.c, elf32-hppa.c, | |
3468 | elf32-hppa.h, elf32-i386.c, elf32-i860.c, elf32-m68k.c, | |
3469 | elf32-m88k.c, elf32-mips.c, elf32-ppc.c, elf32-sparc.c, | |
3470 | elf64-gen.c, elf64-sparc.c, elfcode.h, elflink.c, | |
3471 | elfxx-target.h: Include elf-bfd.h rather than libelf.h. | |
3472 | * elfxx-target.h: Change libelf.h reference to elf-bfd.h. | |
3473 | ||
999cc186 ILT |
3474 | Tue Oct 31 15:30:07 1995 David Mosberger-Tang <[email protected]> |
3475 | ||
0652d579 ILT |
3476 | * ecoff.c (ecoff_set_symbol_info): Add new parameter weak. If |
3477 | set, set BSF_WEAK in symbol. Change all callers. | |
3478 | (ecoff_get_extr): Set weakext based on BSF_WEAK. | |
3479 | (ecoff_link_add_externals): If weakext is set, pass BSF_WEAK to | |
3480 | _bfd_generic_link_add_one_symbol. | |
3481 | (ecoff_indirect_link_order): Check that the section tdata relocs | |
3482 | are not NULL before using them. | |
3483 | ||
999cc186 ILT |
3484 | * configure.in (alpha*-*-linux*): Set COREFILE to trad-core.o and |
3485 | define TRAD_HEADER as hosts/alphalinux.h. | |
3486 | * configure: Rebuild. | |
3487 | * hosts/alphalinux.h: New file. | |
3488 | * trad-core.c (trad_unix_core_file_p): Cast u.u_ar0 to bfd_vma, | |
3489 | not int. | |
3490 | ||
e6080520 ILT |
3491 | Tue Oct 31 12:34:11 1995 Ian Lance Taylor <[email protected]> |
3492 | ||
2bd0aeb9 ILT |
3493 | * coffcode.h (coff_slurp_symbol_table): Accept C_BCOMM and |
3494 | C_ECOMM storage classes. | |
3495 | ||
e6080520 ILT |
3496 | * xcofflink.c (xcoff_mark_symbol): New static function, broken out |
3497 | of xcoff_mark. | |
3498 | (xcoff_mark): Call xcoff_mark_symbol. | |
3499 | (bfd_xcoff_export_symbol): Call xcoff_mark_symbol. | |
3500 | (bfd_xcoff_link_count_reloc): Call xcoff_mark_symbol rather than | |
3501 | doing it by hand. | |
3502 | (xcoff_build_ldsyms): Build a .loader symbol for an export symbol. | |
3503 | ||
5fe14a9f ILT |
3504 | Mon Oct 30 14:53:48 1995 Ian Lance Taylor <[email protected]> |
3505 | ||
f630a0a4 ILT |
3506 | * xcofflink.c (struct xcoff_final_link_info): Add new line_filepos |
3507 | field. | |
3508 | (xcoff_find_reloc): New static function. | |
3509 | (xcoff_link_add_symbols): Use it. | |
3510 | (_bfd_xcoff_bfd_final_link): Set finfo.line_filepos. | |
3511 | (xcoff_link_input_bfd): Handle C_BINCL and C_EINCL. Don't | |
3512 | relocate the value of C_DECL. | |
3513 | ||
5fe14a9f ILT |
3514 | * elf.c (elf_fake_sections): Remove bogus BFD_ASSERT. |
3515 | ||
dff77ed7 SC |
3516 | Sat Oct 28 01:25:34 1995 steve chamberlain <[email protected]> |
3517 | ||
3518 | * cofflink.c (_bfd_coff_generic_relocate_section): Make | |
3519 | callback decide what goes in .relocs. | |
3520 | * pe[i]-i386.c (TARGET_UNDERSCORE): Define. | |
3521 | * peicode.h (pe_mkobject_hook): Only copy aouthdr if | |
3522 | there is one. | |
3523 | ||
697a8fe8 ILT |
3524 | Sat Oct 28 01:51:02 1995 Ian Lance Taylor <[email protected]> |
3525 | ||
3526 | * xcofflink.c (xcoff_link_add_symbols): Handle csects in the | |
3527 | absolute section. | |
3528 | ||
2d7de17d ILT |
3529 | Fri Oct 27 18:14:39 1995 Ian Lance Taylor <[email protected]> |
3530 | ||
3531 | * xcofflink.c: More improvements, mostly to fix handling of | |
3532 | constructors and a few other special cases. | |
3533 | * coff-rs6000.c (rs6000coff_vec): Set symbol_leading_char back to | |
3534 | zero, reverting yesterday's change. | |
3535 | * bfd-in.h (bfd_xcoff_link_record_set): Declare. | |
3536 | (bfd_xcoff_link_count_reloc): Declare. | |
3537 | (bfd_xcoff_record_link_assignment): Declare. | |
3538 | * bfd-in2.h: Rebuild. | |
3539 | ||
f552f751 NH |
3540 | Fri Oct 27 14:42:15 1995 Niklas Hallqvist <[email protected]> |
3541 | ||
4906b2a3 | 3542 | * PORTING, aout-arm.c, aout-encap.c, aout-target.h, |
f552f751 NH |
3543 | aoutx.h, gen-aout.c, host-aout.c, hp300bsd.c, i386aout.c |
3544 | i386bsd.c, i386dynix.c, i386linux.c, i386lynx.c, i386mach3.c, | |
3545 | i386netbsd.c, m68klynx.c, m88kmach3.c, mipsbsd.c, newsos3.c, | |
3546 | ns32knetbsd.c, pc532-mach.c, riscix.c, sparclynx.c, sparcnetbsd.c: | |
3547 | Change PAGE_SIZE to TARGET_PAGE_SIZE. | |
3548 | ||
3549 | * m68knetbsd.c: Ditto as well as add support for the m68k4k object | |
3550 | format. | |
3551 | ||
3552 | * netbsd.h: Double ditto (incl. m68k4k support). NetBSD's text | |
3553 | segments includes the a.out header. See to that the magic number | |
3554 | *always* is big-endian. | |
3555 | ||
3556 | * config.bfd: Add m68*-hp*-netbsd* case. Cross-pollinate m68k and | |
3557 | m68k4k NetBSD configurations. | |
3558 | ||
3559 | * configure.in, configure: Separate i386 & mips NetBSD | |
3560 | configurations from other BSD ones. Don't assume DEC is the only | |
3561 | thing NetBSD/mips run on. Add {m68k,ns32k,sparc}-*-netbsd* | |
3562 | configurations. Add support for m68k4k NetBSD object format. | |
3563 | ||
3564 | * libaout.h: Added M_68K4K_NETBSD magic. | |
6fd1f40d NH |
3565 | |
3566 | * m68k4knetbsd.c: New file. | |
f552f751 NH |
3567 | |
3568 | * hosts/{m68k,sparc}nbsd.h: Don't define HOST_BIG_ENDIAN_P. | |
3569 | ||
3570 | * hosts/nbsd.h: Define HOST_BIG_ENDIAN_P according to | |
3571 | <machine/endian.h>. | |
3572 | ||
6fd1f40d NH |
3573 | * hosts/mipsnbsd.h: New file. |
3574 | ||
d6d44ef9 SG |
3575 | start-sanitize-gm |
3576 | Fri Oct 27 09:41:51 1995 Stu Grossman ([email protected]) | |
3577 | ||
3578 | * config.bfd: Add config stuff for mips*-*-magic* to set | |
3579 | targ_defvec to ecoff_big_vec. | |
3580 | ||
3581 | end-sanitize-gm | |
867d923d ILT |
3582 | Thu Oct 26 14:16:47 1995 Ian Lance Taylor <[email protected]> |
3583 | ||
3584 | * xcofflink.c: Numerous changes to get closer to a working XCOFF | |
3585 | linker. | |
3586 | * libcoff-in.h (struct xcoff_tdata): Add full_aouthdr, | |
3587 | toc_section, and entry_section fields. | |
3588 | (struct xcoff_section_tdata): Remove ldrel_count field. | |
3589 | * libcoff.h: Rebuild. | |
3590 | * coffcode.h (coff_mkobject_hook): Initialize new xcoff_data | |
3591 | fields. | |
3592 | (coff_compute_section_file_positions): If RS6000COFF_C, generate | |
3593 | full a.out header if full_aouthdr is set in xcoff_data. | |
3594 | (coff_write_object_contents): Likewise. Set o_snentry and o_sntoc | |
3595 | based on sections stored in xcoff_data. | |
3596 | * coff-rs6000.c (xcoff_copy_private_bfd_data): Copy new xcoff_data | |
3597 | fields. | |
aad2c618 ILT |
3598 | (xcoff_reloc_type_lookup): Handle BFD_RELOC_CTOR. |
3599 | (rs6000coff_vec): Set symbol_leading_char to '.'. | |
867d923d ILT |
3600 | * coffgen.c (coff_get_symbol_info): If fix_value is set, fix the |
3601 | value stored in ret rather than returning a pointer value. | |
3602 | ||
6bd9ffdb MM |
3603 | Wed Oct 25 23:10:39 1995 Michael Meissner <[email protected]> |
3604 | ||
3605 | * config.bfd (powerpc{,le}-{elf,sysv4,eabi,solaris2}): Remove MAC | |
3606 | format for now. | |
3607 | ||
9d14250f JL |
3608 | Wed Oct 25 16:19:27 1995 Jeffrey A Law ([email protected]) |
3609 | ||
3610 | * som.c (som_slurp_string_table): Allocate the strings with malloc | |
3611 | since they're free'd by free_cached_info. | |
3612 | (som_slurp_symbol_table): Similarly for the symbol table. | |
3613 | ||
a2bd0529 PB |
3614 | Wed Oct 25 14:59:22 1995 Per Bothner <[email protected]> |
3615 | ||
3616 | * Makefile.in (diststuff): Don't make headers. | |
3617 | ||
28a0c103 ILT |
3618 | Wed Oct 25 11:32:54 1995 Ian Lance Taylor <[email protected]> |
3619 | ||
356cd465 ILT |
3620 | * Makefile.in: Rebuild dependencies. |
3621 | ||
1edd3a7b ILT |
3622 | * sunos.c (bfd_sunos_record_link_assignment): Don't do anything if |
3623 | output_bfd is not SunOS. | |
3624 | (bfd_sunos_size_dynamic_sections): Likewise. Don't scan relocs of | |
3625 | non-SunOS input files. | |
3626 | ||
28a0c103 ILT |
3627 | * xcofflink.c: Extensive changes to support linking shared objects |
3628 | and generating a .loader section. | |
3629 | * libcoff-in.h (struct xcoff_tdata): Add import_file_id field. | |
b73322d9 ILT |
3630 | (struct xcoff_section_tdata): Add lineno_count, first_symndx, |
3631 | last_symndx, and ldrel_count fields. | |
28a0c103 ILT |
3632 | * libcoff.h: Rebuild. |
3633 | * coff-rs6000.c (xcoff_howto_table): Correct reloc names. | |
3634 | * coffcode.h (styp_to_sec_flags): Don't set any flags if STYP_PAD | |
3635 | is set. | |
3636 | * bfd-in.h (bfd_xcoff_import_symbol): Declare. | |
3637 | (bfd_xcoff_export_symbol): Declare. | |
3638 | (bfd_xcoff_size_dynamic_sections): Declare. | |
3639 | * bfd-in2.h: Rebuild. | |
3640 | ||
aadf04f7 SS |
3641 | Tue Oct 24 17:44:20 1995 Stan Shebs <[email protected]> |
3642 | ||
3643 | * configure.in: Add xcofflink.o to pmac_xcoff_vec. | |
3644 | * configure: Rebuild. | |
3645 | * mpw-config.in: Add xcofflink.c.o to powerpc-apple-macos. | |
3646 | * coff-pmac.c: Include coff-rs6000.c instead of duplicating its | |
3647 | contents. | |
3648 | (pmac_xcoff_vec): Update to use new xcoff support. | |
3649 | * coff-rs6000.c (xcoff_generic_stat_arch_elt): Make static. | |
3650 | (xcoff_write_armap): Declare buf as unsigned char. | |
3651 | * xcofflink.c (xcoff_link_add_symbols): Declare a local as PTR. | |
3652 | ||
3653 | * mpw-make.sed: Generalize subdir_do edit. | |
3654 | ||
ddf4639b JL |
3655 | Tue Oct 24 10:25:01 1995 Jeffrey A Law ([email protected]) |
3656 | ||
3657 | * hppabsd-core.c (make_bfd_asection): Initialize asect->filepos | |
3658 | correctly. Don't initialize asect->vma. | |
3659 | ||
e7bedf65 KR |
3660 | Fri Oct 20 13:23:48 1995 Ken Raeburn <[email protected]> |
3661 | ||
3662 | * opncls.c (_bfd_new_bfd): If _bfd_chunksize wasn't preset, use | |
3663 | something a little less than the page size. | |
3664 | ||
3665 | Thu Oct 19 13:06:09 1995 Ian Lance Taylor <[email protected]> | |
3666 | ||
3667 | * coff-i960.c (coff_i960_adjust_symndx): Clear *adjustedp. | |
3668 | ||
3a70e298 SC |
3669 | Wed Oct 18 16:20:08 1995 steve chamberlain <[email protected]> |
3670 | ||
3671 | * coff-i386.c (coff_i386_reloc_type_lookup): New. | |
3672 | * coffcode.h (coff_write_object_contents): If .bss is before | |
3673 | .data us that as data_start. | |
3674 | * cofflink.c (_bfd_coff_generic_relocate_section): Get reloc | |
3675 | calc correct. | |
3676 | * peicode.h (add_data_entry): Use _cooked_size of data directory. | |
3677 | (coff_swap_outhdr_out): Hardwire in version number. | |
3678 | ||
5a2846e3 KR |
3679 | Wed Oct 18 16:50:54 1995 Ken Raeburn <[email protected]> |
3680 | ||
3c3a5268 KR |
3681 | * sunos.c (sunos_add_dynamic_symbols): Rename local variables |
3682 | major and minor to *_vno, since the former are also macros in | |
3683 | SunOS header files. Cast result of bfd_alloc to appropriate | |
3684 | type. | |
3685 | ||
5a2846e3 KR |
3686 | * coffgen.c (coff_find_nearest_line): Cast used_by_bfd value |
3687 | before assigning to sec_data. | |
3688 | ||
0f6c885e ILT |
3689 | Wed Oct 18 13:25:17 1995 Ian Lance Taylor <[email protected]> |
3690 | ||
3691 | * ecoff.c (_bfd_ecoff_find_nearest_line): The offset argument is | |
3692 | now relative to the section, not absolute. | |
3693 | * ecofflink.c (_bfd_ecoff_locate_line): Use the right symbol to | |
3694 | get the file name when there is a N_SO directory name. When | |
3695 | handling stabs, remember that section->vma was added to the | |
3696 | offset. | |
3697 | ||
11fa6636 ILT |
3698 | Tue Oct 17 18:24:54 1995 Ian Lance Taylor <[email protected]> |
3699 | ||
3700 | * sunos.c (struct sunos_link_hash_table): Add needed field. | |
3701 | (sunos_link_hash_table_create): Call bfd_release, not free. | |
3702 | (sunos_link_hash_table_create): Initialize needed field. | |
3703 | (sunos_add_dynamic_symbols): Record needed objects. | |
3704 | (bfd_sunos_get_needed_list): New function. | |
3705 | * bfd-in.h (bfd_sunos_get_needed_list): Declare. | |
3706 | * bfd-in2.h: Rebuild. | |
3707 | ||
c974e19e SC |
3708 | Mon Oct 16 14:43:59 1995 steve chamberlain <[email protected]> |
3709 | ||
3710 | * libcoff-in.h (pe_data_type.in_reloc_p): New. | |
3711 | ||
22a35f0b ILT |
3712 | Mon Oct 16 10:52:50 1995 Ian Lance Taylor <[email protected]> |
3713 | ||
54406786 ILT |
3714 | * bfd-in.h (struct bfd_link_needed_list): Rename from |
3715 | bfd_elf_link_needed_list. | |
3716 | * bfd-in2.h: Rebuild. | |
3717 | * elf.c, elflink.h, libelf.h: Corresponding changes. | |
3718 | ||
dd984644 ILT |
3719 | Add start at AIX linker support; no shared libraries yet. |
3720 | * xcofflink.c: New file. | |
3721 | * configure.in (rs600coff_vec): Use xcofflink.o. | |
3722 | * configure: Rebuild. | |
3723 | * libcoff-in.h (struct xcoff_tdata): Add csects and debug_indices | |
3724 | fields. | |
3725 | (struct xcoff_section_tdata): Define. | |
3726 | (xcoff_section_data): Define macro. | |
3727 | (_bfd_xcoff_bfd_link_hash_table_create): Declare. | |
3728 | (_bfd_xcoff_bfd_link_add_symbols): Declare. | |
3729 | (_bfd_xcoff_bfd_final_link): Declare. | |
3730 | (_bfd_ppc_xcoff_relocate_section): Declare. | |
3731 | * libcoff.h: Rebuild. | |
3732 | * coff-rs6000.c: Clean up a bit. | |
3733 | (xcoff_mkobject): Default modtype to 1L, not RE. Initialize | |
3734 | cputype, csects, and debug_indices. | |
3735 | (xcoff_copy_private_bfd_data): Copy cputype. | |
3736 | (xcoff_howto_table): Rename from rs6000coff_howto_table. | |
3737 | (xcoff_rtype2howto): Rename from rs6000coff_rtype2howto. | |
3738 | (xcoff_reloc_type_lookup): Rename from | |
3739 | rs6000coff_reloc_type_lookup. | |
3740 | (coff_relocate_section): Define. | |
3741 | (_bfd_xcoff_sizeof_headers): Define. | |
3742 | (_bfd_xcoff_bfd_get_relocated_section_contents): Define. | |
3743 | (_bfd_xcoff_bfd_relax_section): Define. | |
3744 | (_bfd_xcoff_bfd_link_split_section): Define. | |
3745 | (rs6000coff_vec): For BFD_JUMP_TABLE_LINK, use _bfd_xcoff, not | |
3746 | coff. | |
3747 | * coffcode.h (coff_compute_section_file_positions): If AIX, | |
3748 | increment sofar by SMALL_AOUTSZ if not executable. | |
3749 | (coff_write_object_contents): If AIX, always output an a.out | |
3750 | header; if not executable, header size of SMALL_AOUTSZ. | |
3751 | * hash.c (struct bfd_strtab_hash): Add xcoff field. | |
3752 | (_bfd_stringtab_init): Initialize xcoff field. | |
3753 | (_bfd_xcoff_stringtab_init): New function. | |
3754 | (_bfd_stringtab_add): In XCOFF mode, leave two bytes for length. | |
3755 | (_bfd_stringtab_emit): In XCOFF mode, write out length. | |
3756 | * libbfd-in.h (_bfd_xcoff_stringtab_init): Declare. | |
3757 | * libbfd.h: Rebuild. | |
3758 | * Makefile.in: Rebuild dependencies. | |
3759 | (BFD32_BACKENDS): Add xcofflink.o. | |
3760 | (CFILES): Add xcofflink.c. | |
3761 | ||
22a35f0b ILT |
3762 | * elf32-mips.c (mips_elf_symbol_processing): Set SEC_ALLOC, not |
3763 | SEC_NO_FLAGS, for .acommon section. From Peter Schauer | |
3764 | <[email protected]>. | |
3765 | ||
fb417a21 MM |
3766 | Sat Oct 14 21:36:02 1995 Michael Meissner <[email protected]> |
3767 | ||
3768 | * coff-ppc.c (in_reloc_p): Add, clone from coff-i386.c. | |
3769 | ||
3770 | Fri Oct 13 17:48:43 1995 Ken Raeburn <[email protected]> | |
3771 | ||
3772 | * acconfig.h (HAVE_SYS_PROCFS_H): Undef, with comment. | |
3773 | * config.in: Regenerated. | |
3774 | ||
3775 | * opncls.c (getpagesize) [!HAVE_GETPAGESIZE]: Define as 2048. | |
3776 | (_bfd_chunksize): New variable. | |
3777 | (_bfd_new_bfd): Set it to getpagesize() if negative, and use it | |
3778 | for obstack chunk size. | |
3779 | * configure.in: Check for getpagesize. | |
3780 | * configure: Regenerated. | |
3781 | ||
3782 | Mon Sep 25 22:49:32 1995 Andreas Schwab <[email protected]> | |
3783 | ||
3784 | * trad-core.c (rawptr): Make it a local variable of | |
3785 | ptrace_unix_core_file_p. | |
3786 | ||
b1e46369 SC |
3787 | Fri Oct 13 11:22:01 1995 steve chamberlain <[email protected]> |
3788 | ||
3789 | * coff-arm.c (in_reloc_p): New. | |
3790 | * coff-i386.c (in_reloc_p): New. | |
3791 | * coffcode.h: Allways include peicode.h if COFF_WITH_PE. | |
3792 | (coff_write_object_contents): Only set has_reloc_section | |
3793 | if PE_IMAGE. | |
3794 | * cofflink.c (_bfd_coff_generic_relocate_section): Call | |
3795 | in_reloc_p to decide if reloc should be emitted. | |
3796 | * libcoff.h (pe_data_type.in_reloc_p): New. | |
3797 | * peicode.h (pe_mkobject): Initialize in_reloc_p. | |
3798 | ||
ee9f09cd ILT |
3799 | Wed Oct 11 00:49:29 1995 Ian Lance Taylor <[email protected]> |
3800 | ||
b1e46369 SC |
3801 | * cofflink.c (_bfd_coff_internal_syment_name): Move to coffgen.c. |
3802 | (_bfd_coff_read_internal_relocs): Likewise. | |
3803 | * coffgen.c (_bfd_coff_internal_syment_name): Copy from coffgen.c. | |
3804 | (_bfd_coff_read_internal_relocs): Likewise. | |
3805 | ||
ee9f09cd ILT |
3806 | * elflink.h (elf_link_add_object_symbols): Correct conditions |
3807 | under which type and size change warnings are issued. | |
3808 | ||
78b31b6b ILT |
3809 | Tue Oct 10 18:32:46 1995 Ian Lance Taylor <[email protected]> |
3810 | ||
3811 | * coffgen.c (coff_count_linenumbers): Don't count line numbers for | |
3812 | a symbol which is not in a real section. | |
3813 | (coff_write_native_symbol): Corresponding change. | |
3814 | ||
3815 | * cofflink.c (_bfd_coff_link_hash_newfunc): Rename from | |
3816 | coff_link_hash_newfunc and make non-static. | |
3817 | (_bfd_coff_link_hash_table_init): New function, broken out of | |
3818 | _bfd_coff_link_hash_table_create. | |
3819 | (_bfd_coff_link_hash_table_create): Use it. | |
3820 | (process_embedded_commands): Make static. | |
3821 | * libcoff-in.h ((_bfd_coff_link_hash_newfunc): Declare. | |
3822 | (_bfd_coff_link_hash_table_init): Declare. | |
3823 | * libcoff.h: Rebuild. | |
3824 | ||
3825 | * coffcode.h (coff_mkobject_hook): If RS6000COFF_C, set cputype | |
3826 | field in XCOFF tdata. | |
3827 | (coff_set_arch_mach_hook): Check ifdef RS6000COFF_C, not ifdef | |
3828 | U802ROMAGIC, for clarity. Try to set arch and machine correctly | |
3829 | based on cputype stored in a.out header, or in n_type of initial | |
3830 | .file symbol. | |
3831 | (coff_write_object_contents): Set cputype correctly in a.out | |
3832 | header. | |
3833 | (coff_slurp_symbol_table): Add casts to file_ptr to avoid | |
3834 | warnings. | |
3835 | * coffswap.h (coff_swap_aouthdr_in): Swap in cputype field. | |
3836 | (coff_swap_aouthdr_out): Swap out cputype field. Don't clear | |
3837 | old resv1 field. | |
3838 | * libcoff-in.h (struct xcoff_tdata): Add cputype field. | |
3839 | * libcoff.h: Rebuild. | |
3840 | ||
3841 | * cpu-rs6000.c (rs6000_compatible): New static function. | |
3842 | (bfd_rs6000_arch): Use it. | |
3843 | * cpu-powerpc.c (powerpc_compatible): New static function. | |
3844 | (arch_info_struct): Define various flavours of PowerPC. | |
3845 | (bfd_powerpc_arch): Use powerpc_compatible. Point at | |
3846 | arch_info_struct. | |
3847 | ||
9dd7e56f FF |
3848 | Tue Oct 10 10:50:46 1995 Fred Fish <[email protected]> |
3849 | ||
78b31b6b | 3850 | * Makefile.in (FLAGS_TO_PASS): Remove BISON. |
9dd7e56f | 3851 | |
8235c112 ILT |
3852 | Tue Oct 10 01:28:29 1995 Ian Lance Taylor <[email protected]> |
3853 | ||
3854 | * elflink.h (elf_link_add_object_symbols): Don't warn about | |
3855 | changing the size or type if the old definition was weak. | |
3856 | ||
0322af0d ILT |
3857 | Mon Oct 9 11:24:08 1995 Ian Lance Taylor <[email protected]> |
3858 | ||
49488f2b ILT |
3859 | * coffcode.h (combined_entry_type): Add fix_line field. |
3860 | (coff_slurp_line_table): Warn if we try to set the lineno field of | |
3861 | a symbol twice. | |
3862 | (coff_slurp_symbol_table): If RS6000COFF_C, handle C_BINCL and | |
3863 | C_EINCL by setting fix_line. Fix C_BSTAT symbol value. | |
3864 | * coffgen.c (coff_mangle_symbols): Handle fix_line. | |
3865 | (coff_write_symbol): Only use N_DEBUG if the symbol is in the | |
3866 | absolute section. | |
3867 | (coff_print_symbol): Print fix_value symbols in a useful fashion. | |
3868 | * libcoff.h: Rebuild. | |
3869 | ||
5f710a3a ILT |
3870 | * libcoff-in.h (struct xcoff_tdata): Define. |
3871 | (xcoff_data): Define. | |
3872 | * bfd.c (struct _bfd): Add xcoff_obj_data field to tdata union. | |
3873 | * bfd-in2.h, libcoff.h: Rebuild. | |
3874 | * coff-rs6000.c (xcoff_mkobject): New static function. | |
3875 | (coff_mkobject): Define. | |
3876 | (xcoff_copy_private_bfd_data): New static function. | |
3877 | (coff_bfd_copy_private_bfd_data): Define. | |
3878 | (rs6000coff_howto_table): Change R_TOC complain_on_overflow from | |
3879 | signed to bitfield. | |
3880 | (rs6000coff_vec): Add DYNAMIC to object_flags. | |
3881 | * coffcode.h (sec_to_styp_flags): If RS6000COFF_C, handle .pad and | |
3882 | .loader sections specially. | |
3883 | (coff_new_section_hook): If RS6000COFF_C, get the .text and .data | |
3884 | section alignment from the XCOFF tdata information. | |
3885 | (coff_mkobject_hook): If RS6000COFF_C, set DYNAMIC based on | |
3886 | F_SHROBJ, and copy the extra a.out header information into the | |
3887 | XCOFF tdata structure. | |
3888 | (coff_write_object_contents): If RS6000COFF_C, set F_SHROBJ, | |
3889 | F_DYNLOAD and the extra a.out header information. | |
3890 | (coff_slurp_symbol_table): Set BSF_NOT_AT_END for a C_EXT or | |
3891 | C_HIDEXT symbol with attached csect information. | |
3892 | * coffswap.h (coff_swap_aouthdr_in): If RS6000COFF_C, swap | |
3893 | in the o_maxdata field. | |
3894 | (coff_swap_aouthdr_out): If RS6000COFF_C, swap extra XCOFF fields. | |
3895 | * coffgen.c (coff_renumber_symbols): Don't move any symbol to the | |
3896 | end if BSF_NOT_AT_END is set. | |
3f2c5b2d | 3897 | |
0322af0d ILT |
3898 | * targets.c (bfd_target): Rename _bfd_read_ar_hdr field to |
3899 | _bfd_read_ar_hdr_fn. | |
3900 | * libbfd-in.h (_bfd_read_ar_hdr): Update accordingly. | |
3901 | * bfd-in2.h, libbfd.h: Rebuild. | |
3902 | * archive.c (_bfd_get_elt_at_filepos): Cast _bfd_read_ar_hdr | |
3903 | return value. | |
3904 | (do_slurp_bsd_armap, do_slurp_coff_armap): Likewise. | |
3905 | (bfd_slurp_bsd_armap_f2): Likewise. | |
3906 | (_bfd_slurp_extended_name_table): Likewise. | |
3907 | ||
3266eaff KR |
3908 | Fri Oct 6 16:18:35 1995 Ken Raeburn <[email protected]> |
3909 | ||
3910 | Mon Sep 25 22:49:32 1995 Andreas Schwab <[email protected]> | |
3911 | ||
3912 | * archive.c (bfd_get_next_mapent): Return BFD_NO_MORE_SYMBOLS | |
3913 | when the symbol table is empty. | |
3914 | ||
3915 | * elf32-m68k.c (elf_m68k_size_dynamic_sections): Don't reserve | |
3916 | space for section symbols, since we don't output them either. | |
3917 | (elf_m68k_adjust_dynindx): Removed. | |
3918 | ||
3919 | * ptrace-core.c (rawptr): Make it a local variable of | |
3920 | ptrace_unix_core_file_p. | |
3266eaff | 3921 | |
249479fa MM |
3922 | Fri Oct 6 12:24:47 1995 Michael Meissner <[email protected]> |
3923 | ||
45b5d2f0 MM |
3924 | * coff-rs6000.c (xcoff_write_archive_contents): Return false, not |
3925 | NULL. | |
3926 | ||
249479fa MM |
3927 | * config.bfd (powerpc{,le}-{elf,sysv4,eabi,solaris2}): Add NT, and |
3928 | Mac object file formats. | |
3929 | ||
c53fac12 ILT |
3930 | Fri Oct 6 12:04:02 1995 Ian Lance Taylor <[email protected]> |
3931 | ||
4372f33f ILT |
3932 | * coffgen.c (coff_fix_symbol_name): Don't try to set up file |
3933 | auxent if there isn't one. | |
3934 | (coff_write_symbols): If there is no file auxent, use SYMNMLEN | |
3935 | rather than FILNMLEN as the maximum name length. | |
3936 | ||
0fc9ada9 ILT |
3937 | * coffcode.h (bfd_coff_backend_data): Add new field |
3938 | _bfd_coff_print_aux. | |
3939 | (bfd_coff_print_aux): New static function. | |
3940 | (coff_pointerize_aux_hook (RS6000COFF_C version)): Pointerize the | |
3941 | scnlen field of an XTY_LD csect aux entry. | |
3942 | (coff_print_aux): New static function. | |
3943 | (coff_slurp_symbol_table): Don't pointerize scnlen field; now done | |
3944 | in coff_pointerize_aux_hook. | |
3945 | (bfd_coff_std_swap_table): Initialize new field. | |
3946 | * coffgen.c (coff_print_symbol): Call bfd_coff_print_aux. | |
3947 | * libcoff.h: Rebuild. | |
3948 | * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. | |
3949 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
3950 | ||
7860fe38 ILT |
3951 | * coffcode.h (coff_write_object_contents): On AIX, clear F_RELFLG |
3952 | if there are symbols, for native AIX ld compatibility. | |
3953 | ||
c80cc833 ILT |
3954 | * coffcode.h (bfd_coff_backend_data): Add new field |
3955 | _bfd_coff_pointerize_aux_hook. | |
3956 | (coff_pointerize_aux_hook): Define as a function if RS6000COFF_C | |
3957 | or I960, and as 0 otherwise. | |
3958 | (bfd_coff_std_swap_table): Initialize new field. | |
3959 | * libcoff.h: Rebuild. | |
3960 | * coffgen.c (coff_pointerize_aux): Change parameters to take | |
3961 | symbol pointer instead of type and class, and to take aux index. | |
3962 | Call _bfd_coff_pointerize_aux_hook if it is defined. | |
3963 | (coff_get_normalized_symtab): Always call coff_pointerize_aux. | |
3964 | * coff-alpha.c (alpha_ecoff_backend_data): Initialize all fields. | |
3965 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
3966 | ||
c53fac12 ILT |
3967 | * coff-rs6000.c: Add full support for AIX archives. Rewrite old |
3968 | read-only/host-only support. | |
3969 | ||
3970 | * coffcode.h (coff_slurp_symbol_table): Set C_HIDEXT symbols to be | |
3971 | BSF_LOCAL. | |
d11e6b52 ILT |
3972 | (OTHER_GLOBAL_CLASS): Do not define to be C_HIDEXT if |
3973 | RS6000COFF_C. | |
c53fac12 ILT |
3974 | |
3975 | * targets.c (bfd_target): Add _bfd_read_ar_hdr field. Modify | |
3976 | BFD_JUMP_TABLE_ARCHIVE accordingly. | |
3977 | * libbfd-in.h (_bfd_snarf_ar_hdr): Don't declare. | |
3978 | (_bfd_compute_and_write_armap): Declare. | |
3979 | (_bfd_generic_read_ar_hdr): Declare. | |
3980 | (_bfd_read_ar_hdr): Define. | |
3981 | (_bfd_noarchive_read_ar_hdr): Define. | |
3982 | (_bfd_archive_bsd_read_ar_hdr): Define. | |
3983 | (_bfd_archive_coff_read_ar_hdr): Define. | |
3984 | * archive.c: Change all callers of _bfd_snarf_ar_hdr to call | |
3985 | _bfd_read_ar_hdr instead. | |
3986 | (_bfd_generic_read_ar_hdr): Rename from _bfd_snarf_ar_hdr. | |
3987 | (_bfd_compute_and_write_armap): Rename from | |
3988 | compute_and_write_armap. Make non-static. Change all callers. | |
3989 | * ecoff.c (_bfd_ecoff_slurp_armap): Call _bfd_read_ar_hdr rather | |
3990 | than _bfd_snarf_ar_hdr. | |
3991 | * aout-target.h (MY_read_ar_hdr): Define if not defined. | |
3992 | * ieee.c (ieee_read_ar_hdr): Define. | |
3993 | * libecoff.h (_bfd_ecoff_read_ar_hdr): Define. | |
3994 | * oasys.c (oasys_read_ar_hdr): Define. | |
3995 | * som.c (som_read_ar_hdr): Define. | |
3996 | * bfd-in2.h, libbfd.h: Rebuild. | |
3997 | ||
f8e47484 SC |
3998 | Thu Oct 5 14:04:07 1995 steve chamberlain <[email protected]> |
3999 | ||
4000 | * peicode.c (coff_swap_filehdr_in): If symptr is | |
4001 | zero, there aren't any symbols, even if nsyms is set. | |
4002 | ||
2b874a2d ILT |
4003 | Thu Oct 5 11:45:02 1995 Ian Lance Taylor <[email protected]> |
4004 | ||
aca73687 ILT |
4005 | * libecoff.h (struct ecoff_backend_data): Add adjust_headers |
4006 | field. | |
4007 | * ecoff.c (ecoff_sec_to_styp_flags): Check for various Alpha | |
4008 | sections, and set styp correctly for them: .got, .hash, .dynamic, | |
4009 | .liblist, .rel.dyn, .conflic, .dynstr, .dynsym, .comment. | |
4010 | (_bfd_ecoff_styp_to_sec_flags): Check for various Alpha section | |
4011 | types. | |
4012 | (ecoff_sort_hdrs): New static function. | |
4013 | (ecoff_compute_section_file_positions): Return boolean, not void. | |
4014 | Sort the sections by VMA before looking through them. Put the | |
4015 | first non SEC_ALLOC section on a new page. Put every SEC_ALLOC | |
4016 | section on an appropriate boundary within the page. | |
4017 | (ecoff_compute_reloc_file_positions): Check return value of | |
4018 | ecoff_compute_section_file_positions. | |
4019 | (_bfd_ecoff_set_section_contents): Likewise. | |
4020 | (_bfd_ecoff_write_object_contents): Check for various Alpha | |
4021 | section types when incrementing text_size and data_size. Call | |
4022 | adjust_headers backend function if it exists. | |
4023 | * coff-alpha.c (alpha_adjust_headers): New static function. | |
4024 | (alpha_ecoff_backend_data): Initialize adjust_headers field. | |
4025 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
4026 | ||
2b874a2d ILT |
4027 | * hosts/i386bsd.h: Restore file incorrectly deleted on Sep 6. |
4028 | ||
c780e5db JL |
4029 | Wed Oct 4 18:15:02 1995 Jeff Law ([email protected]) |
4030 | ||
4031 | * rs6000-core.c (CORE_VERSION_1): Use CORE_VERSION_1 instead | |
4032 | of ALTERNATE_AIX_CORE_FORMAT. | |
4033 | * configure.in (aix4): No longer need CORE_FLAGS. | |
4034 | * configure: Updated. | |
4035 | ||
2a01c351 KR |
4036 | Wed Oct 4 15:36:36 1995 Ken Raeburn <[email protected]> |
4037 | ||
4038 | NS32k changes from Ian Dall: | |
4039 | * aoutx.h (MY_final_link_relocate, MY_relocate_contents): New | |
4040 | macros. | |
4041 | (aout_link_input_section_std, aout_link_input_section_ext, | |
4042 | aout_link_reloc_link_order): Call them instead of _bfd_* | |
4043 | versions. | |
4044 | * aout-target.h (MY_exec_header_not_counted): New macro, defaults | |
4045 | to zero. | |
4046 | (backend_data): Use it instead of hardcoded zero. | |
4047 | ||
4048 | * aout-ns32k.c (CTOR_TABLE_RELOC_HOWTO): New macro. | |
4049 | (MY_swap_std_reloc_out): Use udata.i for KEEPIT, don't call stoi. | |
4050 | ||
4051 | * ns32knetbsd.c: Include bfd.h. | |
4052 | (MY_text_includes_header, MY_bfd_reloc_type_lookup): New macros. | |
4053 | (MY_bfd_reloc_type_lookup): Declare function too. | |
4054 | * pc532-mach.c (set_sizes): Don't declare. | |
4055 | (MY_text_includes_header, MY_exec_header_not_counted): Define. | |
4056 | (backend_data, MY_backend_data): Don't define. | |
4057 | ||
4058 | * config.bfd: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and | |
4059 | ns32k-*-lites* like ns32k-*-netbsd*. | |
4060 | ||
4061 | * hosts/nbsd.h: Swap order of sys/vmparam.h and sys/param.h, to | |
4062 | compile on lites. | |
4063 | ||
5944d75b ILT |
4064 | Wed Oct 4 14:15:52 1995 Ian Lance Taylor <[email protected]> |
4065 | ||
4066 | * coffcode.h (coff_write_object_contents): Restore setting | |
4067 | f_timdat to 0, deleted on August 22. | |
4068 | ||
db344f82 SC |
4069 | Tue Oct 3 16:28:32 1995 steve chamberlain <[email protected]> |
4070 | ||
4071 | * coffcode.h (coff_bfd_copy_private_symbol_data, | |
4072 | coff_bfd_copy_private_section_data, | |
4073 | coff_bfd_copy_private_bfd_data): ifdef to allow overrides. | |
4074 | * peicode.h (coff_bfd_copy_private_bfd_data): New | |
4075 | (pe_bfd_copy_private_bfd_data): New. | |
4076 | (coff_swap_scnhdr_in): Swap bss size into the right place. | |
4077 | (pe_print_private_bfd_data): Add some newlines. | |
5944d75b | 4078 | |
c780e5db | 4079 | Tue Oct 3 11:53:04 1995 Jeff Law ([email protected]) |
97f1feda JL |
4080 | |
4081 | * som.c (setup_sections): Don't die if a space has no subspaces. | |
4082 | ||
3d7c42c9 ILT |
4083 | Mon Oct 2 14:08:55 1995 Ian Lance Taylor <[email protected]> |
4084 | ||
4085 | * elflink.h (elf_link_add_object_symbols): Don't let a weak | |
4086 | dynamic symbol override a common symbol. Don't change the size or | |
4087 | type if they have been set and the new symbol is not a definition. | |
4088 | Warn if the size or type changes. | |
4089 | ||
c780e5db | 4090 | Sun Oct 1 01:34:41 1995 Jeff Law ([email protected]) |
709af562 JL |
4091 | |
4092 | * som.c (som_begin_writing): Don't write the symbol table or | |
4093 | symbol strings. | |
4094 | (som_finish_writing): Write them here. Place them after the | |
4095 | subspace data, but before the relocs. | |
4096 | ||
4097 | Fri Sep 29 11:01:55 1995 Ian Lance Taylor <[email protected]> | |
4098 | ||
4099 | * sunos.c (sunos_add_one_symbol): Just pass false, not | |
4100 | info->shared_library, to sunos_create_dynamic_sections. | |
4101 | (sunos_scan_ext_relocs): Don't warn about a reloc in the .text | |
4102 | section. | |
4103 | (sunos_check_dynamic_reloc): Remove .text section assertion. | |
4104 | ||
7009e451 SS |
4105 | Thu Sep 28 18:48:47 1995 Stan Shebs <[email protected]> |
4106 | ||
4107 | * config.bfd: Add powerpc-*-macos*, powerpc-*-mpw*. | |
4108 | * configure, configure.in: Add pmac_xcoff_vec case. | |
4109 | * Makefile.in (BFD32_BACKENDS): Add coff-pmac.o. | |
4110 | * coff-pmac.c: New file, PowerMac XCOFF support. | |
4111 | * coffcode.h (coff_set_arch_mach_hook): Add PowerMac case. | |
4112 | * targets.c (pmac_xcoff_vec): Declare. | |
4113 | ||
4114 | * mpw-config.in: Various changes to be compatible with the | |
4115 | autoconf-based configury. | |
4116 | * mpw-make.sed: New file, sed commands to translate Unix | |
4117 | makefile into MPW syntax. | |
4118 | * mpw-make.in: Remove. | |
4119 | * hosts/mpw.h: Remove. | |
4120 | * bfd-in.h, bfd-in2.h: If MPW, include the file that defines | |
4121 | true and false as enums, then define TRUE_FALSE_ALREADY_DEFINED. | |
4122 | ||
b91537be SC |
4123 | Thu Sep 28 17:06:23 1995 steve chamberlain <[email protected]> |
4124 | ||
4125 | * binary.c (binary_get_symtab): Return an empty string on error. | |
4126 | * opncls.c (bfd_fdpenr): Change WIN32 restriction to WINGDB. | |
4127 | ||
30360a6f KK |
4128 | Thu Sep 28 15:30:44 1995 Kim Knuttila <krk@nellie> |
4129 | ||
4130 | * coff-ppc.c: Reformatted according to gnu conventions | |
4131 | Removed irrelevant "if 0" code | |
4132 | ||
20d1e233 ILT |
4133 | Thu Sep 28 11:19:53 1995 Ian Lance Taylor <[email protected]> |
4134 | ||
69fd4fdd ILT |
4135 | * hp300hpux.c (convert_sym_type): Treat secondary symbols as weak |
4136 | symbols rather than as indirect symbols. | |
4137 | (MY(slurp_symbol_table)): Don't do anything special about | |
4138 | secondary symbols. | |
4139 | ||
46b5a892 ILT |
4140 | * coffcode.h (coff_new_section_hook): Make sure that the alignment |
4141 | of .ctors and .dtors sections is no larger than 2. | |
4142 | ||
9db59230 ILT |
4143 | * sunos.c (sunos_add_one_symbol): Don't change |
4144 | bfd_link_hash_common to bfd_link_hash_new, since it may be on the | |
4145 | undef list. | |
4146 | (bfd_sunos_record_link_assignment): Don't put __DYNAMIC in the | |
4147 | dynamic symbols when creating a shared library. | |
4148 | (sunos_scan_ext_relocs): Handle relocs correctly when creating a | |
4149 | shared library. | |
4150 | (sunos_scan_dynamic_symbol): Don't mark the __DYNAMIC symbol as | |
4151 | written even if it is not defined in a regular object. | |
4152 | (sunos_write_dynamic_symbol): Use plt_offset for the address of | |
4153 | the jump table reloc. Add an assertion. Use RELOC_JMP_SLOT | |
4154 | rather than the constant 22. | |
4155 | (sunos_check_dynamic_reloc): Handle creating a shared library. | |
4156 | (sunos_finish_dynamic_link): Set the first entry in the GOT to | |
4157 | zero when creating a shared library. | |
4158 | * aoutx.h (NAME(aout,final_link)): If there is a symbol __DYNAMIC, | |
4159 | write it out at the start of the symbol table. | |
4160 | ||
20d1e233 ILT |
4161 | * Makefile.in (BFD32_BACKENDS): Add coff-arm.o. |
4162 | ||
a11e10fe DE |
4163 | Thu Sep 28 00:58:05 1995 Doug Evans <[email protected]> |
4164 | ||
4165 | * config.bfd: Add arm-*-coff. | |
4166 | * configure.in, configure: Add armcoff_{little,big}_vec. | |
4167 | * targets.c (armcoff_{little,big}_vec): Declare. | |
4168 | (bfd_target_vector): Add armcoff_{little,big}_vec. | |
4169 | * coff-arm.c (armcoff_{little,big}_vec): Always define. | |
4170 | ||
99062cfc ILT |
4171 | Wed Sep 27 10:37:14 1995 Ian Lance Taylor <[email protected]> |
4172 | ||
4173 | * targets.c (bfd_find_target): Remove debugging code. | |
4174 | ||
deacbe0f KK |
4175 | Wed Sep 27 07:23:39 1995 Kim Knuttila <krk@nellie> |
4176 | ||
4177 | * coff-ppc.c, pe-ppc.c, pei-ppc.c: Initial bfd for coff/PE | |
4178 | support on powerpc. | |
4179 | * Makefile.in: added *-ppc files | |
4180 | * coffcode.h: ppc MAGIC, and use peicode.h rather than coffswap.h to | |
4181 | allow pe based .o's to be shared with other tools on ppc/NT | |
4182 | * config.bfd: added powerpc[le]-[pe|winnt] config support | |
4183 | * configure, configure.in: added bfd_powerpc[le]_pe[i]_vec | |
4184 | * peicode.h: Added more section flags for PE on ppc | |
4185 | Added coff_swap_filehdr_out to allow peicode.h to be | |
4186 | used for non-image PE files on ppc. | |
4187 | Check for image, or not, before copying pe_opthdr | |
4188 | * targets.c: Added new bfd's | |
30360a6f KK |
4189 | * targets.c: Removed two inactive bfds that shouldn't have made it this |
4190 | far. | |
deacbe0f | 4191 | |
d22b02e0 MM |
4192 | Tue Sep 26 14:06:41 1995 Michael Meissner <[email protected]> |
4193 | ||
4194 | * elf32-ppc.c (ppc_reloc_type): Rename from reloc_type, and use | |
4195 | explicit values to initialize all relocs. Change all users. | |
4196 | (ppc_elf_brtaken_inner): New function to handle branch predicition | |
4197 | relocs. | |
4198 | (ppc_elf_brtaken_reloc): Ditto. | |
4199 | (ppc_elf_howto_raw): Use new functions. Make sure all unsupported | |
4200 | relocs use ppc_elf_unsupported_reloc. | |
4201 | (ppc_elf_merge_private_bfd_data): Keep track of whether an error | |
4202 | needs to be reported. | |
4203 | (ppc_elf_relocate_section): Support branch prediction relocs. | |
4204 | ||
fcf490c0 ILT |
4205 | Tue Sep 26 12:48:05 1995 Ian Lance Taylor <[email protected]> |
4206 | ||
e6cb7b41 ILT |
4207 | * bfd.c (bfd_assert): Remove \n from string passed to |
4208 | _bfd_error_handler. | |
4209 | ||
1af85fbb ILT |
4210 | * coff-i386.c: (TWO_DATA_SECS): Don't define. |
4211 | * coffcode.h (bfd_coff_backend_data): Remove _bfd_make_section_hook. | |
4212 | (bfd_coff_make_section_hook): Don't define. | |
4213 | (coff_make_section_hook): Remove. | |
4214 | (sec_to_styp_flags): Remove TWO_DATA_SECS case. | |
4215 | (styp_to_sec_flags): Likewise. | |
4216 | (coff_write_object_contents): Likewise. | |
4217 | (bfd_coff_std_swap_table): Don't initialize make_section_hook | |
4218 | field. | |
4219 | * libcoff.h: Rebuild. | |
4220 | * coffgen.c (make_a_section_from_file): Just call | |
4221 | bfd_make_section_anyway, not bfd_make_section or | |
4222 | bfd_coff_make_section_hook. | |
4223 | * ecoff.c (_bfd_ecoff_make_section_hook): Remove. | |
4224 | * libecoff.h (_bfd_ecoff_make_section_hook): Don't declare. | |
4225 | * coff-alpha.c (alpha_ecoff_backend_data): Don't initialize | |
4226 | make_section_hook field. | |
4227 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
4228 | ||
fcf490c0 ILT |
4229 | * aoutx.h (translate_from_native_sym_flags): Don't try to stuff |
4230 | pointers into value field for warning and indirect symbols; just | |
4231 | leave the value field alone. | |
4232 | * linker.c (generic_link_add_symbol_list): Use next symbol for | |
4233 | warning and indirect symbols, rather than looking in symbol value. | |
4234 | * ecoff.c (ecoff_set_symbol_info): Remove indirect_ptr_ptr | |
4235 | parameter. Change all callers. Remove support for indirect | |
4236 | symbols; it didn't work anyhow. | |
4237 | (_bfd_ecoff_slurp_symbol_table): Remove indirect_ptr variable. | |
4238 | * syms.c: Change comments about BSF_WARNING and BSF_INDIRECT. | |
4239 | * bfd-in2.h: Rebuild. | |
4240 | ||
cc47d19a MM |
4241 | Mon Sep 25 16:04:09 1995 Michael Meissner <[email protected]> |
4242 | ||
4243 | * elf32-ppc.c (ppc_elf_howto_raw): For all 14-bit branch relocs, | |
4244 | go back to telling the tools this reloc operates on 32 bits. | |
4245 | ||
81449d47 ILT |
4246 | Mon Sep 25 11:48:02 1995 Ian Lance Taylor <[email protected]> |
4247 | ||
7a7fbffb ILT |
4248 | * aout-adobe.c (aout_adobe_callback): Use _bfd_error_handler |
4249 | rather than a direct fprintf. | |
4250 | * archive.c (_bfd_write_archive_contents): Likewise. | |
4251 | * coffcode.h (coff_slurp_symbol_table): Likewise. | |
4252 | * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Likewise. | |
4253 | (ppc_elf_unsupported_reloc): Likewise. | |
4254 | (ppc_elf_relocate_section): Likewise. | |
4255 | * i386linux.c (linux_tally_symbols): Likewise. | |
4256 | (linux_finish_dynamic_link): Likewise. | |
4257 | * osf-core.c (osf_core_core_file_p): Likewise. | |
4258 | * rs6000-core.c (rs6000coff_get_section_contents): Likewise. | |
4259 | * som.c (som_sizeof_headers): Likewise. | |
4260 | * srec.c (srec_bad_byte): Likewise. | |
4261 | * bfd.c (bfd_assert): Likewise. Also change file to be const. | |
4262 | * libbfd-in.h (bfd_assert): Declare first parameter const. | |
4263 | * libbfd.h: Rebuild. | |
4264 | * coff-a29k.c (a29k_reloc): Don't bother to fprintf; returning | |
4265 | bfd_reloc_overflow is enough. | |
4266 | * coff-h8300.c (rtype2howto): Don't bother to fprintf; just abort. | |
4267 | * coff-h8500.c (rtype2howto): Likewise. | |
4268 | * coff-z8k.c (rtype2howto): Likewise. | |
4269 | * coffcode.h (dummy_reloc16_extra_cases): Likewise. | |
4270 | * elf.c (_bfd_elf_get_lineno): Likewise. | |
4271 | (_bfd_elf_no_info_to_howto): Likewise. | |
4272 | (_bfd_elf_no_info_to_howto_rel): Likewise. | |
4273 | * hp300hpux.c (convert_sym_type): Likewise. | |
4274 | (MY(swap_std_reloc_in)): Likewise. | |
4275 | * elf.c (bfd_section_from_shdr): Remove #if 0 sections. | |
4276 | ||
f1c6dd5d ILT |
4277 | * libaout.h (struct aoutdata): Add line_buf field. |
4278 | * aoutx.h (NAME(aout,find_nearest_line)): Remove statics buffer | |
4279 | and filename_buffer. Instead, use a malloc buffer stored in the | |
4280 | new line_buf field. Remove length restrictions. | |
4281 | ||
f0500a41 ILT |
4282 | * coffgen.c (string_size): Remove static variable. |
4283 | (debug_string_size, debug_string_section): Likewise. | |
4284 | (coff_fix_symbol_name): Add string_size_p, debug_string_section_p, | |
4285 | and debug_string_size_p parameters. Use them instead of the | |
4286 | global variables. Change all callers. | |
4287 | (coff_write_symbol): Likewise. | |
4288 | (coff_write_alien_symbol, coff_write_native_symbol): Likewise. | |
4289 | (coff_write_symbols): Add local variables to replace removed | |
4290 | global variables. | |
4291 | ||
25b5a53d ILT |
4292 | * libcoff-in.h (struct coff_section_tdata): Add offset, i, |
4293 | function, and line_base fields. | |
4294 | * libcoff.h: Rebuild. | |
4295 | * coffgen.c (coff_find_nearest_line): Use section tdata to cache | |
4296 | information, rather than using static variables. | |
4297 | ||
641ac26a ILT |
4298 | * sunos.c (sunos_read_dynamic_info): Adjust offsets in an NMAGIC |
4299 | file. From Peter DeWolf <[email protected]>. | |
4300 | ||
81449d47 ILT |
4301 | * init.c (initialized): Remove static variable. |
4302 | (bfd_init): Don't bother setting initialized. | |
4303 | (bfd_check_init): Remove. | |
4304 | * opncls.c (_bfd_new_bfd): Don't call bfd_check_init. | |
4305 | * libbfd.h: Rebuild. | |
4306 | ||
138b9b81 PS |
4307 | Sat Sep 23 01:22:23 1995 Peter Schauer ([email protected]) |
4308 | ||
4309 | * rs6000-core.c (rs6000coff_core_p): Don't check the core file | |
4310 | size for full core dumps. Copy core file header to private data. | |
4311 | (rs6000coff_core_file_failing_command, | |
4312 | rs6000coff_core_file_failing_signal): New functions to extract | |
4313 | the file name and terminating signal from the core file. | |
4314 | * coff-rs6000.c: Use them. | |
4315 | ||
2ffbb79a ILT |
4316 | Fri Sep 22 17:44:47 1995 Ian Lance Taylor <[email protected]> |
4317 | ||
4318 | Change arch info to be const, initialized at compile time. | |
4319 | * archures.c: Reindent many functions. Change CONST to const. | |
4320 | (bfd_arch_info_type): Make arch_name const. Remove disassemble; | |
4321 | nothing set it anyhow. Make next const. | |
4322 | (bfd_arch_info_list): Remove. | |
4323 | (bfd_archures_list): Rename from archures_init_table. Change from | |
4324 | a table of function pointers to a table of bfd_arch_info_type | |
4325 | structure addresses. | |
4326 | (bfd_scan_arch): Rewrite accordingly. Return a const pointer. | |
4327 | (bfd_lookup_arch): Likewise. | |
4328 | (bfd_set_arch_info): Rewrite accordingly. Change argument to be a | |
4329 | const pointer. | |
4330 | (bfd_default_arch_struct): Make const. | |
4331 | (bfd_arch_init, bfd_arch_linkin): Remove. | |
4332 | (bfd_get_arch_info): Return a const pointer. | |
4333 | * init.c (bfd_init): Don't call bfd_arch_init. | |
4334 | * bfd.c (struct _bfd): Make arch_info const. | |
4335 | * bfd-in2.h: Rebuild. | |
4336 | * libbfd.h: Rebuild. | |
4337 | * configure.in: Put & before everything in $selarchs. | |
4338 | * configure: Rebuild. | |
4339 | * cpu-*.c: Change bfd_*_arch from a function which calls | |
4340 | bfd_arch_linkin to a const structure. | |
4341 | * ieee.c (ieee_object_p): Make arch const. | |
4342 | ||
02f85cda MM |
4343 | Fri Sep 22 16:23:18 1995 Michael Meissner <[email protected]> |
4344 | ||
4345 | * reloc.c (bfd_reloc_code_type): Add relocations to support all of | |
4346 | PowerPC V.4. | |
4347 | * bfd-in2.h: Regenerate. | |
4348 | * libbfd.h: Regenerate. | |
4349 | ||
4350 | * elf32-ppc.c (reloc_type): Update names to match current draft. | |
4351 | (ppc_elf_howto_raw): Mark 14 bit relocs as short sized and PC | |
4352 | relative. Update names to current V.4 draft. | |
4353 | (ppc_elf_reloc_type_lookup): Add support for more relocations. | |
4354 | (ppc_elf_relocate_section): Rename relocations to match draft. | |
4355 | ||
dd82c578 MM |
4356 | Thu Sep 21 21:53:18 1995 Michael Meissner <[email protected]> |
4357 | ||
4358 | * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Allow modules | |
4359 | compiled with -mrelocatable-lib to be linked with either normal | |
4360 | modules or -mrelocatable modules. | |
4361 | ||
f69e888e ILT |
4362 | Wed Sep 20 12:03:26 1995 Ian Lance Taylor <[email protected]> |
4363 | ||
e18c4e8f ILT |
4364 | * coffcode.h (coff_write_object_contents): Clear the vstamp field |
4365 | in the a.out header. | |
4366 | ||
f69e888e ILT |
4367 | * aoutx.h (NAME(aout,swap_ext_reloc_out)): Don't set r_extern for |
4368 | a reloc against a local symbol, even if it's not a section. | |
4369 | ||
a5655244 ILT |
4370 | Tue Sep 19 17:02:26 1995 Ian Lance Taylor <[email protected]> |
4371 | ||
4372 | * targets.c (bfd_target): Remove unused align_power_min field. | |
4373 | * bfd-in2.h: Rebuild. | |
4374 | * All backends: Remove initialization of align_power_min. | |
4375 | ||
500d7394 SC |
4376 | Tue Sep 19 14:02:21 1995 steve chamberlain <[email protected]> |
4377 | ||
4378 | * peicode.h (coff_swap_scnhdr_out): Get sizes for BSS right. | |
500d7394 | 4379 | |
049df0a8 ILT |
4380 | Mon Sep 18 14:35:01 1995 Arne H. Juul <[email protected]> |
4381 | ||
4382 | * config.bfd (mips-dec-netbsd*): New target. | |
4383 | * configure.host (mips-dec-netbsd*): New host. | |
4384 | * configure.in (mips-dec-netbsd*): New native. | |
4385 | * configure: Rebuild. | |
4386 | ||
1862bbd8 ILT |
4387 | Fri Sep 15 10:24:36 1995 Ian Lance Taylor <[email protected]> |
4388 | ||
4389 | Make the COFF backend linker merge common types: | |
4390 | * cofflink.c (struct coff_debug_merge_element): Define. | |
4391 | (struct coff_debug_merge_type): Define. | |
4392 | (struct coff_debug_merge_hash_entry): Define. | |
4393 | (struct coff_debug_merge_hash_table): Define. | |
4394 | (coff_debug_merge_hash_table_init): Define. | |
4395 | (coff_debug_merge_hash_table_free): Define. | |
4396 | (coff_debug_merge_hash_lookup): Define. | |
4397 | (struct coff_final_link_info): Add debug_merge field. | |
4398 | (coff_debug_merge_hash_newfunc): New static function. | |
4399 | (_bfd_coff_final_link): Allocate and free debug_merge table. | |
4400 | (coff_link_input_bfd): Merge identical enum, struct and union | |
4401 | types. | |
4402 | ||
a208a70f ILT |
4403 | Thu Sep 14 14:53:58 1995 Ian Lance Taylor <[email protected]> |
4404 | ||
4405 | Convert i960 COFF to use COFF backend linker. | |
4406 | * coff-i960.c (coff_i960_relocate): Use a coff_section_data | |
4407 | structure to store the symbol being used. | |
4408 | (coff_i960_start_final_link): New static function. | |
4409 | (coff_i960_relocate_section): New static function. | |
4410 | (coff_i960_adjust_symndx): New static function. | |
4411 | (coff_start_final_link): Define. | |
4412 | (coff_relocate_section): Define. | |
4413 | (coff_adjust_symndx): Define. | |
4414 | * coffcode.h (bfd_coff_backend_data): Add new callback function | |
4415 | _bfd_coff_start_final_link. | |
4416 | (bfd_coff_start_final_link): Define. | |
4417 | (coff_start_final_link): Define if not defined. | |
4418 | (bfd_coff_std_swap_table): Add coff_start_final_link. | |
4419 | * cofflink.c (_bfd_coff_internal_syment_name): Make globally | |
4420 | visible. | |
4421 | (_bfd_coff_final_link): Call bfd_coff_start_final_link if the | |
4422 | function callback is not NULL. | |
4423 | * libcoff-in.h (struct coff_section_tdata): Add tdata field. | |
4424 | (_bfd_coff_internal_syment_name): Declare. | |
4425 | * libcoff.h: Rebuild. | |
4426 | * configure.in (icoff_big_vec): Add cofflink.o. | |
4427 | (icoff_little_vec): Likewise. | |
4428 | * configure: Rebuild. | |
4429 | ||
f0abedbe FF |
4430 | Wed Sep 13 17:38:23 1995 Fred Fish <[email protected]> |
4431 | ||
4432 | * Makefile.in (clean-info): Remove extraneous tab from line | |
4433 | following action. | |
4434 | ||
aa4b3dc5 ILT |
4435 | Wed Sep 13 13:27:53 1995 Ian Lance Taylor <[email protected]> |
4436 | ||
4437 | * cofflink.c (coff_link_input_bfd): Fail if a section with no | |
4438 | contents has relocs. | |
4439 | ||
4ca63811 | 4440 | Thu Sep 12 12:45:34 1995 steve chamberlain <[email protected]> |
beee31b1 SC |
4441 | |
4442 | * coffcode.h (coff_compute_section_file_positions): Keep the | |
4443 | raw size safe. | |
4444 | (coff_write_object_contents): Remember if it's a relocatable | |
4445 | file. | |
4446 | * libcoff-in.h (pe_data_type): New member 'has_reloc_section' | |
4447 | * peicode.h (coff_swap_filehdr_out): Clear not-reloc flag | |
4448 | if relocatable file. Swap out saved raw size. | |
4449 | ||
ae115e51 ILT |
4450 | Tue Sep 12 12:14:33 1995 Ian Lance Taylor <[email protected]> |
4451 | ||
9521bac3 ILT |
4452 | * Makefile.in (do_maintainer_clean): Rename from do_realclean. |
4453 | (maintainer-clean): Rename from realclean, passing | |
4454 | maintainer-clean down to subdirectories, but leave realclean as a | |
4455 | synonym. | |
4456 | ||
4ca63811 ILT |
4457 | * linker.c (_bfd_generic_link_add_one_symbol): Pass symbol name to |
4458 | warning callback. | |
4459 | ||
5aa4c3ff ILT |
4460 | * dep-in.sed: Remove config.h from generated dependencies. |
4461 | ||
396aaeb2 ILT |
4462 | * sunos.c (sunos_slurp_dynamic_symtab): New static function, |
4463 | broken out of sunos_canonicalize_dynamic_symtab. | |
4464 | (sunos_canonicalize_dynamic_symtab): Call new function | |
4465 | sunos_slurp_dynamic_symtab. | |
4466 | (sunos_add_dynamic_symbols): Add three new parameters. Return the | |
4467 | dynamic symbol table to the caller. | |
4468 | * aoutx.h (aout_link_add_symbols): Permit add_dynamic_symbols | |
4469 | callback to override the symbols being read. | |
4470 | * libaout.h (struct aout_backend_data): Add three new parameters | |
4471 | to add_dynamic_symbols callback. | |
4472 | ||
ae115e51 ILT |
4473 | Extensive minor changes to avoid various gcc warnings. Also: |
4474 | * Makefile.in (BFD32_BACKENDS): Remove coff-arm.o. | |
4475 | * archures.c (bfd_arch_info_type): Change mach field from long to | |
4476 | unsigned long. | |
4477 | (bfd_lookup_arch): Change machine parameter from long to unsigned | |
4478 | long. | |
4479 | ||
b088e4b2 ILT |
4480 | Mon Sep 11 10:55:47 1995 Ian Lance Taylor <[email protected]> |
4481 | ||
4482 | * sunos.c (sunos_scan_std_relocs): Fix BFD_ASSERT: it's OK to find | |
4483 | a symbol with a non-zero plt_offset. | |
4484 | ||
1dff7902 ILT |
4485 | Fri Sep 8 11:47:24 1995 Ian Lance Taylor <[email protected]> |
4486 | ||
2b71e1e4 ILT |
4487 | * elfcode.h (align_file_position): Remove; not used. |
4488 | ||
1dff7902 ILT |
4489 | * configure.in: Only check for <sys/procfs.h> on a native system, |
4490 | and make sure it defines prstatus_t. | |
4491 | * configure: Rebuild. | |
4492 | ||
870015b1 ILT |
4493 | Thu Sep 7 12:48:01 1995 Ian Lance Taylor <[email protected]> |
4494 | ||
535c89f0 ILT |
4495 | * sunos.c (sunos_write_dynamic_symbol): Correct m68k abort test. |
4496 | ||
936b870c ILT |
4497 | * config.in: Rename from config.h.in. |
4498 | * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. | |
a7873a6c | 4499 | Check for config.h:config.in when creating stamp-h. |
936b870c | 4500 | * configure: Rebuild. |
a7873a6c ILT |
4501 | * Makefile.in (stamp-h): Depend upon config.in rather than |
4502 | config.h.in. Set CONFIG_HEADERS to config.h:config.in when | |
4503 | calling config.status. | |
936b870c | 4504 | |
870015b1 ILT |
4505 | * Makefile.in (do_distclean): Remove config.h and stamp-h. |
4506 | (Makefile): Just rebuild Makefile. | |
4507 | (config.h, stamp-h): New targets. | |
4508 | * configure.in: Create stamp-h when rebuilding config.h. | |
4509 | * configure: Rebuild. | |
4510 | ||
b7577823 ILT |
4511 | Wed Sep 6 15:00:33 1995 Ian Lance Taylor <[email protected]> |
4512 | ||
4513 | * configure.in: Call AC_CONFIG_HEADER. Substitute | |
4514 | HOST_64BIT_LONG. Check that various header files exist. Check | |
4515 | that fcntl exists. Call BFD_BINARY_FOPEN. Check whether malloc | |
4516 | and/or free need to be declared. Don't make a link to sysdep.h. | |
4517 | Define TRAD_HEADER for various hosts. | |
4518 | * configure: Rebuild. | |
4519 | * configure.host: Don't set my_host. Add definitions taken from | |
4520 | host header files for various entries. Remove entries which now | |
4521 | do nothing. | |
4522 | * acconfig.h: New file. | |
4523 | * config.h.in: New file, built by autoheader. | |
4524 | * sysdep.h: New file. | |
4525 | * Makefile.in (do_distclean): Don't remove sysdep.h. | |
4526 | (RECONFIG): Remove. | |
4527 | (LOCAL_H_DEPS): New variable. | |
4528 | ($(BFD_LIBS)): Use $(LOCAL_H_DEPS) rather than libbfd.h and | |
4529 | $(RECONFIG). | |
4530 | ($(BFD_MACHINES), $(BFD_BACKENDS)): Likewise. | |
4531 | ($(OPTIONAL_BACKENDS)): Likewise. | |
4532 | (stmp-bfd.h): Just substitute for BFD_HOST_64BIT_LONG, rather than | |
4533 | looking through sysdep.h. | |
4534 | * bfd-in.h (BFD_HOST_64BIT_LONG): Define; set by Makefile. | |
4535 | (BFD_HOST_64_BIT): Define based on BFD_HOST_64BIT_LONG. | |
4536 | (fprintf_vma, sprintf_vma): Likewise. | |
4537 | (int64_type, uint64_type): Don't define. | |
4538 | * bfd-in2.h: Rebuild. | |
4539 | * archures.c, bfd.c, srec.c: Include <ctype.h>. | |
4540 | * elfcore.h: Check HAVE_SYS_PROCFS_H rather than HAVE_PROCFS. | |
4541 | * lynx-core.c: Include stuff from old hosts/lynx.h. | |
4542 | * opncls.c (bfd_fdopenr): Check HAVE_FNCTL and defined (F_GETFL), | |
4543 | rather than NO_FCNTL. | |
4544 | * targets.c (bfd_target_list): Check HOST_HPPAHPUX and ! __STDC__ | |
4545 | rather than NATIVE_HPPAHPUX_COMPILER. | |
4546 | * trad-core.c: Don't include <errno.h>. Include TRAD_HEADER if it | |
4547 | is defined. | |
4548 | * hosts/*.h: Remove all header files which merely include, | |
4549 | declare, and define things. Leave header files which define | |
4550 | information needed by trad-core.c. | |
4551 | ||
4552 | * aclocal.m4 (BFD_BINARY_FOPEN): Define. | |
4553 | (BFD_CC_FOR_BUILD): Define. | |
4554 | * configure.in: Use BFD_CC_FOR_BUILD. | |
4555 | * configure: Rebuild. | |
4556 | ||
7a93ebdd ILT |
4557 | Tue Sep 5 19:35:28 1995 Ian Lance Taylor <[email protected]> |
4558 | ||
4c2e4d0e ILT |
4559 | * aclocal.m4: Don't try to grep ../Makefile if it doesn't exist. |
4560 | * configure: Rebuild. | |
4561 | ||
7a93ebdd ILT |
4562 | * coff-sparc.c (CALC_ADDEND): Don't set the addend to the value of |
4563 | a global symbol. | |
4564 | ||
866bb9e5 JM |
4565 | Tue Sep 5 12:48:26 1995 Jason Molenda ([email protected]) |
4566 | ||
4567 | * config.bfd: i386pe_ve -> i386pe_vec. | |
4568 | ||
2b79a104 ILT |
4569 | Mon Sep 4 14:02:43 1995 Ian Lance Taylor <[email protected]> |
4570 | ||
f515fb2f ILT |
4571 | * configure.host: Incorporate host Makefile fragments by setting |
4572 | shell variables. | |
4573 | * configure.in: Call AC_PROG_CC. Substitute CFLAGS, HDEFINES and | |
4574 | AR. Call AC_PROG_INSTALL. Substitute CC_FOR_BUILD, choosing a | |
4575 | value based on whether the code is being compiled by a cross | |
4576 | compiler. Don't substitute host_makefile_frag or frags. | |
4577 | * aclocal.m4: New file to define local AC_PROG_CC. | |
4578 | * configure: Rebuild. | |
4579 | * Makefile.in (INSTALL): Set to @INSTALL@. | |
4580 | (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@. | |
4581 | (INSTALL_DATA): Set to @INSTALL_DATA@. | |
4582 | (AR): Set to @AR@. | |
4583 | (CC): Define as @CC@. | |
4584 | (CFLAGS): Set to @CFLAGS@. | |
4585 | (CC_FOR_BUILD): Set to @CC_FOR_BUILD@. | |
4586 | (@host_makefile_frag@): Remove. | |
4587 | (ALL_CFLAGS): Change $(HDEFINES) to @HDEFINES@. Move $(CFLAGS) | |
4588 | after other options. | |
4589 | (config.status): Remove dependency upon @frags@. | |
4590 | * config/*.mh, config/README: Remove. | |
4591 | ||
2b79a104 ILT |
4592 | * config.bfd: Rewrite to incorporate the contents of the Makefile |
4593 | fragments by setting shell variables, rather than merely returning | |
4594 | the name of a Makefile fragment. | |
4595 | * configure.in: Use shell variables set by config.bfd rather than | |
4596 | looking at the target Makefile fragment files. Don't substitute | |
4597 | target_makefile_frag. Do substitute TDEFINES. | |
4598 | * configure: Rebuild. | |
4599 | * Makefile.in (@target_makefile_frag@): Remove. | |
4600 | (ALL_CFLAGS): Change $(TDEFINES) to @TDEFINES@. | |
4601 | * config/*.mt: Remove. | |
4602 | ||
2cb159a5 KR |
4603 | Mon Sep 4 03:13:28 1995 Ken Raeburn <[email protected]> |
4604 | ||
4605 | * configure.in: Put changequote lines around "i[345]86" patterns | |
4606 | section of core file support. | |
4607 | ||
ef07871c JL |
4608 | Sun Sep 3 11:31:58 1995 Jeff Law ([email protected]) |
4609 | ||
4610 | * som.c (som_bfd_print_private_bfd_data): Define to use the | |
4611 | generic version. | |
4612 | ||
1613e075 SC |
4613 | Fri Sep 1 17:08:40 1995 steve chamberlain <[email protected]> |
4614 | ||
4615 | * peicode.h (coff_swap_aouthdr_in): Add ImageBase to | |
4616 | entry, text_start and data_start. | |
4617 | ||
a52a3ce8 ILT |
4618 | Fri Sep 1 18:06:28 1995 Ian Lance Taylor <[email protected]> |
4619 | ||
a21227ef ILT |
4620 | * Makefile.in (OFILES): Remove $(TDEPFILES). |
4621 | * config/apollo.mt (TDEPFILES): Remove. | |
4622 | * config/README: Update. | |
4623 | ||
a52a3ce8 ILT |
4624 | * configure.in: For a native configuration, set COREFILE and |
4625 | COREFLAG based on the canonical host name. | |
4626 | * configure: Rebuild. | |
4627 | * Makefile.in: Rebuild dependencies. | |
4628 | (ALL_CFLAGS): Add @COREFLAG@. | |
4629 | (OFILES): Replace $(HDEPFILES) with @COREFILE@. | |
4630 | * coff-rs6000.c: Check AIX_CORE rather than HOST_AIX for core file | |
4631 | support routines. Check LYNX_CORE rather than HOST_LYNX. | |
4632 | * lynx-core.c: Check LYNX_CORE rather than HOST_LYNX. | |
4633 | * i386lynx.c: Likewise. | |
4634 | * m68klynx.c: Likewise. | |
4635 | * sparclynx.c: Likewise. | |
4636 | * rs6000-core.c: Check AIX_CORE rather than HOST_AIX. | |
4637 | * *-core.c: Comment changes. | |
4638 | * config/decstation.mh (HDEPFILES): Remove. | |
4639 | (HDEFINES): Remove -DTRAD_CORE. | |
4640 | * config/irix3.mh (RANLIB): Remove. | |
4641 | * config/irix4.mh (HDEPFILES, RANLIB): Remove. | |
4642 | (HDEFINES): Remove -DIRIX_CORE. | |
4643 | * config/riscos.mh (RANLIB, HDEPFILES): Remove. | |
4644 | (HDEFINES): Remove -DTRAD_CORE. | |
4645 | * config/ncr3000.mh (AR_FLAGS, RANLIB): Remove. | |
4646 | * config/ultra3.mh (RANLIB): Remove. | |
4647 | * config/aix4.mh, config/alphaosf.mh, config/amix.mh: Remove. | |
4648 | * config/apollo.mh, config/delta68.mh, config/delta88.mh: Remove. | |
4649 | * config/dpx2.mh, config/esix.mh, config/harris.mh: Remove. | |
4650 | * config/hp300.mh, config/hp300bsd.mh, config/hppabsd.mh: Remove. | |
4651 | * config/hppahpux.mh, config/hppaosf.mh: Remove. | |
4652 | * config/i386aix.mh, config/i386bsd.mh: Remove. | |
4653 | * config/i386linux.mh, config/i386mach3.mh: Remove. | |
4654 | * config/i386sco.mh, config/i386v.mh, config/i386v4.mh: Remove. | |
4655 | * config/irix5.mh, config/m88kmach3.mh, config/mipsbsd.mh: Remove. | |
4656 | * config/mipsmach3.mh, config/news-mips.mh: Remove. | |
4657 | * config/news.mh, config/pc532mach.mh, config/riscix.mh: Remove. | |
4658 | * config/rs600.mh, config/rs6000lynx.mh: Remove. | |
4659 | * config/solaris2.mh, config/stratus.mh: Remove. | |
4660 | * config/symmetry.mh, config/sysv4.mh, config/tahoe.mh: Remove. | |
4661 | * config/vaxbsd.mh, config/vaxult.mh, config/vaxult2.mh: Remove. | |
4662 | ||
d6f672b8 ILT |
4663 | Fri Sep 1 15:18:50 1995 Kazumoto Kojima <[email protected]> |
4664 | ||
4665 | * elflink.h (elf_bfd_final_link): Don't change a DT_INIT or | |
4666 | DT_FINI entry if the appropriate symbol is not in the hash table. | |
4667 | ||
4668 | * libelf.h (struct elf_backend_data): Add create_program_headers | |
4669 | and want_hdr_in_seg fields. | |
4670 | * elfxx-target.h (elf_backend_want_hdr_in_seg): Define if not | |
4671 | defined. | |
4672 | (elf_backend_create_program_headers): Likewise. | |
4673 | (elfNN_bed): Initialize create_program_headers and | |
4674 | want_hdr_in_seg. | |
4675 | * elf.c (get_program_header_size): Call create_program_headers | |
4676 | backend routine. | |
4677 | (map_program_segments): Check want_hdr_in_seg backend field. Call | |
4678 | create_program_headers backend routine. | |
4679 | ||
4680 | * elf.c (assign_file_positions_except_relocs): Align non allocated | |
4681 | sections when creating an executable. | |
4682 | ||
4683 | * elfcode.h (elf_swap_phdr_in): Make non static. | |
4684 | (elf_swap_phdr_out): Make non static. | |
4685 | * libelf.h (bfd_elf32_swap_phdr_in): Declare. | |
4686 | (bfd_elf32_swap_phdr_out): Declare. | |
4687 | (bfd_elf64_swap_phdr_in): Declare. | |
4688 | (bfd_elf64_swap_phdr_out): Declare. | |
4689 | ||
4690 | * ecofflink.c (ecoff_collect_shuffle): New static function. | |
4691 | (_bfd_ecoff_get_accumulated_pdr): New function. | |
4692 | (_bfd_ecoff_get_accumulated_sym): New function. | |
4693 | (_bfd_ecoff_get_accumulated_ss): New function. | |
4694 | * libbfd-in.h (_bfd_ecoff_get_accumulated_pdr): Declare. | |
4695 | (_bfd_ecoff_get_accumulated_sym): Declare. | |
4696 | (_bfd_ecoff_get_accumulated_ss): Declare. | |
4697 | * libbfd.h: Rebuild. | |
4698 | ||
0cb70568 ILT |
4699 | Fri Sep 1 13:20:25 1995 Ian Lance Taylor <[email protected]> |
4700 | ||
d6f672b8 ILT |
4701 | * libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): Fix typo. |
4702 | ||
0cb70568 ILT |
4703 | * elflink.h (elf_link_add_object_symbols): Handle indirect and |
4704 | warning symbols. If any section is named .gnu.warning.XXX, treat | |
4705 | the contents as a warning to be issued if the symbol XXX is | |
4706 | referenced. | |
4707 | (elf_link_output_extsym): For an indirect or warning symbol, just | |
4708 | output the symbol it points to. | |
4709 | ||
4710 | * linker.c (_bfd_link_hash_newfunc): Don't bother to set bfd_error | |
4711 | if bfd_hash_allocate fails, since it will already be set. | |
4712 | (generic_link_hash_newfunc): Likewise. | |
4713 | (archive_hash_newfunc): Likewise. | |
4714 | (hash_entry_bfd): New static function. | |
4715 | (_bfd_generic_link_add_one_symbol): Pass new arguments to warning | |
4716 | callback. Allocate a new warning using the hash table newfunc. | |
4717 | Use bfd_hash_replace to update the entry in the hash table, rather | |
4718 | than assuming we can copy the fields with structure assignment. | |
4719 | ||
4720 | * hash.c (bfd_hash_replace): New function. | |
4721 | * bfd-in.h (bfd_hash_replace): Declare. | |
4722 | * bfd-in2.h: Rebuild. | |
4723 | ||
f14db880 JSC |
4724 | Fri Sep 1 08:12:50 1995 James G. Smith <[email protected]> |
4725 | ||
4726 | * config.bfd: Add mips*vr4300-*-elf* target. | |
4727 | * config/mipsbvr4300.mt: Added. | |
4728 | ||
1613e075 | 4729 | See file ChangeLog.2 |
e6d739eb | 4730 | |
41126f15 JK |
4731 | \f |
4732 | Local Variables: | |
4733 | mode: indented-text | |
4734 | left-margin: 8 | |
6ec3bb6a ILT |
4735 | fill-column: 74 |
4736 | version-control: never | |
4737 | End: |