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