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