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