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