* aoutx.h (translate_from_native_sym_flags): Don't try to stuff
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
fcf490c0
ILT
1Tue Sep 26 12:48:05 1995 Ian Lance Taylor <ian@cygnus.com>
2
3 * aoutx.h (translate_from_native_sym_flags): Don't try to stuff
4 pointers into value field for warning and indirect symbols; just
5 leave the value field alone.
6 * linker.c (generic_link_add_symbol_list): Use next symbol for
7 warning and indirect symbols, rather than looking in symbol value.
8 * ecoff.c (ecoff_set_symbol_info): Remove indirect_ptr_ptr
9 parameter. Change all callers. Remove support for indirect
10 symbols; it didn't work anyhow.
11 (_bfd_ecoff_slurp_symbol_table): Remove indirect_ptr variable.
12 * syms.c: Change comments about BSF_WARNING and BSF_INDIRECT.
13 * bfd-in2.h: Rebuild.
14
cc47d19a
MM
15Mon Sep 25 16:04:09 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16
17 * elf32-ppc.c (ppc_elf_howto_raw): For all 14-bit branch relocs,
18 go back to telling the tools this reloc operates on 32 bits.
19
81449d47
ILT
20Mon Sep 25 11:48:02 1995 Ian Lance Taylor <ian@cygnus.com>
21
7a7fbffb
ILT
22 * aout-adobe.c (aout_adobe_callback): Use _bfd_error_handler
23 rather than a direct fprintf.
24 * archive.c (_bfd_write_archive_contents): Likewise.
25 * coffcode.h (coff_slurp_symbol_table): Likewise.
26 * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Likewise.
27 (ppc_elf_unsupported_reloc): Likewise.
28 (ppc_elf_relocate_section): Likewise.
29 * i386linux.c (linux_tally_symbols): Likewise.
30 (linux_finish_dynamic_link): Likewise.
31 * osf-core.c (osf_core_core_file_p): Likewise.
32 * rs6000-core.c (rs6000coff_get_section_contents): Likewise.
33 * som.c (som_sizeof_headers): Likewise.
34 * srec.c (srec_bad_byte): Likewise.
35 * bfd.c (bfd_assert): Likewise. Also change file to be const.
36 * libbfd-in.h (bfd_assert): Declare first parameter const.
37 * libbfd.h: Rebuild.
38 * coff-a29k.c (a29k_reloc): Don't bother to fprintf; returning
39 bfd_reloc_overflow is enough.
40 * coff-h8300.c (rtype2howto): Don't bother to fprintf; just abort.
41 * coff-h8500.c (rtype2howto): Likewise.
42 * coff-z8k.c (rtype2howto): Likewise.
43 * coffcode.h (dummy_reloc16_extra_cases): Likewise.
44 * elf.c (_bfd_elf_get_lineno): Likewise.
45 (_bfd_elf_no_info_to_howto): Likewise.
46 (_bfd_elf_no_info_to_howto_rel): Likewise.
47 * hp300hpux.c (convert_sym_type): Likewise.
48 (MY(swap_std_reloc_in)): Likewise.
49 * elf.c (bfd_section_from_shdr): Remove #if 0 sections.
50
f1c6dd5d
ILT
51 * libaout.h (struct aoutdata): Add line_buf field.
52 * aoutx.h (NAME(aout,find_nearest_line)): Remove statics buffer
53 and filename_buffer. Instead, use a malloc buffer stored in the
54 new line_buf field. Remove length restrictions.
55
f0500a41
ILT
56 * coffgen.c (string_size): Remove static variable.
57 (debug_string_size, debug_string_section): Likewise.
58 (coff_fix_symbol_name): Add string_size_p, debug_string_section_p,
59 and debug_string_size_p parameters. Use them instead of the
60 global variables. Change all callers.
61 (coff_write_symbol): Likewise.
62 (coff_write_alien_symbol, coff_write_native_symbol): Likewise.
63 (coff_write_symbols): Add local variables to replace removed
64 global variables.
65
25b5a53d
ILT
66 * libcoff-in.h (struct coff_section_tdata): Add offset, i,
67 function, and line_base fields.
68 * libcoff.h: Rebuild.
69 * coffgen.c (coff_find_nearest_line): Use section tdata to cache
70 information, rather than using static variables.
71
641ac26a
ILT
72 * sunos.c (sunos_read_dynamic_info): Adjust offsets in an NMAGIC
73 file. From Peter DeWolf <pld@amt.tay1.dec.com>.
74
81449d47
ILT
75 * init.c (initialized): Remove static variable.
76 (bfd_init): Don't bother setting initialized.
77 (bfd_check_init): Remove.
78 * opncls.c (_bfd_new_bfd): Don't call bfd_check_init.
79 * libbfd.h: Rebuild.
80
138b9b81
PS
81Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
82
83 * rs6000-core.c (rs6000coff_core_p): Don't check the core file
84 size for full core dumps. Copy core file header to private data.
85 (rs6000coff_core_file_failing_command,
86 rs6000coff_core_file_failing_signal): New functions to extract
87 the file name and terminating signal from the core file.
88 * coff-rs6000.c: Use them.
89
2ffbb79a
ILT
90Fri Sep 22 17:44:47 1995 Ian Lance Taylor <ian@cygnus.com>
91
92 Change arch info to be const, initialized at compile time.
93 * archures.c: Reindent many functions. Change CONST to const.
94 (bfd_arch_info_type): Make arch_name const. Remove disassemble;
95 nothing set it anyhow. Make next const.
96 (bfd_arch_info_list): Remove.
97 (bfd_archures_list): Rename from archures_init_table. Change from
98 a table of function pointers to a table of bfd_arch_info_type
99 structure addresses.
100 (bfd_scan_arch): Rewrite accordingly. Return a const pointer.
101 (bfd_lookup_arch): Likewise.
102 (bfd_set_arch_info): Rewrite accordingly. Change argument to be a
103 const pointer.
104 (bfd_default_arch_struct): Make const.
105 (bfd_arch_init, bfd_arch_linkin): Remove.
106 (bfd_get_arch_info): Return a const pointer.
107 * init.c (bfd_init): Don't call bfd_arch_init.
108 * bfd.c (struct _bfd): Make arch_info const.
109 * bfd-in2.h: Rebuild.
110 * libbfd.h: Rebuild.
111 * configure.in: Put & before everything in $selarchs.
112 * configure: Rebuild.
113 * cpu-*.c: Change bfd_*_arch from a function which calls
114 bfd_arch_linkin to a const structure.
115 * ieee.c (ieee_object_p): Make arch const.
116
02f85cda
MM
117Fri Sep 22 16:23:18 1995 Michael Meissner <meissner@tiktok.cygnus.com>
118
119 * reloc.c (bfd_reloc_code_type): Add relocations to support all of
120 PowerPC V.4.
121 * bfd-in2.h: Regenerate.
122 * libbfd.h: Regenerate.
123
124 * elf32-ppc.c (reloc_type): Update names to match current draft.
125 (ppc_elf_howto_raw): Mark 14 bit relocs as short sized and PC
126 relative. Update names to current V.4 draft.
127 (ppc_elf_reloc_type_lookup): Add support for more relocations.
128 (ppc_elf_relocate_section): Rename relocations to match draft.
129
dd82c578
MM
130Thu Sep 21 21:53:18 1995 Michael Meissner <meissner@cygnus.com>
131
132 * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Allow modules
133 compiled with -mrelocatable-lib to be linked with either normal
134 modules or -mrelocatable modules.
135
f69e888e
ILT
136Wed Sep 20 12:03:26 1995 Ian Lance Taylor <ian@cygnus.com>
137
e18c4e8f
ILT
138 * coffcode.h (coff_write_object_contents): Clear the vstamp field
139 in the a.out header.
140
f69e888e
ILT
141 * aoutx.h (NAME(aout,swap_ext_reloc_out)): Don't set r_extern for
142 a reloc against a local symbol, even if it's not a section.
143
a5655244
ILT
144Tue Sep 19 17:02:26 1995 Ian Lance Taylor <ian@cygnus.com>
145
146 * targets.c (bfd_target): Remove unused align_power_min field.
147 * bfd-in2.h: Rebuild.
148 * All backends: Remove initialization of align_power_min.
149
500d7394
SC
150Tue Sep 19 14:02:21 1995 steve chamberlain <sac@slash.cygnus.com>
151
152 * peicode.h (coff_swap_scnhdr_out): Get sizes for BSS right.
500d7394 153
049df0a8
ILT
154Mon Sep 18 14:35:01 1995 Arne H. Juul <arnej@pvv.unit.no>
155
156 * config.bfd (mips-dec-netbsd*): New target.
157 * configure.host (mips-dec-netbsd*): New host.
158 * configure.in (mips-dec-netbsd*): New native.
159 * configure: Rebuild.
160
1862bbd8
ILT
161Fri Sep 15 10:24:36 1995 Ian Lance Taylor <ian@cygnus.com>
162
163 Make the COFF backend linker merge common types:
164 * cofflink.c (struct coff_debug_merge_element): Define.
165 (struct coff_debug_merge_type): Define.
166 (struct coff_debug_merge_hash_entry): Define.
167 (struct coff_debug_merge_hash_table): Define.
168 (coff_debug_merge_hash_table_init): Define.
169 (coff_debug_merge_hash_table_free): Define.
170 (coff_debug_merge_hash_lookup): Define.
171 (struct coff_final_link_info): Add debug_merge field.
172 (coff_debug_merge_hash_newfunc): New static function.
173 (_bfd_coff_final_link): Allocate and free debug_merge table.
174 (coff_link_input_bfd): Merge identical enum, struct and union
175 types.
176
a208a70f
ILT
177Thu Sep 14 14:53:58 1995 Ian Lance Taylor <ian@cygnus.com>
178
179 Convert i960 COFF to use COFF backend linker.
180 * coff-i960.c (coff_i960_relocate): Use a coff_section_data
181 structure to store the symbol being used.
182 (coff_i960_start_final_link): New static function.
183 (coff_i960_relocate_section): New static function.
184 (coff_i960_adjust_symndx): New static function.
185 (coff_start_final_link): Define.
186 (coff_relocate_section): Define.
187 (coff_adjust_symndx): Define.
188 * coffcode.h (bfd_coff_backend_data): Add new callback function
189 _bfd_coff_start_final_link.
190 (bfd_coff_start_final_link): Define.
191 (coff_start_final_link): Define if not defined.
192 (bfd_coff_std_swap_table): Add coff_start_final_link.
193 * cofflink.c (_bfd_coff_internal_syment_name): Make globally
194 visible.
195 (_bfd_coff_final_link): Call bfd_coff_start_final_link if the
196 function callback is not NULL.
197 * libcoff-in.h (struct coff_section_tdata): Add tdata field.
198 (_bfd_coff_internal_syment_name): Declare.
199 * libcoff.h: Rebuild.
200 * configure.in (icoff_big_vec): Add cofflink.o.
201 (icoff_little_vec): Likewise.
202 * configure: Rebuild.
203
f0abedbe
FF
204Wed Sep 13 17:38:23 1995 Fred Fish <fnf@rtl.cygnus.com>
205
206 * Makefile.in (clean-info): Remove extraneous tab from line
207 following action.
208
aa4b3dc5
ILT
209Wed Sep 13 13:27:53 1995 Ian Lance Taylor <ian@cygnus.com>
210
211 * cofflink.c (coff_link_input_bfd): Fail if a section with no
212 contents has relocs.
213
4ca63811 214Thu Sep 12 12:45:34 1995 steve chamberlain <sac@slash.cygnus.com>
beee31b1
SC
215
216 * coffcode.h (coff_compute_section_file_positions): Keep the
217 raw size safe.
218 (coff_write_object_contents): Remember if it's a relocatable
219 file.
220 * libcoff-in.h (pe_data_type): New member 'has_reloc_section'
221 * peicode.h (coff_swap_filehdr_out): Clear not-reloc flag
222 if relocatable file. Swap out saved raw size.
223
ae115e51
ILT
224Tue Sep 12 12:14:33 1995 Ian Lance Taylor <ian@cygnus.com>
225
9521bac3
ILT
226 * Makefile.in (do_maintainer_clean): Rename from do_realclean.
227 (maintainer-clean): Rename from realclean, passing
228 maintainer-clean down to subdirectories, but leave realclean as a
229 synonym.
230
4ca63811
ILT
231 * linker.c (_bfd_generic_link_add_one_symbol): Pass symbol name to
232 warning callback.
233
5aa4c3ff
ILT
234 * dep-in.sed: Remove config.h from generated dependencies.
235
396aaeb2
ILT
236 * sunos.c (sunos_slurp_dynamic_symtab): New static function,
237 broken out of sunos_canonicalize_dynamic_symtab.
238 (sunos_canonicalize_dynamic_symtab): Call new function
239 sunos_slurp_dynamic_symtab.
240 (sunos_add_dynamic_symbols): Add three new parameters. Return the
241 dynamic symbol table to the caller.
242 * aoutx.h (aout_link_add_symbols): Permit add_dynamic_symbols
243 callback to override the symbols being read.
244 * libaout.h (struct aout_backend_data): Add three new parameters
245 to add_dynamic_symbols callback.
246
ae115e51
ILT
247 Extensive minor changes to avoid various gcc warnings. Also:
248 * Makefile.in (BFD32_BACKENDS): Remove coff-arm.o.
249 * archures.c (bfd_arch_info_type): Change mach field from long to
250 unsigned long.
251 (bfd_lookup_arch): Change machine parameter from long to unsigned
252 long.
253
b088e4b2
ILT
254Mon Sep 11 10:55:47 1995 Ian Lance Taylor <ian@cygnus.com>
255
256 * sunos.c (sunos_scan_std_relocs): Fix BFD_ASSERT: it's OK to find
257 a symbol with a non-zero plt_offset.
258
1dff7902
ILT
259Fri Sep 8 11:47:24 1995 Ian Lance Taylor <ian@cygnus.com>
260
2b71e1e4
ILT
261 * elfcode.h (align_file_position): Remove; not used.
262
1dff7902
ILT
263 * configure.in: Only check for <sys/procfs.h> on a native system,
264 and make sure it defines prstatus_t.
265 * configure: Rebuild.
266
870015b1
ILT
267Thu Sep 7 12:48:01 1995 Ian Lance Taylor <ian@cygnus.com>
268
535c89f0
ILT
269 * sunos.c (sunos_write_dynamic_symbol): Correct m68k abort test.
270
936b870c
ILT
271 * config.in: Rename from config.h.in.
272 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
a7873a6c 273 Check for config.h:config.in when creating stamp-h.
936b870c 274 * configure: Rebuild.
a7873a6c
ILT
275 * Makefile.in (stamp-h): Depend upon config.in rather than
276 config.h.in. Set CONFIG_HEADERS to config.h:config.in when
277 calling config.status.
936b870c 278
870015b1
ILT
279 * Makefile.in (do_distclean): Remove config.h and stamp-h.
280 (Makefile): Just rebuild Makefile.
281 (config.h, stamp-h): New targets.
282 * configure.in: Create stamp-h when rebuilding config.h.
283 * configure: Rebuild.
284
b7577823
ILT
285Wed Sep 6 15:00:33 1995 Ian Lance Taylor <ian@cygnus.com>
286
287 * configure.in: Call AC_CONFIG_HEADER. Substitute
288 HOST_64BIT_LONG. Check that various header files exist. Check
289 that fcntl exists. Call BFD_BINARY_FOPEN. Check whether malloc
290 and/or free need to be declared. Don't make a link to sysdep.h.
291 Define TRAD_HEADER for various hosts.
292 * configure: Rebuild.
293 * configure.host: Don't set my_host. Add definitions taken from
294 host header files for various entries. Remove entries which now
295 do nothing.
296 * acconfig.h: New file.
297 * config.h.in: New file, built by autoheader.
298 * sysdep.h: New file.
299 * Makefile.in (do_distclean): Don't remove sysdep.h.
300 (RECONFIG): Remove.
301 (LOCAL_H_DEPS): New variable.
302 ($(BFD_LIBS)): Use $(LOCAL_H_DEPS) rather than libbfd.h and
303 $(RECONFIG).
304 ($(BFD_MACHINES), $(BFD_BACKENDS)): Likewise.
305 ($(OPTIONAL_BACKENDS)): Likewise.
306 (stmp-bfd.h): Just substitute for BFD_HOST_64BIT_LONG, rather than
307 looking through sysdep.h.
308 * bfd-in.h (BFD_HOST_64BIT_LONG): Define; set by Makefile.
309 (BFD_HOST_64_BIT): Define based on BFD_HOST_64BIT_LONG.
310 (fprintf_vma, sprintf_vma): Likewise.
311 (int64_type, uint64_type): Don't define.
312 * bfd-in2.h: Rebuild.
313 * archures.c, bfd.c, srec.c: Include <ctype.h>.
314 * elfcore.h: Check HAVE_SYS_PROCFS_H rather than HAVE_PROCFS.
315 * lynx-core.c: Include stuff from old hosts/lynx.h.
316 * opncls.c (bfd_fdopenr): Check HAVE_FNCTL and defined (F_GETFL),
317 rather than NO_FCNTL.
318 * targets.c (bfd_target_list): Check HOST_HPPAHPUX and ! __STDC__
319 rather than NATIVE_HPPAHPUX_COMPILER.
320 * trad-core.c: Don't include <errno.h>. Include TRAD_HEADER if it
321 is defined.
322 * hosts/*.h: Remove all header files which merely include,
323 declare, and define things. Leave header files which define
324 information needed by trad-core.c.
325
326 * aclocal.m4 (BFD_BINARY_FOPEN): Define.
327 (BFD_CC_FOR_BUILD): Define.
328 * configure.in: Use BFD_CC_FOR_BUILD.
329 * configure: Rebuild.
330
7a93ebdd
ILT
331Tue Sep 5 19:35:28 1995 Ian Lance Taylor <ian@cygnus.com>
332
4c2e4d0e
ILT
333 * aclocal.m4: Don't try to grep ../Makefile if it doesn't exist.
334 * configure: Rebuild.
335
7a93ebdd
ILT
336 * coff-sparc.c (CALC_ADDEND): Don't set the addend to the value of
337 a global symbol.
338
866bb9e5
JM
339Tue Sep 5 12:48:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
340
341 * config.bfd: i386pe_ve -> i386pe_vec.
342
2b79a104
ILT
343Mon Sep 4 14:02:43 1995 Ian Lance Taylor <ian@cygnus.com>
344
f515fb2f
ILT
345 * configure.host: Incorporate host Makefile fragments by setting
346 shell variables.
347 * configure.in: Call AC_PROG_CC. Substitute CFLAGS, HDEFINES and
348 AR. Call AC_PROG_INSTALL. Substitute CC_FOR_BUILD, choosing a
349 value based on whether the code is being compiled by a cross
350 compiler. Don't substitute host_makefile_frag or frags.
351 * aclocal.m4: New file to define local AC_PROG_CC.
352 * configure: Rebuild.
353 * Makefile.in (INSTALL): Set to @INSTALL@.
354 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
355 (INSTALL_DATA): Set to @INSTALL_DATA@.
356 (AR): Set to @AR@.
357 (CC): Define as @CC@.
358 (CFLAGS): Set to @CFLAGS@.
359 (CC_FOR_BUILD): Set to @CC_FOR_BUILD@.
360 (@host_makefile_frag@): Remove.
361 (ALL_CFLAGS): Change $(HDEFINES) to @HDEFINES@. Move $(CFLAGS)
362 after other options.
363 (config.status): Remove dependency upon @frags@.
364 * config/*.mh, config/README: Remove.
365
2b79a104
ILT
366 * config.bfd: Rewrite to incorporate the contents of the Makefile
367 fragments by setting shell variables, rather than merely returning
368 the name of a Makefile fragment.
369 * configure.in: Use shell variables set by config.bfd rather than
370 looking at the target Makefile fragment files. Don't substitute
371 target_makefile_frag. Do substitute TDEFINES.
372 * configure: Rebuild.
373 * Makefile.in (@target_makefile_frag@): Remove.
374 (ALL_CFLAGS): Change $(TDEFINES) to @TDEFINES@.
375 * config/*.mt: Remove.
376
2cb159a5
KR
377Mon Sep 4 03:13:28 1995 Ken Raeburn <raeburn@cygnus.com>
378
379 * configure.in: Put changequote lines around "i[345]86" patterns
380 section of core file support.
381
ef07871c
JL
382Sun Sep 3 11:31:58 1995 Jeff Law (law@snake.cs.utah.edu)
383
384 * som.c (som_bfd_print_private_bfd_data): Define to use the
385 generic version.
386
1613e075
SC
387Fri Sep 1 17:08:40 1995 steve chamberlain <sac@slash.cygnus.com>
388
389 * peicode.h (coff_swap_aouthdr_in): Add ImageBase to
390 entry, text_start and data_start.
391
a52a3ce8
ILT
392Fri Sep 1 18:06:28 1995 Ian Lance Taylor <ian@cygnus.com>
393
a21227ef
ILT
394 * Makefile.in (OFILES): Remove $(TDEPFILES).
395 * config/apollo.mt (TDEPFILES): Remove.
396 * config/README: Update.
397
a52a3ce8
ILT
398 * configure.in: For a native configuration, set COREFILE and
399 COREFLAG based on the canonical host name.
400 * configure: Rebuild.
401 * Makefile.in: Rebuild dependencies.
402 (ALL_CFLAGS): Add @COREFLAG@.
403 (OFILES): Replace $(HDEPFILES) with @COREFILE@.
404 * coff-rs6000.c: Check AIX_CORE rather than HOST_AIX for core file
405 support routines. Check LYNX_CORE rather than HOST_LYNX.
406 * lynx-core.c: Check LYNX_CORE rather than HOST_LYNX.
407 * i386lynx.c: Likewise.
408 * m68klynx.c: Likewise.
409 * sparclynx.c: Likewise.
410 * rs6000-core.c: Check AIX_CORE rather than HOST_AIX.
411 * *-core.c: Comment changes.
412 * config/decstation.mh (HDEPFILES): Remove.
413 (HDEFINES): Remove -DTRAD_CORE.
414 * config/irix3.mh (RANLIB): Remove.
415 * config/irix4.mh (HDEPFILES, RANLIB): Remove.
416 (HDEFINES): Remove -DIRIX_CORE.
417 * config/riscos.mh (RANLIB, HDEPFILES): Remove.
418 (HDEFINES): Remove -DTRAD_CORE.
419 * config/ncr3000.mh (AR_FLAGS, RANLIB): Remove.
420 * config/ultra3.mh (RANLIB): Remove.
421 * config/aix4.mh, config/alphaosf.mh, config/amix.mh: Remove.
422 * config/apollo.mh, config/delta68.mh, config/delta88.mh: Remove.
423 * config/dpx2.mh, config/esix.mh, config/harris.mh: Remove.
424 * config/hp300.mh, config/hp300bsd.mh, config/hppabsd.mh: Remove.
425 * config/hppahpux.mh, config/hppaosf.mh: Remove.
426 * config/i386aix.mh, config/i386bsd.mh: Remove.
427 * config/i386linux.mh, config/i386mach3.mh: Remove.
428 * config/i386sco.mh, config/i386v.mh, config/i386v4.mh: Remove.
429 * config/irix5.mh, config/m88kmach3.mh, config/mipsbsd.mh: Remove.
430 * config/mipsmach3.mh, config/news-mips.mh: Remove.
431 * config/news.mh, config/pc532mach.mh, config/riscix.mh: Remove.
432 * config/rs600.mh, config/rs6000lynx.mh: Remove.
433 * config/solaris2.mh, config/stratus.mh: Remove.
434 * config/symmetry.mh, config/sysv4.mh, config/tahoe.mh: Remove.
435 * config/vaxbsd.mh, config/vaxult.mh, config/vaxult2.mh: Remove.
436
d6f672b8
ILT
437Fri Sep 1 15:18:50 1995 Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>
438
439 * elflink.h (elf_bfd_final_link): Don't change a DT_INIT or
440 DT_FINI entry if the appropriate symbol is not in the hash table.
441
442 * libelf.h (struct elf_backend_data): Add create_program_headers
443 and want_hdr_in_seg fields.
444 * elfxx-target.h (elf_backend_want_hdr_in_seg): Define if not
445 defined.
446 (elf_backend_create_program_headers): Likewise.
447 (elfNN_bed): Initialize create_program_headers and
448 want_hdr_in_seg.
449 * elf.c (get_program_header_size): Call create_program_headers
450 backend routine.
451 (map_program_segments): Check want_hdr_in_seg backend field. Call
452 create_program_headers backend routine.
453
454 * elf.c (assign_file_positions_except_relocs): Align non allocated
455 sections when creating an executable.
456
457 * elfcode.h (elf_swap_phdr_in): Make non static.
458 (elf_swap_phdr_out): Make non static.
459 * libelf.h (bfd_elf32_swap_phdr_in): Declare.
460 (bfd_elf32_swap_phdr_out): Declare.
461 (bfd_elf64_swap_phdr_in): Declare.
462 (bfd_elf64_swap_phdr_out): Declare.
463
464 * ecofflink.c (ecoff_collect_shuffle): New static function.
465 (_bfd_ecoff_get_accumulated_pdr): New function.
466 (_bfd_ecoff_get_accumulated_sym): New function.
467 (_bfd_ecoff_get_accumulated_ss): New function.
468 * libbfd-in.h (_bfd_ecoff_get_accumulated_pdr): Declare.
469 (_bfd_ecoff_get_accumulated_sym): Declare.
470 (_bfd_ecoff_get_accumulated_ss): Declare.
471 * libbfd.h: Rebuild.
472
0cb70568
ILT
473Fri Sep 1 13:20:25 1995 Ian Lance Taylor <ian@cygnus.com>
474
d6f672b8
ILT
475 * libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): Fix typo.
476
0cb70568
ILT
477 * elflink.h (elf_link_add_object_symbols): Handle indirect and
478 warning symbols. If any section is named .gnu.warning.XXX, treat
479 the contents as a warning to be issued if the symbol XXX is
480 referenced.
481 (elf_link_output_extsym): For an indirect or warning symbol, just
482 output the symbol it points to.
483
484 * linker.c (_bfd_link_hash_newfunc): Don't bother to set bfd_error
485 if bfd_hash_allocate fails, since it will already be set.
486 (generic_link_hash_newfunc): Likewise.
487 (archive_hash_newfunc): Likewise.
488 (hash_entry_bfd): New static function.
489 (_bfd_generic_link_add_one_symbol): Pass new arguments to warning
490 callback. Allocate a new warning using the hash table newfunc.
491 Use bfd_hash_replace to update the entry in the hash table, rather
492 than assuming we can copy the fields with structure assignment.
493
494 * hash.c (bfd_hash_replace): New function.
495 * bfd-in.h (bfd_hash_replace): Declare.
496 * bfd-in2.h: Rebuild.
497
f14db880
JSC
498Fri Sep 1 08:12:50 1995 James G. Smith <jsmith@beauty.cygnus.com>
499
500 * config.bfd: Add mips*vr4300-*-elf* target.
501 * config/mipsbvr4300.mt: Added.
502
1613e075 503See file ChangeLog.2
e6d739eb 504
41126f15
JK
505\f
506Local Variables:
507mode: indented-text
508left-margin: 8
6ec3bb6a
ILT
509fill-column: 74
510version-control: never
511End:
This page took 0.175525 seconds and 4 git commands to generate.