3 * Added WARN_SIGNED_OVERFLOW_WORD define to give an error if any
4 .word is < -32768 or > 32767. The -J flag causes the error to be
5 ignored. This is to catch over-sized switches generated by gcc on
6 systems which don't support the broken .word hack.
7 as.c (main): permit -J if WARN_SIGNED_OVERFLOW_WORD.
8 write.c (fixup_segment): check for signed .word overflow if
9 WARN_SIGNED_OVERFLOW_WORD.
11 * write.c (fixup_segment): fixed missing parens in expression
12 checking for byte or word overflow.
16 * input-scrub.c (input_scrub_push): call input_file_begin, not
18 messages.c (as_perror): print ": " between the passed in error and
19 the strerror, like perror does.
23 * Makefile.in: use gas_target instead of modifying target_cpu.
24 From Steve Chamberlain:
25 Makefile.in: Handle m68*-*-coff*.
26 read.c, read.h: add mult argument to s_space
30 * Makefile.in (LIBS): Include opcode library.
34 * config/tc-m68k.c (get_num, case SEG_BIG): If only small integers
35 including zero are accepted, pass +0.0.
39 * Makefile.in: map "as" through program_transform_name when
44 * Makefile.in (as.new): Depend on LOCAL_LOADLIBES.
48 * config/tc-m68k.c (init_table): Now const. Always include 68851
49 data, so that "bc" is available to 68040 cache instructions.
50 Added "tt0", "tt1", and 68ec030 variants.
51 (md_assemble): Complain if 68000 (only) and 68881 are specified.
52 (enum _register): Added TT0, TT1.
53 (m68k_ip, cases '3' and 't'): Handle new operand type codes. Pass
54 line number correctly in "internal error" messages. Don't print
55 architecture-mismatch message for operand errors.
58 * config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather
63 * listing.c (buffer_line): rewind to the start of include
64 files, they might be included twice.
68 * Makefile.in: defined TARGET_CPU for C code so that it can choose
69 one element of a family.
73 * messages.c (as_warn): Use fputs, not fprintf, with a buffer that
74 has already been formatted (but may still contain %-characters).
79 * as.h (enum _relax_state): Start off at one, not zero, to better
80 catch uninitialized-variable errors.
81 (linkrelax): Declare new variable.
83 * messages.c (warning_count, error_count): Default initializer is
86 * write.c: Merged some declarations, using PARMS macro.
87 (text_frag_root, data_frag_root, bss_frag_root, text_last_frag,
88 data_last_frag): No longer static.
89 (write_object_file, case rs_align or rs_org): If HANDLE_ALIGN is
90 defined, call it. Change segments before calling fixup_segment.
91 (relax_align): If linkrelax, provide extra padding.
93 * obj-bout.c (obj_emit_relocations): Emit alignment relocs despite
94 their not having symbols associated.
96 * tc-i960.c (norelax, instrument_branches): Default initializer is
98 (linkrelax): Delete variable definition.
99 (mem_fmt): Call fix_new with NO_RELOC.
100 (tc_bout_fix_to_chars): Handle alignment relocs.
101 (i960_handle_align): New function.
102 * tc-i960.h (linkrelax): Delete declaration.
103 (HANDLE_ALIGN): New macro; calls i960_handle_align.
104 (NEED_FX_R_TYPE, NO_RELOC): New macros.
108 * config/sparc.mt: New file. Grab sparc opcode table from bfd
113 * Makefile.in: always create installation directories. Removed
114 MINUS_G, set CFLAGS to default to -g, added FLAGS_TO_PASS, passed
115 FLAGS_TO_PASS to recursive makes.
119 * input-scrub.c (input_scrub_pop, input_scrub_push): memcpy was
120 being used with args swapped, causing occasional lossage when
121 refilling buffers after an include file.
125 * messages.c (as_tsktsk): Use correct ANSI form for stdarg
126 version. Discard bogus DONTDEF version.
127 (as_warn, as_bad, as_fatal): Likewise.
131 * config/tc-m68k.c (m68k_ip): If instruction is invalid for the
132 selected architecture, print a message saying so and listing what
133 processors support it, rather than saying "operands mismatch".
137 * as.h [BROKEN_ASSERT]: If defined, turn off all assertion checks.
139 * config/ho-rs6000.h (M_RS6000): Don't define it.
141 (BROKEN_ASSERT): Define it if not __STDC__.
145 * read.c (s_fill): make the .fill size clamped error a warn and
146 fix bug where 0's were always placed.
150 * config/tc-m68k.c (md_pseudo_table): fix the .align thing
151 the right way; for just the 68k. Sun 3 .align is nbytes, not ptwo.
155 * config/tc-sparc.c (tc_aout_fix_to_chars): If pc-relative, take
156 fx_offset into account.
160 * configure.in (mips host): Accept "ultrix" with version number.
162 * expr.c (floating_constant): Separate "=-" to avoid confusing
163 ancient or broken compilers.
165 * config/tc-m68k.c (m68k_ip): Mismatch error could also indicate
166 processor/opcode mismatch, so reword the error message.
167 (md_assemble): If no CPU has been set (even if FPU/PMMU
168 characteristics have been), default to 68020. Don't need extra
169 quotes around error string.
173 * read.c (potable): Revert sac's incorrect change made Jul 13.
174 Align really is supposed to be ptwo not nbytes.
178 * Makefile.in: _Do_ include libiberty. (from sef)
182 * expr.c (integer_constant): Handle "0f" and "0b" label references
187 * write.c (fixup_segment): if relaxing, don't do anything.
188 * config/obj-bout.[ch] : maintain the a_relaxable file header info
189 * config/tc-i960.c: new option -linkrelax
193 * expr.c (expr): allow SEG_BSS in expressions
194 * read.c (potable): align should be nbytes, not ptwo!
195 * write.c (write_object_file): extra glue for new bss attributes
196 (relax_segment): SEG_BSS is ok now
197 * config/tc-m68k.c (m68k_ip_op): can now parse more @( modes
201 * configure.in: recognize m680x0 as having sun3 emulation mode for
207 * Makefile.in: Add program_suffix (parallel to program_prefix)
212 * app.c (process_escape): new function to handle escapes the right
213 way, (do_scrub_next_char): use new function
214 * cond.c (s_ifdef): do ifdef/ifndef right
215 * read.c (s_fill): make the , expressions optional like the doc
217 * config/tc-h8300.[ch]: better warnings
221 * subsegs.c (subsegs_begin): create bss0_frchainP in the same was
224 * write.c (write_object_file): various changes to handle data in
225 the BSS segment in much the same was as stuff in the DATA segment.
230 * expr.c(expr): allow SEG_REGISTER in expressions.
231 * read.c(pseudo_set): register expressions can be the source of a
233 * subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
234 goto SEG_TEXT (if a.out)
235 * write.c (write_object_file): If a.out don't use the old way for
237 * config/obj-a.out (s_sect): complain if the user tries to use a
238 subsegment with a value which might interfere with out -R hackery.
239 * config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
240 rather than use ugly if tree. (init_regtable): insert register
241 names into symbol table.
245 * write.c (write_object_file): keep the fix_tail clean, which
246 fixes a bug in -R where relocations were being lost.
250 * expr.c(expr): allow SEG_REGISTER in expressions.
251 * read.c(pseudo_set): register expressions can be the source of a
253 * subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
254 goto SEG_TEXT (if a.out)
255 * write.c (write_object_file): If a.out don't use the old way for
257 * config/obj-a.out (s_sect): complain if the user tries to use a
258 subsegment with a value which might interfere with out -R hackery.
259 * config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
260 rather than use ugly if tree. (init_regtable): insert register
261 names into symbol table.
265 * write.c (write_object_file): keep the fix_tail clean, which
266 fixes a bug in -R where relocations were being lost.
270 * configure.in: recognize m680x0 as having sun3 emulation mode for
275 * configure.in: recognize m680x0 as an m68k
279 * configure.in: Recognize sparclite as a sparc variant.
283 * config/tc-a29k.c: lint
284 * listing.c, expr.c: patches from Andrew Smith
288 * as.c, write.c: use -K rather than -k for the broken word warning
293 * Makefile.in: do not print recursion lines.
297 * Makefile.in: the tooldir copy of gas goes directly in tooldir.
301 * write.c (write_object_file): For b.out format, round up section
302 start addresses to match required alignment.
306 * Makefile.in (install): Install into $(tooldir)/bin, since that's
307 where gcc looks for it.
311 * Makefile.in: Changed some lines to be less confusing for some
314 * input-file.c: Conditionalize on _IOFBF, not VMS.
316 * read.c, write.c: Change a series of ifdef/elif to
317 ifdef/else/ifdef etc.
321 * symbols.c (fb_label_init): fix sizeof to memset.
325 * Makefile.in: install the man page.
327 * Makefile.in: pass down MAKEINFO explicitly on info.
331 * flonum-const.c: renamed flonum-konst.c to stop dos name
336 * configure.in: vxworks68 gets te-sun3.h.
338 * expr.c: remove limitation that local_labels_dollar or
339 local_labels_fb must be < 10.
341 * symbols.c: remove local_labels_dollar, replace with a function
342 interface for a sparse array. All users adjusted.
346 * Makefile.in: added check target.
350 * Makefile.in: added tooldir and program_prefix.
354 * write.{c,h} (fix_new): Make these declarations consistent.
358 * Makefile.in (strerror.o): Add rule so that broken Sun make can
361 Wed Feb 26 19:26:28 1992 Steve Chamberlain (sac at thepub.cygnus.com)
363 * read.c, obj-coffbfd.c : fix h8300 specific bit rot
365 * expr.c (operand): if can't work out what sort of operand it is,
366 then look through FLT_CHARS for a hint.
370 * Makefile.in, configure.in: removed traces of namesubdir,
371 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
372 copyrights to '92, changed some from Cygnus to FSF.
374 Tue Feb 25 14:17:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
376 * expr.c: If an expression is single comma, then return with
377 SEG_ABSENT rather than an error - since the sparc front end does
378 really strange things with things like fbge,a
380 * as.h: include bfd.h if using many sections
381 * expr.c: LOCAL_LABELS_FB had been changed to lower case - so
382 local labels didn't work.
383 * listing.c (list_symbol_table): don't core dump when there's no
385 * write.c, write.h: call fix_new with the right number of args on
387 * config/tc-h8300.[ch] : fix bugs reported by HMSI, and make
390 Sat Feb 22 12:26:28 1992 Steve Chamberlain (sac at rtl.cygnus.com)
392 * app.c: MRI compatibility - allow single quote to start a string.
393 * as.c: fix typo recently introduced.
394 * as.h : Don't include aout/reloc.h - it's not right for COFF!
395 * expr.c: Much rewriting, to accomodate MRI syntax for
396 expressions. Also easier to read now.
397 * listing.c: Put back defuns
398 * read.c: modified to accept MRI syntax, put back listing pseudo
399 ops so that an assembler built with NO_LISTING ignores list ops
401 * write.c, write.h: fixs - only keep a reloc type in a fix if the target
402 machine is a SPARC or a 29K.
403 * config/obj-aout.c: added s_sect pseudo op
404 * config/obj-coffbfd.c: lints, set the filehdr flags right and
405 fill in the timestamp.
406 * config/obj-coffbfd.h: Since we don't include aout/reloc.h
407 anymore, define all the relocs which the tc-<x> bit will use so we
408 can translate from them to the coff types.
409 * config/tc-a29k.c: reloc_type isn't ane enum any more
410 * config/tc-m68k.c: Added NO_RELOC definition.
414 * Makefile.in: put header files before C source for TAGS; remove
415 references to non-existent syscalls.h.
417 * read.c, write.c subsegs.c: back out the .bss changes.
421 * symbols.c (local_label_name): symbols now start with ^A.
423 * read.c, subsegs.c, write.c obj-coff.c: added handling of
424 `.bss` pseudo op for unitialized data. The new gcc (1.37.9x)
425 generate these sections. .align: will use NOP_OPCODE or 0
426 for padding. This is just for being nice to the
429 * expr.c (operand): changed to generate local label "\001L0"
430 starting with a ^A so that it is recognized as a local label.
432 * as.c (perform_an_assembly_pass): zero bss_fix_root, too.
436 * Makefile.in, configure.in, doc: use the doc. Build it, install
439 Tue Feb 18 02:21:25 1992 K. Richard Pixley (rich at cygnus.com)
441 * read.c: white space and comments only.
443 * configure.in: use the new atof-ns32.c for ns32k.
445 * write.c: comment change only.
447 Mon Feb 17 07:51:06 1992 K. Richard Pixley (rich at cygnus.com)
449 * config/tc-ns32k.c: actually make tc_aout_fix_to_chars work
452 * nearly everything. flush ChangeLog, package as gas-1.92.1.
453 ChangeLog's prior to this are sketchy at best. I have logs.
454 They just aren't ChangeLogs.