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