Commit | Line | Data |
---|---|---|
7f2cb270 KR |
1 | Thu Dec 3 01:24:07 1992 Ken Raeburn (raeburn@kr-pc.cygnus.com) |
2 | ||
3 | * config/ho-generic.h (malloc, realloc): Declare. | |
4 | ||
5 | * Lots of comment/whitespace changes. | |
6 | ||
7 | * write.h (struct fix): Some fields reordered, narrowed. | |
8 | ||
9 | * read.c (MASK_CHAR): Define using C types, not magic number. | |
10 | ||
11 | * as.c, input-file.c: Deleted some unused code. | |
12 | ||
13 | * app.c, as.h: Doc fix. | |
14 | ||
15 | * flonum-konst.c, flonum-mult.c: Include ansidecl.h. | |
16 | ||
17 | * as.h (xmalloc): Argument is long. | |
18 | ||
19 | * xmalloc.c (error): Remove declaration; as.h takes care of it. | |
20 | ||
21 | Mon Nov 30 11:42:11 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
22 | ||
23 | * configure.in: Accept target OS "vms". | |
24 | ||
25 | * symbols.c: Merged ANSI and non-ANSI function decls, using | |
26 | PARAMS macro. | |
27 | ||
28 | * xmalloc.c: Just include as.h, don't bother trying to figure out | |
29 | other header files. | |
30 | ||
31 | * strstr.c, strerror.c: Deleted. | |
32 | * Makefile.in: Deleted references. | |
33 | ||
34 | * config/tc-ns32k.c: Don't include header file for string | |
35 | declarations; leave that to ho-*.h. | |
36 | ||
37 | Fri Nov 27 04:11:36 1992 Ken Raeburn (raeburn at cambridge-laptop.cygnus.com) | |
38 | ||
39 | * config/coff_gnu.h [TC_I860]: Guesses for reloc type values, | |
40 | imported from FSF sources. | |
41 | ||
42 | * messages.c (strerror): Declare unconditionally. | |
43 | ||
44 | * as.h: Delete alloca and register definitions. | |
45 | ||
46 | * config/atof-ieee.c (mask): Now const. | |
47 | ||
48 | * obstack.c, obstack.h: Deleted. | |
49 | ||
50 | * as.h (flag_readonly_data_in_text): New flag. | |
51 | * as.c (main): Set it for -R. | |
52 | ||
53 | * as.h (flag_suppress_warnings): New flag. | |
54 | * as.c (main): Set it for -W. | |
55 | * messages.c (as_warn): Check it instead of flagseen['W']. | |
56 | ||
57 | * as.h (flag_always_generate_output): New flag. | |
58 | * as.c (main): Set it for -Z. | |
59 | ||
60 | * config/tc-sparc.h: Define NEED_FX_R_TYPE. | |
61 | * config/tc-a29k.h: Ditto. | |
62 | * write.h (struct fix): Don't conditionalize fx_r_type field on TC | |
63 | macros. | |
64 | ||
65 | * as.h: Merged ANSI and non-ANSI function decls, using PARAMS | |
66 | macro. | |
67 | * bignum.h, expr.h, flonum.h, frags.h, input-file.h, listing.h, | |
68 | obj.h, output-file.h, read.h, struc-symbol.h, symbols.h, tc.h, | |
69 | write.h: Likewise. | |
70 | * read.c: Likewise. | |
71 | ||
72 | * xmalloc.c: Conditionalize on HAVE_MALLOC_H, not USG. Fold in | |
73 | xrealloc from xrealloc.c. | |
74 | * xrealloc.c: Deleted. | |
75 | * Makefile.in (REAL_SOURCES, OBJS): Adjusted. | |
76 | ||
77 | * configure.in: For host CPU a29k, rs6000, vax, consider using bsd | |
78 | or vms ho- files. | |
79 | ||
80 | * config/ho-sysv.h (setbuffer, HO_USG): Deleted. | |
81 | ||
82 | * config/atof-ieee.c (atof_ieee): Exponent field isn't a pointer; | |
83 | don't initialize it with NULL. | |
84 | ||
85 | * config/ho-vax.h (M_VAX): Deleted; was unused. | |
86 | ||
87 | * README-vms, config/ho-vms.h, config/obj-vms.c, config/obj-vms.h: | |
88 | New files imported from FSF version, contributed by Eric Youngdale. | |
89 | * README-vms-dbg, config/vms: Deleted. | |
90 | ||
91 | * ChangeLog, config/ChangeLog: Merged. | |
92 | ||
93 | * config/*tahoe*, configure.in: Tahoe support brought in from FSF | |
94 | version. | |
95 | ||
96 | * input-file.c (input_file_open): Eliminate call to setvbuf. | |
97 | [USG] (setbuffer): Deleted macro. | |
98 | ||
6efd877d KR |
99 | Mon Nov 23 11:00:16 1992 Ken Raeburn (raeburn@cygnus.com) |
100 | ||
101 | * all files: Whitespace changes for GNU indentation style, done by | |
7f2cb270 | 102 | GNU `indent'. Some cleanup still needed, especially of comments. |
6efd877d KR |
103 | |
104 | * configure.in: No te-386bsd.h file exists; don't try to use it. | |
105 | ||
7f2cb270 KR |
106 | * obj-coff.c (obj_coff_endef): Use as_warn, not fprintf. |
107 | ||
108 | * tc-m68k.c (md_assemble): Don't complain about 68000 with 68881; | |
109 | could be doing emulation. | |
110 | ||
6efd877d KR |
111 | Tue Nov 10 09:49:24 1992 Ian Lance Taylor (ian@cygnus.com) |
112 | ||
113 | * Makefile.in (as.o, obj-format.o): added dependency on subsegs.h. | |
114 | ||
115 | * subsegs.h: add extern to segment_info declaration. | |
116 | ||
117 | * read.h: added extern declarations for comment_chars, | |
118 | line_comment_chars, and line_separator_chars. | |
119 | read.c, app.c: removed definitions of comment_chars, | |
120 | line_comment_chars, and line_separator_chars. | |
121 | ||
7f2cb270 KR |
122 | * tc-m68k.c (m68k_reg_parse): If REGISTER_PREFIX isn't defined, |
123 | still accept (but don't require) OPTIONAL_REGISTER_PREFIX before | |
124 | the register name. | |
125 | (insert_reg): put REGISTER_PREFIX before register names before | |
126 | putting them in the symbol table. | |
127 | * tc-m68k.h (OPTIONAL_REGISTER_PREFIX): Define to be "%", if not | |
128 | M68KCOFF. | |
129 | ||
130 | * obj-coffbfd.c (fill_section): set STYP_NOLOAD bit for .bss | |
131 | section. | |
132 | ||
133 | * atof-ieee.c, atof-ns32k.c, tc-*.c: made EXP_CHARS, FLT_CHARS, | |
134 | comment_chars, line_comment_chars and line_seperator_chars | |
135 | consistently const, and always initialized them. Included read.h. | |
136 | ||
137 | Thu Nov 5 17:55:41 1992 Jim Wilson (wilson@sphagnum.cygnus.com) | |
138 | ||
139 | * tc-sparc.c (sparc_ip): Add code to flag error if an absolute | |
140 | constant will not fit in an immediate field. | |
141 | (md_apply_fix, RELOC_BASE13 case): Check for relocation overflow. | |
142 | ||
143 | Wed Nov 4 07:50:46 1992 Ken Raeburn (raeburn@cygnus.com) | |
144 | ||
145 | * obj-coff.c (callj_table): Delete global variable. | |
146 | (obj_emit_relocations): Define it locally here, and only if | |
147 | TC_I960 is defined. | |
148 | ||
149 | * tc-m68k.c (m68k_reg_parse): Underscore is part of a symbol name. | |
150 | (m68k_ip): Don't warn about bignum used as float bit-pattern. | |
151 | ||
152 | * obj-coff.c: Replaced ANSI and non-ANSI function declarations | |
153 | with a single set using PARAMS macro. | |
154 | ||
155 | * tc-i960.c (tc_bout_fix_to_chars): Bit-field fixups want a length | |
156 | of 2. | |
157 | ||
158 | * tc-i960.c: Missed a couple of 0->NO_RELOC conversions. | |
159 | ||
160 | * tc-i960.h (N_BALNAME, N_CALLNAME): Define as char-type values, | |
161 | so widening works consistently. | |
162 | ||
6efd877d KR |
163 | Wed Oct 28 08:52:34 1992 Ken Raeburn (raeburn@cygnus.com) |
164 | ||
165 | * version.c: Put conditional "const" before version_string, not | |
166 | before dummy function for VMS. Now version 1.91.03. | |
167 | ||
168 | * app.c (do_scrub_next_char): Need double-\ before `000' to show | |
169 | printed rep of null character. | |
170 | ||
7f2cb270 KR |
171 | Fri Oct 23 14:40:38 1992 Ian Lance Taylor (ian@cygnus.com) |
172 | ||
173 | * obj-coffbfd.c (write_object_file): check return value of | |
174 | bfd_close_all_done. | |
175 | ||
559d9aac ILT |
176 | Tue Oct 20 12:18:08 1992 Ian Lance Taylor (ian@cygnus.com) |
177 | ||
7f2cb270 KR |
178 | * Support for i386-sysv. |
179 | obj-coffbfd.c (do_relocs_for, write_object_file): set segment | |
180 | addresses to reasonable sizes. New define ZERO_BASED_SEGMENTS can | |
181 | be used to set them all to zero as was done before. | |
182 | (fill_section): segment addresses now set in write_object_file. | |
183 | (fill_section): Don't set STYP_NOLOAD for .bss section. | |
184 | (fixup_segment): 386 uses strange common symbol format. | |
185 | tc-i386.c (tc_coff_fix2rtype): use R_DIR32, not R_RELLONG, for | |
186 | compatibility with SVR3.2 linker. | |
6efd877d KR |
187 | * configure.in: i386-sysv and i386-sco use coffbfd. |
188 | ||
559d9aac ILT |
189 | * app.c (do_scrub_next_char): discard whitespace after a label. |
190 | ||
0f8b9790 DZ |
191 | Sat Oct 10 12:33:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) |
192 | ||
193 | * configure.in: differentiate between SunOS 4 and Solaris2 for Sun4 | |
194 | hosts, use the sysv configuration for solaris2 | |
195 | ||
7f2cb270 KR |
196 | Mon Oct 5 09:28:57 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
197 | ||
198 | fix i960+non-bfd coff bit rot. | |
199 | * obj-coff.c (c_dot_file_symbol, obj_coff_ln, obj_coff_line): | |
200 | support for C source listings. (obj_coff_endef): look in the right | |
201 | part of the symbol for the symbol name | |
202 | ||
203 | * tc-m68k.c (get_num): make it work for all segments, not just the | |
204 | first three. | |
205 | ||
984cf2d7 ME |
206 | Mon Oct 5 03:30:36 1992 Mark Eichin (eichin at tweedledumber.cygnus.com) |
207 | ||
208 | * configure.in: recognize i386-*-bsd emulation. | |
209 | ||
210 | Thu Oct 1 23:05:12 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) | |
211 | ||
212 | * configure.in: use the cpu-vendor-os triple for host and target | |
213 | ||
7f2cb270 KR |
214 | Tue Sep 29 12:22:52 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
215 | ||
216 | * obj-coffbfd.c (write_object_file): don't fixup for the z8k | |
217 | * tc-z8k.c: lots of bug fixes | |
218 | ||
219 | Tue Sep 29 10:51:55 1992 Ian Lance Taylor (ian@cygnus.com) | |
220 | ||
221 | * tc-i960.h, tc-i960.c: avoid the ANSI preprocessor addition | |
222 | #elif, since it is not supported by old compilers. | |
223 | ho-rs6000.h, tc-m68k.c: the native RS/6000 compiler miscompiles a | |
224 | couple of expressions in tc-m68k.c. | |
225 | ||
984cf2d7 ME |
226 | Mon Sep 28 21:18:24 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) |
227 | ||
228 | * read.c (cons): If NO_RELOC is defined, use it. | |
229 | ||
7f2cb270 KR |
230 | * tc-i960.c (get_cdisp): Use NO_RELOC, not 0, in call to fix_new. |
231 | ||
232 | Fri Sep 25 18:18:52 1992 Ian Lance Taylor (ian@cygnus.com) | |
233 | ||
234 | * tc-m68k.h: if M68KCOFF, define DOT_LABEL_PREFIX (to require | |
235 | local labels to start with a .) and set REGISTER_PREFIX to %. | |
236 | tc-m68k.c (m68k_reg_parse): accept REGISTER_PREFIX if defined. | |
237 | ||
5a0fc1d4 JG |
238 | Fri Sep 25 17:53:43 1992 John Gilmore (gnu@cygnus.com) |
239 | ||
240 | * messages.c: Comment changes. | |
241 | ||
4959cb7b KR |
242 | Fri Sep 25 14:12:58 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) |
243 | ||
244 | * as.h: Test if __STDC__ is defined only, don't test its value. | |
245 | * messages.c: If __STDC__ is not defined, define NO_STDARG. | |
246 | ||
5e9d510e BK |
247 | Thu Sep 24 12:42:32 1992 Brendan Kehoe (brendan@rtl.cygnus.com) |
248 | ||
249 | * listing.c (debugging_pseudo): Add stabs and stabn as things to | |
250 | ignore. | |
251 | ||
7f2cb270 KR |
252 | Tue Sep 22 13:02:07 1992 Sean Eric Fagan (sef@cygnus.com) |
253 | ||
254 | * obj-coffbfd.c (do_relocs_for,fill_section): now allocate all | |
255 | sections starting from zero, rather than making them consecutive. | |
256 | This makes subsequent reloc calculations easier, esp if the object | |
257 | format doesn't understand addends. (obj_coff_lcomm): (maybe temporarily) | |
258 | allocate lcomm in .data rather than in .bss. It seems that some | |
259 | tools can't cope with a non-zero sized bss before linkage. | |
260 | ||
261 | Tue Sep 22 15:10:51 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) | |
262 | ||
263 | * tc-m68k.c: Replace "enum m68k_architecture" with "int" | |
264 | throughout. That enum no longer means what we thought it meant. | |
265 | ||
266 | * tc-m68k.c (md_assemble, md_parse_option): Handle new | |
267 | "-mno-688[58]1" options. | |
268 | ||
269 | * tc-m68k.c: Added CPU32 support. | |
270 | ||
271 | Fri Sep 18 08:02:18 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
272 | ||
273 | * tc-m68k.c (m68k_ip): An(disp) is not pc relative. | |
274 | ||
569dac15 JW |
275 | Tue Sep 15 17:25:05 1992 Jim Wilson (wilson@sphagnum.cygnus.com) |
276 | ||
277 | * Makefile.in (as.new): Remove dependence on LOCAL_LOADLIBES. | |
278 | Change LIBDEPS dependence to LIBS. | |
279 | ||
efbfb612 ILT |
280 | Tue Sep 15 15:32:02 1992 Ian Lance Taylor (ian@cygnus.com) |
281 | ||
282 | * Makefile.in (install): if $(tooldir) exists, install as in | |
283 | $(tooldir)/bin. | |
284 | ||
987b1491 ILT |
285 | Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com) |
286 | ||
ca5e9d49 ILT |
287 | * Added WARN_SIGNED_OVERFLOW_WORD define to give an error if any |
288 | .word is < -32768 or > 32767. The -J flag causes the error to be | |
289 | ignored. This is to catch over-sized switches generated by gcc on | |
290 | systems which don't support the broken .word hack. | |
291 | as.c (main): permit -J if WARN_SIGNED_OVERFLOW_WORD. | |
292 | write.c (fixup_segment): check for signed .word overflow if | |
293 | WARN_SIGNED_OVERFLOW_WORD. | |
294 | ||
987b1491 ILT |
295 | * write.c (fixup_segment): fixed missing parens in expression |
296 | checking for byte or word overflow. | |
297 | ||
7f2cb270 KR |
298 | * obj-coffbfd.h: define WARN_SIGNED_OVERFLOW_WORD. |
299 | obj-coffbfd.c (fixup_segment): check for signed .word overflow if | |
300 | WARN_SIGNED_OVERFLOW_WORD. | |
301 | ||
302 | * obj-coffbfd.c (fixup_segment): fixed missing parens in | |
303 | expression checking for byte or word overflow. | |
304 | ||
305 | Fri Sep 11 10:21:04 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
306 | ||
307 | Support for i386 coff | |
308 | * obj-coffbfd.h : added stuff | |
309 | * tc-i386.c (tc_coff_fix2rtype): new function | |
310 | * tc-i386.h : new coff defines | |
311 | ||
b1520b1f ILT |
312 | Thu Sep 10 09:23:15 1992 Ian Lance Taylor (ian@cygnus.com) |
313 | ||
314 | * input-scrub.c (input_scrub_push): call input_file_begin, not | |
315 | input_scrub_begin. | |
316 | messages.c (as_perror): print ": " between the passed in error and | |
317 | the strerror, like perror does. | |
318 | ||
b53ccaac ILT |
319 | Wed Sep 9 11:06:25 1992 Ian Lance Taylor (ian@cygnus.com) |
320 | ||
321 | * Makefile.in: use gas_target instead of modifying target_cpu. | |
322 | From Steve Chamberlain: | |
323 | Makefile.in: Handle m68*-*-coff*. | |
324 | read.c, read.h: add mult argument to s_space | |
325 | ||
7f2cb270 KR |
326 | * tc-m68k.c (m68k_ip, m68k_ip_op, get_num, try_moto_index): merge |
327 | Motorola and MIT syntax; gas can now assemble either type of | |
328 | file. | |
329 | tc-m68kmote.c, tc-m68kmote.h: removed now superfluous files. | |
330 | From Steve Chamberlain: | |
331 | m68kcoff.mt: for m68k COFF. | |
332 | obj-coffbfd.c: (fixup_mdeps) added | |
333 | (size_section) removed bad sanity check | |
334 | (fill_section) added rs_machine_dependent case | |
335 | (write_object_file) call fixup_mdeps | |
336 | (fixup_segment) set fx_subsy to 0. | |
337 | obj-coffbfd.h: define WORKING_DOT_WORD (too hard to support) and | |
338 | handle m68k. | |
339 | tc-m68k.c, config/tc-m68k.h: added m68k COFF support and Motorala | |
340 | pseudo ops. | |
341 | ||
db4d20e5 KR |
342 | Tue Sep 8 17:10:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) |
343 | ||
344 | * Makefile.in (LIBS): Include opcode library. | |
345 | ||
e53ab768 KR |
346 | Fri Sep 4 18:20:56 1992 Ken Raeburn (raeburn@cygnus.com) |
347 | ||
348 | * config/tc-m68k.c (get_num, case SEG_BIG): If only small integers | |
349 | including zero are accepted, pass +0.0. | |
350 | ||
7e10f53c ILT |
351 | Sun Aug 30 21:24:46 1992 Ian Lance Taylor (ian@cygnus.com) |
352 | ||
353 | * Makefile.in: map "as" through program_transform_name when | |
354 | installing. | |
355 | ||
b0952e12 JW |
356 | Sat Aug 29 12:11:12 1992 Jim Wilson (wilson@sphagnum.cygnus.com) |
357 | ||
358 | * Makefile.in (as.new): Depend on LOCAL_LOADLIBES. | |
359 | ||
7f2cb270 KR |
360 | Fri Aug 28 16:25:22 1992 Ian Lance Taylor (ian@cygnus.com) |
361 | ||
362 | * obj-bout.h, obj-bout.c (obj_header_append, obj_symbol_to_chars), | |
363 | tc-i960.c (md_ri_to_chars): Always output bout object file in | |
364 | little endian byte order (used to use endianness of host). | |
365 | ||
b2f221a9 KR |
366 | Tue Aug 25 15:50:48 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) |
367 | ||
368 | * config/tc-m68k.c (init_table): Now const. Always include 68851 | |
369 | data, so that "bc" is available to 68040 cache instructions. | |
370 | Added "tt0", "tt1", and 68ec030 variants. | |
371 | (md_assemble): Complain if 68000 (only) and 68881 are specified. | |
372 | (enum _register): Added TT0, TT1. | |
373 | (m68k_ip, cases '3' and 't'): Handle new operand type codes. Pass | |
374 | line number correctly in "internal error" messages. Don't print | |
375 | architecture-mismatch message for operand errors. | |
376 | ||
377 | From Colin Smith (colin@wrs.com): | |
378 | * config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather | |
379 | than install_operand. | |
380 | ||
ab737e51 SC |
381 | Tue Aug 25 15:13:48 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
382 | ||
383 | * listing.c (buffer_line): rewind to the start of include | |
384 | files, they might be included twice. | |
385 | ||
7f2cb270 KR |
386 | * z8k.c, z8k.h, z8k.mt: z8000 support stuff |
387 | ||
7121231f ILT |
388 | Mon Aug 24 12:45:43 1992 Ian Lance Taylor (ian@cygnus.com) |
389 | ||
390 | * Makefile.in: defined TARGET_CPU for C code so that it can choose | |
391 | one element of a family. | |
392 | ||
7f2cb270 KR |
393 | * tc-m68k.c: use TARGET_CPU to choose default cpu type. |
394 | ||
395 | * te-generic.h: default to LOCAL_LABELS_DOLLAR and LOCAL_LABELS_FB | |
396 | so that we can assemble hand-written libgcc code. | |
397 | ||
4772861e KR |
398 | Fri Aug 21 14:38:44 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) |
399 | ||
400 | * messages.c (as_warn): Use fputs, not fprintf, with a buffer that | |
401 | has already been formatted (but may still contain %-characters). | |
402 | (as_bad): Likewise. | |
403 | ||
7f2cb270 KR |
404 | Wed Aug 19 11:20:59 1992 Ian Lance Taylor (ian@cygnus.com) |
405 | ||
406 | * tc-m68k.c, tc-m68kmote.c: the cas2 instruction is supposed to be | |
407 | written with indirection on the last two operands, which can be | |
408 | either data or address registers. Added a new operand type 'r' | |
409 | which accepts either register type. Added '(' to notend stuff in | |
410 | tc-m68kmote.c to accept (a0):(a2) in cas2 instruction. | |
411 | ||
09952cd9 KR |
412 | Wed Aug 19 09:25:09 1992 Ken Raeburn (raeburn@cygnus.com) |
413 | ||
414 | * as.h (enum _relax_state): Start off at one, not zero, to better | |
415 | catch uninitialized-variable errors. | |
416 | (linkrelax): Declare new variable. | |
417 | ||
418 | * messages.c (warning_count, error_count): Default initializer is | |
419 | sufficient. | |
420 | ||
421 | * write.c: Merged some declarations, using PARMS macro. | |
422 | (text_frag_root, data_frag_root, bss_frag_root, text_last_frag, | |
423 | data_last_frag): No longer static. | |
424 | (write_object_file, case rs_align or rs_org): If HANDLE_ALIGN is | |
425 | defined, call it. Change segments before calling fixup_segment. | |
426 | (relax_align): If linkrelax, provide extra padding. | |
427 | ||
428 | * obj-bout.c (obj_emit_relocations): Emit alignment relocs despite | |
429 | their not having symbols associated. | |
430 | ||
431 | * tc-i960.c (norelax, instrument_branches): Default initializer is | |
432 | sufficient. | |
433 | (linkrelax): Delete variable definition. | |
434 | (mem_fmt): Call fix_new with NO_RELOC. | |
435 | (tc_bout_fix_to_chars): Handle alignment relocs. | |
436 | (i960_handle_align): New function. | |
437 | * tc-i960.h (linkrelax): Delete declaration. | |
438 | (HANDLE_ALIGN): New macro; calls i960_handle_align. | |
439 | (NEED_FX_R_TYPE, NO_RELOC): New macros. | |
440 | ||
a457f4d9 KR |
441 | Tue Aug 18 14:59:21 1992 Ken Raeburn (raeburn@cygnus.com) |
442 | ||
443 | * config/sparc.mt: New file. Grab sparc opcode table from bfd | |
444 | library. | |
445 | ||
4b857710 ILT |
446 | Tue Aug 18 14:16:38 1992 Ian Lance Taylor (ian@cygnus.com) |
447 | ||
448 | * Makefile.in: always create installation directories. Removed | |
449 | MINUS_G, set CFLAGS to default to -g, added FLAGS_TO_PASS, passed | |
450 | FLAGS_TO_PASS to recursive makes. | |
451 | ||
f7e9bc5a SC |
452 | Mon Aug 17 15:09:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
453 | ||
454 | * input-scrub.c (input_scrub_pop, input_scrub_push): memcpy was | |
455 | being used with args swapped, causing occasional lossage when | |
456 | refilling buffers after an include file. | |
457 | ||
c1c28543 KR |
458 | Mon Aug 17 13:18:51 1992 Ken Raeburn (raeburn@cygnus.com) |
459 | ||
460 | * messages.c (as_tsktsk): Use correct ANSI form for stdarg | |
461 | version. Discard bogus DONTDEF version. | |
462 | (as_warn, as_bad, as_fatal): Likewise. | |
463 | ||
2e20e59a KR |
464 | Fri Aug 14 18:31:14 1992 Ken Raeburn (raeburn@cygnus.com) |
465 | ||
466 | * config/tc-m68k.c (m68k_ip): If instruction is invalid for the | |
467 | selected architecture, print a message saying so and listing what | |
468 | processors support it, rather than saying "operands mismatch". | |
469 | ||
c8c7e0bf KR |
470 | Thu Aug 13 13:53:19 1992 Ken Raeburn (raeburn@cygnus.com) |
471 | ||
472 | * as.h [BROKEN_ASSERT]: If defined, turn off all assertion checks. | |
473 | ||
474 | * config/ho-rs6000.h (M_RS6000): Don't define it. | |
475 | (free): Declare it. | |
476 | (BROKEN_ASSERT): Define it if not __STDC__. | |
477 | ||
7f2cb270 KR |
478 | Tue Aug 11 12:58:14 1992 Ken Raeburn (raeburn@cygnus.com) |
479 | ||
480 | * sparc.mt: New file. | |
481 | ||
482 | Mon Aug 10 14:37:08 1992 Per Bothner (bothner@cygnus.com) | |
483 | ||
484 | * tc-m68k.c: ".align N" means align to N-byte boundary *only* | |
485 | if TN_SUN3; otherwise align to 2**N-byte bounary. | |
486 | ||
7fd3560a SC |
487 | Thu Aug 6 12:10:39 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
488 | ||
489 | * read.c (s_fill): make the .fill size clamped error a warn and | |
490 | fix bug where 0's were always placed. | |
491 | ||
7f2cb270 KR |
492 | * config/tc-h8300.c: if a :8 is seen after an operand, fill top |
493 | two bytes of any constant with 0xff: | |
494 | ||
62594bd7 SC |
495 | Wed Aug 5 12:02:40 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
496 | ||
497 | * config/tc-m68k.c (md_pseudo_table): fix the .align thing | |
4f3569fa | 498 | the right way; for just the 68k. Sun 3 .align is nbytes, not ptwo. |
62594bd7 | 499 | |
7f2cb270 KR |
500 | Wed Aug 5 01:54:34 1992 John Gilmore (gnu at cygnus.com) |
501 | ||
502 | * tc-m68k.c (try_index): Error if index scaling specified and | |
503 | assembling for an older CPU than a 68020. | |
504 | ||
680227f3 KR |
505 | Sat Aug 1 19:10:13 1992 Ken Raeburn (raeburn@cygnus.com) |
506 | ||
507 | * config/tc-sparc.c (tc_aout_fix_to_chars): If pc-relative, take | |
508 | fx_offset into account. | |
509 | ||
c51ccfd5 KR |
510 | Fri Jul 31 21:53:28 1992 Ken Raeburn (raeburn@cygnus.com) |
511 | ||
512 | * configure.in (mips host): Accept "ultrix" with version number. | |
513 | ||
514 | * expr.c (floating_constant): Separate "=-" to avoid confusing | |
515 | ancient or broken compilers. | |
516 | ||
517 | * config/tc-m68k.c (m68k_ip): Mismatch error could also indicate | |
518 | processor/opcode mismatch, so reword the error message. | |
519 | (md_assemble): If no CPU has been set (even if FPU/PMMU | |
520 | characteristics have been), default to 68020. Don't need extra | |
521 | quotes around error string. | |
522 | ||
14f1fc24 JW |
523 | Fri Jul 31 12:26:34 1992 Jim Wilson (wilson@sphagnum.cygnus.com) |
524 | ||
525 | * read.c (potable): Revert sac's incorrect change made Jul 13. | |
526 | Align really is supposed to be ptwo not nbytes. | |
527 | ||
528 | Mon Jul 20 02:51:59 1992 D. V. Henkel-Wallace (gumby@cygnus.com) | |
529 | ||
530 | * Makefile.in: _Do_ include libiberty. (from sef) | |
531 | ||
532 | Fri Jul 17 15:15:28 1992 Ken Raeburn (raeburn@cygnus.com) | |
533 | ||
534 | * expr.c (integer_constant): Handle "0f" and "0b" label references | |
535 | properly. | |
536 | ||
462088b8 SC |
537 | Thu Jul 16 08:20:17 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
538 | ||
539 | * write.c (fixup_segment): if relaxing, don't do anything. | |
540 | * config/obj-bout.[ch] : maintain the a_relaxable file header info | |
541 | * config/tc-i960.c: new option -linkrelax | |
542 | ||
543 | Mon Jul 13 14:11:36 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
544 | ||
545 | * expr.c (expr): allow SEG_BSS in expressions | |
546 | * read.c (potable): align should be nbytes, not ptwo! | |
547 | * write.c (write_object_file): extra glue for new bss attributes | |
548 | (relax_segment): SEG_BSS is ok now | |
549 | * config/tc-m68k.c (m68k_ip_op): can now parse more @( modes | |
550 | ||
7f2cb270 KR |
551 | Mon Jul 6 17:09:32 1992 Steve Chamberlain (sac@cygnus.com) |
552 | ||
553 | * obj-coffbfd.c (fill_section): mark .lit sections as STYP_LIT | |
554 | ||
462088b8 SC |
555 | Mon Jun 1 16:20:22 1992 Michael Tiemann (tiemann@cygnus.com) |
556 | ||
557 | * configure.in: recognize m680x0 as having sun3 emulation mode for | |
558 | vxworks environment. | |
559 | ||
560 | ||
0b0b5dba DHW |
561 | Tue Jun 30 20:25:54 1992 D. V. Henkel-Wallace (gumby@cygnus.com) |
562 | ||
563 | * Makefile.in: Add program_suffix (parallel to program_prefix) | |
564 | ||
7c2d4011 SC |
565 | Wed Jun 24 10:57:54 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
566 | ||
567 | * app.c (process_escape): new function to handle escapes the right | |
568 | way, (do_scrub_next_char): use new function | |
569 | * cond.c (s_ifdef): do ifdef/ifndef right | |
570 | * read.c (s_fill): make the , expressions optional like the doc | |
571 | says | |
572 | * config/tc-h8300.[ch]: better warnings | |
573 | ||
90d49457 SC |
574 | Tue Jun 9 07:54:54 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
575 | ||
65bfcf2e SC |
576 | * subsegs.c (subsegs_begin): create bss0_frchainP in the same was |
577 | as data0_frchainP | |
578 | ||
579 | * write.c (write_object_file): various changes to handle data in | |
580 | the BSS segment in much the same was as stuff in the DATA segment. | |
581 | ||
7f2cb270 KR |
582 | * tc-m68k.c (m68kip): Fix typo so that only arch's >=68020 do |
583 | pcrel data stuff. (md_estimate_size_before_relax): when relaxing a | |
584 | 68010 bxx into a bra+6 jmpxx, put the bytes of the jmp opcode into | |
585 | the right place. (s_bss): Don't put .bss stuff into SEG_DATA, put | |
586 | it into SEG_BSS | |
462088b8 SC |
587 | |
588 | Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com) | |
589 | ||
590 | * expr.c(expr): allow SEG_REGISTER in expressions. | |
591 | * read.c(pseudo_set): register expressions can be the source of a | |
592 | set. | |
593 | * subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to | |
594 | goto SEG_TEXT (if a.out) | |
595 | * write.c (write_object_file): If a.out don't use the old way for | |
596 | -R. | |
597 | * config/obj-a.out (s_sect): complain if the user tries to use a | |
598 | subsegment with a value which might interfere with out -R hackery. | |
599 | * config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table | |
600 | rather than use ugly if tree. (init_regtable): insert register | |
601 | names into symbol table. | |
602 | ||
603 | Tue Jun 2 16:47:09 1992 Steve Chamberlain (sac@cygnus.com) | |
604 | ||
605 | * write.c (write_object_file): keep the fix_tail clean, which | |
606 | fixes a bug in -R where relocations were being lost. | |
90d49457 | 607 | |
f8701a3f SC |
608 | Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
609 | ||
610 | * expr.c(expr): allow SEG_REGISTER in expressions. | |
611 | * read.c(pseudo_set): register expressions can be the source of a | |
612 | set. | |
613 | * subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to | |
614 | goto SEG_TEXT (if a.out) | |
615 | * write.c (write_object_file): If a.out don't use the old way for | |
616 | -R. | |
617 | * config/obj-a.out (s_sect): complain if the user tries to use a | |
618 | subsegment with a value which might interfere with out -R hackery. | |
619 | * config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table | |
620 | rather than use ugly if tree. (init_regtable): insert register | |
621 | names into symbol table. | |
622 | ||
ebfb4167 MT |
623 | Tue Jun 2 16:47:09 1992 Steve Chamberlain (sac@cygnus.com) |
624 | ||
625 | * write.c (write_object_file): keep the fix_tail clean, which | |
626 | fixes a bug in -R where relocations were being lost. | |
627 | ||
628 | Mon Jun 1 16:20:22 1992 Michael Tiemann (tiemann@cygnus.com) | |
629 | ||
630 | * configure.in: recognize m680x0 as having sun3 emulation mode for | |
631 | vxworks environment. | |
632 | ||
633 | Sun May 31 05:33:00 1992 david d `zoo' zuhn (zoo@cygnus.com) | |
634 | ||
635 | * configure.in: recognize m680x0 as an m68k | |
636 | ||
dfd53fe9 JW |
637 | Thu May 28 11:22:02 1992 Jim Wilson (wilson@sphagnum.cygnus.com) |
638 | ||
639 | * configure.in: Recognize sparclite as a sparc variant. | |
640 | ||
7f2cb270 KR |
641 | * tc-sparc.c: Use new ARCHITECTURES_CONFLICT_P macro. Mention new |
642 | -Asparclite flag. | |
643 | ||
d312e231 SC |
644 | Tue May 26 16:47:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
645 | ||
646 | * config/tc-a29k.c: lint | |
647 | * listing.c, expr.c: patches from Andrew Smith | |
648 | ||
7f2cb270 KR |
649 | Mon May 4 18:56:19 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
650 | ||
651 | * obj-coffbfd.c: use is a synonym for section, (do_relocs_for): | |
652 | calc the base of relocs correctly. | |
653 | * tc-a29k.c (parse_operand): allow expressions to be in any section. | |
654 | ||
d312e231 SC |
655 | Mon Apr 27 13:13:31 1992 K. Richard Pixley (rich@cygnus.com) |
656 | ||
657 | * as.c, write.c: use -K rather than -k for the broken word warning | |
658 | option. | |
659 | ||
fa493b93 RP |
660 | Tue Apr 21 13:35:30 1992 K. Richard Pixley (rich@cygnus.com) |
661 | ||
662 | * Makefile.in: do not print recursion lines. | |
663 | ||
d96c09ed RP |
664 | Wed Apr 15 21:19:31 1992 K. Richard Pixley (rich@rtl.cygnus.com) |
665 | ||
666 | * Makefile.in: the tooldir copy of gas goes directly in tooldir. | |
667 | ||
668 | Tue Apr 14 14:50:22 1992 Ken Raeburn (Raeburn@Cygnus.COM) | |
669 | ||
670 | * write.c (write_object_file): For b.out format, round up section | |
671 | start addresses to match required alignment. | |
672 | ||
81484684 KR |
673 | Thu Apr 9 05:45:29 1992 Ken Raeburn (Raeburn@Cygnus.COM) |
674 | ||
675 | * Makefile.in (install): Install into $(tooldir)/bin, since that's | |
676 | where gcc looks for it. | |
677 | ||
3876b4c5 SEF |
678 | Tue Apr 7 15:12:15 1992 Sean Eric Fagan (sef@cygnus.com) |
679 | ||
680 | * Makefile.in: Changed some lines to be less confusing for some | |
681 | makes. | |
682 | ||
683 | * input-file.c: Conditionalize on _IOFBF, not VMS. | |
684 | ||
685 | * read.c, write.c: Change a series of ifdef/elif to | |
686 | ifdef/else/ifdef etc. | |
687 | ||
688 | Fri Mar 27 12:21:16 1992 K. Richard Pixley (rich@cygnus.com) | |
689 | ||
690 | * symbols.c (fb_label_init): fix sizeof to memset. | |
691 | ||
95a925b8 RP |
692 | Fri Mar 13 15:45:44 1992 K. Richard Pixley (rich@cygnus.com) |
693 | ||
3876b4c5 SEF |
694 | * Makefile.in: install the man page. |
695 | ||
95a925b8 RP |
696 | * Makefile.in: pass down MAKEINFO explicitly on info. |
697 | ||
5d53038b SC |
698 | Fri Mar 13 08:03:03 1992 Steve Chamberlain (sac@thepub.cygnus.com) |
699 | ||
700 | * flonum-const.c: renamed flonum-konst.c to stop dos name | |
701 | conflict. | |
702 | ||
7f2cb270 KR |
703 | Thu Mar 12 04:42:38 1992 K. Richard Pixley (rich@cygnus.com) |
704 | ||
705 | * tc-m68k.h, te-sun3.h: moved LOCAL_LABELS_FB definition from | |
706 | tc-m68k.h to te-sun3.h. | |
707 | ||
8c1b25e4 RP |
708 | Wed Mar 11 23:32:42 1992 K. Richard Pixley (rich@cygnus.com) |
709 | ||
710 | * configure.in: vxworks68 gets te-sun3.h. | |
711 | ||
712 | * expr.c: remove limitation that local_labels_dollar or | |
713 | local_labels_fb must be < 10. | |
714 | ||
715 | * symbols.c: remove local_labels_dollar, replace with a function | |
716 | interface for a sparse array. All users adjusted. | |
717 | ||
7f2cb270 KR |
718 | * te-sun3.h: add LOCAL_LABELS_DOLLAR. |
719 | ||
8c1b25e4 RP |
720 | Fri Mar 6 21:57:18 1992 K. Richard Pixley (rich@cygnus.com) |
721 | ||
722 | * Makefile.in: added check target. | |
723 | ||
724 | Tue Mar 3 15:45:56 1992 K. Richard Pixley (rich@rtl.cygnus.com) | |
725 | ||
726 | * Makefile.in: added tooldir and program_prefix. | |
727 | ||
728 | Sun Mar 1 04:43:19 1992 Michael Tiemann (tiemann@cygnus.com) | |
729 | ||
730 | * write.{c,h} (fix_new): Make these declarations consistent. | |
731 | ||
1651b22d MT |
732 | Sat Feb 29 13:59:10 1992 Michael Tiemann (tiemann@cygnus.com) |
733 | ||
734 | * Makefile.in (strerror.o): Add rule so that broken Sun make can | |
735 | work in subdirs. | |
736 | ||
5373c439 SC |
737 | Wed Feb 26 19:26:28 1992 Steve Chamberlain (sac at thepub.cygnus.com) |
738 | ||
739 | * read.c, obj-coffbfd.c : fix h8300 specific bit rot | |
740 | ||
741 | * expr.c (operand): if can't work out what sort of operand it is, | |
742 | then look through FLT_CHARS for a hint. | |
743 | ||
8c1b25e4 RP |
744 | Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) |
745 | ||
746 | * Makefile.in, configure.in: removed traces of namesubdir, | |
747 | -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced | |
748 | copyrights to '92, changed some from Cygnus to FSF. | |
749 | ||
f24f7577 SC |
750 | Tue Feb 25 14:17:15 1992 Steve Chamberlain (sac at rtl.cygnus.com) |
751 | ||
14d3e47b SC |
752 | * expr.c: If an expression is single comma, then return with |
753 | SEG_ABSENT rather than an error - since the sparc front end does | |
754 | really strange things with things like fbge,a | |
755 | ||
f24f7577 SC |
756 | * as.h: include bfd.h if using many sections |
757 | * expr.c: LOCAL_LABELS_FB had been changed to lower case - so | |
758 | local labels didn't work. | |
759 | * listing.c (list_symbol_table): don't core dump when there's no | |
760 | symbol there. | |
761 | * write.c, write.h: call fix_new with the right number of args on | |
762 | the H8. | |
763 | * config/tc-h8300.[ch] : fix bugs reported by HMSI, and make | |
764 | errors nices | |
765 | ||
c593cf41 SC |
766 | Sat Feb 22 12:26:28 1992 Steve Chamberlain (sac at rtl.cygnus.com) |
767 | ||
768 | * app.c: MRI compatibility - allow single quote to start a string. | |
769 | * as.c: fix typo recently introduced. | |
770 | * as.h : Don't include aout/reloc.h - it's not right for COFF! | |
771 | * expr.c: Much rewriting, to accomodate MRI syntax for | |
772 | expressions. Also easier to read now. | |
773 | * listing.c: Put back defuns | |
774 | * read.c: modified to accept MRI syntax, put back listing pseudo | |
775 | ops so that an assembler built with NO_LISTING ignores list ops | |
776 | rather than pukes. | |
777 | * write.c, write.h: fixs - only keep a reloc type in a fix if the target | |
778 | machine is a SPARC or a 29K. | |
779 | * config/obj-aout.c: added s_sect pseudo op | |
780 | * config/obj-coffbfd.c: lints, set the filehdr flags right and | |
781 | fill in the timestamp. | |
782 | * config/obj-coffbfd.h: Since we don't include aout/reloc.h | |
783 | anymore, define all the relocs which the tc-<x> bit will use so we | |
784 | can translate from them to the coff types. | |
785 | * config/tc-a29k.c: reloc_type isn't ane enum any more | |
786 | * config/tc-m68k.c: Added NO_RELOC definition. | |
787 | ||
2d97273c RP |
788 | Fri Feb 21 06:21:07 1992 K. Richard Pixley (rich@rtl.cygnus.com) |
789 | ||
c593cf41 SC |
790 | * Makefile.in: put header files before C source for TAGS; remove |
791 | references to non-existent syscalls.h. | |
792 | ||
2d97273c RP |
793 | * read.c, write.c subsegs.c: back out the .bss changes. |
794 | ||
7f2cb270 KR |
795 | * obj-aout.c: do not include stab.gnu.h if NO_LISTING. |
796 | ||
797 | * tc-i860.c, a.out.gnu.h: move i860 relocs to a proper place. | |
798 | ||
799 | * a.out.h: removed. | |
800 | ||
6d5460ab RP |
801 | Fri Feb 21 01:08:48 1992 Minh Tran-Le (TRANLE@INTELLICORP.COM) |
802 | ||
803 | * symbols.c (local_label_name): symbols now start with ^A. | |
804 | ||
805 | * read.c, subsegs.c, write.c obj-coff.c: added handling of | |
806 | `.bss` pseudo op for unitialized data. The new gcc (1.37.9x) | |
807 | generate these sections. .align: will use NOP_OPCODE or 0 | |
808 | for padding. This is just for being nice to the | |
809 | disassembler. | |
810 | ||
811 | * expr.c (operand): changed to generate local label "\001L0" | |
812 | starting with a ^A so that it is recognized as a local label. | |
813 | ||
814 | * as.c (perform_an_assembly_pass): zero bss_fix_root, too. | |
815 | ||
7f2cb270 KR |
816 | * tc-i386.c: tc-i386.c: added handling of the following opcodes: |
817 | i/o opcodes - inb, inw, outb and outw. string manipulation with | |
818 | att syntax - scmp, slod, smov, ssca, ssto. | |
819 | ||
820 | * obj-coff.c: (for aix386) Moved the symbols .text, .data and .bss | |
821 | to just after .file . | |
822 | ||
823 | In obj_crawl_symbol_chain() where it tries to put the external | |
824 | symbols apart, with the condition: | |
825 | (!S_IS_DEFINED(symbolP) && | |
826 | !S_IS_DEBUG(symbolP) && | |
827 | !SF_GET_STATICS(symbolP)) | |
828 | it was moving too many symbols out. So I switch it back to the | |
829 | condition: | |
830 | (S_GET_STORAGE_CLASS(symbolP) == C_EXT && !SF_GET_FUNCTION(symbolP)) | |
831 | ||
832 | In obj_emit_relocations() added the conditional on KEEP_RELOC_INFO | |
833 | so that we don't use the F_RELFLG which make the linker complain | |
834 | that somebody has stripped the relocation info. | |
835 | ||
836 | Also, the AIX ld program require that the relocation table | |
837 | is sorted by r_vaddr like the standard ATT assembler does. | |
838 | ||
839 | [he also changed the sizeof(struct ...)'s into the coff | |
840 | style FOOSZ macros. I'm not sure this is right, but I can't | |
841 | remember why. xoxorich.] | |
842 | ||
d6e344db RP |
843 | Fri Feb 21 01:08:48 1992 K. Richard Pixley (rich@cygnus.com) |
844 | ||
845 | * Makefile.in, configure.in, doc: use the doc. Build it, install | |
846 | it, clean it, etc. | |
847 | ||
eb9eacd3 RP |
848 | Tue Feb 18 02:21:25 1992 K. Richard Pixley (rich at cygnus.com) |
849 | ||
aa3782d2 RP |
850 | * read.c: white space and comments only. |
851 | ||
f816adbc RP |
852 | * configure.in: use the new atof-ns32.c for ns32k. |
853 | ||
eb9eacd3 RP |
854 | * write.c: comment change only. |
855 | ||
7f2cb270 KR |
856 | * tc-m88k.[hc]: pulled in from hack's unfinished work. These |
857 | aren't yet integrated. | |
858 | ||
859 | * tc-i860.[hc]: blew off the dust. Something must still be done | |
860 | about conflicting relocation types. | |
861 | ||
862 | * tc-ns32k.c: Replaced previous tc_aout_fix_to_chars stub with the | |
863 | real thing. | |
864 | ||
865 | * tc-i960.c, tc-sparc.c: white space and comments only. | |
866 | ||
867 | * tc-a29k.h: delete duplicate macro definition. | |
868 | ||
869 | * new file atof-ns32k.c copied from hack's last unreleased gas. | |
870 | ||
542e1629 | 871 | Mon Feb 17 07:51:06 1992 K. Richard Pixley (rich at cygnus.com) |
b3ca913f | 872 | |
eb9eacd3 RP |
873 | * config/tc-ns32k.c: actually make tc_aout_fix_to_chars work |
874 | rather than abort. | |
875 | ||
542e1629 RP |
876 | * nearly everything. flush ChangeLog, package as gas-1.92.1. |
877 | ChangeLog's prior to this are sketchy at best. I have logs. | |
878 | They just aren't ChangeLogs. |