* config/obj-coffbfd.c: lint, don't fixup relocs if H8300, use
[deliverable/binutils-gdb.git] / bfd / ChangeLog
... / ...
CommitLineData
1Wed Dec 11 16:39:45 1991 Steve Chamberlain (sac at rtl.cygnus.com)
2
3 * makefile.dos, configdj.bat: New files from DJ
4 * cache.c: fopen with new macros is needed for DOS.
5 * ieee.c: environ renamed to envi to stop an include file
6 conflict.
7 * opncls.c, coff-rs6000.c: more fopens with macros.
8
9
10Tue Dec 10 04:07:24 1991 K. Richard Pixley (rich at rtl.cygnus.com)
11
12 * Makefile.in: infodir belongs in datadir.
13
14Sat Dec 7 16:39:23 1991 Steve Chamberlain (sac at rtl.cygnus.com)
15
16 * Makefile.in: fix where docdir lives
17
18 * aoutx.h, archive.c, archures.c, bfd.c, cache.c, coff-m88k.c,
19 coffcode.h, core.c, ctor.c, elf.c, format.c, ieee.c, init.c,
20 libbfd.c, libbfd.h, libcoff.h, opncls.c, reloc.c, section.c,
21 srec.c, syms.c, targets.c : all new documentation and lint
22 removal.
23
24
25Sat Dec 7 07:22:09 1991 John Gilmore (gnu at cygnus.com)
26
27 * coffcode.h, srec.c: Lint.
28
29Fri Dec 6 22:58:48 1991 K. Richard Pixley (rich at rtl.cygnus.com)
30
31 * Makefile.in: install using INSTALL_DATA, added standards.text
32 support.
33
34 * configure.in: mark directory as target dependent. configure
35 nows works in objdir always so make file existence checks
36 against ${srcdir}.
37
38Thu Dec 5 22:46:19 1991 K. Richard Pixley (rich at rtl.cygnus.com)
39
40 * Makefile.in: idestdir and ddestdir go away. Added copyrights
41 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
42 and mandir now keyed off datadir by default.
43
44Wed Dec 4 10:14:17 1991 Steve Chamberlain (sac at rtl.cygnus.com)
45
46 * aoutf1.h (sunos_<size>_object_p, sunos4_callback): moved the
47 computation of arch and machine type so it's worked out before
48 some_aout_object_p is called.
49 * aoutx.h: (some_aout_object_p): don't set arch and mach to
50 unknown.
51 * archures.c: add extra field 'section_align_power' to hold
52 default section alignment in object files.
53 * cpu-a29k.c, cpu-h8300.c, cpu-i386.c, cpu-i960.c, cpu-m68k.c,
54 cpu-m88k.c, cpu-mips.c, cpu-rs6000.c, cpu-sparc.c, cpu-vax.c:
55 initialize the new field.
56 * bout.c (b_out_callback): replace the text size, since aout
57 fries them.
58 * aoutx.h: Documentation in the new style
59
60Wed Dec 4 02:00:30 1991 John Gilmore (gnu at cygnus.com)
61
62 * bfd.c (bfd_get_mtime): Don't cache mtime any more; only
63 use the saved value if mtime_set is already set (intended
64 for archive files, though apparently not used yet).
65
66Tue Dec 3 22:54:50 1991 John Gilmore (gnu at cygnus.com)
67
68 * targets.c: Revise comments about how to configure the target
69 vector, to match reality. Remove mention of obsolete methods.
70 Remove long lists of capitalized macros that turn into the same
71 thing in lowercase. Normal vector simply lists all known
72 lowercase xvec names; all other cases are handled by SELECT_VECS.
73
74 * config/mt-i386-coff: Set DEFAULT_VECTOR to real identifier,
75 not macro name.
76
77 * config/mt-i960-{coff,bout}: Use SELECT_VECS to make a short
78 list of supported targets.
79
80Tue Dec 3 14:06:15 1991 Per Bothner (bothner at cygnus.com)
81
82 * archive.c (bsd_write_armap): The pad byte sometimes added to
83 the string table in a __.SYMDEF member is now
84 counted as part of the size of the string table.
85 This is compatible with the old ranlib, as well as Sun's.
86
87Tue Dec 3 10:53:30 1991 Steve Chamberlain (sac at rtl.cygnus.com)
88
89 * srec.c: Rewrote to fix many bugs; now gets the record type
90 right, doesn't choke on input, sets the start address in an S9 and
91 fills in the filename on an S0.
92
93Sat Nov 30 21:19:15 1991 Steve Chamberlain (sac at rtl.cygnus.com)
94
95 * cpu-h8300.c: Add support for MEMIND addressing mode
96
97 * coff-a29k.c: defined RELOC_PROCESSING to take the #ifdef out of
98 coffcode.h
99 * coffcode.h: use the new macro if available
100
101 * elf.c (elf_corefile_note): cast malloc to avoid warning.
102 * Makefile.in: Fixed dependencies due to file rename
103
104 * aout-encap.c, aoutf1.h, aoutx.h, archive.c, bout.c, coff-a29k.c,
105 coff-h8300.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
106 coff-mips.c, coff-rs6000.c, cpu-h300.c, elf.c, i386aout.c,
107 newos3.c, stab-syms.c, syms.c: All these files have had their
108 #includes altered to point to the new places.
109
110Fri Nov 29 20:04:49 1991 Fred Fish (fnf at cygnus.com)
111
112 * config/mh-i386v4, config/mh-i386-elf, hosts/h-i386v4.h: New files.
113
114 * configure.in: Add vendor "ncr" as supported per-target vendor.
115 Add svr4 case for i386 per-host case.
116
117 * elf.c (elf_object_p, elf_core_file_p): Add missing "break" to
118 ELFDATA2LSB cases.
119
120Fri Nov 29 12:16:51 1991 Per Bothner (bothner at cygnus.com)
121
122 * syms.c (bfd_decode_symclass): Return 'A'
123 for symbols that are both absolute and global.
124 * archive.c (bfd_special_undocumented_glue): Return NULL
125 if bfd_ar_hdr_from_filesystem returns NULL.
126
127Tue Nov 26 09:10:55 1991 Steve Chamberlain (sac at cygnus.com)
128
129 * Makefile.in: added coff-h8300
130 * configure.in: now h8 is a coff target
131 * cpu-h8300.c: fix various disassembly problems
132 * libcoff.h: took out some code which has been #0ed for a long
133 time.
134 * targets.c: added h8 coff
135 * coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c
136 added new macro RTYPE2HOWTO to take a load of #ifdefs out of
137 coffcode.h
138 * coffcode.h: Started to change the way machine dependencies are
139 handled, from the nest of #ifdefs to macros defined in the
140 including coff-<foo>.c
141
142Fri Nov 22 08:11:42 1991 John Gilmore (gnu at cygnus.com)
143
144 * aoutx.h (some_aout_object_p): Set the `executable' bit
145 if the entry point is contained in the text segment, even if the
146 text segment is at location 0.
147
148 * coff-mips.c, coffcode.h: Peter Schauer's patch to kludge in
149 nonstandard MIPS sections (.rdata, .sdata, etc).
150
151 * aoutx.h, bfd.c, coffcode.h, ieee.c, oasys.c, targets.c: CONST lint.
152 * libbfd-in.h, libbfd.h, aoutx.h, coffcode.h, elf.c, libaout.h:
153 Rename ALIGN to BFD_ALIGN to avoid conflict with BSD <sys/param.h>.
154 * libbfd.c: Lint.
155 * host-aout.c, trad-core.c: Fix write_armap prototypes. Lint.
156
157Thu Nov 21 19:56:40 1991 Per Bothner (bothner at cygnus.com)
158
159 * stab-syms.c, syms.c: Moved bfd_stab_name() and bfd_stab_names[]
160 from syms.c to new file stab-syms.c. Also, since GNU extended
161 type codes such as N_SETT are no longer in ../include/stab.def,
162 include them manually.
163 * stab-syms.c, aoutx.h: Renamed bfd_stab_name() and
164 bfd_stab_names[] to aout_stab_name() and aout_stab_names[].
165 * libaout.h: Added prototype for aout_stab_name().
166 * Makefile.in: Update Makefile for new stab-syms.[co].
167
168Thu Nov 21 11:50:49 1991 John Gilmore (gnu at cygnus.com)
169
170 * libaout.h (WORK_OUT_FILE_POSITIONS): One more try at this
171 rather complicated seeming problem. Eliminate LOGICAL_ versions,
172 just make N_XXX work by excluding the header from the text segment.
173 * aoutx.h: Fix comments to match.
174
175Tue Nov 19 18:49:01 1991 Per Bothner (bothner at cygnus.com)
176
177 * libaout.h (WORK_OUT_FILE_POSITIONS): Use new LOGICAL_TXTADDR,
178 LOGICAL_TXTOFF, LOGICAL_TXTSIZE macros to figure out numbers
179 for the "logical" text segment (i.e. never consider the exec
180 header to be part of the text segment). This change is
181 needed for consistency with various other parts of bfd and ld.
182 * aoutx.h (NAME(aout,soe_aout_object_p)): Fix comment,
183 and move calculation of obj_textsec(abfd)->size to libaout.h.
184 * bfd-in.h: Removed bogus ';'.
185
186 * Makefile.in: Add MINIMIZE flag to select lean
187 or bloated target_vector.
188 * targets.c: Use new MINIMIZE macro, and add trad_core if needed.
189 * newsos3.c: Fixes to ../include/aout64.h remove need
190 for special N_TXTOFF macro, but require N_HEADER_IN_TEXT.
191
192Mon Nov 18 12:00:59 1991 Per Bothner (bothner at cygnus.com)
193
194 * aout-target.h, aoutf1.h, newsos3.c: Make aout-target.h
195 handle both little and big-endian targets, with little
196 the default unless TARGET_IS_BIG_ENDIAN_P is defined.
197 * host-aout.c: Add FIXME note.
198
199Sun Nov 17 13:29:39 1991 Per Bothner (bothner at cygnus.com)
200
201 * targets.c: Make the default target_vector contain
202 just &DEFAULT_VECTOR. This makes executables a lot smaller.
203 Old behavior can be gotten by defining ALL_TARGETS.
204 * aoutf1.h, demo64.c, i386aout.c, newsos3.c, sunos.c:
205 Factored out common code into new file aout-target.h.
206 Saves a lot of duplicate code for a.out variants.
207
208Fri Nov 15 13:00:43 1991 Per Bothner (bothner at cygnus.com)
209
210 Get 'make headers' to work when configured with +subdirs.
211 * Makefile.in: Add $(subdir) to docdir path.
212 * doc/Makefile.in (protos): Add $(srcdir) prefix
213 to name of sed scripts.
214
215Thu Nov 14 19:49:10 1991 Per Bothner (bothner at cygnus.com)
216
217 * aoutx.h (NAME(aout,print_symbol)): Fix thinko.
218 * syms.c (bfd_stab_names): Turn on new GNU_EXTRA_STABS macro
219 to include names of N_SETT etc.
220
221Thu Nov 14 19:11:13 1991 Fred Fish (fnf at cygnus.com)
222
223 * elf.c: Add minimal support for ELF symbol tables. Generates
224 canonical bfd symbol tables from ELF symbol tables. Change the
225 name of some functions from bfd_<name> to elf_<name>.
226
227 * syms.c: Trivial fix to comment to remove a redundant "to".
228
229Wed Nov 13 17:02:01 1991 John Gilmore (gnu at cygnus.com)
230
231 * coff-{i386,m68k,m88k}.c: Change name of file format to standard
232 form that GDB recognizes as COFF.
233
234Wed Nov 13 09:09:41 1991 Steve Chamberlain (sac at cygnus.com)
235
236 * ieee.c (ieee_object_p): cast NULL correctly.
237 * configure.in: added harris host
238
239 * coff-a29k.c: Lots of changes, most from David Wood.
240
241Tue Nov 12 07:21:41 1991 John Gilmore (gnu at cygnus.com)
242
243 * coff-m88k.c (coff_write_armap): Just #undef it.
244
245Mon Nov 11 20:30:18 1991 Steve Chamberlain (sac at cygnus.com)
246
247 * Makefile.in: standardize on MINUS_G to disable debugging
248 * coff-m88k.c: create coff armaps instead of bsd ones.
249 * opncls.c (bfd_close_all_done), (bfd_close): Mask out random bits
250 when calling chmod.
251
252Mon Nov 11 19:07:32 1991 Fred Fish (fnf at cygnus.com)
253
254 * elf.c: Additions to support ELF format core files.
255 * config/mh-amix: Add -DHAVE_PROCFS to HDEFINES, since host
256 has support for /proc (all the include files in particular).
257
258Mon Nov 11 18:36:47 1991 Per Bothner (bothner at cygnus.com)
259
260 * aoutx.h (NAME(aout,find_nearest_line)): Handle the case
261 of two N_SO stabs, one for directory, and one for filename.
262
263 * bfd-in.h (print_vma): Factor out duplicate definition.
264
265 Exit a little more gracefully when malloc returns NULL.
266 * libbfd.c: New function bfd_xmalloc (malloc wrapper).
267 * opncls.c, syms.c, bout.c, aoutx.h: Replace malloc by bfd_xmalloc.
268 * libbfd.h: Rre-generated due to libbfd.c update.
269
270Sat Nov 9 13:45:01 1991 Fred Fish (fnf at cygnus.com)
271
272 * config/mt-m68k-elf: Define DEFAULT_VECTOR as elf_big_vec.
273
274 * elf.c (elf_object_p): Don't try to create a bfd section for
275 the first ELF section header. It is just a placeholder.
276
277Sat Nov 9 03:04:26 1991 John Gilmore (gnu at cygnus.com)
278
279 * coff-rs6000.c, config/mh-rs6000: Make it work on archive and
280 core files, when compiling native.
281 * hosts/h-rs6000.h: Define FASCIST_FDOPEN for bfd_fdopenr.
282
283 FIXME: The aoutf1.h change below needs to be reversed back
284 to the way it was.
285
286Thu Nov 7 11:03:55 1991 Steve Chamberlain (sac at rtl.cygnus.com)
287
288 * coffcode.h: Defined new macros [PUT|GET]LINENO_LNNO for
289 manipulation of lnno fields in lineno structs in a coff-<f>.h
290 independent way. Override it in coff-<f>.h to your favourite
291 number if you don't have a 16bit lnno field. (coff_swap_lineno_in)
292 (coff_swap_lineno_out): modified to use the new macros.
293
294Mon Nov 4 11:38:33 1991 Steve Chamberlain (sac at cygnus.com)
295
296 * aoutf1.h (sunos4_callback): Now defaults to 68020 rather than
297 unknown arch when the magic number doesn't specify the
298 architecture, since some OSs (eg old sun3s) don't set the number, and
299 020 is probably the right answer anyway.
300
301Sun Nov 3 12:07:08 1991 Per Bothner (bothner at cygnus.com)
302
303 * hosts/h-news.h, hosts/h-rtbsd.h:
304 Get rid of MISSING_VFPRINTF, since libiberty provides one.
305 * bfd-in.h (bfd_print_symbol_type_hopw enum): Add new option
306 bfd_print_symbol_nm, for use by nm.
307 * aoutx.h (NAME(aout,print_symbol)): Add code for new
308 bfd_print_symbol_nm option, to print in nm format.
309 * coffcode.h (coff_print_symbol), ieee.c (ieee_print_symbol)
310 oasys.c (oasys_print_symbol): Provide stub implementations
311 for bfd_print_symbol_nm.
312 * syms.c: New function bfd_decode_symclass, used by nm printer.
313 New function bfd_stab_name to look up string name of stab code.
314
315Sat Nov 2 14:26:03 1991 Steve Chamberlain (steve at cygnus.com)
316
317 * Makefile.in: Added ctor.c
318 * archures.c (bfd_default_arch_struct) added
319 bfd_default_reloc_type_lookup.
320 * coffcode.h: removed a load of #if 0ed code.
321 (coff_compute_file_section_positions): now works out the section
322 alignment and size correctly in all cases.
323 (coff_get_symtab): looks for constructor symbols and calls the
324 right function when they're found. (coff_canonicalize_reloc):
325 knows when a section is full of constructors and does the right
326 thing.
327 * cpu-m88k.c: Added default_reloc_type lookup to the architecture
328 description.
329 * libbfd-in.h: (bfd_default_reloc_type_lookup) defun added.
330 * libcoff.h: removed #if 0ed code
331 * reloc.c: (bfd_reloc_code_real_type) added BFD_RELOC_CTOR for
332 arch independent constructor relocation type.
333 (bfd_reloc_type_lookup): removed the comment "this will go away"
334 since it won't. (bfd_howto_32): stolen from 88k, this is a 32bit
335 reloc which is used when BFD_RELOC_CTOR falls through to give a
336 default 32bit reloc for constructors.
337 (bfd_default_reloc_type_lookup): added.
338 * aoutf1.h: fixed SEGMENT_SIZE typo.
339
340Thu Oct 31 18:23:06 1991 John Gilmore (gnu at cygnus.com)
341
342 * coff-rs6000.c: Change name to "aixcoff-rs6000", to avoid
343 matching prefix "coff".
344 * coffcode.h (coff_swap_aux_in, coff_swap_aux_out): Handle
345 rs/6000 csect records.
346
347Sun Oct 27 16:56:58 1991 Steve Chamberlain (steve at cygnus.com)
348
349 * coff-m88k.c, targets.c: change name of m88k_bcs to m88kbcs
350 * configure.in: add motorola delta88 cases
351 * libbfd.h, libbfd-in.h, archive.c, ieee.c, elf.c, srec.c: fix
352 write_armap prototype
353 * libbfd.c: add doc on bfd_write_bigendian_4byte_int
354
355Fri Oct 25 02:48:19 1991 John Gilmore (gnu at cygnus.com)
356
357 * Rename COFF-related files in `coff-ARCH.c' form.
358 coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
359 coff-mips.c, coff-rs6000.c to be exact.
360
361 * Makefile.in: Only supply TARGET_DEFAULTS to targets.c, reducing
362 make output clutter.
363 * config/mt-*: Ditto.
364
365Thu Oct 24 22:40:07 1991 John Gilmore (gnu at cygnus.com)
366