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