do not set EF_PPC_RELOCATABLE for -mrelocatable-lib
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
f69e888e
ILT
1Wed Sep 20 12:03:26 1995 Ian Lance Taylor <ian@cygnus.com>
2
e18c4e8f
ILT
3 * coffcode.h (coff_write_object_contents): Clear the vstamp field
4 in the a.out header.
5
f69e888e
ILT
6 * aoutx.h (NAME(aout,swap_ext_reloc_out)): Don't set r_extern for
7 a reloc against a local symbol, even if it's not a section.
8
a5655244
ILT
9Tue Sep 19 17:02:26 1995 Ian Lance Taylor <ian@cygnus.com>
10
11 * targets.c (bfd_target): Remove unused align_power_min field.
12 * bfd-in2.h: Rebuild.
13 * All backends: Remove initialization of align_power_min.
14
500d7394
SC
15Tue Sep 19 14:02:21 1995 steve chamberlain <sac@slash.cygnus.com>
16
17 * peicode.h (coff_swap_scnhdr_out): Get sizes for BSS right.
500d7394 18
049df0a8
ILT
19Mon Sep 18 14:35:01 1995 Arne H. Juul <arnej@pvv.unit.no>
20
21 * config.bfd (mips-dec-netbsd*): New target.
22 * configure.host (mips-dec-netbsd*): New host.
23 * configure.in (mips-dec-netbsd*): New native.
24 * configure: Rebuild.
25
1862bbd8
ILT
26Fri Sep 15 10:24:36 1995 Ian Lance Taylor <ian@cygnus.com>
27
28 Make the COFF backend linker merge common types:
29 * cofflink.c (struct coff_debug_merge_element): Define.
30 (struct coff_debug_merge_type): Define.
31 (struct coff_debug_merge_hash_entry): Define.
32 (struct coff_debug_merge_hash_table): Define.
33 (coff_debug_merge_hash_table_init): Define.
34 (coff_debug_merge_hash_table_free): Define.
35 (coff_debug_merge_hash_lookup): Define.
36 (struct coff_final_link_info): Add debug_merge field.
37 (coff_debug_merge_hash_newfunc): New static function.
38 (_bfd_coff_final_link): Allocate and free debug_merge table.
39 (coff_link_input_bfd): Merge identical enum, struct and union
40 types.
41
a208a70f
ILT
42Thu Sep 14 14:53:58 1995 Ian Lance Taylor <ian@cygnus.com>
43
44 Convert i960 COFF to use COFF backend linker.
45 * coff-i960.c (coff_i960_relocate): Use a coff_section_data
46 structure to store the symbol being used.
47 (coff_i960_start_final_link): New static function.
48 (coff_i960_relocate_section): New static function.
49 (coff_i960_adjust_symndx): New static function.
50 (coff_start_final_link): Define.
51 (coff_relocate_section): Define.
52 (coff_adjust_symndx): Define.
53 * coffcode.h (bfd_coff_backend_data): Add new callback function
54 _bfd_coff_start_final_link.
55 (bfd_coff_start_final_link): Define.
56 (coff_start_final_link): Define if not defined.
57 (bfd_coff_std_swap_table): Add coff_start_final_link.
58 * cofflink.c (_bfd_coff_internal_syment_name): Make globally
59 visible.
60 (_bfd_coff_final_link): Call bfd_coff_start_final_link if the
61 function callback is not NULL.
62 * libcoff-in.h (struct coff_section_tdata): Add tdata field.
63 (_bfd_coff_internal_syment_name): Declare.
64 * libcoff.h: Rebuild.
65 * configure.in (icoff_big_vec): Add cofflink.o.
66 (icoff_little_vec): Likewise.
67 * configure: Rebuild.
68
f0abedbe
FF
69Wed Sep 13 17:38:23 1995 Fred Fish <fnf@rtl.cygnus.com>
70
71 * Makefile.in (clean-info): Remove extraneous tab from line
72 following action.
73
aa4b3dc5
ILT
74Wed Sep 13 13:27:53 1995 Ian Lance Taylor <ian@cygnus.com>
75
76 * cofflink.c (coff_link_input_bfd): Fail if a section with no
77 contents has relocs.
78
4ca63811 79Thu Sep 12 12:45:34 1995 steve chamberlain <sac@slash.cygnus.com>
beee31b1
SC
80
81 * coffcode.h (coff_compute_section_file_positions): Keep the
82 raw size safe.
83 (coff_write_object_contents): Remember if it's a relocatable
84 file.
85 * libcoff-in.h (pe_data_type): New member 'has_reloc_section'
86 * peicode.h (coff_swap_filehdr_out): Clear not-reloc flag
87 if relocatable file. Swap out saved raw size.
88
ae115e51
ILT
89Tue Sep 12 12:14:33 1995 Ian Lance Taylor <ian@cygnus.com>
90
9521bac3
ILT
91 * Makefile.in (do_maintainer_clean): Rename from do_realclean.
92 (maintainer-clean): Rename from realclean, passing
93 maintainer-clean down to subdirectories, but leave realclean as a
94 synonym.
95
4ca63811
ILT
96 * linker.c (_bfd_generic_link_add_one_symbol): Pass symbol name to
97 warning callback.
98
5aa4c3ff
ILT
99 * dep-in.sed: Remove config.h from generated dependencies.
100
396aaeb2
ILT
101 * sunos.c (sunos_slurp_dynamic_symtab): New static function,
102 broken out of sunos_canonicalize_dynamic_symtab.
103 (sunos_canonicalize_dynamic_symtab): Call new function
104 sunos_slurp_dynamic_symtab.
105 (sunos_add_dynamic_symbols): Add three new parameters. Return the
106 dynamic symbol table to the caller.
107 * aoutx.h (aout_link_add_symbols): Permit add_dynamic_symbols
108 callback to override the symbols being read.
109 * libaout.h (struct aout_backend_data): Add three new parameters
110 to add_dynamic_symbols callback.
111
ae115e51
ILT
112 Extensive minor changes to avoid various gcc warnings. Also:
113 * Makefile.in (BFD32_BACKENDS): Remove coff-arm.o.
114 * archures.c (bfd_arch_info_type): Change mach field from long to
115 unsigned long.
116 (bfd_lookup_arch): Change machine parameter from long to unsigned
117 long.
118
b088e4b2
ILT
119Mon Sep 11 10:55:47 1995 Ian Lance Taylor <ian@cygnus.com>
120
121 * sunos.c (sunos_scan_std_relocs): Fix BFD_ASSERT: it's OK to find
122 a symbol with a non-zero plt_offset.
123
1dff7902
ILT
124Fri Sep 8 11:47:24 1995 Ian Lance Taylor <ian@cygnus.com>
125
2b71e1e4
ILT
126 * elfcode.h (align_file_position): Remove; not used.
127
1dff7902
ILT
128 * configure.in: Only check for <sys/procfs.h> on a native system,
129 and make sure it defines prstatus_t.
130 * configure: Rebuild.
131
870015b1
ILT
132Thu Sep 7 12:48:01 1995 Ian Lance Taylor <ian@cygnus.com>
133
535c89f0
ILT
134 * sunos.c (sunos_write_dynamic_symbol): Correct m68k abort test.
135
936b870c
ILT
136 * config.in: Rename from config.h.in.
137 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
a7873a6c 138 Check for config.h:config.in when creating stamp-h.
936b870c 139 * configure: Rebuild.
a7873a6c
ILT
140 * Makefile.in (stamp-h): Depend upon config.in rather than
141 config.h.in. Set CONFIG_HEADERS to config.h:config.in when
142 calling config.status.
936b870c 143
870015b1
ILT
144 * Makefile.in (do_distclean): Remove config.h and stamp-h.
145 (Makefile): Just rebuild Makefile.
146 (config.h, stamp-h): New targets.
147 * configure.in: Create stamp-h when rebuilding config.h.
148 * configure: Rebuild.
149
b7577823
ILT
150Wed Sep 6 15:00:33 1995 Ian Lance Taylor <ian@cygnus.com>
151
152 * configure.in: Call AC_CONFIG_HEADER. Substitute
153 HOST_64BIT_LONG. Check that various header files exist. Check
154 that fcntl exists. Call BFD_BINARY_FOPEN. Check whether malloc
155 and/or free need to be declared. Don't make a link to sysdep.h.
156 Define TRAD_HEADER for various hosts.
157 * configure: Rebuild.
158 * configure.host: Don't set my_host. Add definitions taken from
159 host header files for various entries. Remove entries which now
160 do nothing.
161 * acconfig.h: New file.
162 * config.h.in: New file, built by autoheader.
163 * sysdep.h: New file.
164 * Makefile.in (do_distclean): Don't remove sysdep.h.
165 (RECONFIG): Remove.
166 (LOCAL_H_DEPS): New variable.
167 ($(BFD_LIBS)): Use $(LOCAL_H_DEPS) rather than libbfd.h and
168 $(RECONFIG).
169 ($(BFD_MACHINES), $(BFD_BACKENDS)): Likewise.
170 ($(OPTIONAL_BACKENDS)): Likewise.
171 (stmp-bfd.h): Just substitute for BFD_HOST_64BIT_LONG, rather than
172 looking through sysdep.h.
173 * bfd-in.h (BFD_HOST_64BIT_LONG): Define; set by Makefile.
174 (BFD_HOST_64_BIT): Define based on BFD_HOST_64BIT_LONG.
175 (fprintf_vma, sprintf_vma): Likewise.
176 (int64_type, uint64_type): Don't define.
177 * bfd-in2.h: Rebuild.
178 * archures.c, bfd.c, srec.c: Include <ctype.h>.
179 * elfcore.h: Check HAVE_SYS_PROCFS_H rather than HAVE_PROCFS.
180 * lynx-core.c: Include stuff from old hosts/lynx.h.
181 * opncls.c (bfd_fdopenr): Check HAVE_FNCTL and defined (F_GETFL),
182 rather than NO_FCNTL.
183 * targets.c (bfd_target_list): Check HOST_HPPAHPUX and ! __STDC__
184 rather than NATIVE_HPPAHPUX_COMPILER.
185 * trad-core.c: Don't include <errno.h>. Include TRAD_HEADER if it
186 is defined.
187 * hosts/*.h: Remove all header files which merely include,
188 declare, and define things. Leave header files which define
189 information needed by trad-core.c.
190
191 * aclocal.m4 (BFD_BINARY_FOPEN): Define.
192 (BFD_CC_FOR_BUILD): Define.
193 * configure.in: Use BFD_CC_FOR_BUILD.
194 * configure: Rebuild.
195
7a93ebdd
ILT
196Tue Sep 5 19:35:28 1995 Ian Lance Taylor <ian@cygnus.com>
197
4c2e4d0e
ILT
198 * aclocal.m4: Don't try to grep ../Makefile if it doesn't exist.
199 * configure: Rebuild.
200
7a93ebdd
ILT
201 * coff-sparc.c (CALC_ADDEND): Don't set the addend to the value of
202 a global symbol.
203
866bb9e5
JM
204Tue Sep 5 12:48:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
205
206 * config.bfd: i386pe_ve -> i386pe_vec.
207
2b79a104
ILT
208Mon Sep 4 14:02:43 1995 Ian Lance Taylor <ian@cygnus.com>
209
f515fb2f
ILT
210 * configure.host: Incorporate host Makefile fragments by setting
211 shell variables.
212 * configure.in: Call AC_PROG_CC. Substitute CFLAGS, HDEFINES and
213 AR. Call AC_PROG_INSTALL. Substitute CC_FOR_BUILD, choosing a
214 value based on whether the code is being compiled by a cross
215 compiler. Don't substitute host_makefile_frag or frags.
216 * aclocal.m4: New file to define local AC_PROG_CC.
217 * configure: Rebuild.
218 * Makefile.in (INSTALL): Set to @INSTALL@.
219 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
220 (INSTALL_DATA): Set to @INSTALL_DATA@.
221 (AR): Set to @AR@.
222 (CC): Define as @CC@.
223 (CFLAGS): Set to @CFLAGS@.
224 (CC_FOR_BUILD): Set to @CC_FOR_BUILD@.
225 (@host_makefile_frag@): Remove.
226 (ALL_CFLAGS): Change $(HDEFINES) to @HDEFINES@. Move $(CFLAGS)
227 after other options.
228 (config.status): Remove dependency upon @frags@.
229 * config/*.mh, config/README: Remove.
230
2b79a104
ILT
231 * config.bfd: Rewrite to incorporate the contents of the Makefile
232 fragments by setting shell variables, rather than merely returning
233 the name of a Makefile fragment.
234 * configure.in: Use shell variables set by config.bfd rather than
235 looking at the target Makefile fragment files. Don't substitute
236 target_makefile_frag. Do substitute TDEFINES.
237 * configure: Rebuild.
238 * Makefile.in (@target_makefile_frag@): Remove.
239 (ALL_CFLAGS): Change $(TDEFINES) to @TDEFINES@.
240 * config/*.mt: Remove.
241
2cb159a5
KR
242Mon Sep 4 03:13:28 1995 Ken Raeburn <raeburn@cygnus.com>
243
244 * configure.in: Put changequote lines around "i[345]86" patterns
245 section of core file support.
246
ef07871c
JL
247Sun Sep 3 11:31:58 1995 Jeff Law (law@snake.cs.utah.edu)
248
249 * som.c (som_bfd_print_private_bfd_data): Define to use the
250 generic version.
251
1613e075
SC
252Fri Sep 1 17:08:40 1995 steve chamberlain <sac@slash.cygnus.com>
253
254 * peicode.h (coff_swap_aouthdr_in): Add ImageBase to
255 entry, text_start and data_start.
256
a52a3ce8
ILT
257Fri Sep 1 18:06:28 1995 Ian Lance Taylor <ian@cygnus.com>
258
a21227ef
ILT
259 * Makefile.in (OFILES): Remove $(TDEPFILES).
260 * config/apollo.mt (TDEPFILES): Remove.
261 * config/README: Update.
262
a52a3ce8
ILT
263 * configure.in: For a native configuration, set COREFILE and
264 COREFLAG based on the canonical host name.
265 * configure: Rebuild.
266 * Makefile.in: Rebuild dependencies.
267 (ALL_CFLAGS): Add @COREFLAG@.
268 (OFILES): Replace $(HDEPFILES) with @COREFILE@.
269 * coff-rs6000.c: Check AIX_CORE rather than HOST_AIX for core file
270 support routines. Check LYNX_CORE rather than HOST_LYNX.
271 * lynx-core.c: Check LYNX_CORE rather than HOST_LYNX.
272 * i386lynx.c: Likewise.
273 * m68klynx.c: Likewise.
274 * sparclynx.c: Likewise.
275 * rs6000-core.c: Check AIX_CORE rather than HOST_AIX.
276 * *-core.c: Comment changes.
277 * config/decstation.mh (HDEPFILES): Remove.
278 (HDEFINES): Remove -DTRAD_CORE.
279 * config/irix3.mh (RANLIB): Remove.
280 * config/irix4.mh (HDEPFILES, RANLIB): Remove.
281 (HDEFINES): Remove -DIRIX_CORE.
282 * config/riscos.mh (RANLIB, HDEPFILES): Remove.
283 (HDEFINES): Remove -DTRAD_CORE.
284 * config/ncr3000.mh (AR_FLAGS, RANLIB): Remove.
285 * config/ultra3.mh (RANLIB): Remove.
286 * config/aix4.mh, config/alphaosf.mh, config/amix.mh: Remove.
287 * config/apollo.mh, config/delta68.mh, config/delta88.mh: Remove.
288 * config/dpx2.mh, config/esix.mh, config/harris.mh: Remove.
289 * config/hp300.mh, config/hp300bsd.mh, config/hppabsd.mh: Remove.
290 * config/hppahpux.mh, config/hppaosf.mh: Remove.
291 * config/i386aix.mh, config/i386bsd.mh: Remove.
292 * config/i386linux.mh, config/i386mach3.mh: Remove.
293 * config/i386sco.mh, config/i386v.mh, config/i386v4.mh: Remove.
294 * config/irix5.mh, config/m88kmach3.mh, config/mipsbsd.mh: Remove.
295 * config/mipsmach3.mh, config/news-mips.mh: Remove.
296 * config/news.mh, config/pc532mach.mh, config/riscix.mh: Remove.
297 * config/rs600.mh, config/rs6000lynx.mh: Remove.
298 * config/solaris2.mh, config/stratus.mh: Remove.
299 * config/symmetry.mh, config/sysv4.mh, config/tahoe.mh: Remove.
300 * config/vaxbsd.mh, config/vaxult.mh, config/vaxult2.mh: Remove.
301
d6f672b8
ILT
302Fri Sep 1 15:18:50 1995 Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>
303
304 * elflink.h (elf_bfd_final_link): Don't change a DT_INIT or
305 DT_FINI entry if the appropriate symbol is not in the hash table.
306
307 * libelf.h (struct elf_backend_data): Add create_program_headers
308 and want_hdr_in_seg fields.
309 * elfxx-target.h (elf_backend_want_hdr_in_seg): Define if not
310 defined.
311 (elf_backend_create_program_headers): Likewise.
312 (elfNN_bed): Initialize create_program_headers and
313 want_hdr_in_seg.
314 * elf.c (get_program_header_size): Call create_program_headers
315 backend routine.
316 (map_program_segments): Check want_hdr_in_seg backend field. Call
317 create_program_headers backend routine.
318
319 * elf.c (assign_file_positions_except_relocs): Align non allocated
320 sections when creating an executable.
321
322 * elfcode.h (elf_swap_phdr_in): Make non static.
323 (elf_swap_phdr_out): Make non static.
324 * libelf.h (bfd_elf32_swap_phdr_in): Declare.
325 (bfd_elf32_swap_phdr_out): Declare.
326 (bfd_elf64_swap_phdr_in): Declare.
327 (bfd_elf64_swap_phdr_out): Declare.
328
329 * ecofflink.c (ecoff_collect_shuffle): New static function.
330 (_bfd_ecoff_get_accumulated_pdr): New function.
331 (_bfd_ecoff_get_accumulated_sym): New function.
332 (_bfd_ecoff_get_accumulated_ss): New function.
333 * libbfd-in.h (_bfd_ecoff_get_accumulated_pdr): Declare.
334 (_bfd_ecoff_get_accumulated_sym): Declare.
335 (_bfd_ecoff_get_accumulated_ss): Declare.
336 * libbfd.h: Rebuild.
337
0cb70568
ILT
338Fri Sep 1 13:20:25 1995 Ian Lance Taylor <ian@cygnus.com>
339
d6f672b8
ILT
340 * libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): Fix typo.
341
0cb70568
ILT
342 * elflink.h (elf_link_add_object_symbols): Handle indirect and
343 warning symbols. If any section is named .gnu.warning.XXX, treat
344 the contents as a warning to be issued if the symbol XXX is
345 referenced.
346 (elf_link_output_extsym): For an indirect or warning symbol, just
347 output the symbol it points to.
348
349 * linker.c (_bfd_link_hash_newfunc): Don't bother to set bfd_error
350 if bfd_hash_allocate fails, since it will already be set.
351 (generic_link_hash_newfunc): Likewise.
352 (archive_hash_newfunc): Likewise.
353 (hash_entry_bfd): New static function.
354 (_bfd_generic_link_add_one_symbol): Pass new arguments to warning
355 callback. Allocate a new warning using the hash table newfunc.
356 Use bfd_hash_replace to update the entry in the hash table, rather
357 than assuming we can copy the fields with structure assignment.
358
359 * hash.c (bfd_hash_replace): New function.
360 * bfd-in.h (bfd_hash_replace): Declare.
361 * bfd-in2.h: Rebuild.
362
f14db880
JSC
363Fri Sep 1 08:12:50 1995 James G. Smith <jsmith@beauty.cygnus.com>
364
365 * config.bfd: Add mips*vr4300-*-elf* target.
366 * config/mipsbvr4300.mt: Added.
367
1613e075 368See file ChangeLog.2
e6d739eb 369
41126f15
JK
370\f
371Local Variables:
372mode: indented-text
373left-margin: 8
6ec3bb6a
ILT
374fill-column: 74
375version-control: never
376End:
This page took 0.164175 seconds and 4 git commands to generate.