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