Commit | Line | Data |
---|---|---|
eb03bc25 RH |
1 | Thu Apr 16 13:49:00 1998 Richard Henderson <rth@cygnus.com> |
2 | ||
3 | * elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdisp | |
4 | comparisons signed. | |
5 | ||
25e8be1d ILT |
6 | Thu Apr 16 11:43:33 1998 Ian Lance Taylor <ian@cygnus.com> |
7 | ||
216c36d9 ILT |
8 | * archive.c (bfd_generic_archive_p): If a slurp subroutine returns |
9 | an error other than bfd_error_system_call, set the error to | |
10 | bfd_error_wrong_format. | |
11 | ||
b3c76255 ILT |
12 | * targets.c (bfd_target_vector) [SELECT_VECS not defined]: Add |
13 | bfd_elf32_powerpcle_vec. | |
14 | ||
25e8be1d ILT |
15 | * elf.c (copy_private_bfd_data): If all the p_paddr fields in the |
16 | program segments are zero, don't set p_paddr_valid. | |
17 | ||
69842d08 RH |
18 | Wed Apr 15 22:15:16 1998 Richard Henderson <rth@cygnus.com> |
19 | ||
20 | * elf64-alpha.c: Initial implementation of relaxation -- | |
21 | (struct alpha_elf_link_hash_entry): Add use_count member. | |
22 | (elf64_alpha_check_relocs): Initialize and increment it. | |
23 | (elf64_alpha_can_merge_gots): Check it when considering merging. | |
24 | (elf64_alpha_merge_gots): Drop entries with zero use. | |
25 | (elf64_alpha_calc_got_offsets_for_symbol): Likewise. | |
26 | (elf64_alpha_always_size_sections): Split out got sizing ... | |
27 | (elf64_alpha_size_got_sections): ... here. New function. | |
28 | (elf64_alpha_relax_find_reloc_ofs): New function. | |
29 | (elf64_alpha_relax_with_lituse): Likewise. | |
30 | (elf64_alpha_relax_without_lituse): Likewise. | |
31 | (elf64_alpha_relax_opt_call): Likewise. | |
32 | (elf64_alpha_relax_section): Likewise. | |
33 | (elf64_alpha_add_symbol_hook): Likewise. | |
34 | (elf64_alpha_howto_table): Implement GPRELHIGH/LOW & IMMED_GP_16. | |
35 | (elf64_alpha_relocate_section): Likewise. | |
36 | (bfd_elf64_bfd_relax_section): Define. | |
37 | (elf_backend_add_symbol_hook): Likewise. | |
38 | ||
b356d4af RH |
39 | Wed Apr 15 16:08:46 1998 Richard Henderson <rth@cygnus.com> |
40 | ||
41 | * elf.c (prep_headers): Use new EM_SPARCV9 symbol. | |
42 | * elf64-sparc.c (ELF_MACHINE_CODE): Likewise. | |
43 | (ELF_MACHINE_ALT1): New. Set to EM_OLD_SPARC64. | |
44 | ||
64596865 ILT |
45 | Wed Apr 15 11:34:33 1998 Ian Lance Taylor <ian@cygnus.com> |
46 | ||
47 | * configure.in: Add -lkernel32 to WIN32LIBADD on cygwin32. | |
48 | * configure: Rebuild. | |
49 | ||
5a83fcdd ILT |
50 | Mon Apr 13 16:46:27 1998 Ian Lance Taylor <ian@cygnus.com> |
51 | ||
52 | * Makefile.am (libbfd_la_LIBADD): Add @WIN32LIBADD@. | |
53 | (libbfd_la_LDFLAGS): Add @WIN32LDFLAGS@. | |
54 | * configure.in: Define and substitute WIN32LDFLAGS and | |
55 | WIN32LIBADD. | |
56 | * aclocal.m4: Rebuild with new libtool. | |
57 | * configure, Makefile.in: Rebuild. | |
58 | ||
c24c4203 ILT |
59 | Fri Apr 10 13:44:27 1998 Ian Lance Taylor <ian@cygnus.com> |
60 | ||
61 | * coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol | |
62 | before any other symbols in the same section. | |
63 | ||
d6c3cfb5 MM |
64 | Wed Apr 8 14:50:23 1998 Michael Meissner <meissner@cygnus.com> |
65 | ||
66 | * config.bfd (powerpc*-*-*): Remove PowerPC NT support from ELF | |
67 | systems. | |
68 | ||
b7781f9f GRK |
69 | Tue Apr 7 16:25:31 1998 Gavin Romig-Koch <gavin@cygnus.com> |
70 | ||
71 | * dwarf2.c (comp_unit): Move it earlier in the source. Add | |
72 | addr_size. | |
73 | (read_address): Replace 'bdf*' argument with 'comp_unit*' argument. | |
74 | Use addr_size for address size, rather than sizeof(bfd_vma). | |
75 | (read_attribute): Replace bdf* argument with 'comp_unit*' argument. | |
76 | Fix call to read_address. | |
77 | (decode_line_info): Replace bdf* argument with 'comp_unit*' argument. | |
78 | Scrap other unneeded arguments. Fix call to read_address. | |
79 | (scan_unit_for_functions): Fix call to read_attribute. | |
80 | (parse_comp_unit): We now handle more values for addr_size. | |
81 | Set addr_size in unit. Fix call to read_attribute and | |
82 | decode_line_info. | |
83 | ||
d02731be GRK |
84 | Tue Apr 7 15:44:47 1998 Gavin Romig-Koch <gavin@cygnus.com> |
85 | ||
86 | * dwarf2.c (parse_comp_unit): Drop use of unit->name when it is null. | |
87 | ||
1d9ee924 ILT |
88 | Tue Apr 7 12:35:18 1998 Ian Lance Taylor <ian@cygnus.com> |
89 | ||
90 | * archures.c (bfd_default_scan): Add m68k cases back to default | |
91 | switch, reverting patch of March 25, since IEEE support depends | |
92 | upon them. | |
93 | ||
78e700af ILT |
94 | Mon Apr 6 14:06:40 1998 Ian Lance Taylor <ian@cygnus.com> |
95 | ||
96 | * Makefile.am (diststuff): New target. | |
97 | * Makefile.in: Rebuild. | |
98 | ||
1fa0aaae JL |
99 | Sun Apr 5 16:21:44 1998 Jeffrey A Law (law@cygnus.com) |
100 | ||
101 | * som.c (som_bfd_ar_write_symbol_stuff): Fix computation of | |
102 | som_offset when we have an extended name table. | |
103 | ||
56231d31 ILT |
104 | Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org> |
105 | ||
106 | * Makefile.am (stamp-lib): Check that .libs/libbfd.a exists before | |
107 | trying to copy it. | |
108 | * Makefile.in: Rebuild. | |
109 | ||
c4ffc67c ILT |
110 | Fri Apr 3 11:09:42 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
111 | ||
112 | * elf32-m68k.c (elf_m68k_size_dynamic_sections): Generate section | |
113 | symbols when creating a shared library. | |
114 | (elf_m68k_adjust_dynindx): New function, used by above code. | |
115 | (elf_m68k_finish_dynamic_sections): Initialize the section | |
116 | symbols. | |
117 | (elf_m68k_relocate_section): Change abort to BFD_ASSERT. | |
118 | ||
119 | Wed Apr 1 16:04:02 1998 Nick Clifton <nickc@cygnus.com> | |
120 | ||
121 | * coff-arm.c (in_reloc_p): Use ARM_RVA32 in place of constant | |
122 | value 11. | |
123 | ||
ed5e146b ILT |
124 | Wed Apr 1 13:36:58 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
125 | ||
126 | * elf32-m68k.c (elf_m68k_relocate_section, case R_68K_PLT*O): Fix | |
127 | assertion. | |
128 | ||
b11b841b JL |
129 | Tue Mar 31 00:12:12 1998 Jeffrey A Law (law@cygnus.com) |
130 | ||
131 | * elf-m10300.c (mn10300_elf_relax_section): Correctly handle | |
132 | absolute symbols. | |
133 | ||
f3aa01e2 ILT |
134 | Mon Mar 30 12:46:15 1998 Ian Lance Taylor <ian@cygnus.com> |
135 | ||
136 | * configure.in: Set version to 2.9.1. | |
137 | * configure: Rebuild. | |
138 | ||
139 | * Branched binutils 2.9. | |
140 | ||
141 | Mon Mar 30 12:20:50 1998 Brent Baccala <baccala@freesoft.org> | |
142 | ||
143 | * syms.c (ENABLE_CACHING): Define. | |
144 | (struct indexentry): Define. | |
145 | (struct stab_cache): Remove. | |
146 | (cmpindexentry): New static function. | |
147 | (struct stab_find_info): Add new fields: indextable, | |
148 | indextablesize, cached_indexentry, cached_offset, cached_stab, and | |
149 | cached_file_name. Remove fields: file_cache, function_cache, and | |
150 | line_cache. | |
151 | (_bfd_stab_section_find_nearest_line): Rewrite to build a sorted | |
152 | index table and search it. | |
153 | ||
24bce4a2 ILT |
154 | Mon Mar 30 10:39:34 1998 Ian Lance Taylor <ian@cygnus.com> |
155 | ||
368802d1 ILT |
156 | * elf.c (_bfd_elf_copy_private_section_data): Call |
157 | copy_private_bfd_data once we've seen the last SEC_ALLOC section. | |
158 | ||
24bce4a2 ILT |
159 | * cpu-mips.c: Remove trailing comma at end of enumeration list. |
160 | ||
ac129350 ILT |
161 | Sat Mar 28 16:33:02 1998 Ian Lance Taylor <ian@cygnus.com> |
162 | ||
163 | * coff-arm.c: Define all globally visible variables and functions | |
164 | only when COFF_WITH_PE is not defined. | |
165 | * configure.in (armpe_little_vec, armpe_big_vec): Add | |
166 | coff-arm.lo. | |
167 | * configure: Rebuild. | |
168 | ||
f6727b90 ILT |
169 | Fri Mar 27 16:06:02 1998 Ian Lance Taylor <ian@cygnus.com> |
170 | ||
171 | Fix some gcc -Wall warnings: | |
172 | * aout-arm.c (MY(fix_pcrel_26)): Add casts to avoid warnings. | |
173 | * archive.c (_bfd_generic_read_ar_hdr_mag): Likewise. | |
174 | * archures.c (bfd_default_scan): Likewise. | |
175 | * bfd.c (bfd_scan_vma): Likewise. | |
176 | * binary.c (mangle_name): Likewise | |
177 | * coff-arm.c (aoutarm_fix_pcrel_26): Likewise. | |
178 | * coff-sh.c (sh_relocate_section): Likewise. | |
179 | * coff-stgo32.c (create_go32_stub): Likewise. | |
180 | * coffcode.h (coff_slurp_line_table): Likewise. | |
181 | * ecoff.c (_bfd_ecoff_write_armap): Likewise. | |
182 | * elf.c (_bfd_elf_make_section_from_shdr): Likewise. | |
183 | (assign_file_positions_for_segments): Likewise. | |
184 | * elf32-mips.c (mips_elf_relocate_section): Likewise. | |
185 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. | |
186 | * oasys.c (oasys_write_sections): Likewise. | |
187 | * ppcboot.c (ppcboot_object_p): Likewise. | |
188 | (mangle_name): Likewise. | |
189 | * riscix.c (riscix_fix_pcrel_26): Likewise. | |
190 | * srec.c (srec_scan): Likewise. | |
191 | * stabs.c (_bfd_write_section_stabs): Likewise. | |
192 | * sunos.c (sunos_add_dynamic_symbols): Likewise. | |
193 | * aout-ns32k.c (_bfd_ns32k_relocate_contents): Add default case to | |
194 | switch. Declare parameters for function pointers. | |
195 | * archures.c (bfd_default_scan): Add braces to avoid ambiguous if | |
196 | warning. | |
197 | * elf.c (elf_sort_sections): Likewise. | |
198 | * coff-arm.c (coff_thumb_pcrel_common): Initialize relocation. | |
199 | Add default cases to switches. | |
200 | (coff_arm_relocate_section): Remove unused local variables. | |
201 | Always set rstat. | |
202 | (coff_arm_bfd_set_private_flags): Change flag variable to type | |
203 | flagword. | |
204 | * coff-mips.c (mips_relocate_section): Initialize use_lo. | |
205 | * coff-ppc.c (ppc_record_toc_entry): Change i to unsigned int. | |
206 | (dump_toc): Change cat to const, and initialize it. | |
207 | * coff-sh.c (sh_relax_delete_bytes): Initialize start and voff. | |
208 | * elf32-sh.c (sh_elf_relax_delete_bytes): Likewise. | |
209 | (sh_elf_relocate_section): Initialize r_symndx. | |
210 | * coffcode.h (coff_compute_section_file_positions): Only declare | |
211 | old_sofar if ALIGN_SECTIONS_IN_FILE. | |
212 | (coff_write_object_contents): Initialize csym. | |
213 | * coffgen.c (coff_pointerize_aux): Make type and class unsigned. | |
214 | * cpu-ns32k.c (_bfd_ns32k_get_displacement): Add default case to | |
215 | switch. | |
216 | * dwarf2.c: Include libiberty.h. | |
217 | (read_2_signed_bytes, read_4_signed_bytes): Comment out. | |
218 | (decode_line_info): Remove unused local variables. | |
219 | * elf32-m32r.c (m32r_elf_sda16_reloc): Likewise. | |
220 | (m32r_elf_relocate_section): Likewise. | |
221 | * elf32-v850.c (v850_elf_store_addend_in_insn): Likewise. | |
222 | (v850_elf_reloc): Likewise. | |
223 | * elf-bfd.h (elf_linker_section_t): Make alignment unsigned. | |
224 | (struct elf_obj_tdata): Make cverdefs and cverrefs unsigned. | |
225 | * elf.c (assign_file_positions_for_segments): Always set adjust. | |
226 | * elf32-d30v.c (bfd_elf_d30v_reloc): Initialize tmp_addr. Fully | |
227 | parenthesize expression. | |
228 | * elf32-m32r.c (m32r_elf_relocate_section): Always initialize h. | |
229 | (m32r_elf_object_p): Return a value. | |
230 | (m32r_elf_print_private_bfd_data): Change fprintf format string. | |
231 | * elf32-mips.c (mips_elf_final_link): Initialize last. | |
232 | (mips_elf_finish_dynamic_sections): Initialize last and dindx. | |
233 | * elf32-v850.c (v850_elf_object_p): Return a value. | |
234 | (v850_elf_print_private_bfd_data): Change fprintf format string. | |
235 | * elfcode.h (elf_slurp_symbol_table): Change symcount and i to | |
236 | unsigned long. | |
237 | * elflink.h (elf_link_add_object_symbols): Change vernum to | |
238 | unsigned int, and initialize it. Change fprintf format string. | |
239 | (NAME(bfd_elf,size_dynamic_sections)): Cast -1 to bfd_size_type | |
240 | when setting or comparing to soname_indx. | |
241 | (elf_create_pointer_linker_section): Change num_symbols to | |
242 | unsigned int. | |
243 | * libcoff-in.h (coff_data_type): Change flags to flagword. | |
244 | * peicode.h (pe_print_idata): Initialize idx. Change j to | |
245 | bfd_size_type. Initialize hint_member. Remove useless test to | |
246 | time_stamp. | |
247 | (pe_print_edata): Change num_functions and num_names in struct | |
248 | EDT_type to unsigned long. Remove cast. Change fprintf format | |
249 | string. | |
250 | * ppcboot.c (ppcboot_object_p): Change i to size_t. | |
251 | * reloc.c (bfd_get_reloc_size): Change return type to unsigned | |
252 | int. | |
253 | * reloc16.c (bfd_coff_reloc16_relax_section): Change shrinks to | |
254 | int *. Update uses. Change j to long. | |
255 | * bfd-in2.h, libcoff.h: Rebuild. | |
256 | ||
197de3ba | 257 | Fri Mar 27 10:10:46 1998 Catherine Moore <clm@cygnus.com> |
08eefd3e ILT |
258 | |
259 | * elf32-v850.c Remove definition of USE_REL. | |
260 | (v850_elf_info_to_howto_rela): New function. | |
261 | (v850_elf_perform_relocation): Renamed from | |
262 | v850_elf_store_addend_in_insn. Removed replace argument. | |
263 | (v850_elf_reloc): store the relocation in the addend field instead | |
264 | of the insn. | |
265 | (v850_elf_final_link_relocate): Now calls | |
266 | v850_elf_perform_relocation. | |
267 | (v850_elf_relocate_section): Remove code to generate REL | |
268 | relocations. | |
269 | ||
f6727b90 ILT |
270 | Thu Mar 26 13:32:17 1998 Ian Lance Taylor <ian@cygnus.com> |
271 | ||
272 | * coffcode.h (coff_new_section_hook): Set the type and storage | |
273 | class in the native symbol information allocated for a new section | |
274 | symbol. | |
275 | ||
8c11394a NC |
276 | Thu Mar 26 10:13:41 1998 Nick Clifton <nickc@cygnus.com> |
277 | ||
278 | * peicode.h: Chain together calls to | |
279 | coff_bfd_copy_private_bfd_data and | |
280 | coff_bfd_print_private_bfd_data. | |
281 | ||
282 | * coff-arm.c: Add prototypes for | |
283 | coff_arm_bfd_print_private_bfd_data and | |
284 | coff_arm_bfd_copy_private_bfd_data. | |
285 | ||
38c574bb NC |
286 | Wed Mar 25 15:45:55 1998 Nick Clifton <nickc@cygnus.com> |
287 | ||
288 | * coffcode.h (coff_mkobject_hook): Set private falgs even for a PE | |
289 | build. | |
290 | ||
291 | * peicode.h: Call arm-coff private data functions after handling | |
292 | pe private data. | |
293 | ||
294 | * coff-arm.c: Turn statics into globals so that they can be shared | |
295 | both pe and pei backends. | |
296 | ||
d04efb80 ILT |
297 | Wed Mar 25 15:19:38 1998 Ian Lance Taylor <ian@cygnus.com> |
298 | ||
299 | * aoutf1.h (sunos_set_arch_mach): Use bfd_mach_m68* rather than | |
300 | plain numbers. | |
301 | (sunos_write_object_contents): Likewise. | |
302 | * aoutx.h (NAME(aout,machine_type)): Likewise. | |
303 | * coffcode.h (coff_set_arch_mach_hook): Likewise. | |
304 | ||
b35711c4 ILT |
305 | Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
306 | ||
ce6821a5 ILT |
307 | * archures.c (bfd_mach_m68*): Add definitions for various m68k |
308 | variants. | |
309 | (bfd_default_scan): Remove m68k special cases. | |
310 | * bfd-in2.h: Rebuild. | |
d04efb80 ILT |
311 | * mipsbsd.c (MY(write_object_contents)): Use bfd_mach_m68* rather |
312 | than plain numbers. | |
ce6821a5 ILT |
313 | * sparclynx.c (NAME(lynx,set_arch_mach)): Likewise. |
314 | * cpu-m68k.c (arch_info_struct): Likewise. Add entry for | |
315 | m68k:68000. | |
316 | (bfd_m68k_arch): Set mach field to zero to signal no explicit | |
317 | selection, change printable_name to just "m68k" and make that the | |
318 | default instead of m68k:68020. | |
319 | ||
df5f44d1 ILT |
320 | * aout-tic30.c (NAME): Define this to avoid multiple definitions |
321 | from aoutx.h. | |
322 | (MY_get_section_contents): Define as aout_32_get_section_contents | |
323 | rather than NAME(aout,get_section_contents). | |
324 | ||
325 | * elf-m10300.c (elf32_mn10300_link_hash_table_create): Fix cast. | |
326 | ||
b35711c4 ILT |
327 | * evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha |
328 | and call bfd_default_set_arch_mach to do the real work. | |
329 | ||
0892d40b RH |
330 | Wed Mar 25 10:41:35 1998 Richard Henderson <rth@cygnus.com> |
331 | ||
332 | * bout.c (BALX): Include return register g14 as part of the insn. | |
333 | (BALX_MASK): New. | |
334 | (calljx_callback): Use it. | |
335 | ||
1719df74 ILT |
336 | Wed Mar 25 11:19:28 1998 Ian Lance Taylor <ian@cygnus.com> |
337 | ||
ce6821a5 ILT |
338 | * libbfd-in.h (BFD_ALIGN): Cast this parameter to bfd_vma. |
339 | * libbfd.h: Rebuild. | |
340 | ||
df5f44d1 ILT |
341 | * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Change |
342 | byte_count to unsigned int. | |
343 | (mn10300_elf_relax_section): Initialize internal_relocs. Remove | |
344 | unused local variables. | |
345 | ||
b35711c4 ILT |
346 | * evax-alpha.c (evax_close_and_cleanup): Remove unused local |
347 | variables er and er1. | |
348 | ||
883f72a2 ILT |
349 | * cpu-v850.c: Include <ctype.h>. |
350 | (scan): Case isdigit argument to unsigned char. | |
351 | ||
1719df74 ILT |
352 | From Yan Meroth <YAN.MEROTH@st.com>: |
353 | * ihex.c (ihex_scan): Add extbase variable so that getting an | |
354 | extended linear address record does not ignore any previous | |
355 | extended address. | |
356 | (ihex_write_object_contents): When writing out an extended linear | |
357 | address record, zero out any previous extended address. | |
358 | ||
b7f28e8f ILT |
359 | Tue Mar 24 16:09:43 1998 Manfred Hollstein <manfred@s-direktnet.de> |
360 | ||
361 | * ieee.c (do_one): Check section before dereferencing it. | |
362 | (ieee_canonicalize_reloc): Likewise with src->relent.sym_ptr_ptr. | |
363 | (ieee_generic_stat_arch_elt): Likewise with abfd->my_archive. | |
364 | ||
615141db ILT |
365 | Mon Mar 23 18:51:47 1998 Joel Sherrill <joel@OARcorp.com> |
366 | ||
367 | * config.bfd: (sh*-*-rtems*): Switched from ELF to COFF. | |
368 | ||
454515c0 NC |
369 | Mon Mar 23 14:23:36 1998 Nick Clifton <nickc@cygnus.com> |
370 | ||
371 | * coff-arm.c: Add interworking functions to pe backends. | |
372 | ||
373 | start-sanitize-r5900 | |
374 | Sun Mar 22 13:05:08 1998 Jeffrey A Law (law@cygnus.com) | |
375 | ||
376 | * elf32-mips.c (R_MIPS15_S3): New relocation type. | |
377 | (elf_mips_howto_table): Add R_MIPS15_S3. | |
378 | (mips_reloc_map): Map BFD_RELOC_MIPS15_S3 to R_MIPS15_S3. | |
379 | * reloc.c (BFD_RELOC_MIPS15_S3): New relocation type. | |
380 | * bfd-in2.h, libbfd.h: Rebuilt. | |
381 | ||
382 | end-sanitize-r5900 | |
383 | Fri Mar 20 18:47:20 1998 Ian Lance Taylor <ian@cygnus.com> | |
384 | ||
385 | * configure.in: Use AM_DISABLE_SHARED. | |
386 | * aclocal.m4, configure: Rebuild with libtool 1.2. | |
387 | ||
a748b374 NC |
388 | Fri Mar 20 11:25:41 1998 Nick Clifton <nickc@cygnus.com> |
389 | ||
390 | * coff-arm.c (coff_arm_relocate_section): Better error messages | |
391 | when interowrking conflucts occur. Courtesy of Jonathan Walton | |
392 | and Tony Thompson. PR 15357. | |
393 | (aoutarm_std_reloc_howto): Fixed bitsize fields of rightshifted | |
394 | relocations. Patch courtesy of Jonathan Walton and Tony | |
395 | Thompson. PR 15373. | |
396 | ||
f2caa39b RH |
397 | Fri Mar 20 02:26:43 1998 Richard Henderson <rth@cygnus.com> |
398 | ||
399 | * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Revert | |
400 | part of Feb 22 change controling when to override the existing | |
401 | symbol with the .plt entry. | |
402 | ||
41eca8a7 NC |
403 | Wed Mar 18 09:26:25 1998 Nick Clifton <nickc@cygnus.com> |
404 | ||
405 | * config.bfd (targ_cpu): Add thumb-pe target. | |
406 | ||
407 | * coffcode.h (OTHER_GLOBAL_CLASS): Support thumb external | |
408 | functions in PE build. | |
409 | ||
410 | Sun Mar 8 23:37:26 1998 Stan Cox <scox@equinox.cygnus.com> | |
411 | ||
412 | * config.bfd (sparclite-*-elf*): Added. | |
413 | ||
ad4413e6 GRK |
414 | start-sanitize-vr4320 |
415 | Tue Mar 3 11:24:05 1998 Gavin Koch <gavin@cygnus.com> | |
416 | ||
417 | * mips-cpu.c: Reorganize sanitization. | |
418 | ||
419 | * archures.c, bfd-in2.h, mips-cpu.c : Added bfd_mach_mips4320. | |
420 | ||
421 | end-sanitize-vr4320 | |
3c9f13f4 ILT |
422 | Mon Feb 23 19:31:19 1998 Ian Lance Taylor <ian@cygnus.com> |
423 | ||
424 | * configure.in: Add elf.lo to elf shell variable. | |
425 | * Makefile.am (BFD_LIBS): Remove elf.lo. | |
426 | (BFD_LIBS_CFILES): Remove elf.c. | |
427 | (BFD32_BACKENDS): Add elf.lo. | |
428 | (BFD32_BACKENDS_CFILES): Add elf.c. | |
429 | * configure, Makefile.in: Rebuild. | |
430 | ||
b35d842d UD |
431 | 1998-02-23 15:53 Richard Henderson <rth@cygnus.com> |
432 | ||
433 | * elf32-i386.c (elf_i386_relocate_section): A pc-relative | |
434 | relocation against a now-local symbol should not have a dynamic | |
435 | relocation. | |
436 | ||
b1f09b63 ILT |
437 | Mon Feb 23 16:17:08 1998 Ian Lance Taylor <ian@cygnus.com> |
438 | ||
439 | * peicode.h (coff_swap_filehdr_in): Don't set BFD flag HAS_SYMS in | |
440 | COFF filehdr flags. | |
441 | (pe_print_private_bfd_data): Print PE flags. From Mikey | |
442 | <jeffdb@netzone.com>. | |
443 | ||
2f53b8ff RH |
444 | Sun Feb 22 20:39:00 1998 Richard Henderson <rth@cygnus.com> |
445 | ||
446 | * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create | |
b35d842d UD |
447 | a plt entry when we can determine that we authoritatively define |
448 | the symbol. | |
2f53b8ff | 449 | |
07fafd5d RH |
450 | Sun Feb 22 20:33:05 1998 Richard Henderson <rth@cygnus.com> |
451 | ||
452 | * configure.in (COREFILE selection): Remove sparc-*-linux*. They | |
453 | don't actually use trad-core, but a SunOS-style core file handled | |
454 | by gdb directly. | |
455 | * hosts/sparclinux.h: Remove. | |
456 | ||
457 | start-sanitize-sky | |
458 | Thu Feb 19 02:38:52 1998 Doug Evans <devans@charmed.cygnus.com> | |
459 | ||
460 | * reloc.c (BFD_RELOC_MIPS_DVP_27_S4): New reloc type. | |
461 | * elf32-mips.c (enum reloc_type): Add R_MIPS_DVP_27_S4. | |
462 | (elf_mips_dvp_27_s4_howto): Describe it. | |
463 | (bfd_elf32_bfd_reloc_type_lookup): Handle it. | |
464 | (mips_info_to_how_rel): Handle it. | |
465 | (mips_elf_relocate_section): Handle it. | |
466 | * bfd-in2.h,libbfd.h: Regenerate. | |
467 | ||
468 | end-sanitize-sky | |
469 | Wed Feb 18 15:31:06 1998 Ian Lance Taylor <ian@cygnus.com> | |
470 | ||
471 | * peicode.h (pe_print_idata): If there is no .idata section, look | |
472 | for the import tables in some other section. Make the initial | |
473 | label line up better with the data. Print the import address | |
474 | table even if there is no import name table. If the import | |
475 | address table holds actual addresses, print them. | |
476 | ||
58713764 DE |
477 | start-sanitize-sky |
478 | Tue Feb 17 20:00:26 1998 Doug Evans <devans@canuck.cygnus.com> | |
479 | ||
480 | * config.bfd (targ_archs): If mips64r5900-sky-elf, add bfd_dvp_arch. | |
481 | ||
482 | end-sanitize-sky | |
5290378a ILT |
483 | Tue Feb 17 12:58:34 1998 Ian Lance Taylor <ian@cygnus.com> |
484 | ||
485 | * libbfd.c (bfd_seek): If fseek fails, save errno around call to | |
486 | bfd_tell. If errno is EINVAL, set bfd_error_file_truncated, not | |
487 | bfd_error_system_call. | |
488 | ||
6e639e5d ILT |
489 | Fri Feb 13 13:11:33 1998 Ian Lance Taylor <ian@cygnus.com> |
490 | ||
004040c9 ILT |
491 | * Makefile.am (AUTOMAKE_OPTIONS): Define. |
492 | * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. | |
493 | ||
cf4ce877 | 494 | From H.J. Lu <hjl@gnu.org>: |
6e639e5d ILT |
495 | * Makefile.am (libbfd_la_LDFLAGS): Define. |
496 | * Makefile.in: Rebuild. | |
497 | ||
eee4e8ca ILT |
498 | Thu Feb 12 17:31:11 1998 Ian Lance Taylor <ian@cygnus.com> |
499 | ||
f53bcd0a ILT |
500 | NetBSD patches from Gordon W. Ross <gwr@mc.com>: |
501 | * netbsd.h (MACHTYPE_OK): Define. | |
502 | (MY(write_object_contents)): Use DEFAULT_ARCH and DEFAULT_MID when | |
503 | calling N_SET_MACHTYPE, rather than having a switch. | |
504 | * libaout.h (enum machine_type): Add M_PMAX_NETBSD, M_VAX_NETBSD, | |
505 | and M_ALPHA_NETBSD. | |
506 | * i386netbsd.c (MACHTYPE_OK): Don't define. | |
507 | (DEFAULT_MID): Define. | |
508 | * m68k4knetbsd.c (SEGMENT_SIZE): Don't define. | |
509 | (MACHTYPE_OK): Don't define. | |
510 | (DEFAULT_MID): Define. | |
511 | * m68knetbsd.c: (MACHTYPE_OK): Don't define. | |
512 | (DEFAULT_MID): Define. | |
513 | * ns32knetbsd.c (MACHTYPE_OK): Don't define. | |
514 | (DEFAULT_MID): Define. | |
515 | * sparcnetbsd.c (MACHTYPE_OK): Don't define. | |
516 | (DEFAULT_MID): Define. | |
517 | ||
eee4e8ca ILT |
518 | NetBSD patches from Gordon W. Ross <gwr@mc.com>: |
519 | * vaxnetbsd.c: New file. | |
520 | * netbsd-core.c: Clean up. Remove unused macros. Use netbsd | |
521 | rather than netbsd_core. | |
522 | * targets.c (vaxnetbsd_vec): Declare. | |
523 | (bfd_target_vector): Add vaxnetbsd_vec. If NETBSD_CORE is | |
524 | defined, add netbsd_core_vec. | |
525 | * configure.in: Set COREFILE for alpha*-*-netbsd* and | |
526 | powerpc-*-netbsd* to netbsd-core.lo. If COREFILE is | |
527 | netbsd-core.lo, set COREFLAG to -DNETBSD_CORE. | |
528 | * config.bfd (alpha*-*-netbsd*): New target. | |
529 | * Makefile.am: Rebuild dependencies. | |
530 | (BFD32_BACKENDS): Add vaxnetbsd.lo. | |
531 | (BFD32_BACKENDS_CFILES): Add vaxnetbsd.c. | |
532 | * configure, Makefile.in: Rebuild. | |
533 | ||
534 | * configure.host: Remove the old shared library build stuff. We | |
535 | now use libtool instead. | |
536 | ||
ba475667 RH |
537 | Wed Feb 11 17:13:09 1998 Richard Henderson <rth@cygnus.com> |
538 | ||
539 | * tekhex.c (tekhex_write_object_contents): Call tekhex_init. | |
540 | ||
541 | Tue Feb 10 19:23:28 1998 H.J. Lu <hjl@gnu.org> | |
542 | ||
543 | * configure.in: Take stab-syms.lo out of sparclinux_vec list. | |
544 | * configure: Rebuild. | |
545 | ||
9cca7762 | 546 | Tue Feb 10 15:16:38 1998 Nick Clifton <nickc@cygnus.com> |
bae2276c NC |
547 | start-sanitize-m32rx |
548 | * elf32-m32r.c (m32r_elf_merge_private_bfd_data): Do not complain | |
549 | when merging m32r BFDs into m32rx BFDs. | |
550 | end-sanitize-m32rx | |
9cca7762 NC |
551 | * elf32-v850.c (remember_hi16s_reloc): New function. |
552 | (find_remembered_hi16s_reloc): New function. | |
553 | (v850_elf_store_addend_in_insn): Use the above new functions to | |
554 | match up HI6S relocs with LO16 relocs. | |
555 | ||
9eb7b67b DE |
556 | start-sanitize-sky |
557 | Tue Feb 10 13:25:14 1998 Doug Evans <devans@canuck.cygnus.com> | |
558 | ||
559 | * archures.c (bfd_mach_dvp_{vif,gif}): Renamed from ..._{pke,gpuif}. | |
560 | (bfd_txvu_arch): Delete. | |
561 | * cpu-mips.c (arch_info_struct): dvp:{vif,gif} renamed from | |
562 | dvp:{pke,gpuif}. | |
563 | * bfd-in2.h: Regenerate. | |
564 | ||
565 | end-sanitize-sky | |
5303c574 ILT |
566 | Tue Feb 10 15:01:39 1998 Ian Lance Taylor <ian@cygnus.com> |
567 | ||
568 | * configure.in: Change -linux* to -linux-gnu*. | |
569 | * config.bfd, configure.host: Likewise. | |
570 | * configure: Rebuild. | |
571 | ||
6aa32b90 NC |
572 | Mon Feb 9 19:40:59 1998 Nick Clifton <nickc@cygnus.com> |
573 | ||
574 | * elf32-v850.c (v850_elf_store_addend_in_insn): Fix another | |
575 | LO16/HI16S bug and improve comments about what is going on. | |
576 | ||
7ee4e307 ILT |
577 | Sat Feb 7 15:27:03 1998 Ian Lance Taylor <ian@cygnus.com> |
578 | ||
579 | * configure, aclocal.m4: Rebuild with new libtool. | |
580 | ||
75172c0f NC |
581 | start-sanitize-v850e |
582 | Fri Feb 6 14:48:20 1998 Nick Clifton <nickc@cygnus.com> | |
583 | ||
584 | * elf32-v850.c (v850_elf_merge_private_bfd_data): Do not complain | |
8b6dcc1b NC |
585 | when merging v850 code into v850e/v850ea code. Do not initialise |
586 | output flags if the input is the default architecture. PR14732. | |
75172c0f | 587 | end-sanitize-v850e |
9b47bc23 JL |
588 | Fri Feb 6 11:50:22 1998 Jeffrey A Law (law@cygnus.com) |
589 | ||
bb1fd71f | 590 | start-sanitize-r5900 |
6f84b00f | 591 | * cpu-mips.c (arch_info_struct): Make r5900 pointer size 32bits. |
bb1fd71f | 592 | end-sanitize-r5900 |
9b47bc23 JL |
593 | * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR |
594 | get the size from bfd_arch_bits_per_address instead of directly | |
595 | from the isa. | |
596 | ||
29b7118a MM |
597 | Thu Feb 5 14:21:34 1998 Michael Meissner <meissner@cygnus.com> |
598 | ||
b494ec3e MM |
599 | * libbfd-in.h (BFD_ALIGN): If rounding up would cause the address |
600 | to wrap, just return all 1's bits instead. | |
601 | * libbfd.h: Regenerate. | |
29b7118a | 602 | |
4ea65387 ILT |
603 | Thu Feb 5 11:51:05 1998 Ian Lance Taylor <ian@cygnus.com> |
604 | ||
1f286476 ILT |
605 | * coff-i386.c (coff_pe_i386_relocate_section): New static function |
606 | if COFF_WITH_PE. | |
607 | (coff_relocate_section): If COFF_WITH_PE, define as | |
608 | coff_pe_i386_relocate_section. | |
609 | * coffcode.h (coff_write_object_contents): If COFF_IMAGE_WITH_PE, | |
610 | skip empty sections, to match coff_write_object_contents. | |
611 | ||
4ea65387 ILT |
612 | * elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend, |
613 | rather than swapping out r_offset twice. From Luke Deller | |
614 | <luked@cse.unsw.edu.au>. | |
615 | ||
9a837903 ILT |
616 | Wed Feb 4 19:11:28 1998 Ian Lance Taylor <ian@cygnus.com> |
617 | ||
618 | * configure.in: Set libtool_enable_shared rather than | |
619 | libtool_shared. Remove diversion hack. | |
620 | * configure, Makefile.in, doc/Makefile.in, aclocal.m4: Rebuild | |
621 | with new libtool. | |
622 | ||
68d864d7 ILT |
623 | Wed Feb 4 16:10:21 1998 Brent Baccala <baccala@freesoft.org> |
624 | ||
625 | * syms.c (struct stab_cache): Define. | |
626 | (struct stab_find_info): Remove cached_offset, cached_stab, | |
627 | cached_str, and cached_stroff fields. Add file_cache, | |
628 | function_cache, and line_cache fields. | |
629 | (_bfd_stab_section_find_nearest_line): Use extensive caching to | |
630 | speed up searches. | |
631 | ||
7f84fa70 ILT |
632 | Wed Feb 4 13:34:22 1998 Ian Lance Taylor <ian@cygnus.com> |
633 | ||
634 | * peicode.h (pe_print_idata): Check for import of ordinal rather | |
635 | than name. | |
636 | (pe_print_edata): If there is no .edata section, look for the | |
637 | export data in some other section. | |
638 | ||
229811d1 JM |
639 | Mon Feb 2 20:05:42 1998 Jason Molenda (crash@bugshack.cygnus.com) |
640 | ||
641 | * configure.in: Change version to 2.8.4. | |
642 | * configure: Regenerated. | |
643 | ||
644 | Mon Feb 2 17:39:39 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> | |
645 | ||
646 | Add tms320c30 support: | |
647 | * cpu-tic30.c: New file. | |
648 | * aout-tic30.c: New file. | |
649 | * coff-tic30.c: New file. | |
650 | * archures.c (bfd_arch_tic30): Define. | |
651 | (bfd_tic30_arch): Declare. | |
652 | (bfd_archures_list): Add bfd_tic30_arch. | |
653 | * targets.c (bfd_target_vector): Add tic30_aout_vec and | |
654 | tic30_coff_vec. | |
655 | * reloc.c (BFD_RELOC_TIC30_LDP): Define. | |
656 | * coffcode.h (coff_set_arch_mach_hook): Add tic30 case. | |
657 | (coff_set_flags): Likewise. | |
658 | * config.bfd (tic30-*-*aout*, tic30-*-*coff*): New targets. | |
659 | * configure.in (tic30_aout_vec, tic30_coff_vec): New vectors. | |
660 | * Makefile.am: Rebuild dependencies. | |
661 | (ALL_MACHINES): Add cpu-tic30.lo. | |
662 | (ALL_MACHINES_CFILES): Add cpu-tic30.c. | |
663 | (BFD32_BACKENDS): Add aout-tic30.lo and coff-tic30.lo. | |
664 | (BFD32_BACKENDS_CFILES): Add aout-tic30.c and coff-tic30.c. | |
665 | * configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild. | |
666 | ||
581d7269 NC |
667 | Mon Feb 2 12:25:12 1998 Nick Clifton <nickc@cygnus.com> |
668 | ||
669 | * elf32-v850.c (v850_elf_store_addend_in_insn): Allow HI16_S reloc | |
670 | to lag behind LO16 reloc by a couple of instructions. | |
671 | ||
1a58a2d8 ILT |
672 | Mon Feb 2 14:09:46 1998 Ian Lance Taylor <ian@cygnus.com> |
673 | ||
229811d1 JM |
674 | * Makefile.am ($(srcdir)/bfd-in2.h): Add dummy command to force |
675 | make to reexamine the file timestamp. | |
676 | ($(srcdir)/libbfd.h, $(srcddir)/libcoff.h): Likewise. | |
677 | ||
1a58a2d8 ILT |
678 | * elf64-alpha.c (ELF_MAXPAGESIZE): Change to 0x10000 from |
679 | 0x100000. | |
680 | ||
c62a82b5 DE |
681 | start-sanitize-sky |
682 | Fri Jan 30 17:48:17 1998 Doug Evans <devans@canuck.cygnus.com> | |
683 | ||
c44b38d7 DE |
684 | * elf32-mips.c (elf_mips_dvp_11_pcrel_howto): Set pcrel_offset=true |
685 | and partial_inplace=false. | |
c62a82b5 DE |
686 | (mips_elf_relocate_section): Recognize R_MIPS_DVP_11_PCREL. |
687 | ||
688 | end-sanitize-sky | |
8a5863be ILT |
689 | Fri Jan 30 19:07:07 1998 Geoff Keating <geoffk@ozemail.com.au> |
690 | ||
691 | * elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure | |
692 | to create .dynsbss and .rela.sbss sections. | |
693 | (ppc_elf_adjust_dynamic_symbol): Put space for small data to be | |
694 | copied from dynamic objects into .sbss. | |
695 | (ppc_elf_size_dynamic_sections): Strip .rela.sbss if we don't | |
696 | use it. Correct typo of .rela.sdata2. | |
697 | (ppc_elf_finish_dynamic_symbol): Generate reloc to where we | |
698 | put the data, which may now be in .sbss. | |
699 | (ppc_elf_relocate_section): A SDAREL16 reloc can be in dynsbss. | |
700 | (elf_backend_create_dynamic_sections): Define as | |
701 | ppc_elf_create_dynamic_sections. | |
702 | ||
703 | * elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs | |
704 | against _GLOBAL_OFFSET_TABLE_. | |
705 | (ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in | |
706 | shared libraries which refer to local symbols. Make sure that the | |
707 | test for allocating space for a reloc in a shared object is the | |
708 | same as the test for emitting a reloc. | |
709 | ||
3134a2bd DE |
710 | start-sanitize-sky |
711 | Thu Jan 29 17:44:53 1998 Doug Evans <devans@canuck.cygnus.com> | |
712 | ||
713 | * elf32-mips.c: Add dvp support. | |
714 | ||
715 | end-sanitize-sky | |
847b9629 ILT |
716 | Thu Jan 29 15:55:35 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> |
717 | ||
718 | * config.bfd (i[3456]-*-mingw32*): New target. | |
719 | * acinclude.m4 (BFD_BINARY_OPEN): Check for mingw32. | |
720 | * aclocal.m4, configure: Rebuild. | |
721 | ||
36df40e0 | 722 | start-sanitize-sky |
4ae438d7 | 723 | Wed Jan 28 15:14:28 1997 Doug Evans <devans@canuck.cygnus.com> |
36df40e0 DE |
724 | |
725 | * config.bfd, configure.in: Add dvp support. | |
726 | * configure: Regenerate. | |
727 | * aclocal.m4: Regenerate. | |
728 | * archures.c, reloc.c, cpu-mips.c: Add dvp support. | |
729 | * bfd-in2.h, libbfd.h, libcoff.h: Regenerate. | |
730 | ||
731 | end-sanitize-sky | |
e6e3d4bd ILT |
732 | Wed Jan 28 13:41:26 1998 Ian Lance Taylor <ian@cygnus.com> |
733 | ||
734 | * elf.c (_bfd_elf_close_and_cleanup): Only check the strtab if we | |
735 | have a bfd_object. | |
736 | ||
16ce6205 RH |
737 | Tue Jan 27 21:43:55 1998 Richard Henderson <rth@cygnus.com> |
738 | ||
739 | Sparc v9 ABI compliant PLT: | |
740 | * elf64-sparc.c (PLT_HEADER_SIZE): V9 ABI uses 4 entries. | |
741 | (plt_templates, sparc64_elf_build_plt_entry): Delete. | |
742 | (LARGE_PLT_THRESHOLD): New define. | |
743 | (GOT_RESERVED_ENTRIES): V9 ABI only uses 1. | |
744 | (sparc64_elf_build_plt): New function. | |
745 | (sparc64_elf_plt_entry_offset): Likewise. | |
746 | (sparc64_elf_plt_ptr_offset): Likewise. | |
b35d842d UD |
747 | (sparc64_elf_adjust_dynamic_symbol): Change h->plt_offset to |
748 | contain the index for convenience. Skip the initial entries | |
16ce6205 RH |
749 | in .rela.plt. |
750 | (sparc64_elf_size_dynamic_sections): Zero the allocated contents | |
751 | memory for the benefit of .rela.plt. | |
752 | (sparc64_elf_relocate_section): Call sparc64_elf_plt_entry_offset. | |
753 | (sparc64_elf_finish_dynamic_symbol): Kill template stuff. Use | |
754 | sparc64_elf_plt_entry_offset & sparc64_elf_plt_ptr_offset for reloc. | |
755 | (sparc64_elf_finish_dynamic_sections): DT_PLTGOT points to .plt. | |
756 | Call sparc64_elf_build_plt. | |
757 | (elf_backend_want_got_plt): No. | |
758 | (elf_backend_plt_readonly): No. | |
759 | (elf_backend_plt_alignment): 8. | |
760 | ||
761 | * elf.c (_bfd_elf_close_and_cleanup): New function; free the shstrtab. | |
762 | * elf-bfd.h (_bfd_elf_close_and_cleanup): Declare it. | |
b35d842d | 763 | * elfxx-target.h (bfd_elfNN_close_and_cleanup): Arrange for it |
16ce6205 RH |
764 | to be called. |
765 | ||
29410c45 JL |
766 | Tue Jan 27 21:45:15 1998 Jeffrey A Law (law@cygnus.com) |
767 | ||
768 | * archures.c (bfd_mach_mips*): Add definitions for various MIPS | |
769 | processors. | |
770 | * cpu-mips.c (arch_info_struct): Add mips variants. | |
771 | * bfd-in2.h: Rebuilt. | |
772 | ||
ba6ea759 NC |
773 | Tue Jan 27 15:06:04 1998 Nick Clifton <nickc@cygnus.com> |
774 | ||
775 | * coff-arm.c (coff_arm_relocate_section): Fix for PR14752 by | |
776 | preserving the contents of t2a3_b_insn. | |
777 | ||
a3e62cc0 ILT |
778 | Tue Jan 27 12:47:27 1998 Robert Lipe <robertl@dgii.com> |
779 | ||
b35d842d | 780 | * config.bfd (i[3456]86-sco3.2v5*): ELF now the default. |
e6e3d4bd | 781 | (i[3456]86sco3.2v5*coff): New target. |
a3e62cc0 | 782 | |
f1dc7bb2 ILT |
783 | Mon Jan 26 15:41:30 1998 Ian Lance Taylor <ian@cygnus.com> |
784 | ||
785 | * bfd-in2.h: Rebuild with changes to chew--tab expansion. | |
786 | ||
f3da1439 RH |
787 | Thu Jan 22 21:26:48 1998 Richard Henderson <rth@cygnus.com> |
788 | ||
789 | * bfd.c (bfd_get_error_handler): Add orthogonal function. | |
790 | * bfd-in2.h: Regenerate. | |
791 | ||
31af3ca9 RH |
792 | Thu Jan 22 21:13:39 1998 Richard Henderson <rth@cygnus.com> |
793 | ||
794 | * tekhex.c (tekhex_write_object_contents): Check for no symbols. | |
795 | ||
d7340050 ILT |
796 | Wed Jan 21 21:19:03 1998 Ian Lance Taylor <ian@cygnus.com> |
797 | ||
f5e23c73 ILT |
798 | * coff-i386.c (coff_i386_rtype_to_howto): If COFF_WITH_PE, don't |
799 | adjust addend for an output common symbol (from Jimmy Blair | |
800 | <jimmyb@wrs.com>). If COFF_WITH_PE, adjust addend for PC relative | |
801 | defined symbol to counteract adjustment made in generic relocation | |
802 | code. | |
803 | ||
d7340050 ILT |
804 | * dwarf2.c: Include sysdep.h, not stdio.h and stdlib.h. |
805 | ||
bc01e4a2 ILT |
806 | Wed Jan 21 21:16:06 1998 Manfred Hollstein <manfred@s-direktnet.de> |
807 | ||
808 | * coff-m88k.c (GET_SCNDHR_NRELOC): Fix typo in macro name. | |
809 | (GET_SCNDHR_NLNNO): Likewise. | |
810 | ||
e79e79cf ILT |
811 | Mon Jan 19 12:49:52 1998 Ian Lance Taylor <ian@cygnus.com> |
812 | ||
813 | * cpu-sh.c (arch_info_struct): Correct next field of sh3e. | |
814 | ||
cc662e86 NC |
815 | Wed Jan 14 17:23:27 1998 Nick Clifton <nickc@cygnus.com> |
816 | ||
817 | * elf32-m32r.c: Add macros to handle NOP insertion. | |
818 | ||
16b7d65d RH |
819 | Wed Jan 14 16:15:22 1998 Richard Henderson <rth@cygnus.com> |
820 | ||
821 | * xcofflink.c (xcoff_mark_symbol): Don't mark the absolute section. | |
822 | (xcoff_mark): Likewise. | |
823 | (xcoff_build_ldsyms): Mark absolute symbols. | |
824 | ||
52dcb248 RH |
825 | Wed Jan 14 16:03:11 1998 Richard Henderson <rth@cygnus.com> |
826 | ||
827 | * bout.c (b_out_write_object_contents): Sort symbols before output | |
828 | to keep {CALL,BAL}NAME symbols adjacent. | |
829 | (b_out_symbol_cmp): New function. | |
830 | ||
47d9c139 ILT |
831 | Tue Dec 30 12:45:18 1997 Ian Lance Taylor <ian@cygnus.com> |
832 | ||
833 | * elf32-sparc.c (elf32_sparc_check_relocs): If -Bsymbolic, don't | |
834 | allocate space for a PC relative reloc against a symbol which is | |
835 | defined in a regular file. | |
836 | (elf32_sparc_relocate_section): If -Bsymbolic, don't copy a PC | |
837 | relative reloc against a symbol which is defined in a regular | |
838 | file. | |
839 | ||
14bf95ea ILT |
840 | Mon Dec 29 18:02:28 1997 Ian Lance Taylor <ian@cygnus.com> |
841 | ||
842 | From Jonathan Stone <jonathan@DSG.Stanford.EDU>: | |
843 | * config.bfd (mips-dec-netbsd*): Add ECOFF vectors to | |
844 | targ_selvecs. | |
845 | (mips*el-*-netbsd*): Like mips-dec-netbsd*. | |
846 | (mips*-*-netbsd*): New target. | |
847 | ||
7e3d76b7 ILT |
848 | Mon Dec 29 17:13:28 1997 H.J. Lu (hjl@gnu.org) |
849 | ||
850 | * elflink.h (elf_link_assign_sym_version): Change error message | |
851 | from "undefined version name" to "undefined versioned symbol | |
852 | name". | |
853 | ||
0f3003ef NC |
854 | Mon Dec 29 11:41:16 1997 Nick Clifton <nickc@cygnus.com> |
855 | ||
856 | * coff-arm.c (coff_arm_relocate_section): Fix typo from previous | |
857 | delta. | |
858 | ||
9ae77ebe ILT |
859 | Tue Dec 23 17:01:10 1997 Ian Lance Taylor <ian@cygnus.com> |
860 | ||
77e4176e ILT |
861 | * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Declare. |
862 | * libbfd.h: Rebuild. | |
863 | ||
9ae77ebe ILT |
864 | * peicode.h (coff_swap_scnhdr_out): Set .reloc section to be |
865 | shared. Set stab* sections to be shared and read. Set .rsrc | |
866 | section to be read and shared. | |
867 | ||
d92329a9 ILT |
868 | Mon Dec 22 13:20:57 1997 Ian Lance Taylor <ian@cygnus.com> |
869 | ||
870 | * Makefile.am: Rebuild dependencies. | |
871 | (ALL_MACHINES_CFILES): Add dwarf2.lo. | |
872 | (ALL_MACHINES_CFILES): Add dwarf2.c. | |
873 | * Makefile.in: Rebuild. | |
874 | ||
875 | * coff-arm.c: Don't include obstack.h. | |
876 | ||
0b3fcc1c ILT |
877 | Mon Dec 22 13:04:33 1997 Joel Sherrill <joel@oarcorp.com> |
878 | ||
879 | * config.bfd (i[3456]86*-go32-rtems*): Fix to be the same as | |
880 | i[3456]86-go32. | |
881 | ||
882 | Thu Dec 18 16:01:25 1997 Doug Evans <devans@canuck.cygnus.com> | |
883 | ||
884 | * configure: Regenerate to get @SHELL@ substituted. | |
885 | ||
0f9d6eeb NC |
886 | Wed Dec 17 09:45:09 1997 Nick Clifton <nickc@cygnus.com> |
887 | ||
6124cd1e NC |
888 | * coff-arm.c (coff_arm_relocate_section): Only look at section |
889 | owner if there is one. | |
890 | ||
0f9d6eeb NC |
891 | * elf.c (assign_file_positions_for_segments): Fail if there is not |
892 | enough room for the program headers. (PR14186) | |
893 | ||
eae43516 GRK |
894 | Tue Dec 16 08:09:56 1997 Gavin Koch <gavin@cygnus.com> |
895 | ||
896 | * elf.c (_bfd_elf_find_nearest_line): Call | |
897 | _bfd_dwarf2_find_nearest_line first. | |
898 | * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Same. | |
b35d842d | 899 | * dwarf2.c: New file; implement _bfd_dwarf2_find_nearest_line. |
eae43516 | 900 | |
2e0a5c10 NC |
901 | Mon Dec 15 16:08:52 1997 Nick Clifton <nickc@cygnus.com> |
902 | ||
a3240f68 | 903 | start-sanitize-m32rx |
2e0a5c10 NC |
904 | * elf32-m32r.c (m32r_elf_merge_private_bfd_data): Allow M32R |
905 | object files to be merged into a M32RX executable. | |
b35d842d | 906 | |
a3240f68 NC |
907 | * archures.c: Add bfd_mach_m32rx. |
908 | end-sanitize-m32rx | |
909 | * archures.c: Add bfd_mach_m32r. | |
2e0a5c10 | 910 | |
f60c3b70 FF |
911 | Mon Dec 15 16:11:22 1997 Fred Fish <fnf@cygnus.com> |
912 | ||
913 | * coffcode.h (ALIGN_SECTIONS_IN_FILE): Define if I960 not defined. | |
914 | (coff_compute_section_file_positions): Use ALIGN_SECTIONS_IN_FILE | |
915 | to decide when to align the file sections for paging. | |
916 | start-sanitize-tic80 | |
917 | * coffcode.h (ALIGN_SECTIONS_IN_FILE): Undefine for TIC80COFF. | |
918 | end-sanitize-tic80 | |
919 | ||
a5fdb816 NC |
920 | Mon Dec 15 15:01:15 1997 Nick Clifton <nickc@cygnus.com> |
921 | ||
922 | * elf32-m32r.c (m32r_elf_object_p): New Function. | |
923 | (m32r_elf_final_write_processing): New Function. | |
924 | (m32r_elf_set_private_flags): New Function. | |
925 | (m32r_elf_copy_private_bfd_data): New Function. | |
926 | (m32r_elf_merge_private_bfd_data): New Function. | |
927 | (m32r_elf_print_private_bfd_data): New Function. | |
928 | (elf_backend_object_p): Point to m32r_object_p. | |
929 | (elf_backend_final_write_processing): Point to | |
b35d842d | 930 | m32r_elf_final_write_processing. |
a5fdb816 | 931 | (bfd_elf32_bfd_copy_private_bfd_data): Point to |
b35d842d | 932 | m32r_elf_copy_private_bfd_data. |
a5fdb816 | 933 | (bfd_elf32_bfd_merge_private_bfd_data): Point to |
b35d842d | 934 | m32r_elf_merge_private_bfd_data. |
a5fdb816 | 935 | (bfd_elf32_bfd_set_private_flags): Point to |
b35d842d | 936 | m32r_elf_set_private_bfd_data. |
a5fdb816 | 937 | (bfd_elf32_bfd_print_private_bfd_data): Point to |
b35d842d | 938 | m32r_elf_print_private_bfd_data. |
a5fdb816 | 939 | |
a3240f68 | 940 | start-sanitize-m32rx |
a5fdb816 | 941 | * cpu-m32r.c: Add m32rx cpu architecture. |
085e370b | 942 | * bfd-in2.h (bfd_mach_m32rx): Add identifier for M32RX |
b35d842d | 943 | architecture machines. |
a3240f68 | 944 | end-sanitize-m32rx |
a5fdb816 | 945 | |
085e370b | 946 | * bfd-in2.h (bfd_mach_m32r): Add identifier for M32R architecture |
b35d842d | 947 | machines. |
a5fdb816 | 948 | |
3607f666 BK |
949 | Fri Dec 12 11:30:28 1997 Brendan Kehoe <brendan@canuck.cygnus.com> |
950 | ||
951 | * configure: Only build libbfd shared if --enable-shared's value | |
952 | was `yes', or was set to `*bfd*'. | |
953 | * aclocal.m4: Likewise. | |
f0726391 BK |
954 | * NOTE: this really needs to be fixed in libtool/libtool.m4, the |
955 | original source of this bit of code. It's not clear what the best fix | |
956 | would be, though. | |
3607f666 | 957 | |
5b3a74e8 RH |
958 | Thu Dec 11 17:48:11 1997 Richard Henderson <rth@cygnus.com> |
959 | ||
960 | * linker.c (generic_link_add_symbol_list): Always init udata.p so | |
961 | that the generic relaxation code can function when input and output | |
962 | file formats are mismatched. | |
963 | ||
a3f1e78a ILT |
964 | Thu Dec 11 01:02:18 1997 Ian Lance Taylor <ian@cygnus.com> |
965 | ||
966 | * coff-sh.c (bfd_coff_small_swap_table): Initialize new fields. | |
967 | ||
968 | * elf.c (assign_file_positions_for_segments): For a loadable | |
969 | section, make sure that the load address is correct relative to | |
970 | the load address of the segment plus the size of the segment so | |
971 | far. | |
972 | ||
973 | * coffcode.h (_coff_link_output_has_begun): Make static. | |
974 | (_coff_final_link_postscript): Likewise. | |
975 | ||
5ee8d932 ILT |
976 | Wed Dec 10 23:37:11 1997 Ian Lance Taylor <ian@cygnus.com> |
977 | ||
978 | * elflink.h (elf_link_input_bfd): Handle a relocateable link in | |
979 | which a relocation refers to an indirect or warning symbol. | |
980 | ||
5b6f4b31 NC |
981 | Wed Dec 10 11:15:55 1997 Nick Clifton <nickc@cygnus.com> |
982 | ||
5ee8d932 ILT |
983 | * coff-arm.c (bfd_arm_coff_final_link): Function deleted. |
984 | (coff_arm_final_link_postscript): New function. | |
985 | (coff_arm_link_output_has_begun): New function. | |
986 | ||
987 | * libcoff.h (struct bfd_coff_backend_data): Add new fields: | |
988 | _bfd_coff_link_output_has_begun and | |
989 | _bfd_coff_final_link_postscript. Add new macros: | |
990 | bfd_coff_link_output_has_begun() and | |
991 | bfd_coff_final_link_postscript(). | |
992 | ||
993 | * cofflink.c (_bfd_coff_final_link): Insert calls to | |
994 | bfd_coff_link_output_has_begun() and | |
995 | bfd_coff_final_link_postscript(). | |
996 | ||
997 | * coffcode.h: Add two new fields to bfd_coff_backend_data | |
998 | structure: _bfd_coff_link_output_has_begun and | |
999 | _bfd_coff_final_link_postscript. Add default initialisers for | |
1000 | these fields. Add overridable aliases for the coff swap functions | |
1001 | in the backend data structure. | |
1002 | ||
5b6f4b31 NC |
1003 | * elf32-v850.c: Update with patches from the branch to fix |
1004 | HI16_S/LO16 reloc pairs. | |
1005 | ||
de748328 MM |
1006 | start-sanitize-d30v |
1007 | Wed Dec 10 14:06:48 1997 Michael Meissner <meissner@cygnus.com> | |
1008 | ||
1009 | * elf32-d30v.c (d30v_info_to_howto_rela): New function to support | |
1010 | RELA relocations. | |
1011 | (USE_REL): Don't define any more, switch to using RELA | |
1012 | relocations. | |
1013 | (elf_info_to_howto): Define as d30v_info_to_howto_rela. | |
1014 | ||
1015 | end-sanitize-d30v | |
c02ed6a8 AC |
1016 | Tue Dec 9 11:37:53 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1017 | ||
1018 | * archures.c (bfd_mach_mips*): Define. | |
1019 | (start-sanitize-vr5400): | |
1020 | (vr5400, bfd_mach_vr5000): Define. | |
1021 | (end-sanitize-vr5400): | |
1022 | (bfd_default_scan): For 3000 and 4000 replace magic constant with | |
1023 | macro. | |
1024 | ||
1025 | * cpu-mips.c (N): Define. | |
1026 | (bfd_mips_arch, arch_info_struct): Re-write using macro N, replace | |
1027 | numbers with bfd_mach_mips* macros. | |
1028 | ||
22a9f052 NC |
1029 | Fri Dec 5 11:13:46 1997 Nick Clifton <nickc@cygnus.com> |
1030 | ||
1031 | * elf32-v850.c (v850_elf_reloc, v850_elf_store_addend_in_insn, | |
b35d842d | 1032 | v850_elf_relocate_section): Fix PR2 14180 and 14181 |
22a9f052 NC |
1033 | (v850_elf_section_from_bfd_section, v850_elf_symbol_processing, |
1034 | v850_elf_add_symbol_hook, v850_elf_link_output_symbol_hook, | |
1035 | v850_elf_section_from_shdr, v850_elf_fake_sections): New functions | |
1036 | (for PR14180) to create and handle special common sections. | |
0a5875fc NC |
1037 | (v850_elf_final_link_relocate): Fix HI16 and HI16_S relocations |
1038 | which have data stored in the instructions. PR14258. | |
22a9f052 | 1039 | |
09888f15 NC |
1040 | Tue Dec 2 10:26:16 1997 Nick Clifton <nickc@cygnus.com> |
1041 | ||
1042 | * coff-arm.c (TARGET_UNDERSCORE): Revert back to '_' | |
1043 | (USER_LABEL_PREFIX): Revert back to '_' | |
1044 | ||
1045 | * config.bfd (targ_cpu): Add support for Thumb target. | |
1046 | ||
6fdb746d JR |
1047 | Mon Dec 1 20:24:18 1997 J"orn Rennecke <amylaar@cygnus.co.uk> |
1048 | ||
1049 | * coff-sh.c (sh_coff_howtos): Add R_SH_SWITCH8 entry. | |
1050 | (get_symbol_value): Handle R_SH_SWITCH8. | |
1051 | (sh_relax_delete_bytes): Likewise. | |
1052 | ||
0fa555ea NC |
1053 | Wed Nov 26 14:13:34 1997 Nick Clifton <nickc@cygnus.com> |
1054 | ||
f5ddda0f NC |
1055 | * coff-arm.c (TARGET_UNDERSCORE): Changed to match definition in |
1056 | gcc/config/arm/semi.h | |
1057 | ||
0fa555ea | 1058 | * coffcode.h (coff_slurp_symbol_table): Add ARM and Thumb symbol |
b35d842d | 1059 | classes. |
0fa555ea | 1060 | |
4ccd975a AC |
1061 | Sun Nov 23 16:02:58 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1062 | ||
1063 | * freebsd.h (SWAP_MAGIC): Read magic number little and not big | |
1064 | endian. | |
1065 | ||
803fea79 NC |
1066 | Wed Nov 26 09:30:37 1997 Nick Clifton <nickc@cygnus.com> |
1067 | ||
1068 | * coffcode.h (coff_mkobject_hook): Only set private flags for non | |
1069 | PE ARM ports. | |
1070 | ||
1071 | Tue Nov 25 15:33:23 1997 Richard Henderson <rth@cygnus.com> | |
1072 | ||
1073 | * binary.c (binary_set_section_contents): Also ignore NEVER_LOAD | |
1074 | sections. | |
1075 | ||
4936eb9a NC |
1076 | Tue Nov 25 10:55:36 1997 Nick Clifton <nickc@cygnus.com> |
1077 | ||
1078 | * coff-arm.c (coff_arm_bfd_merge_private_bfd_data): Do not | |
1079 | complain if inout and output formats differ. | |
1080 | ||
cc37e39a ILT |
1081 | Tue Nov 25 11:26:27 1997 Ian Lance Taylor <ian@cygnus.com> |
1082 | ||
90d74939 ILT |
1083 | * Makefile.am (BFD32_BACKENDS): Remove tekhex.lo. |
1084 | (BFD32_BACKENDS_CFILES): Remove tekhex.c. | |
1085 | * Makefile.in: Rebuild. | |
1086 | * aclocal.m4, configure, src/Makefile.in: Rebuild with current | |
1087 | automake and autoconf. | |
1088 | ||
cc37e39a ILT |
1089 | * coff-arm.c (arm_allocate_interworking_sections): Fix typo |
1090 | (COFF_WITH_PR to COFF_WITH_PE). | |
1091 | ||
f76d3101 NC |
1092 | Mon Nov 24 15:47:49 1997 Nick Clifton <nickc@cygnus.com> |
1093 | ||
33d5d351 NC |
1094 | * coff-arm.c: Make variables and some functions static, so that |
1095 | this file can be included in multiple object files. | |
1096 | (coff_arm_bfd_final_link): Fix minor bug. | |
f76d3101 | 1097 | |
e1aeb285 NC |
1098 | Sat Nov 22 15:16:00 1997 Nick Clifton <nickc@cygnus.com> |
1099 | ||
1100 | * coff-arm.c: Add support for PIC and APCS-FLOAT type binaries. | |
1101 | ||
1102 | * coffcode.h: Add support for PIC and APCS-FLOAT type binaries. | |
1103 | ||
f3fb08f6 ILT |
1104 | Sat Nov 22 16:06:56 1997 Klaus Kaempf <kkaempf@progis.de> |
1105 | ||
1106 | * evax-emh.c (_bfd_evax_write_emh): Use alloca instead of strdup. | |
1107 | ||
fbf760a8 ILT |
1108 | Sat Nov 22 12:29:30 1997 Ian Lance Taylor <ian@cygnus.com> |
1109 | ||
be462f88 ILT |
1110 | * sunos.c (sunos_add_one_symbol): When overriding a defined |
1111 | symbol, set it to undefined, not new. | |
1112 | ||
fbf760a8 ILT |
1113 | * elf32-sh.c (sh_elf_relax_delete_bytes): Don't kill LABEL |
1114 | relocs. | |
1115 | ||
d627a674 RH |
1116 | Fri Nov 21 14:14:22 1997 Richard Henderson <rth@cygnus.com> |
1117 | ||
1118 | * coff-sh.c (sh_relax_section): Force sign extention of USES r_offset. | |
1119 | (sh_relax_delete_bytes): Don't kill LABEL relocs. | |
1120 | ||
bf39c490 JL |
1121 | Mon Nov 17 15:08:38 1997 Jeffrey A Law (law@cygnus.com) |
1122 | ||
1123 | * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Fix typo. | |
1124 | (mn10300_elf_relax_section): Likewise. | |
1125 | ||
469e5960 FF |
1126 | Sat Nov 15 15:36:07 1997 Fred Fish <fnf@cygnus.com> |
1127 | ||
1128 | * peicode.h (coff_swap_aouthdr_in): Cast second arg of | |
1129 | bfd_h_get_* calls to "bfd_byte *". | |
1130 | ||
1131 | Tue Nov 11 10:37:23 1997 Jeffrey A Law (law@cygnus.com) | |
1132 | ||
1133 | * elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field | |
1134 | "movm_stack_size". | |
1135 | (mn10300_elf_relax_section): Include stack space for register saves | |
1136 | in the imm8 field of a "call" instruction. | |
1137 | (compute_function_info): Determine how much stack is allocated by | |
1138 | the movm instruction. Fix typo. | |
1139 | (elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size. | |
1140 | ||
9793236c ILT |
1141 | Mon Nov 10 14:32:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
1142 | ||
1143 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't crash if | |
1144 | a version dependency could not be found. | |
1145 | ||
d481c877 | 1146 | Tue Nov 4 12:05:56 1997 Klaus K"ampf <kkaempf@progis.de> |
aa9aa96f | 1147 | |
d481c877 | 1148 | * configure.com: Get version info from configure.in |
aa9aa96f | 1149 | |
ccbab31d RH |
1150 | Fri Oct 24 11:15:58 1997 Jakub Jelinek <jj@sunsite.mff.cuni.cz> |
1151 | ||
1152 | * elf64-sparc.c (sparc64_elf_merge_private_bfd_data): | |
1153 | New function. Avoid mixing US1 and HAL R1 code. | |
1154 | Set resulting memory ordering to the strongest one used. | |
1155 | (sparc64_elf_object_p): Set bfd_mach correctly. | |
1156 | ||
d87ad0dc RH |
1157 | Thu Oct 23 14:09:33 1997 Richard Henderson <rth@cygnus.com> |
1158 | ||
1159 | * elf64-sparc.c (sparc64_elf_howto_table): Add UA64 & UA16. | |
1160 | (sparc64_elf_check_relocs): Handle them. | |
1161 | (sparc64_elf_relocate_section): Likewise. Before emitting a dyn reloc, | |
1162 | check alignment and transmute R_SPARC_x<->R_SPARC_UAx. | |
1163 | ||
5e0c6aad RH |
1164 | Thu Oct 23 00:53:14 1997 Richard Henderson <rth@dot.cygnus.com> |
1165 | ||
1166 | * configure.in (sparc*-*-linux*): Use trad-core and ... | |
1167 | * hosts/sparclinux.h: New file. | |
1168 | ||
65c2dd6e RH |
1169 | Thu Oct 23 00:25:29 1997 Richard Henderson <rth@dot.cygnus.com> |
1170 | ||
1171 | * config.bfd (sparc64-*-linux*): New target. | |
b35d842d | 1172 | |
65c2dd6e RH |
1173 | * elf-bfd.h (struct elf_backend_data): Add plt_alignment member. |
1174 | * elflink.c (_bfd_elf_create_got_section): Set .got alignment based | |
1175 | on arch_size. | |
1176 | (_bfd_elf_create_dynamic_sections): Likewise for .rel* sections. | |
1177 | Set .plt alignment from new plt_alignment. | |
1178 | * elflink.h (elf_link_create_dynamic_sections): Set version section | |
1179 | alignment to LOG_FILE_ALIGN. | |
1180 | * elfxx-target.h (elf_backend_plt_alignment): Provide default. | |
1181 | (elfXX_bed): Init plt_alignment. | |
b35d842d | 1182 | |
65c2dd6e RH |
1183 | * elf64-sparc.c (sparc64_elf_check_relocs, |
1184 | sparc64_elf_adjust_dynamic_symbol, sparc64_elf_size_dynamic_sections, | |
1185 | sparc64_elf_adjust_dynindx, sparc64_elf_finish_dynamic_symbol, | |
1186 | sparc64_elf_finish_dynamic_sections): New functions. | |
1187 | (sparc64_elf_howto_table): Fix a few name strings. | |
1188 | (ELF_DYNAMIC_INTERPRETER): New definition. | |
1189 | (sparc64_elf_relocate_section): Handle shared libraries. | |
b35d842d | 1190 | |
65c2dd6e RH |
1191 | * elf64-sparc.c (struct plt_template, plt_*_header, plt_*_entry, |
1192 | sparc64_elf_build_plt_entry, sparc64_elf_finish_dynamic_symbol): | |
b35d842d | 1193 | PLT definitions sparc64-linux originally choose. These will go |
65c2dd6e | 1194 | away soon in favour of the official abi definitions. |
b35d842d | 1195 | |
18ed85fd ILT |
1196 | Wed Oct 22 16:08:45 1997 Ian Lance Taylor <ian@cygnus.com> |
1197 | ||
1198 | * coff-sh.c (coff_small_object_p): New static function. | |
1199 | (coff_small_new_section_hook): New static function. | |
1200 | (bfd_coff_small_swap_table): New static const structure. | |
1201 | (coff_small_close_and_cleanup): Define. | |
1202 | (coff_small_bfd_free_cached_info): Define. | |
1203 | (coff_small_get_section_contents): Define. | |
1204 | (coff_small_get_section_contents_in_window): Define. | |
1205 | (shcoff_small_vec): New static structure. | |
1206 | (shlcoff_small_vec): New static structure. | |
1207 | * targets.c (bfd_target_vector): Add shcoff_small_vec and | |
1208 | shlcoff_small_vec. | |
1209 | * config.bfd (sh-*-elf*): Add shcoff_small_vec and | |
1210 | shlcoff_small_vec to targ_selvecs. | |
1211 | (sh-*-*): Likewise. | |
1212 | * configure.in: Add shcoff_small_vec and shlcoff_small_vec cases. | |
1213 | * configure: Rebuild. | |
1214 | ||
d5241511 ILT |
1215 | Mon Oct 20 15:01:27 1997 Klaus K"ampf <kkaempf@progis.de> |
1216 | ||
412222d9 ILT |
1217 | * evax-egsd.c: Weak symbols are global. |
1218 | ||
1219 | * evax-emh.c: Use proper casts. | |
1220 | ||
1221 | * evax-egsd.c (_bfd_evax_write_egsd): Remove unneeded uname. | |
1222 | ||
1223 | * evax-egsd.c: Section names and symbols have different | |
1224 | length restrictions. Add length parameter to | |
1225 | _bfd_evax_length_hash_symbol. | |
1226 | * evax-etir.c: Likewise. | |
1227 | * evax-misc.c (_bfd_evax_length_hash_symbol): Add length | |
1228 | parameter. | |
1229 | * evax.h (EOBJ_S_C_SECSIZ): Define. | |
1230 | ||
1231 | * evax-alpha.c: Remove duplicate test. | |
1232 | ||
1233 | * evax-emh.c: SYS$ functions are upper-case. | |
1234 | ||
1235 | * evax-egsd.c: Create separate sections for common symbols. | |
1236 | * evax-etir.c: Don't output common section. | |
1237 | * evax.h: Bump up section count. | |
1238 | ||
1239 | * configure.com: Use 64bit integers with DEC C. | |
1240 | ||
1241 | * evax-egsd.c: Make section flags dec c compatible. | |
d5241511 | 1242 | |
5efcd359 JL |
1243 | Mon Oct 20 09:38:31 1997 Jeffrey A Law (law@cygnus.com) |
1244 | ||
1245 | * som.c (normalize): Delete function. | |
1246 | (som_bfd_ar_write_symbol_stuff): New parameter elength. All callers | |
1247 | changed. Use passed in elength to determine size of the extended | |
1248 | name table instead of computing it again. | |
1249 | ||
263378e7 | 1250 | Sun Oct 19 23:36:21 1997 Jim Wilson <wilson@cygnus.com> |
e232f1aa | 1251 | |
263378e7 ILT |
1252 | * peicode.h (coff_swap_scnhdr_out): Use |= not = to set |
1253 | IMAGE_SCN_MEM_READ for an unrecognized section. | |
e232f1aa | 1254 | |
27637913 JL |
1255 | Sun Oct 19 21:04:56 1997 Jeffrey A Law (law@cygnus.com) |
1256 | ||
1257 | * som.c (som_bfd_ar_write_symbol_stuff): Account for trailing | |
1258 | '/' in the extended name table. | |
1259 | ||
bccab630 RH |
1260 | Fri Oct 17 00:04:13 1997 Richard Henderson <rth@cygnus.com> |
1261 | ||
1262 | * elflink.h (elf_link_assign_sym_version): For explicitly versioned | |
1263 | symbols, check globals list before matching on locals. | |
1264 | ||
04e46812 MM |
1265 | Thu Oct 16 08:17:06 1997 Michael Meissner <meissner@cygnus.com> |
1266 | ||
3cd99cc6 | 1267 | * peicode.h (coff_swap_scnhdr_out,pe_print_idata): Fix mangled |
04e46812 MM |
1268 | patch. |
1269 | ||
c086885a ILT |
1270 | Wed Oct 15 13:45:10 1997 Ian Lance Taylor <ian@cygnus.com> |
1271 | ||
fc1213aa ILT |
1272 | * peicode.h (pe_mkobject_hook): Set DLL flag. |
1273 | (pe_bfd_copy_private_bfd_data): Copy DLL flag. | |
1274 | ||
c086885a ILT |
1275 | * peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_DISCARDABLE |
1276 | for .stab* sections. Replace strlen of constant strings with | |
1277 | number. | |
1278 | ||
d980a81f RH |
1279 | Tue Oct 14 15:42:45 1997 Richard Henderson <rth@cygnus.com> |
1280 | ||
1281 | * elf64-alpha.c (elf64_alpha_merge_ind_symbols): New function to | |
1282 | merge got and reloc entries from ind syms to their target. | |
1283 | (elf64_alpha_always_size_sections): Call it. | |
1284 | (elf64_alpha_check_relocs): Operate on the target of indirect symbols. | |
1285 | (elf64_alpha_can_merge_gots): Likewise. | |
1286 | (elf64_alpha_merge_gots): Likewise. | |
1287 | ||
1288 | * elf64-alpha.c (elf64_alpha_relocate_section): Back out HJ's change, | |
1289 | as it is insufficient to handle the relocation changes as well. | |
1290 | ||
6a587c4a RH |
1291 | Mon Oct 13 23:10:08 1997 Richard Henderson <rth@cygnus.com> |
1292 | ||
1293 | * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Allow for RELATIVE | |
1294 | relocs for symbols in shlibs that have been forced local. | |
1295 | (elf64_alpha_relocate_section): Output RELATIVEs in .got for same. | |
1296 | ||
3a13dd8f RH |
1297 | Mon Oct 13 21:24:04 1997 Richard Henderson <rth@cygnus.com> |
1298 | ||
6a587c4a | 1299 | * elf64-alpha.c (elf64_alpha_relocate_section): Use the |
3a13dd8f RH |
1300 | got_enties of the default symbol for the default versioned |
1301 | symbol. Patch from hjl@gnu.ai.mit.edu, modified not to use | |
1302 | alloca in the loop. | |
1303 | ||
c7eece07 NC |
1304 | Mon Oct 13 17:37:37 1997 Nick Clifton <nickc@cygnus.com> |
1305 | ||
1306 | * elf32-v850.c (v850_elf_final_link_relocate): Only use the bottom | |
1307 | 24 bits of the PC when computing a PC relative relocation. | |
1308 | ||
676d3f02 NC |
1309 | Fri Oct 10 16:01:30 1997 Nick Clifton <nickc@cygnus.com> |
1310 | ||
1311 | * elf32-v850.c (v850_elf_reloc, v850_elf_final_link_relocate): | |
1312 | Correct value for maximum positive 22 bit PC relative relocation. | |
1313 | (v850_elf_final_link_relocate): Prevent overflow from HI16_S and | |
b35d842d | 1314 | HI_16 relocations. Correct bit adjustment in TDA offsets. |
676d3f02 | 1315 | |
70e818d4 DE |
1316 | Thu Oct 9 16:43:39 1997 Doug Evans <dje@canuck.cygnus.com> |
1317 | ||
1318 | * elf64-sparc.c (sparc_elf_{hix22,lox10}_reloc): New functions. | |
1319 | (sparc64_elf_howto_table): Use them for HIX22,LOX10 relocs. | |
1320 | ||
b0632d61 RH |
1321 | Wed Oct 8 11:38:45 1997 Richard Henderson <rth@cygnus.com> |
1322 | ||
1323 | * elfcore.h (bfd_prstatus): Pedanticly, alignment_power should | |
1324 | be LOG_FILE_ALIGN. | |
1325 | ||
ba2934ce RH |
1326 | Wed Oct 8 11:36:00 1997 Richard Henderson <rth@cygnus.com> |
1327 | ||
1328 | * config.bfd: Missed one alpha* change. | |
1329 | ||
1330 | Tue Oct 7 13:00:17 1997 Doug Evans <dje@canuck.cygnus.com> | |
1331 | ||
1332 | * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove BFD64 support. | |
1333 | * elf64-sparc.c (SPARC64_OLD_RELOCS): Undef. | |
1334 | (MINUS_ONE): New macro. | |
1335 | (sparc_elf_notsup_reloc): New function. | |
1336 | (sparc64_elf_howto_table): Add entries for DISP64,PLT64,HIX22,LOX10, | |
1337 | H44,M44,L44,REGISTER. | |
1338 | (sparc_reloc_map): Likewise. Map BFD_RELOC_CTOR to R_SPARC_64. | |
1339 | (init_insn_reloc): New function. | |
1340 | (sparc_elf_wdisp16_reloc): Use it. | |
1341 | (sparc64_elf_relocate_section): Add entries for OLO10,HIX22,LOX10. | |
1342 | ||
758b6765 ILT |
1343 | Tue Oct 7 11:40:37 1997 Ian Lance Taylor <ian@cygnus.com> |
1344 | ||
1345 | * som.c (som_construct_extended_name_table): Remove static | |
1346 | function, and define as macro instead. | |
1347 | ||
6b5f5d61 RH |
1348 | Fri Oct 3 14:02:17 1997 Richard Henderson <rth@cygnus.com> |
1349 | ||
1350 | * config.bfd: Change alpha-*-* to alpha*-*-*; config.guess now | |
1351 | recognizes alphaev5 etc. | |
1352 | * configure.host: Likewise. | |
b35d842d | 1353 | |
9b5ec8b1 ILT |
1354 | Fri Oct 3 11:23:47 1997 Ian Lance Taylor <ian@cygnus.com> |
1355 | ||
927e3a30 ILT |
1356 | Make ld -s work on AIX: |
1357 | * xcofflink.c (xcoff_link_add_symbols): Don't create the .debug | |
1358 | section if we are stripping. | |
1359 | (bfd_xcoff_size_dynamic_sections): Don't set the .debug section | |
1360 | size if we are stripping. | |
1361 | (_bfd_xcoff_bfd_final_link): Don't set SEC_RELOC or rel_filepos, | |
1362 | and don't write out relocs, if we are stripping. | |
1363 | (xcoff_link_input_bfd): Don't set up reloc if we are stripping. | |
1364 | (xcoff_write_global_symbol): Don't write out symbol or reloc if we | |
1365 | are stripping. | |
1366 | ||
d9eff006 ILT |
1367 | * configure.in: Don't include elf.lo again for ELF targets; it's |
1368 | always in the library anyhow. | |
1369 | * configure: Rebuild. | |
1370 | ||
1371 | * bfd-in2.h: Rebuild. | |
1372 | ||
9b5ec8b1 ILT |
1373 | * elf32-sparc.c (sparc_elf_wdisp16_reloc): Cast to bfd_byte *, not |
1374 | char *, when calling bfd_get_32 and bfd_put_32. | |
1375 | * sunos.c (sunos_scan_dynamic_symbol): Cast contents to char * | |
1376 | when calling strcpy. | |
1377 | ||
22b23d7d DE |
1378 | Thu Oct 2 16:15:50 1997 Doug Evans <dje@canuck.cygnus.com> |
1379 | ||
1380 | * reloc.c (bfd_check_overflow): New function. | |
1381 | (bfd_perform_relocation, bfd_install_relocation): Use it. | |
1382 | (BFD_RELOC_SPARC_{DISP64,PLT64}): New relocs. | |
1383 | (BFD_RELOC_SPARC_{HIX22,LOX10,H44,M44,L44,REGISTER}): New relocs. | |
1384 | * bfd-in2.h: Regenerate. | |
1385 | * libbfd.h: Regenerate. | |
1386 | ||
2fb4c89f ILT |
1387 | Thu Oct 2 13:17:18 1997 Ian Lance Taylor <ian@cygnus.com> |
1388 | ||
1389 | * peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_READ for an | |
1390 | unrecognized section. From Jon Thackray <jont@harlequin.co.uk>. | |
1391 | ||
7810074c ILT |
1392 | Wed Oct 1 14:03:44 1997 Ian Lance Taylor <ian@cygnus.com> |
1393 | ||
9347808d ILT |
1394 | * Makefile.am ($(BFD_H)): Change stmp-bfd.h to stmp-bfd-h. |
1395 | (stmp-bfd-h): Rename from stmp-bfd.h. | |
1396 | (BFD_H_FILES, LIBBFD_H_FILES, LIBCOFF_H_FILES): New variables. | |
1397 | ($(srcdir)/bfd-in2.h): Just depend upon stmp-bin2-h. | |
1398 | (stmp-bin2-h): New target. | |
1399 | ($(srcdir)/libbfd.h): Just depend upon stmp-lbfd-h. | |
1400 | (stmp-lbfd-h): New target. | |
1401 | ($(srcdir)/libcoff.h): Just depend upon stmp-lcoff-h. | |
1402 | (stmp-lcoff-h): New target. | |
1403 | (CLEANFILES): Change stmp-bfd.h to stmp-bfd-h. Add stmp-bin2.h, | |
1404 | stmp-lbfd-h, and stmp-lcoff-h. | |
1405 | * Makefile.in: Rebuild. | |
1406 | ||
7810074c ILT |
1407 | * configure.in: Use a diversion to set enable_shared before the |
1408 | arguments are parsed. | |
1409 | * configure: Rebuild. | |
1410 | ||
a446b86d DE |
1411 | Tue Sep 30 14:18:32 1997 Doug Evans <dje@canuck.cygnus.com> |
1412 | ||
1413 | * elf32-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP | |
1414 | renamed to R_SPARC_UNUSED_42. | |
1415 | (sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry. | |
1416 | * elf64-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP | |
1417 | renamed to R_SPARC_UNUSED_42. | |
1418 | (sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry. | |
1419 | * reloc.c (BFD_RELOC_SPARC_GLOB_JMP): Delete. | |
1420 | * bfd-in2.h: Regenerated. | |
1421 | * libbfd.h: Regenerated. | |
1422 | ||
7810074c ILT |
1423 | Thu Sep 25 12:15:02 1997 Ian Lance Taylor <ian@cygnus.com> |
1424 | ||
1425 | * elflink.h (elf_merge_symbol): Don't check the hash creator until | |
1426 | after we have set *sym_hash. | |
1427 | ||
780a00c9 ILT |
1428 | Wed Sep 24 16:52:28 1997 Joel Sherrill <joel@oarcorp.com> |
1429 | ||
1430 | * config.bfd (sh*-*-rtems*): New target, like sh-*-*elf*. | |
1431 | ||
805c3d70 ILT |
1432 | Wed Sep 24 11:27:23 1997 Ian Lance Taylor <ian@cygnus.com> |
1433 | ||
0035c8a0 ILT |
1434 | * Makefile.am (libbfd_a_SOURCES): Define. |
1435 | * Makefile.in: Rebuild. | |
1436 | ||
805c3d70 ILT |
1437 | * configure.in: Call AC_CHECK_TOOL before AM_PROG_LIBTOOL. |
1438 | * aclocal.m4: Rebuild with new libtool. | |
1439 | * configure: Rebuild. | |
1440 | ||
3099ef78 ILT |
1441 | Tue Sep 23 19:03:13 1997 Ian Lance Taylor <ian@cygnus.com> |
1442 | ||
1443 | * elf.c (map_sections_to_segments): Even if we are not demand | |
1444 | paged, don't put a loadable section after a nonloadable section. | |
1445 | (assign_file_positions_for_segments): Increment the file offset | |
1446 | for a section with contents, even if it is not loadable. | |
1447 | ||
1448 | start-sanitize-v850e | |
1449 | Sun Sep 21 11:03:24 1997 Nick Clifton <nickc@cygnus.com> | |
1450 | ||
1451 | * elf32-v850.c (v850_elf_final_link_relocate): Add return code | |
1452 | indicating that __ctbp could not be found. | |
1453 | ||
1454 | end-sanitize-v850e | |
55e6f0bf NC |
1455 | Thu Sep 18 15:04:57 1997 Nick Clifton <nickc@cygnus.com> |
1456 | ||
1457 | * elf32-v850.c (v850_elf_check_relocs): Improve error message. | |
1458 | ||
db1fa6ab | 1459 | Wed Sep 17 09:54:51 1997 Nick Clifton <nickc@cygnus.com> |
9420c20a NC |
1460 | start-sanitize-v850e |
1461 | ||
1462 | * elf32-v850.c (v850_elf_final_link_relocate, v850_elf_reloc, | |
1463 | v850_elf_check_relocs, v850_elf_reloc_map, v850_elf_howto_table): | |
1464 | Add support for the CALLT relocs. | |
1465 | ||
1466 | * reloc.c (COMMENT): Add BFD_RELOC_V850_CALLT_6_7_OFFSET and | |
b35d842d | 1467 | BFD_RELOC_V850_CALLT_16_16_OFFSET. |
9420c20a | 1468 | end-sanitize-v850e |
db1fa6ab NC |
1469 | |
1470 | * elf32-v850.c (v850_elf_final_link_relocate): Add checks to catch | |
1471 | relocations against non-existant symbols. | |
1472 | ||
5bb28764 NC |
1473 | Tue Sep 16 14:20:27 1997 Nick Clifton <nickc@cygnus.com> |
1474 | ||
1475 | * reloc.c: Add BFR_RELOC_V850_TDA_16_16_OFFSET. | |
1476 | ||
1477 | * elf32-v850.c (v850_elf_reloc, v850_elf_final_link_relocate, | |
1478 | v850_elf_howto_table, v850_elf_reloc_map): Add support for a 16 | |
1479 | bit reloc in the tiny data area. | |
1480 | ||
2199f848 KR |
1481 | start-sanitize-d30v |
1482 | Mon Sep 15 11:27:36 1997 Ken Raeburn <raeburn@cygnus.com> | |
1483 | ||
1484 | Merged changes from Martin Hunt: | |
1485 | ||
1486 | * elf32-d30v.c (bfd_elf_d30v_reloc): Change pc-relative relocs | |
1487 | over 2^32 bytes to be absolute. Needed because D30V PC doesn't | |
1488 | necessarily wrap. | |
1489 | ||
1490 | * reloc.c, elf32-d30v.c (BFD_RELOC_D30V_9_PCREL, | |
1491 | BFD_RELOC_D30V_9_PCREL_R): New relocs. | |
1492 | ||
1493 | * elf32-d30v.c (bfd_elf_d30v_reloc_21): New function. | |
1494 | Do 15 and 21 bit pc-relative relocations. | |
1495 | * reloc.c (BFD_RELOC_D30V_15_PCREL_R, BFD_RELOC_D30V_21_PCREL_R): | |
1496 | New relocations. | |
1497 | ||
1498 | * elf32-d30v.c (bfd_elf_d30v_reloc): Addend needs to be | |
1499 | added to the relocation, not or'd. | |
1500 | ||
1501 | end-sanitize-d30v | |
43898c91 NC |
1502 | Wed Sep 10 15:17:25 1997 Nick Clifton <nickc@cygnus.com> |
1503 | ||
1504 | * elf32-v850.c (v850_elf_reloc): Remove spurious error message. | |
1505 | ||
eaa9c2e7 AC |
1506 | Wed Sep 10 11:17:50 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1507 | ||
1508 | * archures.c (bfd_default_scan): Use strcasecmp. | |
1509 | (bfd_default_scan): Test for match with arch_name + ":" + | |
1510 | printable_name. | |
1511 | (bfd_default_scan): Test for match with printable_name - ":". | |
1512 | (bfd_default_scan): Delete w65, h8300, h8500, z8k, i960 special | |
1513 | cases. Each implements their own scan function. | |
1514 | (bfd_default_scan): Delete 386, 2900, 860, mips 2000, mips 4400 | |
1515 | special cases. Since info->mach == 0. The test mach == number | |
1516 | fails. | |
1517 | (bfd_arch_list): New function, return name of all the supported | |
1518 | architectures. | |
1519 | ||
98ab32a5 NC |
1520 | Tue Sep 9 10:21:56 1997 Nick Clifton <nickc@cygnus.com> |
1521 | ||
1522 | * elf32-v850.c (v850_elf_print_private_bfd_data): Break after | |
1523 | decoding architecture. | |
5ddf2a9e NC |
1524 | (v850_elf_reloc): Do not complain if a R_V850_LO16 reloc has bit |
1525 | 15 set. | |
98ab32a5 | 1526 | |
60b570d1 RH |
1527 | Sun Sep 7 12:25:22 1997 H.J. Lu (hjl@gnu.ai.mit.edu) |
1528 | ||
1529 | * bfd/elf64-alpha.c (reloc_howto_type): Fix the howto table. | |
1530 | ||
679bf0a2 ILT |
1531 | Thu Sep 4 09:44:10 1997 Ian Lance Taylor <ian@cygnus.com> |
1532 | ||
1732b93b ILT |
1533 | * Makefile.am: Rebuild dependencies. |
1534 | (ALL_MACHINES_CFILES): Add cpu-v850.c. | |
1535 | (ALL_MACHINES_CFILES): Add elf32-v850.c. | |
1536 | * Makefile.in: Rebuild. | |
1537 | ||
4878fa5b ILT |
1538 | * reloc.c: Remove extraneous commas from relocation entries. |
1539 | Remove BFD_RELOC_V850_16_PCREL. | |
1540 | * bfd-in2.h: Rebuild. | |
1541 | ||
679bf0a2 ILT |
1542 | * xcofflink.c (xcoff_link_add_symbols): Put XTY_CM/XMC_TD symbols |
1543 | in sections named .tocbss rather than .bss. | |
1544 | ||
93f18857 NC |
1545 | Wed Sep 3 11:23:23 1997 Nick Clifton <nickc@cygnus.com> |
1546 | ||
1547 | * libbfd.h, bfd-in2.h, elf32-v850.c: Removed | |
b35d842d | 1548 | BFD_RELOC_V850_16_PCREL. |
93f18857 | 1549 | |
c2d70826 FF |
1550 | Tue Sep 2 20:44:10 1997 Fred Fish <fnf@cygnus.com> |
1551 | ||
1552 | * cofflink.c (coff_link_check_ar_symbols): Handle C_SYSTEM syms | |
1553 | the same as C_EXT syms. | |
1554 | (coff_link_add_symbols): Ditto. | |
1555 | (_bfd_coff_link_input_bfd): Ditto. | |
1556 | (_bfd_coff_write_task_globals): Add save_global_to_static. Use | |
1557 | it to preserve and restore state of global_to_static flag. | |
1558 | ||
8bef8c30 NC |
1559 | Tue Sep 2 17:45:22 1997 Nick Clifton <nickc@cygnus.com> |
1560 | ||
1561 | * elf32-v850.c (v850_elf_object_p): Set machine number based on | |
1562 | bits in e_flags field rather than magic numbers. | |
1563 | (v850_elf_final_write_processing, v850_elf_set_private_flags, | |
1564 | v850_elf_copy_private_bfd_data, v850_elf_merge_private_bfd_data, | |
1565 | v850_elf_print_private_bfd_data): New functions. | |
1566 | ||
1567 | start-sanitize-v850e | |
1568 | Tue Sep 2 17:43:49 1997 Nick Clifton <nickc@cygnus.com> | |
1569 | ||
1570 | * elf.c (prep_headers): Remove V850E magic number. | |
cd66558c | 1571 | * elf.c (prep_headers): Remove V850EA magic number. |
8bef8c30 NC |
1572 | end-sanitize-v850e |
1573 | ||
1c0e698e DE |
1574 | Tue Sep 2 17:35:05 1997 Doug Evans <dje@canuck.cygnus.com> |
1575 | ||
1576 | * cpu-arc.c (arc_get_mach): Properly scan defined mach entries. | |
1577 | ||
a9d67a88 JL |
1578 | Tue Sep 2 18:29:37 1997 Jeffrey A Law (law@cygnus.com) |
1579 | ||
1580 | * elf-m10200.c (mn10200_elf_final_link_relocate): PC relative | |
1581 | instructions are relative to the next instruction, not the | |
1582 | current instruction. | |
1583 | (mn10200_elf_relax_section): Similarly. | |
1584 | ||
def31039 NC |
1585 | Tue Sep 2 15:45:45 1997 Nick Clifton <nickc@cygnus.com> |
1586 | ||
1587 | * cpu-v850.c: Use a macro to construct bfd_arch_info_type | |
b35d842d | 1588 | entries. |
def31039 NC |
1589 | |
1590 | * reloc.c, libbfd.h, bfd-in2.h, elf32-v850.c: Replace | |
1591 | BFD_RELOC_V850_{SDA/TDA/ZDA}_OFFSET relocs with new bit pattern | |
b35d842d | 1592 | specific versions: BFD_RELOC_V850_{area}_{bits}_OFFSET. |
def31039 | 1593 | |
f40d28bf AC |
1594 | Thu Aug 28 17:01:09 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1595 | ||
1596 | * cpu-v850.c: Remove "plain" from v850 printable name. | |
1597 | (scan): Use strcasecmp. | |
1598 | ||
1599 | * archures.c (bfd_mach_v850): Define. | |
b35d842d | 1600 | |
f40d28bf AC |
1601 | * cpu-sh.c (scan_mach): Compare with table instead of hardwired to |
1602 | just sh/SH, use strcasecmp. | |
1603 | (arch_info_struct): Add entries for sh3 et.al. | |
1604 | ||
1605 | * archures.c (bfd_mach_sh, ...): Define. | |
1606 | ||
2f88c324 AC |
1607 | Wed Aug 27 17:33:07 1997 Andrew Cagney <cagney@b1.cygnus.com> |
1608 | ||
1609 | * archures.c (bfd_archures_list): Always NULL terminate the list. | |
1610 | ||
2c66160c ILT |
1611 | Tue Aug 26 17:26:51 1997 Ian Lance Taylor <ian@cygnus.com> |
1612 | ||
099ddbf1 ILT |
1613 | * Makefile.am: Rebuild dependencies. |
1614 | (ALL_MACHINES_CFILES): Add cpu-arc.c. | |
1615 | (ALL_MACHINES_CFILES): Add elf32-arc.c. | |
1616 | (elf32-arc.lo): Remove explicit dependency. | |
1617 | * Makefile.in: Rebuild. | |
1618 | ||
2c66160c ILT |
1619 | * acinclude.m4 (BFD_CC_FOR_BUILD): Set EXEEXT_FOR_BUILD. |
1620 | * doc/Makefile.am (MKDOC): Use EXEEXT_FOR_BUILD, not EXEEXT. | |
1621 | * aclocal.m4, configure, Makefile.in, doc/Makefile.in: Rebuild. | |
1622 | ||
70e8e585 CP |
1623 | Mon Aug 25 16:14:34 1997 Christopher Provenzano <proven@cygnus.com> |
1624 | ||
1625 | * configure: Rebuild with latest devo autoconf for NT support | |
1626 | ||
04f295b6 NC |
1627 | Mon Aug 25 16:11:04 1997 Nick Clifton <nickc@cygnus.com> |
1628 | ||
1629 | * cpu-arm.c (compatible): If B is a default type, return A. | |
1630 | ||
8988d935 | 1631 | Mon Aug 25 15:35:46 1997 Nick Clifton <nickc@cygnus.com> |
591ebe42 | 1632 | |
8988d935 NC |
1633 | * cpu-v850.c (scan): New function. |
1634 | (arch_info_struct): New structure. | |
1635 | (bfd_v850_arch): Add link into arch_info_structure. | |
591ebe42 | 1636 | |
8988d935 | 1637 | * config.bfd (targ_cpu): All v850 variants use the bfd_arch_v850 |
b35d842d | 1638 | architecture. |
845c40d5 | 1639 | |
8988d935 NC |
1640 | * elf32-v850.c (v850_elf_object_p): New function. |
1641 | ||
1642 | start-sanitize-v850e | |
1643 | * archures.c (bfd_mach_v850e): Machine value for v850e. | |
b35d842d | 1644 | |
8988d935 | 1645 | * bfd-in2.h (bfd_mach_v850e): Machine value for v850e. |
b35d842d UD |
1646 | |
1647 | * elf32-v850.c (ELF_MACHINE_CODE): Default to v850e machine | |
8988d935 | 1648 | number. |
b35d842d UD |
1649 | |
1650 | * elf.c (prep_headers): Add support for v850e machine number. | |
15d82b26 | 1651 | |
cd66558c | 1652 | * archures.c (bfd_mach_v850ea): Machine value for v850ea. |
b35d842d | 1653 | |
cd66558c | 1654 | * bfd-in2.h (bfd_mach_v850ea): Machine value for v850ea. |
b35d842d | 1655 | |
cd66558c | 1656 | * elf32-v850.c (ELF_MACHINE_CODE): Default to v850ea machine |
8988d935 | 1657 | number. |
b35d842d UD |
1658 | |
1659 | * elf.c (prep_headers): Add support for v850ea machine number. | |
15d82b26 | 1660 | end-sanitize-v850e |
2cf9a0d0 | 1661 | |
8988d935 NC |
1662 | Mon Aug 25 14:07:33 1997 Ian Lance Taylor <ian@cygnus.com> |
1663 | ||
1664 | * syms.c (_bfd_stab_section_find_nearest_line): Clear the | |
1665 | cached_stab field if the offset prevents us from using the cache. | |
845c40d5 | 1666 | |
a0682677 ILT |
1667 | Mon Aug 25 12:08:13 1997 Ian Lance Taylor <ian@cygnus.com> |
1668 | ||
1669 | * aout-target.h (MY(vec)): Add SEC_CODE and SEC_DATA to section | |
1670 | flags. | |
1671 | * aout-arm.c (aout_arm_little_vec): Likewise. | |
1672 | (aout_arm_big_vec): Likewise. | |
1673 | * bout.c (b_out_vec_big_host): Likewise. | |
1674 | (b_out_vec_little_host): Likewise. | |
1675 | * mipsbsd.c (aout_mips_little_vec): Likewise. | |
1676 | (aout_mips_big_vec): Likewise. | |
1677 | ||
1678 | start-sanitize-tic80 | |
1679 | Tue Aug 19 10:09:10 1997 Fred Fish <fnf@cygnus.com> | |
1680 | ||
1681 | * coff-tic80.c (COFF_ALIGN_IN_SFLAGS): Define to 1. | |
1682 | * coffcode.h (styp_to_sec_flags): Ignore incoming STYP_INFO | |
1683 | bit in s_flags if COFF_ALIGN_IN_S_FLAGS is defined. | |
1684 | ||
1685 | end-sanitize-tic80 | |
c4188c2a FF |
1686 | Tue Aug 19 08:47:17 1997 Fred Fish <fnf@cygnus.com> |
1687 | ||
1688 | * coff-i960.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1. | |
1689 | (GET_SCNHDR_ALIGN, PUT_SCNHDR_ALIGN): Define. | |
1690 | * coff-m88k.c (GET_SCNHDR_NRELOC, GET_SCNHDR_NLNNO): Define. | |
1691 | * coffcode.h (coff_set_alignment_hook): Conditionally compile in if | |
1692 | COFF_ALIGN_IN_SECTION_HEADER is defined. Convert alignment to power | |
1693 | of two for I960 only. | |
1694 | * coffswap.h (GET_SCNHDR_NRELOC, PUT_SCNHDR_NRELOC, GET_SCNDHR_NLNNO, | |
1695 | PUT_SCNHDR_NLNNO, GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Provide | |
1696 | default definitions. | |
1697 | (coff_swap_scnhdr_in): Use GET_SCNHDR_FLAGS, GET_SCNHDR_NRELOC, | |
1698 | GET_SCNHDR_NLNNO, and GET_SCNHDR_ALIGN. | |
1699 | (coff_swap_scnhdr_out): Use PUT_SCNHDR_FLAGS, PUT_SCNHDR_ALIGN. | |
1700 | start-sanitize-tic80 | |
1701 | * Makefile.in (coff-tic80.o): Depends upon coffswap.h. | |
1702 | * coff-tic80.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1. | |
1703 | (GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Define | |
1704 | *coffcode.h (coff_write_object_contents): Set alignment field in | |
1705 | section header for TIC80COFF files. | |
1706 | end-sanitize-tic80 | |
1707 | ||
def47b53 NC |
1708 | Mon Aug 18 11:36:19 1997 Nick Clifton <nickc@cygnus.com> |
1709 | ||
1710 | * elf32-v850.c (v850_elf_howto_table, v850_elf_reloc_map, | |
1711 | v850_elf_check_relocs, v850_elf_reloc, | |
1712 | v850_elf_final_link_relocate): Add support for | |
b35d842d UD |
1713 | BFD_RELOC_V850_16_PCREL relocation. |
1714 | ||
def47b53 NC |
1715 | * reloc.c (COMMENT): Add suuport for BFD_RELOC_V850_16_PCREL |
1716 | relocation. | |
b35d842d | 1717 | |
def47b53 NC |
1718 | * libbfd.h: Add support for BFD_RELOC_V850_16_PCREL relocation. |
1719 | ||
1720 | * bfd-in2.h: Add support for BFD_RELOC_V850_16_PCREL relocation. | |
def47b53 NC |
1721 | |
1722 | start-sanitize-v850e | |
1723 | Mon Aug 18 11:33:56 1997 Nick Clifton <nickc@cygnus.com> | |
1724 | ||
1725 | * cpu-v850e: New file. | |
b35d842d | 1726 | |
def47b53 | 1727 | * elf.c (prep_headers): Add support for v850e target. |
b35d842d UD |
1728 | |
1729 | * bfd-in2.h (bfd_architecture): Add support for v850e target. | |
1730 | ||
def47b53 NC |
1731 | * config.bfd: Add support for v850e target. |
1732 | ||
1733 | * archures.c: Add support for v850e target. | |
def47b53 | 1734 | |
def47b53 NC |
1735 | Mon Aug 18 11:33:56 1997 Nick Clifton <nickc@cygnus.com> |
1736 | ||
cd66558c | 1737 | * cpu-v850ea: New file. |
b35d842d | 1738 | |
cd66558c | 1739 | * elf.c (prep_headers): Add support for v850ea target. |
b35d842d UD |
1740 | |
1741 | * bfd-in2.h (bfd_architecture): Add support for v850ea target. | |
1742 | ||
cd66558c | 1743 | * config.bfd: Add support for v850ea target. |
def47b53 | 1744 | |
cd66558c | 1745 | * archures.c: Add support for v850ea target. |
15d82b26 | 1746 | end-sanitize-v850e |
def47b53 | 1747 | |
00c7247b ILT |
1748 | Fri Aug 15 12:01:28 1997 Ian Lance Taylor <ian@cygnus.com> |
1749 | ||
1750 | * coffgen.c (coff_find_nearest_line): Correctly handle the offset | |
1751 | argument as section relative, rather than an absolute address. | |
1752 | From Jan Hoogenraad <hoogenrd@natlab.research.philips.com>. | |
1753 | ||
76af94b9 DE |
1754 | Fri Aug 15 04:58:02 1997 Doug Evans <dje@canuck.cygnus.com> |
1755 | ||
1756 | * config.bfd (arc-*-elf*): Add. | |
1757 | * configure.in (bfd_elf32_{little,big}arc_vec): Add. | |
1758 | * configure: Rebuild. | |
1759 | * Makefile.am (ALL_MACHINES): Add cpu-arc.lo. | |
1760 | (BFD32_BACKENDS): Add elf32-arc.lo. | |
1761 | (cpu-arc.lo,elf32-arc.lo): Add rules for. | |
1762 | * Makefile.in: Rebuild. | |
1763 | * archures.c (architecture list): Add bfd_arch_arc. | |
1764 | (bfd_archures_list): Add bfd_arc_arch. | |
1765 | (bfd_mach_arc_base): Define. | |
1766 | * reloc.c (BFD_RELOC_ARC_B22_PCREL,BFD_RELOC_ARC_B26): Add. | |
1767 | * targets.c (bfd_elf32_{little,big}arc_vec): Declare. | |
1768 | (bfd_target_vect): Add them. | |
1769 | * bfd-in2.h, libbfd.h: Rebuild. | |
1770 | * cpu-arc.c, elf32-arc.c: New files. | |
1771 | * elf.c (pre_headers): Recognize bfd_arch_arc. | |
1772 | ||
1773 | Tue Aug 12 11:45:18 1997 Ian Lance Taylor <ian@cygnus.com> | |
1774 | ||
1775 | * aoutx.h (NAME(aout,final_link)): If no symbols, make sure the | |
1776 | data section is correctly rounded to a page in the file. | |
1777 | ||
6ccdc203 ILT |
1778 | Mon Aug 11 12:45:43 1997 Ian Lance Taylor <ian@cygnus.com> |
1779 | ||
1780 | * aoutx.h (NAME(aout,final_link)): Don't emit the string table if | |
1781 | there are no symbols. | |
1782 | ||
2af5a7e4 ILT |
1783 | Sun Aug 10 14:45:56 1997 Ian Lance Taylor <ian@cygnus.com> |
1784 | ||
1785 | * coff-stgo32.c: Rename from coff-stubgo32.c to avoid old System V | |
1786 | file system 14 character limit. | |
1787 | * Makefile.am, configure.in: Corresponding changes. | |
1788 | * Makefile.in, configure: Rebuild. | |
1789 | ||
1790 | Fri Aug 8 18:34:36 1997 Ian Lance Taylor <ian@cygnus.com> | |
1791 | ||
1792 | * Makefile.am: (ALL_MACHINES_CFILES): Add elf32-d10v.c. | |
1793 | Rebuild dependencies. | |
1794 | * Makefile.in: Rebuild. | |
1795 | ||
c40331ba ILT |
1796 | Wed Aug 6 18:56:51 1997 Ian Lance Taylor <ian@cygnus.com> |
1797 | ||
1798 | * Makefile.am (docdir): Define. | |
1799 | * Makefile.in: Rebuild. | |
1800 | ||
097fd78a ILT |
1801 | Tue Aug 5 23:05:03 1997 Ian Lance Taylor <ian@cygnus.com> |
1802 | ||
1803 | * configure: Rebuild with autoconf 2.12.1. | |
1804 | ||
1805 | Mon Aug 4 12:00:35 1997 Ian Lance Taylor <ian@cygnus.com> | |
1806 | ||
1807 | * aclocal.m4, configure: Rebuild with new automake patches. | |
1808 | ||
e6071dc5 PS |
1809 | Sun Aug 3 08:15:12 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1810 | ||
1811 | * rs6000-core.c (make_bfd_asection): New function to add a section | |
1812 | to the core file bfd. | |
1813 | (rs6000coff_core_p): Use make_bfd_asection to add the core file | |
1814 | sections. | |
1815 | Use BFD routines to seek, read and stat the core file. | |
1816 | Handle .data sections from loaded objects and anonymously mmapped | |
1817 | regions, these are available in AIX 4 core files. | |
1818 | ||
aa13d30d ILT |
1819 | Fri Aug 1 12:58:32 1997 Ian Lance Taylor <ian@cygnus.com> |
1820 | ||
1821 | * configure.in: Set enable_shared before AM_PROG_LIBTOOL. | |
1822 | * acinclude.m4: Move acmacros.m4 in here. Remove AM_PROG_LIBTOOL | |
1823 | copy; use a patches libtool instead. | |
1824 | * acmacros.m4: Remove. | |
1825 | * Makefile.in, aclocal.m4, configure: Rebuild. | |
1826 | ||
c0734708 ILT |
1827 | Thu Jul 31 19:55:36 1997 Ian Lance Taylor <ian@cygnus.com> |
1828 | ||
1829 | * Makefile.am: New file, based on old Makefile.in. | |
5e377ed2 ILT |
1830 | * acmacros.m4: New file, copied from old aclocal.m4. |
1831 | * acinclude.m4: New file. | |
1832 | * configure.in: Call AM_PROG_LIBTOOL. Remove shared library | |
1833 | handling; now handled by libtool. Replace AC_CONFIG_HEADER with | |
1834 | AM_CONFIG_HEADER. Replace AC_PROG_INSTALL with AM_PROG_INSTALL. | |
1835 | Call AM_MAINTAINER_MODE, AM_CYGWIN32, and AM_EXEEXT. Change all | |
1836 | .o files to .lo. Remove stamp-h handling in AC_OUTPUT. | |
c0734708 ILT |
1837 | * acconfig.h: Mention PACKAGE and VERSION. |
1838 | * stamp-h.in: New file. | |
1839 | * dep-in.sed: Change .o to .lo. | |
1840 | * Makefile.in: Now built with automake. | |
1841 | * aclocal.m4: Now built with aclocal. | |
1842 | * config.in, configure: Rebuild. | |
9df51f4f | 1843 | * VERSION: Remove. |
c0734708 | 1844 | |
3745ac6d ILT |
1845 | Thu Jul 31 12:09:20 1997 Geoff Keating <geoffk@ozemail.com.au> |
1846 | ||
1847 | * elf32-ppc.c (ppc_elf_size_dynamic_sections): Don't set TEXTREL | |
1848 | if there is only a relocation to a read-only but not allocatable | |
1849 | section (like .stab). | |
1850 | * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. | |
1851 | * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. | |
1852 | * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. | |
1853 | * elf32-mips.c (mips_elf_size_dynamic_sections): Likewise. | |
1854 | * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise. | |
1855 | ||
1856 | * elf32-ppc.c (ppc_elf_howto_raw): Correct various comments. | |
b35d842d | 1857 | (ppc_elf_create_linker_section): These sections are not |
3745ac6d ILT |
1858 | created by the linker (that is, they are created by the user |
1859 | putting data in them). In particular, they can be the source | |
1860 | and target of relocations. | |
1861 | (ppc_elf_adjust_dynamic_symbol): Check postcondition of | |
1862 | bfd_elf32_link_record_dynamic_symbol. Align 16-byte common | |
1863 | objects (for instance, 'long double') to 16-byte boundaries. | |
1864 | (ppc_elf_size_dynamic_sections): Make the code that generates | |
1865 | section symbols exactly the same as for sparc, reducing the | |
1866 | number of section symbols output. | |
1867 | (ppc_elf_check_relocs): Check postcondition of | |
1868 | bfd_elf32_link_record_dynamic_symbol. Make default case the | |
1869 | same as corresponding code for sparc, fixing bug involving | |
1870 | .rela.stabs. | |
1871 | (ppc_elf_finish_dynamic_symbol): Fix case involving GOT symbols | |
1872 | forced to be local because of versioning (by replicating | |
1873 | corresponding change in sparc). Treat R_PPC_RELATIVE RELA relocs | |
1874 | as usual in ELF, not as pseudo-REL relocs (as the sparc linker | |
1875 | does). | |
1876 | (ppc_elf_relocate_section): Add handy debugging code for when | |
1877 | assertion fails. Add some more 'symbol made local because of | |
1878 | versioning' cases. | |
1879 | ||
1880 | * elf32-ppc.c (ppc_elf_relocate_section): Cope with addend when | |
1881 | processing a GOT relocation as required by ABI. | |
1882 | ||
13eb6306 ILT |
1883 | Wed Jul 30 21:30:35 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
1884 | ||
1885 | * elflink.h (NAME(bfd_elf,record_link_assignment)): Remove any | |
1886 | version info if this symbol came from a dynamic object. | |
1887 | (elf_link_add_object_symbols): Set the version info of a symbol | |
1888 | only if the object actually contains version definitions and | |
1889 | defines this symbol. | |
1890 | ||
b1ee3d6a RS |
1891 | Mon Jul 28 18:07:43 1997 Rob Savoye <rob@chinadoll.cygnus.com> |
1892 | ||
1893 | * aclocal.m4: Add CYGWIN and EXEEXT autoconf macros. | |
1894 | * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for | |
1895 | win32 dependencies. | |
1896 | * configure: Regenerated with autoconf 2.12. | |
1897 | * doc/Makefile.in: Add $(EXEEXT) to chew executable. | |
1898 | ||
f366291b PS |
1899 | Mon Jul 28 02:50:29 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1900 | ||
1901 | * rs6000-core.c (rs6000coff_core_p): If CORE_TRUNC is set, print | |
1902 | a warning rather than returning an error. | |
1903 | ||
8dbbb8be FL |
1904 | Sun Jul 27 19:54:14 1997 Felix Lee <flee@cygnus.com> |
1905 | ||
1906 | * coffswap.h (coff_swap_aux_in): add semicolon to make MSVC happy. | |
1907 | ||
3e94ea70 FL |
1908 | Fri Jul 25 14:50:08 1997 Felix Lee <flee@cygnus.com> |
1909 | ||
1910 | * cisco-core.c: define signals for wingdb. | |
1911 | ||
fbd550db ILT |
1912 | Fri Jul 25 16:27:07 1997 Ian Lance Taylor <ian@cygnus.com> |
1913 | ||
1914 | * ecofflink.c (bfd_ecoff_debug_accumulate): Only merge files with | |
1915 | the same number of aux entries. | |
1916 | ||
491501de JL |
1917 | Fri Jul 25 08:22:15 1997 Jeffrey A Law (law@cygnus.com) |
1918 | ||
1919 | * som.c (hppa_som_gen_reloc_type): Use R_DATA_EXPR for the | |
1920 | difference of two symbols if the relocation size is 32 bits. | |
1921 | (som_write_fixups): Handle R_DATA_EXPR. | |
1922 | ||
1868acf8 ILT |
1923 | Wed Jul 23 16:08:02 1997 Ian Lance Taylor <ian@cygnus.com> |
1924 | ||
1925 | * coff-i386.c (coff_i386_reloc): Don't offset a common symbol by | |
1926 | its value if COFF_WITH_PE is defined. | |
1927 | ||
e8640d5e ILT |
1928 | Tue Jul 22 17:19:45 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> |
1929 | ||
179ce6e1 ILT |
1930 | * coff-stubgo32.c: New file. |
1931 | * go32stub.h: New file. | |
1932 | * coff-i386.c: If COFF_GO32_EXE, include coff/go32exe.h. | |
e8640d5e ILT |
1933 | * coffswap.h (coff_swap_filehdr_in): Invoke |
1934 | COFF_ADJUST_FILEHDR_IN_PRE and COFF_ADJUST_FILEHDR_IN_POST if they | |
1935 | are defined. | |
1936 | (coff_swap_filehdr_out): Invoke COFF_ADJUST_FILEHDR_OUT_PRE and | |
1937 | COFF_ADJUST_FILEHDR_OUT_POST if they are defined. | |
1938 | (coff_swap_aux_in): Invoke COFF_ADJUST_AUX_IN_PRE and | |
1939 | COFF_ADJUST_AUX_IN_POST if they are defined. | |
1940 | (coff_swap_aux_out): Invoke COFF_ADJUST_AUX_OUT_PRE and | |
1941 | COFF_ADJUST_AUX_OUT_POST if they are defined. | |
1942 | (coff_swap_scnhdr_in): Invoke COFF_ADJUST_SCNHDR_IN_PRE and | |
1943 | COFF_ADJUST_SCNHDR_IN_POST if they are defined. | |
1944 | (coff_swap_scnhdr_out): Invoke COFF_ADJUST_SCNHDR_OUT_PRE and | |
1945 | COFF_ADJUST_SCNHDR_OUT_POST if they are defined. | |
179ce6e1 ILT |
1946 | * targets.c (go32stubbedcoff_vec): Declare. |
1947 | (bfd_target_vector): Add go32stubbedcoff_vec. | |
1948 | * configure.in (go32coff_vec): New target vector. | |
1949 | (go32stubbedcoff_vec): Likewise. | |
88a25e44 ILT |
1950 | * config.bfd (i[3456]86-*-msdosdjgpp*): New target. |
1951 | (i[3456]86-*-go32*): Change to be like new msdosdjgpp*. | |
179ce6e1 ILT |
1952 | * Makefile.in: Rebuild dependencies. |
1953 | (BFD32_BACKENDS): Add coff-stubgo32.o. | |
1954 | (BFD32_BACKENDS_CFILES): Add coff-stubgo32.c. | |
1955 | (HFILES): Add go32stub.h. | |
e8640d5e | 1956 | |
60f1ad85 ILT |
1957 | Tue Jul 22 15:09:12 1997 Ian Lance Taylor <ian@cygnus.com> |
1958 | ||
1959 | * configure.in: Check for fdopen. | |
1960 | * configure, config.in: Rebuild. | |
1961 | * opncls.c (bfd_fdopenr): Check HAVE_FDOPEN rather than VMS or | |
1962 | __GO32__. Reindent a bit. | |
1963 | ||
f1c88b48 ILT |
1964 | Sun Jul 20 20:05:20 1997 Ian Lance Taylor <ian@cygnus.com> |
1965 | ||
1966 | * sunos.c (sunos_create_dynamic_sections): Set SEC_LINKER_CREATED | |
1967 | flag for newly created sections. | |
1968 | (sunos_add_dynamic_symbols): Don't discard newly created sections | |
1969 | if shared library is dynobj. | |
1970 | ||
3fc2c146 ILT |
1971 | Mon Jul 14 15:33:55 1997 Ian Lance Taylor <ian@cygnus.com> |
1972 | ||
1973 | * elf.c (map_sections_to_segments): When checking whether | |
1974 | including a section in a segment would force us to skip a page, | |
1975 | align the address of the next segment to avoid wraparound | |
1976 | problems. | |
1977 | ||
7f2e6854 FF |
1978 | start-sanitize-tic80 |
1979 | Tue Jul 8 12:11:29 1997 Fred Fish <fnf@cygnus.com> | |
1980 | ||
1981 | * coffcode.h (coff_write_object_contents): Initialize | |
1982 | target id field to TIC80_TARGET_ID. | |
1983 | * coffswap.h (coff_swap_filehdr_out): Swap out target id field | |
1984 | if used. | |
1985 | (coff_swap_filehdr_in): Swap in target id field if used. | |
1986 | ||
1987 | end-sanitize-tic80 | |
40496096 ILT |
1988 | Mon Jul 7 16:41:20 1997 Ian Lance Taylor <ian@cygnus.com> |
1989 | ||
1990 | * coff-i386.c (coff_i386_is_local_label_name): New static function | |
1991 | if TARGET_UNDERSCORE. | |
1992 | (coff_bfd_is_local_label_name): Define if TARGET_UNDERSCORE. | |
1993 | (i386coff_vec): Add SEC_CODE and SEC_DATA to section_flags. | |
1994 | ||
01da2d52 ILT |
1995 | Mon Jun 30 14:29:26 1997 Ian Lance Taylor <ian@cygnus.com> |
1996 | ||
1997 | * elf32-m68k.c (howto_table): Use complain_overflow_bitfield, not | |
1998 | complain_overflow_signed, for 32 bit PC relative relocations. | |
1999 | ||
8211c929 ILT |
2000 | Thu Jun 26 01:26:31 1997 Ian Lance Taylor <ian@cygnus.com> |
2001 | ||
677525e9 ILT |
2002 | * elflink.h (elf_link_add_object_symbols): When a version |
2003 | indirection symbol is overridden, make the original symbol point | |
2004 | at the real overriding symbol. | |
2005 | ||
20db2495 ILT |
2006 | * elf.c (bfd_elf_string_from_elf_section): Check for an invalid |
2007 | string index. | |
2008 | ||
8211c929 ILT |
2009 | * elflink.h (elf_link_output_extsym): Use the right section for a |
2010 | common symbol. | |
2011 | * elf32-mips.c (mips_elf_link_output_symbol_hook): If a common | |
2012 | symbol was in .scommon, mark it as SHN_MIPS_SCOMMON. | |
2013 | ||
0ac96a37 ILT |
2014 | Wed Jun 25 12:43:10 1997 H.J. Lu <hjl@gnu.ai.mit.edu> |
2015 | ||
e9982ee5 ILT |
2016 | * elflink.h (elf_merge_symbols): Resolve indirect and warning |
2017 | symbols before checking for new symbols. | |
2018 | ||
0ac96a37 ILT |
2019 | * elfcore.h (elf_corefile_note): Move out of HAVE_SYS_PROCFS_H. |
2020 | ||
a90f6864 ILT |
2021 | Tue Jun 24 11:20:43 1997 Ian Lance Taylor <ian@cygnus.com> |
2022 | ||
2023 | * coffgen.c (coff_object_p): Read the f_opthdr bytes from the | |
2024 | file, not aoutsz bytes (they are different in XCOFF .o files). | |
2025 | ||
2026 | * xcofflink.c (xcoff_link_add_symbols): Permit symbols to be | |
2027 | redefined by objects included from archives. | |
2028 | ||
044d7d49 ILT |
2029 | Mon Jun 23 18:03:27 1997 Ian Lance Taylor <ian@cygnus.com> |
2030 | ||
541a4b54 ILT |
2031 | * elflink.h (elf_merge_symbol): In the case of a new defined |
2032 | symbol overriding an old defined symbol, return the hash table | |
2033 | entry which we modify, even if it is the target of an | |
2034 | indirection. | |
2035 | (elf_link_add_object_symbols): If the real name of the symbol gets | |
2036 | overridden, convert the versioned symbol into an indirect symbol | |
2037 | to the real symbol. | |
2038 | ||
044d7d49 ILT |
2039 | * elflink.h (elf_merge_symbol): New static function, broken out of |
2040 | elf_link_add_object_symbols. | |
2041 | (elf_link_add_object_symbols): Call it. | |
2042 | ||
3ce6d941 ILT |
2043 | Sun Jun 22 19:40:57 1997 Ian Lance Taylor <ian@cygnus.com> |
2044 | ||
2045 | * coff-i386.c (i3coff_object_p): If COFF_IMAGE_WITH_PE, hack to | |
2046 | handle case where COFF filehdr does not immediately follow PE | |
2047 | header. | |
2048 | * coffgen.c (coff_object_p): Remove useless seek to current | |
2049 | location. | |
2050 | ||
ba0e3b78 ILT |
2051 | Wed Jun 18 19:03:38 1997 Ian Lance Taylor <ian@cygnus.com> |
2052 | ||
2053 | * linker.c (link_action): Change COMMON_ROW/indr to from CREF to | |
2054 | REFC. | |
2055 | ||
ac44b2b9 ILT |
2056 | Tue Jun 17 11:55:02 1997 Ian Lance Taylor <ian@cygnus.com> |
2057 | ||
2058 | * cofflink.c (_bfd_coff_link_input_bfd): If stripping debugging | |
2059 | symbols, skip N_ABS symbols with debugging storage classes. | |
2060 | ||
b6eb341b ILT |
2061 | Mon Jun 16 18:56:27 1997 Geoff Keating <geoffk@ozemail.com.au> |
2062 | ||
2063 | * elf32-ppc.c (ppc_elf_relocate_section): Don't emit R_PPC_REL* | |
c1292d9b ILT |
2064 | relocs in shared libraries which refer to local symbols. Cope |
2065 | with addend when processing a GOT relocation. | |
b6eb341b ILT |
2066 | |
2067 | * elf32-ppc.c (ppc_elf_size_dynamic_sections): Only create symbols | |
2068 | for sections that the linker didn't create. | |
2069 | (ppc_elf_finish_dynamic_sections): Only try to write out a section | |
c1292d9b | 2070 | symbol if it was created in ppc_elf_size_dynamic_sections. |
b6eb341b ILT |
2071 | (ppc_elf_relocate_section): Complain if we have to generate a reloc |
2072 | relative to a section for which we didn't output a symbol. | |
2073 | ||
2074 | * elf32-ppc.c (ppc_elf_size_dynamic_sections): Clean up. PLT | |
c1292d9b ILT |
2075 | relocs are 'rela' relocs, like everything else. .rela.plt is not |
2076 | a read-only section, so we don't have to special-case it. | |
b6eb341b ILT |
2077 | |
2078 | * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Entries in the | |
2079 | .rela.bss section are (of course) 'rela' relocs not 'rel' relocs. | |
2080 | ||
2081 | * elf32-ppc.c (ppc_elf_check_relocs): Initialise srelgot. | |
2082 | (ppc_elf_relocate_section): @got offsets are 4 from start of the | |
2083 | actual .got section. | |
2084 | * elflink.c (_bfd_elf_create_got_section): The three reserved | |
2085 | words start from the symbol '_GLOBAL_OFFSET_TABLE_'. | |
2086 | ||
2087 | * elf32-ppc.c (ppc_elf_size_dynamic_sections): '.rela' is 5 | |
2088 | characters, not 4. | |
2089 | ||
2090 | * elf32-ppc.c (ppc_elf_check_relocs): Use | |
2091 | _bfd_elf_create_got_section to create the GOT rather than | |
2092 | ppc_elf_create_linker_section. Create the '.rela.got' section | |
2093 | ourselves. | |
2094 | (ppc_elf_finish_dynamic_symbol): Set up GOT relocations when a | |
2095 | symbol has a GOT entry. | |
2096 | (ppc_elf_relocate_section): Record when a symbol is used through | |
2097 | the GOT, and allocate space in the GOT for each such symbol. | |
2098 | (ppc_elf_adjust_dynamic_symbol): Delete unused .got.plt stuff. | |
2099 | (ppc_elf_create_linker_section): Delete unused LINKER_SECTION_GOT | |
2100 | stuff. | |
2101 | ||
2102 | * elf32-ppc.c (ppc_elf_howto_raw): GOT16_HA relocs should be | |
2103 | treated in a similar way to ADDR16_HA relocs. | |
2104 | (ppc_elf_relocate_section): PLTREL24 relocs do not get copied into | |
2105 | shared objects; the linker must deal with them. | |
2106 | (ppc_elf_create_linker_section): Stop setting | |
2107 | _GLOBAL_OFFSET_TABLE_ to the wrong value; delete unused | |
2108 | LINKER_SECTION_PLT stuff. | |
2109 | (ppc_elf_check_relocs): Delete unused LINKER_SECTION_PLT stuff. | |
2110 | (ppc_elf_finish_dynamic_sections): Use BFD calls to get GOT | |
2111 | section, not ELF-specific calls. | |
2112 | (elf_backend_plt_not_loaded): Set to 1. | |
2113 | (elf_backend_got_symbol_offset): Set to 4. | |
2114 | * elf-bfd.h (elf_backend_data): Add 'plt_not_loaded' member | |
2115 | for when ld.so fills in the PLT; and 'got_symbol_offset' member. | |
2116 | * elflink.c (_bfd_elf_create_dynamic_sections): Apply | |
2117 | plt_not_loaded member. | |
2118 | (_bfd_elf_create_got_section): Apply got_symbol_offset. | |
2119 | * elfxx-target.h (elf_backend_plt_not_loaded): Set default to | |
2120 | 'loaded'. | |
2121 | (elf_backend_G_O_T_offset): Set default to 0. | |
2122 | (elfNN_bed): Set added fields. | |
2123 | ||
2124 | * elf32-ppc.c (ppc_elf_size_dynamic_sections): Was setting | |
2125 | DT_RELENT in shared objects; should be DT_RELAENT. | |
2126 | ||
2127 | * elf32-ppc.c (ppc_elf_relocate_section): Propagate | |
2128 | R_PPC_ADDR16_HA relocs to shared objects. Cope with case where | |
2129 | such a reloc (in a non-shared object) refers to a symbol that's | |
2130 | not defined. | |
2131 | ||
fdc944a7 ILT |
2132 | Mon Jun 16 14:42:14 1997 H.J. Lu <hjl@gnu.ai.mit.edu> |
2133 | ||
2134 | * elfcode.h (put_signed_word): Define. | |
2135 | (get_signed_word): Define. | |
2136 | (elf_swap_reloca_in): Use get_signed_word for the r_addend field. | |
2137 | (elf_swap_reloca_out): Use put_signed_word for the r_addend | |
2138 | field. | |
2139 | * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Use | |
2140 | bfd_get_signed_32 to set the r_addend field. | |
2141 | * elf64-mips.c (mips_elf64_swap_reloca_in): Use | |
2142 | bfd_h_get_signed_64 to set the r_addend field. | |
2143 | ||
c19fbe0f ILT |
2144 | Mon Jun 16 12:31:29 1997 Ian Lance Taylor <ian@cygnus.com> |
2145 | ||
90d7b9b9 ILT |
2146 | * elf32-i386.c (elf_i386_relocate_section): When generating a |
2147 | shared library, do the relocation if the input section is not | |
2148 | allocated in memory. | |
2149 | ||
c19fbe0f ILT |
2150 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Call |
2151 | elf_link_assign_sym_version before elf_adjust_dynamic_symbol. | |
2152 | (elf_fix_symbol_flags): New static function, broken out of | |
2153 | elf_adjust_dynamic_symbol. | |
2154 | (elf_adjust_dynamic_symbol): Call elf_fix_symbol_flags. | |
2155 | (elf_link_assign_sym_version): Likewise. Permit a symbol to be | |
2156 | forced local even if NEEDS_PLT is set. When forcing a symbol to | |
2157 | be local, clear NEEDS_PLT. | |
2158 | (elf_link_output_extsym): Remove unused local bed. | |
2159 | ||
bb2a6cfb JL |
2160 | Wed Jun 11 22:44:20 1997 Jeffrey A Law (law@cygnus.com) |
2161 | ||
2162 | * elf32-mn10300.c (elf32_mn10300_link_hash_entry): New structure | |
2163 | for derived elf linker hash table entries. References to | |
2164 | elf_link_hash_entry changed appropriately. | |
2165 | (elf32_mn10300_link_hash_table): New structure for derived elf | |
2166 | linker hash table. | |
2167 | (elf32_mn10300_hash_table): Define. | |
2168 | (elf32_mn10300_link_hash_traverse): Likewise. | |
2169 | (elf32_mn10300_link_hash_newfunc): New function. | |
2170 | (elf32_mn10300_link_hash_table_create): Likewise. | |
2171 | (elf32_mn10300_finish_hash_table_entry): Likewise. | |
2172 | (mn10300_elf_relax_section): Handle "call" -> "calls", removal | |
2173 | of prologue code, and call:32->call:16 relaxing. | |
2174 | (compute_function_info: New function. | |
2175 | (bfd_elf32_bfd_ilink_hash_table_create): Define. | |
2176 | ||
6a1878c9 ILT |
2177 | Wed Jun 11 00:00:07 1997 Ian Lance Taylor <ian@cygnus.com> |
2178 | ||
8519ea21 ILT |
2179 | * elflink.h (elf_link_output_extsym): Call finish_dynamic_symbol |
2180 | for a symbol which is being forced to be local. | |
2181 | * elf32-i386.c (elf_i386_relocate_section): Write out the | |
c1292d9b ILT |
2182 | relocation value for a GOT reloc for a symbol which is turning |
2183 | into a local symbol. | |
8519ea21 ILT |
2184 | (elf_i386_finish_dynamic_symbol): If a symbol is turning into a |
2185 | local symbol, write out a RELATIVE reloc rather than a GLOB_DAT | |
2186 | reloc. | |
2187 | * elf32-m68k.c, elf32-sparc.c: Corresponding changes. | |
2188 | ||
6a1878c9 ILT |
2189 | * elf32-i386.c (elf_i386_relocate_section): Get the relocation |
2190 | value if the symbol is turning into a local symbol. | |
2191 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
2192 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
2193 | ||
601acd61 UD |
2194 | 1997-06-10 22:58 Ulrich Drepper <drepper@cygnus.com> |
2195 | ||
2196 | * elflink.h (elf_link_add_object_symbols): Also read verneed | |
2197 | information by calling `_bfd_elf_slurp_version_tables'. | |
2198 | (elf_link_add_object_symbols): For undefined symbols look for | |
8519ea21 | 2199 | version information in the verneed records. |
601acd61 UD |
2200 | (elf_link_add_object_symbols): Use soname of shared object |
2201 | for verneed record if it is available. | |
2202 | ||
ba383e02 ILT |
2203 | Tue Jun 10 11:13:03 1997 H.J. Lu <hjl@gnu.ai.mit.edu> |
2204 | ||
2205 | * cpu-arm.c: Add prototypes for compatible and scan. | |
2206 | * cofflink.c: Add prototype for mark_relocs. | |
2207 | ||
2208 | * archive.c (bfd_special_undocumented_glue): Change filename to | |
2209 | const pointer. Add prototype. | |
2210 | ||
94e05b00 ILT |
2211 | Mon Jun 9 12:34:21 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
2212 | ||
2213 | * elflink.h (elf_link_add_object_symbols): Ignore relocations of | |
2214 | sections that will be discarded. | |
2215 | ||
cf2cd4cf UD |
2216 | 1997-06-06 22:58 Ulrich Drepper <drepper@cygnus.com> |
2217 | ||
2218 | * elflink.h (elf_link_find_version_dependencies): When searching | |
2219 | for known version symbol skip non-matching verdef records, not | |
2220 | matching records. | |
2221 | ||
2222 | Thu Jun 5 15:52:45 1997 Ian Lance Taylor <ian@cygnus.com> | |
2223 | ||
2224 | * cofflink.c (_bfd_coff_generic_relocate_section): Write a long, | |
c1292d9b | 2225 | not a bfd_vma, to the base file, to match how dlltool reads it. |
cf2cd4cf | 2226 | |
48e509bf NC |
2227 | Tue Jun 3 16:57:45 1997 Nick Clifton <nickc@cygnus.com> |
2228 | ||
fd2553f9 NC |
2229 | * reloc.c: Add thumb relocations. |
2230 | ||
48e509bf NC |
2231 | * bfd-in2.h: Add Thumb relocations. |
2232 | ||
2233 | * libbfd.h: Add Thumb relocations. | |
2234 | ||
2235 | Mon Jun 2 10:41:52 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
2236 | ||
2237 | * cpu-m68k.c (arch_info_struct): Fix 68060 cpu name. | |
2238 | ||
907f6015 ILT |
2239 | Fri May 30 12:46:27 1997 Ian Lance Taylor <ian@cygnus.com> |
2240 | ||
e08eb976 ILT |
2241 | * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Set dynindx |
2242 | for a section even if it is not loaded. | |
2243 | ||
907f6015 ILT |
2244 | * cofflink.c (coff_link_add_symbols): If PE file, don't subtract |
2245 | section VMA. | |
2246 | (_bfd_coff_link_input_bfd): Separate section VMA handling for | |
2247 | input and output files. | |
2248 | (_bfd_coff_generic_relocate_section): Check whether input file, | |
2249 | not output file, is a PE file. | |
2250 | ||
2251 | Wed May 28 15:48:43 1997 Nick Clifton <nickc@cygnus.com> | |
2252 | ||
2253 | * coff-arm.c: (coff_arm_bfd_set_private_flags): Make static. | |
2254 | ||
5edcd3b9 ILT |
2255 | Wed May 28 16:16:04 1997 Ian Lance Taylor <ian@cygnus.com> |
2256 | ||
2257 | * coff-i386.c (coff_i386_reloc): Don't just exit if we see an | |
2258 | R_IMAGEBASE reloc. | |
2259 | ||
916660cb NC |
2260 | Wed May 28 09:48:43 1997 Nick Clifton <nickc@cygnus.com> |
2261 | ||
2262 | * cpu-arm.c (compatible): Add test for supersets of ARM | |
cf2cd4cf | 2263 | architectures. |
916660cb | 2264 | |
3c82a731 BM |
2265 | Tue May 27 19:42:03 1997 Bob Manson <manson@charmed.cygnus.com> |
2266 | ||
2267 | * cofflink.c (_bfd_coff_final_link): Initialize global_to_static | |
c1292d9b | 2268 | member. |
3c82a731 | 2269 | |
177f3d7f NC |
2270 | Tue May 27 14:34:08 1997 Nick Clifton <nickc@cygnus.com> |
2271 | ||
2272 | * coff-arm.c (coff_arm_bfd_set_private_flags): Make global. It is | |
2273 | called directly by gas/config/tc-arm.c. | |
cf2cd4cf | 2274 | |
70edb961 ILT |
2275 | Tue May 27 15:58:53 1997 Richard Henderson <rth@tamu.edu> |
2276 | ||
2277 | * elf64-alpha.c (PLT_ENTRY_*): Use a new thread-safe format. | |
2278 | (elf64_alpha_finish_dynamic_symbol): Fill it in properly. | |
2279 | ||
d82e4bf6 ILT |
2280 | Mon May 26 14:05:13 1997 Ian Lance Taylor <ian@cygnus.com> |
2281 | ||
2282 | * coff-ppc.c (coff_ppc_relocate_section): If PE file, don't add | |
2283 | section VMA. | |
2284 | ||
315dc1f4 FF |
2285 | Mon May 26 10:57:48 1997 Fred Fish <fnf@cygnus.com> |
2286 | ||
2287 | * peicode.h (coff_bfd_print_private_bfd_data): #undef before #define. | |
2288 | (coff_bfd_copy_private_bfd_data): Ditto. | |
2289 | * coff-arm.c (coff_arm_bfd_merge_private_bfd_data): Make static. | |
2290 | (coff_arm_bfd_print_private_bfd_data): Ditto. | |
2291 | (coff_arm_bfd_set_private_flags): Ditto. | |
2292 | (coff_arm_bfd_copy_private_bfd_data): Ditto. | |
2293 | ||
e074d05e FF |
2294 | Fri May 23 15:14:58 1997 Fred Fish <fnf@cygnus.com> |
2295 | ||
2296 | * libcoff-in.h (struct coff_final_link_info): Add boolean | |
2297 | global_to_static member for support of task linking. | |
2298 | (_bfd_coff_write_task_globals): Add prototype. | |
2299 | * libcoff.h: Regenerate. | |
2300 | * coffcode.h (coff_write_object_contents): Use #ifdef to | |
2301 | check RS6000COFF_C, to be consistent with all other uses | |
2302 | in this file. | |
2303 | * cofflink.c (_bfd_coff_final_link): If doing task linking, | |
2304 | call _bfd_coff_write_task_globals. | |
2305 | (_bfd_coff_link_input_bfd): If doing task linking, convert | |
2306 | global functions to static. | |
2307 | (_bfd_coff_write_global_sym): If doing task linking, convert | |
2308 | global variables to static. | |
2309 | (_bfd_coff_write_task_globals): New function. | |
2310 | start-sanitize-tic80 | |
2311 | * coff-tic80.c (TIC80COFF): Define this instead of just TIC80. | |
2312 | (C_AUTOARG): #undef since it clashes with C_UEXT. | |
2313 | (C_LASTENT): #undef since it clashes with C_STATLAB. | |
2314 | * coffcode.h (coff_write_object_contents): Use TIC80COFF | |
2315 | rather than TIC80. | |
2316 | (coff_slurp_symbol_table): Use C_SYSTEM. Hide C_AUTOARG use | |
2317 | when TIC80COFF defined (clashes with C_UEXT). Explicitly | |
2318 | recognize C_UEXT, C_STATLAB, and C_EXTLAB as unsupported. | |
2319 | end-sanitize-tic80 | |
2320 | ||
8ac5f940 | 2321 | start-sanitize-tic80 |
546d7a90 ILT |
2322 | Fri May 23 12:38:24 1997 Ian Lance Taylor <ian@cygnus.com> |
2323 | ||
2324 | * coff-tic80.c (tic80_howto_table): Change overflow check for most | |
2325 | PP relocations to complain_overflow_dont. | |
2326 | ||
8ac5f940 ILT |
2327 | Thu May 22 20:22:14 1997 Ian Lance Taylor <ian@cygnus.com> |
2328 | ||
2329 | * coff-tic80.c (tic80_howto_table): Add PP relocations. Change | |
2330 | name of R_RELLONG to "RELLONG". Set rightshift and complain for | |
2331 | M_PPCR. | |
2332 | (ppbase_reloc, glob15_reloc): New static functions. | |
2333 | (glob16_reloc, local16_reloc): New static functions. | |
2334 | (rtype2howto): Handle all relocation types. | |
2335 | (coff_tic80_relocate_section): New static function. | |
2336 | (coff_relocate_section): Define to coff_tic80_relocate_section. | |
2337 | * Makefile.in (coff-tic80.o): Depends upon include/coff/tic80.h. | |
2338 | ||
2339 | end-sanitize-tic80 | |
d2d70da5 ILT |
2340 | Wed May 21 17:15:50 1997 Ian Lance Taylor <ian@cygnus.com> |
2341 | ||
20a9631a ILT |
2342 | * coffcode.h (coff_slurp_symbol_table): If COFF_WITH_PE or |
2343 | COFF_IMAGE_WITH_PE, don't subtract the section VMA from the symbol | |
2344 | value. | |
2345 | * coffgen.c (fixup_symbol_value): Add abfd parameter. Change all | |
2346 | callers. If PE file, don't add section VMA. | |
2347 | (coff_write_alien_symbol): If PE file, don't add section VMA. | |
2348 | * cofflink.c (_bfd_coff_link_input_bfd): Likewise. | |
2349 | (_bfd_coff_write_global_sym): Likewise. | |
2350 | (_bfd_coff_generic_relocate_section): Likewise. | |
2351 | ||
d2d70da5 ILT |
2352 | * peicode.h: Add & 0xffffffff when using ImageBase in case bfd_vma |
2353 | is 64 bits. | |
2354 | ||
e18683b7 NC |
2355 | Wed May 21 09:58:10 1997 Nick Clifton <nickc@cygnus.com> |
2356 | ||
2357 | * cofflink.c (mark_relocs): Add new function to mark symbols which | |
d2d70da5 | 2358 | are used by relocations. |
c1292d9b | 2359 | (_bfd_coff_link_input_bfd): Add call to mark_relocs() and code to |
d2d70da5 | 2360 | suppress the skipping of symbols that have thus been marked. |
e18683b7 | 2361 | |
4e39c0f9 ILT |
2362 | Tue May 20 18:45:26 1997 Ian Lance Taylor <ian@cygnus.com> |
2363 | ||
2364 | * coff-sh.c (sh_merge_private_data): New static function. | |
2365 | (coff_bfd_merge_private_bfd_data): Define. | |
2366 | ||
69f3f9f7 | 2367 | start-sanitize-tic80 |
4e39c0f9 ILT |
2368 | Mon May 19 14:46:00 1997 Mark Alexander <marka@cygnus.com> |
2369 | ||
2370 | * coff-tic80.c: Remove unnecessary #ifdefs. | |
2371 | * config.bfd: Set targ_underscore to yes for tic80. | |
2372 | ||
69f3f9f7 MA |
2373 | Mon May 19 14:26:36 1997 Mark Alexander <marka@cygnus.com> |
2374 | ||
2375 | * coff-tic80.c (NAMES_HAVE_UNDERSCORE): Define (fixes problem | |
2376 | with unresolved external symbols in GDB). | |
2377 | ||
2378 | end-sanitize-tic80 | |
efc02f66 JL |
2379 | Fri May 16 10:23:03 1997 Jeffrey A Law (law@cygnus.com) |
2380 | ||
c1292d9b ILT |
2381 | * elf-m10300.c (elf32_mn10300_relax_section): Read in all |
2382 | the symbols associated with each BFD. | |
2383 | (mn10300_elf_relax_delete_bytes): Don't adjust the same symbol | |
2384 | more than once. | |
efc02f66 JL |
2385 | * elf-m10200.c: Likewise. |
2386 | * elf32-m32r.c: Likewise. | |
2387 | * elf32-sh.c: Likewise. | |
2388 | ||
fd6c00ba ILT |
2389 | Fri May 16 12:10:52 1997 Ian Lance Taylor <ian@cygnus.com> |
2390 | ||
2391 | * elflink.h (elf_link_add_object_symbols): Don't decrease the | |
c1292d9b ILT |
2392 | alignment of a common symbol. If two symbols that look like |
2393 | common symbols are found in two shared libraries, and the size is | |
2394 | different, use the larger size, and warn if --warn-common. If a | |
fd6c00ba ILT |
2395 | common symbol overrides a definition in a shared library, set the |
2396 | size to the larger size, and warn if --warn-common. | |
2397 | ||
4c4badea NC |
2398 | Thu May 15 14:31:28 1997 Nick Clifton <nickc@cygnus.com> |
2399 | ||
2400 | * cpu-arm.c (compatible): Allow default machine to be polymorphed | |
2401 | into any other machine type. | |
2402 | ||
2403 | * coffcode.h (coff_set_flags): Initialise flags variable to 0. | |
2404 | ||
2405 | * coff-arm.c (coff_arm_bfd_merge_private_bfd_data): When merging | |
2406 | data into an unitialised destination set its machine type as well. | |
2407 | ||
031dfce0 ILT |
2408 | Thu May 15 16:40:20 1997 Ian Lance Taylor <ian@cygnus.com> |
2409 | ||
2410 | * elflink.h (elf_link_add_object_symbols): Force ELF symbol size | |
77bd8dfa ILT |
2411 | to common symbol size. Consistently treat uninitialized symbols |
2412 | in shared objects as common symbols. | |
031dfce0 | 2413 | |
46686c78 NC |
2414 | Fri May 9 10:15:27 1997 Nick Clifton <nickc@cygnus.com> |
2415 | ||
2416 | * archures.c (constants): Added new constants to identify the | |
2417 | type of the ARM architecture: bfd_mach_arm_2, bfd_mach_arm_2a, | |
cf2cd4cf | 2418 | bfd_mach_arm_3, bfd_mach_arm_3M, bfd_mach_arm_4 and bfd_mach_arm_4T. |
46686c78 NC |
2419 | |
2420 | * bfd-in2.h (constants): Added new constants to identify | |
2421 | the type of the ARM architecture: bfd_mach_arm_2, bfd_mach_arm_2a, | |
2422 | bfd_mach_arm_3, bfd_mach_arm_3M, bfd_mach_arm_4 and | |
2423 | bfd_mach_arm_4T. This file is auto-magically generated from the | |
2424 | archures.c file. This update is just to save work. | |
2425 | ||
2426 | * coff-arm.c (coff_arm_bfd_merge_private_bfd_data, | |
2427 | coff_arm_bfd_print_private_bfd_data, | |
2428 | coff_arm_bfd_set_private_flags, | |
2429 | coff_arm_bfd_copy_private_bfd_data): Added these new functions. | |
cf2cd4cf | 2430 | (global): Macro redefinitions set up to use these new functions. |
46686c78 NC |
2431 | |
2432 | * coffcode.h (coff_mkobject_hook): Added call to | |
d2d70da5 | 2433 | coff_arm_bfd_set_private_flags(). |
c1292d9b | 2434 | (coff_set_arch_mach_hook): Added code to set machine type based on |
d2d70da5 ILT |
2435 | bits stored in internal flags. |
2436 | (coff_set_flags): Added code to set the new bits in the flags | |
2437 | field based on the machine number. | |
46686c78 NC |
2438 | (function definition macros): Made all function definition macros |
2439 | conditional so that they can be overridden by target specific | |
2440 | files. | |
2441 | ||
2442 | * cpu-arm.c (compatible): Added this function. (arch_info_struct): | |
2443 | Structure extended to include new types, one each for ARMv2, | |
2444 | ARMv2a, ARMv3, ARMv3M, ARMv4 and ARMv4T. | |
2445 | ||
2446 | * libcoff-in.h (struct coff_tdata): Added flags field. | |
cf2cd4cf | 2447 | |
3baa24ad ILT |
2448 | Fri May 9 17:40:02 1997 Ian Lance Taylor <ian@cygnus.com> |
2449 | ||
64aaba23 ILT |
2450 | * config.bfd (i[3456]86-*-gnu*): Don't include Mach support. |
2451 | ||
3baa24ad ILT |
2452 | * config.bfd: Change #if 0 around uses of host_aout_vec to #if |
2453 | HAVE_host_aout_vec. | |
2454 | ||
aba5cc8b MM |
2455 | Mon May 5 13:57:32 1997 Mike Meissner <meissner@cygnus.com> |
2456 | ||
2457 | * coffgen.c (coff_find_nearest_line): If there are no syments, | |
2458 | just return false. | |
2459 | ||
6a2922d5 ILT |
2460 | Mon May 5 18:18:45 1997 Philip Blundell <pjb27@cam.ac.uk> |
2461 | ||
2462 | * config.bfd: cope with '*-*-linux-gnuaout' targets. | |
2463 | ||
2464 | Thu May 1 11:31:12 1997 Ian Lance Taylor <ian@cygnus.com> | |
2465 | ||
2466 | * targmatch.sed: Add explicit \n characters to work around bug in | |
2467 | HP/UX 10.20 sed program. | |
2468 | ||
412dfaed ILT |
2469 | Wed Apr 30 12:27:03 1997 Ian Lance Taylor <ian@cygnus.com> |
2470 | ||
2471 | * elf.c (copy_private_bfd_data): Cast csecs to avoid sign | |
2472 | extension problems. | |
2473 | ||
3c8caeb7 ILT |
2474 | Tue Apr 22 12:06:08 1997 Ian Lance Taylor <ian@cygnus.com> |
2475 | ||
2476 | * Makefile.in (do_maintainer_clean): Don't remove bfd-in2.h. | |
2477 | ||
f4236094 ILT |
2478 | Mon Apr 21 11:21:31 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
2479 | ||
2480 | * elf32-m68k.c: Follow the last changes in elf32-i386.c: | |
2481 | (struct elf_m68k_pcrel_relocs_copied, struct | |
2482 | elf_m68k_link_hash_entry, struct elf_m68k_link_hash_table, | |
2483 | elf_m68k_link_hash_traverse, elf_m68k_hash_table, | |
2484 | elf_m68k_link_hash_newfunc, elf_m68k_link_hash_table_create, | |
2485 | elf_m68k_discard_copies, bfd_elf32_bfd_link_hash_table_create): | |
2486 | New definitions. | |
2487 | (elf_m68k_check_relocs): If linking with -Bsymbolic, don't copy | |
2488 | PC relative relocs for a global symbol defined in a regular | |
2489 | object, and count the number of PC relative relocs copied for any | |
2490 | global symbol. | |
2491 | (elf_m68k_size_dynamic_sections): If linking with -Bsymbolic, | |
2492 | traverse with elf_m68k_discard_copies. | |
2493 | ||
752eaefc ILT |
2494 | Sat Apr 19 22:50:14 1997 Ian Lance Taylor <ian@cygnus.com> |
2495 | ||
9d71be72 ILT |
2496 | * elf32-i386.c (elf_i386_check_relocs): Only count PC relative |
2497 | relocs. From Jamie Lokier <jamie@rebellion.co.uk>. | |
2498 | ||
752eaefc ILT |
2499 | * coffcode.h (coff_compute_section_file_positions): Force the |
2500 | potential last byte in the file to be written out when | |
2501 | COFF_IMAGE_WITH_PE. | |
2502 | ||
e066f244 ILT |
2503 | Thu Apr 17 13:46:56 1997 Per Fogelstrom <pefo@openbsd.org> |
2504 | ||
a0412785 | 2505 | * configure.host (mips*-*-openbsd*): New host. |
e066f244 | 2506 | |
81f01dd5 ILT |
2507 | Thu Apr 17 11:10:54 1997 Ian Lance Taylor <ian@cygnus.com> |
2508 | ||
f02004e9 ILT |
2509 | * elflink.h (elf_link_add_object_symbols): Only subtract the |
2510 | section VMA from the symbol value if this is a fully linked file. | |
2511 | ||
6e2183b1 ILT |
2512 | * elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Define. |
2513 | (struct elf_i386_link_hash_entry): Define. | |
2514 | (struct elf_i386_link_hash_table): Define. | |
2515 | (elf_i386_link_hash_traverse): Define. | |
2516 | (elf_i386_hash_table): Define. | |
2517 | (elf_i386_link_hash_newfunc): New static function. | |
2518 | (elf_i386_link_hash_table_create): New static function. | |
2519 | (elf_i386_check_relocs): If linking with -Bsymbolic, don't copy | |
2520 | PC relative relocs for a global symbol defined in a regular | |
2521 | object, and count the number of PC relative relocs copied for any | |
2522 | global symbol. | |
2523 | (elf_i386_size_dynamic_sections): If linking with -Bsymbolic, | |
2524 | traverse with elf_i386_discard_copies. | |
2525 | (elf_i386_discard_copies): New static function. | |
2526 | (bfd_elf32_bfd_link_hash_table_create): Define. | |
2527 | ||
81f01dd5 ILT |
2528 | From Gordon W. Ross <gwr@mc.com>: |
2529 | * aoutf1.h (MY_entry_is_text_address): Define if not defined. | |
2530 | (sunos4_aout_backend): Use MY_entry_is_text_address. | |
2531 | ||
ebec2a6a MH |
2532 | start-sanitize-d30v |
2533 | Wed Apr 16 12:43:32 1997 Martin Hunt <hunt@cygnus.com> | |
2534 | ||
2535 | * elf32-d30v.c (elf_d30v_howto_table): Changed size of | |
2536 | R_D30V_32_NORMAL to 2 (4 bytes). | |
2537 | ||
cf2cd4cf | 2538 | end-sanitize-d30v |
10888f10 ILT |
2539 | Wed Apr 16 14:02:29 1997 Ian Lance Taylor <ian@cygnus.com> |
2540 | ||
a895901a ILT |
2541 | From Gordon W. Ross <gwr@mc.com>: |
2542 | * netbsd.h (N_SHARED_LIB): Define. | |
2543 | (SEGMENT_SIZE): Don't define. | |
2544 | * m68knetbsd.c (SEGMENT_SIZE): Don't define (revert change of | |
2545 | April 11). | |
2546 | * sparcnetbsd.c (TARGET_PAGE_SIZE): Define as 0x2000. | |
2547 | (SEGMENT_SIZE): Don't define. | |
2548 | ||
10888f10 ILT |
2549 | * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Set .rela.bss size |
2550 | to sizeof Rela structure, not sizeof Rel structure. From Gary | |
2551 | Thomas <g.thomas@opengroup.org>. | |
2552 | ||
a0c80726 ILT |
2553 | Tue Apr 15 11:50:37 1997 Ian Lance Taylor <ian@cygnus.com> |
2554 | ||
55aba333 ILT |
2555 | * aout-target.h (MY(callback)): If entry_is_text_address, adjust |
2556 | whenever entry is larger than text address, but only by whole | |
2557 | pages. From Gordon W. Ross <gwr@mc.com>. | |
2558 | ||
9b31e6f5 ILT |
2559 | * Makefile.in (install): Depend upon installdirs. Use |
2560 | mkinstalldirs to build $(oldincludedir). | |
2561 | (installdirs): New target. | |
2562 | ||
a0c80726 ILT |
2563 | * elflink.h (elf_link_add_object_symbols): Don't call check_relocs |
2564 | if this is a debugging section which we are stripping. | |
2565 | ||
2566 | Mon Apr 14 12:39:30 1997 Richard Henderson <rth@tamu.edu> | |
2567 | ||
2568 | * elf64-alpha.c (elf64_alpha_object_p): Allocate the | |
2569 | alpha-specific target data struct. | |
2570 | ||
e5d7e3df ILT |
2571 | Mon Apr 14 11:45:46 1997 Ian Lance Taylor <ian@cygnus.com> |
2572 | ||
2573 | From Thomas Graichen <graichen@rzpd.de>: | |
2574 | * Makefile.in: Always use $(SHELL) when running move-if-change. | |
2575 | * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. | |
2576 | * configure: Rebuild. | |
2577 | ||
4b8c8bb9 ILT |
2578 | Fri Apr 11 15:43:24 1997 Ian Lance Taylor <ian@cygnus.com> |
2579 | ||
3bc3351e ILT |
2580 | * elfcode.h (elf_slurp_symbol_table): Only subtract the section |
2581 | VMA if this is an executable file or a shared object. | |
2582 | ||
faa0b8db ILT |
2583 | * targets.c (netbsd_core_vec): Declare. From Gordon W. Ross |
2584 | <gwr@mc.com>. | |
2585 | ||
2586 | * libaout.h (struct aout_backend_data): Add entry_is_text_address | |
2587 | field. | |
2588 | * aout-target.h (SEGMENT_SIZE): Define to TARGET_PAGE_SIZE at the | |
2589 | start of the file. Remove uses later on which switch using | |
2590 | ifdef. | |
2591 | (MY(callback)): Handle entry_is_text_address. | |
2592 | (MY_entry_is_text_address): Define if not defined. | |
2593 | (MY(backend_data)): Initialize new field. | |
2594 | * aoutf1.h (sunos4_aout_backend): Likewise. | |
2595 | * i386aout.c (MY(backend_data)): Likewise. | |
2596 | * i386mach3.c (MY(backend_data)): Likewise. | |
2597 | * mipsbsd.c (MY(backend_data)): Likewise. | |
2598 | * sparclynx.c (sparclynx_aout_backend): Likewise. | |
2599 | * netbsd.h (SEGMENT_SIZE): Define if not defined. | |
2600 | (MY_entry_is_text_address): Define. | |
a895901a | 2601 | * m68knetbsd.c (SEGMENT_SIZE): Define as 0x20000. |
faa0b8db | 2602 | |
4b8c8bb9 ILT |
2603 | * xcofflink.c (bfd_xcoff_import_symbol): Handle importing a symbol |
2604 | whose name starts with `.'. | |
2605 | ||
3b1b0308 ILT |
2606 | Fri Apr 11 11:57:15 1997 Niklas Hallqvist <niklas@appli.se> |
2607 | ||
2608 | * config.bfd: (i[3456]86-*-openbsd*, m68*-*-openbsd*, | |
2609 | mips*el*-*-openbsd*, mips*-*-openbsd*, ns32k-*-openbsd*, | |
2610 | powerpc-*-*bsd*, sparc-*-openbsd*): New targets. | |
2611 | * configure.in (i[3456]86-*-openbsd*, mips*-*-openbsd*, | |
2612 | m68*-*-openbsd*, ns32k-*-openbsd*, powerpc-*-*bsd*, | |
2613 | sparc-*-openbsd*): New targets. | |
2614 | * configure: Rebuild. | |
2615 | ||
57a3027b ILT |
2616 | Tue Apr 8 18:09:29 1997 Jamie Lokier <jamie@rebellion.co.uk> |
2617 | ||
2618 | * stabs.c (struct stab_section_info): New field | |
2619 | `cumulative_skips'. | |
2620 | (_bfd_link_section_stabs): Fill the above array. | |
2621 | (_bfd_stab_section_offset): Use `cumulative_skips' to | |
2622 | speed up offset calculation. | |
2623 | ||
a01362cc JL |
2624 | Tue Apr 8 00:01:31 1997 Jeffrey A Law (law@cygnus.com) |
2625 | ||
69444014 JL |
2626 | * elf-mn10300.c (mn10300_elf_relax_section): Don't forget the |
2627 | addend for non pc-relative relocations. | |
2628 | ||
a01362cc JL |
2629 | * elf-m10300.c (bfd_elf32_mn10300_reloc): Remove prototype |
2630 | for non-existent function. | |
2631 | ||
2632 | * elf-m10300.c (mn10300_elf_relax_section): New function. | |
2633 | (mn10300_elf_relax_delete_bytes): Likewise. | |
2634 | (mn10300_elf_symbol_address_p): Likewise. | |
2635 | (mn10300_elf_get_relocated_section_contents): Likewise. | |
2636 | (bfd_elf32_bfd_relax_section): Define. | |
2637 | (bfd_elf32_bfd_get_relocated_section_contents): Likewise. | |
2638 | ||
418d5b05 ILT |
2639 | Mon Apr 7 16:47:09 1997 Ian Lance Taylor <ian@cygnus.com> |
2640 | ||
2641 | * configure.host: Set SHLIB_LIBS. | |
2642 | * configure.in: Substitute SHLIB_LIBS. | |
2643 | * configure: Rebuild. | |
2644 | * Makefile.in (SHLIB_LIBS): New variable. | |
2645 | ($(SHLIB)): Use $(SHLIB_LIBS). | |
2646 | ||
d9654a71 MS |
2647 | Mon Apr 7 10:53:52 1997 Michael Snyder <msnyder@cleaver.cygnus.com> |
2648 | ||
2649 | * bfd-in.h bfd-in2.h: add bfd_section_lma macro to correspond | |
2650 | with bfd_section_vma. | |
2651 | ||
5641f23e ILT |
2652 | Fri Apr 4 11:37:15 1997 Ian Lance Taylor <ian@cygnus.com> |
2653 | ||
b872076e ILT |
2654 | * configure.in: Update file names for bfd_elf32_mn10[23]00_vec. |
2655 | Correct CPU file names for mn10[23]00. | |
2656 | * configure: Rebuild. | |
2657 | ||
ac664747 ILT |
2658 | * bfd.c (bfd_record_phdr): Cast count to size_t before |
2659 | subtraction. | |
2660 | ||
44fe6ab1 ILT |
2661 | * coff-ppc.c (dump_toc): Add cast to avoid warning from SunOS cc. |
2662 | * coff-rs6000.c (xcoff_read_ar_hdr): Likewise. | |
2663 | (xcoff_write_archive_contents): LIkewise. | |
2664 | * elf32-mips.c (_bfd_mips_elf_set_section_contents): Likewise. | |
2665 | (mips_elf_create_procedure_table): Likewise. | |
2666 | * peicode.h (pe_print_idata): Likewise. | |
2667 | (pe_print_edata, pe_print_pdata, pe_print_reloc): Likewise. | |
2668 | * xcofflink.c (xcoff_get_section_contents): Likewise. | |
2669 | (_bfd_xcoff_canonicalize_dynamic_symtab): Likewise. | |
2670 | (xcoff_link_add_symbols): Likewise. | |
2671 | (xcoff_link_add_symbols): Likewise. | |
2672 | ||
0cea98f0 ILT |
2673 | * ppcboot.c (ppcboot_set_arch_mach): Make static. |
2674 | (ppcboot_bfd_print_private_bfd_data): Likewise. | |
2675 | ||
5641f23e ILT |
2676 | * elf32-mips.c (elf_mips_ctor64_howto): Set complain_on_overflow |
2677 | to complain_overflow_signed. | |
2678 | ||
58b4a8f3 ILT |
2679 | Thu Apr 3 11:51:54 1997 Ian Lance Taylor <ian@cygnus.com> |
2680 | ||
2681 | * VERSION: Set to 2.8.1. | |
2682 | ||
2683 | * Branched binutils 2.8. | |
2684 | ||
2685 | * elf32-ppc.c (ppc_elf_check_relocs): Don't check SEC_ALLOC when | |
2686 | deciding whether to copy a reloc into a shared object. | |
2687 | (ppc_elf_relocate_section): Likewise. Relocate R_PPC_RELATIVE | |
2688 | relocs in unallocated sections. | |
2689 | * elf32-sparc.c (elf32_sparc_relocate_section): Relocate | |
2690 | R_SPARC_RELATIVE relocs in unallocated sections. | |
2691 | ||
acba322e MM |
2692 | Wed Apr 2 16:19:41 1997 Mike Meissner <meissner@cygnus.com> |
2693 | ||
2694 | * elf32-ppc.c (ppc_elf_check_relocs): Undo March 26 change and | |
2695 | always create got section so that the _GLOBAL_OFFSET_TABLE_ label | |
2696 | is always created. | |
2697 | ||
ab66cc8d ILT |
2698 | Wed Apr 2 10:49:07 1997 Ian Lance Taylor <ian@cygnus.com> |
2699 | ||
ba254dc5 ILT |
2700 | * elflink.h (elf_link_add_object_symbols): Let a common symbol |
2701 | override an uninitialized symbol from a shared library with a | |
2702 | smaller size. | |
f74e2365 | 2703 | |
7a68d1f7 ILT |
2704 | * elf-m10200.c: Rename from elf32-mn10200.c. |
2705 | * elf-m10300.c: Rename from elf32-mn10300.c. | |
2706 | * cpu-m10200.c: Rename from cpu-mn10200.c | |
2707 | * cpu-m10300.c: Rename from cpu-mn10300.c | |
2708 | * Makefile.in: Update accordingly. | |
2709 | ||
3072dce9 ILT |
2710 | * elf32-mips.c (elf_mips_ctor64_howto): New static variable. |
2711 | (elf_mips_isa): Move to earlier in file. | |
2712 | (mips_reloc_map): Remove BFD_RELOC_CTOR entry. | |
2713 | (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_CTOR | |
2714 | specially. | |
2715 | ||
ab66cc8d ILT |
2716 | * elf32-mips.c (mips16_jump_reloc): Print a warning rather than |
2717 | calling abort. | |
2718 | ||
0f854557 ILT |
2719 | Tue Apr 1 16:18:05 1997 Klaus Kaempf <kkaempf@progis.de> |
2720 | ||
2721 | * configure.com: New file. | |
2722 | * config.h-vms: Remove file. | |
2723 | * makefile.vms: Update for new configure scheme. | |
2724 | ||
8faaff9e ILT |
2725 | Mon Mar 31 23:28:39 1997 H.J. Lu <hjl@gnu.ai.mit.edu> |
2726 | ||
0f854557 ILT |
2727 | * libcoff-in.h (ppc_allocate_toc_section): Declare. |
2728 | (ppc_process_before_allocation): Declare. | |
2729 | * libcoff.h: Rebuild. | |
2730 | ||
8faaff9e ILT |
2731 | * coffcode.h (coff_mkobject_hook): Declare if not a macro. |
2732 | ||
5cfc9987 ILT |
2733 | Mon Mar 31 16:29:50 1997 Joel Sherrill <joel@oarcorp.com> |
2734 | ||
3418d8c4 | 2735 | * config.bfd (hppa*-*-rtems*): New target, like hppa-*-*elf*. |
5cfc9987 | 2736 | |
34c68301 ILT |
2737 | Mon Mar 31 16:11:35 1997 Ian Lance Taylor <ian@cygnus.com> |
2738 | ||
2739 | * coff-a29k.c (coff_a29k_relocate_section): Don't use symndx as a | |
2740 | symbol index for a R_IHCONST reloc. | |
2741 | ||
774dc17c ILT |
2742 | Mon Mar 31 15:40:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be> |
2743 | ||
2744 | * targmatch.sed: Do not use \(\) recursively. | |
2745 | ||
9e55b695 ILT |
2746 | Fri Mar 28 14:44:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu> |
2747 | ||
2748 | * m68klinux.c (MACHTYPE_OK): Define. | |
2749 | * i386linux.c (MACHTYPE_OK): Define. | |
2750 | ||
f3f3b475 ILT |
2751 | Fri Mar 28 11:56:15 1997 Ian Lance Taylor <ian@cygnus.com> |
2752 | ||
5f792743 ILT |
2753 | From David S. Miller <davem@caip.rutgers.edu> and H.J. Lu |
2754 | <hjl@gnu.ai.mit.edu>: | |
2755 | * sparclinux.c: New file. | |
774dc17c ILT |
2756 | * bfd-in.h (bfd_sparclinux_size_dynamic_sections): Declare. |
2757 | * bfd-in2.h: Rebuild. | |
5f792743 ILT |
2758 | * config.bfd (sparc-*-linuxaout*, sparc-*-linux*): New targets. |
2759 | * configure.in (sparclinux_vec): Add to list of vectors. | |
2760 | * configure: Rebuild. | |
2761 | * targets.c (sparclinux_vec): Declare. | |
2762 | (bfd_target_vector): Add sparclinux_vec. | |
2763 | * Makefile.in: Rebuild dependencies. | |
2764 | (BFD32_BACKENDS): Add sparclinux.o. | |
2765 | (BFD32_BACKENDS_CFILES): Add sparclinux.c. | |
2766 | ||
bebe5fbf ILT |
2767 | * coff-mips.c (mips_ecoff_backend_data): Initialize new |
2768 | bfd_coff_backend_data field. | |
2769 | * coff-alpha.c (alpha_ecoff_backend_data): Likewise. | |
2770 | ||
f0315e65 ILT |
2771 | * config.bfd: Add bfd_elf64_{big,little}mips_vec to targ_selvecs |
2772 | for mips*el*-*-linux* and mips*-*-linux*. From H.J. Lu | |
2773 | <hjl@lucon.org> and Ralf Baechle <ralf@gnu.ai.mit.edu>. | |
2774 | ||
f3f3b475 ILT |
2775 | * bfd.c: Include "libiberty.h". |
2776 | (strerror): Don't declare. | |
2777 | (bfd_errmsg): Call xstrerror rather than strerror. | |
2778 | ||
013b249f ILT |
2779 | Thu Mar 27 12:55:42 1997 Ian Lance Taylor <ian@cygnus.com> |
2780 | ||
eb80d52a ILT |
2781 | * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Generate a COPY |
2782 | reloc even if the symbol is in the .bss section. | |
2783 | * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. | |
2784 | * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. | |
2785 | * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise. | |
2786 | ||
f89adeb7 ILT |
2787 | * coffcode.h (bfd_coff_backend_data): Add new field |
2788 | _bfd_coff_default_section_alignment_power. | |
2789 | (bfd_coff_default_section_alignment_power): Define. | |
2790 | (bfd_coff_std_swap_table): Initialize new field. | |
2791 | * libcoff.h: Rebuild. | |
2792 | * cofflink.c (coff_link_add_symbols): Limit alignment of a common | |
2793 | symbol to the default section alignment. | |
2794 | ||
013b249f ILT |
2795 | * COPYING: Update FSF address. |
2796 | ||
0e9c4377 MH |
2797 | start-sanitize-d30v |
2798 | Thu Mar 27 00:45:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com> | |
2799 | ||
cf2cd4cf UD |
2800 | * elf32-d30v.c (elf_d30v_howto_table): Fix a typo in the |
2801 | 21-bit absolute that made it act as a relative. | |
0e9c4377 | 2802 | |
cf2cd4cf | 2803 | end-sanitize-d30v |
537327bc ILT |
2804 | Wed Mar 26 14:50:20 1997 Ian Lance Taylor <ian@cygnus.com> |
2805 | ||
0e9c4377 MH |
2806 | * elflink.c (_bfd_elf_create_linker_section): Don't set |
2807 | bss_section and rel_section from existing sections. | |
2808 | ||
537327bc ILT |
2809 | * elf32-ppc.c (ppc_elf_check_relocs): Only create the got section |
2810 | if it is needed. | |
2811 | ||
60d1227a SG |
2812 | Tue Mar 25 22:26:56 1997 Stu Grossman (grossman@critters.cygnus.com) |
2813 | ||
2814 | * aoutx.h (some_aout_object_p): Change executable test to fix | |
2815 | problems with embedded a.out systems. | |
2816 | ||
3cd5cf3d ILT |
2817 | Tue Mar 25 14:35:37 1997 Ian Lance Taylor <ian@cygnus.com> |
2818 | ||
6717fb0d ILT |
2819 | * stabs.c (_bfd_stab_section_offset): New function. |
2820 | * libbfd-in.h (_bfd_stab_section_offset): Declare. | |
2821 | * libbfd.h: Rebuild. | |
2822 | * elf32-i386.c (elf_i386_relocate_section): Adjust the offset of a | |
2823 | stab reloc. | |
2824 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
2825 | * elf32-mips.c (mips_elf_relocate_section): Likewise. | |
2826 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
2827 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
2828 | * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. | |
2829 | ||
3cd5cf3d ILT |
2830 | * stabs.c (_bfd_link_section_stabs): Copy over the first header |
2831 | symbol. Check for memory allocation failure of *psinfo. | |
2832 | (_bfd_write_section_stabs): Add psinfo parameter. Change all | |
2833 | callers. Set the value of the header symbol. | |
2834 | * libbfd-in.h (_bfd_write_section_stabs): Update declaration. | |
2835 | * libbfd.h: Rebuild. | |
2836 | ||
67e87a1d FF |
2837 | start-sanitize-tic80 |
2838 | Mon Mar 24 20:07:29 1997 Fred Fish <fnf@cygnus.com> | |
2839 | ||
2840 | * coff-tic80.c (tic80_howto_table): Add R_ABS entry. | |
2841 | (rtype2howto): Handle R_ABS reloc type. Also abort on unhandled | |
2842 | reloc types, rather than silently failing to generate an output file. | |
2843 | ||
2844 | end-sanitize-tic80 | |
e9148724 ILT |
2845 | Mon Mar 24 13:41:00 1997 Ian Lance Taylor <ian@cygnus.com> |
2846 | ||
e1ea3dd5 ILT |
2847 | * targmatch.sed: Use the hold space to put the #ifdef around the |
2848 | the string constant. | |
2849 | * targets.c (UNSUPPORTED_TARGET): Don't define. | |
2850 | (find_target): Don't check for UNSUPPORTED_TARGET. | |
2851 | (bfd_set_default_target): Don't try to optimize by checking for | |
2852 | default. | |
2853 | ||
032dc9ed ILT |
2854 | * Makefile.in: Rebuild dependencies. |
2855 | (ALL_MACHINES_CFILES): Add cpu-m32r.c. | |
2856 | (BFD32_BACKENDS_CFILES): Add elf32-m32r.c. | |
2857 | (elf32-m32r.o): Remove explicit target. | |
2858 | ||
19d02576 ILT |
2859 | * config.bfd: Don't set targ_underscore for i[3456]86-*-gnu* or |
2860 | i[3456]86-*-linux*. | |
2861 | ||
e9148724 ILT |
2862 | * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Don't |
2863 | count section symbols for sections that were created by the | |
2864 | linker, or are not allocatable or not loadable. | |
2865 | (elf32_sparc_finish_dynamic_sections): Output output section | |
2866 | symbols for section for which we made space for them. | |
2867 | ||
0727fe10 ILT |
2868 | Fri Mar 21 13:08:26 1997 Ian Lance Taylor <ian@cygnus.com> |
2869 | ||
2870 | * elf32-sparc.c (elf32_sparc_size_dynamic_sections): If there is | |
2871 | no .rela.plt section, don't output a DT_PLTGOT dynamic entry. | |
2872 | ||
ff22a9db DE |
2873 | Fri Mar 21 12:36:46 1997 Doug Evans <dje@canuck.cygnus.com> |
2874 | ||
2875 | * elf32-m32r.c (m32r_elf_howto_table): Use special function for LO16. | |
2876 | (m32r_hi16_list): New static local. | |
2877 | (m32r_elf_hi16_reloc): Don't perform reloc, just queue it up. | |
2878 | (m32r_elf_do_hi16_reloc): Delete. | |
2879 | (m32r_elf_relocate_hi16): New function. | |
2880 | (m32r_elf_lo16_reloc): New function. | |
2881 | (m32r_elf_relocate_section): For HI16 relocs, scan for corresponding | |
2882 | LO16 reloc. | |
2883 | ||
2884 | Mon Mar 10 16:03:31 1997 Doug Evans <dje@seba.cygnus.com> | |
2885 | ||
2886 | * elf32-m32r.c (m32r_elf_create_linker_section): Delete. | |
2887 | (m32r_elf_add_symbol_hook): Rewrite _SDA_BASE_ support. | |
2888 | (m32r_elf_final_sda_base): New function. | |
2889 | (m32r_elf_relocate_section): Rewrite sdata support. | |
2890 | (m32r_elf_finish_dynamic_sections): Delete. | |
2891 | ||
34bc6ffc ILT |
2892 | Thu Mar 20 12:39:02 1997 Ian Lance Taylor <ian@cygnus.com> |
2893 | ||
ac388f2a ILT |
2894 | Based on patches from Philippe De Muyter <phdm@info.ucl.ac.be>. |
2895 | * coff-svm68k.c: New file. Just defines some macros and includes | |
2896 | coff-m68k.c. | |
2897 | * coff-m68k.c: Add functions to handle common addends, moved in | |
2898 | from cf-m68klynx.c. Control them using COFF_COMMON_ADDEND macro. | |
2899 | Control whether relocs are visible using STATIC_RELOCS. | |
2900 | * cf-m68klynx.c: Simplify greatly: just define macros to control | |
2901 | coff-m68k.c. | |
2902 | * coff-aux.c: Likewise. Just leave add_one_symbol routine. | |
2903 | * targets. (m68ksysvcoff_vec): Declare. | |
2904 | (bfd_target_vector): Add m68ksysvcoff_vec. | |
2905 | * config.bfd (m68*-motorola-sysv*): New target. | |
2906 | * configure.in (m68ksysvcoff_vec): New vector. | |
2907 | * configure: Rebuild. | |
2908 | * Makefile.in: Rebuild dependencies. | |
2909 | (BFD32_BACKENDS): Add coff-svm68k.o. | |
2910 | (BFD32_BACKENDS_CFILES): Add coff-svm68k.c. | |
2911 | ||
b9576d75 ILT |
2912 | * binary.c (binary_set_section_contents): Don't get misled if the |
2913 | first section is not loadable. From Matthew L. Martin | |
2914 | <mlm@xedia.com>. | |
2915 | ||
34bc6ffc ILT |
2916 | * elflink.h (elf_bfd_final_link): Set the value of a section |
2917 | symbol to the section address unless doing a relocateable link. | |
2918 | ||
2919 | Tue Mar 18 23:03:17 1997 Richard Henderson <rth@tamu.edu> | |
2920 | ||
2921 | * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't create | |
2922 | .plt entry if we've taken the function's address. | |
2923 | (elf64_alpha_merge_gots): Merge collected flags info as well. | |
2924 | ||
303e7257 ILT |
2925 | Tue Mar 18 22:40:09 1997 H.J. Lu <hjl@lucon.org> |
2926 | ||
2927 | * Many files: Add function prototypes. | |
2928 | * cpu-m68k.c (bfd_default_scan_num_mach): Don't declare. | |
2929 | * ecofflink.c: Include "libcoff.h" and "libecoff.h". | |
2930 | * elf32-ppc.c (ppc_elf_fake_sections): Make static. | |
2931 | * opncls.c (bfd_openstreamr): Change stream parameter to PTR. | |
2932 | * peicode.h: Change several void * parameters to PTR. | |
2933 | * srec.c (srec_get_symbol_info): Make static. | |
2934 | * syms.c (bfd_symbol_is_absolute): Remove. | |
7197adc4 | 2935 | * Makefile.in: Rebuild dependencies. |
303e7257 | 2936 | |
939b2169 ILT |
2937 | Tue Mar 18 12:58:08 1997 Ian Lance Taylor <ian@cygnus.com> |
2938 | ||
e76386d2 ILT |
2939 | * elf32-m32r.c (m32r_elf_is_local_label_name): Remove. |
2940 | (bfd_elf32_bfd_is_local_label): Don't define. | |
2941 | ||
939b2169 ILT |
2942 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Call bfd_malloc rather |
2943 | than malloc. | |
2944 | ||
50ede03d ILT |
2945 | Mon Mar 17 11:32:53 1997 Ian Lance Taylor <ian@cygnus.com> |
2946 | ||
508539ab ILT |
2947 | * bfd-in.h: Don't include obstack.h. |
2948 | (struct bfd_hash_table): Change memory field to PTR. | |
2949 | * bfd.c (struct _bfd): Change memory field to PTR. | |
2950 | * bfd-in2.h: Rebuild. | |
2951 | * libbfd-in.h (bfd_release): Declare as function, don't define as | |
2952 | macro. | |
2953 | * libbfd.h: Rebuild. | |
2954 | * opncls.c: Include "objalloc.h" rather than "obstack.h". Use | |
2955 | objalloc routines rather than obstack routines. | |
2956 | (obstack_chunk_alloc, obstack_chunk_free): Don't define. | |
2957 | (getpagesize): Don't define. | |
2958 | (_bfd_new_bfd): Don't set _bfd_chunksize. | |
2959 | (bfd_openr): Free new bfd and objalloc on failure. | |
2960 | (bfd_fdopenr, bfd_openstreamr, bfd_openw): Likewise. | |
2961 | (bfd_alloc_size): Remove. | |
2962 | (bfd_release): New function. | |
2963 | * hash.c: Include "objalloc.h" rather than "obstack.h". Use | |
2964 | objalloc routines rather than obstack routines. | |
2965 | (obstack_chunk_alloc, obstack_chunk_free): Don't define. | |
2966 | * ecofflink.c: Include "objalloc.h" rather than "obstack.h". Use | |
2967 | objalloc routines rather than obstack routines. | |
2968 | (obstack_chunk_alloc, obstack_chunk_free): Don't define. | |
2969 | (struct accumulate): Change memory to struct objalloc *. | |
2970 | * liboasys.h (oasys_data_type): Remove oasys_obstack field. | |
2971 | * dep-in.sed: Don't remove obstack.h from dependency list. | |
2972 | * Makefile.in: Rebuild dependencies. | |
2973 | (BFD_H_DEPS): Remove obstack.h. | |
2974 | (install): Don't install obstack.h. | |
2975 | * Many files: Don't include "obstack.h". | |
2976 | * VERSION: Bump. | |
2977 | ||
062a1b96 ILT |
2978 | * opncls.c (bfd_alloc_grow, bfd_alloc_finish): Remove. |
2979 | * libbfd-in.h (bfd_alloc_grow, bfd_alloc_finish): Don't declare. | |
2980 | * libbfd.h: Rebuild. | |
2981 | * ieee.c (ieee_archive_p): Rewrite to not use bfd_alloc_grow. | |
2982 | * sunos.c (sunos_add_dynamic_symbols): Likewise. | |
0103b447 | 2983 | * srec.c (srec_scan): Rewrite to not use obstack_1grow. |
062a1b96 | 2984 | |
50ede03d ILT |
2985 | * opncls.c (bfd_alloc): Rename from bfd_alloc_by_size_t. Remove |
2986 | old version of bfd_alloc. | |
2987 | * libbfd-in.h (bfd_alloc_by_size_t): Don't declare. | |
2988 | * libbfd.h: Rebuild. | |
2989 | * Several files: Call bfd_alloc rather than bfd_alloc_by_size_t. | |
2990 | ||
5e67a3c6 ILT |
2991 | Sat Mar 15 15:24:18 1997 Ian Lance Taylor <ian@cygnus.com> |
2992 | ||
2993 | * elf32-mips.c (mips_elf_is_local_label_name): Accept the generic | |
2994 | ELF local label syntax as well. | |
2995 | ||
7305cacd FF |
2996 | Sat Mar 15 10:16:42 1997 Fred Fish <fnf@cygnus.com> |
2997 | ||
2998 | * config.bfd (powerpc-*-beos*): New target. | |
2999 | * configure.in (powerpc-*-beos*): Add case that explicitly | |
3000 | does not set COREFILE for now. A future BeOS version is | |
3001 | expected to support core files. | |
3002 | * configure: Regenerate with autoconf. | |
3003 | ||
f56d634e ILT |
3004 | Fri Mar 14 16:43:22 1997 Ian Lance Taylor <ian@cygnus.com> |
3005 | ||
4813bbed ILT |
3006 | * elf32-mips.c (mips_elf_check_relocs): Give an error if CALL16 is |
3007 | seen with a local symbol, rather than crashing. | |
3008 | ||
f56d634e ILT |
3009 | * elfcode.h (elf_slurp_symbol_table): Don't try to read the |
3010 | version symbols if there aren't any. | |
3011 | ||
4507d858 FF |
3012 | start-sanitize-tic80 |
3013 | Thu Mar 13 16:38:30 1997 Fred Fish <fnf@cygnus.com> | |
3014 | ||
3015 | * coff-tic80.c (coff_rtype_to_howto): Define | |
3016 | (coff_tic80_rtype_to_howto): Clone generic coff version and | |
3017 | add code to handle the funky TI "internal relocations". | |
3018 | ||
3019 | end-sanitize-tic80 | |
94ba939a ILT |
3020 | Thu Mar 13 14:08:53 1997 Ian Lance Taylor <ian@cygnus.com> |
3021 | ||
37897db0 ILT |
3022 | * elflink.h (elf_link_add_object_symbols): Don't warn about type |
3023 | or size changes because of a weak symbol. | |
3024 | ||
94ba939a ILT |
3025 | * cisco-core.c (SIGEMT): Define if not defined. |
3026 | ||
e549b1d2 ILT |
3027 | Wed Mar 12 21:36:05 1997 Ian Lance Taylor <ian@cygnus.com> |
3028 | ||
3029 | * elflink.h (elf_link_add_object_symbols): Use extsymoff when | |
3030 | setting ever. Sanity check the version number. Sort out copying | |
3031 | flags and other information when adding an indirect symbol. | |
3032 | (NAME(bfd_elf,size_dynamic_sections)): Preserve any dynamic | |
3033 | symbols added by the backend. Clear the entire contents of the | |
3034 | versym section. | |
3035 | (elf_export_symbol): Ignore indirect symbols. | |
3036 | (elf_link_output_extsym): Accept a section without an owner in an | |
3037 | assert. | |
3038 | * elfcode.h (elf_slurp_symbol_table): Add a sanity check on the | |
3039 | version count. Correct the allocation of x_versymp. | |
3040 | ||
3041 | * elf32-mips.c (mips_elf_add_symbol_hook): Don't set the owner of | |
3042 | the magic sections used for SHN_MIPS_TEXT and SHN_MIPS_DATA. | |
3043 | Don't return bfd_und_section_ptr when info->shared. | |
3044 | (mips_elf_final_link): Set the alignment of .rtproc to 4, not 12. | |
3045 | (mips_elf_create_dynamic_sections): Correct type: ^= for &=. | |
3046 | (mips_elf_check_relocs): Resolve an indirect symbol in | |
3047 | sym_hashes. | |
3048 | (mips_elf_finish_dynamic_symbol): Don't change SHN_ABS into | |
3049 | SHN_MIPS_TEXT or SHN_MIPS_DATA. | |
3050 | ||
3051 | * elf.c (bfd_elf_print_symbol): Tweak version output slightly. | |
3052 | ||
3053 | Tue Mar 11 01:38:36 1997 Ian Lance Taylor <ian@cygnus.com> | |
3054 | ||
3055 | From Eric Youngdale <eric@andante.jic.com>: | |
3056 | * elf-bfd.h (ELF_LINK_FORCED_LOCAL): Define. | |
3057 | * elf.c (bfd_elf_print_symbol): Correct errors in last change. | |
3058 | * elflink.h (elf_link_add_object_symbols): Handle cases in which a | |
3059 | versioned symbol appears in both a regular and a shared object. | |
3060 | (elf_link_assign_sym_version): Set ELF_LINK_FORCED_LOCAL when | |
3061 | appropriate. Improve error message. | |
3062 | (struct elf_outext_info): Rename from elf_finfo_failed. Change | |
3063 | all uses. Add localsyms field. | |
3064 | (elf_bfd_final_link): When generating a shared library, call | |
3065 | elf_link_output_extsym to output all local symbols. | |
3066 | (elf_link_output_extsym): Handle symbols which were forced to | |
3067 | become local. | |
3068 | ||
d6bfcdb5 ILT |
3069 | Sun Mar 9 23:08:49 1997 Ian Lance Taylor <ian@cygnus.com> |
3070 | ||
3071 | From Eric Youngdale <eric@andante.jic.com>: | |
3072 | * elf-bfd.h (elf_symbol_type): Add version field. | |
3073 | * elfcode.h (elf_slurp_symbol_table): Set version field. | |
3074 | * elflink.h (elf_link_add_object_symbols): When creating an | |
3075 | indirect symbol for a default version symbol, set DEF_DYNAMIC if | |
3076 | appropriate. Set up an indirection from the nondefault version of | |
3077 | the symbol as well. | |
3078 | (NAME(bfd_elf,size_dynamic_sections)): Call | |
3079 | elf_link_assign_sym_version before checking whether there are any | |
3080 | versions. Always record the version name as a dynamic symbol. | |
3081 | Initialize counters. | |
3082 | (elf_link_assign_sym_version): After finding a version, see if a | |
3083 | symbol should be forced to local scope. Create a new version | |
3084 | definition if appropriate. | |
3085 | (elf_link_output_extsym): Correct indirect symbol handling. | |
3086 | * elf.c (bfd_elf_print_symbol): Print version information. | |
3087 | (bfd_section_from_shdr): Turn version sections into BFD sections. | |
3088 | (elf_fake_sections): Only copy cverdefs and cverrefs into sh_info | |
3089 | if sh_info is not already set. | |
3090 | (_bfd_elf_copy_private_section_data): Copy sh_info for version | |
3091 | sections. | |
3092 | * elflink.c (_bfd_elf_link_record_dynamic_symbol): Tell | |
3093 | _bfd_stringtab_add to copy the name into permanent memory if | |
3094 | appropriate. | |
3095 | ||
7debe20c ILT |
3096 | Fri Mar 7 11:55:31 1997 H.J. Lu <hjl@gnu.ai.mit.edu> |
3097 | ||
3098 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Fully parenthesize. | |
3099 | ||
358bb592 ILT |
3100 | Fri Mar 7 10:37:30 1997 Ian Lance Taylor <ian@cygnus.com> |
3101 | ||
ccd0e5e2 ILT |
3102 | * coffcode.h (bfd_coff_backend_data): Change |
3103 | _bfd_coff_compute_section_file_positions to return a boolean | |
3104 | value. Change all callers. | |
3105 | (coff_compute_section_file_positions): Change return type to | |
3106 | boolean. If the size of the last section changed, then output a | |
3107 | zero byte at the end of the file. | |
3108 | * libcoff.h: Rebuild. | |
3109 | ||
e8c4696e ILT |
3110 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Always allocate space |
3111 | for at least 6 output symbols. | |
3112 | (xcoff_write_global_symbol): When emitting TOC entry relocs, also | |
3113 | emit a TC csect to represent the space they take up. For an XO | |
3114 | symbol, just emit a reference, not a csect. | |
3115 | ||
4104dff6 ILT |
3116 | * Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since |
3117 | Solaris doesn't like the combined options, and the -f is | |
3118 | unnecessary. | |
5bd7c941 | 3119 | (stamp-tshlink, install): Likewise. |
4104dff6 | 3120 | |
358bb592 ILT |
3121 | * elf32-mips.c (mips_elf_relocate_section): Correct R_MIPS16_26 |
3122 | handling when little endian. | |
3123 | ||
77bf22e6 JL |
3124 | Thu Mar 6 13:51:51 1997 Jeffrey A Law (law@cygnus.com) |
3125 | ||
5847e6dd JL |
3126 | * elf32-mn10300.c (mn10300_elf_final_link_relocate): New function. |
3127 | (mn10300_elf_relocate_section): Likewise. | |
3128 | (elf_backend_relocate_section): Define. | |
3129 | ||
77bf22e6 JL |
3130 | * elf32-mn10300.c (reloc_type): Remove PCREL{8,16,32}_{1,2}BYTE |
3131 | relocs. Replace them with generic PCREL_{8,16,32} relocs. | |
3132 | (elf32_mn10300_howto_table): Likewise. | |
3133 | (elf32_mn10300_reloc_map): Likewise. | |
3134 | (bfd_elf32_mn10300_reloc): Delete unused function. | |
3135 | ||
13b58694 FF |
3136 | Thu Mar 6 12:19:59 1997 Fred Fish <fnf@cygnus.com> |
3137 | ||
3138 | start-sanitize-tic80 | |
3139 | * coff-tic80.c (rtype2howto): If passed a relocation type we don't | |
3140 | understand, just set the howto field to NULL, and the caller will | |
3141 | print an appropriate error message. | |
3142 | end-sanitize-tic80 | |
3143 | * coffcode.h (coff_slurp_reloc_table): Pull duplicate declarations and | |
3144 | code fragment out of both legs of #ifdef RELOC_PROCESSING ... #endif | |
3145 | block. Use NULL for initializations of "ptr" rather than bare 0. | |
3146 | * coff-h8300.c: Fix typo in comment. | |
3147 | * coff-h8500.c: Ditto. | |
3148 | * coff-w65.c: Ditto | |
3149 | * coff-z8k.c: Ditto. | |
cf2cd4cf | 3150 | |
da171461 DE |
3151 | Wed Mar 5 13:59:09 1997 Doug Evans <dje@seba.cygnus.com> |
3152 | ||
3153 | * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc): Fix overflow calc. | |
3154 | (m32r_elf_relax_section, m32r_elf_relax_delete_bytes, | |
3155 | m32r_elf_get_relocated_section_contents): First pass at relax support. | |
3156 | ||
da171461 DE |
3157 | Mon Mar 3 13:27:09 1997 Ulrich Drepper <drepper@rtl.cygnus.com> |
3158 | ||
3159 | * elflink.h (elf_link_add_object_symbols): Use correct sh_size | |
3160 | entry for reading verdef records. | |
3161 | Use correct braces for computing increments of extverdaux and | |
3162 | exteverdef record pointers. | |
3163 | ||
4b4ac3ae FF |
3164 | start-sanitize-tic80 |
3165 | Sun Mar 2 22:47:54 1997 Fred Fish <fnf@cygnus.com> | |
3166 | ||
3167 | * coff-tic80.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set this to 2 | |
3168 | instead of 4. | |
3169 | ||
3170 | end-sanitize-tic80 | |
a48ef404 ILT |
3171 | Sun Mar 2 16:25:35 1997 Ian Lance Taylor <ian@cygnus.com> |
3172 | ||
3173 | * elflink.h (elf_link_find_version_dependencies): Check that | |
3174 | DEF_REGULAR is not set as well as checking that DEF_DYNAMIC is | |
3175 | set. | |
3176 | ||
84fd6e7e FF |
3177 | start-sanitize-tic80 |
3178 | Fri Feb 28 16:52:40 1997 Fred Fish <fnf@cygnus.com> | |
3179 | ||
3180 | * coffcode.h (coff_set_flags): Add case for TIC80_ARCH_MAGIC. | |
3181 | ||
3182 | end-sanitize-tic80 | |
af4dffff ILT |
3183 | Fri Feb 28 15:06:45 1997 Ian Lance Taylor <ian@cygnus.com> |
3184 | ||
73769e1f ILT |
3185 | * targets.c (bfd_default_vector): Make non-const. |
3186 | (find_target): New static function, broken out of | |
3187 | bfd_find_target. | |
3188 | (bfd_set_default_target): New function. | |
3189 | (bfd_find_target): Call find_target. When defaulting, use | |
3190 | bfd_default_vector[0] if it is not NULL. | |
3191 | * libbfd-in.h (bfd_default_vector): Adjust declaration. | |
3192 | * bfd-in2.h, libbfd.h: Rebuild. | |
3193 | ||
af4dffff ILT |
3194 | * syms.c (bfd_is_local_label): Return false if the symbol has no |
3195 | name. | |
3196 | * coff-i960.c (coff_i960_is_local_label_name): New function. | |
3197 | (coff_bfd_is_local_label_name): Define. | |
3198 | * coff-m68k.c (m68k_coff_is_local_label_name): New function. | |
3199 | (coff_bfd_is_local_label_name): Define. | |
3200 | * coff-rs6000.c (xcoff_is_local_label_name): New function. | |
3201 | (coff_bfd_is_local_label_name): Define. | |
3202 | * elf.c (_bfd_elf_is_local_label_name): Treat symbols beginning | |
3203 | with .. or _.L_ as local. | |
3204 | * elf32-i386.c (elf_i386_is_local_label_name): New function. | |
3205 | (bfd_elf32_bfd_is_local_label_name): Define. | |
3206 | * evax-alpha.c (evax_bfd_is_local_label_name): Treat symbols | |
3207 | beginning with $ as local. | |
3208 | ||
85d6f0b4 ILT |
3209 | Thu Feb 27 18:36:23 1997 Ian Lance Taylor <ian@cygnus.com> |
3210 | ||
e316f514 ILT |
3211 | * aoutx.h (aout_link_write_symbols): Use bfd_is_local_label_name |
3212 | rather than comparing against info->lprefix. | |
3213 | * cofflink.c (_bfd_coff_link_input_bfd): Likewise. | |
3214 | * elflink.h (elf_link_input_bfd): Likewise. | |
3215 | * linker.c (_bfd_generic_link_output_symbols): Likewise. | |
3216 | * xcofflink.c (xcoff_link_input_bfd): Likewise. | |
3217 | ||
3218 | * elfxx-target.h (bfd_elfNN_bfd_is_local_label_name): Define as | |
3219 | _bfd_elf_is_local_label_name if not already defined. | |
3220 | * elf.c (_bfd_elf_is_local_label_name): New function. | |
3221 | * elf-bfd.h (_bfd_elf_is_local_label_name): Declare. | |
3222 | ||
3223 | * coff-m88k.c (coff_bfd_is_local_label_name): Define. | |
3224 | (m88k_is_local_label_name): New static function. | |
3225 | ||
3226 | * coffcode.h (coff_bfd_is_local_label_name): Define as | |
3227 | _bfd_coff_is_local_label_name if not already defined. | |
3228 | * coffgen.c (_bfd_coff_is_local_label_name): New function. | |
3229 | * libcoff-in.h (_bfd_coff_is_local_label_name): Declare. | |
3230 | * libcoff.h: Rebuild. | |
cf2cd4cf | 3231 | |
35a3e78e ILT |
3232 | * targets.c (BFD_JUMP_TABLE_SYMBOLS): Change _bfd_is_local_label |
3233 | to _bfd_is_local_label_name. | |
3234 | (bfd_target): Likewise. | |
3235 | * syms.c (bfd_is_local_label): Define as function, not macro. | |
3236 | (bfd_is_local_name): Define. | |
3237 | * libbfd.c (bfd_generic_is_local_label_name): Rename from | |
3238 | bfd_generic_is_local_label, and take a string rather than a | |
3239 | symbol. | |
3240 | * libbfd-in.h (_bfd_nosymbols_bfd_is_local_label): Don't define. | |
3241 | (_bfd_nosymbols_bfd_is_local_label_name): Define. | |
3242 | (bfd_generic_is_local_label): Don't declare. | |
3243 | (bfd_generic_is_local_label_name): Declare. | |
3244 | * bfd-in2.h, libbfd.h: Rebuild. | |
3245 | * All backends: Change local_label to local_label_name. | |
3246 | ||
85d6f0b4 ILT |
3247 | * elf32-mips.c (struct mips_got_info): Add assigned_gotno field. |
3248 | (mips_elf_relocate_got_local): Change return type to boolean. | |
3249 | Don't assume that the first zero entry is unassigned; instead, use | |
3250 | assigned_gotno. | |
3251 | (mips_elf_relocate_section): Check return value of | |
3252 | mips_elf_relocate_got_local. | |
3253 | (mips_elf_create_got_section): Initialize assigned_gotno field. | |
3254 | ||
56819c99 MH |
3255 | start-sanitize-d30v |
3256 | Wed Feb 26 15:19:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com> | |
3257 | ||
3258 | * elf32-d30v.c (bfd_elf_d30v_reloc): Add code to do 32-bit | |
3259 | relocations. | |
3260 | ||
cf2cd4cf | 3261 | end-sanitize-d30v |
fa802cb0 ILT |
3262 | Wed Feb 26 13:33:03 1997 Ian Lance Taylor <ian@cygnus.com> |
3263 | ||
3264 | * elflink.h (elf_link_input_bfd): Don't skip symbols from sections | |
3265 | that have no contents merely because linker_mark is not set. | |
3266 | ||
3267 | Tue Feb 25 18:51:35 1997 Stan Shebs <shebs@andros.cygnus.com> | |
3268 | ||
3269 | * config.bfd (mips*-*-lnews*): New target. | |
3270 | * coff-mips.c (mips_relocate_section): Make assert compare | |
3271 | content byteorder instead of header byteorder. | |
3272 | (ecoff_biglittle_vec): New BFD, big-endian headers, little-endian | |
3273 | data. | |
55ef0d90 | 3274 | * targets.c (bfd_target_vector): Add ecoff_biglittle_vec. |
fa802cb0 ILT |
3275 | * configure.in (ecoff_biglittle_vec): Add case. |
3276 | * configure: Update. | |
3277 | ||
7b4be668 ILT |
3278 | Tue Feb 25 00:32:49 1997 Ian Lance Taylor <ian@cygnus.com> |
3279 | ||
b08f5ac2 ILT |
3280 | * elf.c (elf_fake_sections): Use SHT_NOTE for any section whose |
3281 | name begins with ".note". | |
3282 | (map_sections_to_segments): Add a PT_NOTE segment for any loadable | |
3283 | section whose name begins with ".note". | |
3284 | (get_program_header_size): Corresponding change. | |
3285 | ||
7b4be668 ILT |
3286 | * elf32-mips.c (mips_elf_relocate_section): Check for misaligned |
3287 | jal and for jal overflow. | |
3288 | ||
3289 | Mon Feb 24 17:53:14 1997 Ian Lance Taylor <ian@cygnus.com> | |
3290 | ||
3291 | From Eric Youngdale <eric@andante.jic.com>: | |
3292 | * elflink.h (elf_link_add_archive_symbols): If a default symbol is | |
3293 | not found, try looking it up again without the version name. | |
3294 | (elf_link_add_object_symbols): Always link against the dynamic | |
3295 | symbol table of a dynamic object. When linking against a dynamic | |
3296 | object, include version strings in symbol names, and set up | |
3297 | version information. Add indirect symbols for default versions. | |
3298 | (elf_link_create_dynamic_sections): Add special version sections. | |
3299 | (struct elf_assign_sym_version_info): Define. | |
3300 | (struct elf_find_verdep_info): Define. | |
3301 | (NAME(bfd_elf,size_dynamic_sections)): Add verdefs parameter. Set | |
3302 | up version sections. | |
3303 | (elf_adjust_dynamic_symbol): Ignore indirect symbols. | |
3304 | (elf_link_find_version_dependencies): New static function. | |
3305 | (elf_link_assign_sym_version): New static function. | |
3306 | (elf_link_renumber_dynsyms): New static function. | |
3307 | (struct elf_final_link_info): Add symver_sec field. | |
3308 | (elf_bfd_final_link): Initialize finfo.symver_sec. Don't count | |
3309 | local symbols of a dynamic object. Handle DT_VER* constants. | |
3310 | (elf_link_output_extsym): Simplify BFD_ASSERT checking for a | |
3311 | dynamic object. Skip indirect symbols from ELF objects. Remove | |
3312 | the version name before choosing a hash bucket. Write out the | |
3313 | version information if appropriate. | |
3314 | (elf_link_input_bfd): Check for DYNAMIC, not ET_DYN. | |
3315 | * bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration. | |
3316 | (bfd_elf64_size_dynamic_sections): Likewise. | |
3317 | * bfd-in2.h: Rebuild. | |
3318 | * elf-bfd.h (struct elf_link_hash_entry): Add verinfo field. | |
3319 | Change elf_link_hash_flags to unsigned short. | |
3320 | (ELF_LINK_HIDDEN): Define. | |
3321 | (struct elf_obj_tdata): Add fields dynversym_hdr, dynverref_hdr, | |
3322 | dynverdef_hdr, dynversym_section, dynverdef_section, | |
3323 | dynverref_section, cverdefs, cverrefs, verdef, verref. | |
3324 | (elf_dynversym, elf_dynverdef, elf_dynverref): Define. | |
3325 | (_bfd_elf_swap_verdef_in, _bfd_elf_swap_verdef_out): Declare. | |
3326 | (_bfd_elf_swap_verdaux_in, _bfd_elf_swap_verdaux_out): Declare. | |
3327 | (_bfd_elf_swap_verneed_in, _bfd_elf_swap_verneed_out): Declare. | |
3328 | (_bfd_elf_swap_vernaux_in, _bfd_elf_swap_vernaux_out): Declare. | |
3329 | (_bfd_elf_swap_versym_in, _bfd_elf_swap_versym_out): Declare. | |
3330 | (_bfd_elf_slurp_version_tables): Declare. | |
3331 | * elf.c (_bfd_elf_swap_verdef_in): New function. | |
3332 | (_bfd_elf_swap_verdef_out): Likewise. | |
3333 | (_bfd_elf_swap_verdaux_in, _bfd_elf_swap_verdaux_out): Likewise. | |
3334 | (_bfd_elf_swap_verneed_in, _bfd_elf_swap_verneed_out): Likewise. | |
3335 | (_bfd_elf_swap_vernaux_in, _bfd_elf_swap_vernaux_out): Likewise. | |
3336 | (_bfd_elf_swap_versym_in, _bfd_elf_swap_versym_out): Likewise. | |
3337 | (_bfd_elf_print_private_bfd_data): Add DT_VER* constants. Print | |
3338 | version information if there is any. | |
3339 | (_bfd_elf_link_hash_newfunc): Initialize verinfo field. | |
3340 | (bfd_section_from_shdr): Handle SHT_GNU_ver* section types. | |
3341 | (elf_fake_sections): Handle .gnu.version* section names. | |
3342 | (assign_section_numbers): Handle SHT_GNU_ver* section types. | |
3343 | (_bfd_elf_slurp_version_tables): New function. | |
3344 | * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't include | |
3345 | version name in string entered in dynamic hash table. | |
3346 | * elfcode.h: Include fnmatch.h. | |
3347 | * elf32-i386.c (elf_i386_relocate_section): Handle a dynamic | |
3348 | symbol which was forced to become local. | |
3349 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
3350 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
3351 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
3352 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. | |
3353 | ||
7b951eed JL |
3354 | Fri Feb 21 16:15:18 1997 Jeffrey A Law (law@cygnus.com) |
3355 | ||
3356 | * elf32-mn10200.c (mn10200_elf_final_link_relocate): Simplify | |
3357 | somewhat. | |
3358 | (mn10200_elf_relax_section): Correctly compute a symbol's value | |
3359 | when the symbol is local, but not in the same section as we are | |
3360 | relaxing. Implement abs24 -> abs16, imm24 -> imm16 and d24 -> d16 | |
3361 | relaxing. | |
3362 | ||
77dd1a25 DE |
3363 | Fri Feb 21 13:55:14 1997 Doug Evans <dje@seba.cygnus.com> |
3364 | ||
3365 | * elf32-m32r.c: Rewrite to use ELF backend linker. | |
3366 | Store lower 16 bits of addend in R_M32R_HI16_[SU]LO insns. | |
3367 | Add small data area support (R_M32R_SDA16). | |
3368 | * reloc.c: Document BFD_RELOC_M32R_SDA16. | |
3369 | * bfd-in2.h,libbfd.h: Regenerated. | |
3370 | ||
fd395661 JL |
3371 | Thu Feb 20 23:50:31 1997 Jeffrey A Law (law@cygnus.com) |
3372 | ||
3373 | * elf32-mn10200.c (mn10200_elf_relax_section): New function. | |
3374 | (mn10200_elf_relax_delete_bytes): Likewise. | |
3375 | (mn10200_elf_symbol_address_p): Likewise. | |
3376 | (mn10200_elf_get_relocated_section_contents): Likewise. | |
3377 | (bfd_elf32_bfd_relax_section): Define. | |
3378 | (bfd_elf32_bfd_get_relocated_section_contents): Likewise. | |
64af6679 JL |
3379 | |
3380 | * elf32-mn10200.c (mn10200_elf_final_link_relocate): New function. | |
3381 | (mn10200_elf_relocate_section): Likewise. | |
3382 | (elf_backend_relocate_section): Define. | |
3383 | ||
fd8d7c31 MH |
3384 | start-sanitize-d30v |
3385 | Tue Feb 18 17:22:59 1997 Martin M. Hunt <hunt@pizza.cygnus.com> | |
3386 | ||
3387 | * Makefile.in, archures.c, config.bfd, configure.in, elf.c, | |
cf2cd4cf | 3388 | reloc.c, targets.c: New target, elf-*-D30V. |
fd8d7c31 MH |
3389 | |
3390 | * bfd-in2.h, configure, libbfd.h: Rebuilt. | |
3391 | ||
3392 | * cpu-d30v.c, elf32-d30v.c: New files. | |
cf2cd4cf UD |
3393 | |
3394 | end-sanitize-d30v | |
92a956e8 FF |
3395 | Tue Feb 18 15:31:48 1997 Fred Fish <fnf@cygnus.com> |
3396 | ||
3397 | * reloc.c (struct reloc_howto_struct): Fix typo in comment. | |
3398 | * bfd-in2.h: Regenerated. | |
3399 | start-sanitize-tic80 | |
3400 | * coff-tic80.c (RTYPE2HOWTO): Replace abort with real function. | |
3401 | (rtype2howto): Add function. | |
3402 | (tic80_howto_table): Add. | |
3403 | end-sanitize-tic80 | |
cf2cd4cf | 3404 | |
92a956e8 FF |
3405 | Tue Feb 18 11:41:00 1996 Dawn Perchik <dawn@cygnus.com> |
3406 | ||
3407 | * sysdep.h: Don't define errno in MSVC if error.h is included. | |
3408 | ||
8d1ba96e JL |
3409 | Tue Feb 18 10:04:13 1997 Jeffrey A Law (law@cygnus.com) |
3410 | ||
3411 | * elf32-v850.c (v850_elf_relocate_section): Make sure r_symndx | |
3412 | is initialized before it is used. | |
3413 | ||
8ceca983 ILT |
3414 | Mon Feb 17 11:28:40 1997 Ian Lance Taylor <ian@cygnus.com> |
3415 | ||
3416 | * hp300hpux.c (convert_sym_type): Don't convert a secondary common | |
3417 | symbol into a weak undefined symbol; leave it as a common symbol. | |
3418 | ||
54626f1a ILT |
3419 | Fri Feb 14 19:08:03 1997 Ian Lance Taylor <ian@cygnus.com> |
3420 | ||
3421 | * elflink.h (elf_link_add_object_symbols): Don't issue a warning | |
3422 | about a symbol defined in a dynamic object if it has already been | |
3423 | defined in a regular object. | |
3424 | ||
236969ac ILT |
3425 | Thu Feb 13 20:53:22 1997 Klaus Kaempf (kkaempf@progis.de) |
3426 | ||
3427 | * makefile.vms: Add gcc flags to allow compiling with current gcc | |
3428 | snapshot | |
3429 | (targmatch.h): New dependency. | |
3430 | ||
54626f1a ILT |
3431 | * reloc.c (BFD_RELOC_ALPHA_CODEADDR): New relocation for |
3432 | openVMS/Alpha. | |
3433 | * evax.h (ALPHA_R_CODEADDR): New relocation. | |
3434 | * evax-alpha.c (ALPHA_R_CODEADDR): 64 bit procedure relocation for | |
3435 | openVMS/Alpha. | |
3436 | * evax-etir.c (ALPHA_R_CODEADDR): Output object code for this | |
3437 | relocation. | |
3438 | * bfd-in2.h, libbfd.h: Rebuild. | |
3439 | ||
3440 | Restrict symbol length to 64 bytes, case preserving: | |
3441 | * evax-emh.c (_bfd_evax_write_emh): Remove case hacking. | |
3442 | * evax-misc.c (_bfd_evax_case_hack_symbol): Remove. | |
3443 | (_bfd_evax_length_hash_symbol): Added. | |
3444 | * evax-etir.c (_bfd_evax_write_etir): Call | |
3445 | _bfd_evax_length_hash_symbol before output of symbol. | |
3446 | * evax-egsd.c (_bfd_evax_write_egsd): Likewise. | |
3447 | * evax.h (flag_hash_long_names, flag_show_after_trunc): Remove. | |
3448 | ||
3449 | * evax-emh.c: Output filename to object file without path. | |
3450 | ||
3451 | * evax-egsd.c: New sections for local and global commons. | |
3452 | ||
3453 | * evax-alpha.c, evax-emh.c, evax-egsd.c, evax-etir.c, | |
3454 | evax-misc.c, evax.h: Remove 8 bit characters from copyright | |
3455 | notices. Replace AXP with Alpha. | |
3456 | ||
62332d05 ILT |
3457 | Wed Feb 12 18:10:30 1997 Ian Lance Taylor <ian@cygnus.com> |
3458 | ||
3459 | * sunos.c (sunos_create_dynamic_sections): We need the dynamic | |
3460 | sections if we are creating a shared library. | |
3461 | ||
3883007e DE |
3462 | Tue Feb 11 15:45:43 1997 Doug Evans <dje@canuck.cygnus.com> |
3463 | ||
3464 | * configure.host (i386-windows): Don't set host64=true. | |
3465 | ||
a4183ba5 ILT |
3466 | Tue Feb 11 15:27:32 1997 Ian Lance Taylor <ian@cygnus.com> |
3467 | ||
3468 | * elf32-mips.c (reloc_type): Add R_MIPS16_GPREL. | |
3469 | (elf_mips16_gprel_howto): New static variable. | |
3470 | (mips16_gprel_reloc): New static function. | |
3471 | (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS16_GPREL. | |
3472 | (mips_info_to_howto_rel): Handle R_MIPS16_GPREL. | |
3473 | (mips_elf_relocate_section): Handle R_MIPS16_GPREL. | |
3474 | * reloc.c (BFD_RELOC_MIPS16_GPREL): Define. | |
3475 | * bfd-in2.h, libbfd.h: Rebuild. | |
3476 | ||
97cbfc23 | 3477 | Mon Feb 10 23:25:00 1997 Doug Evans <dje@seba.cygnus.com> |
b9c5ee68 DE |
3478 | |
3479 | * elf32-m32r.c (elf_m32r_howto_table): Change partial_inplace to true | |
3480 | for R_M32R_{16,32,24,HI16_ULO,HI16_SLO,LO16}. | |
3481 | ||
276c2d7d GRK |
3482 | start-sanitize-r5900 |
3483 | Fri Feb 7 16:20:17 1997 Gavin Koch <gavin@cygnus.com> | |
cf2cd4cf | 3484 | |
276c2d7d | 3485 | * config.bfd: add r5900 |
cf2cd4cf UD |
3486 | |
3487 | end-sanitize-r5900 | |
ba4a4594 ILT |
3488 | Fri Feb 7 12:39:11 1997 Ian Lance Taylor <ian@cygnus.com> |
3489 | ||
3490 | * elflink.h (elf_link_input_bfd): If we've discarded a section, | |
3491 | the output section will be the absolute section; don't print an | |
3492 | assertion message for that case when doing a relocateable link. | |
3493 | ||
e900e695 ILT |
3494 | Thu Feb 6 16:55:43 1997 Ian Lance Taylor <ian@cygnus.com> |
3495 | ||
3496 | * elf32-mips.c (FN_STUB, CALL_STUB, CALL_FP_STUB): Define. | |
3497 | (struct mips_elf_link_hash_entry): Add new fields fn_stub, | |
3498 | need_fn_sub, call_stub, and call_fp_stub. | |
3499 | (struct mips_elf_link_hash_table): Add field mips16_stubs_seen. | |
3500 | (mips_elf_link_hash_newfunc): Initialize new fields. | |
3501 | (mips_elf_link_hash_table_create): Likewise. | |
3502 | (mips_elf_relocate_section): Redirect relocations to use mips16 | |
3503 | stubs when appropriate. | |
3504 | (mips_elf_check_relocs): Attach stub sections to the appropriate | |
3505 | symbol. Set need_fn_stub when appropriate. | |
3506 | (mips_elf_always_size_sections): New static function. | |
3507 | (mips_elf_check_mips16_stubs): New static function. | |
3508 | (elf_backend_always_size_sections): Define. | |
3509 | * elf-bfd.h (struct elf_obj_tdata): Add local_stubs field. | |
3510 | ||
3511 | * elflink.h (elf_link_input_bfd): Discard local symbols that are | |
3512 | attached to sections which are not being included in the link. | |
3513 | ||
5b61a02a ILT |
3514 | Wed Feb 5 13:20:17 1997 Ian Lance Taylor <ian@cygnus.com> |
3515 | ||
3516 | * cofflink.c (_bfd_coff_generic_relocate_section): Ignore the | |
3517 | symbol value when computing the addend for a pc_relative | |
3518 | pcrel_offset reloc. | |
3519 | ||
bcb686ca ILT |
3520 | Mon Feb 3 11:54:06 1997 Ian Lance Taylor <ian@cygnus.com> |
3521 | ||
5a50eec6 ILT |
3522 | * cofflink.c (_bfd_coff_generic_relocate_section): If doing a |
3523 | relocateable link, just skip pc_relative pcrel_offset relocs. | |
3524 | * coff-arm.c (coff_arm_rtype_to_howto): Return a different howto | |
3525 | structure for an ARM26 reloc which can be resolved. | |
3526 | (coff_arm_adjust_symndx): Only convert ARM26 to ARM26D if the | |
3527 | reloc can be resolved. | |
3528 | ||
bcb686ca ILT |
3529 | * coff-h8300.c (h8300_reloc16_extra_cases): Correct off by one |
3530 | error in overflow check for R_RELBYTE. | |
3531 | ||
167dc907 ILT |
3532 | Fri Jan 31 14:07:27 1997 Ian Lance Taylor <ian@cygnus.com> |
3533 | ||
6c58561e ILT |
3534 | * ieee.c (ieee_slurp_section_data): Pick up the start address. |
3535 | From Mark Rasin <mark.rasin@telrad.co.il>. | |
3536 | ||
167dc907 ILT |
3537 | * aoutx.h (aout_link_write_symbols): Don't apply discard_l to |
3538 | debugging symbols. | |
3539 | ||
1a2faf1f JL |
3540 | Wed Jan 29 00:00:49 1997 Jeffrey A Law (law@cygnus.com) |
3541 | ||
3542 | * elf32-mn10200.c (reloc_type): Add 16bit pc-relative reloc. | |
3543 | (elf_mn10200_howto_table): Likewise. | |
3544 | (mn10200_reloc_map): Likewise. | |
3545 | ||
1d5c6cfd DE |
3546 | Mon Jan 27 12:07:35 1997 Doug Evans <dje@seba.cygnus.com> |
3547 | ||
3548 | * reloc.c: Add relocs BFD_RELOC_M32R_{HI16_[US]LO,LO16}. | |
3549 | * bfd-in2.h, libbfd.h: Regenerated. | |
3550 | * elf32-m32r.c: Add support for them. | |
3551 | ||
9950f925 ILT |
3552 | Mon Jan 27 12:25:02 1997 Ian Lance Taylor <ian@cygnus.com> |
3553 | ||
54aa1dea ILT |
3554 | * aout-arm.c (MY_swap_std_reloc_in): Remove unused r_length. |
3555 | * elf32-ppc.c (ppc_elf_check_relocs): Remove unused plt. | |
54aa1dea ILT |
3556 | * elf32-v850.c (v850_elf_final_link_relocate): Remove used |
3557 | r_format and r_pcrel. Always return a value. | |
54aa1dea ILT |
3558 | * riscix.c (MY_final_link_callback): Define to dummy value. |
3559 | ||
9950f925 ILT |
3560 | * elf32-i386.c (elf_i386_size_dynamic_sections): When checking for |
3561 | relocations against the text segment, look up the output name of | |
3562 | the reloc section. | |
3563 | * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. | |
3564 | * elf32-mips.c (mips_elf_size_dynamic_sections): Likewise. | |
3565 | * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. | |
3566 | * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. | |
3567 | * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise. | |
3568 | ||
0716c2e9 | 3569 | start-sanitize-tic80 |
8c00b01d FF |
3570 | Wed Jan 22 15:40:28 1997 Fred Fish <fnf@cygnus.com> |
3571 | ||
3572 | * coff-tic80.c (tic80coff_vec): Use correct data put/get | |
3573 | routines for little endian data. | |
3574 | * coffcode.h (coff_write_object_contents): Set magic to | |
3575 | TIC80_ARCH_MAGIC for TIc80. | |
3576 | ||
0716c2e9 FF |
3577 | Tue Jan 21 12:32:43 1997 Fred Fish <fnf@cygnus.com> |
3578 | ||
3579 | * coff-tic80.c (tic80coff_vec): Change to little endian data | |
3580 | as the default. | |
3581 | ||
3582 | end-sanitize-tic80 | |
db109ca2 ILT |
3583 | Thu Jan 16 17:45:57 1997 Ian Lance Taylor <ian@cygnus.com> |
3584 | ||
3585 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Change type of | |
3586 | auxiliary_filters parameter to be const char * const *. Accept a | |
3587 | NULL terminated array. | |
3588 | * bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration. | |
3589 | (bfd_elf32_size_dynamic_sections): Update declaration. | |
3590 | * bfd-in2.h: Rebuild. | |
3591 | ||
3592 | Wed Jan 15 11:21:32 1997 Ian Lance Taylor <ian@cygnus.com> | |
3593 | ||
3594 | * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Treat a | |
3595 | NOTYPE symbol in a text section as a FUNC symbol. | |
3596 | ||
3597 | * coffcode.h (coff_compute_section_file_positions): Force | |
3598 | relocbase to be aligned to COFF_DEFAULT_SECTION_ALIGNMENT_POWER. | |
3599 | ||
e1616e16 DE |
3600 | Tue Jan 14 08:46:33 1997 Doug Evans <dje@canuck.cygnus.com> |
3601 | ||
3602 | * libaout.h (machine_type): Reserve several values for sparclet. | |
3603 | ||
4af93ad0 MM |
3604 | start-sanitize-tic80 |
3605 | Mon Jan 13 22:39:08 1997 Michael Meissner <meissner@tiktok.cygnus.com> | |
3606 | ||
3607 | * config.bfd (tic80-*-*): Don't require 'coff'. | |
3608 | ||
91eb4378 | 3609 | end-sanitize-tic80 |
0ce71ebd MM |
3610 | Mon Jan 13 19:36:25 1997 Michael Meissner <meissner@tiktok.cygnus.com> |
3611 | ||
3612 | * elf32-v850.c (v850_elf_howto_table): Set the special_function | |
3613 | table to v850_elf_reloc for all non-standard relocations. | |
3614 | (v850_elf_check_relocs): Add check for h being non-null. | |
3615 | (v850_elf_reloc): Add R_V850_ZDA_OFFSET support. Use switch | |
3616 | statement instead of multiple ifs. | |
3617 | (v850_elf_relocate_section): Fix up error message, don't just call | |
3618 | abort. | |
3619 | ||
483e1b91 JL |
3620 | Mon Jan 6 13:28:35 1997 Jeffrey A Law (law@cygnus.com) |
3621 | ||
09a7bde3 | 3622 | * elf32-mn10200.c (elf_mn10200_howto): Don't ever set partial-inplace. |
40131692 JL |
3623 | Use bfd_elf_generic_reloc as special function for all relocs. |
3624 | (bfd_elf32_mn10200_reloc): Remove unnecessary function. | |
3625 | ||
3626 | * elf32-mn10200.c (elf_mn10200_howto): Set pcrel_offset for | |
483e1b91 JL |
3627 | 24bit pc-relative reloc. |
3628 | ||
28eb95aa FF |
3629 | start-sanitize-tic80 |
3630 | Fri Jan 3 16:33:00 1997 Fred Fish <fnf@cygnus.com> | |
3631 | ||
3632 | * Makefile.in (coff-tic80.o): Add coffcode.h to dependency list. | |
3633 | * coff-tic80.c (tic80coff_vec): Data byte order is big endian and | |
3634 | header byte order is little endian. Use correct bfd_get and | |
3635 | bfd_put routines for little endian headers. | |
3636 | * coffcode.h (coff_set_arch_mach_hook): Set arch to | |
3637 | bfd_arch_tic80 for TIC80_ARCH_MAGIC number. | |
3638 | ||
3639 | end-sanitize-tic80 | |
b3ef3894 JL |
3640 | Fri Jan 3 16:54:08 1997 Jeffrey A Law (law@cygnus.com) |
3641 | ||
3642 | * reloc.c: Add BFD_RELOC_24. | |
3643 | * elf32-mn10200.c (enum reloc_type): Add 24bit and pcrel relocs. | |
3644 | (elf_mn10200_howto, mn10200_reloc_map): Corresponding changes. | |
3645 | * bfd-in2.h, libbfd.h: Rebuilt. | |
3646 | ||
ff12f303 ILT |
3647 | Fri Jan 3 16:58:31 1997 Richard Henderson <rth@tamu.edu> |
3648 | ||
3649 | elf64-alpha multiple .got rewrite: | |
3650 | ||
3651 | * elf-bfd.h (struct elf_backend_data): Add always_size_sections entry. | |
3652 | (bfd_elf*_mkobject): Don't define here ... | |
3653 | * elfxx-target.h: ... but rather here. Default always_size_sections | |
3654 | hook to NULL. | |
cf2cd4cf | 3655 | * elf.c (elf_mkobject): Rename to bfd_elf_mkobject, since that was |
ff12f303 ILT |
3656 | what the #defines in elf-bfd.h transmuted it to anyway. |
3657 | ||
3658 | * section.c: Add SEC_LINKER_CREATED flag. | |
3659 | * bfd-in2.h: Rebuild. | |
3660 | * elf32-i386.c (elf_i386_check_relocs): Add SEC_LINKER_CREATED to | |
3661 | relocation section flags. | |
3662 | (elf_i386_size_dynamic_sections): Use SEC_LINKER_CREATED instead of | |
3663 | SEC_IN_MEMORY to recognize generated bits. | |
3664 | * elf32-m68k.c (elf_m68k_check_relocs, elf_m68k_size_dynamic_sections): | |
3665 | Likewise. | |
3666 | * elf32-mips.c (mips_elf_final_link, mips_elf_create_dynamic_sections, | |
3667 | mips_elf_create_compact_rel_section, mips_elf_create_got_section, | |
3668 | mips_elf_check_relocs, mips_elf_size_dynamic_sections): Likewise. | |
3669 | * elf32-ppc.c (ppc_elf_create_linker_section, | |
3670 | ppc_elf_size_dynamic_sections): Likewise. | |
3671 | * elf32-sparc.c (elf32_sparc_check_relocs, | |
3672 | elf32_sparc_size_dynamic_sections): Likewise. | |
cf2cd4cf | 3673 | * elflink.c (_bfd_elf_create_got_section): Add SEC_LINKER_CREATED to |
ff12f303 ILT |
3674 | section flags. |
3675 | (_bfd_elf_create_dynamic_sections): Likewise. | |
3676 | (_bfd_elf_make_linker_section_rela): Likewise. | |
3677 | * elflink.h (elf_link_create_dynamic_sections): Likewise. | |
3678 | (bfd_elf,size_dynamic_sections): Call the always_size_sections hook. | |
3679 | (elf_bfd_final_link): Use SEC_LINKER_CREATED instead of SEC_IN_MEMORY | |
3680 | to identify generated bits. | |
3681 | (elf_link_input_bfd): Likewise. | |
3682 | ||
3683 | * elf64-alpha.c: Rewrite everything touching relocations. | |
3684 | ||
de224d6a MM |
3685 | Fri Jan 3 11:42:53 1997 Michael Meissner <meissner@tiktok.cygnus.com> |
3686 | ||
3687 | * elf32-v850.c (all functions and static variables): Go through | |
3688 | and regularize names to be of the form v850_elf_<xxx>. | |
3689 | (toplevel): Include <elf/v850.h>. | |
3690 | (enum reloc_type): Move to include/elf/v850.h. | |
3691 | (v850_elf_check_relocs): For common variables, if the variable is | |
3692 | referenced by a R_V850_{SDA,ZDA,TDA} relocation, put the variable | |
3693 | into the appropriate section. | |
3694 | (elf_backend_check_relocs): Define. | |
3695 | ||
afaed5e9 MM |
3696 | Tue Dec 31 15:15:28 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
3697 | ||
3698 | * elf32-v850.c (elf_v850_howto_table): Fix some spacing. | |
3699 | ||
148437ec ILT |
3700 | Tue Dec 31 14:44:50 1996 Ian Lance Taylor <ian@cygnus.com> |
3701 | ||
7c342fc5 ILT |
3702 | * config.bfd (mips*el-*-linux*): New target. |
3703 | (mips*-*-linux*): New target. | |
3704 | ||
3705 | * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Clean up. | |
3706 | Return a useful value. | |
3707 | ||
6ded6615 ILT |
3708 | * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. |
3709 | ||
dda7af9f ILT |
3710 | * configure.in: Check ac_cv_func_mmap_fixed_mapped, not |
3711 | ac_cv_func_mmap. | |
3712 | * configure: Rebuild. | |
ab98712a ILT |
3713 | * configure.host: Use ac_cv_func_mmap_fixed_mapped instead of |
3714 | ac_cv_func_mmap in bfd/configure.host. | |
dda7af9f | 3715 | |
148437ec ILT |
3716 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Add |
3717 | filter_shlib and auxiliary_filter_shlib parameters. | |
3718 | * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_AUXILIARY and | |
3719 | DT_FILTER. | |
3720 | * bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration. | |
3721 | (bfd_elf64_size_dynamic_sections): Likewise. | |
3722 | * bfd-in2.h: Rebuild. | |
3723 | ||
1eeccb22 ILT |
3724 | Mon Dec 30 18:48:52 1996 Ian Lance Taylor <ian@cygnus.com> |
3725 | ||
3726 | * xcofflink.c (xcoff_build_ldsyms): When exporting all defined | |
3727 | symbols, don't export a symbol which is defined by an object in an | |
3728 | archive which contains shared objects. | |
3729 | ||
60b26712 | 3730 | start-sanitize-tic80 |
fc46a9ec FF |
3731 | Mon Dec 30 16:12:58 1996 Fred Fish <fnf@cygnus.com> |
3732 | ||
3733 | * archures.c (enum bfd_architecture): Add bfd_arch_tic80 | |
3734 | for TI TMS320c80 (MVP). | |
3735 | (bfd_archures_list): Add bfd_tic80_arch. | |
3736 | * bfd-in2.h: Regenerate by running "make headers". | |
3737 | ||
60b26712 FF |
3738 | Sun Dec 29 16:18:52 1996 Fred Fish <fnf@cygnus.com> |
3739 | ||
3740 | * cpu-tic80.c (bfd_tic80_arch): Add struct. | |
3741 | * configure.in (case $vec): Correct typo, "tb" not "tp". | |
3742 | Also add cofflink.o for tic80coff_vec. | |
3743 | * configure: Regenerate with autoconf. | |
3744 | ||
3745 | end-sanitize-tic80 | |
412f8c93 ILT |
3746 | Mon Dec 30 11:54:56 1996 Ian Lance Taylor <ian@cygnus.com> |
3747 | ||
3748 | * libbfd.c: Patch up the mmap code so that it is only built if BFD | |
3749 | is configured with --with-mmap. | |
3750 | ||
5a608f5b | 3751 | start-sanitize-tic80 |
fc46a9ec | 3752 | Sun Dec 29 10:48:57 1996 Fred Fish <fnf@cygnus.com> |
5a608f5b FF |
3753 | |
3754 | * Makefile.in (BFD32_BACKENDS): Add coff-tic80.o | |
3755 | (ALL_MACHINES): Add cpu-tic80.o | |
3756 | (cpu-tic80.o, coff-tic80.o): Add dependencies. | |
3757 | * coff-tic80.c: Add skeleton, cloned from another coff config. | |
3758 | * coffcode.h (coff_write_object_contents): Set magic to TIC80MAGIC | |
3759 | for TIc80. | |
3760 | ||
3761 | end-sanitize-tic80 | |
60b26712 | 3762 | Fri Dec 27 20:56:41 1996 Fred Fish <fnf@cygnus.com> |
cd6213ff FF |
3763 | |
3764 | * TODO: Correct a misspelling. | |
3765 | start-sanitize-tic80 | |
3766 | * coff-tic80.c: New file for TI TMS320C80 (MVP). | |
3767 | * cpu-tic80.c: New file for TI TMS320C80 (MVP). | |
3768 | * configure.in (case $vec): Add tic80coff_vec entry. | |
3769 | * configure: Regenerate with autoconf. | |
3770 | * archures.c (bfd_tic80_arch): Declare. | |
3771 | * bfd-in2.h (enum bfd_architecture): Add bfd_arch_tic80. | |
3772 | * config.bfd (case ${targ}): Add tic80*-*-coff* target. | |
3773 | * targets.c (tic80coff_vec): Add decl as extern bfd_target. | |
3774 | (bfd_target_vector): Add tic80coff_vec entry. | |
3775 | end-sanitize-tic80 | |
3776 | ||
6b8ec6f3 ILT |
3777 | Fri Dec 27 11:48:12 1996 H.J. Lu <hjl@lucon.org> |
3778 | ||
3779 | * elflink.h (elf_buckets): Add some more values for larger | |
3780 | binaries. | |
3781 | ||
78650abd ILT |
3782 | Thu Dec 26 18:36:54 1996 Ian Lance Taylor <ian@cygnus.com> |
3783 | ||
3784 | * Makefile.in (install): Move subdir_do out of conditional. From | |
3785 | Fred Fish <fnf@cygnus.com>. | |
3786 | ||
8d16fe5c JL |
3787 | Wed Dec 18 10:04:30 1996 Jeffrey A Law (law@cygnus.com) |
3788 | ||
3789 | * elf32-mn10200.c (enum reloc_type): Enable basic 8, 16, and | |
3790 | 32 bit relocs. | |
3791 | (elf_mn10200_howto_table): Likewise. | |
3792 | (mn10200_reloc_map): Likewise. | |
3793 | ||
69e2ff18 ILT |
3794 | Tue Dec 17 11:09:36 1996 Ian Lance Taylor <ian@cygnus.com> |
3795 | ||
e4f4813f ILT |
3796 | * elf32-mips.c (mips_elf_add_symbol_hook): Add 1 to the value of a |
3797 | mips16 symbol during the link. | |
3798 | (mips_elf_finish_dynamic_symbol): Subtract 1 from the value of a | |
3799 | mips16 symbol. | |
3800 | (mips_elf_link_output_symbol_hook): New static function. | |
3801 | (elf_backend_link_output_symbol_hook): Define. | |
3802 | ||
69e2ff18 ILT |
3803 | * elf.c (bfd_elf_print_symbol): Print the st_other field if it is |
3804 | not zero. | |
3805 | ||
e85f2fbd ILT |
3806 | Mon Dec 16 14:38:39 1996 Ian Lance Taylor <ian@cygnus.com> |
3807 | ||
3808 | * elf.c (bfd_section_from_shdr): Don't check for reloc sections | |
3809 | against SEC_DEBUGGING sections here (revert patch of December 5). | |
3810 | * elfcode.h (elf_object_p): Check for them here, instead. | |
3811 | ||
e35765a9 ILT |
3812 | Sun Dec 15 14:46:06 1996 Ian Lance Taylor <ian@cygnus.com> |
3813 | ||
3814 | * elfcode.h (elf_slurp_reloc_table): Add dynamic parameter. | |
3815 | * elf.c (_bfd_elf_canonicalize_reloc): Pass new argument to | |
3816 | slurp_reloc_table. | |
3817 | (_bfd_elf_get_dynamic_reloc_upper_bound): New function. | |
3818 | (_bfd_elf_canonicalize_dynamic_reloc): New function. | |
3819 | * elf-bfd.h (struct elf_size_info): Update declaration of | |
3820 | slurp_reloc_table. | |
3821 | (_bfd_elf_get_dynamic_reloc_upper_bound): Declare. | |
3822 | (_bfd_elf_canonicalize_dynamic_reloc): Declare. | |
3823 | * elfxx-target.h: Use new dynamic reloc routines by default. | |
3824 | * elf64-mips.c (mips_elf64_slurp_reloc_table): Add dynamic | |
3825 | parameter. | |
3826 | ||
6270adfb ILT |
3827 | Fri Dec 13 13:18:49 1996 Dan Wilder <dan@gasboy.com> |
3828 | ||
3829 | * coffcode.h (coff_set_flags): Use MC68KBCSMAGIC for bfd_arch_m68k | |
3830 | if NAMES_HAVE_UNDERSCORE is defined. | |
3831 | ||
21e45f82 DE |
3832 | Fri Dec 13 11:13:23 1996 Doug Evans <dje@canuck.cygnus.com> |
3833 | ||
3834 | * libaout.h (enum machine_type): Change M_SPARCLET from 142 to 131. | |
3835 | ||
e7bab9df MM |
3836 | Thu Dec 12 15:07:20 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
3837 | ||
3838 | * elf32-ppc.c (ppc_elf_check_relocs): Move R_PPC_PLTREL24 into the | |
3839 | supported relocs. | |
3840 | ||
a5147005 ILT |
3841 | Thu Dec 12 14:55:41 1996 Ian Lance Taylor <ian@cygnus.com> |
3842 | ||
440f3914 ILT |
3843 | * elflink.h (elf_link_add_object_symbols): Only add a weak |
3844 | symbol if the real definition is in the dynamic symbol table. | |
3845 | After finding the real definition, then, if it is dynamic, add the | |
3846 | weak symbol to the dynamic symbol table. | |
3847 | ||
e5c3708d ILT |
3848 | * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Make static. |
3849 | ||
a5147005 ILT |
3850 | * ppcboot.c (ppcboot_set_arch_mach): Don't define; it's a |
3851 | function. | |
3852 | (ppcboot_bfd_print_private_bfd_data): Don't take the address of an | |
3853 | array. | |
3854 | ||
3855 | Tue Dec 10 23:23:52 1996 Jeffrey A Law (law@cygnus.com) | |
3856 | ||
3857 | * elf32-mn10300.c (reloc_type): Remove big endian mn10300 reloc | |
3858 | variants. | |
3859 | (elf32_mn10300_howto_table, mn10300_reloc_map): Likewise. | |
3860 | (bfd_elf32_mn10300_reloc): Write data in little endian format. | |
3861 | * reloc.c: Remove mn10300 big endian relocs. | |
3862 | * bfd-in2.h, libbfd.h: Rebuilt. | |
3863 | ||
3864 | * elf32-mn10200.c: Update from elf32-mn10300.c. | |
cf2cd4cf | 3865 | |
207e944c JL |
3866 | Fri Dec 6 15:18:05 1996 Jeffrey A Law (law@cygnus.com) |
3867 | ||
31cffd2e JL |
3868 | * elf32-mn10300.c (elf_symbol_leading_char): Define. |
3869 | ||
207e944c JL |
3870 | * elf32-mn10300.c: Add some comments. |
3871 | ||
6dcf1ef5 ILT |
3872 | Fri Dec 6 17:16:43 1996 Ian Lance Taylor <ian@cygnus.com> |
3873 | ||
3874 | * ihex.c (ihex_scan): Always initialize buf before jumping to | |
3875 | error_return. | |
3876 | (ihex_read_section): Likewise. | |
3877 | ||
d28f058e JL |
3878 | Thu Dec 5 22:29:18 1996 Jeffrey A Law (law@cygnus.com) |
3879 | ||
3880 | * elf32-mn10300.c (elf_mn10300_howto_table): Don't set partial- | |
3881 | inplace for most relocs. | |
3882 | ||
80be821d ILT |
3883 | Thu Dec 5 13:24:46 1996 Ian Lance Taylor <ian@cygnus.com> |
3884 | ||
3885 | * elflink.h (elf_link_add_object_symbols): Calling check_relocs | |
3886 | even if SEC_ALLOC is not set. | |
3887 | * elf32-i386.c (elf_i386_check_relocs): Don't check SEC_ALLOC | |
3888 | when deciding whether to copy a reloc into a shared object. | |
3889 | (elf_i386_relocate_section): Likewise. | |
3890 | * elf32-sparc.c (elf32_sparc_check_relocs): Likewise. | |
3891 | (elf32_sparc_relocate_section): Likewise. | |
3892 | * elf32-i386.c (elf_i386_check_relocs): Don't set SEC_ALLOC in a | |
3893 | reloc section if it is not set in the source section. | |
3894 | * elf32-sparc.c (elf32_sparc_check_relocs): Likewise. | |
3895 | * elf.c (bfd_section_from_shdr): Mark a reloc section associated | |
3896 | with a SEC_DEBUGGING section as SEC_DEBUGGING. | |
3897 | ||
e5c4495c MM |
3898 | Wed Dec 4 14:18:13 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
3899 | ||
3900 | * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): #if 0 code that | |
3901 | expects a .got.plt until we actually create it. | |
3902 | ||
179b58d9 ILT |
3903 | Mon Dec 2 12:13:51 1996 Ian Lance Taylor <ian@cygnus.com> |
3904 | ||
e5c4495c MM |
3905 | * cofflink.c (_bfd_coff_generic_relocate_section): Print an error |
3906 | message for bfd_reloc_outofrange, rather than aborting. From | |
3907 | Philippe De Muyter <phdm@info.ucl.ac.be>. | |
3908 | ||
179b58d9 ILT |
3909 | * cofflink.c (_bfd_coff_final_link): If there aren't any relocs in |
3910 | a relocateable link, don't try to process them. From Heinz Wrobel | |
3911 | <wrobel@lpr.e-technik.tu-muenchen.de>. | |
3912 | ||
943686fa JL |
3913 | Mon Dec 2 00:39:24 1996 Jeffrey A Law (law@cygnus.com) |
3914 | ||
3915 | * elf32-mn10300.c (mn10300_info_howto): Renamed from | |
a5147005 | 3916 | mn10300_info_howto_rel. Tweak reloc argument to be an |
943686fa JL |
3917 | Elf32_Internal_Rela. |
3918 | (USE_RELA): Define instead of USE_REL. | |
3919 | (elf_info_to_howto, elf_info_howto_rel): Corresponding changes. | |
3920 | ||
0e0f4106 PS |
3921 | Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3922 | ||
3923 | * configure.in, configure: Handle mips*-sgi-irix6*. | |
3924 | * irix-core.c (irix_core_core_file_p): Accept CORE_MAGICN32 | |
3925 | core files. | |
3926 | ||
15aafe49 ILT |
3927 | Wed Nov 27 12:10:25 1996 Ian Lance Taylor <ian@cygnus.com> |
3928 | ||
3929 | * elf32-i386.c (elf_i386_relocate_section): Warn about a | |
3930 | relocation against a symbol defined in a section with no output | |
3931 | section. | |
3932 | ||
6c02f1a0 ILT |
3933 | Tue Nov 26 11:07:31 1996 Ian Lance Taylor <ian@cygnus.com> |
3934 | ||
dfc7020d ILT |
3935 | * aclocal.m4 (BFD_CC_FOR_BUILD): Don't require AC_C_CROSS. |
3936 | * configure, config.in: Rebuild with autoconf 2.12. | |
3937 | ||
6c02f1a0 ILT |
3938 | * elf-bfd.h (struct elf_link_hash_entry): Add other field. |
3939 | * elf.c (_bfd_elf_link_hash_newfunc): Initialize other field. | |
3940 | (swap_out_syms): Set st_other from existing st_other field. | |
3941 | * elflink.h (elf_link_add_object_symbols): Store st_other in hash | |
3942 | table other field. | |
3943 | (elf_link_output_extsym): Set the other field from the global hash | |
3944 | table entry. | |
3945 | * elf32-mips.c (enum reloc_type): Add R_MIPS16_26. | |
3946 | (elf_mips16_jump_howto): New static variable. | |
3947 | (mips16_jump_reloc): New static function. | |
3948 | (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS16_JMP. | |
3949 | (mips_info_to_howto_rel): Handle R_MIPS16_26. | |
3950 | (mips_elf_relocate_section): Handle R_MIPS16_26. Handle R_MIPS_26 | |
3951 | to a mips16 symbol. | |
3952 | * reloc.c (BFD_RELOC_MIPS16_JMP): Add to list of relocs. | |
3953 | * bfd-in2.h, libbfd.h: Rebuild. | |
3954 | * cpu-mips.c (arch_info_struct): Add mips:16 entry. | |
3955 | ||
f082b5ea ILT |
3956 | Mon Nov 25 11:23:32 1996 Ian Lance Taylor <ian@cygnus.com> |
3957 | ||
3958 | * configure.host: Use long long for mips-sgi-irix6*. | |
3959 | ||
3960 | * coffswap.h (coff_swap_scnhdr_out): Make line number overflow | |
3961 | only a warning. From Philippe De Muyter <phdemuyt@ulb.ac.be>. | |
3962 | ||
12fdaaf8 JL |
3963 | Mon Nov 25 08:52:29 1996 Jeffrey A Law (law@cygnus.com) |
3964 | ||
3965 | * elf32-mn10300.c (bfd_elf32_mn10300_reloc): New function. | |
3966 | (enum reloc_type): Add more reloc types. | |
3967 | (elf32_mn10300_howto_table): Update for new reloc types. | |
3968 | (elf32_mn10300_reloc_map): Update for new reloc types. | |
3969 | * reloc.c: Add some new relocs for the mn10300 series. | |
3970 | * bfd-in2.h, libbfd.h: Rebuilt. | |
cf2cd4cf | 3971 | |
23def276 JL |
3972 | Sat Nov 23 13:26:18 1996 Jeffrey A Law (law@cygnus.com) |
3973 | ||
3974 | * som.c (setup_sections): Don't lose for a space which has | |
3975 | no data, but some symbols. | |
3976 | ||
a600a89e ILT |
3977 | Fri Nov 22 11:32:13 1996 Ian Lance Taylor <ian@cygnus.com> |
3978 | ||
3979 | * sunos.c (struct sunos_link_hash_table): Add got_needed field. | |
3980 | (sunos_link_hash_table_create): Initialize got_needed. | |
3981 | (sunos_create_dynamic_sections): Only set .got section size if it | |
3982 | is not already set. Set got_needed. | |
3983 | (bfd_sunos_size_dynamic_sections): Check got_needed. Only set | |
3984 | sdynptr, and only handle dynamic sections, if dynamic sections are | |
3985 | needed. | |
3986 | (sunos_scan_std_relocs): Pass false to create_dynamic_sections. | |
3987 | Initialize .got section. | |
3988 | (sunos_scan_ext_relocs): Likewise. | |
3989 | (sunos_write_dynamic_symbol): Set up PLT entry even if this is not | |
3990 | a dynamic symbol. | |
3991 | (sunos_finish_dynamic_link): Check got_needed. Only set up | |
3992 | dynamic linking information if needed. | |
3993 | ||
aa09d6b2 | 3994 | Thu Nov 21 10:31:31 1996 Rob Savoye (rob@cygnus.com) |
cf2cd4cf | 3995 | |
aa09d6b2 RS |
3996 | * config.bfd: Added VersaDOS format to the Ericsson configuration. |
3997 | ||
c3239e66 JL |
3998 | Wed Nov 20 16:31:31 1996 Jeffrey A Law (law@cygnus.com) |
3999 | ||
4000 | * elf32-mn10300.c: Rough cut at relocs for the mn10300. | |
4001 | ||
c3239e66 JL |
4002 | Wed Nov 13 08:12:38 1996 Jeffrey A Law (law@cygnus.com) |
4003 | ||
4004 | * Makefile.in (elf32-d10v.o): Don't depend on elf/d10v.h | |
4005 | anymore. | |
4006 | ||
c3239e66 JL |
4007 | Tue Nov 12 13:30:00 1996 Dawn Perchik <dawn@cygnus.com> |
4008 | ||
4009 | * filemode.c: Include sysdep.h. | |
4010 | * ihex.c: Add casts to eliminate compiler warnings. | |
4011 | * sunos.c: Add casts to eliminate compiler warnings. | |
4012 | ||
9e23db76 MM |
4013 | Mon Nov 11 10:37:02 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
4014 | ||
4015 | * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Create .got.plt | |
4016 | section. | |
4017 | (ppc_elf_check_relocs): Add support for R_PPC_LOCAL24PC. Make | |
4018 | appropriate relocations in the .so file if shared. | |
4019 | (ppc_elf_relocate_section): Ditto. | |
4020 | ||
affcfcf9 DE |
4021 | Tue Oct 29 15:03:02 1996 Doug Evans <dje@canuck.cygnus.com> |
4022 | ||
4023 | * elf32-m32r.c (elf_m32r_howto_table, R_M32R_24): Use | |
4024 | complain_overflow_unsigned. | |
4025 | ||
421a2956 MH |
4026 | Tue Oct 29 12:53:46 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
4027 | ||
4028 | * elf32-d10v.c (elf_d10v_howto_table): Don't complain on | |
4029 | overflows for R_D10V_16 and R_D10V_18. | |
4030 | ||
061cc10b ILT |
4031 | Tue Oct 29 13:23:53 1996 Ian Lance Taylor <ian@cygnus.com> |
4032 | ||
4033 | * ieee.c (ieee_write_section_part): Use LMA rather than VMA. | |
4034 | (do_with_relocs): Likewise. | |
4035 | (do_as_repeat): Likewise. | |
4036 | (copy_expression): Likewise. | |
4037 | ||
4038 | Fri Oct 25 16:56:40 1996 Ian Lance Taylor <ian@cygnus.com> | |
4039 | ||
4040 | * ieee.c (ieee_write_external_part): Correctly record whether | |
4041 | there is an external part. | |
4042 | ||
061cc10b ILT |
4043 | Thu Oct 24 14:32:52 1996 Jeffrey A Law (law@cygnus.com) |
4044 | ||
4045 | * elf32-v850.c (elf32_v850_bfd_final_link_relocate): Correctly | |
4046 | handle tda offsets for sld.w and sst.w instructions. | |
4047 | Fix alignment check in sld.w and sst.w tda reloc handling. | |
4048 | ||
27c7e907 SG |
4049 | Thu Oct 24 09:08:47 1996 Stu Grossman (grossman@critters.cygnus.com) |
4050 | ||
4051 | * aclocal.m4, configure: Set USE_BINARY_FOPEN for *-*-windows. | |
4052 | ||
90ffe48b JL |
4053 | Wed Oct 23 00:53:16 1996 Jeffrey A Law (law@cygnus.com) |
4054 | ||
4055 | * elf32-v850.c: Add comments about assumptions about | |
4056 | char, short & long sizes. | |
4057 | (elf32_v850_bfd_final_link_relocate): Fix sign extension | |
4058 | problems for several relocs. | |
4059 | ||
4060 | * elf32-v850.c (elf32_v850_howto_table): Fix typo in | |
4061 | R_V850_SDA_OFFSET entry. | |
4062 | ||
84be2a8f ILT |
4063 | Wed Oct 23 00:20:34 1996 Ian Lance Taylor <ian@cygnus.com> |
4064 | ||
4065 | * xcofflink.c (bfd_xcoff_import_symbol): Don't allocate ldsym. | |
4066 | Store import file index in ldindx. | |
4067 | (xcoff_build_ldsyms): Assume that ldsym was not previously | |
4068 | allocated. For an imported symbol, copy ldindx into l_ifile. | |
4069 | ||
725b96f5 JL |
4070 | Tue Oct 22 19:20:38 1996 Jeffrey A Law (law@cygnus.com) |
4071 | ||
c322f1b5 | 4072 | * elf32-v850.c (elf_v850_howto_table): Fix ordering of |
90ffe48b JL |
4073 | R_V850_ZDA_OFFSET and R_V850_TDA_OFFSET. Fix various |
4074 | fields in R_V850_TDA_OFFSET. | |
c322f1b5 | 4075 | (elf32_v850_bfd_final_link_relocate): Tweak pc-relative |
90ffe48b | 4076 | relocs to work more like other relocs. Handle R_V850_TDA_OFFSET |
c322f1b5 JL |
4077 | relocations. |
4078 | ||
725b96f5 JL |
4079 | * elf32-v850.c: Include bfdlink.h. |
4080 | (bfd_elf32_v850_reloc): Return an error if we get a reloc | |
4081 | we can't handle. | |
4082 | (elf32_v850_bfd_final_link_relocate): New function. | |
4083 | (v850_elf_relocation_section): Likewise. | |
4084 | (elf_backend_relocate_section): Define. | |
4085 | ||
40c0ea5a ILT |
4086 | Tue Oct 22 17:22:43 1996 Ian Lance Taylor <ian@cygnus.com> |
4087 | ||
4088 | * binary.c (binary_set_section_contents): Ignore sections which | |
4089 | don't have SEC_LOAD and SEC_ALLOC set. | |
4090 | ||
9c52f4b2 JL |
4091 | Mon Oct 21 12:13:05 1996 Jeffrey A Law (law@cygnus.com) |
4092 | ||
4093 | * linker.c (_bfd_generic_final_link): Avoid losing static | |
4094 | symbols in the .bss section. | |
4095 | ||
bd4dd3d0 ILT |
4096 | Mon Oct 21 10:54:58 1996 Ian Lance Taylor <ian@cygnus.com> |
4097 | ||
68553b63 ILT |
4098 | * elf32-mips.c (elf_mips_howto_table): Describe R_MIPS_64. |
4099 | (mips32_64bit_reloc): New static function. | |
4100 | (mips_reloc_map): Add entry for BFD_RELOC_64. | |
4101 | (mips_elf_relocate_section): Handle R_MIPS_64. | |
4102 | ||
bd4dd3d0 ILT |
4103 | * linker.c (default_indirect_link_order): Print an error message |
4104 | when attempting to do a relocateable link with different object | |
4105 | file formats, rather than calling abort. | |
4106 | ||
56910544 DE |
4107 | Thu Oct 17 10:43:29 1996 Doug Evans <dje@canuck.cygnus.com> |
4108 | ||
4109 | * reloc.c (m32r relocs): Rename them. | |
4110 | * bfd-in2.h, libbfd.h: Regenerated. | |
4111 | * elf32-m32r.c: Update. | |
4112 | (m32r_elf_10_pcrel_reloc): New function. | |
4113 | (elf_m32r_howto_table, R_M32R_10_PCREL entry): Use it. | |
4114 | (elf_m32r_howto_table, R_M32R_24 entry): Fix {src,dst}_masks. | |
4115 | ||
e1d98a0a JL |
4116 | Wed Oct 16 11:24:35 1996 Jeffrey A Law (law@cygnus.com) |
4117 | ||
4948949e JL |
4118 | * linker.c (_bfd_generic_final_link): Set "linker_mark" for |
4119 | all sections that will be included in the output file. | |
4120 | (_bfd_generic_link_output_symbols): Discard symbols in sections | |
4121 | which are being discarded. | |
b6d08fce JL |
4122 | * elf32-v850.c (enum reloc_type): Add R_V850_SDA_OFFSET, |
4123 | R_V850_TDA_OFFSET and R_V850_ZDA_OFFSET. | |
4124 | (elf_v850_howto_table): Corresponding changes. | |
4125 | (elf_v850_reloc_map): Corresponding changes. | |
4126 | * reloc.c: Add additional V850 relocations. | |
4127 | * bfd-in2.h, libbfd.h: Rebuilt. | |
4128 | ||
e1d98a0a JL |
4129 | * elf32-v850.c (bfd_elf32_v850_reloc): Mask out bits we |
4130 | no longer want in pc-relative relocs. | |
4131 | ||
05f1baaa JL |
4132 | Tue Oct 15 22:17:37 1996 Jeffrey A Law (law@cygnus.com) |
4133 | ||
4134 | * elf32-v850.c (bfd_elf32_v850_reloc): Don't silently | |
4135 | accept a reloc against an undefined sybmol! | |
4136 | ||
1336da39 SG |
4137 | Tue Oct 15 16:17:28 1996 Stu Grossman (grossman@critters.cygnus.com) |
4138 | ||
4139 | * elf32-v850.c: Define elf_symbol_leading_char to be '_'. | |
4140 | ||
c24453fe ILT |
4141 | Tue Oct 15 12:40:41 1996 Ian Lance Taylor <ian@cygnus.com> |
4142 | ||
ede836b9 ILT |
4143 | * VERSION: Bump for new relocation. |
4144 | ||
c24453fe ILT |
4145 | * hosts/i386bsd.h: If NBPG is not defined, define it as |
4146 | PAGE_SIZE, for recent versions of FreeBSD. | |
4147 | ||
e7a50458 ILT |
4148 | Mon Oct 14 12:37:26 1996 Ian Lance Taylor <ian@cygnus.com> |
4149 | ||
4150 | * configure.host: Use `long long' as the 64 bit type on a Solaris | |
4151 | host, since both gcc and the SunPRO compilers support it. | |
4152 | ||
6b31fd3a ILT |
4153 | Mon Oct 14 11:17:24 1996 Richard Henderson <rth@tamu.edu> |
4154 | ||
cf2cd4cf | 4155 | * reloc.c: Create a new BFD_RELOC_ALPHA_ELF_LITERAL. It was a |
6b31fd3a ILT |
4156 | mistake to have reused the ECOFF LITERAL for ELF since they have |
4157 | different semantics. | |
4158 | * elf64-alpha.c (elf_reloc_map): Map from ELF_LITERAL. | |
4159 | * bfd-in2.h, libbfd.h: Rebuild. | |
4160 | ||
4161 | * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Trap .got | |
4162 | section overflow. | |
4163 | ||
4164 | * elf64-alpha.c (elf64_alpha_relocate_section): Do not emit a | |
4165 | dynamic relocation for an undefweak symbol when we are building | |
4166 | a static executable. | |
4167 | ||
f20f2474 SS |
4168 | Thu Oct 10 11:15:06 1996 Stan Shebs <shebs@andros.cygnus.com> |
4169 | ||
4170 | * mpw-make.sed (config.bfd, targmatch.sed): Edit references to | |
4171 | point explicitly to srcdir. | |
4172 | (targmatch.h): Edit references to point explicitly to objdir. | |
4173 | ||
3e222a5a ILT |
4174 | Thu Oct 10 14:14:23 1996 Ian Lance Taylor <ian@cygnus.com> |
4175 | ||
4176 | * config.bfd: When setting targ_cpu, don't get confused by | |
4177 | linux-gnu. | |
4178 | ||
81501797 SG |
4179 | Tue Oct 8 08:51:19 1996 Stu Grossman (grossman@critters.cygnus.com) |
4180 | ||
4181 | * configure.host: Add support for windows host (a build done | |
4182 | under the Microsoft build environment). | |
4183 | ||
fe4ff515 ILT |
4184 | Tue Oct 8 11:40:16 1996 Ian Lance Taylor <ian@cygnus.com> |
4185 | ||
1c4794f5 ILT |
4186 | * elflink.h (elf_link_add_object_symbols): If a symbol is a weak |
4187 | definition in a dynamic object, add it to the dynamic symbol table | |
4188 | if any dynamic object mentions it. Reverts part of last patch. | |
4189 | ||
9d81de19 ILT |
4190 | * sunos.c (struct sunos_link_hash_table): Add got_base field. |
4191 | (sunos_link_hash_table_create): Initialize got_base. | |
4192 | (bfd_sunos_size_dynamic_sections): If the .got section is more | |
4193 | than 0x1000 bytes, set __GLOBAL_OFFSET_TABLE_ and got_base to | |
4194 | 0x1000. | |
4195 | (sunos_check_dynamic_reloc): Subtract got_base from a base | |
4196 | relative relocation. | |
4197 | ||
fe4ff515 ILT |
4198 | * elf32-mips.c (elf_mips_isa): New static function. |
4199 | (_bfd_mips_elf_merge_private_bfd_data): Don't warn about linking | |
4200 | -mips1 and -mips2 code together, or -mips3 and -mips4 code. | |
4201 | ||
1233f74b ILT |
4202 | Mon Oct 7 11:44:17 1996 Ian Lance Taylor <ian@cygnus.com> |
4203 | ||
4204 | * archive.c (do_slurp_coff_armap): Only treat archive as little | |
4205 | endian for i960 COFF. | |
4206 | ||
a3d5a706 ILT |
4207 | Fri Oct 4 13:49:01 1996 Ian Lance Taylor <ian@cygnus.com> |
4208 | ||
65f56a58 ILT |
4209 | * coffcode.h (coff_compute_section_file_positions): Adjust sofar |
4210 | by the change in size of the section when EXEC_P is not set. | |
4211 | ||
a9dd34a9 ILT |
4212 | * coff-m68k.c (coff_rtype_to_howto): Define if not defined. |
4213 | (m68kcoff_rtype_to_howto): New static function. | |
4214 | * cf-m68klynx.c (coff_m68k_lynx_rtype_to_howto): Add the section | |
4215 | VMA to the addend for a PC relative reloc. | |
4216 | ||
05a68c24 ILT |
4217 | * dep-in.sed: Rework backslash loop a bit to avoid bug in sed on |
4218 | HP/UX 10.20. | |
4219 | * Makefile.in: Rebuild dependencies. | |
4220 | ||
a3d5a706 ILT |
4221 | * dep-in.sed: Remove ../bfd/sysdep.h, since it will appear when |
4222 | som.h is included. | |
4223 | ||
c00ae065 JL |
4224 | Fri Oct 4 11:41:39 1996 Jeffrey A Law (law@cygnus.com) |
4225 | ||
4226 | * Makefile.in: Remove explicit dependencies for mn10200 and | |
4227 | mn10300 files. | |
4228 | (ALL_MACHINE_CFILES): Add cpu-mn10200.c and cpu-mn10300.c. | |
4229 | (BFD32_BACKENDS_CFILES): Add elf32-mn10200.c and elf32-mn10300.c | |
4230 | (dependencies): Rebuilt. | |
4231 | ||
dee99794 ILT |
4232 | Thu Oct 3 16:57:51 1996 Ian Lance Taylor <ian@cygnus.com> |
4233 | ||
1d871eb7 ILT |
4234 | * cofflink.c (coff_link_add_symbols): Set obj_coff_keep_syms |
4235 | during this function. | |
4236 | ||
6b5af55c ILT |
4237 | * elflink.c (_bfd_elf_create_linker_section): Only use an existing |
4238 | section if the flags are compatible. | |
4239 | ||
dee99794 ILT |
4240 | * configure.in: Add havevecs, and put it in tdefaults. |
4241 | * mpw-config.in: Likewise. | |
4242 | * configure: Rebuild. | |
4243 | * targmatch.sed: New file; a sed script to build targmatch.h from | |
4244 | config.bfd. | |
4245 | * config.bfd: Add #if, #endif, and comments for targmatch.h. | |
4246 | * targets.c: Include "fnmatch.h". | |
4247 | (struct targmatch): Define. | |
4248 | (bfd_target_match): Define by including targmatch.h. | |
4249 | (bfd_find_target): If the target is not found by name, search for | |
4250 | it as a configuration triplet. | |
4251 | * Makefile.in: Rebuild dependencies. | |
4252 | (BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o, | |
4253 | i386dynix.o, m68k4knetbsd.o, and riscix.o. | |
4254 | (BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c, | |
4255 | hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c. | |
4256 | (HFILES): Add targmatch.h. Also, alphabetize and reindent. | |
4257 | (CFILES): Remove i386dynix.c and hp300bsd.c. | |
4258 | (targmatch.h): New target. | |
4259 | (do_clean): Remove targmatch.h. | |
4260 | ||
4261 | * configure.in: Add BFD_NEED_DECLARATION(getenv). | |
4262 | * acconfig.h: Add NEED_DECLARATION_GETENV. | |
4263 | * configure, config.in: Rebuild. | |
4264 | * sysdep.h: If NEED_DECLARATION_GETENV, declare getenv. | |
4265 | * aout-adobe.c (aout_adobe_object_p): Don't declare getenv. | |
4266 | ||
ae1b99e4 JL |
4267 | Thu Oct 3 09:29:09 1996 Jeffrey A Law (law@cygnus.com) |
4268 | ||
4269 | * cpu-mn10x00.c, elf32-mn10x00: Removed. | |
4270 | * cpu-mn10200.c, cpu-mn10300.c: New files. | |
4271 | * elf32-mn10200.c, elf32-mn10300.c: New files. | |
4272 | * Makefile.in: Break mn10x00 support into two separate | |
4273 | configurations, mn10200 and mn10300. | |
4274 | * archures.c, config.bfd, configure.in, elf.c, targets.c: Likewise. | |
4275 | * bfd-in2.h, configure: Rebuilt. | |
4276 | ||
4c7f3fde JM |
4277 | Thu Oct 3 15:38:19 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) |
4278 | ||
4279 | * Makefile.in (do_clean): Move config.log to do_distclean. | |
4280 | ||
efc2b064 JL |
4281 | Wed Oct 2 21:40:55 1996 Jeffrey A Law (law@cygnus.com) |
4282 | ||
4283 | * cpu-mn10x00.c, elf32-mn10x00.c: New files. | |
4284 | * Makefile.in (ALL_MACHINES): Add cpu-mn10x00.o. | |
4285 | (BFD32_BACKENDS): Similarly for elf32-mn10x00.o. | |
4286 | (elf32-mn10x00.o): Add dependencies. | |
4287 | * archures.c (enum bfd_architecture): Add bfd_arch_mn10x00. | |
4288 | (bfd_mn10x00_arch): Declare. | |
4289 | (bfd_archures_list): Add bfd_mn10x00_arch. | |
4290 | * config.bfd: Add mn10x00-*-*. | |
4291 | * configure.in: Add bfd_elf32_mn10x00_vec. | |
4292 | * elf.c (prep_headers): Handle bfd_arch_mn10x00. | |
4293 | * targets.c (bfd_elf32_mn10x00_vec): Declare. | |
4294 | (bfd_target_vector): Add bfd_elf32_mn10x00_vec. | |
4295 | * bfd-in2.h, configure: Rebuilt. | |
cf2cd4cf | 4296 | |
bf53bd9f ILT |
4297 | Wed Oct 2 15:46:45 1996 Klaus Kaempf <kkaempf@progis.de> |
4298 | ||
4299 | openVMS/Alpha: Provide filename and case_hack flags via | |
4300 | symbol table from gas. | |
4301 | Add case_hack code for symbol output from vax/vms. | |
4302 | * evax-alpha.c (evax_initialize): Remove filename handling, | |
4303 | filename is provided via symbol table. | |
4304 | (evax_get_symtab): Use local symbol count when setting up table. | |
4305 | * evax-egsd.c (_bfd_evax_slurp_egsd): Print correct name when | |
4306 | debugging. | |
4307 | (_bfd_evax_write_egsd): Skip file name symbol. | |
4308 | * evax-emh.c (get_vms_time_string): Local function now. | |
4309 | (_bfd_evax_write_emh): Extract source filename and case_hack flags | |
4310 | from symbol table. | |
4311 | * evax_write_etir (_bfd_evax_write_etir): Pass all symbol names | |
4312 | through _bfd_evax_case_hack_symbol. | |
4313 | * evax-misc.c (hash_string, _bfd_evax_case_hack_symbol): New | |
4314 | functions. | |
4315 | (_bfd_evax_basename): Removed. | |
4316 | (_bfd_get_vms_time_string): Moved to evax-emh.c. | |
4317 | * evax.h (evax_private_data_struct): Remove filename. | |
4318 | (flag_hash_long_names, flag_show_after_trunc, | |
4319 | flag_no_hash_mixed_case, vms_name_mapping): New flags for | |
4320 | vms_case_hack. | |
4321 | ||
263d4a62 ILT |
4322 | Wed Oct 2 12:02:02 1996 Ian Lance Taylor <ian@cygnus.com> |
4323 | ||
a0fe6c2d ILT |
4324 | * freebsd.h (N_GET_MAGIC_NET): Don't use ntohl. |
4325 | (N_GETMID_NET, N_GETFLAG_NET): Likewise. | |
4326 | (NO_SWAP_MAGIC): Don't define. | |
4327 | (SWAP_MAGIC): Define. | |
4328 | ||
263d4a62 ILT |
4329 | * cofflink.c (_bfd_coff_link_input_bfd): Don't crash if there is |
4330 | no hash table entry for a global symbol. | |
4331 | ||
161ac690 ILT |
4332 | Tue Oct 1 16:14:22 1996 Joel Sherrill <joel@oarcorp.com> |
4333 | ||
4334 | * config.bfd (mips*-*-rtems*): New target, like mips*-*-elf*. | |
4335 | ||
0db6249c ILT |
4336 | Tue Oct 1 12:31:39 1996 Ian Lance Taylor <ian@cygnus.com> |
4337 | ||
8dd53b5c ILT |
4338 | * cofflink.c (coff_link_add_symbols): Don't override a meaningful |
4339 | symbol type with T_NULL. Warn if symbol type changes. Based on | |
e5c4495c | 4340 | patch from Philippe De Muyter <phdm@info.ucl.ac.be>. |
8dd53b5c | 4341 | |
0db6249c ILT |
4342 | * elflink.h (elf_link_add_object_symbols): Only put a symbol from |
4343 | a dynamic object in the dynamic symbol table if it is referenced | |
4344 | or defined by a regular object. | |
4345 | ||
0db6249c ILT |
4346 | Fri Sep 27 18:41:07 1996 Stu Grossman (grossman@critters.cygnus.com) |
4347 | ||
4348 | * elf32-v850.c (bfd_elf32_v850_is_local_label): New function to | |
4349 | remove dwarf local labels. Shrinks binaries by a factor of 3! | |
4350 | ||
0db6249c ILT |
4351 | Mon Sep 23 13:33:00 1996 Ian Lance Taylor <ian@cygnus.com> |
4352 | ||
4353 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Create the .sbss section | |
4354 | by hand, rather than by calling bfd_make_section. | |
4355 | ||
80675684 DE |
4356 | Mon Sep 23 09:23:41 1996 Doug Evans <dje@seba.cygnus.com> |
4357 | ||
4358 | * reloc.c: Rename m32r relocs. | |
4359 | * bfd-in2.h, libbfd.h: Rebuilt. | |
4360 | * elf32-m32r.c: Update. | |
80675684 | 4361 | |
a5a43df1 ILT |
4362 | Fri Sep 20 11:43:43 1996 Ian Lance Taylor <ian@cygnus.com> |
4363 | ||
e12ab364 ILT |
4364 | * aoutx.h (aout_link_input_section_ext): When doing a relocateable |
4365 | link, adjust the symbol index of a base relative reloc. Don't | |
4366 | change the addend of a PC relative reloc if pcrel_offset is set. | |
4367 | * sunos.c (bfd_sunos_size_dynamic_sections): Don't do anything for | |
4368 | a relocateable link. | |
4369 | ||
a5a43df1 ILT |
4370 | * reloc.c (bfd_perform_relocation): Apply the relocation even if |
4371 | it is zero, in case src_mask matters. | |
4372 | (bfd_install_relocation): Likewise. | |
4373 | ||
e425358f ILT |
4374 | Thu Sep 19 11:03:06 1996 Ian Lance Taylor <ian@cygnus.com> |
4375 | ||
4376 | * xcofflink.c (xcoff_link_add_symbols): Always initialize | |
4377 | keep_syms. | |
4378 | (_bfd_xcoff_bfd_final_link): Don't set target_index | |
4379 | to an uninitialized value. | |
4380 | ||
7f21c97c ILT |
4381 | Tue Sep 17 14:18:31 1996 Ian Lance Taylor <ian@cygnus.com> |
4382 | ||
4383 | * coffcode.h (coff_slurp_line_table): Warn about illegal symbol | |
4384 | indices, rather than crashing. | |
4385 | (coff_slurp_reloc_table): Likewise. Check whether the howto field | |
4386 | is NULL. | |
8d784abe ILT |
4387 | * coff-sh.c (sh_relocate_section): Check for an illegal symbol |
4388 | index. | |
7f21c97c | 4389 | |
9859bc31 ILT |
4390 | Mon Sep 16 12:39:36 1996 Ian Lance Taylor <ian@cygnus.com> |
4391 | ||
1153e84b ILT |
4392 | * coff-arm.c (aoutarm_std_reloc_howto): Change dst_mask for ARM26D |
4393 | reloc to 0. | |
4394 | (coff_arm_adjust_symndx): New static function. | |
4395 | (coff_adjust_symndx): Define. | |
4396 | ||
9859bc31 ILT |
4397 | * srec.c (srec_scan): Accept multiple symbols on a single line. |
4398 | From Pascal Martin <pmartin@alsys.com>. | |
4399 | ||
4400 | * README: New file. | |
4401 | ||
f8b82e49 DE |
4402 | Fri Sep 13 14:32:42 1996 Doug Evans <dje@canuck.cygnus.com> |
4403 | ||
4404 | * aoutf1.h (MY_bfd_merge_private_bfd_data): Define. | |
4405 | (sunos_merge_private_bfd_data): New function. | |
4406 | ||
0a7b8735 ILT |
4407 | Fri Sep 13 15:50:57 1996 Ian Lance Taylor <ian@cygnus.com> |
4408 | ||
76d30c3f ILT |
4409 | * bfd.c (bfd_copy_private_bfd_data): Switch on output BFD rather |
4410 | than input BFD. | |
4411 | (bfd_merge_private_bfd_data): Likewise. | |
4412 | * section.c (bfd_copy_private_section_data): Likewise. | |
4413 | * syms.c (bfd_copy_private_symbol_data): Likewise. | |
4414 | * bfd-in2.h: Rebuild. | |
4415 | * aout-target.h (MY_bfd_copy_private_section_data): Check that | |
4416 | both BFD's are the right flavour. | |
4417 | * ecoff.c (_bfd_ecoff_bfd_copy_private_bfd_data): Likewise. | |
4418 | * elf.c (_bfd_elf_copy_private_symbol_data): Likewise. | |
4419 | * elf32-mips.c (_bfd_mips_elf_copy_private_bfd_data): Likewise. | |
4420 | (_bfd_mips_elf_merge_private_bfd_data): Likewise. | |
4421 | * elf32-ppc.c (ppc_elf_copy_private_bfd_data): Likewise. | |
4422 | (ppc_elf_merge_private_bfd_data): Likewise. | |
4423 | * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Likewise. | |
4424 | * peicode.h (pe_bfd_copy_private_section_data): Likewise. | |
4425 | ||
0a7b8735 ILT |
4426 | * elf32-hppa.c (elf_hppa_howto_table): Fill in some fields for |
4427 | R_PARISC_DIR32, so that _bfd_stab_section_find_nearest_line passes | |
4428 | its sanity check. | |
4429 | ||
3ebefb07 DE |
4430 | Thu Sep 12 11:45:57 1996 Doug Evans <dje@seba.cygnus.com> |
4431 | ||
4432 | * reloc.c: Add m32r relocs. | |
4433 | * bfd-in2.h, libbfd.h: Rebuilt. | |
6cb9c903 | 4434 | * cpu-m32r.c,elf32-m32r.c: New files. |
3ebefb07 | 4435 | |
cacfb845 ILT |
4436 | Thu Sep 12 11:10:05 1996 Ian Lance Taylor <ian@cygnus.com> |
4437 | ||
4438 | * ieee.c (ieee_vec): Set symbol_leading_char field to '_'. | |
4439 | ||
d7775b43 ILT |
4440 | Wed Sep 11 11:57:56 1996 Ian Lance Taylor <ian@cygnus.com> |
4441 | ||
e461da9b ILT |
4442 | * tekhex.c (first_phase): Change type parameter from char to int. |
4443 | (out): Likewise. | |
4444 | (pass_over): Change func to expect int, not char. | |
4445 | ||
d7775b43 ILT |
4446 | * elf.c (assign_file_positions_for_segments): Test SEC_ALLOC |
4447 | rather than SEC_LOAD when aligning the file offset for the first | |
4448 | section in a segment. | |
4449 | ||
ea3f0585 FF |
4450 | Tue Sep 10 16:18:30 1996 Fred Fish <fnf@cygnus.com> |
4451 | ||
4452 | * syms.c (coff_section_type): Make arg const. | |
4453 | * irix-core.c (irix_core_core_file_p): Remove extraneous extra arg | |
4454 | to make_bfd_asection(). | |
4455 | * elf-bfd.h (bfd_section_from_phdr): Add prototype. | |
4456 | * elfcode.h (bfd_section_from_phdr): Remove prototype. | |
4457 | (_bfd_elf_stringtab_init): Remove prototype. | |
4458 | ||
4459 | * netbsd-core.c (swap_abort): Add prototype. | |
4460 | * aix386-core.c (swap_abort): Ditto & make static | |
4461 | * hpux-core.c (swap_abort): Ditto & make static. | |
4462 | * irix-core.c (swap_abort): Ditto & make static. | |
4463 | * ptrace-core.c (swap_abort): Ditto & make static. | |
4464 | * trad-core.c (swap_abort): Ditto & make static. | |
4465 | * coffswap.h (coff_swap_reloc_in): Ditto. | |
4466 | (coff_swap_reloc_out): Ditto. | |
4467 | (coff_swap_filehdr_in): Ditto. | |
4468 | (coff_swap_filehdr_out): Ditto. | |
4469 | (coff_swap_sym_in): Ditto. | |
4470 | (coff_swap_sym_out): Ditto. | |
4471 | (coff_swap_aux_in): Ditto. | |
4472 | (coff_swap_aux_out): Ditto. | |
4473 | (coff_swap_lineno_in): Ditto. | |
4474 | (coff_swap_lineno_out): Ditto. | |
4475 | (coff_swap_aouthdr_in): Ditto. | |
4476 | (coff_swap_aouthdr_out): Ditto. | |
4477 | (coff_swap_scnhdr_in): Ditto. | |
4478 | (coff_swap_scnhdr_out): Ditto. | |
4479 | * ihex.c (ihex_sizeof_headers): Ditto. | |
4480 | * tekhex.c (getsym): Ditto. | |
4481 | (find_chunk): Ditto & make static. | |
4482 | (insert_byte): Ditto. | |
4483 | (first_phase): Ditto. | |
4484 | (pass_over): Ditto. | |
4485 | (tekhex_get_symtab): Ditto & make static. | |
4486 | (tekhex_get_symtab_upper_bound): Ditto & make static. | |
4487 | (tekhex_mkobject): Ditto. | |
4488 | (tekhex_object_p): Ditto. | |
4489 | (move_section_contents): Ditto. | |
4490 | (tekhex_get_section_contents): Ditto. | |
4491 | (tekhex_set_arch_mach): Ditto & make static. | |
4492 | (tekhex_set_section_contents): Ditto. | |
4493 | (writevalue): Ditto. | |
4494 | (writesym): Ditto. | |
4495 | (out): Ditto. | |
4496 | (tekhex_write_object_contents): Ditto. | |
4497 | (tekhex_sizeof_headers): Ditto. | |
4498 | (tekhex_make_empty_symbol): Ditto. | |
4499 | (tekhex_get_symbol_info): Ditto. | |
4500 | (tekhex_print_symbol): Ditto. | |
4501 | * irix-core.c (make_bfd_asection): Ditto. | |
4502 | (irix_core_core_file_p): Ditto. | |
4503 | (irix_core_core_file_failing_command): Ditto. | |
4504 | (irix_core_core_file_failing_signal): Ditto. | |
4505 | (irix_core_core_file_matches_executable_p): Ditto. | |
4506 | (irix_core_make_empty_symbol): Ditto. | |
4507 | * coff-mips.c (mips_bfd_reloc_type_lookup): Ditto. | |
4508 | * srec.c (srec_new_symbol): Ditto. | |
4509 | (srec_get_section_contents): Ditto. | |
4510 | (srec_set_arch_mach): Ditto. | |
4511 | (srec_set_section_contents): Ditto. | |
4512 | (internal_srec_write_object_contents): Ditto. | |
4513 | (srec_write_object_contents): Ditto. | |
4514 | (symbolsrec_write_object_contents): Ditto. | |
4515 | (srec_sizeof_headers): Ditto. | |
4516 | (srec_make_empty_symbol): Ditto. | |
4517 | (srec_get_symtab_upper_bound): Ditto. | |
4518 | (srec_get_symtab): Ditto. | |
4519 | (srec_print_symbol): Ditto and make static. | |
4520 | * elf.c (elf_read): Ditto | |
4521 | (assign_section_numbers): Ditto. | |
4522 | (elf_fake_sections): Ditto. | |
4523 | (sym_is_global): Ditto. | |
4524 | (elf_map_symbols): Ditto. | |
4525 | (get_program_header_size): Ditto. | |
4526 | * coffgen.c (make_a_section_from_file): Ditto. | |
4527 | (coff_real_object_p): Ditto. | |
4528 | (fixup_symbol_value): Ditto. | |
4529 | (build_debug_section): Ditto. | |
4530 | (copy_name): Ditto. | |
4531 | * syms.c (coff_section_type): Ditto. | |
cf2cd4cf | 4532 | |
00d7a64b JL |
4533 | Mon Sep 9 22:36:01 1996 Jeffrey A Law (law@cygnus.com) |
4534 | ||
4535 | * bfd-in2.h: Rebuilt after m32r changes. | |
4536 | ||
71d7d44f DE |
4537 | Mon Sep 9 12:31:22 1996 Doug Evans <dje@canuck.cygnus.com> |
4538 | ||
66e4c229 | 4539 | * config.bfd,configure.in,configure: Add m32r support. |
f0c12b73 | 4540 | * Makefile.in,archures.c,elf.c,targets.c: Likewise. |
71d7d44f DE |
4541 | * config.bfd: Keep target list alphabetically sorted. |
4542 | ||
629f776a JL |
4543 | Mon Sep 9 11:48:41 1996 Jeffrey A Law (law@cygnus.com) |
4544 | ||
4545 | * elf32-v850.c (bfd_elf32_v850_reloc, case R_V850_HI16): Don't forget | |
4546 | to add in the constant part found in the instruction itself. | |
4547 | (case R_V850_HI16_S): Likewise. | |
4548 | ||
9c85b19d MH |
4549 | Fri Sep 6 17:04:39 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
4550 | ||
4551 | * elf32-d10v.c (elf_d10v_howto_table): Modify the size of R_D10V_16 | |
4552 | and R_D10V_18 to be 1 (word). | |
4553 | ||
4be2140e ILT |
4554 | Thu Sep 5 15:23:08 1996 Ian Lance Taylor <ian@cygnus.com> |
4555 | ||
4556 | * stabs.c (_bfd_link_section_stabs): If the output_section field | |
4557 | of either section is bfd_abs_section, then the linker is | |
4558 | discarding the section and we should not optimize it. | |
4559 | ||
0cd98b92 DE |
4560 | Tue Sep 3 12:16:20 1996 Doug Evans <dje@canuck.cygnus.com> |
4561 | ||
4562 | * Makefile.in (aout-sparcle.o): New target. | |
4563 | * aoutf1.h (TARGET_IS_BIG_ENDIAN_P): Don't define if little endian. | |
4564 | * config.bfd (sparclet-*-aout*): Add case. | |
4565 | * configure.in (sparcle_aout_vec): Add case. | |
4566 | * configure: Regenerated. | |
0cd98b92 DE |
4567 | * targets.c (sparcle_aout_vec): Declare. |
4568 | (bfd_target_vector): Add sparcle_aout_vec. | |
4569 | * aout-sparcle.c: New file. | |
4570 | ||
7b0af209 | 4571 | Tue Sep 3 00:57:02 1996 Jeffrey A Law (law@cygnus.com) |
b5ef63c4 | 4572 | |
e73b6ae6 JL |
4573 | * elf32-v850.c (bfd_elf32_v850_reloc): Fix handling of |
4574 | low order sign bit propogation for R_V850_HI16_S. | |
4575 | ||
4576 | * elf32-v850.c (bfd_elf32_v850_reloc): New function for | |
7b0af209 JL |
4577 | handling V850 specific relocs. |
4578 | (elf_v850_howto_table): Use the new function for some | |
4579 | relocations. Twiddle masks & shifts for some relocs. | |
4580 | Set partial_inplace where needed. | |
4581 | ||
7b0af209 JL |
4582 | Mon Sep 2 12:12:34 1996 Ian Lance Taylor <ian@cygnus.com> |
4583 | ||
4584 | * cpu-mips.c: Add an explicit mips:3000 entry, and change the | |
4585 | default architecture to a machine number of 0. | |
4586 | * elf32-mips.c (_bfd_mips_elf_object_p): Set the machine number | |
4587 | for E_MIPS_ARCH_1. | |
4588 | (_bfd_mips_elf_merge_private_bfd_data): If the machine number of | |
4589 | the output BFD is the default, set it from the first input BFD. | |
4590 | ||
7b0af209 JL |
4591 | Sun Sep 1 18:38:01 1996 Jeffrey A Law (law@cygnus.com) |
4592 | ||
4593 | * elf32-v850.c (elf_v850_howto_table): All the 16bit relocs | |
4594 | insert at bitpos zero. The HI16 relocs are shifted right | |
4595 | by 16 bits. Fix src_mask for all relocs. | |
4596 | (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME): Define. The V850 is | |
4597 | little endian! | |
4598 | (TARGET_BIG_SYM, TARGET_BIG_NAME): Remove. The V850 is little | |
4599 | endian! | |
b5ef63c4 | 4600 | |
bde9d875 ILT |
4601 | Sun Sep 1 15:41:08 1996 Ian Lance Taylor <ian@cygnus.com> |
4602 | ||
4603 | * rs6000-core.c (rs6000coff_core_file_matches_executable_p): | |
4604 | Rewrite to use BFD file read routines and to avoid using a fixed | |
4605 | length for the file name. | |
4606 | ||
237b5c4c JL |
4607 | Sat Aug 31 10:22:25 1996 Jeffrey A Law (law@cygnus.com) |
4608 | ||
4609 | * elf32-v850.c (enum reloc_type): Add R_V850_{32,16,8}. | |
4610 | (elf_v850_howto_table): Add support for R_V850_{32,16,8}. | |
4611 | (v850_reloc_map): Add translation from BFD_RELOC_{32,16,8} | |
4612 | to R_V850_{32,16,8}. | |
4613 | ||
01b49cb3 C |
4614 | Fri Aug 30 18:06:04 1996 J.T. Conklin <jtc@hippo.cygnus.com> |
4615 | ||
4616 | * elf32-v850.c (reloc_type): Add R_V850_HI16_S. | |
4617 | (elf_v850_howto_table): Add info for HI16_S reloc. | |
4618 | (v850_reloc_map): Add HI_16_S reloc. | |
4619 | * reloc.c: Define BFD_RELOC_V850_* relocs. | |
4620 | ||
492cfc71 ILT |
4621 | Fri Aug 30 11:49:19 1996 Ian Lance Taylor <ian@cygnus.com> |
4622 | ||
c86158e5 ILT |
4623 | Add SH ELF support. |
4624 | * elf32-sh.c: New file. | |
4625 | * elf.c (prep_headers): Handle bfd_arch_sh. | |
4626 | * elfcode.h (write_relocs): Handle absolute symbol. | |
4627 | * elf-bfd.h (_bfd_elf32_link_read_relocs): Declare. | |
4628 | (_bfd_elf64_link_read_relocs): Declare. | |
4629 | * elflink.h (NAME(_bfd_elf,link_read_relocs)): Rename from | |
4630 | elf_link_read_relocs. Make globally visible. Change all | |
4631 | callers. | |
4632 | (elf_link_input_bfd): Get external symbols from cache in | |
4633 | symtab_hdr->contents. Get contents from cache in | |
4634 | elf_section_data. | |
4635 | * elfxx-target.h (bfD_elfNN_bfd_relax_section): Only define if not | |
4636 | already defined. | |
4637 | * reloc.c: Define BFD_RELOC_SH_* relocs. | |
4638 | * libbfd-in.h (_bfd_sh_align_load_span): Declare. | |
4639 | * coff-sh.c (sh_insns_conflict): Fix a return value. | |
4640 | (_bfd_sh_align_load_span): New globally visible function, broken | |
4641 | out of sh_align_load. | |
4642 | (sh_align_load): Call _bfd_sh_align_load_span. | |
4643 | (sh_swap_insns): Change relocs parameter to PTR. | |
4644 | * bfd-in2.h, libbfd.h: Rebuild. | |
4645 | * targets.c (bfd_elf32_sh_vec): Declare. | |
4646 | (bfd_elf32_shl_vec): Declare. | |
4647 | * config.bfd (sh-*-elf*): New target. | |
4648 | * configure.in (bfd_elf32_sh_vec): New target vector. | |
4649 | (bfd_elf32_shl_vec): New target vector. | |
4650 | * configure: Rebuild. | |
4651 | * Makefile.in: Rebuild dependencies. | |
4652 | (BFD32_BACKENDS): Add elf32-sh.o. | |
4653 | (BFD32_BACKENDS_CFILES): Add elf32-sh.c. | |
4654 | ||
4655 | * elf.c (map_sections_to_segments): Check that LMA does not skip a | |
4656 | page before checking D_PAGED. | |
4657 | ||
492cfc71 ILT |
4658 | * ihex.c (ihex_scan): Removed unnecessary extbase variable. |
4659 | (ihex_write_object_contents): Remove extbase; always use segbase | |
4660 | instead. | |
4661 | ||
f7954d86 MM |
4662 | Thu Aug 29 16:52:17 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
4663 | ||
4664 | * configure.in (i[345]86-*-*): Recognize i686 for pentium pro. | |
4665 | * configure.host (i[345]86-*-*): Ditto. | |
4666 | * config.bfd (i[345]86-*-*): Ditto. | |
4667 | * configure: Regenerate. | |
4668 | ||
4669 | * config.bfd (i[3456]86-*-dgux*): Recognize as a synonym for x86 | |
4670 | elf. | |
4671 | ||
4672 | Tue Aug 27 09:18:18 1996 Jeffrey A Law (law@cygnus.com) | |
4673 | ||
4674 | * elf32-hppa.c (hppa_elf_gen_reloc_type): Add new argument. | |
4675 | * elf32-hppa.h (hppa_elf_gen_reloc_type): Update prototype. | |
4676 | * som.c (hppa_som_gen_reloc_type): Add new argument. If | |
4677 | we encounter an R_DATA_ONE_SYMBOL reloc against a symbol that | |
4678 | will have an ST_CODE type, change the symbol's type to ST_DATA. | |
4679 | * som.c (hppa_som_gen_reloc_type): Update prototype. | |
4680 | ||
4da624dd ILT |
4681 | Tue Aug 27 00:12:22 1996 Ian Lance Taylor <ian@cygnus.com> |
4682 | ||
4683 | * elf32-mips.c (mips_elf_check_relocs): Set dynobj if needed for | |
4684 | R_MIPS_32 and R_MIPS_REL32. Set sgot and g as soon as possible. | |
4685 | (mips_elf_size_dynamic_sections): Don't require .got to exist. | |
4686 | (mips_elf_finish_dynamic_sections): Likewise. | |
4687 | ||
9461513b ILT |
4688 | Thu Aug 22 10:54:38 1996 Ian Lance Taylor <ian@cygnus.com> |
4689 | ||
1c952df6 ILT |
4690 | * configure.host (HLDENV): New variable to set. Set it for |
4691 | *-*-sysv4*, since those linkers may not support -R but they always | |
4692 | support LD_RUN_PATH. | |
4693 | ||
9461513b ILT |
4694 | * libieee.h (NSECTIONS): Don't define. |
4695 | (ieee_data_struct): Change section_table to asection **. Add | |
4696 | section_table_size. | |
4697 | * ieee.c (get_section_entry): If the table isn't big enough, make | |
4698 | it bigger. | |
4699 | (ieee_slurp_sections): Remove assertion about number of sections. | |
4700 | (ieee_object_p): Adjust initialization of ieee to match changes to | |
4701 | the structure. | |
4702 | ||
4703 | * xcofflink.c (xcoff_mark): Don't copy relocs for undefined | |
4704 | symbols merely because we are generating a shared library. | |
4705 | (xcoff_build_ldsyms): Don't set up global linkage code for an | |
4706 | undefined symbol merely because we are generating a shared | |
4707 | library. | |
4708 | ||
0c1d95c7 | 4709 | Tue Aug 20 15:06:05 1996 J.T. Conklin <jtc@hippo.cygnus.com> |
cf2cd4cf | 4710 | |
0c1d95c7 C |
4711 | * Makefile.in (ALL_MACHINES): Add cpu-v850.o. |
4712 | (BFD32_BACKENDS) Add elf32-v850.o. | |
4713 | * archures.c: Add bfd_v850_arch. | |
4714 | * bfd-in2.h: Add bfd_v850_arch. | |
4715 | * config.bfd (v850-*-*): New target. | |
4716 | * configure: (bfd_elf32_v850_vec) New vector. | |
4717 | * configure.in: (bfd_elf32_v850_vec) New vector. | |
4718 | * cpu-v850.c: New file. | |
4719 | * elf.c (prep_headers): Added case bfd_arch_v850. | |
4720 | * elf32-v850.c: New file. | |
4721 | * targets.c (bfd_elf32_v850_vec): New vector. | |
cf2cd4cf | 4722 | |
0c1d95c7 C |
4723 | Fri Aug 16 16:25:35 1996 Ian Lance Taylor <ian@cygnus.com> |
4724 | ||
4725 | * xcofflink.c (xcoff_link_add_dynamic_symbols): Create and define | |
4726 | a function code symbol for an XMC_XO symbol. | |
4727 | ||
22edd547 SS |
4728 | Thu Aug 15 12:33:29 1996 Stan Shebs <shebs@andros.cygnus.com> |
4729 | ||
4730 | * mpw-config.in: Update editing of autoconf vars to reflect | |
4731 | Jul 18 configure.in change. | |
4732 | * mpw-make.sed: Update editing of include pathnames to be | |
4733 | more general, add @DASH_C_FLAG@ to explicit compile rule edit. | |
4734 | ||
4735 | Thu Aug 15 10:35:13 1996 Richard Henderson <rth@tamu.edu> | |
4736 | ||
4737 | * elf64-alpha.c (elf64_alpha_output_extsym): The section from | |
4738 | which to offset to get the .plt entry address is ".plt". | |
4739 | ||
53ef6e60 JSC |
4740 | Thu Aug 15 16:40:30 1996 James G. Smith <jsmith@cygnus.co.uk> |
4741 | ||
4742 | * reloc.c: (BFD_RELOC_ARM_THUMB_ADD, BFD_RELOC_ARM_THUMB_IMM, | |
4743 | BFD_RELOC_ARM_THUMB_SHIFT, BFD_RELOC_ARM_THUMB_OFFSET): | |
4744 | Added, for internal use by the ARM gas. | |
4745 | * libbfd.h: Rebuilt | |
4746 | * bfd-in2.h: Rebuilt | |
4747 | ||
37d7888d ILT |
4748 | Wed Aug 14 17:02:09 1996 Richard Henderson <rth@tamu.edu> |
4749 | ||
4750 | * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Correct typo | |
4751 | in section dynidx start. | |
4752 | ||
e38d6d36 ILT |
4753 | Tue Aug 13 14:35:38 1996 Ian Lance Taylor <ian@cygnus.com> |
4754 | ||
4755 | * elf.c (_bfd_elf_make_section_from_shdr): Treat sections whose | |
4756 | name begins with .gnu.linkonce as SEC_LINK_ONCE. This is an | |
4757 | optimization for g++. | |
4758 | ||
ae20860e MM |
4759 | Tue Aug 13 17:04:40 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
4760 | ||
4761 | * elf32-ppc.c (ppc_elf_merge_private_bfd_data): If one module has | |
4762 | the -mrelocatable-lib bit set and the other doesn't, clear the | |
4763 | -mrelocatable-lib bit in the header. | |
4764 | ||
4596421b ILT |
4765 | Sat Aug 10 22:59:17 1996 Ian Lance Taylor <ian@cygnus.com> |
4766 | ||
4767 | * elflink.h (elf_link_add_object_symbols): Do not resolve a common | |
4768 | symbol against a STT_FUNC symbol in a shared library. | |
4769 | ||
f11e3f62 ILT |
4770 | Fri Aug 9 12:44:57 1996 Ian Lance Taylor <ian@cygnus.com> |
4771 | ||
410bc61d ILT |
4772 | * xcofflink.c (xcoff_link_add_dynamic_symbols): If a descriptor |
4773 | symbol is found, automatically define the corresponding function | |
4774 | code. | |
4775 | ||
d92099f1 ILT |
4776 | * cofflink.c (coff_link_add_symbols): Only set (*sym_hash)->numaux |
4777 | if sym.n_numaux is not zero. | |
4778 | (_bfd_coff_link_input_bfd): Permit the symbol and the hash table | |
4779 | entry to disagree about the number of aux entries if the symbol | |
4780 | has zero. | |
4781 | ||
f11e3f62 ILT |
4782 | * elf32-mips.c (mips_elf_check_relocs): Create the .rel.dyn |
4783 | section if it might be needed, not just if info->shared. | |
4784 | (mips_elf_adjust_dynamic_symbol): Make room for a null element at | |
4785 | the start of .rel.dyn if we are going to use it. | |
4786 | (mips_elf_finish_dynamic_sections): Only clear the first element | |
4787 | of .rel.dyn if the size is greater than zero. | |
4788 | ||
fbc4ed7d ILT |
4789 | Thu Aug 8 16:24:55 1996 Ian Lance Taylor <ian@cygnus.com> |
4790 | ||
b2a05baf ILT |
4791 | * xcofflink.c (xcoff_link_input_bfd): If we already called the |
4792 | undefined_symbol callback for a symbol, then don't issue any more | |
4793 | warnings about loader relocs. | |
4794 | (_bfd_ppc_xcoff_relocate_section): Don't do any further processing | |
4795 | after calling the undefined_symbol callback. | |
4796 | ||
fbc4ed7d ILT |
4797 | * xcofflink.c (XCOFF_MULTIPLY_DEFINED): Define. |
4798 | (xcoff_link_add_symbols): Permit multiple definitions of a symbol | |
4799 | as the AIX linker seems to do. | |
4800 | ||
8612a388 ILT |
4801 | Thu Aug 8 12:21:56 1996 Klaus Kaempf <kkaempf@progis.de> |
4802 | ||
4803 | * evax-alpha.c (evax_alpha_vec): Corrected flags, cleanup. | |
4804 | (evax_initialize): Remove evax_reloc_table. | |
4805 | (evax_close_and_cleanup): Ditto. | |
4806 | (reloc_nil): Ditto. | |
4807 | (alpha_howto_table): Remove ALPHA_R_SWREL32 and ALPHA_R_SWREL64 | |
4808 | entries. | |
4809 | (evax_bfd_reloc_type_lookup): Ditto. | |
4810 | * evax-egsd.c (_bfd_evax_slurp_egsd): Add a few casts; set | |
4811 | cooked_size == raw_size. | |
4812 | * evax-emh.c (_bfd_evax_register_filename): Remove. | |
4813 | * evax-etir.c (etir_stc): Allow ETIR_S_C_STC_xx commands. | |
4814 | * evax-misc.c (add_new_contents): Malloc section at full size. | |
4815 | (_bfd_save_evax_section): Memcpy section contents directly. | |
4816 | * evax.h (ALPHA_R_SWREL32, ALPHA_R_SWREL64): Remove. | |
4817 | (evax_reloc_table): Remove. | |
4818 | ||
4819 | * hosts/alphavms.h (O_ACCMODE): Define if needed. | |
4820 | ||
4821 | * makefile.vms: Add better support for DEC C compilation | |
4822 | Add evax.h dependencies | |
4823 | ||
4824 | * reloc.c (bfd_get_reloc_size): Add case for 16 byte reloc. | |
4825 | (BFD_RELOC_SWREL32,BFD_RELOC_SWREL64): Remove. | |
4826 | (BFD_RELOC_ALPHA_BASEREG): Remove. | |
4827 | * bfd-in2.h, libbfd.h: Rebuild. | |
4828 | ||
320a5c6b SG |
4829 | Thu Aug 8 08:17:32 1996 Stu Grossman (grossman@critters.cygnus.com) |
4830 | ||
4831 | * archive.c (bsd_write_armap): Ifdef around calls to getuid and | |
4832 | getgid if _WIN32 is defined. | |
4833 | * opncls.c (bfd_fdopenr): Remove unnecessary WINGDB ifdef. | |
4834 | ||
2055bf85 SG |
4835 | Wed Aug 7 23:19:00 1996 Stu Grossman (grossman@critters.cygnus.com) |
4836 | ||
4837 | * aoutx.h bfd-in.h bfd-in2.h opncls.c riscix.c som.c targets.c: | |
4838 | Change NO_FLAGS to BFD_NO_FLAGS to avoid conflict with an HPUX | |
4839 | include file. | |
4840 | * libbfd.c: Create dummy getpagesize() macro if HAVE_GETPAGESIZE | |
4841 | isn't defined. | |
4842 | ||
85fe9d3e ILT |
4843 | Wed Aug 7 14:11:44 1996 Philippe De Muyter <phdm@info.ucl.ac.be> |
4844 | ||
4845 | * configure.in: Call BFD_NEEDED_DECLARATION on strstr and | |
4846 | realloc. | |
4847 | * acconfig.h (NEED_DECLARATION_STRSTR): New macro. | |
4848 | (NEED_DECLARATION_REALLOC): New macro. | |
4849 | * configure, config.in: Rebuild. | |
4850 | * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. | |
4851 | (realloc): Declare if NEED_DECLARATION_REALLOC. | |
4852 | ||
4853 | * aclocal.m4 (BFD_NEED_DECLARATION): Include <string.h> or | |
4854 | <strings.h> if they exist. | |
4855 | ||
4856 | * ieee.c (ieee_set_section_contents): Cast bfd_alloc return. | |
4857 | ||
9b3307b0 ILT |
4858 | Wed Aug 7 12:12:03 1996 Ian Lance Taylor <ian@cygnus.com> |
4859 | ||
cc425b55 ILT |
4860 | * cpu-i386.c (i8086_arch): Architecture info for the i8086. |
4861 | ||
9b3307b0 ILT |
4862 | Based on patches from Eric Valette <valette@crf.canon.fr>: |
4863 | * elf32-i386.c (enum reloc_type): Add FIRST_INVALID_RELOC, | |
4864 | LAST_INVALID_RELOC, R_386_16, R_386_PC16, R_386_8, R_386_PC8. | |
4865 | (elf_howto_table): Add entries for new relocs. | |
4866 | (elf_i386_reloc_type_lookup): Handle new relocs. | |
4867 | (elf_i386_info_to_howto): Just call abort. | |
4868 | (elf_i386_info_to_howto_rel): Check that the reloc type is valid. | |
4869 | (elf_i386_relocate_section): Likewise. | |
4870 | ||
75e3a45a MH |
4871 | Tue Aug 6 12:54:56 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
4872 | ||
4873 | * elf32-d10v.c (elf_d10v_howto_table): Added R_D10V_32. | |
4874 | ||
191d910c ILT |
4875 | Mon Aug 5 13:42:41 1996 Ian Lance Taylor <ian@cygnus.com> |
4876 | ||
b944e7e8 ILT |
4877 | * elf.c (_bfd_elf_make_section_from_shdr): For a loadable section, |
4878 | only get the LMA from the phdr if they are in the same part of the | |
4879 | file. | |
4880 | ||
191d910c ILT |
4881 | * elf.c (map_sections_to_segments): Rewrite tests for starting a |
4882 | new segment to make them more comprehensible. If the relationship | |
4883 | between the LMA and the VMA changed, start a new segment. Don't | |
4884 | check dynsec when deciding whether to start a new segment for a | |
4885 | writeable section; -N will now handle this. | |
4886 | ||
e751d506 JL |
4887 | Thu Aug 1 22:43:08 1996 Jeffrey A Law (law@cygnus.com) |
4888 | ||
4889 | * libhppa.h: Remove "esel" changes. Not the right approach. | |
4890 | * som.c: Corresponding changes. | |
4891 | (som_bfd_derive_misc_symbol_info): Use ST_DATA for symbols | |
4892 | which don't have a SOM symbol type associated with them. | |
4893 | Reverses a 1994 change. | |
4894 | ||
cdb88e87 ILT |
4895 | Wed Jul 31 15:50:55 1996 Ian Lance Taylor <ian@cygnus.com> |
4896 | ||
4897 | Make ld -N more reasonable for ELF: | |
4898 | * elf.c (map_sections_to_segments): If D_PAGED is not set, set | |
4899 | phdr_in_section to false, and always use a single load segment. | |
4900 | (elf_sort_sections): Sort sections by LMA after VMA. | |
4901 | (assign_file_positions_for_segments): If D_PAGED is not set, don't | |
4902 | align to maxpagesize. | |
4903 | (assign_file_positions_except_relocs): Likewise. | |
4904 | * elfcode.h (elf_object_p): If a section is loaded but not page | |
4905 | aligned, clear D_PAGED. | |
4906 | ||
d1b40d8e JSC |
4907 | Wed Jul 31 15:00:12 1996 James G. Smith <jsmith@cygnus.co.uk> |
4908 | ||
4909 | * reloc.c: (BFD_RELOC_ARM_OFFSETIMM8, BFD_RELOC_ARM_HWLITERAL): | |
4910 | Added, for internal use by the ARM gas. | |
4911 | * libbfd.h: Rebuilt | |
4912 | * bfd-in2.h: Rebuilt | |
4913 | ||
ad240a82 JL |
4914 | Tue Jul 30 14:14:57 1996 Jeffrey A Law (law@cygnus.com) |
4915 | ||
4916 | * libhppa.h (R_HPPA_ESEL): New field selector. | |
4917 | (e_esel): Similarly. | |
4918 | * som.c (hppa_som_gen_reloc_type): If we encounter an e_esel, | |
4919 | then generate R_COMP2 (PUSH_SYM), R_DATA_EXPR fixup stream. | |
4920 | (som_write_fixups): Handle R_DATA_EXPR just like R_CODE_EXPR. | |
4921 | ||
fb4dc1eb ILT |
4922 | Tue Jul 30 13:31:27 1996 Ian Lance Taylor <ian@cygnus.com> |
4923 | ||
4924 | * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Do the regular | |
4925 | archive search before looking for stripped dynamic objects. | |
4926 | ||
b223f950 ILT |
4927 | Fri Jul 26 17:51:39 1996 Ian Lance Taylor <ian@cygnus.com> |
4928 | ||
4929 | * xcofflink.c (xcoff_build_ldsyms): Make exporting an undefined | |
4930 | symbol a warning rather than an error. | |
4931 | ||
64f808f9 ILT |
4932 | Wed Jul 24 12:02:53 1996 Ian Lance Taylor <ian@cygnus.com> |
4933 | ||
4934 | * elf.c (assign_file_positions_for_segments): Track the virtual | |
4935 | memory position separately from the file position, and use it to | |
4936 | compute the alignment adjustment. | |
4937 | ||
11609502 MH |
4938 | Tue Jul 23 10:43:31 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
4939 | ||
4940 | * elf32-d10v.c (elf_d10v_howto_table): Changed all relocs to "long" | |
4941 | and fixed mask on R_D10V_10_PCREL_L. | |
4942 | ||
9bd65136 ILT |
4943 | Mon Jul 22 15:30:30 1996 Ian Lance Taylor <ian@cygnus.com> |
4944 | ||
bf9884d4 ILT |
4945 | * elf64-mips.c: Include "aout/ar.h". |
4946 | (mips_elf64_slurp_armap): New static function. | |
4947 | (mips_elf64_write_armap): New static function. | |
4948 | (bfd_elf64_archive_*): Define. | |
4949 | * elfxx-target.h (bfd_elfNN_archive_p): Define if not defined. | |
4950 | Use instead of bfd_generic_archive_p. | |
4951 | (bfd_elfNN_write_archive_contents): Define if not defined. Use | |
4952 | instead of _bfd_write_archive_contents. | |
4953 | (bfd_elfNN_mkdarchive): Define if not defined. Use instead of | |
4954 | _bfd_generic_mkarchive. | |
4955 | (TARGET_BIG_SYM): If bfd_elfNN_archive_functions is defined, use | |
4956 | bfd_elfNN_archive in BFD_JUMP_TABLE_ARCHIVE rather than | |
4957 | _bfd_archive_coff. | |
4958 | (TARGET_LITTLE_SYM): Likewise. | |
4959 | * archive.c (bfd_slurp_armap): Check for and reject an archive map | |
4960 | name of /SYM64/. | |
4961 | * Makefile.in: Rebuild dependencies. | |
4962 | ||
4963 | * elf32-mips.c (_bfd_mips_elf_final_write_processing): Handle | |
4964 | SHT_MIPS_LIBLIST, SHT_MIPS_CONTENT, SHT_MIPS_SYMBOL_LIB, and | |
4965 | SHT_MIPS_EVENTS sections. | |
4966 | (_bfd_mips_elf_section_from_shdr): Handle SHT_MIPS_IFACE, | |
4967 | SHT_MIPS_CONTENT, SHT_MIPS_SYMBOL_LIB, and SHT_MIPS_EVENTS | |
4968 | sections. | |
4969 | (_bfd_mips_elf_fake_sections): Likewise. | |
4970 | ||
9bd65136 ILT |
4971 | * libecoff.h (ecoff_data_type): Add rdata_in_text field. |
4972 | * ecoff.c (ecoff_compute_section_file_positions): Copy | |
4973 | rdata_in_text from backend info to tdata. Clear it if any data | |
4974 | section comes before .rdata. | |
4975 | (_bfd_ecoff_write_object_contents): Use rdata_in_text field in | |
4976 | tdata rather than backend info. | |
4977 | ||
194141a9 ILT |
4978 | Fri Jul 19 18:15:51 1996 Ian Lance Taylor <ian@cygnus.com> |
4979 | ||
4980 | * configure.in: Fix test for whether a compiler has a 64 bit | |
4981 | type. From Jim Wilson <wilson@cygnus.com>. | |
4982 | ||
a8a3d83a ILT |
4983 | Thu Jul 18 15:39:10 1996 Ian Lance Taylor <ian@cygnus.com> |
4984 | ||
f4e14cb9 ILT |
4985 | * configure.host (mips-sgi-irix6*): New host. |
4986 | ||
4987 | * configure.in: Set and substitute VERSION, BFD_HOST_64BIT_LONG | |
4988 | (replacing HOST_64BITLONG), BFD_HOST_64_BIT_DEFINED, | |
4989 | BFD_HOST_64_BIT, and BFD_HOST_U_64_BIT. Add bfd-in2.h:bfd-in2.h | |
4990 | to AC_OUTPUT call. | |
4991 | * configure: Rebuild. | |
4992 | * bfd-in.h (BFD_ARCH_SIZE): Define as @wordsize@, not @WORDSIZE@. | |
4993 | (BFD_HOST_64_BIT): Define conditionally. | |
4994 | (BFD_HOST_U_64_BIT): Define when BFD_HOST_64_BIT is defined. | |
4995 | (bfd_vma): Typedef as BFD_HOST_U_64_BIT. | |
4996 | (symvalue, bfd_size_type): Likewise. | |
4997 | * bfd-in2.h: Rebuild. | |
4998 | * Makefile.in (do_clean): Remove bfd-tmp.h. | |
4999 | (do_distclean): Remove bfd-in3.h. | |
5000 | (stmp-bfd.h): Just do copy-if-change bfd-in3.h bfd.h. | |
5001 | (bfd-in3.h): New target. | |
5002 | ||
74556b94 ILT |
5003 | * config.bfd (sparc-*-sysv4*): Don't build sunos_big_vec. From |
5004 | Andrew Gierth <ANDREWG@microlise.co.uk>. | |
5005 | ||
ab659fd6 ILT |
5006 | * configure.host: Set INSTALL_SHLIB. |
5007 | * configure.in: Call AC_SUBST (INSTALL_SHLIB). | |
5008 | * configure: Rebuild. | |
5009 | * Makefile.in (install): Use @INSTALL_SHLIB@. | |
5010 | ||
e8c249cb ILT |
5011 | * config.bfd (mips*-*-irix6*): New target. |
5012 | * configure.host: Handle Irix 6 shared library like Irix 5. | |
5013 | ||
a8a3d83a ILT |
5014 | * xcofflink.c (xcoff_link_add_symbols): Don't check an XMC_TD |
5015 | symbol for a magic name. | |
5016 | (xcoff_link_input_bfd): Don't change the reloc symbol for an | |
5017 | XMC_TD symbol. | |
5018 | (_bfd_ppc_xcoff_relocate_section): Don't get the TOC offset for an | |
5019 | XMC_TD symbol. | |
5020 | ||
b576c7b3 SS |
5021 | Thu Jul 18 11:36:31 1996 Stan Shebs <shebs@andros.cygnus.com> |
5022 | ||
5023 | * mpw-config.in: Add ELF support to mips config, create the | |
5024 | elf32-target.h file in the object dir. | |
5025 | * mpw-make.sed: Edit elfXX-target.h refs at beginnings of lines. | |
5026 | ||
2ba0d82d KK |
5027 | Wed Jul 17 18:02:32 1996 Kim Knuttila <krk@cygnus.com> |
5028 | ||
5029 | * coff-ppc.c: Redid debug scheme - numerous fprintf's gone. | |
5030 | Also removed most abort calls, in favor of using bfd reporting. | |
5031 | ||
b576c7b3 | 5032 | Wed Jul 17 14:51:52 1996 Martin M. Hunt <hunt@pizza.cygnus.com> |
50bd50d4 | 5033 | |
b576c7b3 SS |
5034 | * Makefile.in (ALL_MACHINES): Add cpu-d10v.o. |
5035 | (BFD32_BACKENDS) Add elf32-d10v.o. | |
50bd50d4 MH |
5036 | * archures.c: Add bfd_d10v_arch. |
5037 | * bfd-in2.h: Add bfd_d10v_arch. | |
5038 | * config.bfd (d10v-*-*): New target. | |
5039 | * configure: (bfd_elf32_d10v_vec) New vector. | |
5040 | * configure.in: (bfd_elf32_d10v_vec) New vector. | |
5041 | * cpu-d10v.c: New file. | |
5042 | * elf.c (prep_headers): Added case bfd_arch_d10v. | |
5043 | * elf32-d10v.c: New file. | |
5044 | * libbfd.h: Rebuild. | |
b576c7b3 SS |
5045 | * reloc.c (BFD_RELOC_D10V_10_PCREL_R, BFD_RELOC_D10V_10_PCREL_L, |
5046 | BFD_RELOC_D10V_18, BFD_RELOC_D10V_18_PCREL): Define. | |
50bd50d4 | 5047 | * targets.c (bfd_elf32_d10v_vec): New vector. |
cf2cd4cf | 5048 | |
2ce9802e KK |
5049 | Wed Jul 17 10:58:55 1996 Kim Knuttila <krk@cygnus.com> |
5050 | ||
5051 | * coff-ppc.c (coff_ppc_relocate_section): Removed bogus fprintf | |
5052 | ||
9676e446 | 5053 | Tue Jul 16 23:49:02 1996 Stu Grossman (grossman@critters.cygnus.com) |
3cc21bf6 | 5054 | |
9676e446 SG |
5055 | * archures.c bfd-in2.h: Add bfd_mach_i386_i386 and |
5056 | bfd_mach_i386_i8086 machine types. | |
3cc21bf6 | 5057 | |
f7171978 ILT |
5058 | Wed Jul 10 12:42:56 1996 Ian Lance Taylor <ian@cygnus.com> |
5059 | ||
5060 | * ecoff.c (_bfd_ecoff_new_section_hook): Set SEC_CODE for _INIT | |
5061 | and _FINI sections. | |
5062 | ||
74e2ab38 ILT |
5063 | Wed Jul 10 11:18:21 1996 Richard Henderson <rth@tamu.edu> |
5064 | ||
5065 | * coffcode.h (coff_set_section_contents): A/UX does not require | |
5066 | special handling of the _LIB section. | |
5067 | ||
01cfaa6b JL |
5068 | Tue Jul 9 15:52:20 1996 Jeffrey A Law (law@cygnus.com) |
5069 | ||
5070 | * coff-h8300.c (h8300_reloc16_extra_cases): Use the correct | |
5071 | value for R_RELBYTE. | |
5072 | ||
5073 | * reloc16.c (bfd_coff_reloc16_relax_section): Only "shrinks" | |
5074 | array if one was allocated. | |
5075 | ||
eb52b9dc ILT |
5076 | Tue Jul 9 12:21:54 1996 Ian Lance Taylor <ian@cygnus.com> |
5077 | ||
5078 | From Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>: | |
5079 | * elf32-mips.c (struct mips_elf_link_hash_table): Add new fields | |
5080 | use_rld_obj_head and rld_value. | |
5081 | (mips_elf_link_hash_table_create): Initialize new fields. | |
5082 | (mips_elf_add_symbol_hook): Mark __rld_obj_head symbol as | |
5083 | dynamic. | |
5084 | (mips_elf_create_dynamic_sections): Create .rld_map section. If | |
5085 | __rld_obj_head symbol not seen, create an __rld_map symbol. | |
5086 | (mips_elf_size_dynamic_sections): Make space in .rld_map section. | |
5087 | Create a DT_MIPS_RLD_MAP entry rather than a DT_DEBUG entry. | |
5088 | (mips_elf_finish_dynamic_symbol): Save value of __rld_map or | |
5089 | __rld_obj_head symbol. | |
5090 | (mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP. | |
5091 | ||
56b4cbaa ILT |
5092 | Mon Jul 8 16:18:03 1996 Ian Lance Taylor <ian@cygnus.com> |
5093 | ||
9b292d4c ILT |
5094 | * elf32-mips.c (mips_reloc_map): Remove BFD_RELOC_32_PCREL entry. |
5095 | ||
dab45734 ILT |
5096 | * elf32-ppc.c (ppc_elf_howto_raw): For R_PPC_ADDR16_HA, use |
5097 | ppc_elf_addr16_ha_reloc. | |
5098 | (ppc_elf_addr16_ha_reloc): New static function. | |
5099 | ||
56b4cbaa ILT |
5100 | * coff-mips.c (struct mips_hi): Define. |
5101 | (mips_refhi_list): New static variable. | |
5102 | (mips_refhi_addr, mips_refhi_addend): Remove. | |
5103 | (mips_refhi_reloc): Maintain a list of unmatched REFHI relocs. | |
5104 | (mips_reflo_reloc): Process mips_refhi_list. | |
5105 | (mips_relhi_list): New static variable. | |
5106 | (mips_relhi_addr, mips_relhi_addend): Remove. | |
5107 | (mips_relhi_reloc): Maintain a list of unmatched RELHI relocs. | |
5108 | (mips_rello_reloc): Process mips_relhi_list. | |
5109 | (mips_relocate_section): Permit an arbitrary number of REFHI or | |
5110 | RELHI relocs before the associated REFLO or RELLO reloc. | |
5111 | ||
b777c6a7 ILT |
5112 | Fri Jul 5 19:27:49 1996 Ian Lance Taylor <ian@cygnus.com> |
5113 | ||
5114 | * aout-target.h (MY(callback)): Set reloc_count fields. | |
5115 | ||
100b65dd ILT |
5116 | Thu Jul 4 12:00:37 1996 Ian Lance Taylor <ian@cygnus.com> |
5117 | ||
48f3aaf3 ILT |
5118 | * sunos.c (sunos_add_dynamic_symbols): Don't create dynamic |
5119 | sections unless this is a SunOS link. | |
5120 | ||
100b65dd ILT |
5121 | * VERSION: Set to 2.7.1. |
5122 | ||
5123 | * Released binutils 2.7. | |
5124 | ||
a31e14f4 ILT |
5125 | Wed Jul 3 14:59:47 1996 Ian Lance Taylor <ian@cygnus.com> |
5126 | ||
4d3daf4f ILT |
5127 | * i386aout.c: Include "aout/aout64.h". |
5128 | (i386aout_write_object_contents): New static function. | |
5129 | (MY_write_object_contents): Define. | |
5130 | ||
a31e14f4 ILT |
5131 | * netbsd.h (MY(write_object_contents)): Make sure that |
5132 | adjust_sizes_and_vmas is called before fiddling with the magic | |
5133 | number. | |
5134 | ||
d2d04f7a ILT |
5135 | Tue Jul 2 23:30:39 1996 Ian Lance Taylor <ian@cygnus.com> |
5136 | ||
5137 | * stabs.c (_bfd_link_section_stabs): Fix casts of psinfo. | |
5138 | ||
4f6ee760 ILT |
5139 | Sun Jun 30 13:34:33 1996 Ian Lance Taylor <ian@cygnus.com> |
5140 | ||
5141 | * libbfd-in.h (itos, stoi): Don't define. | |
5142 | * libbfd.h: Rebuild. | |
5143 | * i386lynx.c (KEEPIT): Define as udata.i. | |
5144 | (NAME(lynx,swap_std_reloc_out)): Don't use stoi. | |
5145 | (NAME(lynx,swap_ext_reloc_out)): Likewise. | |
5146 | * riscix.c (riscix_swap_std_reloc_out): Use udata.i rather than | |
5147 | flags. Don't use stoi. | |
5148 | ||
5149 | * elf32-mips.c (ELF_MAGPAGESIZE): Change definition to 0x1000. | |
5150 | ||
5151 | * elf.c (map_sections_to_segments): Don't start a new segment for | |
5152 | a writable section if it's on the same page as the previous | |
5153 | segment. Reset the writable variable for a readonly section. | |
5154 | ||
dfb89b82 KK |
5155 | Sat Jun 29 16:18:51 1996 Kim Knuttila <krk@cygnus.com> |
5156 | ||
5157 | * peicode.h (coff_swap_aouthdr_in): Missing initializations of | |
5158 | first_thunk_address, thunk_size, and import_table_size. | |
5159 | * peicode.h: Improved some diagnostics regarding edata sections. | |
5160 | ||
5161 | * coff-ppc.c (coff_ppc_relocate_section): Earlier error check | |
5162 | on IMGLUE relocs. | |
5163 | (coff_ppc_relocate_section): Improved diagnostic for large TOCDEFN's. | |
5164 | (TARGET_LITTLE_SYM): Added missing D_PAGED. | |
5165 | ||
8e80606f ILT |
5166 | Fri Jun 28 13:48:45 1996 Ian Lance Taylor <ian@cygnus.com> |
5167 | ||
f93fb275 ILT |
5168 | * xcofflink.c (xcoff_link_check_ar_symbols): An undefined symbol |
5169 | with XCOFF_DEF_DYNAMIC set is really defined. | |
5170 | (xcoff_link_check_dynamic_ar_symbols): Likewise. | |
5171 | (xcoff_link_add_symbols): Only create special sections if using an | |
5172 | XCOFF hash table. | |
5173 | ||
8e80606f ILT |
5174 | * reloc.c (bfd_perform_relocation): Handle xcoff-powermac like |
5175 | aixcoff-rs6000. | |
5176 | (bfd_install_relocation): Likewise. | |
5177 | ||
eec2f824 ILT |
5178 | Fri Jun 28 11:17:00 1996 Richard Henderson <rth@tamu.edu> |
5179 | ||
5180 | * elf64-alpha.c (struct alpha_elf_link_hash_entry): Add flags | |
5181 | field. | |
5182 | (ALPHA_ELF_LINK_HASH_LU_ADDR): Define. | |
5183 | (ALPHA_ELF_LINK_HASH_LU_MEM): Define. | |
5184 | (ALPHA_ELF_LINK_HASH_LU_FUNC): Define. | |
5185 | (elf64_alpha_link_hash_newfunc): Initialize flags field. | |
5186 | (elf64_alpha_check_relocs): Record types of LITUSE entries that | |
5187 | are found for LITERAL relocs. | |
5188 | (elf64_alpha_adjust_dynamic_symbol): If a symbol has its address | |
5189 | taken, we cannot generate a .plt entry for the symbol. | |
5190 | ||
5304aea9 ILT |
5191 | Thu Jun 27 11:24:29 1996 Ian Lance Taylor <ian@cygnus.com> |
5192 | ||
5193 | * configure.in: Add AC_ISC_POSIX, and check for setitimer and | |
5194 | sysconf functions (for gprof). | |
5195 | * configure, config.in: Rebuild. | |
5196 | ||
017047d4 ILT |
5197 | Wed Jun 26 16:29:02 1996 Ian Lance Taylor <ian@cygnus.com> |
5198 | ||
f292bbe9 ILT |
5199 | * ecoff.c (_bfd_ecoff_archive_p): Check the first object file in |
5200 | an archive if it has a map. If the object file has the wrong | |
5201 | xvec, reject it. | |
5202 | ||
566e2325 ILT |
5203 | * coff-alpha.c (alpha_adjust_reloc_in): Set the addend for a |
5204 | BRADDR, SREL16, SREL32, or SREL64 reloc against an external | |
5205 | symbol. | |
5206 | (alpha_relocate_section): Likewise. | |
5207 | ||
017047d4 ILT |
5208 | * coffswap.h (coff_swap_reloc_out): Use RELSZ, not sizeof. |
5209 | (coff_swap_filehdr_out): Use FILHSZ, not sizeof. | |
5210 | (coff_swap_sym_out): Use SYMESZ, not sizeof. | |
5211 | (coff_swap_aux_out): Use AUXESZ, not sizeof. | |
5212 | (coff_swap_lineno_out): Use LINESZ, not sizeof. | |
5213 | (coff_swap_aouthdr_out): Use AOUTSZ, not sizeof. | |
5214 | (coff_swap_scnhdr_out): Use SCNHSZ, not sizeof. | |
5215 | * peicode.h: Corresponding changes. | |
5216 | ||
cb73f5d7 MM |
5217 | Tue Jun 25 15:28:34 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
5218 | ||
5219 | * elflink.h (elf_create_pointer_linker_section): Comment out code | |
5220 | dealing with making GOT pointers negative of the GOT symbol for | |
5221 | now. | |
5222 | ||
297a4f1a ILT |
5223 | Tue Jun 25 11:41:24 1996 Richard Henderson <rth@tamu.edu> |
5224 | ||
5225 | * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't | |
5226 | increment the .rela.plt size until after we're done creating the | |
5227 | .plt entry. | |
5228 | (elf64_alpha_finish_dynamic_symbol): Change .plt entry to load the | |
5229 | .rela.plt offset directly rather than calculating it. | |
5230 | ||
dbbfec07 | 5231 | Mon Jun 24 17:15:10 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) |
cf2cd4cf UD |
5232 | |
5233 | * Makefile.in, (bindir, libdir, datadir, mandir, infodir, includedir): | |
01e58ff6 | 5234 | Use autoconf-set values. |
cf2cd4cf UD |
5235 | * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir, |
5236 | includedir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set | |
01e58ff6 | 5237 | values. |
dbbfec07 JM |
5238 | (docdir): Deleted. |
5239 | * configure.in (AC_PREREQ): autoconf v2.5 or higher. | |
5240 | * configure: Rebuilt. | |
cf2cd4cf | 5241 | |
50004d8d JL |
5242 | Mon Jun 24 22:50:35 1996 Jeffrey A Law (law@cygnus.com) |
5243 | ||
5244 | * som.c (som_write_fixups): Fix typo in R_END_TRY for exception | |
5245 | handling code > 1k away. | |
5246 | ||
5247 | Mon Jun 24 18:41:06 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
5248 | ||
5249 | * elflink.h (elf_create_pointer_linker_section): If DEBUG is | |
5250 | defined, output whenever the symbol is updated. | |
5251 | ||
2e0567eb ILT |
5252 | Mon Jun 24 17:58:12 1996 Jouke Numan <jnuman@bazis.nl> |
5253 | ||
5254 | * elf.c (elf_fake_sections): Don't set sh_addr of a non SEC_ALLOC | |
5255 | section to 0 if user_set_vma is set. | |
5256 | * elflink.h (elf_bfd_final_link): Likewise. | |
5257 | ||
5258 | Sun Jun 23 20:42:51 1996 Doug Evans <dje@canuck.cygnus.com> | |
5259 | ||
5260 | Partially undo patch of Jun 20. | |
5261 | * coffcode.h (coff_set_alignment_hook): Use COFF_IMAGE_WITH_PE. | |
5262 | (coff_compute_section_file_positions): Likewise. | |
5263 | (coff_write_object_contents): Likewise. Re-add deleted code, but | |
5264 | use #ifdef COFF_WITH_PE, not COFF_OBJ_WITH_PE. | |
5265 | * peicode.h (pe_bfd_copy_private_bfd_data): Re-add #ifdef. | |
5266 | ||
bff4a496 ILT |
5267 | Fri Jun 21 17:38:15 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil> |
5268 | ||
5269 | * config.bfd: Add support for *-*-rtems* configurations. | |
cf2cd4cf | 5270 | |
7ae6550f ILT |
5271 | Fri Jun 21 15:19:59 1996 Ian Lance Taylor <ian@cygnus.com> |
5272 | ||
5273 | * elf.c (prep_headers): Add bfd_arch_alpha case. | |
5274 | ||
e8f46717 ILT |
5275 | Fri Jun 21 12:35:27 1996 Richard Henderson <rth@tamu.edu> |
5276 | ||
5277 | * elf64-alpha.c: New file. | |
5278 | * config.bfd (alpha-*-linuxecoff*): New target. | |
5279 | (alpha-*-linux*, alpha-*-elf*): New targets. | |
5280 | * configure.in (bfd_elf64_alpha_vec): New vector. | |
5281 | * configure: Rebuild. | |
5282 | * targets.c (bfd_elf64_alpha_vec): Declare. | |
5283 | (bfd_target_vector): Add bfd_elf64_alpha_vec if BFD64. | |
5284 | * reloc.c (BFD_RELOC_ALPHA_GPDISP): Define. | |
5285 | * bfd-in2.h, libbfd.h: Rebuild. | |
5286 | * Makefile.in: Rebuild dependencies. | |
5287 | (BFD64_BACKENDS): Add elf64-alpha.o. | |
5288 | (BFD64_BACKENDS_CFILES): Add elf64-alpha.c. | |
5289 | ||
bacecac8 ILT |
5290 | Thu Jun 20 18:14:25 1996 Ian Lance Taylor <ian@cygnus.com> |
5291 | ||
5292 | * ecoff.c (ecoff_armap_hash): If hlog is 0, just return 0, rather | |
5293 | than relying on a right shift of 32. | |
5294 | ||
9ca108cd DE |
5295 | Thu Jun 20 11:00:57 1996 Doug Evans <dje@canuck.cygnus.com> |
5296 | ||
b9110a3c DE |
5297 | * coffcode.h (coff_set_alignment_hook): Change COFF_IMAGE_WITH_PE |
5298 | ifdef to COFF_WITH_PE. | |
5299 | (coff_compute_section_file_positions): Likewise. | |
5300 | (coff_write_object_contents): Likewise. Delete COFF_OBJ_WITH_PE. | |
5301 | * pe-{arm,i386,ppc}.c (COFF_OBJ_WITH_PE): Delete. | |
5302 | * peicode.h (pe_bfd_copy_private_bfd_data): Delete ifdef | |
5303 | COFF_IMAGE_WITH_PE, always include. | |
5304 | ||
9ca108cd DE |
5305 | * peicode.h (coff_swap_scnhdr_out): ".drectve" doesn't have trailing 0. |
5306 | ||
c2073f05 ILT |
5307 | Wed Jun 19 11:37:52 1996 Ian Lance Taylor <ian@cygnus.com> |
5308 | ||
7fc6a16a ILT |
5309 | * elf.c (map_sections_to_segments): Fix up the test for -Ttext to |
5310 | approximate the correct answer if SIZEOF_HEADERS was not used. | |
5311 | ||
c2073f05 ILT |
5312 | * binary.c (binary_set_section_contents): Set section file |
5313 | position based on LMA rather than VMA. | |
5314 | ||
4838929e ILT |
5315 | Wed Jun 19 11:19:25 1996 Manfred Hollstein KS/EIC5 60/3/142 #40283 <manfred@lts.sel.alcatel.de> |
5316 | ||
5317 | * linker.c (_bfd_generic_link_output_symbols): Don't output any | |
5318 | symbols if info->strip == strip_all. | |
5319 | ||
5320 | Tue Jun 18 15:17:36 1996 Jeffrey A. Law <law@rtl.cygnus.com> | |
5321 | ||
5322 | * coff-h8300.c: Remove #if 0 code. | |
5323 | (compatable): Don't allow mixing/matching of different architectures. | |
cf2cd4cf | 5324 | |
4838929e ILT |
5325 | * archures.c (bfd_mach_h8300s): Add. |
5326 | * bfd-in2.h: Rebuilt. | |
5327 | * coff-h8300.c (funcvec_hash_newfunc): Handle H8/S too. | |
5328 | (BADMAG): Likewise. | |
5329 | (h8300_reloc16_estimate): Likewise. | |
5330 | (h8300_reloc16_extra_cases): Likewise. | |
5331 | (h8300_bfd_link_add_symbols): Likewise. | |
5332 | * coffcode.h (coff_set_arch_mach_hook): Likewise. | |
5333 | (coff_set_flags): Likewise. | |
5334 | * cpu-h8300.c (h8300_scan): Likewise. | |
5335 | Add H8/S to bfd_h8300_arch list. | |
5336 | ||
c3d8e071 ILT |
5337 | Tue Jun 18 14:42:58 1996 Klaus Kaempf <kkaempf@progis.de> |
5338 | ||
5339 | Added support for Alpha OpenVMS: | |
5340 | * evax.h, evax-alpha.c, evax-egsd.c, evax-emh.c: New files. | |
5341 | * evax-etir.c, evax-misc.c, hosts/alphavms.h: New files. | |
5342 | * config.h-vms, makefile.vms: New files. | |
5343 | * config.bfd (alpha-*-*vms*): New target. | |
5344 | * configure.in (evax_alpha_vec): New target vector. | |
5345 | * configure: Rebuild. | |
5346 | * reloc.c (BFD_RELOC_SWREL32, BFD_RELOC_SWREL64): Define. | |
5347 | (BFD_RELOC_ALPHA_LINKAGE, BFD_RELOC_ALPHA_BASEREG): Define. | |
5348 | * targets.c (bfd_target_evax_flavour): Define. | |
5349 | (evax_alpha_vec): Declare. | |
5350 | (bfd_target_vector): Add ecoffalpha_little_vec and evax_alpha_vec | |
5351 | if BFD64 is defined. | |
5352 | * bfd-in2.h, libbfd.h: Rebuild. | |
5353 | * Makefile.in: Rebuild dependencies. | |
5354 | (BFD64_BACKENDS): Add evax-alpha.o, evax-egsd.o, evax-etir.o, | |
5355 | evax-emh.o, and evax-misc.o. | |
5356 | (BFD64_BACKENDS_CFILES): Add evax-alpha.c, evax-egsd.c, | |
5357 | evax-etir.c, evax-emh.c, and evax-misc.c. | |
5358 | (HFILES): Add evax.h. | |
5359 | ||
142aa7d9 ILT |
5360 | Tue Jun 18 13:54:18 1996 Ian Lance Taylor <ian@cygnus.com> |
5361 | ||
5362 | * coff-h8300.c (h8300_reloc16_extra_cases): Make name a const | |
5363 | pointer. | |
5364 | (h8300_bfd_link_add_symbols): Likewise. | |
5365 | ||
b658d64d JL |
5366 | Mon Jun 17 10:06:50 1996 Jeffrey A. Law <law@rtl.cygnus.com> |
5367 | ||
5368 | * som.h (R_HPPA_BEGIN_TRY, R_HPPA_END_TRY): Define. | |
5369 | * som.c (som_write_fixups): Handle R_BEGIN_TRY and R_END_TRY. | |
5370 | ||
2df1e84b ILT |
5371 | Mon Jun 17 12:49:11 1996 Ian Lance Taylor <ian@cygnus.com> |
5372 | ||
5373 | * elf32-mips.c (mips_elf_relocate_section): Don't create a reloc | |
5374 | for R_MIPS_REL32 and R_MIPS_32 relocs if no dynamic sections were | |
5375 | created. | |
5376 | (mips_elf_check_relocs): Only create .rel.dyn for R_MIPS_REL32 and | |
5377 | R_MIPS_32 relocs if creating a shared library. | |
5378 | ||
5379 | Thu Jun 13 20:14:51 1996 Doug Evans <dje@canuck.cygnus.com> | |
5380 | ||
5381 | * peicode.h (add_data_entry): Use pei_section_data rather than | |
5382 | _cooked_size. Corresponds to May 13 change in coffcode.h. | |
5383 | ||
8100e72c ILT |
5384 | Thu Jun 13 10:23:40 1996 Ian Lance Taylor <ian@cygnus.com> |
5385 | ||
51bc9642 ILT |
5386 | * cofflink.c (_bfd_coff_final_link): Handle long section names. |
5387 | * coffcode.h (coff_write_object_contents): If there are long | |
5388 | section names, always set the f_symptr field, even if there are no | |
5389 | symbols. | |
5390 | * peicode.h (coff_swap_filehdr_in): Don't clear the f_symptr field | |
5391 | if there are no symbols. | |
5392 | ||
8100e72c ILT |
5393 | * coffgen.c (make_a_section_from_file): Check return value of |
5394 | _bfd_coff_read_string_table. | |
5395 | (coff_real_object_p): Check return value of | |
5396 | make_a_section_from_file. | |
5397 | (_bfd_coff_read_string_table): Check that there are some symbols | |
5398 | before trying to read the string table size. | |
5399 | ||
0e3bd85e ILT |
5400 | Wed Jun 12 11:16:37 1996 Ian Lance Taylor <ian@cygnus.com> |
5401 | ||
ed675a04 ILT |
5402 | * xcofflink.c (xcoff_link_add_symbols): When considering whether |
5403 | to replace a symbol in a dynamic object with a symbol from another | |
5404 | dynamic object, do the replacement if the existing symbol is | |
5405 | global linkage code. | |
5406 | ||
49144784 ILT |
5407 | * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Check explicitly |
5408 | for _ptrgl, and treat it as global linkage code. | |
5409 | ||
0e3bd85e ILT |
5410 | * aoutx.h (NAME(aout,find_nearest_line)): Notice if we find a |
5411 | filename or N_SO symbol past the offset, and use it to indicate | |
5412 | that there is no line number or function when appropriate. | |
5413 | ||
a5c7acea ILT |
5414 | Tue Jun 11 15:24:48 1996 Ian Lance Taylor <ian@cygnus.com> |
5415 | ||
5416 | * xcofflink.c (xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR for a | |
5417 | common symbol defined by the linker. Don't export function code | |
5418 | even if export_defineds is set. | |
5419 | ||
5420 | Mon Jun 10 11:57:27 1996 Jeffrey A Law (law@cygnus.com) | |
5421 | ||
5422 | * coff-h8300.c (howto_table): Add new entries for R_BCC_INV | |
5423 | and R_JMP_DEL. | |
5424 | (rtype2howto): Handle R_BCC_INV and R_JMP_DEL. | |
5425 | (h8300_symbol_address_p): New function. | |
5426 | (h8300_reloc16_estimate): Eliminate jumps made unnecessary by | |
5427 | relaxing. | |
5428 | ||
890f5b7f JL |
5429 | Sun Jun 9 16:30:20 1996 Jeffrey A Law (law@cygnus.com) |
5430 | ||
5431 | * coff-h8300.c (h8300_reloc16_estimate): Fix many minor spacing | |
5432 | problems. | |
5433 | (h8300_reloc16_estimate, cases R_JMP1, R_JMP2): Adjust "dot" | |
5434 | correctly for the two variants. Allow relaxing if the target | |
5435 | is 128 bytes away since after relaxation it'll be 126 bytes away. | |
5436 | (h8300_reloc16_estimate, case R_PCRWORD): Correctly adjust | |
5437 | "dot" and "value". Allow relaxing if the target is 128 bytes | |
5438 | away since after relaxation it'll be 126 bytes away. | |
5439 | * reloc16.c (bfd_coff_reloc16_relax_section): Keep relaxing | |
5440 | the given section until nothing changes. | |
5441 | ||
0593fc16 ILT |
5442 | Thu Jun 6 15:24:45 1996 Richard Henderson <rth@tamu.edu> |
5443 | ||
5444 | * ecoff.c (_bfd_ecoff_new_section_hook): Remove the _PDATA | |
5445 | alignment hack--we can get the lnnoptr info another way without | |
5446 | suddenly increasing the alignment requirements. Set the flags for | |
5447 | the _PDATA section. | |
5448 | (ecoff_compute_section_file_positions): Do so. | |
5449 | ||
9b263b79 ILT |
5450 | Thu Jun 6 11:24:37 1996 Ian Lance Taylor <ian@cygnus.com> |
5451 | ||
bbf7c335 ILT |
5452 | * ieee.c (ieee_write_object_contents): Put a timestamp in the file |
5453 | to keep the HP emulator database happy. | |
5454 | ||
9b263b79 ILT |
5455 | * config.bfd: Recognize powerpc-*-linux* and powerpcle-*-linux*. |
5456 | From Kevin Buettner <kev@primenet.com>. | |
5457 | ||
5458 | Wed Jun 5 15:16:04 1996 Ian Lance Taylor <ian@cygnus.com> | |
5459 | ||
5460 | * aoutx.h (translate_to_native_sym_flags): Don't try to print the | |
5461 | name of a NULL section. | |
5462 | ||
26145b15 ILT |
5463 | Tue Jun 4 18:53:58 1996 Ian Lance Taylor <ian@cygnus.com> |
5464 | ||
5465 | * linker.c (_bfd_generic_link_add_one_symbol): If notice_all is | |
5466 | set, always call the notice callback. | |
5467 | ||
5468 | * VERSION: Increment for bfdlink.h change. | |
5469 | ||
3a2080d8 ILT |
5470 | Mon Jun 3 11:01:53 1996 Ian Lance Taylor <ian@cygnus.com> |
5471 | ||
9d175198 ILT |
5472 | * coff-sh.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set to 4. |
5473 | (sh_relax_delete_bytes): Correct handling of differently sized | |
5474 | trailing alignment reloc. | |
5475 | ||
5a04f1bd ILT |
5476 | * bfd-in.h: Use #error if BFD_HOST_64_BIT can not be defined. |
5477 | * bfd-in2.h: Rebuild. | |
5478 | * configure.in: Warn if there is no known 64 bit type. | |
5479 | * configure: Rebuild. | |
5480 | ||
60c8b04f ILT |
5481 | * Makefile.in: Rebuild dependencies. |
5482 | (BFD32_BACKENDS): Add ppcboot.o. | |
5483 | (BFD32_BACKENDS_CFILES): Add ppcboot.c. | |
5484 | ||
3a2080d8 ILT |
5485 | * elf32-mips.c (mips_elf_size_dynamic_sections): Initialize c. |
5486 | From Per Fogelstrom <per.fogelstrom@mailbox200.swipnet.se>. | |
5487 | ||
903612a2 ILT |
5488 | Sat Jun 1 21:49:58 1996 Ian Lance Taylor <ian@cygnus.com> |
5489 | ||
5490 | * elf64-mips.c (bfd_mips_elf64_swap_reginfo_in) | |
5491 | (bfd_mips_elf64_swap_reginfo_out): Move from here... | |
5492 | * elf32-mips.c (bfd_mips_elf64_swap_reginfo_in) | |
5493 | (bfd_mips_elf64_swap_reginfo_out): ...to here. | |
5494 | ||
38893c8c ILT |
5495 | Fri May 31 13:51:28 1996 Ian Lance Taylor <ian@cygnus.com> |
5496 | ||
bc05732b ILT |
5497 | * elf64-mips.c: Improve reloc special_functions and handling of |
5498 | SHT_MIPS_OPTIONS section. | |
5499 | * elf32-mips.c (_bfd_mips_elf_hi16_reloc): Rename from | |
5500 | mips_elf_hi16_reloc and make globally visible. | |
5501 | (_bfd_mips_elf_lo16_reloc): Rename from mips_elf_lo16_reloc and | |
5502 | make globally visible. | |
5503 | (_bfd_mips_elf_got16_reloc): Rename from mips_elf_got16_reloc and | |
5504 | make globally visible. | |
5505 | (_bfd_mips_elf_gprel16_reloc): Rename from mips_elf_gprel16_reloc | |
5506 | and make globally visible. | |
5507 | (gprel16_with_gp): Check howto->src_mask before using value in | |
5508 | insn. | |
5509 | (_bfd_mips_elf_gprel32_reloc): Rename from mips_elf_gprel32_reloc | |
5510 | and make globally visible. | |
5511 | (gprel32_with_gp): Check howto->src_mask before fetching value. | |
5512 | (bfd_mips_elf_swap_options_in): New function. | |
5513 | (bfd_mips_elf_swap_options_out): New function. | |
5514 | (_bfd_mips_elf_set_private_flags): Rename from | |
5515 | mips_elf_set_private_flags and make globally visible. | |
5516 | (_bfd_mips_elf_copy_private_bfd_data): Rename from | |
5517 | mips_elf_copy_private_bfd_data and make globally visible. | |
5518 | (_bfd_mips_elf_merge_private_bfd_data): Rename from | |
5519 | mips_elf_merge_private_bfd_data and make globally visible. | |
5520 | (_bfd_mips_elf_section_from_shdr): Accept .MIPS.options as a name | |
5521 | for a SHT_MIPS_OPTIONS section. | |
5522 | (mips_elf32_section_from_shdr): Handle SHT_MIPS_OPTIONS section. | |
5523 | (_bfd_mips_elf_fake_sections): Consider .MIPS.options to be the | |
5524 | name of a SHT_MIPS_OPTIONS section. | |
5525 | (_bfd_mips_elf_set_section_contents): New function. | |
5526 | (mips_elf32_section_processing): Set the GP value in a | |
5527 | SHT_MIPS_OPTIONS section. | |
5528 | (_bfd_mips_elf_find_nearest_line): Rename from | |
5529 | mips_elf_find_nearest_line and make globally visible. | |
5530 | (bfd_elf32_set_section_contents): Define. | |
5531 | * elf-bfd.h (_bfd_mips_elf_hi16_reloc): Declare. | |
5532 | (_bfd_mips_elf_lo16_reloc): Declare. | |
5533 | (_bfd_mips_elf_gprel16_reloc): Declare. | |
5534 | (_bfd_mips_elf_got16_reloc): Declare. | |
5535 | (_bfd_mips_elf_gprel32_reloc): Declare. | |
5536 | (_bfd_mips_elf_set_private_flags): Declare. | |
5537 | (_bfd_mips_elf_copy_private_bfd_data): Declare. | |
5538 | (_bfd_mips_elf_merge_private_bfd_data): Declare. | |
5539 | (_bfd_mips_elf_find_nearest_line): Declare. | |
5540 | (_bfd_mips_elf_set_section_contents): Declare. | |
5541 | ||
38893c8c ILT |
5542 | * elf32-hppa.c (elf32_hppa_info_to_howto): Rename from |
5543 | elf_info_to_howto. | |
5544 | (elf_info_to_howto): Define. | |
5545 | * elf32-sparc.c (elf32_sparc_info_to_howto): Rename from | |
5546 | elf_info_to_howto. | |
5547 | (elf_info_to_howto): Define. | |
5548 | * elf64-sparc.c (sparc64_elf_info_to_howto): Rename from | |
5549 | elf_info_to_howto. | |
5550 | (elf_info_to_howto): Define. | |
5551 | ||
5552 | * coff-w65.c (h8300_reloc16_estimate): Rename R_MOVB[12] to | |
5553 | R_MOV16B[12], to match change in coff/internal.h. | |
5554 | ||
cabd8fa0 ILT |
5555 | Thu May 30 12:38:49 1996 Ian Lance Taylor <ian@cygnus.com> |
5556 | ||
00176555 ILT |
5557 | * elf64-mips.c: Extensive additions to provide better support for |
5558 | writing files and for gas. | |
5559 | * elf32-mips.c (_bfd_mips_elf_object_p): New function, broken out | |
5560 | of mips_elf_object_p. | |
5561 | (mips_elf32_object_p): Rename from mips_elf_object_p; call | |
5562 | _bfd_mips_elf_object_p. | |
5563 | (_bfd_mips_elf_final_write_processing): Rename from | |
5564 | mips_elf_final_write_processing and make globally visible. | |
5565 | (_bfd_mips_elf_fake_sections): Rename from | |
5566 | mips_elf_fake_sections and make globally visible. | |
5567 | (_bfd_mips_elf_section_from_bfd_section): Rename from | |
5568 | mips_elf_section_from_bfd_section and make globally visible. | |
5569 | (_bfd_mips_elf_section_processing): New function, broken out of | |
5570 | mips_elf_section_processing. | |
5571 | (mips_elf32_section_processing): Rename from | |
5572 | mips_elf_section_processing; call | |
5573 | _bfd_mips_elf_section_processing. | |
5574 | (_bfd_mips_elf_symbol_processing): Rename from | |
5575 | mips_elf_symbol_processing and make globally visible. | |
5576 | (_bfd_mips_elf_read_ecoff_info): Rename from | |
5577 | mips_elf_read_ecoff_info and make globally visible. | |
5578 | (mips_elf32_ecoff_debug_swap): Rename from | |
5579 | mips_elf_ecoff_debug_swap. | |
5580 | * elf.c (_bfd_elf_symbol_from_bfd_symbol): Use asymbol rather than | |
5581 | struct symbol_cache_entry. | |
5582 | (_bfd_elf_validate_reloc): New function, moved in from | |
5583 | elfcode.h:validate_reloc. | |
5584 | * elfcode.h (validate_reloc): Remove; moved into elf.c and renamed | |
5585 | to _bfd_elf_validate_reloc. Change all callers. | |
5586 | * elf-bfd.h (bfd_section_from_shdr): Declare. | |
5587 | (_bfd_elf_symbol_from_bfd_symbol): Declare. | |
5588 | (_bfd_elf_validate_reloc): Declare. | |
5589 | (_bfd_mips_elf_object_p): Declare. | |
5590 | (_bfd_mips_elf_fake_sections): Declare. | |
5591 | (_bfd_mips_elf_section_from_bfd_section): Declare. | |
5592 | (_bfd_mips_elf_section_processing): Declare. | |
5593 | (_bfd_mips_elf_symbol_processing): Declare. | |
5594 | (_bfd_mips_elf_read_ecoff_info): Declare. | |
5595 | (_bfd_mips_elf_final_write_processing): Declare. | |
5596 | * elfxx-target.h (bfd_elfNN_get_reloc_upper_bound): Don't define | |
5597 | if already defined. | |
5598 | ||
cabd8fa0 ILT |
5599 | * elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4. |
5600 | (mips_elf_final_write_processing): Likewise. | |
5601 | ||
d1bf45aa ILT |
5602 | Wed May 29 16:15:29 1996 Ian Lance Taylor <ian@cygnus.com> |
5603 | ||
5604 | 64-bit MIPS ELF ABI objdump support: | |
5605 | * elf64-mips.c: New file. | |
5606 | * Makefile.in: Rebuild dependencies. | |
5607 | (BFD64_BACKENDS): Add elf64-mips.o. | |
5608 | (BFD64_BACKENDS_CFILES): Add elf64-mips.c. | |
5609 | * config.bfd (mips*el-*-elf*) Add bfd_elf64_bigmips_vec and | |
5610 | bfd_elf64_littlemips_vec to targ_selvecs. | |
5611 | (mips*-*-elf*): Likewise. | |
5612 | * confingure.in: Add bfd_elf64_bigmips_vec and | |
5613 | bfd_elf64_littlemips_vec to vector switch. | |
5614 | * configure: Rebuild. | |
5615 | * elf32-mips.c (_bfd_mips_elf_section_from_shdr): New function, | |
5616 | broken out of mips_elf_section_from_shdr. | |
5617 | (mips_elf32_section_from_shdr): Rename from | |
5618 | mips_elf_section_from_shdr. Call new function. | |
5619 | (elf_backend_section_from_shdr): Update name of renamed function. | |
5620 | * elf-bfd.h (struct elf_size_info): Change second parameter of | |
5621 | write_out_phdrs to be const. Likewise for second parameter of | |
5622 | swap_symbol_out. | |
5623 | (struct bfd_elf_section_data): Add rel_hdr2 field. | |
5624 | (bfd_elf32_swap_symbol_in): Change second parameter to be const. | |
5625 | (bfd_elf32_swap_symbol_out): Likewise. | |
5626 | (bfd_elf32_swap_reloc_in): Likewise. | |
5627 | (bfd_elf32_swap_reloc_out): Likewise. | |
5628 | (bfd_elf32_swap_reloca_in): Likewise. | |
5629 | (bfd_elf32_swap_reloca_out): Likewise. | |
5630 | (bfd_elf32_swap_phdr_in): Likewise. | |
5631 | (bfd_elf32_swap_phdr_out): Likewise. | |
5632 | (bfd_elf32_swap_dyn_in): Likewise. | |
5633 | (bfd_elf32_swap_dyn_out): Likewise. | |
5634 | (bfd_elf32_slurp_symbol_table): Declare. | |
5635 | (bfd_elf32_write_shdrs_and_ehdr): Declare. | |
5636 | (bfd_elf32_write_out_phdrs): Declare. | |
5637 | (bfd_elf64_swap_symbol_in): Change second parameter to be const. | |
5638 | (bfd_elf64_swap_symbol_out): Likewise. | |
5639 | (bfd_elf64_swap_reloc_in): Likewise. | |
5640 | (bfd_elf64_swap_reloc_out): Likewise. | |
5641 | (bfd_elf64_swap_reloca_in): Likewise. | |
5642 | (bfd_elf64_swap_reloca_out): Likewise. | |
5643 | (bfd_elf64_swap_phdr_in): Likewise. | |
5644 | (bfd_elf64_swap_phdr_out): Likewise. | |
5645 | (bfd_elf64_swap_dyn_in): Likewise. | |
5646 | (bfd_elf64_swap_dyn_out): Likewise. | |
5647 | (bfd_elf64_slurp_symbol_table): Declare. | |
5648 | (bfd_elf64_write_shdrs_and_ehdr): Declare. | |
5649 | (bfd_elf64_write_out_phdrs): Declare. | |
5650 | (_bfd_mips_elf_section_from_shdr): Declare. | |
5651 | * elf.c (bfd_section_from_shdr): Remove assertion requiring | |
5652 | SHT_REL/SHT_RELA to match use_rela_p. If there is already a reloc | |
5653 | section for the section, add the new one to rel_hdr2. Increment | |
5654 | reloc_count rather than setting it. | |
5655 | * elfcode.h (elf_slurp_symbol_table): Define name as macro. | |
5656 | Remove static declaration. | |
5657 | (elf_write_shdrs_and_ehdr): Define name as macro. | |
5658 | (elf_write_out_phdrs): Likewise. | |
5659 | (elf_swap_ehdr_in, elf_swap_ehdr_out): Declare. | |
5660 | (elf_swap_shdr_in, elf_swap_shdr_out): Declare. | |
5661 | (elf_swap_symbol_in): Change second parameter to be const. | |
5662 | (elf_swap_symbol_out): Likewise. | |
5663 | (elf_swap_ehdr_in, elf_swap_ehdr_out): Likewise. | |
5664 | (elf_swap_shdr_in, elf_swap_shdr_out): Likewise. | |
5665 | (elf_swap_phdr_in, elf_swap_phdr_out): Likewise. | |
5666 | (elf_swap_reloc_in, elf_swap_reloc_out): Likewise. | |
5667 | (elf_swap_reloca_in, elf_swap_reloca_out): Likewise. | |
5668 | (elf_write_out_phdrs): Rename from write_out_phdrs. Change second | |
5669 | parameter to be const. Make non-static. | |
5670 | (elf_write_shdrs_and_ehdr): Rename from write_shdrs_and_ehdr. | |
5671 | Make non-static. | |
5672 | (elf_slurp_symbol_table): Make non-static. | |
5673 | (NAME(_bfd_elf,size_info)): Update names of renamed functions. | |
5674 | * elfxx-target.h (elf_info_to_howto): Define if not defined. | |
5675 | (elf_backend_size_info): Likewise. | |
5676 | (elfNN_bed): Use elf_backend_size_info. | |
5677 | * targets.c (bfd_elf64_bigmips_vec): Declare. | |
5678 | (bfd_elf64_littlemips_vec): Declare. | |
5679 | (bfd_target_vector): Add bfd_elf64_bigmips_vec and | |
5680 | bfd_elf64_littlemips_vec if BFD64 is defined. | |
cf2cd4cf | 5681 | |
d1bf45aa ILT |
5682 | * libbfd.c (bfd_get_file_window): Add cast to fprintf argument. |
5683 | ||
7dd3d45a ILT |
5684 | Tue May 28 11:42:08 1996 Ian Lance Taylor <ian@cygnus.com> |
5685 | ||
07692951 ILT |
5686 | * coff-sh.c (sh_relax_delete_bytes): Insert nop instructions, not |
5687 | zeroes, in alignment holes. | |
5688 | ||
a4322a77 ILT |
5689 | * configure: Rebuild with autoconf 2.10. |
5690 | ||
7dd3d45a ILT |
5691 | * aoutx.h (NAME(aout,find_nearest_line)): Make room for the |
5692 | potential leading underscore in the allocated buffer. | |
5693 | ||
0293d5b0 MM |
5694 | Fri May 24 14:28:38 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
5695 | ||
5696 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Do not put small common | |
5697 | symbols into .sbss if this is a relocatable link. | |
5698 | ||
a5d0cd50 ILT |
5699 | Thu May 23 12:26:24 1996 Ian Lance Taylor <ian@cygnus.com> |
5700 | ||
5701 | * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Warn about | |
5702 | undefined symbols when creating a shared library. | |
5703 | ||
5704 | Fri May 17 13:54:15 1996 Ian Lance Taylor <ian@cygnus.com> | |
5705 | ||
5706 | * coff-sh.c: Add a bunch of new code and static const arrays to | |
5707 | support aligning loads and stores on four byte memory boundaries. | |
5708 | Also: | |
5709 | (sh_coff_howtos): Add entries for R_SH_CODE, R_SH_DATA and | |
5710 | R_SH_LABEL. | |
5711 | (sh_relax_section): Look for R_SH_CODE relocs. If we find one, | |
5712 | call sh_align_loads. | |
5713 | (sh_relax_delete_bytes): Don't mark R_SH_CODE or R_SH_DATA relocs | |
5714 | as unused. | |
5715 | ||
c403d358 ILT |
5716 | Thu May 16 16:34:13 1996 Ian Lance Taylor <ian@cygnus.com> |
5717 | ||
5718 | * cache.c (bfd_open_file): Unlink the file before opening it for | |
5719 | write. From Marty Leisner <leisner@sdsp.mc.xerox.com>. | |
5720 | ||
5721 | * opncls.c (bfd_fdopenr): Set opened_once. | |
5722 | ||
2f710e17 ILT |
5723 | Tue May 14 12:35:32 1996 Ian Lance Taylor <ian@cygnus.com> |
5724 | ||
ff60fc3a ILT |
5725 | * som.c (som_slurp_reloc_table): Clear external_relocs cache after |
5726 | freeing it. | |
5727 | ||
2f710e17 ILT |
5728 | * libbfd.c: Remove #ifdef FILE_OFFSET_IS_CHAR_INDEX, and compile |
5729 | the code unconditionally. | |
5730 | ||
efb33f6b ILT |
5731 | Mon May 13 19:51:37 1996 Ian Lance Taylor <ian@cygnus.com> |
5732 | ||
5733 | * libcoff-in.h (struct pei_section_tdata): Define structure. | |
5734 | (pei_section_data): Define macro. | |
5735 | * libcoff.h: Rebuild. | |
5736 | * coffcode.h (coff_set_alignment_hook): If COFF_IMAGE_WITH_PE, | |
5737 | store s_paddr field in pei_section_data. | |
5738 | (coff_compute_section_file_positions): Use pei_section_data rather | |
5739 | than _cooked_size, and don't overwrite an existing value. | |
5740 | (coff_write_object_contents): If COFF_OBJ_WITH_PE, set s_paddr to | |
5741 | 0. If COFF_IMAGE_WITH_PE, set s_paddr to pei_section_data. | |
5742 | * peicode.h (coff_bfd_copy_private_section_data): Define if | |
5743 | COFF_IMAGE_WITH_PE. | |
5744 | (pe_bfd_copy_private_section_data): New static function if | |
5745 | COFF_IMAGE_WITH_PE. | |
5746 | ||
5ecd6d7f ILT |
5747 | Wed May 8 16:10:38 1996 Ian Lance Taylor <ian@cygnus.com> |
5748 | ||
db1e2aa7 ILT |
5749 | * srec.c (srec_set_arch_mach): Write as a function rather than a |
5750 | macro definition. | |
5751 | ||
5ecd6d7f ILT |
5752 | * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): If an archive has |
5753 | no map, just check each member in turn to see whether it is | |
5754 | required. | |
5755 | ||
aefee5c8 MM |
5756 | Wed May 8 09:17:34 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
5757 | ||
5758 | * ppcboot.c (ppcboot_object_p): Check for type 0x41 in partition | |
5759 | table. Call BFD_ASSERT to validate header size, instead of | |
5760 | calling fatal. | |
5761 | (ppcboot_bfd_print_private_bfd_data): Put quotes around partition | |
5762 | name. | |
5763 | ||
0d1fcbbb MM |
5764 | Tue May 7 16:10:19 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
5765 | ||
5766 | * ppcboot.c: New target for looking at PPCbug boot records. | |
5767 | ||
5768 | * config{ure.in,.bfd}: Add support for ppcboot target. | |
5769 | * targets.c: Ditto. | |
5770 | * configure: Regenerate. | |
cf2cd4cf | 5771 | |
f4597f8c JL |
5772 | Tue May 7 11:15:19 1996 Jeffrey A Law (law@cygnus.com) |
5773 | ||
5774 | * coff-h8300.c (howto_table): Update names to match recent | |
5775 | changes to include/coff/internal.h. Fix minor errors in the | |
5776 | existing relocs. Add R_MOVL1 and R_MOVL2. | |
5777 | (rtype2howto): Similarly. | |
5778 | (h8300_reloc16_estimate): Rewrite to simplify, fix bugs in the | |
5779 | existing relaxing code and peform more relaxing. | |
5780 | (h8300_reloc16_extra_cases): Likewise. | |
5781 | ||
0dc70e1a JL |
5782 | Mon May 6 18:24:09 1996 Jeffrey A Law (law@cygnus.com) |
5783 | ||
5784 | * reloc16.c (bfd_coff_reloc16_get_value): Handle common | |
5785 | symbols correctly. | |
5786 | ||
d1b8ccb0 PS |
5787 | Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
5788 | ||
5789 | * elfcode.h (elf_object_p): Reject generic ELF target if | |
5790 | e_machine matches an alternate machine code in a specific backend. | |
5791 | ||
5792 | * netbsd-core.c (netbsd_core_vec): Remove initializer for | |
5793 | obsolete align_power_min field. | |
5794 | ||
c9f5444e JL |
5795 | Fri May 3 13:07:35 1996 Jeffrey A Law (law@cygnus.com) |
5796 | ||
5797 | * coff-h8300.c (reloc_howto_type): Add howto entry for | |
5798 | R_PCRWORD_B. | |
5799 | (rtype2howto): Handle R_PCRWORD_B. | |
5800 | (h8300_reloc16_extra_cases): Handle R_PCRWORD_B. | |
5801 | (h8300_reloc_16_estimate): Likewise. Try to turn a 16bit | |
5802 | pc-relative branch (R_PCRWORD) into an 8bit pc-relative | |
5803 | branch (R_PCWORD_B). | |
5804 | ||
4ad842aa ILT |
5805 | Fri May 3 10:47:41 1996 Ian Lance Taylor <ian@cygnus.com> |
5806 | ||
340d654f ILT |
5807 | * aoutx.h (translate_from_native_sym_flags): Set the section for |
5808 | BSF_CONSTRUCTOR symbols. | |
5809 | ||
4ad842aa ILT |
5810 | * cofflink.c (_bfd_coff_link_input_bfd): Correct setting of |
5811 | last_bf_index. | |
5812 | ||
9c7a5748 DE |
5813 | Wed May 1 18:39:32 1996 Doug Evans <dje@canuck.cygnus.com> |
5814 | ||
5815 | * coffcode.h (coff_write_object_contents): In comdat section lookup, | |
5816 | stop looking when section is found. | |
5817 | ||
622c93a3 ILT |
5818 | Wed May 1 14:17:57 1996 Ian Lance Taylor <ian@cygnus.com> |
5819 | ||
e8f3bb64 | 5820 | * coffcode.h (STRING_SIZE_SIZE): Define. |
9aac8e83 ILT |
5821 | (styp_to_sec_flags): Handle long symbol names when looking for the |
5822 | section symbol. | |
e8f3bb64 ILT |
5823 | (bfd_coff_backend_data): Add _bfd_coff_long_section_names field. |
5824 | (bfd_coff_long_section_names): Define. | |
5825 | (coff_write_object_contents): Handle long section names. | |
5826 | (bfd_coff_std_swap_table): Initialize new field. | |
5827 | * libcoff.h: Rebuild. | |
5828 | * coffgen.c (make_a_section_from_file): Handle long section | |
5829 | names. | |
5830 | (coff_write_symbols): Handle long section names. | |
5831 | * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. | |
5832 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
5833 | * pe-arm.c (COFF_LONG_SECTION_NAMES): Define. | |
5834 | * pei-arm.c (COFF_LONG_SECTION_NAMES): Define. | |
5835 | * pe-i386.c (COFF_LONG_SECTION_NAMES): Define. | |
5836 | * pei-i386.c (COFF_LONG_SECTION_NAMES): Define. | |
5837 | * pe-ppc.c (COFF_LONG_SECTION_NAMES): Define. | |
5838 | * pei-ppc.c (COFF_LONG_SECTION_NAMES): Define. | |
5839 | ||
622c93a3 ILT |
5840 | * bout.c (b_out_callback): Set lma of sections. |
5841 | (b_out_bfd_get_relocated_section_contents): Rename in_abfd | |
5842 | parameter to output_bfd. Used input_bfd instead of output_bfd in | |
5843 | several places. | |
5844 | ||
6b725f83 ILT |
5845 | Tue Apr 30 17:56:39 1996 Ian Lance Taylor <ian@cygnus.com> |
5846 | ||
b7d1158a ILT |
5847 | * aoutx.h (translate_from_native_sym_flags): Don't create |
5848 | SEC_CONSTRUCTOR sections. | |
5849 | * ecoff.c (ecoff_set_symbol_info): Likewise. | |
5850 | ||
6b725f83 ILT |
5851 | * elf32-mips.c (mips_elf_copy_private_bfd_data): Copy elf_gp. |
5852 | From Don Bowman <bowman@waterloo.hp.com>. | |
5853 | ||
e28a1e77 DE |
5854 | Tue Apr 30 17:06:32 1996 Doug Evans <dje@canuck.cygnus.com> |
5855 | ||
5856 | * coff-arm.c (armcoff_little_vec): If COFF_WITH_PE is defined, add | |
5857 | SEC_LINK_ONCE and SEC_LINK_DUPLICATES to section_flags. | |
5858 | ||
abec70b9 ILT |
5859 | Mon Apr 29 13:15:17 1996 Ian Lance Taylor <ian@cygnus.com> |
5860 | ||
5861 | * elf32-mips.c (struct mips_elf_link_hash_entry): Add | |
5862 | mips_32_relocs field. | |
5863 | (mips_elf_link_hash_newfunc): Initialize mips_32_relocs field. | |
5864 | (mips_elf_relocate_section): Copy R_MIPS_REL32 and R_MIPS_32 | |
5865 | relocs against a global symbol which is not defined in a regular | |
5866 | file. | |
5867 | (mips_elf_check_relocs): For a R_MIPS_REL32 or R_MIPS_32 reloc | |
5868 | against a global symbol, increment mips_32_relocs. | |
5869 | (mips_elf_adjust_dynamic_symbol): If mips_32_relocs is set, and | |
5870 | the symbol is not defined in a regular file, make room in the | |
5871 | .rel.dyn section. | |
5872 | ||
ecba7a3a ILT |
5873 | Fri Apr 26 18:00:37 1996 Ian Lance Taylor <ian@cygnus.com> |
5874 | ||
656c5b6d ILT |
5875 | * ecoff.c (ecoff_compute_section_file_positions): Track the real |
5876 | file position and the virtual file position separately. Set | |
5877 | filepos information bsaed on the real file position. | |
5878 | (_bfd_ecoff_set_section_contents): Handle .lib sections like the | |
5879 | Jan 23 change to coffcode.h. | |
5880 | ||
ecba7a3a ILT |
5881 | * som.c (som_slurp_symbol_table): Set the symbol count to the |
5882 | number of BFD symbols created. | |
5883 | ||
e25a7988 MM |
5884 | Fri Apr 26 12:34:29 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
5885 | ||
5886 | * elf32-ppc.c (ppc_elf_check_relocs): Forward relocations to the | |
5887 | output file if linking shared objects. Loop to check all relocs, | |
5888 | rather than returning false on first error. | |
5889 | ||
5c28a96e MM |
5890 | Thu Apr 25 13:25:12 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
5891 | ||
3f7ca26b MM |
5892 | * elf32-ppc.c (ppc_elf_create_linker_section): Add PLT case. |
5893 | (ppc_elf_additional_program_headers): If .interp section, bump # | |
5894 | of program headers by 1. | |
5895 | (ppc_elf_adjust_dynamic_symbol): Flesh out support. | |
5896 | (ppc_elf_size_dynamic_sections): Add support for .plt section. | |
5897 | (ppc_elf_check_relocs): Print out filename in debug code. Enable | |
5898 | PLT support. | |
5899 | (ppc_elf_finish_dynamic_symbol): Add support for PLT's, beef up | |
5900 | debug output. | |
5901 | (ppc_elf_relocate_section): If the output section isn't defined, | |
5902 | don't abort, just give an error message. | |
5903 | ||
5c28a96e MM |
5904 | * elflink.c (_bfd_elf_create_dynamic_sections): If the section |
5905 | being created is .sdata or .sdata2, don't make the symbol dynamic. | |
5906 | ||
f5d65485 ILT |
5907 | Wed Apr 24 14:04:07 1996 Ian Lance Taylor <ian@cygnus.com> |
5908 | ||
5909 | * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Look through the | |
5910 | members of an archive for dynamic objects with no symbols, and | |
5911 | pass them directly to check_archive_element. | |
5912 | (xcoff_link_check_ar_symbols): Pass dynamic objects to | |
5913 | xcoff_link_check_dynamic_ar_symbols. | |
5914 | (xcoff_link_check_dynamic_ar_symbols): New static function. | |
5915 | ||
5916 | * coff-rs6000.c (rs6000coff_vec): Change BFD_JUMP_TABLE_DYNAMIC | |
5917 | from _bfd_nodynamic to _bfd_xcoff. | |
5918 | * libcoff-in.h (_bfd_xcoff_get_dynamic_symtab_upper_bound): | |
5919 | Declare. | |
5920 | (_bfd_xcoff_canonicalize_dynamic_symtab): Declare. | |
5921 | (_bfd_xcoff_get_dynamic_reloc_upper_bound): Declare. | |
5922 | (_bfd_xcoff_canonicalize_dynamic_reloc): Declare. | |
5923 | * libcoff.h: Rebuild. | |
5924 | * xcofflink.c (xcoff_swap_ldrel_in): New static function. | |
5925 | (xcoff_get_section_contents): New static function. | |
5926 | (_bfd_xcoff_get_dynamic_symtab_upper_bound): New function. | |
5927 | (_bfd_xcoff_canonicalize_dynamic_symtab): New function. | |
5928 | (_bfd_xcoff_get_dynamic_reloc_upper_bound): New function. | |
5929 | (xcoff_dynamic_reloc): New static variable. | |
5930 | (_bfd_xcoff_canonicalize_dynamic_reloc): New function. | |
5931 | (xcoff_link_add_dynamic_symbols): Use xcoff_get_section_contents. | |
cf2cd4cf | 5932 | |
f5d65485 ILT |
5933 | Tue Apr 23 12:48:42 1996 Ian Lance Taylor <ian@cygnus.com> |
5934 | ||
5935 | * coff-sparc.c (bfd_coff_generic_reloc): Return bfd_reloc_ok even | |
5936 | if reloc_entry->addend is not 0. | |
5937 | (CALC_ADDEND): Just set the addend to reloc.r_offset. | |
5938 | ||
34249b2f DE |
5939 | Mon Apr 22 18:29:01 1996 Doug Evans <dje@canuck.cygnus.com> |
5940 | ||
5941 | * elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix spelling of | |
5942 | R_SPARC_GLOB_JMP. | |
5943 | * elf64-sparc.c (sparc64_elf_howto_table): Likewise. | |
5944 | Add entries for R_SPARC_[56]. | |
5945 | (sparc_reloc_map): Add entries for R_SPARC_[56]. | |
5946 | ||
af50cd91 ILT |
5947 | Mon Apr 22 15:07:24 1996 Ian Lance Taylor <ian@cygnus.com> |
5948 | ||
1726b8f0 ILT |
5949 | Optimize linking of stabs in sections as used in ELF and COFF. |
5950 | * stabs.c: New file. | |
5951 | * libbfd-in.h (_bfd_link_section_stabs): Declare. | |
5952 | (_bfd_write_section_stabs): Declare. | |
5953 | (_bfd_write_stab_strings): Declare. | |
5954 | * libbfd.h: Rebuild. | |
5955 | * libcoff-in.h (struct coff_section_tdata): Add stab_info field. | |
5956 | (struct coff_link_hash_table): Add stab_info field. | |
5957 | * libcoff.h: Rebuild. | |
5958 | * cofflink.c (_bfd_coff_link_hash_table_init): Initialize | |
5959 | stab_info field. | |
5960 | (coff_link_add_symbols): Call _bfd_link_section_stabs if | |
5961 | appropriate. | |
5962 | (_bfd_coff_final_link): Write out stab strings hash table. | |
5963 | (_bfd_coff_link_input_bfd): Handle optimized stabs sections. | |
5964 | * coff-ppc.c (ppc_bfd_coff_final_link): Write out stab strings | |
5965 | hash table. | |
5966 | * elf-bfd.h (struct elf_link_hash_table): Add stab_info field. | |
5967 | (struct bfd_elf_section_data): Add stab_info field. | |
5968 | * elf.c (_bfd_elf_link_hash_table_init): Initialize stab_info | |
5969 | field. | |
5970 | * elflink.h (elf_link_add_object_symbols): If appropriate, call | |
5971 | _bfd_link_section_stabs. | |
5972 | (elf_bfd_final_link): Write out stab strings hash table. | |
5973 | (elf_link_input_bfd): Handle optimized stabs sections. | |
5974 | * reloc.c (_bfd_final_link_relocate): Check address against | |
5975 | _raw_size rather than _cooked_size. | |
5976 | * Makefile.in: Rebuild dependencies. | |
5977 | (BFD_LIBS): Add stabs.o | |
5978 | (BFD_LIBS_CFILES): Add stabs.c. | |
5979 | ||
5980 | * VERSION: Increment for bfdlink.h change. | |
5981 | ||
af50cd91 ILT |
5982 | * coffgen.c (coff_renumber_symbols): Correct handling of |
5983 | BSF_NOT_AT_END common symbols. | |
5984 | ||
f9fa5df3 ILT |
5985 | Fri Apr 19 19:21:56 1996 Ian Lance Taylor <ian@cygnus.com> |
5986 | ||
5987 | * coff-ppc.c (record_toc): Add cast to avoid warning. | |
5988 | (ppc_allocate_toc_section): Likewise. | |
5989 | (coff_ppc_relocate_section): Remove ANSI C string concatenation. | |
5990 | (ppc_coff_reloc_type_lookup): Remove unreached code. | |
5991 | * coffcode.h (coff_write_object_contents): Don't take the address | |
5992 | of an array. | |
5993 | * peicode.h (pe_print_idata): Add casts to avoid warning. | |
5994 | (pe_print_edata): Likewise. | |
5995 | (pe_print_reloc): Remove ANSI C string concatenation. | |
5996 | ||
d6e0e2f7 ILT |
5997 | Thu Apr 18 18:51:18 1996 Ian Lance Taylor <ian@cygnus.com> |
5998 | ||
5999 | * libcoff-in.h (struct coff_final_link_info): Add last_bf_index | |
6000 | and last_bf fields. | |
6001 | * libcoff.h: Rebuild. | |
6002 | * coffswap.h (coff_swap_aux_in): Swap endndx field for C_FCN | |
6003 | symbols. | |
6004 | (coff_swap_aux_out): Likewise. | |
6005 | * peicode.h (coff_swap_aux_in): Likewise. | |
6006 | (coff_swap_aux_out): Likewise. | |
6007 | * coffgen.c (coff_pointerize_aux): Check endndx field for C_FCN | |
6008 | symbols. | |
6009 | * cofflink.c (_bfd_coff_final_link): Initialize last_bf_index | |
6010 | field. | |
6011 | (_bfd_coff_link_input_bfd): Check endndx field for C_FCN symbols. | |
6012 | Fix up .bf endndx link fields. | |
6013 | * coff-ppc.c (ppc_bfd_coff_final_link): Initialize last_bf_index | |
6014 | field. | |
6015 | * xcofflink.c (xcoff_link_input_bfd): Check endndx field for C_FCN | |
6016 | symbols. | |
6017 | ||
221d1e19 MM |
6018 | Wed Apr 17 12:08:24 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
6019 | ||
6020 | * pe{,i}-ppc.c (PPC_PE): Define instead of PPC, so that compiling | |
6021 | on Solaris PowerPC systems doesn't get confused. | |
6022 | ||
6023 | * ccffcode.h (coff_write_object_contents): Use #ifdef PPC_PE, not | |
6024 | #ifdef PPC. | |
6025 | ||
6026 | * elfcore.h (bfd_prstatus, bfd_fpregset): Add thread argument. | |
6027 | (elf_corefile_note): If HAVE_SYS_PROCFS_H is not defined, don't | |
6028 | update did_reg and did_reg2. | |
6029 | ||
8f9a56c6 ILT |
6030 | Wed Apr 17 13:07:37 1996 Ian Lance Taylor <ian@cygnus.com> |
6031 | ||
f97fca78 ILT |
6032 | * xcofflink.c (xcoff_link_input_bfd): Check for TOC overflow. |
6033 | ||
8f9a56c6 ILT |
6034 | * linker.c (_bfd_generic_link_add_one_symbol): When calling the |
6035 | callback routines, pass h->root.string rather than name, in case | |
6036 | copy is true and name is transient. | |
6037 | ||
603fdf16 SG |
6038 | Tue Apr 16 16:36:38 1996 Stu Grossman (grossman@lisa.cygnus.com) |
6039 | ||
6040 | * elfcore.h: Add support for core files with multiple threads. | |
6041 | (Primarily for Solaris.) | |
6042 | ||
a2d914e1 ILT |
6043 | Tue Apr 16 13:44:08 1996 Ian Lance Taylor <ian@cygnus.com> |
6044 | ||
cdf23557 ILT |
6045 | * aoutx.h (NAME(aout,squirt_out_relocs)): Don't do anything if |
6046 | section->orelocation is NULL. | |
6047 | ||
a2d914e1 ILT |
6048 | * coffgen.c (bfd_coff_get_syment): New function. |
6049 | (bfd_coff_get_auxent): New function. | |
6050 | * bfd-in.h (bfd_coff_get_syment): Declare. | |
6051 | (bfd_coff_get_auxent): Declare. | |
6052 | * bfd-in2.h: Rebuild. | |
6053 | ||
5cf36a32 ILT |
6054 | Mon Apr 15 19:06:59 1996 Ian Lance Taylor <ian@cygnus.com> |
6055 | ||
6056 | * elf32-mips.c (struct mips_hi16): Define. | |
6057 | (mips_hi16_addr, mips_hi16_addend): Remove. | |
6058 | (mips_hi16_list): New static variable. | |
6059 | (mips_elf_hi16_reloc): Maintain a list of unmatched HI16 relocs. | |
6060 | (mips_elf_lo16_reloc): Process mips_hi16_list. | |
6061 | (mips_elf_relocate_section): Permit an arbitrary number of HI16 | |
6062 | relocs before the associated LO16 reloc. | |
6063 | ||
b7fce5be ILT |
6064 | Wed Apr 10 00:23:53 1996 Ian Lance Taylor <ian@cygnus.com> |
6065 | ||
176512da ILT |
6066 | * versados.c (versados_scan): Check bfd_alloc return value. |
6067 | (versados_object_p): Check all bfd_read return values. Require | |
6068 | that lang field be less than 10, to avoid confusion with Intel Hex | |
6069 | files. | |
6070 | ||
18de3f19 ILT |
6071 | * libaout.h (WRITE_HEADERS): Write out the relocs even if there |
6072 | aren't any symbols. | |
6073 | * aoutx.h (NAME(aout,swap_std_reloc_out)): Set r_index to N_ABS, | |
6074 | not 0, for an absolute symbol. | |
6075 | (NAME(aout,swap_ext_reloc_out)): Likewise. | |
6076 | ||
66ab4152 ILT |
6077 | * ihex.c (ihex_scan): Accept a length of 4 for record type 5. |
6078 | (ihex_write_object_contents): For a large start address, output | |
6079 | the full 32 bit address in record type 5. | |
6080 | ||
b7fce5be ILT |
6081 | * ieee.c (ieee_write_byte): Change second parameter from bfd_byte |
6082 | to int to avoid promotion problems in prototype. | |
6083 | ||
f1b45745 ILT |
6084 | Tue Apr 9 11:44:21 1996 Ian Lance Taylor <ian@cygnus.com> |
6085 | ||
f400f358 ILT |
6086 | * configure.host: Use ${srcdir} when looking for picfrag. |
6087 | ||
3d9a5986 ILT |
6088 | * configure.host: Switch on ${libdir}, not $(libdir). From |
6089 | alan@spri.levels.unisa.edu.au (Alan Modra). | |
6090 | ||
f1b45745 ILT |
6091 | * aoutx.h (aout_link_add_symbols): Always call add_dynamic_symbols |
6092 | entry point, not just for DYNAMIC objects. | |
6093 | * sunos.c (sunos_add_dynamic_symbols): Always call | |
6094 | sunos_create_dynamic_sections. If called with a non DYNAMIC | |
6095 | object, don't do anything else. | |
6096 | (sunos_add_one_symbol): Don't call sunos_create_dynamic_sections. | |
6097 | ||
6f21f2e3 ILT |
6098 | Mon Apr 8 12:09:36 1996 Ian Lance Taylor <ian@cygnus.com> |
6099 | ||
639b5a09 ILT |
6100 | * configure.in: Permit --enable-shared to specify a list of |
6101 | directories. | |
6102 | * configure: Rebuild. | |
6103 | ||
6f21f2e3 ILT |
6104 | * configure.host: Set HLDFLAGS and SHLIB_CFLAGS for *-dec-osf* |
6105 | host when configuring with --enable-shard. | |
6106 | ||
3f5f565b ILT |
6107 | Fri Apr 5 12:24:13 1996 Ian Lance Taylor <ian@cygnus.com> |
6108 | ||
1ac75f5c ILT |
6109 | * config.bfd: Add i[345]86-*-freebsdelf* target; from John Polstra |
6110 | <jdp@polstra.com>. | |
6111 | ||
1a9951a9 ILT |
6112 | * linker.c (link_action): For WARN_ROW/warn, use MWARN, not CYCLE, |
6113 | to avoid crashing in bfd_hash_replace. | |
6114 | ||
f1ac3acb | 6115 | * sysdep.h: Use #ifdef, not #if. |
3f5f565b | 6116 | |
eb5f58e0 ILT |
6117 | Thu Apr 4 23:32:23 1996 Ian Lance Taylor <ian@cygnus.com> |
6118 | ||
6119 | * config.in: Rebuild. | |
6120 | ||
ab1aa5cd FF |
6121 | Thu Apr 4 18:49:09 1996 Fred Fish <fnf@cygnus.com> |
6122 | ||
6123 | * configure.in (mips-sony-bsd*): Fix typo in AC_DEFINE. | |
6124 | (AC_CHECK_HEADERS): Check for sys/time.h | |
6125 | (AC_HEADER_TIME): Add macro. | |
6126 | * configure: Rebuild. | |
6127 | * sysdep.h: Use TIME_WITH_SYS_TIME and HAVE_SYS_TIME_H | |
6128 | to control what combination of <time> and <sys/time.h> | |
6129 | get included. | |
cf2cd4cf | 6130 | |
d1f74cd2 DE |
6131 | Tue Apr 2 13:11:53 1996 Doug Evans <dje@canuck.cygnus.com> |
6132 | ||
6133 | * aoutf1.h (sunos_32_set_arch_mach): Handle M_SPARCLET. | |
6134 | (aout_32_sunos4_write_object_contents): Likewise. | |
6135 | * aoutx.h (NAME(aout,machine_type)): Handle | |
6136 | bfd_mach_sparc_{sparclet,sparclite}. | |
6137 | * archures.c (bfd_mach_sparc_{sparclet,sparclite}): Define. | |
6138 | (bfd_mach_sparc_v9_p): Update. | |
6139 | * cpu-sparc.c (arch_info_struct): Add entries for sparclet,sparclite. | |
6140 | * libaout.h (enum machine_type): Add M_SPARCLET. | |
6141 | * sunos.c (MACHTYPE_OK): Define. | |
6142 | * bfd-in2.h: Regenerated. | |
6143 | ||
1dad72bd ILT |
6144 | Tue Apr 2 00:33:18 1996 Ian Lance Taylor <ian@cygnus.com> |
6145 | ||
19bfbcbe ILT |
6146 | * elf-bfd.h (struct elf_link_hash_table): Add hgot field. |
6147 | * elf.c (_bfd_elf_link_hash_table_init): Initialize hgot field. | |
6148 | * elflink.c (_bfd_elf_create_got_section): Store the | |
6149 | _GLOBAL_OFFSET_TABLE_ hash table entry in the hgot field. | |
6150 | * elf32-sparc.c (elf32_sparc_check_relocs): If the size of the | |
6151 | global offset table goes over 0x1000, set the value of | |
6152 | _GLOBAL_OFFSET_TABLE_ to 0x1000 into the section. | |
6153 | (elf32_sparc_relocate_section): Subtract the offset of | |
6154 | _GLOBAL_OFFSET_TABLE_ when handling GOT relocations. | |
6155 | ||
1dad72bd ILT |
6156 | * elfcode.h: Don't include <string.h>. |
6157 | ||
ca4e2190 JL |
6158 | Mon Apr 1 10:39:24 1996 Jeffrey A Law (law@cygnus.com) |
6159 | ||
6160 | * linker.c (_bfd_generic_link_hash_newfunc): Renamed from | |
6161 | generic_link_hash_newfunc. All references changed. | |
6162 | * genlink.h (_bfd_generic_link_hash_newfunc): Declaration | |
6163 | moved here from libbfd-in.h. | |
6164 | * libbfd-in.h: Corresponding changes. | |
6165 | * libbfd.h: Regenerated. | |
6166 | ||
ce6a7731 ILT |
6167 | Mon Apr 1 12:35:36 1996 Ian Lance Taylor <ian@cygnus.com> |
6168 | ||
aad53b0d ILT |
6169 | * aoutx.h (aout_link_input_section_std): When reporting an |
6170 | overflow error, use the name of the symbol in the hash table if | |
6171 | available. | |
6172 | (aout_link_input_section_ext): Likewise. | |
6173 | ||
ce6a7731 ILT |
6174 | * elflink.h (elf_adjust_dynamic_symbol): If a common symbol got |
6175 | defined in a regular file, set ELF_LINK_HASH_DEF_REGULAR. | |
6176 | ||
323b430f SC |
6177 | Sun Mar 31 01:58:41 1996 steve chamberlain <sac@slash.cygnus.com> |
6178 | ||
6179 | * peicode.h (coff_swap_aouthdr_out): Delete test for .junk. | |
6180 | * coffcode.h (coff_compute_section_file_positions): Likewise. | |
6181 | (coff_write_object_contents): Likewise. | |
cf2cd4cf | 6182 | |
7fc1cd16 ILT |
6183 | Fri Mar 29 12:44:36 1996 Ian Lance Taylor <ian@cygnus.com> |
6184 | ||
5a28331f ILT |
6185 | * section.c (SEC_LINK_ONCE): Define. |
6186 | (SEC_LINK_DUPLICATES): Define. | |
6187 | (SEC_LINK_DUPLICATES_DISCARD): Define. | |
6188 | (SEC_LINK_DUPLICATES_ONE_ONLY): Define. | |
6189 | (SEC_LINK_DUPLICATES_SAME_SIZE): Define. | |
6190 | (SEC_LINK_DUPLICATES_SAME_CONTENTS): Define. | |
6191 | * bfd-in2.h: Rebuild. | |
6192 | * coffcode.h (sec_to_styp_flags): If COFF_WITH_PE, turn | |
6193 | SEC_LINK_ONCE into IMAGE_SCN_LNK_COMDAT. | |
6194 | (styp_to_sec_flags): If COFF_WITH_PE, turn IMAGE_SCN_LNK_REMOVE | |
6195 | into SEC_EXCLUDE. If IMAGE_SCN_LNK_COMDAT is set, set | |
6196 | SEC_LINK_ONCE, and look through the symbol table for the setting | |
6197 | for SEC_LINK_DUPLICATES. | |
6198 | (coff_write_object_contents): If COFF_WITH_PE, if SEC_LINK_ONCE is | |
6199 | set for a section, find the section symbol in the symbol table, | |
6200 | and set the aux entry based on SEC_LINK_DUPLICATES. | |
6201 | * coffgen.c (coff_print_symbol): Add a space before "checksum". | |
6202 | * coff-arm.c (armcoff_big_vec): If COFF_WITH_PE is defined, add | |
6203 | SEC_LINK_ONCE and SEC_LINK_DUPLICATES to section_flags. | |
6204 | * coff-i386.c (i386coff_vec): Likewise. | |
6205 | * coff-ppc.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Likewise. | |
6206 | ||
7fc1cd16 ILT |
6207 | * VERSION: Bump to 2.6.1. |
6208 | * Makefile.in (stamp-h): Depend upon VERSION. | |
6209 | ||
9399a257 JL |
6210 | Thu Mar 28 23:48:49 1996 Jeffrey A Law (law@cygnus.com) |
6211 | ||
6212 | * libbfd-in.h (generic_link_hash_newfunc): Add declaration. | |
6213 | * libbfd.h: Rebuilt. | |
6214 | * linker.c (generic_link_hash_newfunc): No longer static. | |
6215 | * coffcode.h (coff_bfd_link_hash_create): Allow specific targets | |
6216 | to override. | |
6217 | * coff-h8300.c: Add two derived hash tables and their associated | |
6218 | funtions and #defines for use by the h8300 linker. | |
6219 | (h8300_reloc16_extra_cases, case R_MEM_INDIRECT): Create entries in | |
6220 | the function vector as needed. Place the address of the function | |
6221 | vector entry in the location specified by the R_MEM_INDIRECT reloc. | |
6222 | Rewrite the vectors section contents as necessary. | |
cf2cd4cf | 6223 | (h8300_bfd_link_add_symbols): New function for the h8300 linker. |
9399a257 JL |
6224 | (coff_bfd_link_add_symbols): Define to use h8300 specific version. |
6225 | (coff_bfd_link_hash_table_create): Likewise. | |
6226 | ||
506f2bb4 ILT |
6227 | Thu Mar 28 17:44:08 1996 Ian Lance Taylor <ian@cygnus.com> |
6228 | ||
6229 | * libhppa.h: If gcc 2.7 or higher, declare all the functions with | |
6230 | __attribute__ ((__unused__)) so that -Wall doesn't warn about | |
6231 | them. | |
6232 | (hppa_rebuild_insn): Pass pointer to correct type to | |
6233 | low_sign_unext and dis_assemble_21. | |
6234 | ||
05a84ae1 DE |
6235 | Thu Mar 28 11:00:36 1996 Doug Evans <dje@canuck.cygnus.com> |
6236 | ||
6237 | * config.bfd (sparc64-{sysv4*,solaris2*}): Delete. | |
6238 | Stick with sparc-*-{sysv4*,solaris2*}. | |
6239 | ||
919cf4b5 ILT |
6240 | Wed Mar 27 10:43:34 1996 Ian Lance Taylor <ian@cygnus.com> |
6241 | ||
8230f31c ILT |
6242 | * peicode.h (coff_swap_aux_in): Swap in extra PE x_scn fields. |
6243 | (coff_swap_aux_out): Swap out extra PE x_scn fields. | |
6244 | * coffswap.h (coff_swap_aux_in): Zero out extra PE x_scn fields. | |
6245 | * coffgen.c (coff_print_symbol): If any of the extra PE x_scn | |
6246 | fields is non-zero, print them. | |
6247 | ||
9addd1d4 ILT |
6248 | * coff-ppc.c (ppc_record_toc_entry): Put inside COFF_IMAGE_WITH_PE |
6249 | ifdef. Remove unused variables. | |
6250 | (ppc_record_data_in_toc_entry): Ifdef out. Removed unused | |
6251 | variables. | |
6252 | (ppc_mark_symbol_as_glue): Put inside COFF_IMAGE_WITH_PE ifdef. | |
6253 | (get_symbol_value): Ifdef out. | |
6254 | (pe_ppc_reloc): Ifdef out. Remove unused variables. | |
6255 | (coff_ppc_relocate_section): Remove unused variables. Make | |
6256 | fprintf strings and argument types correspond. Put before_addr in | |
6257 | DEBUG_RELOC ifdef. | |
ff0e4a93 ILT |
6258 | (dump_toc): Make fprintf strings and argument types correspond. |
6259 | (ppc_process_before_allocation): Remove unused variables. Always | |
6260 | return a value. | |
9addd1d4 ILT |
6261 | (ppc_reflo_reloc): Ifdef out. |
6262 | (ppc_addr32nb_reloc): Ifdef out. | |
6263 | (ppc_coff_rtype2howto): Make fprintf strings and argument types | |
6264 | correspond. | |
6265 | (coff_ppc_rtype_to_howto): Likewise. | |
6266 | (ppc_coff_swap_sym_in_hook): Remove unused variables. | |
6267 | ||
6268 | * peicode.h (pe_print_idata): Move otherwise unused variables into | |
6269 | the #ifdef where they are used. Always return a value. | |
ff0e4a93 ILT |
6270 | (pe_print_edata): Make fprintf strings and argument types |
6271 | correspond. Always return a value. | |
9addd1d4 ILT |
6272 | (pe_print_pdata): Removed unused variable addr_value. Always |
6273 | return a value. | |
6274 | (pe_print_reloc): Remove unused variable onaline. Make fprintf | |
ff0e4a93 | 6275 | strings and argument types correspond. Always return a value. |
9addd1d4 ILT |
6276 | |
6277 | * elf32-ppc.c (ppc_elf_fake_sections): Return true. | |
6278 | (ppc_elf_finish_dynamic_symbol): Move definition of unused | |
6279 | variable rela inside #if 0 section where it is used. | |
6280 | ||
c877bdf1 ILT |
6281 | * ns32k.h: New file. |
6282 | * cpu-ns32k.h: Include ns32k.h. Rename externally visible | |
6283 | functions to start with _bfd_. | |
6284 | * aout-ns32k.c: Include ns32k.h. Change references to renamed | |
6285 | functions in cpu-ns32k.h. | |
6286 | * Makefile.in: Rebuild dependencies. | |
6287 | (HFILES): Add ns32k.h. | |
6288 | ||
ff0e4a93 ILT |
6289 | * section.c (struct sec): Add linker_mark field. Change |
6290 | user_set_vma and reloc_done to be single bit fields. | |
6291 | (STD_SECTION): Update accordingly. | |
7ec49f91 ILT |
6292 | * bfd-in2.h: Rebuild. |
6293 | * aoutx.h (NAME(aout,final_link)): Mark sections included in the | |
6294 | link. | |
6295 | (aout_link_input_bfd): Don't link unmarked sections. | |
6296 | * cofflink.c (_bfd_coff_final_link): Mark sections included in the | |
6297 | link. | |
6298 | (_bfd_coff_link_input_bfd): Don't link unmarked sections. | |
6299 | * coff-ppc.c (ppc_bfd_coff_final_link): Mark sections included in | |
6300 | the link. | |
6301 | * elflink.h (elf_bfd_final_link): Mark sections included in the | |
6302 | link. | |
6303 | (elf_link_input_bfd): Don't link unmarked sections. | |
6304 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Mark sections included | |
6305 | in the link. | |
6306 | (xcoff_link_input_bfd): Don't link unmarked sections. | |
6307 | ||
919cf4b5 ILT |
6308 | * coffswap.h (coff_swap_scnhdr_out): Include section name in |
6309 | overflow error messages. | |
6310 | ||
986cf3b8 ILT |
6311 | Tue Mar 26 15:46:18 1996 Ian Lance Taylor <ian@cygnus.com> |
6312 | ||
fd681dcd ILT |
6313 | * bfd.c (_bfd_default_error_handler): If _bfd_error_program_name |
6314 | is not set, print "BFD: " before the error message. | |
6315 | ||
986cf3b8 ILT |
6316 | * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From |
6317 | Miles Bader <miles@gnu.ai.mit.edu>. | |
6318 | * configure: Rebuild. | |
6319 | ||
3998d526 ILT |
6320 | Fri Mar 22 12:17:00 1996 Ian Lance Taylor <ian@cygnus.com> |
6321 | ||
c3dffbd7 ILT |
6322 | * xcofflink.c (xcoff_link_input_bfd): Fix scan for C_BINCL/C_EINCL |
6323 | symbols. | |
6324 | ||
3998d526 ILT |
6325 | * config.bfd: Add ieee_vec to targ_selvecs for i960 targets and |
6326 | m68k-aout, m68k-coff, and m68k-elf targets. | |
6327 | ||
e4d27380 ILT |
6328 | Fri Mar 22 11:33:44 1996 Martin Anantharaman <martin@goofy.imech.uni-duisburg.de> |
6329 | ||
6330 | * ieee.c: Changed #ifdef KEEPMINUSPCININST to #if KEEPMINUSPCININST. | |
6331 | (ieee_generic_stat_arch_elt): Restructured to prevent | |
6332 | ieee_object_p from being called repeatedly. | |
6333 | ||
51776a11 SC |
6334 | Thu Mar 21 11:00:47 1996 steve chamberlain <sac@slash.cygnus.com> |
6335 | ||
6336 | * coffcode.h (coff_write_object_contents): Allocate | |
6337 | buffers large enough for any FILEHDR or AOUTHDR. | |
6338 | ||
6339 | Thu Mar 21 16:28:17 1996 David Mosberger-Tang <davidm@azstarnet.com> | |
6340 | ||
6341 | * ecofflink.c (lookup_line): New static function, renamed and | |
6342 | slighly changed from old _bfd_ecoff_locate_line. | |
6343 | (_bfd_ecoff_locate_line): Cache line number information. Use | |
6344 | lookup_line for actual lookup. | |
6345 | ||
9e4ebb1b MM |
6346 | Thu Mar 21 14:59:11 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
6347 | ||
6348 | * peicode.h (pe_print_pdata): Warn if the .pdata section is not a | |
6349 | multiple of 20 bytes. | |
6350 | ||
9e7427a4 ILT |
6351 | Thu Mar 21 13:54:40 1996 Ian Lance Taylor <ian@cygnus.com> |
6352 | ||
51776a11 SC |
6353 | * ecoff.c (_bfd_ecoff_find_nearest_line): Use bfd_zalloc to |
6354 | allocate ecoff_find_line, and don't initialize by hand. | |
6355 | * elf32-mips.c (mips_elf_find_nearest_line): Use bfd_zalloc for | |
6356 | mips_elf_find_line, and don't call memset. | |
6357 | ||
9e7427a4 ILT |
6358 | * coffcode.h (coff_compute_section_file_positions): If not |
6359 | producing a final executable, don't consider sofar when aligning | |
6360 | the section to the correct size. | |
6361 | ||
6362 | Wed Mar 20 16:53:12 1996 Ian Lance Taylor <ian@cygnus.com> | |
6363 | ||
6364 | * coffcode.h (coff_add_missing_symbols): Ifdef out. | |
6365 | (coff_write_object_contents): Don't call coff_add_missing_symbols. | |
6366 | * coffgen.c (coff_section_symbol): Ifdef out. | |
6367 | ||
e7f9ba4f ILT |
6368 | Mon Mar 18 12:54:41 1996 Ian Lance Taylor <ian@cygnus.com> |
6369 | ||
6370 | * elf32-mips.c (mips_elf_gprel32_reloc): Initialize gp if | |
6371 | output_bfd is not NULL. | |
6372 | ||
34c4d647 DE |
6373 | Thu Mar 14 17:12:06 1996 Doug Evans <dje@charmed.cygnus.com> |
6374 | ||
6375 | * coffgen.c (coff_get_normalized_symtab): Call bfd_zalloc instead | |
6376 | of bfd_alloc (fixes fix_line not being initialized). | |
6377 | Delete zeroing of fix_{value,tag,end,scnlen} fields. | |
6378 | ||
4e054247 JL |
6379 | Thu Mar 14 16:06:06 1996 Jeffrey A Law (law@cygnus.com) |
6380 | ||
57289b5c JL |
6381 | * coffcode.h: Allow specific backends to override the |
6382 | bfd_link_add_symbols routine. | |
6383 | ||
4e054247 JL |
6384 | * coff-h8300.c: Include genlink.h. |
6385 | (howto_table): Add R_MEM_INDIRECT. | |
6386 | (rtype2howto): Support R_MEM_INDIRECT. | |
6387 | (h8300_reloc16_extra_cases): Handle R_MEM_INDIRECT like R_RELBYTE | |
6388 | for now. | |
cf2cd4cf | 6389 | |
a10d3dec ILT |
6390 | Tue Mar 12 12:41:17 1996 David Mosberger-Tang <davidm@koala.azstarnet.com> |
6391 | ||
6392 | * coff-alpha.c (alpha_relocate_section): Use | |
6393 | info->callbacks_warning, rather than _bfd_error_handler, for | |
6394 | "multiple gp" warning. | |
6395 | ||
ea2488ad ILT |
6396 | Tue Mar 12 12:10:55 1996 Ian Lance Taylor <ian@cygnus.com> |
6397 | ||
8881b321 ILT |
6398 | * linker.c (bfd_wrapped_link_hash_lookup): New function. |
6399 | (_bfd_generic_link_add_one_symbol): Remove BFD_ASSERT on hash | |
6400 | table string. Use bfd_wrapped_link_hash_lookup. | |
6401 | (_bfd_generic_link_write_global_symbol): Remove BFD_ASSERT on hash | |
6402 | table string. | |
6403 | * aoutx.h (aout_link_write_symbols): Use the name from the hash | |
6404 | table, if any, when writing out symbols. | |
6405 | (aout_link_input_section_std): Use the name from the hash table, | |
6406 | if any, when reporting undefined symbols. | |
6407 | (aout_link_input_section_ext): Likewise. | |
6408 | (aout_link_reloc_link_order): Use bfd_wrapped_link_hash_lookup. | |
6409 | * bout.c (get_value): Likewise. | |
6410 | * cofflink.c (_bfd_coff_reloc_link_order): Likewise. | |
6411 | * ecoff.c (ecoff_reloc_link_order): Likewise. | |
6412 | * elflink.h (elf_link_add_object_symbols): Likewise. | |
cf2cd4cf | 6413 | (elf_reloc_link_order): Likewise. |
8881b321 ILT |
6414 | * linker.c (_bfd_generic_link_output_symbols): Likewise. |
6415 | (_bfd_generic_reloc_link_order): Likewise. | |
6416 | (default_indirect_link_order): Likewise. | |
6417 | * reloc16.c (bfd_coff_reloc16_get_value): Likewise. | |
6418 | * sunos.c (sunos_add_one_symbol): Likewise. | |
6419 | * xcofflink.c (xcoff_link_add_symbols): Likewise. | |
6420 | (bfd_xcoff_link_count_reloc): Likewise. | |
6421 | (xcoff_reloc_link_order): Likewise. | |
6422 | ||
6423 | * ecoffswap.h (ecoff_swap_fdr_in): If ECOFF_64, turn 0xffffffff | |
6424 | into -1 for intern->rss. | |
6425 | ||
ea2488ad ILT |
6426 | * configure: Rebuild with autoconf 2.8. |
6427 | ||
c189fdfb ILT |
6428 | Mon Mar 11 12:28:31 1996 Ian Lance Taylor <ian@cygnus.com> |
6429 | ||
6430 | * stab-syms.c (__define_stab_duplicate): Define. | |
6431 | (bfd_get_stab_name): Rename from aout_stab_name. Rewrite to use a | |
6432 | switch. | |
6433 | * bfd-in.h (bfd_get_stab_name): Declare. | |
6434 | * bfd-in2.h: Rebuild. | |
6435 | * Makefile.in: Rebuild dependencies. | |
6436 | (BFD_LIBS): Add stab-syms.o. | |
6437 | (BFD_LIBS_CFILES): Add stab-syms.c. | |
6438 | (BFD32_BACKENDS): Remove stab-syms.o. | |
6439 | (BFD32_BACKENDS_CFILES): Remove stab-syms.c. | |
6440 | * configure.in: Don't list stab-syms.o in bfd_backends. | |
6441 | * configure: Rebuild. | |
6442 | * libaout.h (aout_stab_name): Don't declare. | |
6443 | * aoutx.h (NAME(aout,get_symbol_info)): Call bfd_get_stab_name, | |
6444 | not aout_stab_name. | |
6445 | ||
6446 | Fri Mar 8 11:26:20 1996 Ian Lance Taylor <ian@cygnus.com> | |
6447 | ||
6448 | * elf.c (assign_file_positions_for_segments): Adjust file offset | |
6449 | for section alignment even if SEC_LOAD is not set. | |
6450 | ||
c5bde1ef ILT |
6451 | Tue Mar 5 12:02:23 1996 Ian Lance Taylor <ian@cygnus.com> |
6452 | ||
8f218e05 ILT |
6453 | * configure.in: Don't set SHLIB or SHLINK to an empty string, |
6454 | since they appear as targets in Makefile.in. | |
6455 | * configure: Rebuild. | |
6456 | ||
c5bde1ef ILT |
6457 | * sunos.c (sunos_scan_ext_relocs): If not making a shared library, |
6458 | don't fiddle with a symbol which is not defined anywhere. | |
6459 | ||
cb84f028 ILT |
6460 | Mon Mar 4 12:49:16 1996 Ian Lance Taylor <ian@cygnus.com> |
6461 | ||
4e59f523 ILT |
6462 | * xcofflink.c (xcoff_mark): Treat undefined imported symbols as |
6463 | though they are defined in a shared library. | |
6464 | (xcoff_build_ldsyms): Likewise. | |
6465 | ||
ea2504d5 ILT |
6466 | * coffgen.c (coff_find_nearest_line): Don't look at the line |
6467 | numbers for the section if section->lineno is NULL. | |
6468 | ||
cb84f028 ILT |
6469 | * elf.c (_bfd_elf_symbol_from_bfd_symbol): Print a useful error |
6470 | message rather than calling BFD_ASSERT. | |
6471 | * elfcode.h (write_relocs): Check return value of | |
6472 | _bfd_elf_symbol_from_bfd_symbol. | |
6473 | ||
6e036cf7 MM |
6474 | Fri Mar 1 09:42:59 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
6475 | ||
6476 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Don't set SEC_LOAD flag | |
6477 | for .sbss section. | |
6478 | ||
d08435de JL |
6479 | Wed Feb 28 11:25:47 1996 Jeffrey A Law (law@cygnus.com) |
6480 | ||
6481 | * libhppa.h (hppa_reloc_field_selector_type): Add R_HPPA_NLSEL | |
6482 | and R_HPPA_NLRSEL. | |
6483 | (e_nsel, e_nlsel, e_nlrsel): Undefine. Add to | |
6484 | hppa_reloc_field_selector_type_alt. | |
6485 | (hppa_field_adjust): Handle e_nlsel, e_nlrsel. Fix e_nsel handling. | |
6486 | * som.c (hppa_som_gen_reloc_type): Handle N', NL' NLR' field | |
6487 | selectors. | |
6488 | (som_write_fixups): Finish handling of R_N0SEL and R_N1SEL. | |
6489 | ||
09609415 ILT |
6490 | Wed Feb 28 11:00:24 1996 Ian Lance Taylor <ian@cygnus.com> |
6491 | ||
6492 | * elf.c (assign_file_positions_for_segments): Adjust the segment | |
6493 | memory size for the alignment of a SEC_ALLOC section, not just a | |
6494 | SEC_LOAD section. | |
6495 | ||
55626bf0 ILT |
6496 | Tue Feb 27 14:17:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
6497 | ||
6498 | * m68klinux.c: New file. | |
6499 | * hosts/m68klinux.h: New file. | |
6500 | * config.bfd (m68*-*-linuxaout*, m68*-*-linux*): New targets. | |
6501 | * configure.in (m68*-*-linux*): New native host. | |
6502 | (m68klinux_vec): New vector. | |
6503 | * configure: Rebuild. | |
6504 | * targets.c (m68klinux_vec): Declare. | |
6505 | * i386linux.c (bfd_i386linux_size_dynamic_sections): Renamed from | |
6506 | bfd_linux_size_dynmic_sections to avoid clash with m68klinux.c. | |
6507 | * bfd-in.h (bfd_i386linux_size_dynamic_sections): Rename | |
6508 | declaration from bfd_linux_size_dynamic_sections. | |
6509 | (bfd_m68klinux_size_dynamic_sections): Declare. | |
6510 | * bfd-in2.h: Rebuild. | |
6511 | * Makefile.in: Rebuild dependencies. | |
6512 | (BFD32_BACKENDS): Add m68klinux.o. | |
6513 | (BFD32_BACKENDS_CFILES): Add m68klinux.c. | |
6514 | ||
6c7b3090 JL |
6515 | Tue Feb 27 11:31:34 1996 Jeffrey A Law (law@cygnus.com) |
6516 | ||
6517 | * libhppa.h (pa_arch): Add pa20. | |
6518 | (hppa_reloc_field_selector_type): Add R_HPPA_NSEL. | |
6519 | (e_nsel): Undefine. Add to hppa_reloc_field_selector_type_alt. | |
6520 | (hppa_field_adjust): Handle e_nsel. | |
6521 | * som.c: Provide default definitions for many new relocs found only | |
6522 | in hpux10 include files. | |
6523 | (som_fixup_formats): Add several new relocs from hpux10. | |
6524 | (som_hppa_howto_table): Add hpux10 relocs. | |
6525 | (som_write_fixups): Handle R_N0SEL and R_N1SEL hpux10 relocs. | |
6526 | ||
14fd4616 SS |
6527 | Mon Feb 26 12:52:48 1996 Stan Shebs <shebs@andros.cygnus.com> |
6528 | ||
6529 | * mpw-make.sed: Edit out recent shared library support, and | |
6530 | rules to rebuild .h files using doc/chew. | |
6531 | ||
3d9f042c ILT |
6532 | Mon Feb 26 14:48:39 1996 David Mosberger-Tang <davidm@AZStarNet.com> |
6533 | ||
6534 | * ecoff.c (ecoff_compute_section_file_positions): Adjust the file | |
6535 | size even of sections with no contents. | |
6536 | ||
bdec6228 ILT |
6537 | Mon Feb 26 14:01:13 1996 Ian Lance Taylor <ian@cygnus.com> |
6538 | ||
88358469 ILT |
6539 | * cofflink.c (_bfd_coff_link_input_bfd): When merging, skip names |
6540 | starting with '$' the way we skip names starting with '.'. When | |
6541 | updating x_endndx, don't be fooled by an index which has been | |
6542 | merged. | |
6543 | ||
bdec6228 ILT |
6544 | * cofflink.c (_bfd_coff_link_input_bfd): Don't try to optimize a |
6545 | struct/union/enum type with no elements. | |
6546 | ||
053ae1d7 ILT |
6547 | Sat Feb 24 11:38:58 1996 Ian Lance Taylor <ian@cygnus.com> |
6548 | ||
15f4406c ILT |
6549 | * bfd.c (bfd_errmsg): Handle a NULL return from strerror. |
6550 | ||
c8435133 ILT |
6551 | * archive.c (bfd_generic_archive_p): If the first file in the |
6552 | archive can not be recognized as an object, don't assume that this | |
6553 | is the wrong format. | |
6554 | ||
053ae1d7 ILT |
6555 | * elf.c (bfd_elf_set_dt_needed_name): Don't do anything if the |
6556 | format is not bfd_object. | |
6557 | (bfd_elf_get_dt_soname): Likewise. | |
6558 | ||
ea74d979 ILT |
6559 | Wed Feb 21 13:58:04 1996 Ian Lance Taylor <ian@cygnus.com> |
6560 | ||
6561 | * coff-sh.c (sh_relax_delete_bytes): Correct range of R_SH_USES | |
6562 | reloc. | |
6563 | ||
871a3f3b C |
6564 | Tue Feb 20 16:22:44 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
6565 | ||
6566 | * bfd.c (tdata): Add netbsd_core_data. | |
6567 | * bfd-in2.h: Regenerated. | |
6568 | ||
6569 | Tue Feb 20 16:50:02 1996 Ian Lance Taylor <ian@cygnus.com> | |
6570 | ||
fe6fc35f ILT |
6571 | * sunos.c (SUNOS_CONSTRUCTOR): Define. |
6572 | (sunos_add_one_symbol): Don't let a symbol from a dynamic object | |
6573 | override a constructor symbol. Set SUNOS_CONSTRUCTOR when | |
6574 | appropriate. | |
6575 | ||
871a3f3b C |
6576 | * bout.c (b_out_squirt_out_relocs): Use udata.i rather than flags |
6577 | to get the symbol index, matching 14 Jul 95 change. | |
6578 | ||
d3785301 FF |
6579 | Tue Feb 20 08:26:27 1996 Fred Fish <fnf@phydeaux.cygnus.com> |
6580 | ||
6581 | * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): | |
6582 | Remove duplicate definition of gp. | |
6583 | ||
60a49e7f ILT |
6584 | Mon Feb 19 12:37:41 1996 Ian Lance Taylor <ian@cygnus.com> |
6585 | ||
81bdcecf ILT |
6586 | * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Don't |
6587 | assume that we can set the GP value and then get the same value, | |
6588 | since it won't be true if the output file is neither ELF nor | |
6589 | ECOFF. | |
6590 | * coff-mips.c (mips_adjust_reloc_in): Don't bother to use | |
6591 | _bfd_get_gp_value here. | |
6592 | (mips_gprel_reloc): Don't assume we can set and get the GP value. | |
6593 | * elf32-mips.c (mips_elf_hi16_reloc): Get gp value from | |
6594 | mips_elf_final_gp. | |
6595 | (mips_elf_lo16_reloc): Likewise. | |
6596 | (mips_elf_final_gp): Add pgp parameter. Set it to the GP value. | |
6597 | Don't require that the BFD be ELF. | |
6598 | (mips_elf_gprel16_reloc): Get gp value from mips_elf_final_gp. | |
6599 | (mips_elf_gprel32_reloc): Likewise. | |
6600 | (mips_elf_relocate_section): Don't assume we can set and get the | |
6601 | GP value. | |
6602 | (mips_elf_finish_dynamic_symbol): Don't bother to use | |
6603 | _bfd_get_gp_value here. | |
6604 | ||
6605 | * elf32-mips.c (mips_elf_create_procedure_table): Initialize sv. | |
6606 | Don't change epdr between malloc and free. Be careful not to free | |
6607 | NULL pointers. Zero out the first RPDR. | |
6608 | ||
7b61165a ILT |
6609 | * configure.host: On Linux, only pass -rpath option if $(libdir) |
6610 | is neither /lib nor /usr/lib. From Alan Modra | |
6611 | <alan@mullet.Levels.UniSA.Edu.Au>. | |
6612 | ||
60a49e7f ILT |
6613 | * elf-bfd.h (struct elf_obj_tdata): Rename dt_needed_name to |
6614 | dt_name. | |
6615 | (elf_dt_name): Rename from elf_dt_needed_name. | |
6616 | * elf.c (bfd_elf_set_dt_needed_name): Use elf_dt_name, not | |
6617 | elf_dt_needed_name. | |
6618 | (bfd_elf_get_dt_soname): New function. | |
6619 | * elflink.h (elf_link_add_object_symbols): Use elf_dt_name, not | |
6620 | elf_dt_needed_name. Save the SONAME back in elf_dt_name. | |
6621 | * bfd-in.h (bfd_elf_get_dt_soname): Declare. | |
6622 | * bfd-in2.h: Rebuild. | |
6623 | ||
b268e261 DE |
6624 | Mon Feb 19 02:50:23 1996 Doug Evans <dje@charmed.cygnus.com> |
6625 | ||
6626 | * elf32-sparc.c (elf32_sparc_reloc_type_lookup): Renamed from | |
6627 | _bfd_sparc_elf_reloc_type_lookup. | |
6628 | (bfd_elf32_bfd_reloc_type_lookup): Update. | |
6629 | * elf64-sparc.c (SPARC64_OLD_RELOCS): Define. | |
6630 | (sparc64_elf_howto_table): Define. | |
6631 | (sparc_reloc_map): Define. | |
6632 | (sparc64_elf_reloc_type_lookup): New function. | |
6633 | (sparc_elf_wdisp16_reloc): New function. | |
6634 | (elf_info_to_howto): Use sparc64_elf_howto_table. | |
6635 | (sparc64_elf_relocate_section): Likewise. | |
6636 | (bfd_elf64_bfd_reloc_type_lookup): Update. | |
6637 | ||
9e2ef098 ILT |
6638 | Sun Feb 18 15:02:25 1996 Ian Lance Taylor <ian@cygnus.com> |
6639 | ||
6640 | * configure.host: Check for 'do not mix' from native linker before | |
6641 | trying to use -rpath. | |
6642 | ||
4c70373f ILT |
6643 | Fri Feb 16 12:46:18 1996 Ian Lance Taylor <ian@cygnus.com> |
6644 | ||
cba3f8a9 ILT |
6645 | * bfd.c (_bfd_get_gp_value): New function. |
6646 | (_bfd_set_gp_value): New function. | |
6647 | * libbfd-in.h (_bfd_get_gp_value): Declare. | |
6648 | (_bfd_set_gp_value): Declare. | |
6649 | * libbfd.h: Rebuild. | |
6650 | * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Use | |
6651 | _bfd_get_gp_value and _bfd_set_gp_value rather than referring | |
6652 | directly to the fields in the tdata information. | |
6653 | (alpha_relocate_section): Likewise. | |
6654 | * coff-mips.c (mips_adjust_reloc_in): Likewise. | |
6655 | (mips_gprel_reloc): Likewise. | |
6656 | (mips_relocate_section): Likewise. | |
6657 | * elf32-mips.c (mips_elf_hi16_reloc): Likewise. | |
6658 | (mips_elf_lo16_reloc): Likewise. | |
6659 | (mips_elf_final_gp): Likewise. | |
6660 | (mips_elf_gprel16_reloc): Likewise. | |
6661 | (mips_elf_gprel32_reloc): Likewise. | |
6662 | (mips_elf_relocate_section): Likewise. | |
6663 | (mips_elf_finish_dynamic_symbol): Likewise. | |
6664 | ||
4c70373f ILT |
6665 | * bout.c (b_out_set_arch_mach): Recognize bfd_mach_i960_jx. |
6666 | ||
a0a2dd54 ILT |
6667 | Thu Feb 15 11:29:13 1996 Ian Lance Taylor <ian@cygnus.com> |
6668 | ||
f54c7482 | 6669 | * configure.in: Call AC_PROG_CC before configure.host. |
65eed095 ILT |
6670 | * configure: Rebuild. |
6671 | * configure.host: Don't set information which autoconf should | |
6672 | figure out, namely CC, CFLAGS, LDFLAGS, AR, and RANLIB. | |
65eed095 | 6673 | |
14293419 ILT |
6674 | * configure.host: Remove go32 and win32 host information, since it |
6675 | should no longer be needed. | |
6676 | ||
edf3fe48 ILT |
6677 | * elf.c (map_sections_to_segments): If we have a .dynamic section, |
6678 | then start a new segment rather than put a writable section in a | |
6679 | readonly segment. | |
6680 | ||
b5e4f369 ILT |
6681 | * configure.host: Set RPATH_ENVVAR. |
6682 | ||
f2e33e27 ILT |
6683 | * Makefile.in: Rebuild dependencies. |
6684 | ||
a0a2dd54 ILT |
6685 | * elflink.c (_bfd_elf_create_linker_section): Remove unused |
6686 | zero_section variable. | |
6687 | ||
52c6bc4d ILT |
6688 | Thu Feb 15 10:39:17 1996 H.J. Lu <hjl@zoom.com> |
6689 | ||
6690 | * Makefile.in ($(srcdir)/bfd-in2.h): Rename target from bfd-in2.h. | |
6691 | ($(srcdir)/libbfd.h): Rename from libbfd.h. | |
6692 | ($(srcdir)/libcoff.h): Rename from libcoff.h. | |
6693 | ||
c9e5279f ILT |
6694 | Wed Feb 14 16:29:07 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de> |
6695 | ||
cb50baea ILT |
6696 | * ieee.c (ieee_write_expression): Only use an R variable for a |
6697 | local symbol. Don't output a zero offset. Handle a zero address. | |
6698 | (SRC_MASK, PCREL_OFFSET): Define based on KEEPMINUSPCININST. | |
6699 | (rel32_howto, rel16_howto, rel8_howto): Use SRC_MASK and | |
6700 | PCREL_OFFSET. | |
6701 | (parse_expression): Don't try to handle multiple occurrences of a | |
6702 | P variable. Handle I variables differently from X variables. Fix | |
6703 | the order of minus expressions. | |
6704 | (ieee_slurp_external_symbols): Generate an I variable for an NN | |
6705 | record. Fix handling of ATI and ATX records. | |
6706 | (ieee_slurp_sections): Only set minimal section attributes. | |
6707 | Adjust them later, based on the section contents. | |
6708 | (ieee_object_p): Read in the file until just after the ME record. | |
6709 | Call ieee_slurp_section_data to set the section flags. | |
6710 | (do_one): Add iterations parameter. Only repeat the first load | |
6711 | item. Set the section and file reloc flags. | |
6712 | (ieee_slurp_section_data): Set section flags. Pass iterations to | |
6713 | do_one. | |
6714 | (ieee_canonicalize_reloc): Handle I variables. | |
6715 | (do_with_relocs): Only emit relocation size when necessary. | |
6716 | Increase MAXRUN to 127. Change ov to be assigned, and take | |
6717 | src_mask and pcrel_offset into account. | |
6718 | (ieee_write_data_part): Skip sections that are not loaded. | |
6719 | (ieee_write_external_part): Don't output optional last entry of WX | |
6720 | records. | |
6721 | (ieee_write_me_part): Make setting of me_record neater. | |
6722 | (ieee_generic_stat_arch_elt): Get the size of an archive element. | |
6723 | ||
c9e5279f ILT |
6724 | * syms.c (stt): Add entries for zerovars, vars, and code. |
6725 | ||
6726 | * elfcode.h (validate_reloc): New static function. | |
6727 | (write_relocs): Call validate_reloc for non ELF relocs. | |
6728 | ||
6729 | * elfxx-target.h (elf_symbol_leading_char): Define if not defined. | |
6730 | (TARGET_BIG_SYM): Use elf_symbol_leading_char. | |
6731 | (TARGET_LITTLE_SYM): Likewise. | |
6732 | ||
6733 | * config.bfd (m68*-*-psos*): New target. | |
6734 | ||
d9d65be6 ILT |
6735 | Tue Feb 13 15:56:22 1996 Bryan Ford <baford@snake.cs.utah.edu> |
6736 | ||
6737 | * i386msdos.c: Remove some #if 0 code. | |
6738 | (msdos_write_object_contents): Don't include empty sections in the | |
6739 | size computation, regardless of their address. | |
6740 | ||
6741 | Tue Feb 13 15:36:37 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6742 | ||
6743 | * elf32-ppc.c (ppc_elf_relocate_section): Don't segfault if dynboj | |
6744 | is NULL, ie, the -r switch is used. | |
6745 | ||
db5970c7 ILT |
6746 | Tue Feb 13 14:35:15 1996 Ian Lance Taylor <ian@cygnus.com> |
6747 | ||
e9f03cd4 ILT |
6748 | * reloc.c (BFD_RELOC_MIPS_GOT_HI16): Define. |
6749 | (BFD_RELOC_MIPS_GOT_LO16): Define. | |
b7384d22 | 6750 | (BFD_RELOC_MIPS_CALL_HI16, BFD_RELOC_MIPS_CALL_LO16): Define. |
e9f03cd4 ILT |
6751 | * bfd-in2.h, libbfd.h: Rebuild. |
6752 | * elf32-mips.c (mips_reloc_map): Map new relocs. | |
6753 | ||
fe7c066a ILT |
6754 | * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared. |
6755 | ||
1ab628e4 ILT |
6756 | * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not |
6757 | $(SHLINK). | |
6758 | ||
db5970c7 ILT |
6759 | * ieee.c (get_symbol): Set the section to bfd_abs_section. |
6760 | (do_with_relocs): If EXEC_P is set and there are no relocs, use a | |
6761 | simple number for the section address, rather than an expression. | |
6762 | Limit the number of bytes between relocs to MAXRUN. | |
6763 | (ieee_write_me_part): Set me_record to the file offset after the | |
6764 | start address. | |
6765 | (ieee_write_processor): New static function. | |
6766 | (ieee_write_object_contents): Use ieee_write_processor. | |
6767 | ||
318b7c18 ILT |
6768 | Fri Feb 9 10:53:00 1996 Ian Lance Taylor <ian@cygnus.com> |
6769 | ||
db5970c7 ILT |
6770 | * configure.host: Use ${CC-gcc} when testing for -rpath on SunOS. |
6771 | ||
6772 | * coff-aux.c: Change include of aux.h to aux-coff.h. | |
318b7c18 | 6773 | |
56b64690 ILT |
6774 | Thu Feb 8 14:01:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
6775 | ||
6776 | * elf32-m68k.c (elf_m68k_relocate_section): For a R_68K_RELATIVE | |
6777 | relocation put the addend both in the reloc entry and the data. | |
6778 | (elf_m68k_finish_dynamic_symbol): Likewise. Mask out marker in | |
6779 | GOT offset value. | |
6780 | ||
6781 | * elf32-m68k.c (elf_m68k_relocate_section): If -Bsymbolic, resolve | |
6782 | a R_68K_PCxx reloc against a defined global symbol directly. | |
6783 | (elf_m68k_check_relocs): Don't count such a reloc. | |
6784 | ||
6785 | * elf32-m68k.c (elf_m68k_check_relocs): Don't record a symbol with | |
6786 | a PLTxx reloc as dynamic. Disallow PLTxxO reloc against a local | |
6787 | symbol for now, otherwise always record the symbol as dynamic. | |
6788 | (elf_m68k_adjust_dynamic_symbol): If a symbol with a PLTxx reloc | |
6789 | is not referenced by a dynamic object, and we are not making a | |
6790 | shared object, then don't make a PLT entry. If we do make a PLT | |
6791 | entry, make sure the symbol has been recorded as dynamic. | |
6792 | ||
5d649ca8 ILT |
6793 | Wed Feb 7 13:56:06 1996 Ian Lance Taylor <ian@cygnus.com> |
6794 | ||
6795 | * configure.host: When making a shared library, set HLDFLAGS to | |
6796 | pass an appropriate -rpath option. Use the make variable SONAME | |
6797 | as the shared library soname, rather than computing it here. On | |
6798 | SunOS, build stamp-tshlink in place of $(SHLINK). | |
6799 | * Makefile.in (SONAME): New variable. | |
6800 | ($(SHLINK)): Make a link to the transformed name, as well. | |
6801 | (stamp-tshlink): New target. | |
6802 | (install): Skip stamp-tshlink during install. | |
6803 | ||
8cc98cd5 MM |
6804 | Wed Feb 7 13:37:39 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
6805 | ||
56b64690 ILT |
6806 | * elf32-ppc.c (ppc_elf_add_symbol_hook): Do not assume that the |
6807 | linker sections have been set up yet. | |
6808 | ||
8cc98cd5 MM |
6809 | * elf.c (make_mapping): Add an additional argument to suppress |
6810 | making the first section include the program headers. | |
6811 | (map_sections_to_segments): If the user used -Ttext such that the | |
6812 | program headers are on a different page, do not set the flags | |
6813 | saying that this section includes the program headers. | |
6814 | ||
fe16107d C |
6815 | Tue Feb 6 14:04:49 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
6816 | ||
6817 | * configure.in (*-*-netbsd*): Set COREFILE to netbsd-core.c. | |
6818 | don't define TRAD_HEADER. | |
6819 | * configure: Rebuild. | |
6820 | ||
6821 | * netbsd-core.c: New file, support for NetBSD core files. | |
6822 | * hosts/*nbsd.h: Removed. | |
6823 | ||
f1783016 DE |
6824 | Tue Feb 6 11:47:49 1996 Doug Evans <dje@charmed.cygnus.com> |
6825 | ||
6826 | * reloc.c (BFD_RELOC_SPARC_[567]): New reloc types. | |
6827 | (BFD_RELOC_SPARC_LO7 reloc type): Deleted. | |
6828 | * libbfd.h, bfd-in2.h: Regenerated. | |
6829 | * elf32-sparc.c (_bfd_sparc_elf_reloc_type_lookup): Renamed from | |
6830 | bfd_elf32_bfd_reloc_type_lookup. | |
6831 | (reloc_type{,_names}): Deleted. | |
6832 | (_bfd_sparc_elf_howto_table): Renamed from elf_sparc_howto_table. | |
6833 | Add sparc64 relocs. | |
6834 | (sparc_reloc_map): Add sparc64 relocs. | |
6835 | (sparc_elf_notsupported_reloc): New static function. | |
6836 | (sparc_elf_wdisp16_reloc): New static function. | |
6837 | (elf32_sparc_check_relocs): Handle R_SPARC_WDISP{16,19}. | |
6838 | (elf32_sparc_relocate_section): Likewise. | |
6839 | (bfd_elf32_bfd_reloc_type_lookup): Define. | |
6840 | * elf64-sparc.c (sparc64_elf_wdisp16_reloc): Deleted. | |
6841 | (reloc_type{,_names}): Deleted. | |
6842 | (elf_sparc_howto_table): Deleted. | |
6843 | (sparc_reloc_map): Deleted. | |
6844 | (_bfd_sparc_elf_howto_table): Renamed from elf_sparc_howto_table. | |
6845 | (bfd_elf64_bfd_reloc_type_lookup): Change from function to #define. | |
6846 | ||
48fd00b6 ILT |
6847 | Tue Feb 6 12:12:22 1996 Ian Lance Taylor <ian@cygnus.com> |
6848 | ||
2300e217 ILT |
6849 | * configure.host: Make SHLIB_CFLAGS include $(PICFLAG) on a |
6850 | *-*-hpux* host. | |
6851 | ||
48fd00b6 ILT |
6852 | * Makefile.in (program_transform_name): New variable. |
6853 | (install): Transform library name before installing it. | |
6854 | ||
8adca582 ILT |
6855 | Mon Feb 5 10:38:27 1996 Ian Lance Taylor <ian@cygnus.com> |
6856 | ||
cbe75cb6 ILT |
6857 | * archures.c (bfd_mach_i960_hx): Define. |
6858 | * bfd-in2.h: Rebuild. | |
6859 | * cpu-i960.c (scan_960_mach): Accept machine "hx". | |
6860 | (MATRIX): Expand entries for HX. | |
6861 | (arch_info_struct): Add i960:hx entry. | |
6862 | * bout.c (b_out_set_arch_mach): Handle bfd_mach_i960_hx. | |
6863 | * coffcode.h (coff_set_arch_mach_hook): Handle F_I960HX. | |
6864 | (coff_set_flags): Handle bfd_mach_i960_hx. | |
6865 | ||
44f795f7 ILT |
6866 | Support for building as a shared library, based on patches from |
6867 | Alan Modra <alan@spri.levels.unisa.edu.au>: | |
6868 | * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib. | |
6869 | New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC, | |
6870 | SHLIB_CFLAGS, COMMON_SHLIB, PICLIST, SHLINK. | |
6871 | * configure: Rebuild. | |
6872 | * configure.host: If --enable-shared, adjust shared library stuff | |
6873 | based on the host. If the host is SunOS, and the linker supports | |
6874 | -rpath, set HLDFLAGS to use it. | |
6875 | * Makefile.in (ALLLIBS): New variable. | |
6876 | (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables. | |
6877 | (COMMON_SHLIB, SHLINK): New variables. | |
6878 | (.c.o): If PICFLAG is set, compile twice, once PIC, once normal. | |
6879 | (STAGESTUFF): Remove variable. | |
6880 | (all): Depend upon $(ALLLIBS) and @PICLIST@ rather than | |
6881 | $(TARGETLIB). | |
6882 | (stamp-ofiles): New target, like old ofiles target, but build | |
6883 | using a temporary file and move-if-change, and touch stamp-ofiles | |
6884 | when done. | |
6885 | (ofiles): Just depend upon stamp-ofiles. | |
6886 | (stamp-piclist, piclist): New targets. | |
6887 | ($(SHLIB), $(SHLINK)): New targets. | |
6888 | (targets.o, archures.o): Build twice if PICFLAG is set. | |
6889 | (do_mostlyclean): Remove pic/*.o. | |
6890 | (do_clean): Remove stamp-ofiles, $(SHLIB), $(SHLINK), piclist, and | |
6891 | stamp-piclist. | |
6892 | (do_distclean): Remove pic and stamp-picdir. | |
6893 | (install): Install shared libraries. | |
6894 | ($(OFILES)): Depend upon stamp-picdir. | |
6895 | (stamp-picdir): New target. | |
6896 | ||
cb62d2bc ILT |
6897 | * libcoff-in.h: Add comment reminding people that libcoff.h is a |
6898 | generated file. | |
6899 | * libcoff.h: Rebuild. | |
6900 | ||
8adca582 ILT |
6901 | * elflink.h (elf_adjust_dynamic_symbol): Don't try to get the |
6902 | flavour of a section with no owner. | |
6903 | ||
6904 | * elf32-mips.c (mips_elf_create_dynamic_sections): Clear | |
6905 | ELF_LINK_NON_ELF flag. | |
6906 | (mips_elf_create_got_section): Likewise. | |
6907 | ||
6908 | * elf.c: Revert last change, since it breaks dynamic linking. | |
6909 | * elf-bfd.h (struct elf_backend_data): Remove want_hdr_in_seg | |
6910 | field. | |
6911 | * elf32-mips.c (elf_backend_want_hdr_in_seg): Don't define. | |
6912 | * elfxx-target.h (elf_backend_want_hdr_in_seg): Don't define. | |
6913 | (elfNN_bed): Don't initialize want_hdr_in_seg field. | |
6914 | ||
6915 | Sun Feb 4 20:45:13 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
6916 | ||
6917 | * elf.c (assign_file_positions_for_segments): If the backend does | |
6918 | not want the elf header or the program headers in the address | |
6919 | space, do not include them in the calculations. | |
6920 | ||
6921 | * elf32-ppc.c (ppc_elf_additional_program_headers): New hook | |
6922 | function to determine if we need additional program headers. | |
6923 | (ppc_elf_modify_segment_map): Define as a NOP function for now. | |
6924 | (ppc_elf_create_linker_section): .sdata2 is a read-only section. | |
6925 | ||
0f09ddd4 ILT |
6926 | Sat Feb 3 23:00:03 1996 Ian Lance Taylor <ian@cygnus.com> |
6927 | ||
6928 | * coffcode.h: Move today's libcoff.h change into coffcode.h. | |
6929 | ||
b48f10ba FF |
6930 | Sat Feb 3 15:43:44 1996 Fred Fish <fnf@cygnus.com> |
6931 | ||
0f09ddd4 ILT |
6932 | * libcoff.h (bfd_coff_link_add_one_symbol): Combine macro args |
6933 | back into one line. Some compilers (sunos 4.1.3 for example) | |
6934 | won't accept args split across more than one line. | |
b48f10ba | 6935 | |
50761d3b SC |
6936 | Fri Feb 2 11:42:15 1996 Steve Chamberlain <sac@slash.cygnus.com> |
6937 | ||
6938 | * aclocal.m4 (BFD_BINARY_FOPEN): Understand cygwin32. | |
6939 | * configure: Regenerate. | |
6940 | ||
9dce8260 JL |
6941 | Fri Feb 2 12:12:16 1996 Jeffrey A Law (law@cygnus.com) |
6942 | ||
6943 | * elf32-hppa.c (elf32_hppa_backend_symbol_table_processing): Don't | |
6944 | try to do arithmetic on a void *, cast it to a unsigned char * first. | |
6945 | ||
6c55897c ILT |
6946 | Thu Feb 1 16:04:06 1996 Ian Lance Taylor <ian@cygnus.com> |
6947 | ||
869b7d80 ILT |
6948 | * elf-bfd.h (ELF_LINK_NON_ELF): Define. |
6949 | * elf.c (_bfd_elf_link_hash_newfunc): Set elf_link_hash_flags to | |
6950 | ELF_LINK_NON_ELF. | |
6951 | * elflink.h (elf_link_add_object_symbols): Reset ELF_LINK_NON_ELF | |
6952 | flag for a newly defined symbol. | |
6953 | (NAME(bfd_elf,record_link_assignment)): Likewise. | |
6954 | (elf_adjust_dynamic_symbol): If ELF_LINK_NON_ELF is set, try to | |
6955 | set the DEF or REF_REGULAR flags correctly. | |
6956 | ||
6f6956c6 ILT |
6957 | * Makefile.in (bfd-in2.h): Make bfd.h, not protos, in docdir. |
6958 | (libbfd.h, libcoff.h): Corresponding change. | |
6959 | ||
6c55897c ILT |
6960 | * elf32-i386.c (elf_i386_check_relocs): Don't record a symbol with |
6961 | a PLT32 reloc as dynamic. | |
6962 | (elf_i386_adjust_dynamic_symbol): If a symbol with a PLT32 reloc | |
6963 | is not referenced by a dynamic object, and we are not making a | |
6964 | shared object, then don't make a PLT entry. If we do make a PLT | |
6965 | entry, make sure the symbol has been recorded as dynamic. | |
6966 | ||
b06136f2 SC |
6967 | Wed Jan 31 17:23:32 1996 Steve Chamberlain <sac@slash.cygnus.com> |
6968 | ||
6969 | * coff-i386.c (coff_i386_reloc_type_lookup): Add BFD_RELOC_32_PCREL. | |
6970 | * config.bfd (i[345]86-*-win32): Becomes i[345]86-*-cygwin32. | |
6971 | (powerpcle-*-cygwin32): New. | |
6972 | * peicode.h (add_data_entry): Get address from vma. | |
6973 | ||
5c867ecd MM |
6974 | Wed Jan 31 16:23:57 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
6975 | ||
6976 | * elflink.c (_bfd_elf_create_linker_section): If the symbol | |
6977 | attached to the section has already been created as an undefined | |
6978 | symbol, treat it as if it hasn't been created yet. | |
6979 | ||
28c16b55 ILT |
6980 | Wed Jan 31 16:16:53 1996 Ian Lance Taylor <ian@cygnus.com> |
6981 | ||
6982 | * elflink.h (elf_bfd_final_link): Don't output initial dummy | |
6983 | symbol or section symbols if stripping all symbols and this is not | |
6984 | a relocateable link. Don't output the symbol string table if | |
6985 | there are no symbols. | |
6986 | (elf_link_flush_output_syms): Don't do anything if there are no | |
6987 | symbols to flush. | |
6988 | ||
d19df9b5 ILT |
6989 | Wed Jan 31 12:55:49 1996 Richard Henderson <rth@tamu.edu> |
6990 | ||
6991 | * coff-aux.c: New file. | |
6992 | * hosts/m68kaux.h: New file. | |
6993 | * config.bfd (m68*-apple-aux*): New target. | |
6994 | * configure.in (m68*-apple-aux*): New native host. | |
6995 | (m68kaux_coff_vec): New vector. | |
6996 | * configure: Rebuild. | |
6997 | * targets.c (m68kaux_coff_vec): Declare. | |
6998 | * coffcode.h (bfd_coff_backend_data): Add field | |
6999 | _bfd_coff_link_add_one_symbol. | |
7000 | (bfd_coff_link_add_one_symbol): Define. | |
7001 | (compare_arelent_ptr): New static function if TARG_AUX. | |
7002 | (coff_write_relocs): If TARG_AUX, sort the relocs. | |
7003 | (coff_write_object_contents): Set A/UX aouthdr magic number. | |
7004 | (coff_link_add_one_symbol): Define if not defined. | |
7005 | (bfd_coff_std_swap_table): Initialize new field. | |
7006 | * libcoff.h: Rebuild. | |
7007 | * cofflink.c (coff_link_add_symbols): Call | |
7008 | bfd_coff_link_add_one_symbol rather than | |
7009 | _bfd_generic_link_add_one_symbol. | |
7010 | * coff-m68k.c (COFF_PAGE_SIZE): Don't define if already defined. | |
7011 | * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. | |
7012 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
7013 | * Makefile.in: Rebuild dependencies. | |
7014 | (BFD32_BACKENDS): Add coff-aux.o. | |
7015 | (BFD32_BACKENDS_CFILES): Add coff-aux.c. | |
7016 | ||
a796aafd ILT |
7017 | Wed Jan 31 11:37:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
7018 | ||
7019 | * elf32-m68k.c (elf_m68k_relocate_section): Fix R_68K_GOT* | |
7020 | relocation; ignore addend with R_68K_{GOT,PLT}*O relocation. | |
7021 | ||
a8763553 ILT |
7022 | Tue Jan 30 12:09:04 1996 Ian Lance Taylor <ian@cygnus.com> |
7023 | ||
66761e59 ILT |
7024 | * Makefile.in (do_maintainer_clean): Remove $(srcdir)/bfd-in2.h, |
7025 | $(srcdir)/libbfd.h and $(srcdir)/libcoff.h. | |
7026 | (maintainer-clean): Warn about deleting special files. | |
7027 | (bfd-in2.h, libbfd.h, libcoff.h): New targets. | |
7028 | ||
cf5138e3 ILT |
7029 | * elf32-hppa.c (elf32_hppa_relocate_section): Handle indirect and |
7030 | warning symbols correctly. | |
7031 | * elf32-i386.c (elf_i386_relocate_section): Likewise. | |
7032 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
7033 | * elf32-mips.c (mips_elf_relocate_section): Likewise. | |
7034 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
7035 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
7036 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
7037 | ||
a8763553 ILT |
7038 | * syms.c (_bfd_stab_section_find_nearest_line): Add casts to avoid |
7039 | warnings. | |
7040 | ||
bdd2e7f1 KK |
7041 | Mon Jan 29 14:27:24 1996 Kim Knuttila <krk@cygnus.com> |
7042 | ||
cf2cd4cf | 7043 | * libcoff-in.h: aligned newly exported names with bfd naming |
bdd2e7f1 KK |
7044 | conventions. Removed an erroneous define of POWERPC_LE_PE. |
7045 | * libcoff.h: Rebuild. | |
7046 | * cofflink.c, coff-ppc.c: the above function name changes | |
7047 | ||
d2bb6c79 ILT |
7048 | Mon Jan 29 13:06:28 1996 Ian Lance Taylor <ian@cygnus.com> |
7049 | ||
eb5bc1f3 ILT |
7050 | From Basim Kadhim <kadhim@spock.cs.colorado.edu>: |
7051 | * ecoff.c (struct extsym_info): Define. | |
7052 | (_bfd_ecoff_bfd_final_link): Pass a pointer to struct extsym_info | |
7053 | to ecoff_link_write_external. | |
7054 | (ecoff_link_write_external): Accept a struct extsym_info pointer. | |
7055 | Strip symbols when appropriate. | |
7056 | ||
052b35d2 ILT |
7057 | Based on patches from Ronald F. Guilmette <rfg@monkeys.com>: |
7058 | * syms.c (BSF_OBJECT): Define. | |
7059 | (bfd_print_symbol_vandf): Print 'O' for BSF_OBJECT. | |
7060 | * bfd-in2.h: Rebuild. | |
7061 | * elfcode.h (elf_slurp_symbol_table): Set BSF_OBJECT for an | |
7062 | STT_OBJECT symbol. | |
7063 | * elf.c (swap_out_syms): Only set type to STT_OBJECT if BSF_OBJECT | |
7064 | is set. | |
7065 | ||
53787b23 ILT |
7066 | * elf32-i386.c (elf_i386_relocate_section): If -Bsymbolic, when |
7067 | copying relocs into a shared object, treat a defined global symbol | |
7068 | as a local symbol. | |
7069 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
7070 | * elf32-mips.c (mips_elf_relocate_section): Likewise. | |
7071 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
7072 | ||
d2bb6c79 ILT |
7073 | * elflink.h (elf_link_add_object_symbols): Only set weakdef to a |
7074 | real defined symbol, not to a weak defined symbol. | |
7075 | ||
13d1a4dd KK |
7076 | Mon Jan 29 11:34:36 1996 Kim Knuttila <krk@cygnus.com> |
7077 | ||
7078 | * cofflink.c: removed the POWERPC_LE_PE hack, promoted some types | |
7079 | and made a few static functions externs. | |
7080 | ||
7081 | * coff-ppc.c (ppc_bfd_coff_final_link): new function, replaces the | |
7082 | POWERPC_LE_PE hack in cofflink. | |
7083 | ||
7084 | * libcoff-in.h: promoted the following from cofflink.c to allow | |
7085 | _bfd_coff_final_link to be overridden - STRING_SIZE_SIZE, | |
cf2cd4cf | 7086 | coff_debug_merge_element, struct coff_debug_merge_type, |
13d1a4dd KK |
7087 | coff_debug_merge_hash_entry, coff_debug_merge_hash_table, |
7088 | coff_debug_merge_hash_table_init, coff_debug_merge_hash_table_free, | |
cf2cd4cf | 7089 | coff_debug_merge_hash_lookup, coff_link_section_info, |
13d1a4dd KK |
7090 | coff_final_link_info, coff_debug_merge_hash_newfunc, |
7091 | coff_write_global_sym, coff_link_input_bfd, coff_reloc_link_order. | |
7092 | ||
7093 | * libcoff.h: re-gen'd | |
7094 | ||
86aac8ea ILT |
7095 | Fri Jan 26 18:33:35 1996 Ian Lance Taylor <ian@cygnus.com> |
7096 | ||
7097 | * syms.c: Include "bfdlink.h". | |
7098 | (struct stab_find_info): Define. | |
7099 | (_bfd_stab_section_find_nearest_line): New function. | |
7100 | * libbfd-in.h (_bfd_stab_section_find_nearest_line): Declare. | |
7101 | * libbfd.h: Rebuild. | |
7102 | * elf-bfd.h (struct elf_obj_tdata): Add line_info field. | |
7103 | * elf.c (_bfd_elf_find_nearest_line): Try calling | |
7104 | _bfd_stab_section_find_nearest_line before searching the ELF | |
7105 | symbol table. Find the closest STT_FUNC symbol, not the last one. | |
7106 | * libcoff-in.h (coff_data_type): Add line_info field. | |
bdd2e7f1 | 7107 | * libcoff.h: Rebuild. |
86aac8ea ILT |
7108 | * coffgen.c (coff_find_nearest_line): Try calling |
7109 | _bfd_stab_section_find_nearest_line before searching the COFF | |
7110 | symbol table. | |
7111 | * Makefile.in: Rebuild dependencies. | |
7112 | ||
7113 | Fri Jan 26 16:11:19 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
7114 | ||
7115 | * elf32-ppc.c (R_PPC_EMB_SDA21 relocations): Make relocation size | |
7116 | 4 bytes, so we get the correct value when updating the register | |
7117 | field in little endian mode. | |
7118 | ||
43d36aad ILT |
7119 | Thu Jan 25 12:14:16 1996 Ian Lance Taylor <ian@cygnus.com> |
7120 | ||
f0a97077 ILT |
7121 | * libcoff-in.h (struct xcoff_tdata): Remove toc_section and |
7122 | entry_section fields. Add sntoc and snentry fields. | |
7123 | * libcoff.h: Rebuild. | |
7124 | * coffcode.h (coff_mkobject_hook): Initialize sntoc and snentry, | |
7125 | not toc_section and entry_section (the COFF file does not have any | |
7126 | sections at this point). | |
7127 | (coff_write_object_contents): Set o_snentry and o_sntoc from | |
7128 | snentry and sntoc rather than entry_section and toc_section. | |
7129 | * coff-rs6000.c (xcoff_copy_private_bfd_data): Copy sntoc and | |
7130 | snentry, not toc_section and entry_section. | |
7131 | * xcofflink.c (bfd_xcoff_size_dynamic_sections): Don't set | |
7132 | entry_section from hentry. | |
7133 | (xcoff_link_input_bfd): If a defined symbol has XCOFF_ENTRY set, | |
ea2504d5 | 7134 | set snenty. |
f0a97077 ILT |
7135 | (xcoff_link_input_bfd): Set sntoc, not toc_section. |
7136 | (xcoff_write_global_symbol): Get toc_section from sntoc, rather | |
7137 | than using toc_section directly. | |
7138 | ||
9b4598d0 ILT |
7139 | * archures.c: Add missing `.' in enum bfd_architecture. |
7140 | * bfd-in2.h: Rebuild. | |
7141 | ||
43d36aad ILT |
7142 | * config.bfd (i[345]86-*-sco*elf*): Use bfd_elf32_i386_vec. From |
7143 | Robert Lipe <robertl@arnet.com>. | |
7144 | ||
eb82bc60 MM |
7145 | Thu Jan 25 12:08:51 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
7146 | ||
7147 | * elf32-ppc.c (ppc_elf_size_dynamic_sections): Add .rela.sdata{,2} | |
7148 | to sections we allocate. Use bfd_zalloc to allocate initialial | |
7149 | sections, not bfd_alloc. | |
7150 | (ppc_elf_check_relocs): Remove BFD_ASSERTs for !shared from | |
7151 | SDA{,2}I16 relocations. | |
7152 | (ppc_elf_add_symbol_hook): Use the value of -G nn to determine | |
7153 | whether to put something in .sbss or not. | |
7154 | (ppc_elf_relocate_section): Add support for more relocations. Add | |
c1e65e24 MM |
7155 | in sec->output_offset where appropriate. Make error messages |
7156 | include the symbol name. | |
eb82bc60 MM |
7157 | |
7158 | * elflink.c (_bfd_elf_create_linker_section): Lookup symbol before | |
7159 | trying to add it to the symbol table, so _GLOBAL_OFFSET_TABLE_ | |
7160 | doesn't get redefined messages if -shared. | |
7161 | ||
7162 | * elflink.h (elf_create_pointer_linker_section) Only bump RELA | |
7163 | section if the rel_section field has been set up. | |
7164 | ||
9d621c7d MM |
7165 | Wed Jan 24 20:40:26 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
7166 | ||
7167 | * elf32-ppc.c (ppc_elf_relocate_section): Fix typo in eabi | |
7168 | relocations. | |
7169 | ||
75c9ddc9 DE |
7170 | Wed Jan 24 10:38:34 1996 Doug Evans <dje@charmed.cygnus.com> |
7171 | ||
7172 | * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Delete checking | |
7173 | of flags, only flags used are controlled by mach number. Bump up | |
7174 | output file mach number to highest of input file mach numbers. | |
7175 | (elf32_sparc_object_p): Watch for EF_SPARC_SUN_US1. | |
7176 | (elf32_sparc_final_write_processing): Set EF_SPARC_SUN_US1 if v8plusa. | |
7177 | ||
72c513bc DE |
7178 | * config.bfd (sparc64-*-{sysv4*,solaris2*}): Comment out |
7179 | bfd_elf64_sparc_vec support. | |
7180 | ||
3cbe19d2 MM |
7181 | Tue Jan 23 14:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
7182 | ||
7183 | * elf32-ppc.c (ppc_elf_copy_private_bfd_data): Don't complain if | |
7184 | the embedded bit is set on some objects and not on others. Just | |
7185 | or it together. | |
d8fd85ad MM |
7186 | (ppc_elf_relocate_section): Implement R_PPC_EMB_{SDA21,RELSDA} |
7187 | relocations. | |
3cbe19d2 | 7188 | |
5eb83ede ILT |
7189 | Tue Jan 23 14:22:45 1996 Ian Lance Taylor <ian@cygnus.com> |
7190 | ||
4a3d3b42 ILT |
7191 | * coffcode.h (coff_new_section_hook): Don't try to align the |
7192 | .stabstr section. | |
7193 | ||
5eb83ede ILT |
7194 | * coffcode.h (coff_set_section_contents): Fix the handling of the |
7195 | .lib section to work even if the entire section contents are | |
7196 | written at once. From Gvran Uddeborg <gvran@uddeborg.pp.se> and | |
7197 | Robert Lipe <robertl@arnet.com>. | |
7198 | ||
05f927dd MM |
7199 | Mon Jan 22 18:45:51 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
7200 | ||
7201 | * elflink.h (elf_finish_pointer_linker_section): Don't allocate | |
7202 | memory here for contents. | |
7203 | ||
7204 | * elf32-ppc.c (ppc_elf_relocate_section): Bump up _SDA_BASE_ and | |
7205 | _SDA2_BASE_ by 32768. | |
7206 | (ppc_elf_size_dynamic_sections): #if out PLT code which we haven't | |
7207 | started using. Allocate contents for .sdata and .sdata2 sections | |
7208 | also. | |
7209 | (ppc_elf_check_relocs): Use bfd_get_section_name in debug message, | |
7210 | rather than _name. | |
7211 | (ppc_elf_finish_dynamic_symbol): Remove code that attempted to | |
7212 | size _SDA{,2}_BASE_. | |
7213 | (ppc_elf_relocate_section): Change how sdata{,2} relocations are | |
7214 | done. | |
7215 | ||
5bc513b4 DE |
7216 | Mon Jan 22 08:52:04 1996 Doug Evans <dje@charmed.cygnus.com> |
7217 | ||
5a5bac64 DE |
7218 | * elflink.h (elf_finish_pointer_linker_section): Fix typo. |
7219 | ||
5bc513b4 | 7220 | * archures.c (bfd_mach_sparc_v9): Renamed from bfd_mach_sparc64. |
5bc513b4 | 7221 | (bfd_mach_sparc_{v8plus,v8plusa}): Define. |
5bc513b4 | 7222 | (bfd_mach_sparc_v9a): Define. |
049f3d4c | 7223 | (bfd_mach_sparc_v9_p): Define. |
5bc513b4 DE |
7224 | * bfd-in2.h: Regenerated. |
7225 | * aoutx.h (aout,machine_type): bfd_mach_sparc64 renamed to | |
7226 | bfd_mach_sparc_v9. | |
d3366d23 | 7227 | * elf64-sparc.c (sparc64_elf_object_p): Likewise. |
5bc513b4 DE |
7228 | * config.bfd (sparc64-*-sysv4*,sparc64-*-solaris2*): Set targ_defvec |
7229 | to bfd_elf32_sparc_vec. | |
7230 | * cpu-sparc.c (arch_info_struct): Renamed from sparc_arch_info. | |
5bc513b4 | 7231 | Add v8plus{,a} support. |
5bc513b4 | 7232 | Add v9a support. |
768b8ade | 7233 | (sparc_compatible): New function. |
5bc513b4 | 7234 | * elf32-sparc.h: #include "elf/sparc.h". |
75c9ddc9 | 7235 | (elf32_sparc_merge_private_bfd_data, elf32_sparc_object_p, |
5bc513b4 | 7236 | elf32_sparc_final_write_processing): New functions. |
75c9ddc9 | 7237 | (bfd_elf32_bfd_merge_private_bfd_data, elf_backend_object_p, |
5bc513b4 | 7238 | elf_backend_final_write_processing): Define. |
5bc513b4 | 7239 | |
3b3753b8 MM |
7240 | Mon Jan 22 11:21:51 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
7241 | ||
7242 | * elf-bfd.h (struct elf_link_hash_entry): Add | |
7243 | linker_section_pointer field. | |
7244 | (enum elf_linker_section_enum): Enumeration for new way of | |
7245 | creating linker dynamic sections and symbols. | |
7246 | (elf_linker_section{,_pointers}): New structures for creating | |
7247 | dynamic sections and symbols. | |
7248 | (elf_obj_tdata): Add linker_section_pointers and linker_section | |
7249 | fields. | |
7250 | (elf_local_ptr_offsets,elf_linker_section): New accessor macros. | |
7251 | (_bfd_elf_create_linker_section): New declarations. | |
7252 | (_bfd_elf_find_pointer_linker_section): Ditto. | |
7253 | (bfd_elf{32,64}_{create,finish}_pointer_linker_section): Ditto. | |
7254 | (_bfd_elf_make_linker_section_rela): Ditto. | |
7255 | ||
7256 | * elf.c (_bfd_elf_link_hash_newfunc): Initialize new fields. | |
7257 | ||
7258 | * elf32-ppc.c (ppc_elf_create_dynamic_sections): Delete. | |
7259 | (ppc_elf_create_linker_section): New function to create the | |
7260 | sections .got, .sdata, and .sdata2. | |
7261 | (ppc_elf_size_dynamic_sections): Zap .rela.{sdata,sdata2} if | |
7262 | needed. | |
7263 | (ppc_elf_check_relocs): Support more of the eabi relocations. | |
7264 | (ppc_elf_relocate_section): Ditto. | |
7265 | (ppc_elf_finish_dynamic_symbols): Adjust _SDA{,2}_BASE_ by 32768 | |
7266 | if the .sdata{,2} + .sbss{,2} section size is > 32k. | |
7267 | ||
7268 | * elflink.h (elf_create_pointer_linker_section): New function to | |
7269 | create initialized pointers in dynamic linker sections. | |
7270 | (elf_finish_pointer_linker_section): Actually intialize the | |
7271 | pointers created above. | |
7272 | ||
7273 | * elfcode.h (bfd_elf{32,64}_create_pointer_linker_section): New | |
7274 | macros to provide both 32 and 64 bit versions of | |
7275 | elf_create_pointer_linker_section. | |
7276 | (bfd_elf{32,64}_finish_pointer_linker_section): New macros to | |
7277 | provide both 32 and 64 bit versions of | |
7278 | elf_finish_pointer_linker_section. | |
7279 | ||
7280 | * elflink.c (_bfd_elf_create_linker_section): New function to | |
7281 | create a linker section. | |
7282 | (_bfd_elf_find_pointer_linker_section): Find a unique pointer to a | |
7283 | given address in the linker pointer offsets created for a given | |
7284 | symbol. | |
7285 | (_bfd_elf_make_linker_section_rela): Make a RELA section | |
7286 | corresponding to the generated linker section. | |
7287 | ||
6b3eb07e DE |
7288 | Sat Jan 20 08:36:10 1996 Doug Evans <dje@canuck.cygnus.com> |
7289 | ||
7290 | * elf32-sparc.c (ELF_MACHINE_ALT1): Define. | |
7291 | ||
e7894f6b KK |
7292 | Thu Jan 18 18:25:34 1996 Kim Knuttila <krk@cygnus.com> |
7293 | ||
7294 | * coff-ppc.c (coff_ppc_relocate_section): changed TOCDEFN relocs. | |
7295 | (coff_ppc_relocate_section): Handle special values for gcc built dlls. | |
7296 | (dump_toc): fix diagnosing code to identify out-of-toc-bounds entries. | |
7297 | Also begin the toc at 4 as an eye catcher ('31313131' marks the first | |
7298 | toc entry in an objdump) for now. | |
cf2cd4cf | 7299 | (ppc_do_last, ppc_get_last): New function - needed to save processing |
e7894f6b | 7300 | the toc owner to the end. |
cf2cd4cf | 7301 | (ppc_coff_swap_sym_in_hook): Removed an incorrect hack for doing the |
e7894f6b KK |
7302 | toc owner last. |
7303 | ||
cf2cd4cf UD |
7304 | * cofflink.c (_bfd_coff_final_link): Added a new hack to keep the |
7305 | toc owner from being done till last. Must define POWERPC_LE_PC | |
e7894f6b KK |
7306 | to enable it. |
7307 | ||
7308 | * coffcode.h (coff_set_alignment_hook): alignment setting for .stab | |
7309 | ||
7310 | * peicode.h (coff_swap_scnhdr_out): set section flags for stab/str | |
7311 | to INFO. | |
7312 | (coff_swap_aouthdr_out): Removed a non-working hack for computing the | |
7313 | SizeOfImage for PowerPC. Ignore the size of the .junk section. | |
7314 | ||
80b99ca0 ILT |
7315 | Thu Jan 18 17:42:12 1996 Ian Lance Taylor <ian@cygnus.com> |
7316 | ||
7317 | * elfcore.h: Include <signal.h> before <sys/procfs.h>. | |
7318 | ||
df96df4c ILT |
7319 | Wed Jan 17 12:40:14 1996 Ian Lance Taylor <ian@cygnus.com> |
7320 | ||
7321 | * cpu-powerpc.c (arch_info_struct): Change last entry to not point | |
7322 | back to first. | |
7323 | (bfd_powerpc_arch): Point at first entry in arch_info_struct. | |
7324 | ||
d49ddb85 ILT |
7325 | Tue Jan 16 15:10:49 1996 Ian Lance Taylor <ian@cygnus.com> |
7326 | ||
7327 | * elf.c (assign_file_positions_for_segments): Don't increment file | |
7328 | offset for a segment which contains no loadable sections. | |
7329 | ||
4500a112 MM |
7330 | Mon Jan 15 17:46:27 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
7331 | ||
7332 | * reloc.c: Add new PowerPC relocations. | |
7333 | * {bfd-in2,libbfd}.h: Regenerate. | |
7334 | ||
7335 | * elf32-ppc.c (ppc_elf_howto_raw): Add more PPC relocations. | |
7336 | (ppc_elf_reloc_type_lookup): Lookup new relocations. | |
7337 | ||
252239f8 ILT |
7338 | Mon Jan 15 14:29:44 1996 Ian Lance Taylor <ian@cygnus.com> |
7339 | ||
20ab764e ILT |
7340 | * aoutx.h (howto_table_ext): Fix RELOC_BASE10 and RELOC_BASE22 |
7341 | entries. | |
7342 | ||
0a4ffa2d ILT |
7343 | * sunos.c (sunos_scan_ext_relocs): Don't fail assert if |
7344 | info->shared. | |
7345 | ||
45ca3195 ILT |
7346 | * coffgen.c (coff_find_nearest_line): Don't try to cache |
7347 | information in sections that are not owned by a BFD. From Richard | |
7348 | Henderson <richard@atheist.tamu.edu>. | |
7349 | ||
252239f8 ILT |
7350 | * elf32-mips.c: Numerous changes to dynamic linking code, mostly |
7351 | from Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>. | |
7352 | * elflink.h (elf_link_output_extsym): Remove special check for | |
7353 | _rld_new_interface. | |
7354 | ||
7355 | * ecoffswap.h: Add prototypes for static functions. | |
7356 | ||
bd2d10c0 MM |
7357 | Sun Jan 14 21:36:08 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
7358 | ||
7359 | * elf32-ppc.c (ppc_elf_{unsupported,std}_reloc): Remove functions. | |
7360 | (ppc_elf_howto_raw): Remove ppc_elf_{unsupported,std}_reloc | |
7361 | references. | |
7362 | (ppc_elf_relocate_section): No longer allow .sdata/.sbss sections | |
7363 | to satisfy a TOC16 relocation. Rewrite unsupported relocation | |
7364 | support. Begin support for R_PPC_SDA{2,}REL. | |
7365 | ||
1c3a295b MM |
7366 | Sat Jan 13 09:36:52 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
7367 | ||
7368 | * elf32-ppc.c (ppc_elf_create_dynamic_sections): New function to | |
7369 | create the .got and .got.neg sections. | |
7370 | (ppc_elf_size_dynamic_sections): Call it. | |
7371 | (ppc_elf_check_relocs): Call it. | |
7372 | (ppc_elf_size_dynamic_sections): Support .got.neg, just like .got. | |
7373 | (ppc_elf_check_relocs): Add error messages for relocations we | |
7374 | don't yet support. Do not include R_PPC_SDAREL16 like a GOT | |
7375 | relocation. | |
7376 | ||
57081126 MM |
7377 | Fri Jan 12 15:27:59 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
7378 | ||
7379 | * elf32-ppc.c (ppc_elf_fake_sections): Define, and handle the new | |
7380 | section flags for V.4 and eabi. | |
7381 | ||
3c38b3df ILT |
7382 | Fri Jan 12 13:59:16 1996 Ian Lance Taylor <ian@cygnus.com> |
7383 | ||
14899eb7 ILT |
7384 | * elf.c (assign_file_positions_for_segments): If a segment |
7385 | contains no sections, don't mark it as readable. | |
7386 | ||
98bb57ad ILT |
7387 | * elf-bfd.h (_bfd_elf_section_from_bfd_section): Declare. |
7388 | * elfcode.h (_bfd_elf_section_from_bfd_section): Don't declare. | |
7389 | ||
02fcd126 ILT |
7390 | * elf.c (_bfd_elf_print_private_bfd_data): Dump contents of |
7391 | dynamic section, if there is one. | |
7392 | * elf-bfd.h (struct elf_size_info): Add swap_dyn_in field. | |
7393 | (bfd_elf32_swap_dyn_in): Change type of second parameter to PTR. | |
7394 | (bfd_elf64_swap_dyn_in): Likewise. | |
7395 | * elfcode.h (elf_swap_dyn_in): Change type of second parameter to | |
7396 | PTR. | |
7397 | (NAME(_bfd_elf,size_info)): Initialize swap_dyn_in field. | |
7398 | ||
3c38b3df ILT |
7399 | * elf32-i386.c (elf_i386_size_dynamic_sections): Don't create a |
7400 | DT_TEXTREL entry because of .rel.plt. From Martin Pirker | |
7401 | <pirker@eiunix.tuwien.ac.at>. | |
7402 | ||
83f4323e MM |
7403 | Thu Jan 11 17:06:14 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
7404 | ||
7405 | * section.c (SEC_{EXCLUDE,SORT_ENTRIES}): New section flags for | |
7406 | PowerPC V.4 and eabi. | |
7407 | * bfd-in2.h: Regenerate. | |
7408 | * libfd.h: Regenerate. | |
7409 | ||
7410 | * elfxx-target.h (TARGET_{BIG,LITTLE}_SYM): Add new flags. | |
7411 | ||
7412 | * elf32-ppc.c (ppc_elf_section_from_shdr): Support SHT_ORDERED | |
7413 | section type and SHF_EXCLUDE section flag, turning them into the | |
7414 | appropriate bfd section flag. | |
7415 | ||
a0271667 ILT |
7416 | Thu Jan 11 11:23:30 1996 Ian Lance Taylor <ian@cygnus.com> |
7417 | ||
c9746fb6 ILT |
7418 | * xcofflink.c (xcoff_link_add_symbols): Create the special |
7419 | sections if we see a DYNAMIC object, in case that is the only | |
7420 | XCOFF input object we see. | |
cf2cd4cf | 7421 | |
5b3b9ff6 ILT |
7422 | * elf32-mips.c: Extensive changes for a start at dynamic linking |
7423 | support, from Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>. | |
7424 | ||
7425 | * elf-bfd.h (struct elf_backend_data): Add type_change_ok field. | |
7426 | (struct elf_backend_data): Remove | |
7427 | elf_backend_create_program_headers field. Add | |
7428 | elf_backend_additional_program_headers and | |
7429 | elf_backend_modify_segment_map fields. | |
7430 | * elfxx-target.h (elf_backend_type_change_ok): Define if not | |
7431 | defined. | |
7432 | (elf_backend_additional_program_headers): Likewise. | |
7433 | (elf_backend_modify_segment_map): Likewise. | |
7434 | (elf_backend_create_program_headers): Don't define. | |
7435 | (elfNN_bed): Change to account for field changes. | |
7436 | * elf.c (assign_file_positions_for_segments): Call new | |
7437 | modify_segment_map backend function. Don't call old | |
7438 | create_program_headers backend function. | |
7439 | (get_program_header_size): Call additional_program_headers rather | |
7440 | than create_program_headers. | |
7441 | * elflink.h (elf_link_add_object_symbols): Initialize | |
7442 | type_change_ok from new backend field. | |
7443 | (elf_link_output_extsym): Don't warn if _rld_new_interface is | |
7444 | defined. | |
7445 | (elf_reloc_link_order): Treat a reloc against a defined symbol as | |
7446 | a reloc against the appropriate section. | |
7447 | ||
761f377f ILT |
7448 | * elf-bfd.h (struct bfd_elf_section_data): Add tdata field. |
7449 | (struct elf_obj_tdata): Rename ppc_flags_init field to flags_init. | |
7450 | (elf_flags_init): Rename from elf_ppc_flags_init. | |
7451 | * elf32-ppc.c (ppc_elf_set_private_flags): Use elf_flags_init, not | |
7452 | elf_ppc_flags_init. | |
7453 | (ppc_elf_copy_private_bfd_data): Likewise. | |
7454 | (ppc_elf_merge_private_bfd_data): Likewise. | |
7455 | ||
a0271667 ILT |
7456 | * elf32-m68k.c (howto_table): Change src_mask to 0 for all |
7457 | relocation entries. | |
7458 | ||
64d5f5d0 ILT |
7459 | Tue Jan 9 15:22:53 1996 David Mosberger-Tang <davidm@azstarnet.com> |
7460 | ||
7461 | * coff-alpha.c (alpha_relocate_section): During final link, allow | |
7462 | output .lita section to be bigger than 64k by adjusting gp value | |
7463 | on a per-input section basis. | |
7464 | * libecoff.h (struct ecoff_tdata): Add issued_multiple_gp_warning | |
7465 | field. | |
7466 | (struct ecoff_section_tdata): Add gp field. | |
7467 | ||
c40d9c77 ILT |
7468 | Tue Jan 9 12:00:36 1996 Ian Lance Taylor <ian@cygnus.com> |
7469 | ||
64d5f5d0 ILT |
7470 | Handle Alpha ECOFF changes in OSF/1 3.2. |
7471 | * libecoff.h (struct ecoff_backend_data): Add get_elt_at_filepos | |
7472 | field. | |
7473 | * coff-alpha.c: Include "aout/ar.h". | |
7474 | (alpha_ecoff_get_relocated_section_contents): Don't require an | |
7475 | ALPHA_R_IGNORE reloc after an ALPHA_R_GPDISP reloc, since OSF/1 | |
7476 | 3.2 doesn't generate one. | |
7477 | (alpha_relocate_section): Likewise. | |
7478 | (alpha_ecoff_slurp_armap): Define. | |
7479 | (alpha_ecoff_slurp_extended_name_table): Define. | |
7480 | (alpha_ecoff_construct_extended_name_table): Define. | |
7481 | (alpha_ecoff_truncate_arname): Define. | |
7482 | (alpha_ecoff_write_armap): Define. | |
7483 | (alpha_ecoff_generic_stat_arch_elt): Define. | |
7484 | (alpha_ecoff_update_armap_timestamp): Define. | |
7485 | (ARFZMAG): Define. | |
7486 | (alpha_ecoff_read_ar_hdr): New static function. | |
7487 | (alpha_ecoff_get_elt_at_filepos): New static function. | |
7488 | (alpha_ecoff_openr_next_archived_file): New static function. | |
7489 | (alpha_ecoff_get_elt_at_index): New static function. | |
7490 | (alpha_ecoff_backend_data): Initialize get_elt_at_filepos field. | |
7491 | (ecoffalpha_little_vec): Change BFD_JUMP_TABLE_ARCHIVE from | |
7492 | _bfd_ecoff to alpha_ecoff. | |
7493 | * ecoff.c (ecoff_link_add_archive_symbols): Use get_elt_at_filepos | |
7494 | field from backend structure, rather than always calling | |
7495 | _bfd_get_elt_at_filepos. | |
7496 | * coff-mips.c (mips_ecoff_backend_data): Initialize | |
7497 | get_elt_at_filepos field. | |
7498 | * archive.c (_bfd_generic_read_ar_hdr_mag): New function, copied | |
7499 | from _bfd_generic_read_ar_hdr with minor changes. | |
7500 | (_bfd_generic_read_ar_hdr): Use _bfd_generic_read_ar_hdr_mag. | |
7501 | * libbfd-in.h (_bfd_generic_read_ar_hdr_mag): Declare. | |
7502 | * libbfd.h: Rebuild. | |
7503 | ||
7504 | * bfd-in.h (BFD_IN_MEMORY): Define. | |
7505 | * libbfd-in.h (struct bfd_in_memory): Define. | |
7506 | * libbfd.c (bfd_read): Handle BFD_IN_MEMORY flag. | |
7507 | (bfd_get_file_window): Don't try to map a BFD_IN_MEMORY file. | |
7508 | (bfd_write, bfd_stat): Abort if BFD_IN_MEMORY is set. | |
7509 | (bfd_tell, bfd_flush, bfd_seek): Handle BFD_IN_MEMORY flag. | |
7510 | * bfd.c (struct _bfd): Change iostream field from char * to PTR. | |
7511 | (bfd_get_size): Handle BFD_IN_MEMORY flag. | |
7512 | * cache.c (bfd_cache_close): Ignore BFD_IN_MEMORY files. | |
7513 | (bfd_open_file): Cast to PTR, not char *, when setting iostream. | |
7514 | (bfd_cache_lookup_worker): Abort if BFD_IN_MEMORY is set. | |
7515 | * opncls.c (bfd_fdopenr): Cast to PTR, not char *, when setting | |
7516 | iostream. | |
7517 | (bfd_openstreamr): Likewise. | |
7518 | * aoutx.h (NAME(aout,some_aout_object_p)): Only fstat iostream if | |
7519 | BFD_IN_MEMORY is not set. | |
7520 | * riscix.c (riscix_some_aout_object_p): Likewise. | |
7521 | * bfd-in2.h, libbfd.h: Rebuild. | |
7522 | ||
7523 | * targets.c (bfd_target): Add _bfd_get_elt_at_index field. | |
7524 | (BFD_JUMP_TABLE_ARCHIVE): Add _get_elt_at_index. | |
7525 | (bfd_get_elt_at_index): Define. | |
7526 | * archive.c (_bfd_generic_get_elt_at_index): Rename from | |
7527 | bfd_get_elt_at_index. Change index parameter from int to | |
7528 | symindex. | |
7529 | * libbfd-in.h (_bfd_generic_get_elt_at_index): Declare. | |
7530 | (_bfd_noarchive_get_elt_at_index): Define. | |
7531 | (_bfd_archive_bsd_get_elt_at_index): Define. | |
7532 | (_bfd_archive_coff_get_elt_at_index): Define. | |
7533 | * bfd-in2.h, libbfd.h: Rebuild. | |
7534 | * aout-target.h (MY_get_elt_at_index): Define if not defined. | |
7535 | * coff-rs6000.c (xcoff_get_elt_at_index): Define. | |
7536 | * ieee.c (ieee_get_elt_at_index): Define. | |
7537 | * libecoff.h (_bfd_ecoff_get_elt_at_index): Define. | |
7538 | * oasys.c (oasys_get_elt_at_index): Define. | |
7539 | * som.c (som_get_elt_at_index): Define. | |
7540 | ||
c40d9c77 ILT |
7541 | * ecoff.c (_bfd_ecoff_find_nearest_line): Don't restrict line |
7542 | numbers to the .text section. | |
7543 | ||
efa77952 ILT |
7544 | Mon Jan 8 17:00:57 1996 Ian Lance Taylor <ian@cygnus.com> |
7545 | ||
7546 | * ieee.c (ieee_write_debug_part): Change return type to boolean. | |
7547 | If there is a SEC_DEBUGGING section, get the contents of the debug | |
7548 | information part from it. | |
7549 | (ieee_set_section_contents): Store the contents of a SEC_DEBUGGING | |
7550 | section in memory. | |
7551 | (ieee_write_object_contents): Check ieee_write_debug_part return. | |
7552 | ||
767f22d5 FF |
7553 | Thu Jan 4 17:12:37 1996 Fred Fish <fnf@cygnus.com> |
7554 | ||
7555 | * config.bfd (i[345]86-*-freebsd*): Add target. | |
7556 | * configure.in (i386freebsd_vec): Add vec. | |
7557 | * configure: Regenerate. | |
7558 | * Makefile.in (BFD32_BACKENDS): Add i386freebsd.o. | |
7559 | (BFD32_BACKENDS_CFILES): Add i386freebsd.c. | |
7560 | Rebuild dependencies.. | |
7561 | * freebsd.h: New file. | |
7562 | * i386freebsd.c: New file. | |
7563 | * targets.c (i386freebsd_vec): Declare. | |
7564 | (bfd_target_vector): Add i386freebsd_vec. | |
7565 | * i386linux.c (SEGMENT_SIZE): Define as TARGET_PAGE_SIZE | |
7566 | * i386netbsd.c (SEGMENT_SIZE): Define as TARGET_PAGE_SIZE | |
cf2cd4cf | 7567 | |
f8254a3c ILT |
7568 | Thu Jan 4 16:27:46 1996 Ian Lance Taylor <ian@cygnus.com> |
7569 | ||
7570 | * ieee.c (ieee_slurp_debug): New static function. | |
7571 | (ieee_object_p): Call it. | |
7572 | (ieee_slurp_section_data): Skip debugging sections. | |
7573 | (ieee_get_reloc_upper_bound): Likewise. | |
7574 | (ieee_get_section_contents): Likewise. | |
7575 | (ieee_canonicalize_reloc): Likewise. | |
7576 | (ieee_write_section_part): Likewise. | |
7577 | (ieee_write_debug_part): Likewise. | |
7578 | (ieee_write_data_part): Likewise. | |
7579 | (init_for_output): Likewise. | |
7580 | ||
07a159db MM |
7581 | Wed Jan 3 19:42:47 1996 Michael Meissner <meissner@wogglebug.tiac.net> |
7582 | ||
7583 | * elf32-ppc.c (ppc_elf_relocate_section): Make @GOT relocations | |
7584 | work. | |
7585 | (ppc_elf_howto_raw): Just use bfd_elf_generic_reloc for all howto | |
7586 | relocs, since ppc_elf_relocate_section handles the linker case. | |
7587 | (ppc_elf_{addr16_ha,got16,toc16,brtaken}_reloc): Delete, no longer | |
7588 | used. | |
7589 | (ppc_elf_{addr16_ha,got16,toc16,brtaken}_inner): Merge these into | |
7590 | ppc_elf_relocate_section since that is now the only caller. | |
7591 | (ppc_elf_relocate_section): Ditto. | |
7592 | ||
d812945a ILT |
7593 | Wed Jan 3 15:11:30 1996 Ian Lance Taylor <ian@cygnus.com> |
7594 | ||
7595 | * coffcode.h (coff_write_object_contents): If we don't know the | |
7596 | section of the entry point for an XCOFF executable, always set the | |
7597 | entry address to -1. | |
7598 | ||
3a56d0b4 MM |
7599 | Tue Jan 2 14:17:15 1996 Michael Meissner <meissner@tiktok.cygnus.com> |
7600 | ||
7601 | * elf.c (bfd_section_from_shdr): Add support for note sections. | |
7602 | ||
c4406e50 ILT |
7603 | Tue Jan 2 13:10:25 1996 Ian Lance Taylor <ian@cygnus.com> |
7604 | ||
d812945a ILT |
7605 | * bfd-in.h (struct _symbol_info): Add stab_type field. |
7606 | * bfd-in2.h: Rebuild. | |
7607 | * aoutx.h (NAME(aout,get_symbol_info)): Set stab_type. | |
7608 | ||
c4406e50 ILT |
7609 | * elf32-ppc.c: Remove trailing newline from calls to |
7610 | _bfd_error_handler. | |
7611 | (ppc_elf_merge_private_bfd_data): Only warn about endianness | |
7612 | difference if target endianness is known. | |
7613 | ||
08556813 MM |
7614 | Thu Dec 21 12:43:49 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
7615 | ||
7616 | * elf32-ppc.c (ppc_elf_howto_raw): Add a phony reloc to handle the | |
7617 | old style TOC16 references without using R_PPC_GOT. | |
7618 | (ppc_reloc_type): Ditto. | |
7619 | (ppc_elf_reloc_type_lookup): Add support for TOC16. | |
7620 | (ppc_elf_toc16_inner): Renamed from ppc_elf_got16_inner. | |
7621 | (ppc_elf_toc16_reloc): Renamed from ppc_elf_toc16_reloc. | |
7622 | (ppc_elf_got16_{inner,reloc}): Stubs for real GOT support. | |
7623 | (ppc_elf_check_relocs): New function for GOT/PLT support that is | |
7624 | work in progress. | |
7625 | (ppc_elf_adjust_dynamic_symbol): Ditto. | |
7626 | (ppc_elf_adjust_dynindx): Ditto. | |
7627 | (ppc_elf_size_dynamic_sections): Ditto. | |
7628 | (ppc_elf_finish_dynamic_symbol): Ditto. | |
7629 | (ppc_elf_finish_dynamic_sections): Ditto. | |
7630 | (ELF_DYNAMIC_INTERPRETER): Define. | |
7631 | ||
86587dd4 KR |
7632 | Wed Dec 20 19:14:18 1995 Ken Raeburn <raeburn@cygnus.com> |
7633 | ||
7634 | * elf.c (copy_private_bfd_data): When attaching sections to | |
7635 | segments ignore sections that won't be allocated. Patch from | |
7636 | Andreas Schwab. | |
7637 | ||
bf7f243f KR |
7638 | Tue Dec 19 20:01:43 1995 Ken Raeburn <raeburn@cygnus.com> |
7639 | ||
7640 | * config.bfd: Match on m68k-cbm-* only if OS doesn't match | |
7641 | anything else. | |
7642 | ||
d9518e2e ILT |
7643 | Tue Dec 19 16:38:59 1995 Ian Lance Taylor <ian@cygnus.com> |
7644 | ||
7645 | * coff-i960.c (CALC_ADDEND): Define. | |
7646 | (coff_i960_relocate_section): Add the input section VMA to the | |
7647 | addend for PC relative relocs. | |
7648 | ||
7649 | Sun Dec 17 20:11:55 1995 Kim Knuttila <krk@cygnus.com> | |
7650 | ||
7651 | * peicode.h (pe_print_pdata): Must test the entire entry for zero | |
7652 | to correctly terminate. | |
7653 | ||
010a405a ILT |
7654 | Fri Dec 15 12:05:57 1995 Ian Lance Taylor <ian@cygnus.com> |
7655 | ||
dc092b6b ILT |
7656 | * targets.c (enum bfd_endian): Define. |
7657 | (bfd_target): Rename byteorder_big_p to byteorder, and change it | |
7658 | from boolean to enum bfd_endian. Change header_byteorder_big_p | |
7659 | correspondingly. | |
7660 | * bfd-in.h (bfd_big_endian, bfd_little_endian): New macros. | |
7661 | (bfd_header_big_endian, bfd_header_little_endian): New macros. | |
7662 | * bfd-in2.h: Rebuild. | |
7663 | * All targets: Change initialization of byteorder and | |
7664 | header_byteorder to use enum bfd_endian values rather than | |
7665 | booleans. | |
7666 | * All files: Change all references to byteorder_big_p and | |
7667 | header_byteorder_big_p to use new bfd_*_endian macros. | |
7668 | ||
010a405a ILT |
7669 | * coffgen.c (make_a_section_from_file): Set lma to s_paddr, not |
7670 | s_vaddr. | |
7671 | * coffcode.h (coff_write_object_contents): Set s_paddr to lma, not | |
7672 | vma. | |
7673 | * ecoff.c (_bfd_ecoff_write_object_contents): Likewise. | |
7674 | ||
fcb43906 SC |
7675 | Fri Dec 15 07:32:09 1995 steve chamberlain <sac@slash.cygnus.com> |
7676 | ||
7677 | * pe[i]-i386.c (TARGET_UNDERSCORE): Define to '_'. | |
7678 | ||
0d709d31 ILT |
7679 | Thu Dec 14 13:45:37 1995 Ian Lance Taylor <ian@cygnus.com> |
7680 | ||
14578105 ILT |
7681 | * ieee.c: Lots of minor cleanups. Make many functions return |
7682 | errors rather than calling abort. Also: | |
7683 | (ieee_write_twobyte): Remove; change callers to call existing | |
7684 | ieee_write_2bytes function. | |
7685 | (ieee_write_expression): Don't output the section twice when | |
7686 | outputting a local symbol. Don't emit an extraneous zero if there | |
7687 | is only one term. | |
7688 | (ieee_slurp_sections): Set the lma as well as the vma. | |
7689 | (ieee_archive_p): Use bfd_alloc_grow rather than an obstack. | |
7690 | ||
0d709d31 ILT |
7691 | * ihex.c (ihex_set_arch_mach): Don't accept any architecture, just |
7692 | a recognized one or bfd_arch_unknown. | |
7693 | (ihex_get_symtab_upper_bound): Define as bfd_0l, to permit objcopy | |
7694 | to succeed. | |
7695 | (ihex_get_symtab): Likewise. | |
7696 | ||
14dc2f77 ILT |
7697 | Wed Dec 13 15:44:06 1995 Ian Lance Taylor <ian@cygnus.com> |
7698 | ||
7699 | * aoutx.h: Include <ctype.h>. | |
7700 | (struct aout_link_includes_table): Define. | |
7701 | (struct aout_link_includes_totals): Define. | |
7702 | (struct aout_link_includes_entry): Define. | |
7703 | (aout_link_includes_lookup): Define macro. | |
7704 | (struct aout_final_link_info): Add includes field. | |
7705 | (aout_link_includes_newfunc): New static function. | |
7706 | (NAME(aout,final_link)): Initialize includes hash table. | |
7707 | (aout_link_write_symbols): Eliminate duplicate N_BINCL entries. | |
7708 | ||
480ccad5 SS |
7709 | Wed Dec 13 10:52:14 1995 Stan Shebs <shebs@andros.cygnus.com> |
7710 | ||
7711 | * mpw-config.in: Match on mips-*-* instead of mips-idt-ecoff. | |
7712 | ||
3920d9c9 KK |
7713 | Wed Dec 13 11:07:45 1995 Kim Knuttila <krk@cygnus.com> |
7714 | ||
7715 | * coff-ppc.c (coff_ppc_relocate_section): removed debugging code. | |
7716 | ||
207345f2 KK |
7717 | Tue Dec 12 17:42:06 1995 Kim Knuttila <krk@cygnus.com> |
7718 | ||
7719 | * peicode.h (pe_print_reloc): New function to dump the .reloc section. | |
7720 | (pe_print_private_bfd_data): call pe_print_reloc. | |
7721 | * coffcode.h (coff_set_alignment_hook): .reloc section alignment. | |
7722 | * coff-ppc.c (in_reloc_p): Added missing non-eligible relocs. Spiffed | |
7723 | up some debugging as well. | |
7724 | ||
273c019e ILT |
7725 | Tue Dec 12 11:34:23 1995 Ian Lance Taylor <ian@cygnus.com> |
7726 | ||
7727 | * config.bfd: Handle sparc-*-elf*. From Ronald F. Guilmette | |
7728 | <rfg@monkeys.com>. | |
7729 | ||
010d9f2d ILT |
7730 | Fri Dec 8 17:47:07 1995 Ian Lance Taylor <ian@cygnus.com> |
7731 | ||
7732 | * elflink.h (elf_link_add_object_symbols): Set section_count to 0 | |
7733 | when setting sections to NULL. | |
7734 | ||
4a4a66bd ILT |
7735 | Wed Dec 6 17:05:37 1995 Ian Lance Taylor <ian@cygnus.com> |
7736 | ||
7737 | * xcofflink.c (struct xcoff_loader_info): Add export_defineds | |
7738 | field. | |
7739 | (bfd_xcoff_size_dynamic_sections): Add export_defineds parameter. | |
7740 | (xcoff_build_ldsyms): If export_defineds is set, set XCOFF_EXPORT | |
7741 | for all symbols. | |
7742 | * bfd-in.h (bfd_xcoff_size_dynamic_sections): Update declaration. | |
7743 | * bfd-in2.h: Rebuild. | |
7744 | ||
545bf026 KK |
7745 | Mon Dec 4 16:40:47 1995 Kim Knuttila <krk@cygnus.com> |
7746 | ||
7747 | * coffcode.h (coff_set_alignment_hook): Removed some debugging printf's | |
7748 | ||
1f4ae0d6 ILT |
7749 | Mon Dec 4 11:25:39 1995 Ian Lance Taylor <ian@cygnus.com> |
7750 | ||
55cac920 ILT |
7751 | * ihex.c (ihex_scan): Handle record types 4 and 5. |
7752 | (ihex_object_p): Permit types 4 and 5. | |
7753 | (ihex_set_section_contents): Remove check for out of range | |
7754 | addresses. | |
7755 | (ihex_write_object_contents): Generate types 4 and 5. | |
7756 | ||
1f4ae0d6 ILT |
7757 | * elflink.h (elf_link_output_extsym): Just ignore warning and |
7758 | indirect references to symbols which don't really exist. | |
7759 | ||
53d45489 KK |
7760 | Sun Dec 3 19:00:27 1995 Kim Knuttila <krk@cygnus.com> |
7761 | ||
7762 | * peicode.h (pe_print_idata): Minor format fixes | |
7763 | (pe_print_edata): New function. Under private printing, this formats | |
7764 | the edata section of a PE file. | |
7765 | (pe_print_private_bfd_data): Added call to pe_print_edata. | |
7766 | ||
361e8876 DE |
7767 | Sun Dec 3 16:46:54 1995 Richard Earnshaw (rearnsha@armltd.co.uk) |
7768 | ||
7769 | * aout-arm.c (MY_swap_std_reloc_out): Use KEEPIT to get the symbol | |
7770 | index, don't call stoi. | |
7771 | ||
58142f10 ILT |
7772 | Fri Dec 1 14:46:51 1995 Ian Lance Taylor <ian@cygnus.com> |
7773 | ||
ffd15489 ILT |
7774 | * srec.c (srec_scan): Set lma as well as vma. |
7775 | ||
7776 | * ihex.c: New file; support for Intel Hex format. | |
7777 | * targets.c (enum bfd_flavour): Add bfd_target_ihex_flavour. | |
7778 | (ihex_vec): Declare. | |
7779 | (bfd_target_vector): Always include ihex_vec. | |
7780 | * bfd.c (struct _bfd): Add ihex_data field to tdata union. | |
7781 | * Makefile.in: Rebuild dependencies. | |
7782 | (BFD_LIBS): Add ihex.o | |
7783 | (BFD_LIBS_CFILES): Add ihex.c. | |
7784 | * bfd-in2.h: Rebuild. | |
7785 | ||
ae0a6bea ILT |
7786 | * elf.c (assign_file_positions_for_segments): Sort the sections in |
7787 | each segment. | |
7788 | (get_program_header_size): Return the right size if segment_map is | |
7789 | not NULL. | |
7790 | (copy_private_bfd_data): Don't bother to sort the sections. | |
7791 | ||
7792 | * bfd.c (bfd_record_phdr): New function. | |
7793 | * bfd-in.h (bfd_record_phdr): Declare. | |
7794 | * bfd_in2.h: Rebuild. | |
7795 | ||
ce0ee4bf ILT |
7796 | * elf32-sparc.c (elf32_sparc_relocate_section): Remove bogus |
7797 | BFD_ASSERT. | |
7798 | ||
58142f10 ILT |
7799 | * libbfd.c (bfd_malloc, bfd_realloc): New functions. |
7800 | (bfd_zmalloc): Return PTR, not char *. Take size_t, not | |
7801 | bfd_size_type. | |
7802 | * libbfd-in.h (bfd_malloc, bfd_realloc): Declare. | |
7803 | (bfd_zmalloc): Change declaration. | |
7804 | * libbfd.h: Rebuild. | |
7805 | * Many files: Use bfd_malloc and bfd_realloc rather than malloc | |
7806 | and realloc. Don't set bfd_error_no_memory if they fail. | |
7807 | ||
59066248 KK |
7808 | Thu Nov 30 19:32:26 1995 Kim Knuttila <krk@cygnus.com> |
7809 | ||
7810 | * coff-ppc.c: Added macros to tidy up toc cell treatment. Numerous | |
cf2cd4cf | 7811 | uses as well. Added a new howto to deal with TOCREL16 relocs that |
59066248 KK |
7812 | are TOCDEFN as well. |
7813 | (coff_ppc_relocate_section): Expanded treatment of ADDR32NB relocs | |
7814 | to handle RVA relocs from dlltool. | |
7815 | (ppc_coff_rtype2howto): TOCDEFN reloc addition. | |
7816 | (coff_ppc_rtype_to_howto): TOCDEFN reloc addition. | |
7817 | (ppc_coff_reloc_type_lookup): TOCDEFN reloc addition. | |
7818 | ||
cf2cd4cf | 7819 | * coffcode.h (coff_set_alignment_hook): check idata$X sections |
59066248 KK |
7820 | to get the right section alignment. |
7821 | ||
6933148a ILT |
7822 | Thu Nov 30 16:48:18 1995 Ian Lance Taylor <ian@cygnus.com> |
7823 | ||
7824 | * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on | |
7825 | p_paddr if p_paddr is zero. | |
7826 | (make_mapping): Set includes_filehdr and includes_phdrs for first | |
7827 | PT_LOAD segment. | |
7828 | (map_sections_to_segments): Set includes_phdrs for PT_PHDR | |
7829 | segment. | |
7830 | (assign_file_positions_for_segments): Handle includes_filehdr and | |
7831 | includes_phdrs. Remove special handling of PT_PHDR and first | |
7832 | PT_LOAD segments. | |
7833 | (copy_private_bfd_data): Set includes_filehdr and includes_phdr | |
7834 | when appropriate. Remove special handling of PT_PHDR segment. | |
7835 | Use a more complex condition for when a section is included in a | |
7836 | segment to handle Solaris linker oddities. | |
7837 | ||
f62fed1c ILT |
7838 | Thu Nov 30 11:17:33 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> |
7839 | ||
7840 | * coff-m88k.c (howto_table): Reformatted for easier reading; | |
7841 | special_function now points to new function m88k_special_reloc. | |
7842 | (howto_hvrt16): Function previously used for handling HVRT16 relocs | |
7843 | removed. | |
7844 | (rtype2howto): Do not add reloc's r_offset to the addend, this will | |
7845 | be done correctly by m88k_special_reloc. | |
7846 | (reloc_processing): New function to be used by RELOC_PROCESSING. | |
7847 | (RELOC_PROCESSING): Define to call reloc_processing. | |
7848 | ||
64ecde46 ILT |
7849 | Wed Nov 29 12:42:36 1995 Ian Lance Taylor <ian@cygnus.com> |
7850 | ||
b00c57ec ILT |
7851 | * peicode.h (pe_print_idata): Call malloc rather than xmalloc. |
7852 | (pe_print_pdata): Likewise. | |
7853 | ||
a9713b91 ILT |
7854 | * opncls.c (bfd_alloc_by_size_t): Set bfd_error_no_memory if |
7855 | obstack_alloc fails. | |
7856 | (bfd_alloc_finish): Set bfd_error_no_memory if obstack_finish | |
7857 | fails. | |
7858 | * libbfd.c (bfd_zmalloc): Set bfd_error_no_memory if malloc fails. | |
7859 | * Many files: don't set bfd_error_no_memory if one of the above | |
7860 | routines fails. | |
7861 | ||
3dbf33ee ILT |
7862 | * elf.c (assign_file_positions_for_segments): Don't adjust p_paddr |
7863 | if p_paddr_valid is set. | |
7864 | (copy_private_bfd_data): New static function. | |
7865 | (_bfd_elf_copy_private_section_data): Call copy_private_bfd_data. | |
7866 | ||
44ef8897 ILT |
7867 | * elf.c (assign_file_positions_for_segments): Fix case where extra |
7868 | program headers were allocated. | |
7869 | ||
27fb8f29 ILT |
7870 | * elf.c (_bfd_elf_print_private_bfd_data): New function. |
7871 | * elf-bfd.h (_bfd_elf_print_private_bfd_data): Declare. | |
7872 | * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define to | |
7873 | _bfd_elf_print_private_bfd_data. | |
7874 | ||
64ecde46 ILT |
7875 | * coff-alpha.c (alpha_ecoff_swap_reloc_in): Don't abort if |
7876 | r_symndx is RELOC_SECTION_NONE for an ALPHA_R_IGNORE reloc. | |
7877 | Change a RELOC_SECTION_LITA symndx to RELOC_SECTION_ABS. | |
7878 | (alpha_ecoff_swap_reloc_out): Change RELOC_SECTION_ABS to | |
7879 | RELOC_SECTION_LITA for ALPHA_R_IGNORE. | |
7880 | (alpha_adjust_reloc_out): For ALPHA_R_IGNORE, don't change | |
7881 | RELOC_SECTION_ABS to RELOC_SECTION_NONE. | |
7882 | ||
fd0198f0 ILT |
7883 | Tue Nov 28 16:59:50 1995 Ian Lance Taylor <ian@cygnus.com> |
7884 | ||
7885 | * elf-bfd.h (struct elf_obj_tdata): Add segment_map field. | |
7886 | * elf.c (make_mapping): New static function. | |
7887 | (map_sections_to_segments): New static function. | |
7888 | (elf_sort_sections): New static function. | |
7889 | (assign_file_positions_for_segments): New static function. | |
7890 | (map_program_segments): Remove. | |
7891 | (get_program_header_size): Remove sorted_hdrs, count, and | |
7892 | maxpagesize parameters. Simplify. | |
7893 | (assign_file_positions_except_relocs): When generating an | |
7894 | executable, use assign_file_positions_for_segments. | |
7895 | (elf_sort_hdrs): Remove. | |
7896 | (_bfd_elf_sizeof_headers): Remove eliminated parameters from call | |
7897 | to get_program_header_size. | |
7898 | ||
3b3f7625 ILT |
7899 | Mon Nov 27 12:27:46 1995 Ian Lance Taylor <ian@cygnus.com> |
7900 | ||
1ff0461b ILT |
7901 | * hp300hpux.c (MY(callback)): Set lma as well as vma. |
7902 | ||
80c8485c ILT |
7903 | * configure, config.in: Regenerate with autoconf 2.7. |
7904 | ||
3b3f7625 ILT |
7905 | * elf32-i386.c (elf_backend_plt_readonly): Set correctly, to 1. |
7906 | * elf32-sparc.c (elf_backend_plt_readonly): Set correctly, to 0. | |
7907 | ||
fa63d1ef ILT |
7908 | Wed Nov 22 12:02:09 1995 Ian Lance Taylor <ian@cygnus.com> |
7909 | ||
a877f591 ILT |
7910 | * ecoff.c (_bfd_ecoff_new_section_hook): Handle .rconst section. |
7911 | (ecoff_sec_to_styp_flags): Likewise. | |
7912 | (_bfd_ecoff_styp_to_sec_flags): Handle STYP_RCONST. | |
7913 | (ecoff_set_symbol_info): Handle scRConst. | |
7914 | (ecoff_slurp_reloc_table): Handle RELOC_SECTION_RCONST. | |
7915 | (ecoff_compute_section_file_positions): Handle .rconst section. | |
7916 | (_bfd_ecoff_write_object_contents): Likewise. | |
7917 | (ecoff_link_check_archive_element): Handle scRConst. | |
7918 | (ecoff_link_add_externals): Likewise. | |
7919 | (ecoff_link_write_external): Handle .rconst section. | |
7920 | (ecoff_reloc_link_order): Likewise. | |
7921 | * ecofflink.c (bfd_ecoff_debug_accumulate): Handle scRConst. | |
7922 | * coff-alpha.c (alpha_convert_external_reloc): Handle .rconst | |
7923 | section. | |
7924 | (alpha_relocate_section): Handle RELOC_SECTION_RCONST. | |
7925 | ||
fa63d1ef ILT |
7926 | * sunos.c (sunos_scan_dynamic_symbol): Only set written if the |
7927 | DEF_DYNAMIC flag is set. | |
7928 | ||
25bada65 KR |
7929 | Tue Nov 21 13:25:29 1995 Ken Raeburn <raeburn@cygnus.com> |
7930 | ||
7931 | * host-aout.c: If TRAD_HEADER is defined, include it. | |
7932 | ||
7938b4cb ILT |
7933 | Tue Nov 21 13:03:57 1995 Ian Lance Taylor <ian@cygnus.com> |
7934 | ||
85e493f0 ILT |
7935 | * aclocal.m4 (AC_PROG_CC): Remove local definition. |
7936 | (BFD_BINARY_FOPEN): Require AC_CANONICAL_SYSTEM. | |
7937 | (BFD_NEED_DECLARATION): New function. | |
7938 | * configure.in: Use BFD_NEED_DECLARATION. | |
bd77213b ILT |
7939 | * acconfig.h: Put NEED_DECLARATION_* in @TOP@ section. |
7940 | * configure, config.in: Rebuild with autoconf 2.6. | |
85e493f0 | 7941 | |
83dcdc61 ILT |
7942 | * xcofflink.c (bfd_xcoff_size_dynamic_sections): Clear |
7943 | special_sections before returning when called with a non XCOFF | |
7944 | BFD. | |
7945 | ||
7938b4cb ILT |
7946 | * coffgen.c (coff_renumber_symbols): Sort common symbols with |
7947 | global symbols. | |
7948 | ||
7949 | * coffcode.h (coff_compute_section_file_positions): Only pad the | |
7950 | previous section to force file alignment when creating an | |
7951 | executable. | |
7952 | ||
b5403ad7 ILT |
7953 | Mon Nov 20 14:54:09 1995 Ian Lance Taylor <ian@cygnus.com> |
7954 | ||
a418e05d ILT |
7955 | * coffcode.h (coff_compute_section_file_positions): If |
7956 | RS6000COFF_C, set up the .debug section. | |
7957 | ||
b5403ad7 ILT |
7958 | * xcofflink.c (xcoff_link_input_bfd): Adjust the TOC anchor value |
7959 | if it is not large enough to accomodate the entire TOC area with | |
7960 | signed 16 bit offsets. | |
7961 | (xcoff_write_global_symbol): Handle negative TOC offsets in global | |
7962 | linkage code. | |
7963 | (_bfd_ppc_xcoff_relocate_section): Adjust relocations against a | |
7964 | TOC anchor to use the TOC value used in the output file. | |
7965 | ||
90a7abbc ILT |
7966 | Sat Nov 18 18:01:41 1995 Ian Lance Taylor <ian@cygnus.com> |
7967 | ||
7968 | * coffgen.c (_bfd_coff_get_external_symbols): Cast malloc return. | |
7969 | (_bfd_coff_read_string_table): Likewise. | |
7970 | ||
177b1932 DE |
7971 | Sat Nov 18 19:43:04 1995 Richard Earnshaw (rearnsha@armltd.co.uk) |
7972 | ||
7973 | * pe-arm.c: Fix typos. | |
7974 | * coff-arm.c: Likewise. | |
7975 | ||
7976 | Fri Nov 17 16:22:04 1995 Kim Knuttila <krk@cygnus.com> | |
7977 | ||
7978 | * coff-ppc.c (list_ele): Added "cat"egory member. | |
7979 | (record_toc): New category parameter (priv or pub). | |
7980 | (ppc_record_toc_entry): Check to see if toc bounds exceeded. | |
7981 | (ppc_process_before_allocation): Removed embrionic data-in-toc from | |
7982 | the mainline. It addes extra toc cells in error. | |
7983 | (ppc_coff_swap_sym_in_hook): Added some documentation. | |
7984 | (dump_toc): Can now diagnose "virtual toc" chicanery. | |
7985 | ||
e34314c4 ILT |
7986 | Fri Nov 17 10:41:25 1995 Philippe De Muyter <phdm@info.ucl.ac.be> |
7987 | ||
7988 | * elf-bfd.h (struct elf_link_hash_table): Change type of | |
7989 | dynsymcount and bucketcount fields from size_t to bfd_size_type. | |
7990 | ||
73a68447 ILT |
7991 | Fri Nov 17 10:02:58 1995 Ian Lance Taylor <ian@cygnus.com> |
7992 | ||
535e9e29 ILT |
7993 | * coffcode.h (coff_pointerize_aux_hook): I960 version: don't |
7994 | pointerize C_LEAFSTAT or C_LEAFEXT entries. | |
7995 | ||
73a68447 ILT |
7996 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Only create |
7997 | DT_INIT and DT_FINI entries if the _init or _fini symbol is | |
7998 | defined or mentioned in a regular file. | |
7999 | ||
cd2b2402 KK |
8000 | Thu Nov 16 15:16:42 1995 Kim Knuttila <krk@cygnus.com> |
8001 | ||
8002 | * coff-ppc.c (ppc_record_data_in_toc_entry): new function | |
8003 | (coff_ppc_relocate_section): Handle TOCDEFN attribute | |
8004 | (coff_ppc_relocate_section): Correct REL24 handling | |
8005 | (ppc_process_before_allocation): Correct TOCDEFN handling | |
8006 | ||
8007 | * peicode.h (dir_names): Added name descriptions | |
8008 | ||
b218076e KR |
8009 | Thu Nov 16 03:38:03 1995 Ken Raeburn <raeburn@cygnus.com> |
8010 | ||
8011 | * VERSION: Updated to cygnus-2.6. | |
8012 | ||
8013 | Wed Nov 15 19:30:07 1995 Ken Raeburn <raeburn@cygnus.com> | |
8014 | ||
8015 | * targets.c (m68k4knetbsd_vec): Declare. | |
8016 | ||
e9f30616 ILT |
8017 | Wed Nov 15 18:05:52 1995 Ian Lance Taylor <ian@cygnus.com> |
8018 | ||
8019 | * targets.c (bfd_target): Change type of second argument to | |
8020 | _bfd_print_private_bfd_data from void * to PTR. | |
8021 | * libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): Cast | |
8022 | using PTR rather than void *. | |
8023 | * bfd-in2, libbfd.h: Rebuild. | |
8024 | * peicode.h (pe_print_private_bfd_data): Change vfile from void * | |
8025 | to PTR. | |
8026 | * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define as | |
8027 | _bfd_generic_bfd_print_private_bfd_data rather than casting | |
8028 | bfd_true. | |
8029 | ||
ae75c4a4 KR |
8030 | Wed Nov 15 04:09:14 1995 Ken Raeburn <raeburn@cygnus.com> |
8031 | ||
8032 | * Makefile.in (.dep1): Fix stupid typo in last change. Remove any | |
8033 | "DO NOT DELETE" lines or blank lines that mkdep writes on some | |
8034 | systems. | |
8035 | (BFD_LIBS_CFILES, ALL_MACHINES_CFILES, BFD32_BACKENDS_CFILES, | |
8036 | BFD64_BACKENDS_CFILES): New variables. | |
8037 | (CFILES): Use them. | |
cf2cd4cf | 8038 | |
bebcd3db ILT |
8039 | Tue Nov 14 11:52:23 1995 Ian Lance Taylor <ian@cygnus.com> |
8040 | ||
4b71e164 ILT |
8041 | * peicode.h (coff_swap_aouthdr_out): For PPC PE, start isize at 0, |
8042 | not at the file position of the first section. | |
8043 | * coffcode.h (coff_compute_section_file_positions): Avoid using | |
8044 | unportable #elif. | |
8045 | (coff_write_object_contents): When generating a PPC PE executable | |
8046 | with no symbols, round up the file size to a COFF_PAGE_SIZE | |
8047 | boundary. | |
8048 | * cofflink.c (_bfd_coff_final_link): If there are no symbols, | |
8049 | don't write out a string table. | |
8050 | ||
631b10f4 ILT |
8051 | * elf.c (bfd_section_from_shdr): When using a different section |
8052 | header, pass the new one to _bfd_elf_make_section_from_shdr. | |
8053 | (elf_fake_sections): Don't set sh_info and sh_entsize fields. | |
8054 | (elf_map_symbols): Add section VMA to symbol value when comparing | |
8055 | against 0. | |
8056 | (_bfd_elf_compute_section_file_positions): Only build symbol table | |
8057 | if there are some symbols. Set file offset of symtab and strtab | |
8058 | sections. | |
8059 | (assign_file_positions_except_relocs): Remove dosyms parameter. | |
8060 | Change all callers. Never set file offset of symtab and strtab | |
8061 | sections. | |
8062 | (_bfd_elf_copy_private_section_data): New function. | |
8063 | (MAP_ONESYMTAB, MAP_DYNSYMTAB, MAP_STRTAB, MAP_SHSTRTAB): Define. | |
8064 | (_bfd_elf_copy_private_symbol_data): New function. | |
8065 | (swap_out_syms): Check for special mapping of st_shndx created by | |
8066 | copy_private_symbol_data. | |
8067 | * elfxx-target.h: Use new copy routines. | |
8068 | * elf-bfd.h (_bfd_elf_copy_private_symbol_data): Declare. | |
8069 | (_bfd_elf_copy_private_section_data): Declare. | |
8070 | ||
8071 | * config.bfd (sh-*-*): Set targ_defvec to shcoff_vec. | |
8072 | ||
8073 | * coffcode.h (coff_slurp_symbol_table): If COFF_WITH_PE, handle | |
8074 | C_NT_WEAK. | |
8075 | ||
bebcd3db ILT |
8076 | * coff-sh.c (shlcoff_vec): Use _bfd_generic_archive_p, not |
8077 | _bfd_dummy_target, matching the recent change to archive | |
8078 | recognition. | |
8079 | ||
7ad4ba81 ILT |
8080 | Mon Nov 13 13:24:38 1995 Ian Lance Taylor <ian@cygnus.com> |
8081 | ||
afa67334 ILT |
8082 | * libbfd.c (bfd_get_file_window): Use casts to avoid doing |
8083 | arithmetic on PTR types. | |
8084 | ||
f2bd8915 ILT |
8085 | * aout-target.h (MY(callback)): Set the lma of the sections. |
8086 | ||
7ad4ba81 ILT |
8087 | * ecoff.c (ecoff_reloc_link_order): Turn a reloc against a defined |
8088 | symbol into a reloc against the section. | |
8089 | ||
93b6a3f8 KK |
8090 | Mon Nov 13 07:31:35 1995 Kim Knuttila <krk@cygnus.com> |
8091 | ||
8092 | * coff-ppc.c (ppc_coff_link_hash_entry): added support for inline | |
8093 | glue for the relocs: IMGLUE and IFGLUE. | |
8094 | (record_toc): new function - tracks toc contents | |
8095 | (ppc_mark_symbol_as_glue): new function - supports the IMGLUE reloc | |
8096 | (coff_ppc_relocate_section): Added support and fixes for IMGLUE/IFGLUE | |
8097 | (ppc_coff_rtype2howto): removed invalid IMGLUE hack | |
8098 | (coff_ppc_rtype_to_howto): removed invalid IMGLUE hack | |
125d37c4 | 8099 | (ppc_record_toc_entry): Removed a debug define (duh) |
93b6a3f8 KK |
8100 | |
8101 | * peicode.h (coff_swap_scnhdr_out): Fixed invalid strcmp for ".reldata" | |
8102 | (pe_print_idata): New function - formats the idata section data | |
8103 | (pe_print_pdata): New function - formats the pdata section data | |
8104 | (pe_print_private_bfd_data): calls to above | |
8105 | ||
c769947b SS |
8106 | Sun Nov 12 12:23:24 1995 Stan Shebs <shebs@andros.cygnus.com> |
8107 | ||
8108 | * Makefile.in (bfd_libs_here, etc): Provide empty definitions. | |
8109 | * coff-rs6000.c (rs6000coff_vec): Add conditional defines | |
8110 | TARGET_SYM and TARGET_NAME for vector and BFD name. | |
8111 | * coff-pmac.c (pmac_xcoff_vec): Remove. | |
8112 | (TARGET_SYM, TARGET_NAME): Define. | |
8113 | * coffcode.h (coff_set_arch_mach_hook) [POWERMAC]: Set the | |
8114 | machine to 0, not all PowerMacs are 601s. | |
8115 | ||
8116 | Fri Nov 10 12:10:14 1995 Ian Lance Taylor <ian@cygnus.com> | |
8117 | ||
8118 | * elfcode.h (elf_object_p): Read in any program headers. | |
8119 | * elf.c (_bfd_elf_make_section_from_shdr): Adjust section lma | |
8120 | based on the program headers, if any. | |
8121 | (elf_fake_sections): Set sh_addr from the vma, not the lma. | |
8122 | (map_program_segments): Set p_paddr of program headers based on | |
8123 | the lma. | |
8124 | ||
ee174815 ILT |
8125 | Thu Nov 9 13:01:31 1995 Ian Lance Taylor <ian@cygnus.com> |
8126 | ||
839087b7 ILT |
8127 | * archive.c (bfd_generic_archive_p): Preserve tdata in case of |
8128 | failure. | |
8129 | ||
922530a6 ILT |
8130 | * aoutx.h (NAME(aout,final_link)): Report a reasonable error when |
8131 | trying to do a relocateable link with a non-a.out object file. | |
8132 | ||
8133 | * archive.c (bfd_generic_archive_p): Check the first object file | |
8134 | in an archive even if target_defaulted is set. If the object file | |
8135 | has the wrong xvec, reject it. | |
8136 | ||
a1774c51 ILT |
8137 | * aoutx.h (NAME(aout,set_section_contents)): If a section can not |
8138 | be represented, report the name via _bfd_error_handler. | |
8139 | (translate_to_native_sym_flags): Likewise. | |
8140 | * elf32-mips.c (mips_elf_final_link): Likewise. | |
8141 | * oasys.c (oasys_write_sections): Likewise. | |
8142 | ||
4a378b13 ILT |
8143 | * coffcode.h (coff_set_alignment_hook): Write RS6000COFF_C version |
8144 | which checks for STYP_OVRFLO sections. | |
8145 | (coff_compute_section_file_positions): If RS6000COFF_C, handle | |
8146 | reloc and lineno count overflows. | |
8147 | (coff_write_object_contents): Call coff_count_linenumbers before | |
8148 | coff_compute_section_file_positions. If RS6000COFF_C, handle | |
8149 | reloc and lineno count overflows. | |
8150 | * xcofflink.c (_bfd_xcoff_bfd_final_link): Count line numbers and | |
8151 | relocs before dealing with .pad sections. Count overflow section | |
8152 | headers when handling .pad sections. | |
8153 | ||
7906bf87 ILT |
8154 | * coffcode.h (coff_write_object_contents): Set a.out vstamp to 1 |
8155 | if RS6000COFF_C. | |
8156 | ||
ee174815 ILT |
8157 | * xcofflink.c (XCOFF_DESCRIPTOR): Define. |
8158 | (struct xcoff_link_hash_table): Add descriptor_section and | |
8159 | special_sections fields. | |
8160 | (_bfd_xcoff_bfd_link_hash_table_create): Initialize new fields. | |
8161 | (xcoff_link_add_symbols): Set linkage section alignment. Create | |
8162 | descriptor section. Check for magic symbol names (_text, etc.), | |
8163 | and record them in special_sections if found. Set | |
8164 | XCOFF_DESCRIPTOR flag for a function descriptor, and set its | |
8165 | descriptor field to point back to the function code symbol. | |
8166 | (xcoff_sweep): Always mark the special descriptor_section. | |
8167 | (bfd_xcoff_export_symbol): Check whether the symbol might be a | |
8168 | function descriptor, and mark it if it is. | |
8169 | (bfd_xcoff_size_dynamic_sections): Add new special_sections | |
8170 | parameter, and fill it in. Allocate space for the descriptor | |
8171 | section. | |
8172 | (xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR flag when defining | |
8173 | global linkage code. If an undefined function descriptor is | |
8174 | exported, arrange to define it. Warn about any other undefined | |
8175 | exported symbol. | |
8176 | (_bfd_xcoff_bfd_final_link): Write out the descriptor section. | |
8177 | (xcoff_write_global_symbol): Create a function descriptor when | |
8178 | necessary. | |
8179 | * bfd-in.h (bfd_xcoff_size_dynamic_sections): Update declaration. | |
8180 | * bfd-in2.h: Rebuild. | |
8181 | ||
0e829f18 KK |
8182 | Thu Nov 9 08:40:23 1995 Kim Knuttila <krk@cygnus.com> |
8183 | ||
8184 | * coff-ppc.c (ppc_coff_link_hash_entry): new types for hashing | |
8185 | (ppc_coff_link_hash_table): new types for hashing | |
8186 | (ppc_coff_link_hash_newfunc): hash entry constructor | |
8187 | (ppc_coff_link_hash_table_init): hash table initializer | |
8188 | (ppc_coff_link_hash_table_create): hash table constructor | |
8189 | (ppc_record_toc_entry): changed references to hash table | |
8190 | (coff_ppc_relocate_section): changed references to hash table | |
8191 | ||
8192 | * libcoff-in.h (coff_link_hash_entry): removed toc_offset | |
8193 | * libcoff.h: Rebuild | |
8194 | ||
8195 | * cofflink.c (_bfd_coff_link_hash_newfunc): removed toc_offset init | |
8196 | (coff_link_add_symbols): removed toc_offset init | |
8197 | ||
7ac84736 KR |
8198 | Thu Nov 9 04:00:38 1995 Ken Raeburn <raeburn@cygnus.com> |
8199 | ||
b27cc4bc KR |
8200 | * Makefile.in (.dep1): Make sure the file mkdep is to write exists |
8201 | first. | |
8202 | ||
7ac84736 KR |
8203 | * configure.in: Added new option --with[out]-mmap. Set USE_MMAP |
8204 | if it is given and mmep is available. | |
8205 | * acconfig.h: Undef USE_MMAP. | |
8206 | * configure, config.in: Regenerated. | |
8207 | * aoutx.h: If USE_MMAP is not defined, do all symbol and string | |
8208 | table handling the old way. | |
8209 | (aout_get_external_symbols): Don't complain if last byte of string | |
8210 | table is nonzero. | |
8211 | * libbfd.c [HAVE_MADVISE]: Include sys/types.h and sys/mman.h. | |
8212 | (bfd_free_window) [! USE_MMAP]: Don't define. | |
8213 | (bfd_get_file_window, | |
8214 | _bfd_generic_get_section_contents_in_window) [! USE_MMAP]: Abort. | |
8215 | ||
1b3b0c03 ILT |
8216 | Wed Nov 8 20:03:44 1995 Eric Freudenthal <freudenthal@nyu.edu> |
8217 | ||
8218 | * coff-a29k.c (SIGN_EXTEND_HWORD): Use ~0xffff rather than | |
8219 | 0xffff0000. | |
8220 | ||
092abcdf ILT |
8221 | Wed Nov 8 11:31:11 1995 Ian Lance Taylor <ian@cygnus.com> |
8222 | ||
33698029 ILT |
8223 | * coff-a29k.c (a29k_reloc): Change handling of R_IREL reloc to be |
8224 | compatible with AMD generated COFF files. Try to support both AMD | |
8225 | and GNU formats simultaneously. | |
8226 | (coff_a29k_relocate_section): Likewise. | |
8227 | ||
0bb8ff19 ILT |
8228 | * libbfd.c (bfd_get_file_window): Change writable parameter from |
8229 | int to boolean; update all callers. Pass MAP_SHARED if not | |
8230 | writable--it's required on Solaris. Cast fprintf argument to | |
8231 | avoid warning. | |
8232 | * bfd-in.h (bfd_get_file_window): Update declaration. | |
8233 | * bfd-in2.h: Rebuild. | |
8234 | * aoutx.h: Update calls to bfd_get_file_window. | |
8235 | ||
0634a431 ILT |
8236 | * xcofflink.c (XCOFF_DEF_DYNAMIC): Rename from XCOFF_REF_DYNAMIC. |
8237 | Change all uses. | |
8238 | (xcoff_swap_ldhdr_in): New static function. | |
8239 | (xcoff_swap_ldsym_in): New static function. | |
7812bf9c | 8240 | (xcoff_find_reloc): Handle the case of a single reloc correctly. |
0634a431 ILT |
8241 | (xcoff_link_add_symbols): If we just created a descriptor, pass it |
8242 | to _bfd_generic_link_add_one_symbol, to save a hash lookup. | |
417acf22 | 8243 | Handle XTY_ER/XMC_XO symbols correctly. |
0634a431 ILT |
8244 | (xcoff_link_add_dynamic_symbols): Rewrite to read .loader symbols |
8245 | rather than normal symbol table. | |
417acf22 ILT |
8246 | (bfd_xcoff_import_symbol): It's not an error if the symbol is |
8247 | already defined with the same absolute value. | |
0634a431 ILT |
8248 | (xcoff_mark): When considering called symbols, check whether the |
8249 | descriptor is from a dynamic object, rather than the symbol | |
8250 | itself. | |
8251 | (xcoff_build_ldsyms): Likewise. | |
8252 | ||
092abcdf ILT |
8253 | * libbfd.c (bfd_get_file_window): Change return type to boolean. |
8254 | Cast realloc and malloc return values. If malloc or realloc fail, | |
8255 | set bfd_error_no_memory. | |
8256 | * bfd-in.h (bfd_get_file_window): Change type to boolean. | |
8257 | * bfd-in2.h: Rebuild. | |
8258 | ||
d6f41a7d KK |
8259 | Tue Nov 7 11:53:48 1995 Kim Knuttila <krk@cygnus.com> |
8260 | ||
8261 | * coff-ppc.c (ppc_record_toc_entry): new function. | |
8262 | (in_reloc_p): changed return value. | |
8263 | (coff_ppc_relocate_section): much rework. | |
8264 | (ppc_allocate_toc_section): new function. | |
8265 | (ppc_process_before_allocation): new function. | |
8266 | (ppc_coff_swap_sym_in_hook): new function. | |
8267 | ||
8268 | * cofflink.c (_bfd_coff_link_hash_newfunc): initialize toc_offset. | |
8269 | (coff_link_add_symbols): initialize toc_offset. | |
8270 | ||
8271 | * peicode.h (coff_swap_sym_in): Added coff_swap_sym_in_hook | |
8272 | (coff_swap_aouthdr_out): Added more sections to the data | |
8273 | dictionary for the pe file header. Also changed linker version | |
8274 | number on the ppc side. | |
8275 | (dir_names): small improvements to the dictionary printing. | |
8276 | (pe_mkobject_hook): save the file level flags. | |
8277 | ||
8278 | * libcoff-in.h (coff_link_hash_entry): added toc_offset field | |
8279 | (pe_tdata): added real_flags field | |
8280 | (coff_tdata): added local_toc_sym_map and access macro | |
8281 | ||
8282 | * libcoff.h (coff_link_hash_entry): added toc_offset field | |
8283 | (pe_tdata): added real_flags field | |
8284 | (coff_tdata): added local_toc_sym_map and access macro | |
8285 | ||
8286 | * coffcode.h (coff_set_alignment_hook): added hook for PE. | |
8287 | (coff_mkobject): init for local_toc_sym_map | |
8288 | (coff_write_object_contents): set the internal_a.magic to | |
8289 | IMAGE_NT_OPTIONAL_HDR_MAGIC which appears to be what other | |
8290 | ppc compilers use. | |
8291 | ||
6bc200f2 ILT |
8292 | Tue Nov 7 13:48:58 1995 Ian Lance Taylor <ian@cygnus.com> |
8293 | ||
c0971298 ILT |
8294 | * ecofflink.c (_bfd_ecoff_locate_line): Keep looking through stabs |
8295 | entries until both the line number address and the function name | |
8296 | address are too large. | |
8297 | ||
6a468850 ILT |
8298 | * configure.in: Call AC_CHECK_PROG to find and cache AR. |
8299 | * configure: Rebuilt. | |
8300 | ||
6bc200f2 ILT |
8301 | * aclocal.m4 (BFD_CC_FOR_BUILD): Don't define CC_FOR_BUILD if it |
8302 | is defined in the environment. | |
8303 | ||
c44bf94c JL |
8304 | Tue Nov 7 10:57:24 1995 Jeffrey A Law (law@cygnus.com) |
8305 | ||
8306 | * som.c (som_get_section_contents_in_window): Define to use | |
8307 | generic version. | |
8308 | ||
cf587de8 ILT |
8309 | Mon Nov 6 17:13:15 1995 Harry Dolan <dolan@ssd.intel.com> |
8310 | ||
8311 | * coff-i860.c: New file, based on coff-i386.c. | |
8312 | * cpu-i860.c: New file, based on cpu-i386.c. | |
8313 | * hosts/i860mach3.h: New file, based on hosts/i386mach3.h. | |
8314 | * config.bfd (i860-*-mach3*, i860-*-osf1*, i860-*-coff*): New | |
8315 | targets, using i860coff_vec. | |
8316 | * configure.in (i860-*-mach3*, i860-*-osf1*): New hosts, using | |
8317 | trad-core.o and hosts/i860mach3.h. | |
8318 | (i860coff_vec): Use coff-i860.o and cofflink.o. | |
8319 | * configure: Rebuild. | |
8320 | * Makefile.in: Rebuild dependencies. | |
8321 | (ALL_MACHINES): Add cpu-i860.o. | |
8322 | (BFD32_BACKENDS): Add coff-i860.o. | |
8323 | (CFILES): Add cpu-i860.c and coff-i860.c. | |
8324 | * targets.c (i860coff_vec): Declare. | |
cf2cd4cf | 8325 | (bfd_target_vector): Add &i860coff_vec. |
cf587de8 ILT |
8326 | * archures.c (bfd_i860_arch): Declare. |
8327 | (bfd_archures_list): Add &bfd_i860_arch. | |
8328 | * coffcode.h (coff_set_arch_mach_hook): Handle I860 magic number. | |
8329 | (coff_set_flags): Handle bfd_arch_i860. | |
8330 | (coff_write_object_contents): Handle I860 a.out magic number. | |
8331 | ||
83c23fca ILT |
8332 | Mon Nov 6 14:34:07 1995 Ian Lance Taylor <ian@cygnus.com> |
8333 | ||
8334 | * xcofflink.c (xcoff_link_add_symbols): Set the alignment power of | |
8335 | the created .tc section to 2. | |
8336 | (xcoff_mark): Don't keep a .loader reloc for a call to an | |
8337 | undefined symbol when creating a shared library. | |
8338 | (xcoff_build_ldsyms): When creating a shared library, generate | |
8339 | global linkage code for a call to an undefined symbol. | |
8340 | ||
5d9eb9c3 KR |
8341 | Sun Nov 5 21:44:13 1995 Ken Raeburn <raeburn@cygnus.com> |
8342 | ||
8343 | * Makefile.in (CFILES): Rebuild list from BFD_LIBS, ALL_MACHINES, | |
8344 | BFD32_BACKENDS, BFD64_BACKENDS. | |
8345 | (.dep1): Put mkdep output in a separate file. | |
8346 | Rebuilt dependencies. | |
8347 | ||
ffacb892 KR |
8348 | * ecoff.c (_bfd_ecoff_slurp_armap): Cast _bfd_read_ar_hdr return |
8349 | value. | |
8350 | ||
4fe6d901 KR |
8351 | Permit use of mmap when available: |
8352 | ||
8353 | * configure.in: Check for mmap, madvise, mprotect. | |
8354 | * config.in, configure: Regenerated. | |
8355 | ||
8356 | * libbfd.c (struct _bfd_window_internal): Define type. | |
8357 | (bfd_init_window, bfd_free_window, bfd_get_file_window): New | |
8358 | functions. | |
8359 | (ok_to_map): New static variable for debugging. | |
8360 | (_bfd_generic_get_section_contents_in_window): New function. | |
8361 | * bfd-in.h (bfd_window_internal): Declare type. | |
8362 | (bfd_window): Define type. | |
8363 | (bfd_init_window, bfd_free_window, bfd_get_file_window): Declare. | |
8364 | * libbfd-in.h (_bfd_generic_get_section_contents_in_window): | |
8365 | Declare. | |
8366 | ||
8367 | * libaout.h (struct aoutdata): Add two window fields. | |
8368 | (obj_aout_sym_window, obj_aout_string_window): New macros. | |
8369 | * aoutx.h (some_aout_object_p): Initialize windows. | |
8370 | (aout_get_external_symbols): Get symbol data and strings in | |
8371 | windows instead of explicitly allocated buffers. | |
8372 | (slurp_symbol_table): Free window instead of memory. | |
8373 | (bfd_free_cached_info): Release windows instead of freeing storage | |
8374 | directly. | |
8375 | (aout_link_free_symbols): Ditto. | |
8376 | ||
8377 | * targets.c (bfd_target): Add new field for | |
8378 | get_section_contents_in_window. | |
8379 | (BFD_JUMP_TABLE_GENERIC): Updated. | |
8380 | * aout-adobe.c, aout-target.h, binary.c, bout.c, coff-alpha.c, | |
8381 | coff-mips.c, elfxx-target.h, i386msdos.c, i386os9k.c, ieee.c, | |
8382 | libcoff-in.h, oasys.c, srec.c, tekhex.c, versados.c: Added new | |
8383 | macros for get_section_contents_in_window field. | |
8384 | ||
d9e771e3 FF |
8385 | Sat Nov 4 12:23:26 1995 Fred Fish <fnf@cygnus.com> |
8386 | ||
8387 | * core.c: Renamed to corefile.c | |
8388 | * makefile.dos (OBJS): Change core.o to corefile.o | |
8389 | * Makefile.in (CFILES, BFD_LIBS): Use corefile.c instead of core.c | |
cf2cd4cf | 8390 | |
583db7a8 ILT |
8391 | Fri Nov 3 15:54:59 1995 Ian Lance Taylor <ian@cygnus.com> |
8392 | ||
8393 | * xcofflink.c (xcoff_link_add_symbols): Rename local variable sub | |
8394 | to o. Clobber and restore the list of new csects around the call | |
8395 | to _bfd_generic_link_add_one_symbol, in case it wants to report a | |
8396 | linker error and the linker wants to read the symbol table. Reset | |
8397 | the line number count of a real section even if it has no relocs. | |
8398 | (_bfd_xcoff_bfd_final_link): If shared, set the DYNAMIC flag. | |
8399 | ||
8400 | * coffgen.c (_bfd_coff_read_string_table): Warn if the string size | |
8401 | is too small. | |
8402 | ||
68aed7db ILT |
8403 | Thu Nov 2 23:16:39 1995 Ian Lance Taylor <ian@cygnus.com> |
8404 | ||
18a9609c ILT |
8405 | * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Don't warn about |
8406 | an undefined symbol in a shared link. | |
8407 | ||
68aed7db ILT |
8408 | * linker.c (_bfd_generic_link_add_one_symbol): Correct type of |
8409 | oldtype from bfd_link_order_type to bfd_link_hash_type. From | |
8410 | phdm@info.ucl.ac.be (Philippe De Muyter). | |
8411 | ||
7f82c7e1 ILT |
8412 | Wed Nov 1 14:26:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> |
8413 | ||
8414 | * coff-m88k.c (rtype2howto): New static function. | |
8415 | (RTYPE2HOWTO): Use it rather than a macro definition. | |
8416 | ||
8417 | * coffcode.h (coff_write_object_contents): set internal_a.magic | |
8418 | to PAGEMAGICPEXECPAGED #if defined (M68) && !defined (LYNXOS). | |
8419 | ||
4c8b9746 | 8420 | * configure.in: m68*-motorola-sysv* does not use ptrace-core.o; |
7f82c7e1 ILT |
8421 | define TRAD_HEADER to new file hosts/delta68.h. |
8422 | m88*-motorola-sysv*, however, does use ptrace-core.o. | |
8423 | * hosts/delta68.h: New file. | |
8424 | ||
8425 | * ptrace-core.c (ptrace_unix_core_file_p): change bfd_zmalloc to | |
8426 | bfd_zalloc; provide proper parm abfd to calls to bfd_zalloc. | |
8427 | ||
619c7730 KR |
8428 | Wed Nov 1 13:51:54 1995 Ken Raeburn <raeburn@cygnus.com> |
8429 | ||
8430 | * i386linux.c (MY(vec)): Declare before use. | |
8431 | ||
73246ff8 ILT |
8432 | Wed Nov 1 11:45:07 1995 Ian Lance Taylor <ian@cygnus.com> |
8433 | ||
e8d6d5d0 ILT |
8434 | * reloc16.c (bfd_coff_reloc16_get_relocated_section_contents): |
8435 | Pass input_bfd, not in_bfd, to bfd_coff_reloc16_extra_cases. | |
8436 | ||
b2193cc5 ILT |
8437 | * elf.c (bfd_elf_set_dt_needed_name): Don't do anything if the |
8438 | BFD is not of the right type. | |
8439 | (bfd_elf_get_needed_list): Likewise. | |
8440 | * i386linux.c (bfd_linux_size_dynamic_sections): Likewise. | |
8441 | * sunos.c (bfd_sunos_get_needed_list): Likewise. | |
8442 | * xcofflink.c (XCOFF_XVECP): Define. | |
8443 | (bfd_xcoff_link_record_set): Don't do anything if the BFD is not | |
8444 | of the right type. | |
8445 | (bfd_xcoff_import_symbol): Likewise. | |
8446 | (bfd_xcoff_export_symbol): Likewise. | |
8447 | (bfd_xcoff_link_count_reloc): Likewise. | |
8448 | (bfd_xcoff_record_link_assignment): Likewise. | |
8449 | (bfd_xcoff_size_dynamic_sections): Likewise. | |
8450 | ||
baabeb74 ILT |
8451 | * sunos.c (sunos_scan_ext_relocs): Only check the reloc symbol |
8452 | table index against the number of symbols for a base relative | |
8453 | reloc. | |
8454 | ||
73246ff8 ILT |
8455 | * coff-rs6000.c (_bfd_xcoff_sizeof_headers): Change from macro to |
8456 | static function. | |
8457 | * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Set | |
8458 | full_aouthdr flag here... | |
8459 | (_bfd_xcoff_bfd_final_link): ...not here. | |
8460 | ||
6ab826bd FF |
8461 | Tue Oct 31 12:52:02 1995 Fred Fish <fnf@cygnus.com> |
8462 | ||
8463 | * libelf.h: Rename to elf-bfd.h to avoid conflict with | |
8464 | systems that have a system <libelf.h>. | |
8465 | * Makefile.in: Globally replace libelf.h with elf-bfd.h. | |
8466 | * bfd.c, elf.c, elf32-arc.c, elf32-gen.c, elf32-hppa.c, | |
8467 | elf32-hppa.h, elf32-i386.c, elf32-i860.c, elf32-m68k.c, | |
8468 | elf32-m88k.c, elf32-mips.c, elf32-ppc.c, elf32-sparc.c, | |
8469 | elf64-gen.c, elf64-sparc.c, elfcode.h, elflink.c, | |
8470 | elfxx-target.h: Include elf-bfd.h rather than libelf.h. | |
8471 | * elfxx-target.h: Change libelf.h reference to elf-bfd.h. | |
8472 | ||
999cc186 ILT |
8473 | Tue Oct 31 15:30:07 1995 David Mosberger-Tang <davidm@azstarnet.com> |
8474 | ||
0652d579 ILT |
8475 | * ecoff.c (ecoff_set_symbol_info): Add new parameter weak. If |
8476 | set, set BSF_WEAK in symbol. Change all callers. | |
8477 | (ecoff_get_extr): Set weakext based on BSF_WEAK. | |
8478 | (ecoff_link_add_externals): If weakext is set, pass BSF_WEAK to | |
8479 | _bfd_generic_link_add_one_symbol. | |
8480 | (ecoff_indirect_link_order): Check that the section tdata relocs | |
8481 | are not NULL before using them. | |
8482 | ||
999cc186 ILT |
8483 | * configure.in (alpha*-*-linux*): Set COREFILE to trad-core.o and |
8484 | define TRAD_HEADER as hosts/alphalinux.h. | |
8485 | * configure: Rebuild. | |
8486 | * hosts/alphalinux.h: New file. | |
8487 | * trad-core.c (trad_unix_core_file_p): Cast u.u_ar0 to bfd_vma, | |
8488 | not int. | |
8489 | ||
e6080520 ILT |
8490 | Tue Oct 31 12:34:11 1995 Ian Lance Taylor <ian@cygnus.com> |
8491 | ||
2bd0aeb9 ILT |
8492 | * coffcode.h (coff_slurp_symbol_table): Accept C_BCOMM and |
8493 | C_ECOMM storage classes. | |
8494 | ||
e6080520 ILT |
8495 | * xcofflink.c (xcoff_mark_symbol): New static function, broken out |
8496 | of xcoff_mark. | |
8497 | (xcoff_mark): Call xcoff_mark_symbol. | |
8498 | (bfd_xcoff_export_symbol): Call xcoff_mark_symbol. | |
8499 | (bfd_xcoff_link_count_reloc): Call xcoff_mark_symbol rather than | |
8500 | doing it by hand. | |
8501 | (xcoff_build_ldsyms): Build a .loader symbol for an export symbol. | |
8502 | ||
5fe14a9f ILT |
8503 | Mon Oct 30 14:53:48 1995 Ian Lance Taylor <ian@cygnus.com> |
8504 | ||
f630a0a4 ILT |
8505 | * xcofflink.c (struct xcoff_final_link_info): Add new line_filepos |
8506 | field. | |
8507 | (xcoff_find_reloc): New static function. | |
8508 | (xcoff_link_add_symbols): Use it. | |
8509 | (_bfd_xcoff_bfd_final_link): Set finfo.line_filepos. | |
8510 | (xcoff_link_input_bfd): Handle C_BINCL and C_EINCL. Don't | |
8511 | relocate the value of C_DECL. | |
8512 | ||
5fe14a9f ILT |
8513 | * elf.c (elf_fake_sections): Remove bogus BFD_ASSERT. |
8514 | ||
dff77ed7 SC |
8515 | Sat Oct 28 01:25:34 1995 steve chamberlain <sac@slash.cygnus.com> |
8516 | ||
8517 | * cofflink.c (_bfd_coff_generic_relocate_section): Make | |
8518 | callback decide what goes in .relocs. | |
8519 | * pe[i]-i386.c (TARGET_UNDERSCORE): Define. | |
8520 | * peicode.h (pe_mkobject_hook): Only copy aouthdr if | |
8521 | there is one. | |
8522 | ||
697a8fe8 ILT |
8523 | Sat Oct 28 01:51:02 1995 Ian Lance Taylor <ian@cygnus.com> |
8524 | ||
8525 | * xcofflink.c (xcoff_link_add_symbols): Handle csects in the | |
8526 | absolute section. | |
8527 | ||
2d7de17d ILT |
8528 | Fri Oct 27 18:14:39 1995 Ian Lance Taylor <ian@cygnus.com> |
8529 | ||
8530 | * xcofflink.c: More improvements, mostly to fix handling of | |
8531 | constructors and a few other special cases. | |
8532 | * coff-rs6000.c (rs6000coff_vec): Set symbol_leading_char back to | |
8533 | zero, reverting yesterday's change. | |
8534 | * bfd-in.h (bfd_xcoff_link_record_set): Declare. | |
8535 | (bfd_xcoff_link_count_reloc): Declare. | |
8536 | (bfd_xcoff_record_link_assignment): Declare. | |
8537 | * bfd-in2.h: Rebuild. | |
8538 | ||
f552f751 NH |
8539 | Fri Oct 27 14:42:15 1995 Niklas Hallqvist <niklas@appli.se> |
8540 | ||
4906b2a3 | 8541 | * PORTING, aout-arm.c, aout-encap.c, aout-target.h, |
f552f751 NH |
8542 | aoutx.h, gen-aout.c, host-aout.c, hp300bsd.c, i386aout.c |
8543 | i386bsd.c, i386dynix.c, i386linux.c, i386lynx.c, i386mach3.c, | |
8544 | i386netbsd.c, m68klynx.c, m88kmach3.c, mipsbsd.c, newsos3.c, | |
8545 | ns32knetbsd.c, pc532-mach.c, riscix.c, sparclynx.c, sparcnetbsd.c: | |
8546 | Change PAGE_SIZE to TARGET_PAGE_SIZE. | |
8547 | ||
8548 | * m68knetbsd.c: Ditto as well as add support for the m68k4k object | |
8549 | format. | |
8550 | ||
8551 | * netbsd.h: Double ditto (incl. m68k4k support). NetBSD's text | |
8552 | segments includes the a.out header. See to that the magic number | |
8553 | *always* is big-endian. | |
8554 | ||
8555 | * config.bfd: Add m68*-hp*-netbsd* case. Cross-pollinate m68k and | |
8556 | m68k4k NetBSD configurations. | |
8557 | ||
8558 | * configure.in, configure: Separate i386 & mips NetBSD | |
8559 | configurations from other BSD ones. Don't assume DEC is the only | |
8560 | thing NetBSD/mips run on. Add {m68k,ns32k,sparc}-*-netbsd* | |
8561 | configurations. Add support for m68k4k NetBSD object format. | |
8562 | ||
8563 | * libaout.h: Added M_68K4K_NETBSD magic. | |
6fd1f40d NH |
8564 | |
8565 | * m68k4knetbsd.c: New file. | |
cf2cd4cf | 8566 | |
f552f751 NH |
8567 | * hosts/{m68k,sparc}nbsd.h: Don't define HOST_BIG_ENDIAN_P. |
8568 | ||
8569 | * hosts/nbsd.h: Define HOST_BIG_ENDIAN_P according to | |
8570 | <machine/endian.h>. | |
8571 | ||
6fd1f40d | 8572 | * hosts/mipsnbsd.h: New file. |
cf2cd4cf | 8573 | |
867d923d ILT |
8574 | Thu Oct 26 14:16:47 1995 Ian Lance Taylor <ian@cygnus.com> |
8575 | ||
8576 | * xcofflink.c: Numerous changes to get closer to a working XCOFF | |
8577 | linker. | |
8578 | * libcoff-in.h (struct xcoff_tdata): Add full_aouthdr, | |
8579 | toc_section, and entry_section fields. | |
8580 | (struct xcoff_section_tdata): Remove ldrel_count field. | |
8581 | * libcoff.h: Rebuild. | |
8582 | * coffcode.h (coff_mkobject_hook): Initialize new xcoff_data | |
8583 | fields. | |
8584 | (coff_compute_section_file_positions): If RS6000COFF_C, generate | |
8585 | full a.out header if full_aouthdr is set in xcoff_data. | |
8586 | (coff_write_object_contents): Likewise. Set o_snentry and o_sntoc | |
8587 | based on sections stored in xcoff_data. | |
8588 | * coff-rs6000.c (xcoff_copy_private_bfd_data): Copy new xcoff_data | |
8589 | fields. | |
aad2c618 ILT |
8590 | (xcoff_reloc_type_lookup): Handle BFD_RELOC_CTOR. |
8591 | (rs6000coff_vec): Set symbol_leading_char to '.'. | |
867d923d ILT |
8592 | * coffgen.c (coff_get_symbol_info): If fix_value is set, fix the |
8593 | value stored in ret rather than returning a pointer value. | |
cf2cd4cf | 8594 | |
6bd9ffdb MM |
8595 | Wed Oct 25 23:10:39 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
8596 | ||
8597 | * config.bfd (powerpc{,le}-{elf,sysv4,eabi,solaris2}): Remove MAC | |
8598 | format for now. | |
8599 | ||
9d14250f JL |
8600 | Wed Oct 25 16:19:27 1995 Jeffrey A Law (law@cygnus.com) |
8601 | ||
8602 | * som.c (som_slurp_string_table): Allocate the strings with malloc | |
8603 | since they're free'd by free_cached_info. | |
8604 | (som_slurp_symbol_table): Similarly for the symbol table. | |
8605 | ||
a2bd0529 PB |
8606 | Wed Oct 25 14:59:22 1995 Per Bothner <bothner@kalessin.cygnus.com> |
8607 | ||
8608 | * Makefile.in (diststuff): Don't make headers. | |
8609 | ||
28a0c103 ILT |
8610 | Wed Oct 25 11:32:54 1995 Ian Lance Taylor <ian@cygnus.com> |
8611 | ||
356cd465 ILT |
8612 | * Makefile.in: Rebuild dependencies. |
8613 | ||
1edd3a7b ILT |
8614 | * sunos.c (bfd_sunos_record_link_assignment): Don't do anything if |
8615 | output_bfd is not SunOS. | |
8616 | (bfd_sunos_size_dynamic_sections): Likewise. Don't scan relocs of | |
8617 | non-SunOS input files. | |
8618 | ||
28a0c103 ILT |
8619 | * xcofflink.c: Extensive changes to support linking shared objects |
8620 | and generating a .loader section. | |
8621 | * libcoff-in.h (struct xcoff_tdata): Add import_file_id field. | |
b73322d9 ILT |
8622 | (struct xcoff_section_tdata): Add lineno_count, first_symndx, |
8623 | last_symndx, and ldrel_count fields. | |
28a0c103 ILT |
8624 | * libcoff.h: Rebuild. |
8625 | * coff-rs6000.c (xcoff_howto_table): Correct reloc names. | |
8626 | * coffcode.h (styp_to_sec_flags): Don't set any flags if STYP_PAD | |
8627 | is set. | |
8628 | * bfd-in.h (bfd_xcoff_import_symbol): Declare. | |
8629 | (bfd_xcoff_export_symbol): Declare. | |
8630 | (bfd_xcoff_size_dynamic_sections): Declare. | |
8631 | * bfd-in2.h: Rebuild. | |
8632 | ||
aadf04f7 SS |
8633 | Tue Oct 24 17:44:20 1995 Stan Shebs <shebs@andros.cygnus.com> |
8634 | ||
8635 | * configure.in: Add xcofflink.o to pmac_xcoff_vec. | |
8636 | * configure: Rebuild. | |
8637 | * mpw-config.in: Add xcofflink.c.o to powerpc-apple-macos. | |
8638 | * coff-pmac.c: Include coff-rs6000.c instead of duplicating its | |
8639 | contents. | |
8640 | (pmac_xcoff_vec): Update to use new xcoff support. | |
8641 | * coff-rs6000.c (xcoff_generic_stat_arch_elt): Make static. | |
8642 | (xcoff_write_armap): Declare buf as unsigned char. | |
8643 | * xcofflink.c (xcoff_link_add_symbols): Declare a local as PTR. | |
8644 | ||
8645 | * mpw-make.sed: Generalize subdir_do edit. | |
cf2cd4cf | 8646 | |
ddf4639b JL |
8647 | Tue Oct 24 10:25:01 1995 Jeffrey A Law (law@cygnus.com) |
8648 | ||
8649 | * hppabsd-core.c (make_bfd_asection): Initialize asect->filepos | |
8650 | correctly. Don't initialize asect->vma. | |
8651 | ||
e7bedf65 KR |
8652 | Fri Oct 20 13:23:48 1995 Ken Raeburn <raeburn@cygnus.com> |
8653 | ||
8654 | * opncls.c (_bfd_new_bfd): If _bfd_chunksize wasn't preset, use | |
8655 | something a little less than the page size. | |
8656 | ||
8657 | Thu Oct 19 13:06:09 1995 Ian Lance Taylor <ian@cygnus.com> | |
8658 | ||
8659 | * coff-i960.c (coff_i960_adjust_symndx): Clear *adjustedp. | |
8660 | ||
3a70e298 SC |
8661 | Wed Oct 18 16:20:08 1995 steve chamberlain <sac@slash.cygnus.com> |
8662 | ||
8663 | * coff-i386.c (coff_i386_reloc_type_lookup): New. | |
8664 | * coffcode.h (coff_write_object_contents): If .bss is before | |
8665 | .data us that as data_start. | |
8666 | * cofflink.c (_bfd_coff_generic_relocate_section): Get reloc | |
8667 | calc correct. | |
8668 | * peicode.h (add_data_entry): Use _cooked_size of data directory. | |
8669 | (coff_swap_outhdr_out): Hardwire in version number. | |
cf2cd4cf | 8670 | |
5a2846e3 KR |
8671 | Wed Oct 18 16:50:54 1995 Ken Raeburn <raeburn@cygnus.com> |
8672 | ||
3c3a5268 KR |
8673 | * sunos.c (sunos_add_dynamic_symbols): Rename local variables |
8674 | major and minor to *_vno, since the former are also macros in | |
8675 | SunOS header files. Cast result of bfd_alloc to appropriate | |
8676 | type. | |
8677 | ||
5a2846e3 KR |
8678 | * coffgen.c (coff_find_nearest_line): Cast used_by_bfd value |
8679 | before assigning to sec_data. | |
8680 | ||
0f6c885e ILT |
8681 | Wed Oct 18 13:25:17 1995 Ian Lance Taylor <ian@cygnus.com> |
8682 | ||
8683 | * ecoff.c (_bfd_ecoff_find_nearest_line): The offset argument is | |
8684 | now relative to the section, not absolute. | |
8685 | * ecofflink.c (_bfd_ecoff_locate_line): Use the right symbol to | |
8686 | get the file name when there is a N_SO directory name. When | |
8687 | handling stabs, remember that section->vma was added to the | |
8688 | offset. | |
8689 | ||
11fa6636 ILT |
8690 | Tue Oct 17 18:24:54 1995 Ian Lance Taylor <ian@cygnus.com> |
8691 | ||
8692 | * sunos.c (struct sunos_link_hash_table): Add needed field. | |
8693 | (sunos_link_hash_table_create): Call bfd_release, not free. | |
8694 | (sunos_link_hash_table_create): Initialize needed field. | |
8695 | (sunos_add_dynamic_symbols): Record needed objects. | |
8696 | (bfd_sunos_get_needed_list): New function. | |
8697 | * bfd-in.h (bfd_sunos_get_needed_list): Declare. | |
8698 | * bfd-in2.h: Rebuild. | |
8699 | ||
c974e19e SC |
8700 | Mon Oct 16 14:43:59 1995 steve chamberlain <sac@slash.cygnus.com> |
8701 | ||
8702 | * libcoff-in.h (pe_data_type.in_reloc_p): New. | |
8703 | ||
22a35f0b ILT |
8704 | Mon Oct 16 10:52:50 1995 Ian Lance Taylor <ian@cygnus.com> |
8705 | ||
54406786 ILT |
8706 | * bfd-in.h (struct bfd_link_needed_list): Rename from |
8707 | bfd_elf_link_needed_list. | |
8708 | * bfd-in2.h: Rebuild. | |
8709 | * elf.c, elflink.h, libelf.h: Corresponding changes. | |
8710 | ||
dd984644 ILT |
8711 | Add start at AIX linker support; no shared libraries yet. |
8712 | * xcofflink.c: New file. | |
8713 | * configure.in (rs600coff_vec): Use xcofflink.o. | |
8714 | * configure: Rebuild. | |
8715 | * libcoff-in.h (struct xcoff_tdata): Add csects and debug_indices | |
8716 | fields. | |
8717 | (struct xcoff_section_tdata): Define. | |
8718 | (xcoff_section_data): Define macro. | |
8719 | (_bfd_xcoff_bfd_link_hash_table_create): Declare. | |
8720 | (_bfd_xcoff_bfd_link_add_symbols): Declare. | |
8721 | (_bfd_xcoff_bfd_final_link): Declare. | |
8722 | (_bfd_ppc_xcoff_relocate_section): Declare. | |
8723 | * libcoff.h: Rebuild. | |
8724 | * coff-rs6000.c: Clean up a bit. | |
8725 | (xcoff_mkobject): Default modtype to 1L, not RE. Initialize | |
8726 | cputype, csects, and debug_indices. | |
8727 | (xcoff_copy_private_bfd_data): Copy cputype. | |
8728 | (xcoff_howto_table): Rename from rs6000coff_howto_table. | |
8729 | (xcoff_rtype2howto): Rename from rs6000coff_rtype2howto. | |
8730 | (xcoff_reloc_type_lookup): Rename from | |
8731 | rs6000coff_reloc_type_lookup. | |
8732 | (coff_relocate_section): Define. | |
8733 | (_bfd_xcoff_sizeof_headers): Define. | |
8734 | (_bfd_xcoff_bfd_get_relocated_section_contents): Define. | |
8735 | (_bfd_xcoff_bfd_relax_section): Define. | |
8736 | (_bfd_xcoff_bfd_link_split_section): Define. | |
8737 | (rs6000coff_vec): For BFD_JUMP_TABLE_LINK, use _bfd_xcoff, not | |
8738 | coff. | |
8739 | * coffcode.h (coff_compute_section_file_positions): If AIX, | |
8740 | increment sofar by SMALL_AOUTSZ if not executable. | |
8741 | (coff_write_object_contents): If AIX, always output an a.out | |
8742 | header; if not executable, header size of SMALL_AOUTSZ. | |
8743 | * hash.c (struct bfd_strtab_hash): Add xcoff field. | |
8744 | (_bfd_stringtab_init): Initialize xcoff field. | |
8745 | (_bfd_xcoff_stringtab_init): New function. | |
8746 | (_bfd_stringtab_add): In XCOFF mode, leave two bytes for length. | |
8747 | (_bfd_stringtab_emit): In XCOFF mode, write out length. | |
8748 | * libbfd-in.h (_bfd_xcoff_stringtab_init): Declare. | |
8749 | * libbfd.h: Rebuild. | |
8750 | * Makefile.in: Rebuild dependencies. | |
8751 | (BFD32_BACKENDS): Add xcofflink.o. | |
8752 | (CFILES): Add xcofflink.c. | |
8753 | ||
22a35f0b ILT |
8754 | * elf32-mips.c (mips_elf_symbol_processing): Set SEC_ALLOC, not |
8755 | SEC_NO_FLAGS, for .acommon section. From Peter Schauer | |
8756 | <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>. | |
8757 | ||
fb417a21 MM |
8758 | Sat Oct 14 21:36:02 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
8759 | ||
8760 | * coff-ppc.c (in_reloc_p): Add, clone from coff-i386.c. | |
8761 | ||
8762 | Fri Oct 13 17:48:43 1995 Ken Raeburn <raeburn@cygnus.com> | |
8763 | ||
8764 | * acconfig.h (HAVE_SYS_PROCFS_H): Undef, with comment. | |
8765 | * config.in: Regenerated. | |
8766 | ||
8767 | * opncls.c (getpagesize) [!HAVE_GETPAGESIZE]: Define as 2048. | |
8768 | (_bfd_chunksize): New variable. | |
8769 | (_bfd_new_bfd): Set it to getpagesize() if negative, and use it | |
8770 | for obstack chunk size. | |
8771 | * configure.in: Check for getpagesize. | |
8772 | * configure: Regenerated. | |
8773 | ||
8774 | Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
8775 | ||
8776 | * trad-core.c (rawptr): Make it a local variable of | |
8777 | ptrace_unix_core_file_p. | |
8778 | ||
b1e46369 SC |
8779 | Fri Oct 13 11:22:01 1995 steve chamberlain <sac@slash.cygnus.com> |
8780 | ||
8781 | * coff-arm.c (in_reloc_p): New. | |
8782 | * coff-i386.c (in_reloc_p): New. | |
8783 | * coffcode.h: Allways include peicode.h if COFF_WITH_PE. | |
8784 | (coff_write_object_contents): Only set has_reloc_section | |
8785 | if PE_IMAGE. | |
8786 | * cofflink.c (_bfd_coff_generic_relocate_section): Call | |
8787 | in_reloc_p to decide if reloc should be emitted. | |
8788 | * libcoff.h (pe_data_type.in_reloc_p): New. | |
8789 | * peicode.h (pe_mkobject): Initialize in_reloc_p. | |
8790 | ||
ee9f09cd ILT |
8791 | Wed Oct 11 00:49:29 1995 Ian Lance Taylor <ian@cygnus.com> |
8792 | ||
b1e46369 SC |
8793 | * cofflink.c (_bfd_coff_internal_syment_name): Move to coffgen.c. |
8794 | (_bfd_coff_read_internal_relocs): Likewise. | |
8795 | * coffgen.c (_bfd_coff_internal_syment_name): Copy from coffgen.c. | |
8796 | (_bfd_coff_read_internal_relocs): Likewise. | |
8797 | ||
ee9f09cd ILT |
8798 | * elflink.h (elf_link_add_object_symbols): Correct conditions |
8799 | under which type and size change warnings are issued. | |
8800 | ||
78b31b6b ILT |
8801 | Tue Oct 10 18:32:46 1995 Ian Lance Taylor <ian@cygnus.com> |
8802 | ||
8803 | * coffgen.c (coff_count_linenumbers): Don't count line numbers for | |
8804 | a symbol which is not in a real section. | |
8805 | (coff_write_native_symbol): Corresponding change. | |
8806 | ||
8807 | * cofflink.c (_bfd_coff_link_hash_newfunc): Rename from | |
8808 | coff_link_hash_newfunc and make non-static. | |
8809 | (_bfd_coff_link_hash_table_init): New function, broken out of | |
8810 | _bfd_coff_link_hash_table_create. | |
8811 | (_bfd_coff_link_hash_table_create): Use it. | |
8812 | (process_embedded_commands): Make static. | |
8813 | * libcoff-in.h ((_bfd_coff_link_hash_newfunc): Declare. | |
8814 | (_bfd_coff_link_hash_table_init): Declare. | |
8815 | * libcoff.h: Rebuild. | |
8816 | ||
8817 | * coffcode.h (coff_mkobject_hook): If RS6000COFF_C, set cputype | |
8818 | field in XCOFF tdata. | |
8819 | (coff_set_arch_mach_hook): Check ifdef RS6000COFF_C, not ifdef | |
8820 | U802ROMAGIC, for clarity. Try to set arch and machine correctly | |
8821 | based on cputype stored in a.out header, or in n_type of initial | |
8822 | .file symbol. | |
8823 | (coff_write_object_contents): Set cputype correctly in a.out | |
8824 | header. | |
8825 | (coff_slurp_symbol_table): Add casts to file_ptr to avoid | |
8826 | warnings. | |
8827 | * coffswap.h (coff_swap_aouthdr_in): Swap in cputype field. | |
8828 | (coff_swap_aouthdr_out): Swap out cputype field. Don't clear | |
8829 | old resv1 field. | |
8830 | * libcoff-in.h (struct xcoff_tdata): Add cputype field. | |
8831 | * libcoff.h: Rebuild. | |
8832 | ||
8833 | * cpu-rs6000.c (rs6000_compatible): New static function. | |
8834 | (bfd_rs6000_arch): Use it. | |
8835 | * cpu-powerpc.c (powerpc_compatible): New static function. | |
8836 | (arch_info_struct): Define various flavours of PowerPC. | |
8837 | (bfd_powerpc_arch): Use powerpc_compatible. Point at | |
8838 | arch_info_struct. | |
8839 | ||
9dd7e56f FF |
8840 | Tue Oct 10 10:50:46 1995 Fred Fish <fnf@cygnus.com> |
8841 | ||
78b31b6b | 8842 | * Makefile.in (FLAGS_TO_PASS): Remove BISON. |
9dd7e56f | 8843 | |
8235c112 ILT |
8844 | Tue Oct 10 01:28:29 1995 Ian Lance Taylor <ian@cygnus.com> |
8845 | ||
8846 | * elflink.h (elf_link_add_object_symbols): Don't warn about | |
8847 | changing the size or type if the old definition was weak. | |
8848 | ||
0322af0d ILT |
8849 | Mon Oct 9 11:24:08 1995 Ian Lance Taylor <ian@cygnus.com> |
8850 | ||
49488f2b ILT |
8851 | * coffcode.h (combined_entry_type): Add fix_line field. |
8852 | (coff_slurp_line_table): Warn if we try to set the lineno field of | |
8853 | a symbol twice. | |
8854 | (coff_slurp_symbol_table): If RS6000COFF_C, handle C_BINCL and | |
8855 | C_EINCL by setting fix_line. Fix C_BSTAT symbol value. | |
8856 | * coffgen.c (coff_mangle_symbols): Handle fix_line. | |
8857 | (coff_write_symbol): Only use N_DEBUG if the symbol is in the | |
8858 | absolute section. | |
8859 | (coff_print_symbol): Print fix_value symbols in a useful fashion. | |
8860 | * libcoff.h: Rebuild. | |
8861 | ||
5f710a3a ILT |
8862 | * libcoff-in.h (struct xcoff_tdata): Define. |
8863 | (xcoff_data): Define. | |
8864 | * bfd.c (struct _bfd): Add xcoff_obj_data field to tdata union. | |
8865 | * bfd-in2.h, libcoff.h: Rebuild. | |
8866 | * coff-rs6000.c (xcoff_mkobject): New static function. | |
8867 | (coff_mkobject): Define. | |
8868 | (xcoff_copy_private_bfd_data): New static function. | |
8869 | (coff_bfd_copy_private_bfd_data): Define. | |
8870 | (rs6000coff_howto_table): Change R_TOC complain_on_overflow from | |
8871 | signed to bitfield. | |
8872 | (rs6000coff_vec): Add DYNAMIC to object_flags. | |
8873 | * coffcode.h (sec_to_styp_flags): If RS6000COFF_C, handle .pad and | |
8874 | .loader sections specially. | |
8875 | (coff_new_section_hook): If RS6000COFF_C, get the .text and .data | |
8876 | section alignment from the XCOFF tdata information. | |
8877 | (coff_mkobject_hook): If RS6000COFF_C, set DYNAMIC based on | |
8878 | F_SHROBJ, and copy the extra a.out header information into the | |
8879 | XCOFF tdata structure. | |
8880 | (coff_write_object_contents): If RS6000COFF_C, set F_SHROBJ, | |
8881 | F_DYNLOAD and the extra a.out header information. | |
8882 | (coff_slurp_symbol_table): Set BSF_NOT_AT_END for a C_EXT or | |
8883 | C_HIDEXT symbol with attached csect information. | |
8884 | * coffswap.h (coff_swap_aouthdr_in): If RS6000COFF_C, swap | |
8885 | in the o_maxdata field. | |
8886 | (coff_swap_aouthdr_out): If RS6000COFF_C, swap extra XCOFF fields. | |
8887 | * coffgen.c (coff_renumber_symbols): Don't move any symbol to the | |
8888 | end if BSF_NOT_AT_END is set. | |
3f2c5b2d | 8889 | |
0322af0d ILT |
8890 | * targets.c (bfd_target): Rename _bfd_read_ar_hdr field to |
8891 | _bfd_read_ar_hdr_fn. | |
8892 | * libbfd-in.h (_bfd_read_ar_hdr): Update accordingly. | |
8893 | * bfd-in2.h, libbfd.h: Rebuild. | |
8894 | * archive.c (_bfd_get_elt_at_filepos): Cast _bfd_read_ar_hdr | |
8895 | return value. | |
8896 | (do_slurp_bsd_armap, do_slurp_coff_armap): Likewise. | |
8897 | (bfd_slurp_bsd_armap_f2): Likewise. | |
8898 | (_bfd_slurp_extended_name_table): Likewise. | |
8899 | ||
3266eaff KR |
8900 | Fri Oct 6 16:18:35 1995 Ken Raeburn <raeburn@cygnus.com> |
8901 | ||
8902 | Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
8903 | ||
8904 | * archive.c (bfd_get_next_mapent): Return BFD_NO_MORE_SYMBOLS | |
8905 | when the symbol table is empty. | |
8906 | ||
8907 | * elf32-m68k.c (elf_m68k_size_dynamic_sections): Don't reserve | |
8908 | space for section symbols, since we don't output them either. | |
8909 | (elf_m68k_adjust_dynindx): Removed. | |
8910 | ||
8911 | * ptrace-core.c (rawptr): Make it a local variable of | |
8912 | ptrace_unix_core_file_p. | |
3266eaff | 8913 | |
249479fa MM |
8914 | Fri Oct 6 12:24:47 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
8915 | ||
45b5d2f0 MM |
8916 | * coff-rs6000.c (xcoff_write_archive_contents): Return false, not |
8917 | NULL. | |
8918 | ||
249479fa MM |
8919 | * config.bfd (powerpc{,le}-{elf,sysv4,eabi,solaris2}): Add NT, and |
8920 | Mac object file formats. | |
8921 | ||
c53fac12 ILT |
8922 | Fri Oct 6 12:04:02 1995 Ian Lance Taylor <ian@cygnus.com> |
8923 | ||
4372f33f ILT |
8924 | * coffgen.c (coff_fix_symbol_name): Don't try to set up file |
8925 | auxent if there isn't one. | |
8926 | (coff_write_symbols): If there is no file auxent, use SYMNMLEN | |
8927 | rather than FILNMLEN as the maximum name length. | |
8928 | ||
0fc9ada9 ILT |
8929 | * coffcode.h (bfd_coff_backend_data): Add new field |
8930 | _bfd_coff_print_aux. | |
8931 | (bfd_coff_print_aux): New static function. | |
8932 | (coff_pointerize_aux_hook (RS6000COFF_C version)): Pointerize the | |
8933 | scnlen field of an XTY_LD csect aux entry. | |
8934 | (coff_print_aux): New static function. | |
8935 | (coff_slurp_symbol_table): Don't pointerize scnlen field; now done | |
8936 | in coff_pointerize_aux_hook. | |
8937 | (bfd_coff_std_swap_table): Initialize new field. | |
8938 | * coffgen.c (coff_print_symbol): Call bfd_coff_print_aux. | |
8939 | * libcoff.h: Rebuild. | |
8940 | * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. | |
8941 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
8942 | ||
7860fe38 ILT |
8943 | * coffcode.h (coff_write_object_contents): On AIX, clear F_RELFLG |
8944 | if there are symbols, for native AIX ld compatibility. | |
8945 | ||
c80cc833 ILT |
8946 | * coffcode.h (bfd_coff_backend_data): Add new field |
8947 | _bfd_coff_pointerize_aux_hook. | |
8948 | (coff_pointerize_aux_hook): Define as a function if RS6000COFF_C | |
8949 | or I960, and as 0 otherwise. | |
8950 | (bfd_coff_std_swap_table): Initialize new field. | |
8951 | * libcoff.h: Rebuild. | |
8952 | * coffgen.c (coff_pointerize_aux): Change parameters to take | |
8953 | symbol pointer instead of type and class, and to take aux index. | |
8954 | Call _bfd_coff_pointerize_aux_hook if it is defined. | |
8955 | (coff_get_normalized_symtab): Always call coff_pointerize_aux. | |
8956 | * coff-alpha.c (alpha_ecoff_backend_data): Initialize all fields. | |
8957 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
8958 | ||
c53fac12 ILT |
8959 | * coff-rs6000.c: Add full support for AIX archives. Rewrite old |
8960 | read-only/host-only support. | |
8961 | ||
8962 | * coffcode.h (coff_slurp_symbol_table): Set C_HIDEXT symbols to be | |
8963 | BSF_LOCAL. | |
d11e6b52 ILT |
8964 | (OTHER_GLOBAL_CLASS): Do not define to be C_HIDEXT if |
8965 | RS6000COFF_C. | |
c53fac12 ILT |
8966 | |
8967 | * targets.c (bfd_target): Add _bfd_read_ar_hdr field. Modify | |
8968 | BFD_JUMP_TABLE_ARCHIVE accordingly. | |
8969 | * libbfd-in.h (_bfd_snarf_ar_hdr): Don't declare. | |
8970 | (_bfd_compute_and_write_armap): Declare. | |
8971 | (_bfd_generic_read_ar_hdr): Declare. | |
8972 | (_bfd_read_ar_hdr): Define. | |
8973 | (_bfd_noarchive_read_ar_hdr): Define. | |
8974 | (_bfd_archive_bsd_read_ar_hdr): Define. | |
8975 | (_bfd_archive_coff_read_ar_hdr): Define. | |
8976 | * archive.c: Change all callers of _bfd_snarf_ar_hdr to call | |
8977 | _bfd_read_ar_hdr instead. | |
8978 | (_bfd_generic_read_ar_hdr): Rename from _bfd_snarf_ar_hdr. | |
8979 | (_bfd_compute_and_write_armap): Rename from | |
8980 | compute_and_write_armap. Make non-static. Change all callers. | |
8981 | * ecoff.c (_bfd_ecoff_slurp_armap): Call _bfd_read_ar_hdr rather | |
8982 | than _bfd_snarf_ar_hdr. | |
8983 | * aout-target.h (MY_read_ar_hdr): Define if not defined. | |
8984 | * ieee.c (ieee_read_ar_hdr): Define. | |
8985 | * libecoff.h (_bfd_ecoff_read_ar_hdr): Define. | |
8986 | * oasys.c (oasys_read_ar_hdr): Define. | |
8987 | * som.c (som_read_ar_hdr): Define. | |
8988 | * bfd-in2.h, libbfd.h: Rebuild. | |
8989 | ||
f8e47484 SC |
8990 | Thu Oct 5 14:04:07 1995 steve chamberlain <sac@slash.cygnus.com> |
8991 | ||
8992 | * peicode.c (coff_swap_filehdr_in): If symptr is | |
8993 | zero, there aren't any symbols, even if nsyms is set. | |
8994 | ||
2b874a2d ILT |
8995 | Thu Oct 5 11:45:02 1995 Ian Lance Taylor <ian@cygnus.com> |
8996 | ||
aca73687 ILT |
8997 | * libecoff.h (struct ecoff_backend_data): Add adjust_headers |
8998 | field. | |
8999 | * ecoff.c (ecoff_sec_to_styp_flags): Check for various Alpha | |
9000 | sections, and set styp correctly for them: .got, .hash, .dynamic, | |
9001 | .liblist, .rel.dyn, .conflic, .dynstr, .dynsym, .comment. | |
9002 | (_bfd_ecoff_styp_to_sec_flags): Check for various Alpha section | |
9003 | types. | |
9004 | (ecoff_sort_hdrs): New static function. | |
9005 | (ecoff_compute_section_file_positions): Return boolean, not void. | |
9006 | Sort the sections by VMA before looking through them. Put the | |
9007 | first non SEC_ALLOC section on a new page. Put every SEC_ALLOC | |
9008 | section on an appropriate boundary within the page. | |
9009 | (ecoff_compute_reloc_file_positions): Check return value of | |
9010 | ecoff_compute_section_file_positions. | |
9011 | (_bfd_ecoff_set_section_contents): Likewise. | |
9012 | (_bfd_ecoff_write_object_contents): Check for various Alpha | |
9013 | section types when incrementing text_size and data_size. Call | |
9014 | adjust_headers backend function if it exists. | |
9015 | * coff-alpha.c (alpha_adjust_headers): New static function. | |
9016 | (alpha_ecoff_backend_data): Initialize adjust_headers field. | |
9017 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
9018 | ||
2b874a2d ILT |
9019 | * hosts/i386bsd.h: Restore file incorrectly deleted on Sep 6. |
9020 | ||
c780e5db JL |
9021 | Wed Oct 4 18:15:02 1995 Jeff Law (law@hurl.cygnus.com) |
9022 | ||
9023 | * rs6000-core.c (CORE_VERSION_1): Use CORE_VERSION_1 instead | |
9024 | of ALTERNATE_AIX_CORE_FORMAT. | |
9025 | * configure.in (aix4): No longer need CORE_FLAGS. | |
9026 | * configure: Updated. | |
9027 | ||
2a01c351 KR |
9028 | Wed Oct 4 15:36:36 1995 Ken Raeburn <raeburn@cygnus.com> |
9029 | ||
9030 | NS32k changes from Ian Dall: | |
9031 | * aoutx.h (MY_final_link_relocate, MY_relocate_contents): New | |
9032 | macros. | |
9033 | (aout_link_input_section_std, aout_link_input_section_ext, | |
9034 | aout_link_reloc_link_order): Call them instead of _bfd_* | |
9035 | versions. | |
9036 | * aout-target.h (MY_exec_header_not_counted): New macro, defaults | |
9037 | to zero. | |
9038 | (backend_data): Use it instead of hardcoded zero. | |
9039 | ||
9040 | * aout-ns32k.c (CTOR_TABLE_RELOC_HOWTO): New macro. | |
9041 | (MY_swap_std_reloc_out): Use udata.i for KEEPIT, don't call stoi. | |
9042 | ||
9043 | * ns32knetbsd.c: Include bfd.h. | |
9044 | (MY_text_includes_header, MY_bfd_reloc_type_lookup): New macros. | |
9045 | (MY_bfd_reloc_type_lookup): Declare function too. | |
9046 | * pc532-mach.c (set_sizes): Don't declare. | |
9047 | (MY_text_includes_header, MY_exec_header_not_counted): Define. | |
9048 | (backend_data, MY_backend_data): Don't define. | |
9049 | ||
9050 | * config.bfd: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and | |
9051 | ns32k-*-lites* like ns32k-*-netbsd*. | |
9052 | ||
9053 | * hosts/nbsd.h: Swap order of sys/vmparam.h and sys/param.h, to | |
9054 | compile on lites. | |
9055 | ||
5944d75b ILT |
9056 | Wed Oct 4 14:15:52 1995 Ian Lance Taylor <ian@cygnus.com> |
9057 | ||
9058 | * coffcode.h (coff_write_object_contents): Restore setting | |
9059 | f_timdat to 0, deleted on August 22. | |
9060 | ||
db344f82 SC |
9061 | Tue Oct 3 16:28:32 1995 steve chamberlain <sac@slash.cygnus.com> |
9062 | ||
9063 | * coffcode.h (coff_bfd_copy_private_symbol_data, | |
9064 | coff_bfd_copy_private_section_data, | |
9065 | coff_bfd_copy_private_bfd_data): ifdef to allow overrides. | |
9066 | * peicode.h (coff_bfd_copy_private_bfd_data): New | |
9067 | (pe_bfd_copy_private_bfd_data): New. | |
9068 | (coff_swap_scnhdr_in): Swap bss size into the right place. | |
9069 | (pe_print_private_bfd_data): Add some newlines. | |
5944d75b | 9070 | |
c780e5db | 9071 | Tue Oct 3 11:53:04 1995 Jeff Law (law@hurl.cygnus.com) |
97f1feda JL |
9072 | |
9073 | * som.c (setup_sections): Don't die if a space has no subspaces. | |
9074 | ||
3d7c42c9 ILT |
9075 | Mon Oct 2 14:08:55 1995 Ian Lance Taylor <ian@cygnus.com> |
9076 | ||
9077 | * elflink.h (elf_link_add_object_symbols): Don't let a weak | |
9078 | dynamic symbol override a common symbol. Don't change the size or | |
9079 | type if they have been set and the new symbol is not a definition. | |
9080 | Warn if the size or type changes. | |
9081 | ||
c780e5db | 9082 | Sun Oct 1 01:34:41 1995 Jeff Law (law@hurl.cygnus.com) |
709af562 JL |
9083 | |
9084 | * som.c (som_begin_writing): Don't write the symbol table or | |
9085 | symbol strings. | |
9086 | (som_finish_writing): Write them here. Place them after the | |
9087 | subspace data, but before the relocs. | |
9088 | ||
9089 | Fri Sep 29 11:01:55 1995 Ian Lance Taylor <ian@cygnus.com> | |
9090 | ||
9091 | * sunos.c (sunos_add_one_symbol): Just pass false, not | |
9092 | info->shared_library, to sunos_create_dynamic_sections. | |
9093 | (sunos_scan_ext_relocs): Don't warn about a reloc in the .text | |
9094 | section. | |
9095 | (sunos_check_dynamic_reloc): Remove .text section assertion. | |
9096 | ||
7009e451 SS |
9097 | Thu Sep 28 18:48:47 1995 Stan Shebs <shebs@andros.cygnus.com> |
9098 | ||
9099 | * config.bfd: Add powerpc-*-macos*, powerpc-*-mpw*. | |
9100 | * configure, configure.in: Add pmac_xcoff_vec case. | |
9101 | * Makefile.in (BFD32_BACKENDS): Add coff-pmac.o. | |
9102 | * coff-pmac.c: New file, PowerMac XCOFF support. | |
9103 | * coffcode.h (coff_set_arch_mach_hook): Add PowerMac case. | |
9104 | * targets.c (pmac_xcoff_vec): Declare. | |
9105 | ||
9106 | * mpw-config.in: Various changes to be compatible with the | |
9107 | autoconf-based configury. | |
9108 | * mpw-make.sed: New file, sed commands to translate Unix | |
9109 | makefile into MPW syntax. | |
9110 | * mpw-make.in: Remove. | |
9111 | * hosts/mpw.h: Remove. | |
9112 | * bfd-in.h, bfd-in2.h: If MPW, include the file that defines | |
9113 | true and false as enums, then define TRUE_FALSE_ALREADY_DEFINED. | |
9114 | ||
b91537be SC |
9115 | Thu Sep 28 17:06:23 1995 steve chamberlain <sac@slash.cygnus.com> |
9116 | ||
9117 | * binary.c (binary_get_symtab): Return an empty string on error. | |
9118 | * opncls.c (bfd_fdpenr): Change WIN32 restriction to WINGDB. | |
9119 | ||
30360a6f KK |
9120 | Thu Sep 28 15:30:44 1995 Kim Knuttila <krk@nellie> |
9121 | ||
9122 | * coff-ppc.c: Reformatted according to gnu conventions | |
9123 | Removed irrelevant "if 0" code | |
9124 | ||
20d1e233 ILT |
9125 | Thu Sep 28 11:19:53 1995 Ian Lance Taylor <ian@cygnus.com> |
9126 | ||
69fd4fdd ILT |
9127 | * hp300hpux.c (convert_sym_type): Treat secondary symbols as weak |
9128 | symbols rather than as indirect symbols. | |
9129 | (MY(slurp_symbol_table)): Don't do anything special about | |
9130 | secondary symbols. | |
9131 | ||
46b5a892 ILT |
9132 | * coffcode.h (coff_new_section_hook): Make sure that the alignment |
9133 | of .ctors and .dtors sections is no larger than 2. | |
9134 | ||
9db59230 ILT |
9135 | * sunos.c (sunos_add_one_symbol): Don't change |
9136 | bfd_link_hash_common to bfd_link_hash_new, since it may be on the | |
9137 | undef list. | |
9138 | (bfd_sunos_record_link_assignment): Don't put __DYNAMIC in the | |
9139 | dynamic symbols when creating a shared library. | |
9140 | (sunos_scan_ext_relocs): Handle relocs correctly when creating a | |
9141 | shared library. | |
9142 | (sunos_scan_dynamic_symbol): Don't mark the __DYNAMIC symbol as | |
9143 | written even if it is not defined in a regular object. | |
9144 | (sunos_write_dynamic_symbol): Use plt_offset for the address of | |
9145 | the jump table reloc. Add an assertion. Use RELOC_JMP_SLOT | |
9146 | rather than the constant 22. | |
9147 | (sunos_check_dynamic_reloc): Handle creating a shared library. | |
9148 | (sunos_finish_dynamic_link): Set the first entry in the GOT to | |
9149 | zero when creating a shared library. | |
9150 | * aoutx.h (NAME(aout,final_link)): If there is a symbol __DYNAMIC, | |
9151 | write it out at the start of the symbol table. | |
9152 | ||
20d1e233 ILT |
9153 | * Makefile.in (BFD32_BACKENDS): Add coff-arm.o. |
9154 | ||
a11e10fe DE |
9155 | Thu Sep 28 00:58:05 1995 Doug Evans <dje@deneb.cygnus.com> |
9156 | ||
9157 | * config.bfd: Add arm-*-coff. | |
9158 | * configure.in, configure: Add armcoff_{little,big}_vec. | |
9159 | * targets.c (armcoff_{little,big}_vec): Declare. | |
9160 | (bfd_target_vector): Add armcoff_{little,big}_vec. | |
9161 | * coff-arm.c (armcoff_{little,big}_vec): Always define. | |
9162 | ||
99062cfc ILT |
9163 | Wed Sep 27 10:37:14 1995 Ian Lance Taylor <ian@cygnus.com> |
9164 | ||
9165 | * targets.c (bfd_find_target): Remove debugging code. | |
9166 | ||
deacbe0f KK |
9167 | Wed Sep 27 07:23:39 1995 Kim Knuttila <krk@nellie> |
9168 | ||
cf2cd4cf | 9169 | * coff-ppc.c, pe-ppc.c, pei-ppc.c: Initial bfd for coff/PE |
deacbe0f KK |
9170 | support on powerpc. |
9171 | * Makefile.in: added *-ppc files | |
9172 | * coffcode.h: ppc MAGIC, and use peicode.h rather than coffswap.h to | |
9173 | allow pe based .o's to be shared with other tools on ppc/NT | |
9174 | * config.bfd: added powerpc[le]-[pe|winnt] config support | |
cf2cd4cf | 9175 | * configure, configure.in: added bfd_powerpc[le]_pe[i]_vec |
deacbe0f KK |
9176 | * peicode.h: Added more section flags for PE on ppc |
9177 | Added coff_swap_filehdr_out to allow peicode.h to be | |
9178 | used for non-image PE files on ppc. | |
9179 | Check for image, or not, before copying pe_opthdr | |
9180 | * targets.c: Added new bfd's | |
30360a6f KK |
9181 | * targets.c: Removed two inactive bfds that shouldn't have made it this |
9182 | far. | |
deacbe0f | 9183 | |
d22b02e0 MM |
9184 | Tue Sep 26 14:06:41 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
9185 | ||
9186 | * elf32-ppc.c (ppc_reloc_type): Rename from reloc_type, and use | |
9187 | explicit values to initialize all relocs. Change all users. | |
9188 | (ppc_elf_brtaken_inner): New function to handle branch predicition | |
9189 | relocs. | |
9190 | (ppc_elf_brtaken_reloc): Ditto. | |
9191 | (ppc_elf_howto_raw): Use new functions. Make sure all unsupported | |
9192 | relocs use ppc_elf_unsupported_reloc. | |
9193 | (ppc_elf_merge_private_bfd_data): Keep track of whether an error | |
9194 | needs to be reported. | |
9195 | (ppc_elf_relocate_section): Support branch prediction relocs. | |
9196 | ||
fcf490c0 ILT |
9197 | Tue Sep 26 12:48:05 1995 Ian Lance Taylor <ian@cygnus.com> |
9198 | ||
e6cb7b41 ILT |
9199 | * bfd.c (bfd_assert): Remove \n from string passed to |
9200 | _bfd_error_handler. | |
9201 | ||
1af85fbb ILT |
9202 | * coff-i386.c: (TWO_DATA_SECS): Don't define. |
9203 | * coffcode.h (bfd_coff_backend_data): Remove _bfd_make_section_hook. | |
9204 | (bfd_coff_make_section_hook): Don't define. | |
9205 | (coff_make_section_hook): Remove. | |
9206 | (sec_to_styp_flags): Remove TWO_DATA_SECS case. | |
9207 | (styp_to_sec_flags): Likewise. | |
9208 | (coff_write_object_contents): Likewise. | |
9209 | (bfd_coff_std_swap_table): Don't initialize make_section_hook | |
9210 | field. | |
9211 | * libcoff.h: Rebuild. | |
9212 | * coffgen.c (make_a_section_from_file): Just call | |
9213 | bfd_make_section_anyway, not bfd_make_section or | |
9214 | bfd_coff_make_section_hook. | |
9215 | * ecoff.c (_bfd_ecoff_make_section_hook): Remove. | |
9216 | * libecoff.h (_bfd_ecoff_make_section_hook): Don't declare. | |
9217 | * coff-alpha.c (alpha_ecoff_backend_data): Don't initialize | |
9218 | make_section_hook field. | |
9219 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
9220 | ||
fcf490c0 ILT |
9221 | * aoutx.h (translate_from_native_sym_flags): Don't try to stuff |
9222 | pointers into value field for warning and indirect symbols; just | |
9223 | leave the value field alone. | |
9224 | * linker.c (generic_link_add_symbol_list): Use next symbol for | |
9225 | warning and indirect symbols, rather than looking in symbol value. | |
9226 | * ecoff.c (ecoff_set_symbol_info): Remove indirect_ptr_ptr | |
9227 | parameter. Change all callers. Remove support for indirect | |
9228 | symbols; it didn't work anyhow. | |
9229 | (_bfd_ecoff_slurp_symbol_table): Remove indirect_ptr variable. | |
9230 | * syms.c: Change comments about BSF_WARNING and BSF_INDIRECT. | |
9231 | * bfd-in2.h: Rebuild. | |
9232 | ||
cc47d19a MM |
9233 | Mon Sep 25 16:04:09 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
9234 | ||
9235 | * elf32-ppc.c (ppc_elf_howto_raw): For all 14-bit branch relocs, | |
9236 | go back to telling the tools this reloc operates on 32 bits. | |
9237 | ||
81449d47 ILT |
9238 | Mon Sep 25 11:48:02 1995 Ian Lance Taylor <ian@cygnus.com> |
9239 | ||
7a7fbffb ILT |
9240 | * aout-adobe.c (aout_adobe_callback): Use _bfd_error_handler |
9241 | rather than a direct fprintf. | |
9242 | * archive.c (_bfd_write_archive_contents): Likewise. | |
9243 | * coffcode.h (coff_slurp_symbol_table): Likewise. | |
9244 | * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Likewise. | |
9245 | (ppc_elf_unsupported_reloc): Likewise. | |
9246 | (ppc_elf_relocate_section): Likewise. | |
9247 | * i386linux.c (linux_tally_symbols): Likewise. | |
9248 | (linux_finish_dynamic_link): Likewise. | |
9249 | * osf-core.c (osf_core_core_file_p): Likewise. | |
9250 | * rs6000-core.c (rs6000coff_get_section_contents): Likewise. | |
9251 | * som.c (som_sizeof_headers): Likewise. | |
9252 | * srec.c (srec_bad_byte): Likewise. | |
9253 | * bfd.c (bfd_assert): Likewise. Also change file to be const. | |
9254 | * libbfd-in.h (bfd_assert): Declare first parameter const. | |
9255 | * libbfd.h: Rebuild. | |
9256 | * coff-a29k.c (a29k_reloc): Don't bother to fprintf; returning | |
9257 | bfd_reloc_overflow is enough. | |
9258 | * coff-h8300.c (rtype2howto): Don't bother to fprintf; just abort. | |
9259 | * coff-h8500.c (rtype2howto): Likewise. | |
9260 | * coff-z8k.c (rtype2howto): Likewise. | |
9261 | * coffcode.h (dummy_reloc16_extra_cases): Likewise. | |
9262 | * elf.c (_bfd_elf_get_lineno): Likewise. | |
9263 | (_bfd_elf_no_info_to_howto): Likewise. | |
9264 | (_bfd_elf_no_info_to_howto_rel): Likewise. | |
9265 | * hp300hpux.c (convert_sym_type): Likewise. | |
9266 | (MY(swap_std_reloc_in)): Likewise. | |
9267 | * elf.c (bfd_section_from_shdr): Remove #if 0 sections. | |
9268 | ||
f1c6dd5d ILT |
9269 | * libaout.h (struct aoutdata): Add line_buf field. |
9270 | * aoutx.h (NAME(aout,find_nearest_line)): Remove statics buffer | |
9271 | and filename_buffer. Instead, use a malloc buffer stored in the | |
9272 | new line_buf field. Remove length restrictions. | |
9273 | ||
f0500a41 ILT |
9274 | * coffgen.c (string_size): Remove static variable. |
9275 | (debug_string_size, debug_string_section): Likewise. | |
9276 | (coff_fix_symbol_name): Add string_size_p, debug_string_section_p, | |
9277 | and debug_string_size_p parameters. Use them instead of the | |
9278 | global variables. Change all callers. | |
9279 | (coff_write_symbol): Likewise. | |
9280 | (coff_write_alien_symbol, coff_write_native_symbol): Likewise. | |
9281 | (coff_write_symbols): Add local variables to replace removed | |
9282 | global variables. | |
9283 | ||
25b5a53d ILT |
9284 | * libcoff-in.h (struct coff_section_tdata): Add offset, i, |
9285 | function, and line_base fields. | |
9286 | * libcoff.h: Rebuild. | |
9287 | * coffgen.c (coff_find_nearest_line): Use section tdata to cache | |
9288 | information, rather than using static variables. | |
9289 | ||
641ac26a ILT |
9290 | * sunos.c (sunos_read_dynamic_info): Adjust offsets in an NMAGIC |
9291 | file. From Peter DeWolf <pld@amt.tay1.dec.com>. | |
9292 | ||
81449d47 ILT |
9293 | * init.c (initialized): Remove static variable. |
9294 | (bfd_init): Don't bother setting initialized. | |
9295 | (bfd_check_init): Remove. | |
9296 | * opncls.c (_bfd_new_bfd): Don't call bfd_check_init. | |
9297 | * libbfd.h: Rebuild. | |
9298 | ||
138b9b81 PS |
9299 | Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
9300 | ||
9301 | * rs6000-core.c (rs6000coff_core_p): Don't check the core file | |
9302 | size for full core dumps. Copy core file header to private data. | |
9303 | (rs6000coff_core_file_failing_command, | |
9304 | rs6000coff_core_file_failing_signal): New functions to extract | |
9305 | the file name and terminating signal from the core file. | |
9306 | * coff-rs6000.c: Use them. | |
9307 | ||
2ffbb79a ILT |
9308 | Fri Sep 22 17:44:47 1995 Ian Lance Taylor <ian@cygnus.com> |
9309 | ||
9310 | Change arch info to be const, initialized at compile time. | |
9311 | * archures.c: Reindent many functions. Change CONST to const. | |
9312 | (bfd_arch_info_type): Make arch_name const. Remove disassemble; | |
9313 | nothing set it anyhow. Make next const. | |
9314 | (bfd_arch_info_list): Remove. | |
9315 | (bfd_archures_list): Rename from archures_init_table. Change from | |
9316 | a table of function pointers to a table of bfd_arch_info_type | |
9317 | structure addresses. | |
9318 | (bfd_scan_arch): Rewrite accordingly. Return a const pointer. | |
9319 | (bfd_lookup_arch): Likewise. | |
9320 | (bfd_set_arch_info): Rewrite accordingly. Change argument to be a | |
9321 | const pointer. | |
9322 | (bfd_default_arch_struct): Make const. | |
9323 | (bfd_arch_init, bfd_arch_linkin): Remove. | |
9324 | (bfd_get_arch_info): Return a const pointer. | |
9325 | * init.c (bfd_init): Don't call bfd_arch_init. | |
9326 | * bfd.c (struct _bfd): Make arch_info const. | |
9327 | * bfd-in2.h: Rebuild. | |
9328 | * libbfd.h: Rebuild. | |
9329 | * configure.in: Put & before everything in $selarchs. | |
9330 | * configure: Rebuild. | |
9331 | * cpu-*.c: Change bfd_*_arch from a function which calls | |
9332 | bfd_arch_linkin to a const structure. | |
9333 | * ieee.c (ieee_object_p): Make arch const. | |
9334 | ||
02f85cda MM |
9335 | Fri Sep 22 16:23:18 1995 Michael Meissner <meissner@tiktok.cygnus.com> |
9336 | ||
9337 | * reloc.c (bfd_reloc_code_type): Add relocations to support all of | |
9338 | PowerPC V.4. | |
9339 | * bfd-in2.h: Regenerate. | |
9340 | * libbfd.h: Regenerate. | |
9341 | ||
9342 | * elf32-ppc.c (reloc_type): Update names to match current draft. | |
9343 | (ppc_elf_howto_raw): Mark 14 bit relocs as short sized and PC | |
9344 | relative. Update names to current V.4 draft. | |
9345 | (ppc_elf_reloc_type_lookup): Add support for more relocations. | |
9346 | (ppc_elf_relocate_section): Rename relocations to match draft. | |
9347 | ||
dd82c578 MM |
9348 | Thu Sep 21 21:53:18 1995 Michael Meissner <meissner@cygnus.com> |
9349 | ||
9350 | * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Allow modules | |
9351 | compiled with -mrelocatable-lib to be linked with either normal | |
9352 | modules or -mrelocatable modules. | |
9353 | ||
f69e888e ILT |
9354 | Wed Sep 20 12:03:26 1995 Ian Lance Taylor <ian@cygnus.com> |
9355 | ||
e18c4e8f ILT |
9356 | * coffcode.h (coff_write_object_contents): Clear the vstamp field |
9357 | in the a.out header. | |
9358 | ||
f69e888e ILT |
9359 | * aoutx.h (NAME(aout,swap_ext_reloc_out)): Don't set r_extern for |
9360 | a reloc against a local symbol, even if it's not a section. | |
9361 | ||
a5655244 ILT |
9362 | Tue Sep 19 17:02:26 1995 Ian Lance Taylor <ian@cygnus.com> |
9363 | ||
9364 | * targets.c (bfd_target): Remove unused align_power_min field. | |
9365 | * bfd-in2.h: Rebuild. | |
9366 | * All backends: Remove initialization of align_power_min. | |
9367 | ||
500d7394 SC |
9368 | Tue Sep 19 14:02:21 1995 steve chamberlain <sac@slash.cygnus.com> |
9369 | ||
9370 | * peicode.h (coff_swap_scnhdr_out): Get sizes for BSS right. | |
500d7394 | 9371 | |
049df0a8 ILT |
9372 | Mon Sep 18 14:35:01 1995 Arne H. Juul <arnej@pvv.unit.no> |
9373 | ||
9374 | * config.bfd (mips-dec-netbsd*): New target. | |
9375 | * configure.host (mips-dec-netbsd*): New host. | |
9376 | * configure.in (mips-dec-netbsd*): New native. | |
9377 | * configure: Rebuild. | |
9378 | ||
1862bbd8 ILT |
9379 | Fri Sep 15 10:24:36 1995 Ian Lance Taylor <ian@cygnus.com> |
9380 | ||
9381 | Make the COFF backend linker merge common types: | |
9382 | * cofflink.c (struct coff_debug_merge_element): Define. | |
9383 | (struct coff_debug_merge_type): Define. | |
9384 | (struct coff_debug_merge_hash_entry): Define. | |
9385 | (struct coff_debug_merge_hash_table): Define. | |
9386 | (coff_debug_merge_hash_table_init): Define. | |
9387 | (coff_debug_merge_hash_table_free): Define. | |
9388 | (coff_debug_merge_hash_lookup): Define. | |
9389 | (struct coff_final_link_info): Add debug_merge field. | |
9390 | (coff_debug_merge_hash_newfunc): New static function. | |
9391 | (_bfd_coff_final_link): Allocate and free debug_merge table. | |
9392 | (coff_link_input_bfd): Merge identical enum, struct and union | |
9393 | types. | |
9394 | ||
a208a70f ILT |
9395 | Thu Sep 14 14:53:58 1995 Ian Lance Taylor <ian@cygnus.com> |
9396 | ||
9397 | Convert i960 COFF to use COFF backend linker. | |
9398 | * coff-i960.c (coff_i960_relocate): Use a coff_section_data | |
9399 | structure to store the symbol being used. | |
9400 | (coff_i960_start_final_link): New static function. | |
9401 | (coff_i960_relocate_section): New static function. | |
9402 | (coff_i960_adjust_symndx): New static function. | |
9403 | (coff_start_final_link): Define. | |
9404 | (coff_relocate_section): Define. | |
9405 | (coff_adjust_symndx): Define. | |
9406 | * coffcode.h (bfd_coff_backend_data): Add new callback function | |
9407 | _bfd_coff_start_final_link. | |
9408 | (bfd_coff_start_final_link): Define. | |
9409 | (coff_start_final_link): Define if not defined. | |
9410 | (bfd_coff_std_swap_table): Add coff_start_final_link. | |
9411 | * cofflink.c (_bfd_coff_internal_syment_name): Make globally | |
9412 | visible. | |
9413 | (_bfd_coff_final_link): Call bfd_coff_start_final_link if the | |
9414 | function callback is not NULL. | |
9415 | * libcoff-in.h (struct coff_section_tdata): Add tdata field. | |
9416 | (_bfd_coff_internal_syment_name): Declare. | |
9417 | * libcoff.h: Rebuild. | |
9418 | * configure.in (icoff_big_vec): Add cofflink.o. | |
9419 | (icoff_little_vec): Likewise. | |
9420 | * configure: Rebuild. | |
9421 | ||
f0abedbe FF |
9422 | Wed Sep 13 17:38:23 1995 Fred Fish <fnf@rtl.cygnus.com> |
9423 | ||
9424 | * Makefile.in (clean-info): Remove extraneous tab from line | |
9425 | following action. | |
9426 | ||
aa4b3dc5 ILT |
9427 | Wed Sep 13 13:27:53 1995 Ian Lance Taylor <ian@cygnus.com> |
9428 | ||
9429 | * cofflink.c (coff_link_input_bfd): Fail if a section with no | |
9430 | contents has relocs. | |
9431 | ||
4ca63811 | 9432 | Thu Sep 12 12:45:34 1995 steve chamberlain <sac@slash.cygnus.com> |
beee31b1 SC |
9433 | |
9434 | * coffcode.h (coff_compute_section_file_positions): Keep the | |
cf2cd4cf | 9435 | raw size safe. |
beee31b1 SC |
9436 | (coff_write_object_contents): Remember if it's a relocatable |
9437 | file. | |
9438 | * libcoff-in.h (pe_data_type): New member 'has_reloc_section' | |
9439 | * peicode.h (coff_swap_filehdr_out): Clear not-reloc flag | |
9440 | if relocatable file. Swap out saved raw size. | |
9441 | ||
ae115e51 ILT |
9442 | Tue Sep 12 12:14:33 1995 Ian Lance Taylor <ian@cygnus.com> |
9443 | ||
9521bac3 ILT |
9444 | * Makefile.in (do_maintainer_clean): Rename from do_realclean. |
9445 | (maintainer-clean): Rename from realclean, passing | |
9446 | maintainer-clean down to subdirectories, but leave realclean as a | |
9447 | synonym. | |
9448 | ||
4ca63811 ILT |
9449 | * linker.c (_bfd_generic_link_add_one_symbol): Pass symbol name to |
9450 | warning callback. | |
9451 | ||
5aa4c3ff ILT |
9452 | * dep-in.sed: Remove config.h from generated dependencies. |
9453 | ||
396aaeb2 ILT |
9454 | * sunos.c (sunos_slurp_dynamic_symtab): New static function, |
9455 | broken out of sunos_canonicalize_dynamic_symtab. | |
9456 | (sunos_canonicalize_dynamic_symtab): Call new function | |
9457 | sunos_slurp_dynamic_symtab. | |
9458 | (sunos_add_dynamic_symbols): Add three new parameters. Return the | |
9459 | dynamic symbol table to the caller. | |
9460 | * aoutx.h (aout_link_add_symbols): Permit add_dynamic_symbols | |
9461 | callback to override the symbols being read. | |
9462 | * libaout.h (struct aout_backend_data): Add three new parameters | |
9463 | to add_dynamic_symbols callback. | |
9464 | ||
ae115e51 ILT |
9465 | Extensive minor changes to avoid various gcc warnings. Also: |
9466 | * Makefile.in (BFD32_BACKENDS): Remove coff-arm.o. | |
9467 | * archures.c (bfd_arch_info_type): Change mach field from long to | |
9468 | unsigned long. | |
9469 | (bfd_lookup_arch): Change machine parameter from long to unsigned | |
9470 | long. | |
9471 | ||
b088e4b2 ILT |
9472 | Mon Sep 11 10:55:47 1995 Ian Lance Taylor <ian@cygnus.com> |
9473 | ||
9474 | * sunos.c (sunos_scan_std_relocs): Fix BFD_ASSERT: it's OK to find | |
9475 | a symbol with a non-zero plt_offset. | |
9476 | ||
1dff7902 ILT |
9477 | Fri Sep 8 11:47:24 1995 Ian Lance Taylor <ian@cygnus.com> |
9478 | ||
2b71e1e4 ILT |
9479 | * elfcode.h (align_file_position): Remove; not used. |
9480 | ||
1dff7902 ILT |
9481 | * configure.in: Only check for <sys/procfs.h> on a native system, |
9482 | and make sure it defines prstatus_t. | |
9483 | * configure: Rebuild. | |
9484 | ||
870015b1 ILT |
9485 | Thu Sep 7 12:48:01 1995 Ian Lance Taylor <ian@cygnus.com> |
9486 | ||
535c89f0 ILT |
9487 | * sunos.c (sunos_write_dynamic_symbol): Correct m68k abort test. |
9488 | ||
936b870c ILT |
9489 | * config.in: Rename from config.h.in. |
9490 | * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. | |
a7873a6c | 9491 | Check for config.h:config.in when creating stamp-h. |
936b870c | 9492 | * configure: Rebuild. |
a7873a6c ILT |
9493 | * Makefile.in (stamp-h): Depend upon config.in rather than |
9494 | config.h.in. Set CONFIG_HEADERS to config.h:config.in when | |
9495 | calling config.status. | |
936b870c | 9496 | |
870015b1 ILT |
9497 | * Makefile.in (do_distclean): Remove config.h and stamp-h. |
9498 | (Makefile): Just rebuild Makefile. | |
9499 | (config.h, stamp-h): New targets. | |
9500 | * configure.in: Create stamp-h when rebuilding config.h. | |
9501 | * configure: Rebuild. | |
9502 | ||
b7577823 ILT |
9503 | Wed Sep 6 15:00:33 1995 Ian Lance Taylor <ian@cygnus.com> |
9504 | ||
9505 | * configure.in: Call AC_CONFIG_HEADER. Substitute | |
9506 | HOST_64BIT_LONG. Check that various header files exist. Check | |
9507 | that fcntl exists. Call BFD_BINARY_FOPEN. Check whether malloc | |
9508 | and/or free need to be declared. Don't make a link to sysdep.h. | |
9509 | Define TRAD_HEADER for various hosts. | |
9510 | * configure: Rebuild. | |
9511 | * configure.host: Don't set my_host. Add definitions taken from | |
9512 | host header files for various entries. Remove entries which now | |
9513 | do nothing. | |
9514 | * acconfig.h: New file. | |
9515 | * config.h.in: New file, built by autoheader. | |
9516 | * sysdep.h: New file. | |
9517 | * Makefile.in (do_distclean): Don't remove sysdep.h. | |
9518 | (RECONFIG): Remove. | |
9519 | (LOCAL_H_DEPS): New variable. | |
9520 | ($(BFD_LIBS)): Use $(LOCAL_H_DEPS) rather than libbfd.h and | |
9521 | $(RECONFIG). | |
9522 | ($(BFD_MACHINES), $(BFD_BACKENDS)): Likewise. | |
9523 | ($(OPTIONAL_BACKENDS)): Likewise. | |
9524 | (stmp-bfd.h): Just substitute for BFD_HOST_64BIT_LONG, rather than | |
9525 | looking through sysdep.h. | |
9526 | * bfd-in.h (BFD_HOST_64BIT_LONG): Define; set by Makefile. | |
9527 | (BFD_HOST_64_BIT): Define based on BFD_HOST_64BIT_LONG. | |
9528 | (fprintf_vma, sprintf_vma): Likewise. | |
9529 | (int64_type, uint64_type): Don't define. | |
9530 | * bfd-in2.h: Rebuild. | |
9531 | * archures.c, bfd.c, srec.c: Include <ctype.h>. | |
9532 | * elfcore.h: Check HAVE_SYS_PROCFS_H rather than HAVE_PROCFS. | |
9533 | * lynx-core.c: Include stuff from old hosts/lynx.h. | |
9534 | * opncls.c (bfd_fdopenr): Check HAVE_FNCTL and defined (F_GETFL), | |
9535 | rather than NO_FCNTL. | |
9536 | * targets.c (bfd_target_list): Check HOST_HPPAHPUX and ! __STDC__ | |
9537 | rather than NATIVE_HPPAHPUX_COMPILER. | |
9538 | * trad-core.c: Don't include <errno.h>. Include TRAD_HEADER if it | |
9539 | is defined. | |
9540 | * hosts/*.h: Remove all header files which merely include, | |
9541 | declare, and define things. Leave header files which define | |
9542 | information needed by trad-core.c. | |
9543 | ||
9544 | * aclocal.m4 (BFD_BINARY_FOPEN): Define. | |
9545 | (BFD_CC_FOR_BUILD): Define. | |
9546 | * configure.in: Use BFD_CC_FOR_BUILD. | |
9547 | * configure: Rebuild. | |
9548 | ||
7a93ebdd ILT |
9549 | Tue Sep 5 19:35:28 1995 Ian Lance Taylor <ian@cygnus.com> |
9550 | ||
4c2e4d0e ILT |
9551 | * aclocal.m4: Don't try to grep ../Makefile if it doesn't exist. |
9552 | * configure: Rebuild. | |
9553 | ||
7a93ebdd ILT |
9554 | * coff-sparc.c (CALC_ADDEND): Don't set the addend to the value of |
9555 | a global symbol. | |
9556 | ||
866bb9e5 JM |
9557 | Tue Sep 5 12:48:26 1995 Jason Molenda (crash@phydeaux.cygnus.com) |
9558 | ||
9559 | * config.bfd: i386pe_ve -> i386pe_vec. | |
9560 | ||
2b79a104 ILT |
9561 | Mon Sep 4 14:02:43 1995 Ian Lance Taylor <ian@cygnus.com> |
9562 | ||
f515fb2f ILT |
9563 | * configure.host: Incorporate host Makefile fragments by setting |
9564 | shell variables. | |
9565 | * configure.in: Call AC_PROG_CC. Substitute CFLAGS, HDEFINES and | |
9566 | AR. Call AC_PROG_INSTALL. Substitute CC_FOR_BUILD, choosing a | |
9567 | value based on whether the code is being compiled by a cross | |
9568 | compiler. Don't substitute host_makefile_frag or frags. | |
9569 | * aclocal.m4: New file to define local AC_PROG_CC. | |
9570 | * configure: Rebuild. | |
9571 | * Makefile.in (INSTALL): Set to @INSTALL@. | |
9572 | (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@. | |
9573 | (INSTALL_DATA): Set to @INSTALL_DATA@. | |
9574 | (AR): Set to @AR@. | |
9575 | (CC): Define as @CC@. | |
9576 | (CFLAGS): Set to @CFLAGS@. | |
9577 | (CC_FOR_BUILD): Set to @CC_FOR_BUILD@. | |
9578 | (@host_makefile_frag@): Remove. | |
9579 | (ALL_CFLAGS): Change $(HDEFINES) to @HDEFINES@. Move $(CFLAGS) | |
9580 | after other options. | |
9581 | (config.status): Remove dependency upon @frags@. | |
9582 | * config/*.mh, config/README: Remove. | |
9583 | ||
2b79a104 ILT |
9584 | * config.bfd: Rewrite to incorporate the contents of the Makefile |
9585 | fragments by setting shell variables, rather than merely returning | |
9586 | the name of a Makefile fragment. | |
9587 | * configure.in: Use shell variables set by config.bfd rather than | |
9588 | looking at the target Makefile fragment files. Don't substitute | |
9589 | target_makefile_frag. Do substitute TDEFINES. | |
9590 | * configure: Rebuild. | |
9591 | * Makefile.in (@target_makefile_frag@): Remove. | |
9592 | (ALL_CFLAGS): Change $(TDEFINES) to @TDEFINES@. | |
9593 | * config/*.mt: Remove. | |
9594 | ||
2cb159a5 KR |
9595 | Mon Sep 4 03:13:28 1995 Ken Raeburn <raeburn@cygnus.com> |
9596 | ||
9597 | * configure.in: Put changequote lines around "i[345]86" patterns | |
9598 | section of core file support. | |
9599 | ||
ef07871c JL |
9600 | Sun Sep 3 11:31:58 1995 Jeff Law (law@snake.cs.utah.edu) |
9601 | ||
9602 | * som.c (som_bfd_print_private_bfd_data): Define to use the | |
9603 | generic version. | |
9604 | ||
1613e075 SC |
9605 | Fri Sep 1 17:08:40 1995 steve chamberlain <sac@slash.cygnus.com> |
9606 | ||
9607 | * peicode.h (coff_swap_aouthdr_in): Add ImageBase to | |
9608 | entry, text_start and data_start. | |
9609 | ||
a52a3ce8 ILT |
9610 | Fri Sep 1 18:06:28 1995 Ian Lance Taylor <ian@cygnus.com> |
9611 | ||
a21227ef ILT |
9612 | * Makefile.in (OFILES): Remove $(TDEPFILES). |
9613 | * config/apollo.mt (TDEPFILES): Remove. | |
9614 | * config/README: Update. | |
9615 | ||
a52a3ce8 ILT |
9616 | * configure.in: For a native configuration, set COREFILE and |
9617 | COREFLAG based on the canonical host name. | |
9618 | * configure: Rebuild. | |
9619 | * Makefile.in: Rebuild dependencies. | |
9620 | (ALL_CFLAGS): Add @COREFLAG@. | |
9621 | (OFILES): Replace $(HDEPFILES) with @COREFILE@. | |
9622 | * coff-rs6000.c: Check AIX_CORE rather than HOST_AIX for core file | |
9623 | support routines. Check LYNX_CORE rather than HOST_LYNX. | |
9624 | * lynx-core.c: Check LYNX_CORE rather than HOST_LYNX. | |
9625 | * i386lynx.c: Likewise. | |
9626 | * m68klynx.c: Likewise. | |
9627 | * sparclynx.c: Likewise. | |
9628 | * rs6000-core.c: Check AIX_CORE rather than HOST_AIX. | |
9629 | * *-core.c: Comment changes. | |
9630 | * config/decstation.mh (HDEPFILES): Remove. | |
9631 | (HDEFINES): Remove -DTRAD_CORE. | |
9632 | * config/irix3.mh (RANLIB): Remove. | |
9633 | * config/irix4.mh (HDEPFILES, RANLIB): Remove. | |
9634 | (HDEFINES): Remove -DIRIX_CORE. | |
9635 | * config/riscos.mh (RANLIB, HDEPFILES): Remove. | |
9636 | (HDEFINES): Remove -DTRAD_CORE. | |
9637 | * config/ncr3000.mh (AR_FLAGS, RANLIB): Remove. | |
9638 | * config/ultra3.mh (RANLIB): Remove. | |
9639 | * config/aix4.mh, config/alphaosf.mh, config/amix.mh: Remove. | |
9640 | * config/apollo.mh, config/delta68.mh, config/delta88.mh: Remove. | |
9641 | * config/dpx2.mh, config/esix.mh, config/harris.mh: Remove. | |
9642 | * config/hp300.mh, config/hp300bsd.mh, config/hppabsd.mh: Remove. | |
9643 | * config/hppahpux.mh, config/hppaosf.mh: Remove. | |
9644 | * config/i386aix.mh, config/i386bsd.mh: Remove. | |
9645 | * config/i386linux.mh, config/i386mach3.mh: Remove. | |
9646 | * config/i386sco.mh, config/i386v.mh, config/i386v4.mh: Remove. | |
9647 | * config/irix5.mh, config/m88kmach3.mh, config/mipsbsd.mh: Remove. | |
9648 | * config/mipsmach3.mh, config/news-mips.mh: Remove. | |
9649 | * config/news.mh, config/pc532mach.mh, config/riscix.mh: Remove. | |
9650 | * config/rs600.mh, config/rs6000lynx.mh: Remove. | |
9651 | * config/solaris2.mh, config/stratus.mh: Remove. | |
9652 | * config/symmetry.mh, config/sysv4.mh, config/tahoe.mh: Remove. | |
9653 | * config/vaxbsd.mh, config/vaxult.mh, config/vaxult2.mh: Remove. | |
9654 | ||
d6f672b8 ILT |
9655 | Fri Sep 1 15:18:50 1995 Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp> |
9656 | ||
9657 | * elflink.h (elf_bfd_final_link): Don't change a DT_INIT or | |
9658 | DT_FINI entry if the appropriate symbol is not in the hash table. | |
9659 | ||
9660 | * libelf.h (struct elf_backend_data): Add create_program_headers | |
9661 | and want_hdr_in_seg fields. | |
9662 | * elfxx-target.h (elf_backend_want_hdr_in_seg): Define if not | |
9663 | defined. | |
9664 | (elf_backend_create_program_headers): Likewise. | |
9665 | (elfNN_bed): Initialize create_program_headers and | |
9666 | want_hdr_in_seg. | |
9667 | * elf.c (get_program_header_size): Call create_program_headers | |
9668 | backend routine. | |
9669 | (map_program_segments): Check want_hdr_in_seg backend field. Call | |
9670 | create_program_headers backend routine. | |
9671 | ||
9672 | * elf.c (assign_file_positions_except_relocs): Align non allocated | |
9673 | sections when creating an executable. | |
9674 | ||
9675 | * elfcode.h (elf_swap_phdr_in): Make non static. | |
9676 | (elf_swap_phdr_out): Make non static. | |
9677 | * libelf.h (bfd_elf32_swap_phdr_in): Declare. | |
9678 | (bfd_elf32_swap_phdr_out): Declare. | |
9679 | (bfd_elf64_swap_phdr_in): Declare. | |
9680 | (bfd_elf64_swap_phdr_out): Declare. | |
9681 | ||
9682 | * ecofflink.c (ecoff_collect_shuffle): New static function. | |
9683 | (_bfd_ecoff_get_accumulated_pdr): New function. | |
9684 | (_bfd_ecoff_get_accumulated_sym): New function. | |
9685 | (_bfd_ecoff_get_accumulated_ss): New function. | |
9686 | * libbfd-in.h (_bfd_ecoff_get_accumulated_pdr): Declare. | |
9687 | (_bfd_ecoff_get_accumulated_sym): Declare. | |
9688 | (_bfd_ecoff_get_accumulated_ss): Declare. | |
9689 | * libbfd.h: Rebuild. | |
9690 | ||
0cb70568 ILT |
9691 | Fri Sep 1 13:20:25 1995 Ian Lance Taylor <ian@cygnus.com> |
9692 | ||
d6f672b8 ILT |
9693 | * libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): Fix typo. |
9694 | ||
0cb70568 ILT |
9695 | * elflink.h (elf_link_add_object_symbols): Handle indirect and |
9696 | warning symbols. If any section is named .gnu.warning.XXX, treat | |
9697 | the contents as a warning to be issued if the symbol XXX is | |
9698 | referenced. | |
9699 | (elf_link_output_extsym): For an indirect or warning symbol, just | |
9700 | output the symbol it points to. | |
9701 | ||
9702 | * linker.c (_bfd_link_hash_newfunc): Don't bother to set bfd_error | |
9703 | if bfd_hash_allocate fails, since it will already be set. | |
9704 | (generic_link_hash_newfunc): Likewise. | |
9705 | (archive_hash_newfunc): Likewise. | |
9706 | (hash_entry_bfd): New static function. | |
9707 | (_bfd_generic_link_add_one_symbol): Pass new arguments to warning | |
9708 | callback. Allocate a new warning using the hash table newfunc. | |
9709 | Use bfd_hash_replace to update the entry in the hash table, rather | |
9710 | than assuming we can copy the fields with structure assignment. | |
9711 | ||
9712 | * hash.c (bfd_hash_replace): New function. | |
9713 | * bfd-in.h (bfd_hash_replace): Declare. | |
9714 | * bfd-in2.h: Rebuild. | |
9715 | ||
f14db880 JSC |
9716 | Fri Sep 1 08:12:50 1995 James G. Smith <jsmith@beauty.cygnus.com> |
9717 | ||
9718 | * config.bfd: Add mips*vr4300-*-elf* target. | |
9719 | * config/mipsbvr4300.mt: Added. | |
9720 | ||
1613e075 | 9721 | See file ChangeLog.2 |
e6d739eb | 9722 | |
41126f15 JK |
9723 | \f |
9724 | Local Variables: | |
c6c7035c | 9725 | mode: change-log |
41126f15 | 9726 | left-margin: 8 |
6ec3bb6a ILT |
9727 | fill-column: 74 |
9728 | version-control: never | |
9729 | End: |