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