]> Git Repo - binutils.git/blame - bfd/ChangeLog
*** empty log message ***
[binutils.git] / bfd / ChangeLog
CommitLineData
5c12fcf5
JG
1Thu Mar 5 23:51:42 1992 John Gilmore (gnu at cygnus.com)
2
3 * coff-msym.c: Move this file from gdb/ecoff.c. It
4 handles byte-swapping for ECOFF (MIPS symbol) files.
5 * config/mh-decstation, config/mh-irix3: Add coff-msym.o
6 to the files built on MIPS-based hosts.
7
8Sun Mar 1 22:32:58 1992 Per Bothner ([email protected])
9
10 * coff-rs6000.c: Move core file functions into separate
11 new file rs6000-core.c. This is needed because reading
12 core files depends on native include files that conflict
13 with ../include/coff/rs6000.h.
14 * config/mh-rs6000: Add rs6000-core.o to HDEPFILES.
15
16Thu Feb 27 22:19:55 1992 Per Bothner ([email protected])
17
18 * aoutx.h (NAME(aout,print_symbol)): Don't print
19 symbol addresss for undefined symbols.
20 * coff-rs6000.c: Various updates (due to target-
21 independent changes).
22 * libbfd.h: Ditto (tdata field is now a union).
23 * hosts/h-sparc.h: Removed prototype for bogus function
24 'emset' (presumably should have been 'memset' - which is there).
25
6db82ea7
SC
26Thu Feb 27 09:24:56 1992 Steve Chamberlain (sac at thepub.cygnus.com)
27
28 * aoutx.h (translate_from_native_sym_flags): when creating an
29 alias symbol, fill in the section as undefined, rather than
e7b4046c
SC
30 leaving it blank. If an output section can't be found for a
31 symbol, then don't core dump.
6db82ea7 32
1d535e75
SC
33Wed Feb 26 19:40:59 1992 Steve Chamberlain (sac at thepub.cygnus.com)
34
35 * bfd.c: lint
36 * coff-h8300.c: fix stupid reloc subtraction bug
37 * coffcode.h (coff_swap_aux_out): only swap a tvndx by 2 bytes,
38 since that's how wide it is. (coff_slurp_symbol_table): always zero out
39 the symbol.flags and done_lineno fields.
40
41Tue Feb 25 14:29:24 1992 Steve Chamberlain (sac at rtl.cygnus.com)
42
43 * coffcode.h (coff_write_symbol): write out the correct number of
44 auxents.
45 * cpu-h8300.c: fix disassembly bug
46
47Fri Feb 21 21:39:56 1992 John Gilmore (gnu at cygnus.com)
48
49 * bfd-in.h (bfd_errmsg), coffcode.h (coff_swap_aux_in,
50 section_from_bfd_index), cpu-h8300.c (howto*_callback),
51 reloc.c, section.c (bfd_map_over_sections), targets.c
52 (bfd_target_list): Protolint.
53 * libbfd.h: Update to match a libbfd-in.h from a month ago.
54
d05511ca
SC
55Fri Feb 21 10:57:54 1992 Steve Chamberlain (sac at rtl.cygnus.com)
56
57 * coffcode.h (coff_swap_aux_in): lint, (coff_print_symbol): prints
58 out tagndx too.
59 * aoutx.h (swap_std_reloc_out, swap_ext_reloc_out): use the output
60 section of a symbol rather than the section of a reffed symbol to
61 determine the r_index of an emmitted reloc.
62
73afbe28
PB
63Thu Feb 20 18:10:34 1992 Per Bothner (bothner at cygnus.com)
64
65 * PORTING: New (preliminary) porting guide.
66
8b87cbae
JG
67Wed Feb 19 21:39:37 1992 John Gilmore (gnu at cygnus.com)
68
69 * bout.c (callj_callback), coff-a29k.c (a29k_reloc), coff-m88k.c
70 (howto_hvrt16): lint.
71
9832e16c
PB
72Mon Feb 17 12:02:17 1992 Per Bothner (bothner at cygnus.com)
73
74 * hp300bsd.c (new), config/mt-hp300bsd: Make hp300bsd
75 a full configuration (with possible cross-development),
76 instead of using host-aout.c.
77
adf441b9
PB
78Sun Feb 16 13:01:49 1992 Per Bothner (bothner at cygnus.com)
79
80 * aout-target.h (MY(write_object_contents):
81 Set obj_reloc_entry_size (abfd).
82 * gen-aout.c: Change to emit a .c files, not a .h file.
83
5b3fb530
FF
84Thu Feb 13 20:11:47 1992 Fred Fish (fnf at cygnus.com)
85
86 * elf.c (elf_slurp_symbol_table): Remove obsolete use of
87 BSF_ABSOLUTE and replace with bfd_abs_section reference.
88
a0f3f080
SC
89Thu Feb 13 17:22:44 1992 Steve Chamberlain (sac at rtl.cygnus.com)
90
91 * coffcode.h (get_normalized_symtab): fixed bug where symbols
92 with more than one auxent can cause nasty core dumps.
93
94 * coffcode.h, libcoff.c: added new fielded to coff_symbol_struct
95 "done_lineno" so that a symbol which appears twice in the symbol
96 table only gets it's linenumbers relocated once. Modifed
97 (coff_write_native_symbol) and (coff_make_empty_symbol) to make
98 use of it.
99
7e1131e1
SC
100Tue Feb 4 15:39:55 1992 Steve Chamberlain (sac at rtl.cygnus.com)
101
102 * aoutx.h: (translate_from_native_sym_flags): fix constructor
103 stuff to use the New Order.
104
eca85ebe
SG
105Fri Jan 31 01:34:45 1992 Stu Grossman (grossman at cygnus.com)
106
7e1131e1
SC
107 * ieee.c: Change type of envi[] to unsigned char.
108
109 * configure.in: fix vax ultrix configuration.
110
eca85ebe
SG
111 * elf.c (bfd_section_from_shdr): Deal with null return from
112 bfd_make_section(). (elf_object_p): Select endianess properly.
113
e702d26e
JG
114Fri Jan 31 01:19:55 1992 John Gilmore (gnu at cygnus.com)
115
116 * hosts/h-tahoe.h, h-vaxbsd.h: Fix stack in core files.
117
3863d64f
JG
118Thu Jan 30 23:51:07 1992 John Gilmore (gnu at cygnus.com)
119
120 * Makefile.in: host-aout.c doesn't depend on aout-params.h.
121 * aout-target.h: Use TARGET_BIG_ENDIAN_P to set up vector.
122 * host-aout.c: Don't use aout-params.h; configure these systems
123 in their xm files, not in a randomly generated file.
ab68b260
JG
124 * hosts/h-hp300bsd.h, h-tahoe.h, h-vaxbsd.h, h-vaxult.h:
125 Specify byte order.
126 * hosts/h-vaxbsd.h: Define the form of exec and core files.
3863d64f 127
ab43e4e3
PB
128Thu Jan 30 13:02:41 1992 Per Bothner (bothner at cygnus.com)
129
130 * config/mt-tahoe, config/mt-vax: Change DEFAULT_VECTOR to
131 host_aout_vec here as well.
132
fa8c88b2
SG
133Thu Jan 30 11:41:45 1992 Stu Grossman (grossman at cygnus.com)
134
135 * host-aout.c: Change TARGETNAME to "a.out" to be compatible with
136 gdb. config/mt-hp300bsd: Change DEFAULT_VECTOR to host_aout_vec
137 to prevent undefined symbol.
138
21a7f8b6
SC
139Thu Jan 30 07:26:53 1992 Steve Chamberlain (sac at rtl.cygnus.com)
140
141 Various lints found on PersSony
142 * aoutx.h: cast an enum
143 * coff-a29k.c: many ints in reloc structure turned to enum
144 * coffcode.h: more enums
145 * cpu-h8300.c: more enums
146 * opncls.c: more enums
147
d89b9f99
JG
148Thu Jan 30 01:19:56 1992 John Gilmore (gnu at cygnus.com)
149
150 * configure.in: Make Tahoe configuration work again.
151 * bfd-in.h: Remove trailing comma from enum declaration.
152 * ieee.c: Can't put byte values >0x7F into a signed char.
153
d01cd8fc
FF
154Tue Jan 28 21:10:51 1992 Fred Fish (fnf at cygnus.com)
155
156 * Makefile.in: Add dependencies for various coff-*.o files.
157
158 * elf.c: Remove extraneous paren from core_prpsinfo and
159 core_prpstatus macros, rename core_prpstatus to core_prstatus.
160 Replace references to old section "size" member with new
161 "_raw_size" member. Implement elf_make_empty_symbol, which
162 is now used.
163
164Tue Jan 28 14:51:40 1992 Stu Grossman (grossman at cygnus.com)
165
166 * trad-core.c, bfd.c, ../include/bfd.h: Various fixes for PMAX
167 core reading.
168
087eb652
SC
169Tue Jan 28 10:46:32 1992 Steve Chamberlain (sac at rtl.cygnus.com)
170
171 * coffcode.h (bfd_coff_relax_section): now static.
172 (bfd_coff_get_relocated_section_contents): various type lints.
173
6590a8c9
SC
174Mon Jan 27 19:44:08 1992 Steve Chamberlain (sac at rtl.cygnus.com)
175
176 New entry point in the transfer vector - bfd_relax_section.
177
178 * aout-target.h: add to vector, call generic_relax
179 * bfd-in.h: add to vector
180 * bfd.c: add #define for vector
181 * bout.c: add to vector, call generic_relax
182 * coffcode.h: add to vector, also now has coff specific relax code
183 for the relaxable H8/300 relocs. Also clean up abs section cruft.
184 * elf.c: call generic_relax
185 * ieee.c: call new vector, clean up some bugs due to the creation
186 of bfd_abs_section
187 * libbfd.h: add bfd_generic_relax_section EXFUN
188 * oasys.c: call generic_relax
189 * reloc.c: implement generic_relax
190 * seclet.c: moved much of this into coffcode.h
191 * srec.c: call generic_relax
192 * targets.c: define new transfer vector
193
e98e6ec1
SC
194Fri Jan 24 14:40:17 1992 Steve Chamberlain (sac at rtl.cygnus.com)
195
196 * everything: now modified to use smaller reloc type. Self hosts
197 on sun3 & sun4.
198
199Sat Jan 18 17:00:16 1992 Fred Fish (fnf at cygnus.com)
200
201 * config/mh-stratus, config/mt-i860-elf, hosts/h-stratus:
202 New files for stratus.
203
204 * configure.in: Add configuration fragments for stratus.
205
026fba8c
FF
206Wed Jan 15 10:02:43 1992 Fred Fish (fnf at cygnus.com)
207
208 * aoutx.h (NAME(aout,find_nearest_line)): Declare various filename
209 variables as CONST since they are set to point to a const char
210 string. Fixes compiler complaints.
211
f81059ea
FF
212Fri Jan 10 17:44:53 1992 Fred Fish (fnf at cygnus.com)
213
214 * hosts/h-amix.h hosts/h-i386v4.h: Change abort() to a function
215 returning void.
216
3f7607af
PB
217Fri Jan 10 14:33:32 1992 Per Bothner (bothner at cygnus.com)
218
219 * aoutx.h (NAME(aout,find_nearest_line)): Recognize N_SOL
220 symbols, so that we can emit the correct file name even
221 if it's an include file.
222
223Thu Jan 2 16:43:34 1992 John Gilmore (gnu at cygnus.com)
224
225 * coff-i960.c: Add COFF_SWAP_TABLE to little_vec as well as big_vec.
226 (Reported by [email protected] (John Carey)).
227
30bf2fd2
FF
228Wed Jan 1 04:23:06 1992 Fred Fish (fnf at cygnus.com)
229
230 * elf.c: Change all '#if HAVE_PROCFS' to '#ifdef HAVE_PROCFS'.
231
232 * config/mh-amix, config/mh-i386v4: Remove HDEFINES that was
233 being used to -DHAVE_PROCFS.
234
235 * hosts/h-amix, hosts/h-i386v4: Add '#define HAVE_PROCFS'. Move
236 '#include "fopen-same.h"' to end of file to match other h-* files.
237
2e80a748
FF
238Fri Dec 20 12:06:17 1991 Fred Fish (fnf at cygnus.com)
239
240 * configure.in: Change svr4 references to sysv4. Add case
241 "unknown" for target vendor and infer some targets based
242 on the specified operating system.
243
9c96a6bc
SG
244Wed Dec 18 17:17:59 1991 Stu Grossman (grossman at cygnus.com)
245
246 * bfd-in.h, libaout.h: ANSIfy enums.
247
56f5e005
SC
248Wed Dec 18 16:12:25 1991 Steve Chamberlain (sac at rtl.cygnus.com)
249
250 * archive.c (normalize): created version for VMS which removes the
251 VMS directory crap from the front and end of a filename, eg turn
252 [-.foo]bar.obj;123 into bar.obj
253 (bfd_construct_extended_name_table): now writes index into an
254 extended name table in decimal - the same base used to read an
255 extended name table.
256
257Wed Dec 18 14:40:39 1991 Per Bothner (bothner at cygnus.com)
258
259 * aout-encap.c: Fix to use aout-target.h.
260 * aoutf1.h: Use standard MY_object_p and MY_callback
261 in aout-target.h. Remove target-specific versions.
262 * host-aout.c: Re-write to use aout-target.h.
263 * gen-aout.c: New files use with host-aout.c to generate
264 host-specific a.out-related parameters.
265 * Makefile.in: host-aout.o depends on aout-params.h, which is
266 generated by gen-aout.
267 * aout-target.h: Make a little more flexible.
268 * libaout.h, aout-target.h: Removed WORK_OUT_FILE_POSTIONS
269 macro. Instead, inline it in aout-target.h.
270 * newsos3.c: Define N_SHARED_LIB(x) as 0 to avoid
271 a gcc -Wall warning.
272 * archive.c: Add missing commas in DEFUN macro (2 places).
273 * elf.c, coffcode.h, aoutf1.h: Use ANSI functions instead of
274 Berkeley ones, now that libiberty has them:
275 bcopy->memcpy, bzero->memset, bcmp->memcmp.
276 * aoutx.h: Various touch-ups: Re-formatting, fix a cast,
277 remove unused variable.
278
e83f3040
FF
279Tue Dec 17 19:48:59 1991 Fred Fish (fnf at cygnus.com)
280
281 * elf.c (elf_core_file_matches_executable_p): Enclose corename
282 and execname inside HAVE_PROCFS ifdef since they are unused
283 when it is not defined.
284
285Mon Dec 16 12:00:10 1991 Fred Fish (fnf at cygnus.com)
286
287 * elf.c: Flag all sections as either code or data. We can't
288 be sure what they are anyway, since ELF doesn't fit the
289 traditional model of text+data+bss very well. Add new local
290 function elf_read() to simplify code. Record entry point in
291 the bfd structure.
292
c0fcc207
JG
293Thu Dec 12 21:01:22 1991 John Gilmore (gnu at cygnus.com)
294
295 * hosts/h-*.h: Configure fopen using ../include/fopen-*.h
296 rather than N copies of the same lines.
297
b645b632
SC
298Wed Dec 11 16:39:45 1991 Steve Chamberlain (sac at rtl.cygnus.com)
299
05c6bf2f
SC
300 * cpu-h8300.c: disassemble branch displacements correctly
301 * coff-h8300.c: put reloc offsets out in 32bits
302
b645b632 303 * makefile.dos, configdj.bat: New files from DJ
b4e24250 304 * cache.c: fopen with new macros is needed for DOS.
b645b632
SC
305 * ieee.c: environ renamed to envi to stop an include file
306 conflict.
b4e24250 307 * opncls.c, coff-rs6000.c: more fopens with macros.
b645b632 308
b645b632
SC
309Tue Dec 10 04:07:24 1991 K. Richard Pixley (rich at rtl.cygnus.com)
310
311 * Makefile.in: infodir belongs in datadir.
312
313Sat Dec 7 16:39:23 1991 Steve Chamberlain (sac at rtl.cygnus.com)
314
315 * Makefile.in: fix where docdir lives
316
317 * aoutx.h, archive.c, archures.c, bfd.c, cache.c, coff-m88k.c,
318 coffcode.h, core.c, ctor.c, elf.c, format.c, ieee.c, init.c,
319 libbfd.c, libbfd.h, libcoff.h, opncls.c, reloc.c, section.c,
320 srec.c, syms.c, targets.c : all new documentation and lint
321 removal.
322
323
2daa9426 324Sat Dec 7 07:22:09 1991 John Gilmore (gnu at cygnus.com)
fde8212e 325
2daa9426 326 * coffcode.h, srec.c: Lint.
fde8212e 327
0713e323
JG
328Fri Dec 6 22:58:48 1991 K. Richard Pixley (rich at rtl.cygnus.com)
329
330 * Makefile.in: install using INSTALL_DATA, added standards.text
331 support.
332
333 * configure.in: mark directory as target dependent. configure
334 nows works in objdir always so make file existence checks
335 against ${srcdir}.
336
337Thu Dec 5 22:46:19 1991 K. Richard Pixley (rich at rtl.cygnus.com)
338
339 * Makefile.in: idestdir and ddestdir go away. Added copyrights
340 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
341 and mandir now keyed off datadir by default.
342
fde8212e 343Wed Dec 4 10:14:17 1991 Steve Chamberlain (sac at rtl.cygnus.com)
2daa9426 344
fde8212e
RP
345 * aoutf1.h (sunos_<size>_object_p, sunos4_callback): moved the
346 computation of arch and machine type so it's worked out before
347 some_aout_object_p is called.
348 * aoutx.h: (some_aout_object_p): don't set arch and mach to
349 unknown.
350 * archures.c: add extra field 'section_align_power' to hold
351 default section alignment in object files.
352 * cpu-a29k.c, cpu-h8300.c, cpu-i386.c, cpu-i960.c, cpu-m68k.c,
353 cpu-m88k.c, cpu-mips.c, cpu-rs6000.c, cpu-sparc.c, cpu-vax.c:
354 initialize the new field.
355 * bout.c (b_out_callback): replace the text size, since aout
4e41b5aa
SC
356 fries them.
357 * aoutx.h: Documentation in the new style
358
40985bbf
JG
359Wed Dec 4 02:00:30 1991 John Gilmore (gnu at cygnus.com)
360
361 * bfd.c (bfd_get_mtime): Don't cache mtime any more; only
362 use the saved value if mtime_set is already set (intended
363 for archive files, though apparently not used yet).
364
01a8219f
JG
365Tue Dec 3 22:54:50 1991 John Gilmore (gnu at cygnus.com)
366
367 * targets.c: Revise comments about how to configure the target
368 vector, to match reality. Remove mention of obsolete methods.
369 Remove long lists of capitalized macros that turn into the same
370 thing in lowercase. Normal vector simply lists all known
371 lowercase xvec names; all other cases are handled by SELECT_VECS.
372
373 * config/mt-i386-coff: Set DEFAULT_VECTOR to real identifier,
374 not macro name.
375
376 * config/mt-i960-{coff,bout}: Use SELECT_VECS to make a short
377 list of supported targets.
378
7a5f9962
PB
379Tue Dec 3 14:06:15 1991 Per Bothner (bothner at cygnus.com)
380
381 * archive.c (bsd_write_armap): The pad byte sometimes added to
382 the string table in a __.SYMDEF member is now
383 counted as part of the size of the string table.
384 This is compatible with the old ranlib, as well as Sun's.
385
706e58f1
SC
386Tue Dec 3 10:53:30 1991 Steve Chamberlain (sac at rtl.cygnus.com)
387
388 * srec.c: Rewrote to fix many bugs; now gets the record type
389 right, doesn't choke on input, sets the start address in an S9 and
390 fills in the filename on an S0.
391
c3eb25fc
SC
392Sat Nov 30 21:19:15 1991 Steve Chamberlain (sac at rtl.cygnus.com)
393
0d4b8e3f
SC
394 * cpu-h8300.c: Add support for MEMIND addressing mode
395
6cba8f4b
SC
396 * coff-a29k.c: defined RELOC_PROCESSING to take the #ifdef out of
397 coffcode.h
398 * coffcode.h: use the new macro if available
399
dff5e602
SC
400 * elf.c (elf_corefile_note): cast malloc to avoid warning.
401 * Makefile.in: Fixed dependencies due to file rename
402
c3eb25fc
SC
403 * aout-encap.c, aoutf1.h, aoutx.h, archive.c, bout.c, coff-a29k.c,
404 coff-h8300.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
405 coff-mips.c, coff-rs6000.c, cpu-h300.c, elf.c, i386aout.c,
406 newos3.c, stab-syms.c, syms.c: All these files have had their
407 #includes altered to point to the new places.
408
eb8983c9
FF
409Fri Nov 29 20:04:49 1991 Fred Fish (fnf at cygnus.com)
410
411 * config/mh-i386v4, config/mh-i386-elf, hosts/h-i386v4.h: New files.
412
413 * configure.in: Add vendor "ncr" as supported per-target vendor.
414 Add svr4 case for i386 per-host case.
415
416 * elf.c (elf_object_p, elf_core_file_p): Add missing "break" to
417 ELFDATA2LSB cases.
418
37217060
PB
419Fri Nov 29 12:16:51 1991 Per Bothner (bothner at cygnus.com)
420
421 * syms.c (bfd_decode_symclass): Return 'A'
422 for symbols that are both absolute and global.
423 * archive.c (bfd_special_undocumented_glue): Return NULL
424 if bfd_ar_hdr_from_filesystem returns NULL.
425
3b4f1a5d
SC
426Tue Nov 26 09:10:55 1991 Steve Chamberlain (sac at cygnus.com)
427
428 * Makefile.in: added coff-h8300
429 * configure.in: now h8 is a coff target
430 * cpu-h8300.c: fix various disassembly problems
431 * libcoff.h: took out some code which has been #0ed for a long
432 time.
433 * targets.c: added h8 coff
434 * coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c
435 added new macro RTYPE2HOWTO to take a load of #ifdefs out of
436 coffcode.h
437 * coffcode.h: Started to change the way machine dependencies are
438 handled, from the nest of #ifdefs to macros defined in the
439 including coff-<foo>.c
440
f39eae7b
JG
441Fri Nov 22 08:11:42 1991 John Gilmore (gnu at cygnus.com)
442
e6e265ce
JG
443 * aoutx.h (some_aout_object_p): Set the `executable' bit
444 if the entry point is contained in the text segment, even if the
445 text segment is at location 0.
446
853f0a70
JG
447 * coff-mips.c, coffcode.h: Peter Schauer's patch to kludge in
448 nonstandard MIPS sections (.rdata, .sdata, etc).
449
f8adc62d 450 * aoutx.h, bfd.c, coffcode.h, ieee.c, oasys.c, targets.c: CONST lint.
8c4a1ace
JG
451 * libbfd-in.h, libbfd.h, aoutx.h, coffcode.h, elf.c, libaout.h:
452 Rename ALIGN to BFD_ALIGN to avoid conflict with BSD <sys/param.h>.
1e310759 453 * libbfd.c: Lint.
f39eae7b
JG
454 * host-aout.c, trad-core.c: Fix write_armap prototypes. Lint.
455
7de245d3
PB
456Thu Nov 21 19:56:40 1991 Per Bothner (bothner at cygnus.com)
457
458 * stab-syms.c, syms.c: Moved bfd_stab_name() and bfd_stab_names[]
459 from syms.c to new file stab-syms.c. Also, since GNU extended
460 type codes such as N_SETT are no longer in ../include/stab.def,
461 include them manually.
462 * stab-syms.c, aoutx.h: Renamed bfd_stab_name() and
463 bfd_stab_names[] to aout_stab_name() and aout_stab_names[].
464 * libaout.h: Added prototype for aout_stab_name().
465 * Makefile.in: Update Makefile for new stab-syms.[co].
466
98d43107
JG
467Thu Nov 21 11:50:49 1991 John Gilmore (gnu at cygnus.com)
468
469 * libaout.h (WORK_OUT_FILE_POSITIONS): One more try at this
470 rather complicated seeming problem. Eliminate LOGICAL_ versions,
471 just make N_XXX work by excluding the header from the text segment.
472 * aoutx.h: Fix comments to match.
473
474Tue Nov 19 18:49:01 1991 Per Bothner (bothner at cygnus.com)
475
476 * libaout.h (WORK_OUT_FILE_POSITIONS): Use new LOGICAL_TXTADDR,
477 LOGICAL_TXTOFF, LOGICAL_TXTSIZE macros to figure out numbers
478 for the "logical" text segment (i.e. never consider the exec
479 header to be part of the text segment). This change is
480 needed for consistency with various other parts of bfd and ld.
481 * aoutx.h (NAME(aout,soe_aout_object_p)): Fix comment,
482 and move calculation of obj_textsec(abfd)->size to libaout.h.
483 * bfd-in.h: Removed bogus ';'.
484
485 * Makefile.in: Add MINIMIZE flag to select lean
486 or bloated target_vector.
487 * targets.c: Use new MINIMIZE macro, and add trad_core if needed.
488 * newsos3.c: Fixes to ../include/aout64.h remove need
489 for special N_TXTOFF macro, but require N_HEADER_IN_TEXT.
490
491Mon Nov 18 12:00:59 1991 Per Bothner (bothner at cygnus.com)
492
493 * aout-target.h, aoutf1.h, newsos3.c: Make aout-target.h
494 handle both little and big-endian targets, with little
495 the default unless TARGET_IS_BIG_ENDIAN_P is defined.
496 * host-aout.c: Add FIXME note.
497
498Sun Nov 17 13:29:39 1991 Per Bothner (bothner at cygnus.com)
499
500 * targets.c: Make the default target_vector contain
501 just &DEFAULT_VECTOR. This makes executables a lot smaller.
502 Old behavior can be gotten by defining ALL_TARGETS.
503 * aoutf1.h, demo64.c, i386aout.c, newsos3.c, sunos.c:
504 Factored out common code into new file aout-target.h.
505 Saves a lot of duplicate code for a.out variants.
506
507Fri Nov 15 13:00:43 1991 Per Bothner (bothner at cygnus.com)
508
509 Get 'make headers' to work when configured with +subdirs.
510 * Makefile.in: Add $(subdir) to docdir path.
511 * doc/Makefile.in (protos): Add $(srcdir) prefix
512 to name of sed scripts.
513
c9f19dac
PB
514Thu Nov 14 19:49:10 1991 Per Bothner (bothner at cygnus.com)
515
516 * aoutx.h (NAME(aout,print_symbol)): Fix thinko.
517 * syms.c (bfd_stab_names): Turn on new GNU_EXTRA_STABS macro
518 to include names of N_SETT etc.
519
7d68537f
FF
520Thu Nov 14 19:11:13 1991 Fred Fish (fnf at cygnus.com)
521
58df00e9
FF
522 * elf.c: Add minimal support for ELF symbol tables. Generates
523 canonical bfd symbol tables from ELF symbol tables. Change the
524 name of some functions from bfd_<name> to elf_<name>.
525
7d68537f
FF
526 * syms.c: Trivial fix to comment to remove a redundant "to".
527
528Wed Nov 13 17:02:01 1991 John Gilmore (gnu at cygnus.com)
529
530 * coff-{i386,m68k,m88k}.c: Change name of file format to standard
531 form that GDB recognizes as COFF.
532
6ea296a6
SC
533Wed Nov 13 09:09:41 1991 Steve Chamberlain (sac at cygnus.com)
534
7d68537f 535 * ieee.c (ieee_object_p): cast NULL correctly.
56b10d6d
SC
536 * configure.in: added harris host
537
6ea296a6
SC
538 * coff-a29k.c: Lots of changes, most from David Wood.
539
5685fb50
JG
540Tue Nov 12 07:21:41 1991 John Gilmore (gnu at cygnus.com)
541
542 * coff-m88k.c (coff_write_armap): Just #undef it.
543
080f6324
SC
544Mon Nov 11 20:30:18 1991 Steve Chamberlain (sac at cygnus.com)
545
546 * Makefile.in: standardize on MINUS_G to disable debugging
547 * coff-m88k.c: create coff armaps instead of bsd ones.
548 * opncls.c (bfd_close_all_done), (bfd_close): Mask out random bits
549 when calling chmod.
550
4807bcf9
FF
551Mon Nov 11 19:07:32 1991 Fred Fish (fnf at cygnus.com)
552
553 * elf.c: Additions to support ELF format core files.
554 * config/mh-amix: Add -DHAVE_PROCFS to HDEFINES, since host
555 has support for /proc (all the include files in particular).
556
ff7ce170
PB
557Mon Nov 11 18:36:47 1991 Per Bothner (bothner at cygnus.com)
558
559 * aoutx.h (NAME(aout,find_nearest_line)): Handle the case
560 of two N_SO stabs, one for directory, and one for filename.
561
562 * bfd-in.h (print_vma): Factor out duplicate definition.
563
564 Exit a little more gracefully when malloc returns NULL.
565 * libbfd.c: New function bfd_xmalloc (malloc wrapper).
566 * opncls.c, syms.c, bout.c, aoutx.h: Replace malloc by bfd_xmalloc.
567 * libbfd.h: Rre-generated due to libbfd.c update.
568
a6c1d731
FF
569Sat Nov 9 13:45:01 1991 Fred Fish (fnf at cygnus.com)
570
f135f137
FF
571 * config/mt-m68k-elf: Define DEFAULT_VECTOR as elf_big_vec.
572
a6c1d731
FF
573 * elf.c (elf_object_p): Don't try to create a bfd section for
574 the first ELF section header. It is just a placeholder.
575
285dbe19
JG
576Sat Nov 9 03:04:26 1991 John Gilmore (gnu at cygnus.com)
577
578 * coff-rs6000.c, config/mh-rs6000: Make it work on archive and
579 core files, when compiling native.
580 * hosts/h-rs6000.h: Define FASCIST_FDOPEN for bfd_fdopenr.
581
582 FIXME: The aoutf1.h change below needs to be reversed back
583 to the way it was.
584
85e0c721
SC
585Thu Nov 7 11:03:55 1991 Steve Chamberlain (sac at rtl.cygnus.com)
586
587 * coffcode.h: Defined new macros [PUT|GET]LINENO_LNNO for
588 manipulation of lnno fields in lineno structs in a coff-<f>.h
589 independent way. Override it in coff-<f>.h to your favourite
590 number if you don't have a 16bit lnno field. (coff_swap_lineno_in)
591 (coff_swap_lineno_out): modified to use the new macros.
592
593Mon Nov 4 11:38:33 1991 Steve Chamberlain (sac at cygnus.com)
594
595 * aoutf1.h (sunos4_callback): Now defaults to 68020 rather than
596 unknown arch when the magic number doesn't specify the
597 architecture, since some OSs (eg old sun3s) don't set the number, and
598 020 is probably the right answer anyway.
599
e18e24af
PB
600Sun Nov 3 12:07:08 1991 Per Bothner (bothner at cygnus.com)
601
602 * hosts/h-news.h, hosts/h-rtbsd.h:
603 Get rid of MISSING_VFPRINTF, since libiberty provides one.
604 * bfd-in.h (bfd_print_symbol_type_hopw enum): Add new option
605 bfd_print_symbol_nm, for use by nm.
606 * aoutx.h (NAME(aout,print_symbol)): Add code for new
607 bfd_print_symbol_nm option, to print in nm format.
608 * coffcode.h (coff_print_symbol), ieee.c (ieee_print_symbol)
609 oasys.c (oasys_print_symbol): Provide stub implementations
610 for bfd_print_symbol_nm.
611 * syms.c: New function bfd_decode_symclass, used by nm printer.
612 New function bfd_stab_name to look up string name of stab code.
613
522e0ead
SC
614Sat Nov 2 14:26:03 1991 Steve Chamberlain (steve at cygnus.com)
615
616 * Makefile.in: Added ctor.c
617 * archures.c (bfd_default_arch_struct) added
618 bfd_default_reloc_type_lookup.
619 * coffcode.h: removed a load of #if 0ed code.
620 (coff_compute_file_section_positions): now works out the section
621 alignment and size correctly in all cases.
285dbe19 622 (coff_get_symtab): looks for constructor symbols and calls the
522e0ead 623 right function when they're found. (coff_canonicalize_reloc):
285dbe19 624 knows when a section is full of constructors and does the right
522e0ead
SC
625 thing.
626 * cpu-m88k.c: Added default_reloc_type lookup to the architecture
627 description.
628 * libbfd-in.h: (bfd_default_reloc_type_lookup) defun added.
629 * libcoff.h: removed #if 0ed code
630 * reloc.c: (bfd_reloc_code_real_type) added BFD_RELOC_CTOR for
285dbe19 631 arch independent constructor relocation type.
522e0ead
SC
632 (bfd_reloc_type_lookup): removed the comment "this will go away"
633 since it won't. (bfd_howto_32): stolen from 88k, this is a 32bit
634 reloc which is used when BFD_RELOC_CTOR falls through to give a
285dbe19 635 default 32bit reloc for constructors.
522e0ead
SC
636 (bfd_default_reloc_type_lookup): added.
637 * aoutf1.h: fixed SEGMENT_SIZE typo.
638
6d7c88c3
JG
639Thu Oct 31 18:23:06 1991 John Gilmore (gnu at cygnus.com)
640
641 * coff-rs6000.c: Change name to "aixcoff-rs6000", to avoid
642 matching prefix "coff".
643 * coffcode.h (coff_swap_aux_in, coff_swap_aux_out): Handle
644 rs/6000 csect records.
645
01dd1b2b
SC
646Sun Oct 27 16:56:58 1991 Steve Chamberlain (steve at cygnus.com)
647
da6745fd 648 * coff-m88k.c, targets.c: change name of m88k_bcs to m88kbcs
01dd1b2b
SC
649 * configure.in: add motorola delta88 cases
650 * libbfd.h, libbfd-in.h, archive.c, ieee.c, elf.c, srec.c: fix
651 write_armap prototype
652 * libbfd.c: add doc on bfd_write_bigendian_4byte_int
653
156e3852
JG
654Fri Oct 25 02:48:19 1991 John Gilmore (gnu at cygnus.com)
655
656 * Rename COFF-related files in `coff-ARCH.c' form.
657 coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
658 coff-mips.c, coff-rs6000.c to be exact.
659
660 * Makefile.in: Only supply TARGET_DEFAULTS to targets.c, reducing
661 make output clutter.
662 * config/mt-*: Ditto.
663
cbdc7909
JG
664Thu Oct 24 22:40:07 1991 John Gilmore (gnu at cygnus.com)
665
666