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