* Makefile.in (clean-info): Remove extraneous tab from line
[binutils-gdb.git] / bfd / ChangeLog
1 Wed Sep 13 17:38:23 1995 Fred Fish <fnf@rtl.cygnus.com>
2
3 * Makefile.in (clean-info): Remove extraneous tab from line
4 following action.
5
6 Wed Sep 13 13:27:53 1995 Ian Lance Taylor <ian@cygnus.com>
7
8 * cofflink.c (coff_link_input_bfd): Fail if a section with no
9 contents has relocs.
10
11 Thu Sep 12 12:45:34 1995 steve chamberlain <sac@slash.cygnus.com>
12
13 * coffcode.h (coff_compute_section_file_positions): Keep the
14 raw size safe.
15 (coff_write_object_contents): Remember if it's a relocatable
16 file.
17 * libcoff-in.h (pe_data_type): New member 'has_reloc_section'
18 * peicode.h (coff_swap_filehdr_out): Clear not-reloc flag
19 if relocatable file. Swap out saved raw size.
20
21 Tue Sep 12 12:14:33 1995 Ian Lance Taylor <ian@cygnus.com>
22
23 * Makefile.in (do_maintainer_clean): Rename from do_realclean.
24 (maintainer-clean): Rename from realclean, passing
25 maintainer-clean down to subdirectories, but leave realclean as a
26 synonym.
27
28 * linker.c (_bfd_generic_link_add_one_symbol): Pass symbol name to
29 warning callback.
30
31 * dep-in.sed: Remove config.h from generated dependencies.
32
33 * sunos.c (sunos_slurp_dynamic_symtab): New static function,
34 broken out of sunos_canonicalize_dynamic_symtab.
35 (sunos_canonicalize_dynamic_symtab): Call new function
36 sunos_slurp_dynamic_symtab.
37 (sunos_add_dynamic_symbols): Add three new parameters. Return the
38 dynamic symbol table to the caller.
39 * aoutx.h (aout_link_add_symbols): Permit add_dynamic_symbols
40 callback to override the symbols being read.
41 * libaout.h (struct aout_backend_data): Add three new parameters
42 to add_dynamic_symbols callback.
43
44 Extensive minor changes to avoid various gcc warnings. Also:
45 * Makefile.in (BFD32_BACKENDS): Remove coff-arm.o.
46 * archures.c (bfd_arch_info_type): Change mach field from long to
47 unsigned long.
48 (bfd_lookup_arch): Change machine parameter from long to unsigned
49 long.
50
51 Mon Sep 11 10:55:47 1995 Ian Lance Taylor <ian@cygnus.com>
52
53 * sunos.c (sunos_scan_std_relocs): Fix BFD_ASSERT: it's OK to find
54 a symbol with a non-zero plt_offset.
55
56 Fri Sep 8 11:47:24 1995 Ian Lance Taylor <ian@cygnus.com>
57
58 * elfcode.h (align_file_position): Remove; not used.
59
60 * configure.in: Only check for <sys/procfs.h> on a native system,
61 and make sure it defines prstatus_t.
62 * configure: Rebuild.
63
64 Thu Sep 7 12:48:01 1995 Ian Lance Taylor <ian@cygnus.com>
65
66 * sunos.c (sunos_write_dynamic_symbol): Correct m68k abort test.
67
68 * config.in: Rename from config.h.in.
69 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
70 Check for config.h:config.in when creating stamp-h.
71 * configure: Rebuild.
72 * Makefile.in (stamp-h): Depend upon config.in rather than
73 config.h.in. Set CONFIG_HEADERS to config.h:config.in when
74 calling config.status.
75
76 * Makefile.in (do_distclean): Remove config.h and stamp-h.
77 (Makefile): Just rebuild Makefile.
78 (config.h, stamp-h): New targets.
79 * configure.in: Create stamp-h when rebuilding config.h.
80 * configure: Rebuild.
81
82 Wed Sep 6 15:00:33 1995 Ian Lance Taylor <ian@cygnus.com>
83
84 * configure.in: Call AC_CONFIG_HEADER. Substitute
85 HOST_64BIT_LONG. Check that various header files exist. Check
86 that fcntl exists. Call BFD_BINARY_FOPEN. Check whether malloc
87 and/or free need to be declared. Don't make a link to sysdep.h.
88 Define TRAD_HEADER for various hosts.
89 * configure: Rebuild.
90 * configure.host: Don't set my_host. Add definitions taken from
91 host header files for various entries. Remove entries which now
92 do nothing.
93 * acconfig.h: New file.
94 * config.h.in: New file, built by autoheader.
95 * sysdep.h: New file.
96 * Makefile.in (do_distclean): Don't remove sysdep.h.
97 (RECONFIG): Remove.
98 (LOCAL_H_DEPS): New variable.
99 ($(BFD_LIBS)): Use $(LOCAL_H_DEPS) rather than libbfd.h and
100 $(RECONFIG).
101 ($(BFD_MACHINES), $(BFD_BACKENDS)): Likewise.
102 ($(OPTIONAL_BACKENDS)): Likewise.
103 (stmp-bfd.h): Just substitute for BFD_HOST_64BIT_LONG, rather than
104 looking through sysdep.h.
105 * bfd-in.h (BFD_HOST_64BIT_LONG): Define; set by Makefile.
106 (BFD_HOST_64_BIT): Define based on BFD_HOST_64BIT_LONG.
107 (fprintf_vma, sprintf_vma): Likewise.
108 (int64_type, uint64_type): Don't define.
109 * bfd-in2.h: Rebuild.
110 * archures.c, bfd.c, srec.c: Include <ctype.h>.
111 * elfcore.h: Check HAVE_SYS_PROCFS_H rather than HAVE_PROCFS.
112 * lynx-core.c: Include stuff from old hosts/lynx.h.
113 * opncls.c (bfd_fdopenr): Check HAVE_FNCTL and defined (F_GETFL),
114 rather than NO_FCNTL.
115 * targets.c (bfd_target_list): Check HOST_HPPAHPUX and ! __STDC__
116 rather than NATIVE_HPPAHPUX_COMPILER.
117 * trad-core.c: Don't include <errno.h>. Include TRAD_HEADER if it
118 is defined.
119 * hosts/*.h: Remove all header files which merely include,
120 declare, and define things. Leave header files which define
121 information needed by trad-core.c.
122
123 * aclocal.m4 (BFD_BINARY_FOPEN): Define.
124 (BFD_CC_FOR_BUILD): Define.
125 * configure.in: Use BFD_CC_FOR_BUILD.
126 * configure: Rebuild.
127
128 Tue Sep 5 19:35:28 1995 Ian Lance Taylor <ian@cygnus.com>
129
130 * aclocal.m4: Don't try to grep ../Makefile if it doesn't exist.
131 * configure: Rebuild.
132
133 * coff-sparc.c (CALC_ADDEND): Don't set the addend to the value of
134 a global symbol.
135
136 Tue Sep 5 12:48:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
137
138 * config.bfd: i386pe_ve -> i386pe_vec.
139
140 Mon Sep 4 14:02:43 1995 Ian Lance Taylor <ian@cygnus.com>
141
142 * configure.host: Incorporate host Makefile fragments by setting
143 shell variables.
144 * configure.in: Call AC_PROG_CC. Substitute CFLAGS, HDEFINES and
145 AR. Call AC_PROG_INSTALL. Substitute CC_FOR_BUILD, choosing a
146 value based on whether the code is being compiled by a cross
147 compiler. Don't substitute host_makefile_frag or frags.
148 * aclocal.m4: New file to define local AC_PROG_CC.
149 * configure: Rebuild.
150 * Makefile.in (INSTALL): Set to @INSTALL@.
151 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
152 (INSTALL_DATA): Set to @INSTALL_DATA@.
153 (AR): Set to @AR@.
154 (CC): Define as @CC@.
155 (CFLAGS): Set to @CFLAGS@.
156 (CC_FOR_BUILD): Set to @CC_FOR_BUILD@.
157 (@host_makefile_frag@): Remove.
158 (ALL_CFLAGS): Change $(HDEFINES) to @HDEFINES@. Move $(CFLAGS)
159 after other options.
160 (config.status): Remove dependency upon @frags@.
161 * config/*.mh, config/README: Remove.
162
163 * config.bfd: Rewrite to incorporate the contents of the Makefile
164 fragments by setting shell variables, rather than merely returning
165 the name of a Makefile fragment.
166 * configure.in: Use shell variables set by config.bfd rather than
167 looking at the target Makefile fragment files. Don't substitute
168 target_makefile_frag. Do substitute TDEFINES.
169 * configure: Rebuild.
170 * Makefile.in (@target_makefile_frag@): Remove.
171 (ALL_CFLAGS): Change $(TDEFINES) to @TDEFINES@.
172 * config/*.mt: Remove.
173
174 Mon Sep 4 03:13:28 1995 Ken Raeburn <raeburn@cygnus.com>
175
176 * configure.in: Put changequote lines around "i[345]86" patterns
177 section of core file support.
178
179 Sun Sep 3 11:31:58 1995 Jeff Law (law@snake.cs.utah.edu)
180
181 * som.c (som_bfd_print_private_bfd_data): Define to use the
182 generic version.
183
184 Fri Sep 1 17:08:40 1995 steve chamberlain <sac@slash.cygnus.com>
185
186 * peicode.h (coff_swap_aouthdr_in): Add ImageBase to
187 entry, text_start and data_start.
188
189 Fri Sep 1 18:06:28 1995 Ian Lance Taylor <ian@cygnus.com>
190
191 * Makefile.in (OFILES): Remove $(TDEPFILES).
192 * config/apollo.mt (TDEPFILES): Remove.
193 * config/README: Update.
194
195 * configure.in: For a native configuration, set COREFILE and
196 COREFLAG based on the canonical host name.
197 * configure: Rebuild.
198 * Makefile.in: Rebuild dependencies.
199 (ALL_CFLAGS): Add @COREFLAG@.
200 (OFILES): Replace $(HDEPFILES) with @COREFILE@.
201 * coff-rs6000.c: Check AIX_CORE rather than HOST_AIX for core file
202 support routines. Check LYNX_CORE rather than HOST_LYNX.
203 * lynx-core.c: Check LYNX_CORE rather than HOST_LYNX.
204 * i386lynx.c: Likewise.
205 * m68klynx.c: Likewise.
206 * sparclynx.c: Likewise.
207 * rs6000-core.c: Check AIX_CORE rather than HOST_AIX.
208 * *-core.c: Comment changes.
209 * config/decstation.mh (HDEPFILES): Remove.
210 (HDEFINES): Remove -DTRAD_CORE.
211 * config/irix3.mh (RANLIB): Remove.
212 * config/irix4.mh (HDEPFILES, RANLIB): Remove.
213 (HDEFINES): Remove -DIRIX_CORE.
214 * config/riscos.mh (RANLIB, HDEPFILES): Remove.
215 (HDEFINES): Remove -DTRAD_CORE.
216 * config/ncr3000.mh (AR_FLAGS, RANLIB): Remove.
217 * config/ultra3.mh (RANLIB): Remove.
218 * config/aix4.mh, config/alphaosf.mh, config/amix.mh: Remove.
219 * config/apollo.mh, config/delta68.mh, config/delta88.mh: Remove.
220 * config/dpx2.mh, config/esix.mh, config/harris.mh: Remove.
221 * config/hp300.mh, config/hp300bsd.mh, config/hppabsd.mh: Remove.
222 * config/hppahpux.mh, config/hppaosf.mh: Remove.
223 * config/i386aix.mh, config/i386bsd.mh: Remove.
224 * config/i386linux.mh, config/i386mach3.mh: Remove.
225 * config/i386sco.mh, config/i386v.mh, config/i386v4.mh: Remove.
226 * config/irix5.mh, config/m88kmach3.mh, config/mipsbsd.mh: Remove.
227 * config/mipsmach3.mh, config/news-mips.mh: Remove.
228 * config/news.mh, config/pc532mach.mh, config/riscix.mh: Remove.
229 * config/rs600.mh, config/rs6000lynx.mh: Remove.
230 * config/solaris2.mh, config/stratus.mh: Remove.
231 * config/symmetry.mh, config/sysv4.mh, config/tahoe.mh: Remove.
232 * config/vaxbsd.mh, config/vaxult.mh, config/vaxult2.mh: Remove.
233
234 Fri Sep 1 15:18:50 1995 Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>
235
236 * elflink.h (elf_bfd_final_link): Don't change a DT_INIT or
237 DT_FINI entry if the appropriate symbol is not in the hash table.
238
239 * libelf.h (struct elf_backend_data): Add create_program_headers
240 and want_hdr_in_seg fields.
241 * elfxx-target.h (elf_backend_want_hdr_in_seg): Define if not
242 defined.
243 (elf_backend_create_program_headers): Likewise.
244 (elfNN_bed): Initialize create_program_headers and
245 want_hdr_in_seg.
246 * elf.c (get_program_header_size): Call create_program_headers
247 backend routine.
248 (map_program_segments): Check want_hdr_in_seg backend field. Call
249 create_program_headers backend routine.
250
251 * elf.c (assign_file_positions_except_relocs): Align non allocated
252 sections when creating an executable.
253
254 * elfcode.h (elf_swap_phdr_in): Make non static.
255 (elf_swap_phdr_out): Make non static.
256 * libelf.h (bfd_elf32_swap_phdr_in): Declare.
257 (bfd_elf32_swap_phdr_out): Declare.
258 (bfd_elf64_swap_phdr_in): Declare.
259 (bfd_elf64_swap_phdr_out): Declare.
260
261 * ecofflink.c (ecoff_collect_shuffle): New static function.
262 (_bfd_ecoff_get_accumulated_pdr): New function.
263 (_bfd_ecoff_get_accumulated_sym): New function.
264 (_bfd_ecoff_get_accumulated_ss): New function.
265 * libbfd-in.h (_bfd_ecoff_get_accumulated_pdr): Declare.
266 (_bfd_ecoff_get_accumulated_sym): Declare.
267 (_bfd_ecoff_get_accumulated_ss): Declare.
268 * libbfd.h: Rebuild.
269
270 Fri Sep 1 13:20:25 1995 Ian Lance Taylor <ian@cygnus.com>
271
272 * libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): Fix typo.
273
274 * elflink.h (elf_link_add_object_symbols): Handle indirect and
275 warning symbols. If any section is named .gnu.warning.XXX, treat
276 the contents as a warning to be issued if the symbol XXX is
277 referenced.
278 (elf_link_output_extsym): For an indirect or warning symbol, just
279 output the symbol it points to.
280
281 * linker.c (_bfd_link_hash_newfunc): Don't bother to set bfd_error
282 if bfd_hash_allocate fails, since it will already be set.
283 (generic_link_hash_newfunc): Likewise.
284 (archive_hash_newfunc): Likewise.
285 (hash_entry_bfd): New static function.
286 (_bfd_generic_link_add_one_symbol): Pass new arguments to warning
287 callback. Allocate a new warning using the hash table newfunc.
288 Use bfd_hash_replace to update the entry in the hash table, rather
289 than assuming we can copy the fields with structure assignment.
290
291 * hash.c (bfd_hash_replace): New function.
292 * bfd-in.h (bfd_hash_replace): Declare.
293 * bfd-in2.h: Rebuild.
294
295 Fri Sep 1 08:12:50 1995 James G. Smith <jsmith@beauty.cygnus.com>
296
297 * config.bfd: Add mips*vr4300-*-elf* target.
298 * config/mipsbvr4300.mt: Added.
299
300 See file ChangeLog.2
301
302 \f
303 Local Variables:
304 mode: indented-text
305 left-margin: 8
306 fill-column: 74
307 version-control: never
308 End: