Lint
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
f39eae7b
JG
1Fri Nov 22 08:11:42 1991 John Gilmore (gnu at cygnus.com)
2
3 * host-aout.c, trad-core.c: Fix write_armap prototypes. Lint.
4
7de245d3
PB
5Thu Nov 21 19:56:40 1991 Per Bothner (bothner at cygnus.com)
6
7 * stab-syms.c, syms.c: Moved bfd_stab_name() and bfd_stab_names[]
8 from syms.c to new file stab-syms.c. Also, since GNU extended
9 type codes such as N_SETT are no longer in ../include/stab.def,
10 include them manually.
11 * stab-syms.c, aoutx.h: Renamed bfd_stab_name() and
12 bfd_stab_names[] to aout_stab_name() and aout_stab_names[].
13 * libaout.h: Added prototype for aout_stab_name().
14 * Makefile.in: Update Makefile for new stab-syms.[co].
15
98d43107
JG
16Thu Nov 21 11:50:49 1991 John Gilmore (gnu at cygnus.com)
17
18 * libaout.h (WORK_OUT_FILE_POSITIONS): One more try at this
19 rather complicated seeming problem. Eliminate LOGICAL_ versions,
20 just make N_XXX work by excluding the header from the text segment.
21 * aoutx.h: Fix comments to match.
22
23Tue Nov 19 18:49:01 1991 Per Bothner (bothner at cygnus.com)
24
25 * libaout.h (WORK_OUT_FILE_POSITIONS): Use new LOGICAL_TXTADDR,
26 LOGICAL_TXTOFF, LOGICAL_TXTSIZE macros to figure out numbers
27 for the "logical" text segment (i.e. never consider the exec
28 header to be part of the text segment). This change is
29 needed for consistency with various other parts of bfd and ld.
30 * aoutx.h (NAME(aout,soe_aout_object_p)): Fix comment,
31 and move calculation of obj_textsec(abfd)->size to libaout.h.
32 * bfd-in.h: Removed bogus ';'.
33
34 * Makefile.in: Add MINIMIZE flag to select lean
35 or bloated target_vector.
36 * targets.c: Use new MINIMIZE macro, and add trad_core if needed.
37 * newsos3.c: Fixes to ../include/aout64.h remove need
38 for special N_TXTOFF macro, but require N_HEADER_IN_TEXT.
39
40Mon Nov 18 12:00:59 1991 Per Bothner (bothner at cygnus.com)
41
42 * aout-target.h, aoutf1.h, newsos3.c: Make aout-target.h
43 handle both little and big-endian targets, with little
44 the default unless TARGET_IS_BIG_ENDIAN_P is defined.
45 * host-aout.c: Add FIXME note.
46
47Sun Nov 17 13:29:39 1991 Per Bothner (bothner at cygnus.com)
48
49 * targets.c: Make the default target_vector contain
50 just &DEFAULT_VECTOR. This makes executables a lot smaller.
51 Old behavior can be gotten by defining ALL_TARGETS.
52 * aoutf1.h, demo64.c, i386aout.c, newsos3.c, sunos.c:
53 Factored out common code into new file aout-target.h.
54 Saves a lot of duplicate code for a.out variants.
55
56Fri Nov 15 13:00:43 1991 Per Bothner (bothner at cygnus.com)
57
58 Get 'make headers' to work when configured with +subdirs.
59 * Makefile.in: Add $(subdir) to docdir path.
60 * doc/Makefile.in (protos): Add $(srcdir) prefix
61 to name of sed scripts.
62
c9f19dac
PB
63Thu Nov 14 19:49:10 1991 Per Bothner (bothner at cygnus.com)
64
65 * aoutx.h (NAME(aout,print_symbol)): Fix thinko.
66 * syms.c (bfd_stab_names): Turn on new GNU_EXTRA_STABS macro
67 to include names of N_SETT etc.
68
7d68537f
FF
69Thu Nov 14 19:11:13 1991 Fred Fish (fnf at cygnus.com)
70
58df00e9
FF
71 * elf.c: Add minimal support for ELF symbol tables. Generates
72 canonical bfd symbol tables from ELF symbol tables. Change the
73 name of some functions from bfd_<name> to elf_<name>.
74
7d68537f
FF
75 * syms.c: Trivial fix to comment to remove a redundant "to".
76
77Wed Nov 13 17:02:01 1991 John Gilmore (gnu at cygnus.com)
78
79 * coff-{i386,m68k,m88k}.c: Change name of file format to standard
80 form that GDB recognizes as COFF.
81
6ea296a6
SC
82Wed Nov 13 09:09:41 1991 Steve Chamberlain (sac at cygnus.com)
83
7d68537f 84 * ieee.c (ieee_object_p): cast NULL correctly.
56b10d6d
SC
85 * configure.in: added harris host
86
6ea296a6
SC
87 * coff-a29k.c: Lots of changes, most from David Wood.
88
5685fb50
JG
89Tue Nov 12 07:21:41 1991 John Gilmore (gnu at cygnus.com)
90
91 * coff-m88k.c (coff_write_armap): Just #undef it.
92
080f6324
SC
93Mon Nov 11 20:30:18 1991 Steve Chamberlain (sac at cygnus.com)
94
95 * Makefile.in: standardize on MINUS_G to disable debugging
96 * coff-m88k.c: create coff armaps instead of bsd ones.
97 * opncls.c (bfd_close_all_done), (bfd_close): Mask out random bits
98 when calling chmod.
99
4807bcf9
FF
100Mon Nov 11 19:07:32 1991 Fred Fish (fnf at cygnus.com)
101
102 * elf.c: Additions to support ELF format core files.
103 * config/mh-amix: Add -DHAVE_PROCFS to HDEFINES, since host
104 has support for /proc (all the include files in particular).
105
ff7ce170
PB
106Mon Nov 11 18:36:47 1991 Per Bothner (bothner at cygnus.com)
107
108 * aoutx.h (NAME(aout,find_nearest_line)): Handle the case
109 of two N_SO stabs, one for directory, and one for filename.
110
111 * bfd-in.h (print_vma): Factor out duplicate definition.
112
113 Exit a little more gracefully when malloc returns NULL.
114 * libbfd.c: New function bfd_xmalloc (malloc wrapper).
115 * opncls.c, syms.c, bout.c, aoutx.h: Replace malloc by bfd_xmalloc.
116 * libbfd.h: Rre-generated due to libbfd.c update.
117
a6c1d731
FF
118Sat Nov 9 13:45:01 1991 Fred Fish (fnf at cygnus.com)
119
f135f137
FF
120 * config/mt-m68k-elf: Define DEFAULT_VECTOR as elf_big_vec.
121
a6c1d731
FF
122 * elf.c (elf_object_p): Don't try to create a bfd section for
123 the first ELF section header. It is just a placeholder.
124
285dbe19
JG
125Sat Nov 9 03:04:26 1991 John Gilmore (gnu at cygnus.com)
126
127 * coff-rs6000.c, config/mh-rs6000: Make it work on archive and
128 core files, when compiling native.
129 * hosts/h-rs6000.h: Define FASCIST_FDOPEN for bfd_fdopenr.
130
131 FIXME: The aoutf1.h change below needs to be reversed back
132 to the way it was.
133
85e0c721
SC
134Thu Nov 7 11:03:55 1991 Steve Chamberlain (sac at rtl.cygnus.com)
135
136 * coffcode.h: Defined new macros [PUT|GET]LINENO_LNNO for
137 manipulation of lnno fields in lineno structs in a coff-<f>.h
138 independent way. Override it in coff-<f>.h to your favourite
139 number if you don't have a 16bit lnno field. (coff_swap_lineno_in)
140 (coff_swap_lineno_out): modified to use the new macros.
141
142Mon Nov 4 11:38:33 1991 Steve Chamberlain (sac at cygnus.com)
143
144 * aoutf1.h (sunos4_callback): Now defaults to 68020 rather than
145 unknown arch when the magic number doesn't specify the
146 architecture, since some OSs (eg old sun3s) don't set the number, and
147 020 is probably the right answer anyway.
148
e18e24af
PB
149Sun Nov 3 12:07:08 1991 Per Bothner (bothner at cygnus.com)
150
151 * hosts/h-news.h, hosts/h-rtbsd.h:
152 Get rid of MISSING_VFPRINTF, since libiberty provides one.
153 * bfd-in.h (bfd_print_symbol_type_hopw enum): Add new option
154 bfd_print_symbol_nm, for use by nm.
155 * aoutx.h (NAME(aout,print_symbol)): Add code for new
156 bfd_print_symbol_nm option, to print in nm format.
157 * coffcode.h (coff_print_symbol), ieee.c (ieee_print_symbol)
158 oasys.c (oasys_print_symbol): Provide stub implementations
159 for bfd_print_symbol_nm.
160 * syms.c: New function bfd_decode_symclass, used by nm printer.
161 New function bfd_stab_name to look up string name of stab code.
162
522e0ead
SC
163Sat Nov 2 14:26:03 1991 Steve Chamberlain (steve at cygnus.com)
164
165 * Makefile.in: Added ctor.c
166 * archures.c (bfd_default_arch_struct) added
167 bfd_default_reloc_type_lookup.
168 * coffcode.h: removed a load of #if 0ed code.
169 (coff_compute_file_section_positions): now works out the section
170 alignment and size correctly in all cases.
285dbe19 171 (coff_get_symtab): looks for constructor symbols and calls the
522e0ead 172 right function when they're found. (coff_canonicalize_reloc):
285dbe19 173 knows when a section is full of constructors and does the right
522e0ead
SC
174 thing.
175 * cpu-m88k.c: Added default_reloc_type lookup to the architecture
176 description.
177 * libbfd-in.h: (bfd_default_reloc_type_lookup) defun added.
178 * libcoff.h: removed #if 0ed code
179 * reloc.c: (bfd_reloc_code_real_type) added BFD_RELOC_CTOR for
285dbe19 180 arch independent constructor relocation type.
522e0ead
SC
181 (bfd_reloc_type_lookup): removed the comment "this will go away"
182 since it won't. (bfd_howto_32): stolen from 88k, this is a 32bit
183 reloc which is used when BFD_RELOC_CTOR falls through to give a
285dbe19 184 default 32bit reloc for constructors.
522e0ead
SC
185 (bfd_default_reloc_type_lookup): added.
186 * aoutf1.h: fixed SEGMENT_SIZE typo.
187
6d7c88c3
JG
188Thu Oct 31 18:23:06 1991 John Gilmore (gnu at cygnus.com)
189
190 * coff-rs6000.c: Change name to "aixcoff-rs6000", to avoid
191 matching prefix "coff".
192 * coffcode.h (coff_swap_aux_in, coff_swap_aux_out): Handle
193 rs/6000 csect records.
194
01dd1b2b
SC
195Sun Oct 27 16:56:58 1991 Steve Chamberlain (steve at cygnus.com)
196
da6745fd 197 * coff-m88k.c, targets.c: change name of m88k_bcs to m88kbcs
01dd1b2b
SC
198 * configure.in: add motorola delta88 cases
199 * libbfd.h, libbfd-in.h, archive.c, ieee.c, elf.c, srec.c: fix
200 write_armap prototype
201 * libbfd.c: add doc on bfd_write_bigendian_4byte_int
202
156e3852
JG
203Fri Oct 25 02:48:19 1991 John Gilmore (gnu at cygnus.com)
204
205 * Rename COFF-related files in `coff-ARCH.c' form.
206 coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
207 coff-mips.c, coff-rs6000.c to be exact.
208
209 * Makefile.in: Only supply TARGET_DEFAULTS to targets.c, reducing
210 make output clutter.
211 * config/mt-*: Ditto.
212
cbdc7909
JG
213Thu Oct 24 22:40:07 1991 John Gilmore (gnu at cygnus.com)
214