0216443a517d8f8968a56e45e106899099fbb370
[binutils-gdb.git] / gas / ChangeLog
1 Fri Aug 21 14:38:44 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
2
3 * messages.c (as_warn): Use fputs, not fprintf, with a buffer that
4 has already been formatted (but may still contain %-characters).
5 (as_bad): Likewise.
6
7 Wed Aug 19 09:25:09 1992 Ken Raeburn (raeburn@cygnus.com)
8
9 * as.h (enum _relax_state): Start off at one, not zero, to better
10 catch uninitialized-variable errors.
11 (linkrelax): Declare new variable.
12
13 * messages.c (warning_count, error_count): Default initializer is
14 sufficient.
15
16 * write.c: Merged some declarations, using PARMS macro.
17 (text_frag_root, data_frag_root, bss_frag_root, text_last_frag,
18 data_last_frag): No longer static.
19 (write_object_file, case rs_align or rs_org): If HANDLE_ALIGN is
20 defined, call it. Change segments before calling fixup_segment.
21 (relax_align): If linkrelax, provide extra padding.
22
23 * obj-bout.c (obj_emit_relocations): Emit alignment relocs despite
24 their not having symbols associated.
25
26 * tc-i960.c (norelax, instrument_branches): Default initializer is
27 sufficient.
28 (linkrelax): Delete variable definition.
29 (mem_fmt): Call fix_new with NO_RELOC.
30 (tc_bout_fix_to_chars): Handle alignment relocs.
31 (i960_handle_align): New function.
32 * tc-i960.h (linkrelax): Delete declaration.
33 (HANDLE_ALIGN): New macro; calls i960_handle_align.
34 (NEED_FX_R_TYPE, NO_RELOC): New macros.
35
36 Tue Aug 18 14:59:21 1992 Ken Raeburn (raeburn@cygnus.com)
37
38 * config/sparc.mt: New file. Grab sparc opcode table from bfd
39 library.
40
41 Tue Aug 18 14:16:38 1992 Ian Lance Taylor (ian@cygnus.com)
42
43 * Makefile.in: always create installation directories. Removed
44 MINUS_G, set CFLAGS to default to -g, added FLAGS_TO_PASS, passed
45 FLAGS_TO_PASS to recursive makes.
46
47 Mon Aug 17 15:09:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
48
49 * input-scrub.c (input_scrub_pop, input_scrub_push): memcpy was
50 being used with args swapped, causing occasional lossage when
51 refilling buffers after an include file.
52
53 Mon Aug 17 13:18:51 1992 Ken Raeburn (raeburn@cygnus.com)
54
55 * messages.c (as_tsktsk): Use correct ANSI form for stdarg
56 version. Discard bogus DONTDEF version.
57 (as_warn, as_bad, as_fatal): Likewise.
58
59 Fri Aug 14 18:31:14 1992 Ken Raeburn (raeburn@cygnus.com)
60
61 * config/tc-m68k.c (m68k_ip): If instruction is invalid for the
62 selected architecture, print a message saying so and listing what
63 processors support it, rather than saying "operands mismatch".
64
65 Thu Aug 13 13:53:19 1992 Ken Raeburn (raeburn@cygnus.com)
66
67 * as.h [BROKEN_ASSERT]: If defined, turn off all assertion checks.
68
69 * config/ho-rs6000.h (M_RS6000): Don't define it.
70 (free): Declare it.
71 (BROKEN_ASSERT): Define it if not __STDC__.
72
73 Thu Aug 6 12:10:39 1992 Steve Chamberlain (sac@thepub.cygnus.com)
74
75 * read.c (s_fill): make the .fill size clamped error a warn and
76 fix bug where 0's were always placed.
77
78 Wed Aug 5 12:02:40 1992 Steve Chamberlain (sac@thepub.cygnus.com)
79
80 * config/tc-m68k.c (md_pseudo_table): fix the .align thing
81 the right way; for just the 68k. Sun 3 .align is nbytes, not ptwo.
82
83 Sat Aug 1 19:10:13 1992 Ken Raeburn (raeburn@cygnus.com)
84
85 * config/tc-sparc.c (tc_aout_fix_to_chars): If pc-relative, take
86 fx_offset into account.
87
88 Fri Jul 31 21:53:28 1992 Ken Raeburn (raeburn@cygnus.com)
89
90 * configure.in (mips host): Accept "ultrix" with version number.
91
92 * expr.c (floating_constant): Separate "=-" to avoid confusing
93 ancient or broken compilers.
94
95 * config/tc-m68k.c (m68k_ip): Mismatch error could also indicate
96 processor/opcode mismatch, so reword the error message.
97 (md_assemble): If no CPU has been set (even if FPU/PMMU
98 characteristics have been), default to 68020. Don't need extra
99 quotes around error string.
100
101 Fri Jul 31 12:26:34 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
102
103 * read.c (potable): Revert sac's incorrect change made Jul 13.
104 Align really is supposed to be ptwo not nbytes.
105
106 Mon Jul 20 02:51:59 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
107
108 * Makefile.in: _Do_ include libiberty. (from sef)
109
110 Fri Jul 17 15:15:28 1992 Ken Raeburn (raeburn@cygnus.com)
111
112 * expr.c (integer_constant): Handle "0f" and "0b" label references
113 properly.
114
115 Thu Jul 16 08:20:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
116
117 * write.c (fixup_segment): if relaxing, don't do anything.
118 * config/obj-bout.[ch] : maintain the a_relaxable file header info
119 * config/tc-i960.c: new option -linkrelax
120
121 Mon Jul 13 14:11:36 1992 Steve Chamberlain (sac@thepub.cygnus.com)
122
123 * expr.c (expr): allow SEG_BSS in expressions
124 * read.c (potable): align should be nbytes, not ptwo!
125 * write.c (write_object_file): extra glue for new bss attributes
126 (relax_segment): SEG_BSS is ok now
127 * config/tc-m68k.c (m68k_ip_op): can now parse more @( modes
128
129 Mon Jun 1 16:20:22 1992 Michael Tiemann (tiemann@cygnus.com)
130
131 * configure.in: recognize m680x0 as having sun3 emulation mode for
132 vxworks environment.
133
134
135 Tue Jun 30 20:25:54 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
136
137 * Makefile.in: Add program_suffix (parallel to program_prefix)
138
139 Wed Jun 24 10:57:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)
140
141 * app.c (process_escape): new function to handle escapes the right
142 way, (do_scrub_next_char): use new function
143 * cond.c (s_ifdef): do ifdef/ifndef right
144 * read.c (s_fill): make the , expressions optional like the doc
145 says
146 * config/tc-h8300.[ch]: better warnings
147
148 Tue Jun 9 07:54:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)
149
150 * subsegs.c (subsegs_begin): create bss0_frchainP in the same was
151 as data0_frchainP
152
153 * write.c (write_object_file): various changes to handle data in
154 the BSS segment in much the same was as stuff in the DATA segment.
155
156
157 Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)
158
159 * expr.c(expr): allow SEG_REGISTER in expressions.
160 * read.c(pseudo_set): register expressions can be the source of a
161 set.
162 * subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
163 goto SEG_TEXT (if a.out)
164 * write.c (write_object_file): If a.out don't use the old way for
165 -R.
166 * config/obj-a.out (s_sect): complain if the user tries to use a
167 subsegment with a value which might interfere with out -R hackery.
168 * config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
169 rather than use ugly if tree. (init_regtable): insert register
170 names into symbol table.
171
172 Tue Jun 2 16:47:09 1992 Steve Chamberlain (sac@cygnus.com)
173
174 * write.c (write_object_file): keep the fix_tail clean, which
175 fixes a bug in -R where relocations were being lost.
176
177 Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)
178
179 * expr.c(expr): allow SEG_REGISTER in expressions.
180 * read.c(pseudo_set): register expressions can be the source of a
181 set.
182 * subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
183 goto SEG_TEXT (if a.out)
184 * write.c (write_object_file): If a.out don't use the old way for
185 -R.
186 * config/obj-a.out (s_sect): complain if the user tries to use a
187 subsegment with a value which might interfere with out -R hackery.
188 * config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
189 rather than use ugly if tree. (init_regtable): insert register
190 names into symbol table.
191
192 Tue Jun 2 16:47:09 1992 Steve Chamberlain (sac@cygnus.com)
193
194 * write.c (write_object_file): keep the fix_tail clean, which
195 fixes a bug in -R where relocations were being lost.
196
197 Mon Jun 1 16:20:22 1992 Michael Tiemann (tiemann@cygnus.com)
198
199 * configure.in: recognize m680x0 as having sun3 emulation mode for
200 vxworks environment.
201
202 Sun May 31 05:33:00 1992 david d `zoo' zuhn (zoo@cygnus.com)
203
204 * configure.in: recognize m680x0 as an m68k
205
206 Thu May 28 11:22:02 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
207
208 * configure.in: Recognize sparclite as a sparc variant.
209
210 Tue May 26 16:47:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
211
212 * config/tc-a29k.c: lint
213 * listing.c, expr.c: patches from Andrew Smith
214
215 Mon Apr 27 13:13:31 1992 K. Richard Pixley (rich@cygnus.com)
216
217 * as.c, write.c: use -K rather than -k for the broken word warning
218 option.
219
220 Tue Apr 21 13:35:30 1992 K. Richard Pixley (rich@cygnus.com)
221
222 * Makefile.in: do not print recursion lines.
223
224 Wed Apr 15 21:19:31 1992 K. Richard Pixley (rich@rtl.cygnus.com)
225
226 * Makefile.in: the tooldir copy of gas goes directly in tooldir.
227
228 Tue Apr 14 14:50:22 1992 Ken Raeburn (Raeburn@Cygnus.COM)
229
230 * write.c (write_object_file): For b.out format, round up section
231 start addresses to match required alignment.
232
233 Thu Apr 9 05:45:29 1992 Ken Raeburn (Raeburn@Cygnus.COM)
234
235 * Makefile.in (install): Install into $(tooldir)/bin, since that's
236 where gcc looks for it.
237
238 Tue Apr 7 15:12:15 1992 Sean Eric Fagan (sef@cygnus.com)
239
240 * Makefile.in: Changed some lines to be less confusing for some
241 makes.
242
243 * input-file.c: Conditionalize on _IOFBF, not VMS.
244
245 * read.c, write.c: Change a series of ifdef/elif to
246 ifdef/else/ifdef etc.
247
248 Fri Mar 27 12:21:16 1992 K. Richard Pixley (rich@cygnus.com)
249
250 * symbols.c (fb_label_init): fix sizeof to memset.
251
252 Fri Mar 13 15:45:44 1992 K. Richard Pixley (rich@cygnus.com)
253
254 * Makefile.in: install the man page.
255
256 * Makefile.in: pass down MAKEINFO explicitly on info.
257
258 Fri Mar 13 08:03:03 1992 Steve Chamberlain (sac@thepub.cygnus.com)
259
260 * flonum-const.c: renamed flonum-konst.c to stop dos name
261 conflict.
262
263 Wed Mar 11 23:32:42 1992 K. Richard Pixley (rich@cygnus.com)
264
265 * configure.in: vxworks68 gets te-sun3.h.
266
267 * expr.c: remove limitation that local_labels_dollar or
268 local_labels_fb must be < 10.
269
270 * symbols.c: remove local_labels_dollar, replace with a function
271 interface for a sparse array. All users adjusted.
272
273 Fri Mar 6 21:57:18 1992 K. Richard Pixley (rich@cygnus.com)
274
275 * Makefile.in: added check target.
276
277 Tue Mar 3 15:45:56 1992 K. Richard Pixley (rich@rtl.cygnus.com)
278
279 * Makefile.in: added tooldir and program_prefix.
280
281 Sun Mar 1 04:43:19 1992 Michael Tiemann (tiemann@cygnus.com)
282
283 * write.{c,h} (fix_new): Make these declarations consistent.
284
285 Sat Feb 29 13:59:10 1992 Michael Tiemann (tiemann@cygnus.com)
286
287 * Makefile.in (strerror.o): Add rule so that broken Sun make can
288 work in subdirs.
289
290 Wed Feb 26 19:26:28 1992 Steve Chamberlain (sac at thepub.cygnus.com)
291
292 * read.c, obj-coffbfd.c : fix h8300 specific bit rot
293
294 * expr.c (operand): if can't work out what sort of operand it is,
295 then look through FLT_CHARS for a hint.
296
297 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
298
299 * Makefile.in, configure.in: removed traces of namesubdir,
300 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
301 copyrights to '92, changed some from Cygnus to FSF.
302
303 Tue Feb 25 14:17:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
304
305 * expr.c: If an expression is single comma, then return with
306 SEG_ABSENT rather than an error - since the sparc front end does
307 really strange things with things like fbge,a
308
309 * as.h: include bfd.h if using many sections
310 * expr.c: LOCAL_LABELS_FB had been changed to lower case - so
311 local labels didn't work.
312 * listing.c (list_symbol_table): don't core dump when there's no
313 symbol there.
314 * write.c, write.h: call fix_new with the right number of args on
315 the H8.
316 * config/tc-h8300.[ch] : fix bugs reported by HMSI, and make
317 errors nices
318
319 Sat Feb 22 12:26:28 1992 Steve Chamberlain (sac at rtl.cygnus.com)
320
321 * app.c: MRI compatibility - allow single quote to start a string.
322 * as.c: fix typo recently introduced.
323 * as.h : Don't include aout/reloc.h - it's not right for COFF!
324 * expr.c: Much rewriting, to accomodate MRI syntax for
325 expressions. Also easier to read now.
326 * listing.c: Put back defuns
327 * read.c: modified to accept MRI syntax, put back listing pseudo
328 ops so that an assembler built with NO_LISTING ignores list ops
329 rather than pukes.
330 * write.c, write.h: fixs - only keep a reloc type in a fix if the target
331 machine is a SPARC or a 29K.
332 * config/obj-aout.c: added s_sect pseudo op
333 * config/obj-coffbfd.c: lints, set the filehdr flags right and
334 fill in the timestamp.
335 * config/obj-coffbfd.h: Since we don't include aout/reloc.h
336 anymore, define all the relocs which the tc-<x> bit will use so we
337 can translate from them to the coff types.
338 * config/tc-a29k.c: reloc_type isn't ane enum any more
339 * config/tc-m68k.c: Added NO_RELOC definition.
340
341 Fri Feb 21 06:21:07 1992 K. Richard Pixley (rich@rtl.cygnus.com)
342
343 * Makefile.in: put header files before C source for TAGS; remove
344 references to non-existent syscalls.h.
345
346 * read.c, write.c subsegs.c: back out the .bss changes.
347
348 Fri Feb 21 01:08:48 1992 Minh Tran-Le (TRANLE@INTELLICORP.COM)
349
350 * symbols.c (local_label_name): symbols now start with ^A.
351
352 * read.c, subsegs.c, write.c obj-coff.c: added handling of
353 `.bss` pseudo op for unitialized data. The new gcc (1.37.9x)
354 generate these sections. .align: will use NOP_OPCODE or 0
355 for padding. This is just for being nice to the
356 disassembler.
357
358 * expr.c (operand): changed to generate local label "\001L0"
359 starting with a ^A so that it is recognized as a local label.
360
361 * as.c (perform_an_assembly_pass): zero bss_fix_root, too.
362
363 Fri Feb 21 01:08:48 1992 K. Richard Pixley (rich@cygnus.com)
364
365 * Makefile.in, configure.in, doc: use the doc. Build it, install
366 it, clean it, etc.
367
368 Tue Feb 18 02:21:25 1992 K. Richard Pixley (rich at cygnus.com)
369
370 * read.c: white space and comments only.
371
372 * configure.in: use the new atof-ns32.c for ns32k.
373
374 * write.c: comment change only.
375
376 Mon Feb 17 07:51:06 1992 K. Richard Pixley (rich at cygnus.com)
377
378 * config/tc-ns32k.c: actually make tc_aout_fix_to_chars work
379 rather than abort.
380
381 * nearly everything. flush ChangeLog, package as gas-1.92.1.
382 ChangeLog's prior to this are sketchy at best. I have logs.
383 They just aren't ChangeLogs.