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