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