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