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