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