checkpoint, for lots of recent changes
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
2b1b5697
KR
1Tue Mar 30 10:11:41 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
2
3 * doc/as.texinfo: First pass at using new texinfo features --
4 variables, conditional tests. Far from complete.
5
6Mon Mar 29 16:05:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
7
8 * read.c: Temporary hack to handle some 64-bit constants. This
9 should be redone later.
10 (target_big_endian): Declare.
11 (big_cons): If it's set, reverse order of bytes being copied.
12 * config/tc-sparc.c (md_begin): Set target_big_endian.
13
14 * read.c (s_ignore): Delete declaration of is_end_of_line.
15
16 * config/obj-coffbfd.c (yank_symbols): Build list of file symbol
17 forward pointers properly.
18
e02eaa59
SC
19Mon Mar 29 13:47:33 1993 Steve Chamberlain (sac@thepub.cygnus.com)
20
21 * config/obj-coffbfd.c (do_relocs_for): Fix bug where nrelocs
22 wasn't being stored into scnhdr.
23 * config/obj-coffbfd.h: Add prototype of s_get_segment.
24 * read.c (TC_START_LABEL): Default definition.
25 (read_a_source_file): Use TC_START_LABEL macro to work out
26 if a label has been seen.
27
543d88e4
ILT
28Mon Mar 29 12:56:56 1993 Ian Lance Taylor (ian@cygnus.com)
29
c39b3eba
ILT
30 * configure.in: Set BFDDEF and BFDLIB at the top of Makefile, not
31 the bottom (make expands variables in dependencies when the
32 dependencies are read, not when they are used).
33
543d88e4
ILT
34 * config/obj-coffbfd.c (fill_section): Don't set NOLOAD bit for
35 a29k .bss section; the mondfe program doesn't like it.
36
2b1b5697
KR
37Sun Mar 28 08:12:53 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com)
38
39 * config/tc-m68k.c: Use PARAMS macro, and use CONST instead of
40 const.
41 (current_architecture): Don't need initializer.
42
43Fri Mar 26 08:12:48 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
44
45 * doc/none.m4: Define Z8000.
46 * doc/Makefile.in (as-*.texinfo): Refer to $(srcdir). Remove the
47 texinfo file before recreating it.
48 (TEXI2DVI): Need to set TEXINPUTS if "make as.dvi" is to work in
49 this directory.
50 (srcdir): Delete second, bogus definition.
51 (as.info): Look for as-*.texinfo in current directory rather than
52 in $(srcdir).
53 (as.dvi): Ditto.
54 (dvi): New rule.
55 * doc/configure.in: Create links to all as-*.texinfo files in the
56 source directory, if that's not the current directory.
57
58 * configure.in (per-host): Accept MIPS host with BSD version
59 number.
60 (per-target): Classify i486 as i386. Use generic cpu_type instead
61 of target_cpu in selecting format etc.
62
63 * app.c (do_scrub_next_char): Use .appfile, not .app-file.
64 * read.c (potable): Change .app-file to .appfile.
65
66 * config/ho-decstatn.h: Renamed from ho-decstation.h.
67 * configure.in: Adjusted.
68
69 * config/obj-bfd-sunos.*: Unused; deleted.
70
71 * Makefile.in (version.c, vers-stamp): Deleted.
72 (config.h): Define GAS_VERSION.
73 * as.c (version_string): Deleted declaration.
74 (main): Look for GAS_VERSION instead.
75
76 * doc/as.texinfo: Updated description of -a* (listing) options,
77 and describe how to pass them through from gcc.
78
79 * config/obj-coffbfd.c (do_relocs_for): Don't allocate storage or
80 process relocs if there aren't any relocs to process. Avoids
81 malloc/free bug on SCO too.
82
83 * as.h: Move local include files below system include files, to
84 avoid some redefinition complaints on some systems.
85 (const, volatile): Don't need these conditionally defined if we
86 use CONST and VOLATILE from ansidecl.h.
87 (seg_name): Use CONST, not const.
88
543d88e4
ILT
89Fri Mar 26 10:22:04 1993 Ian Lance Taylor (ian@cygnus.com)
90
91 * config/tc-mips.c: Reindented to GNU standards.
92
2c19a57c
ILT
93Thu Mar 25 08:59:14 1993 Ian Lance Taylor (ian@cygnus.com)
94
61001d96
ILT
95 * config/obj-coffbfd.c (do_relocs_for): Remove a29k special case.
96 (fixup_segment): Add a29k special case; the linker is not prepared
97 to see a segment offset here.
98
2c19a57c
ILT
99 * app.c (do_scrub_next_char): Added new state, 10, modifying state
100 9 to only keep a space in between identifier characters.
101
afcc637a
DZ
102Wed Mar 24 02:16:22 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
103
2d4bef5e
DZ
104 * Makefile.in: add dvi target; as-$(config).texinfo might live in
105 srcdir, might be in objdir.
afcc637a
DZ
106
107 * doc/Makefile.in: dvi depends on as.dvi
108
80c8fd72
DZ
109Mon Mar 22 23:59:13 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
110
111 * Makefile.in: add installcheck target
112
1369949e
ILT
113Mon Mar 22 10:19:00 1993 Ian Lance Taylor (ian@cygnus.com)
114
115 * config/tc-mips.c (macro): Use $AT for any floating point load.
116
63cdddad
KR
117Sat Mar 20 12:50:51 1993 Ken Raeburn (raeburn@urth.cygnus.com)
118
119 * config/tc-m68k.c (m68k_ip): For operand type 'M', reject
120 bignums, but don't emit error message.
121
69498fa2
JW
122Fri Mar 19 21:02:19 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
123
124 * Makefile.in (targ-cpu.o): Depend on config.h.
125
f6a91cc0
ILT
126Wed Mar 17 16:44:06 1993 Ian Lance Taylor (ian@cygnus.com)
127
128 * app.c (do_scrub_next_char): Added new state, 9, to avoid
129 dropping a space immediately following an identifier.
130 * expr.c, write.c: Rewrote assert expressions to not use multiple
131 lines; I don't think that can be done portably.
132 * config/tc-mips.c (macro): Use $AT if target register is zero in
133 load instruction, which it can be for a floating point load.
134
a36f6645
ILT
135Mon Mar 15 12:17:28 1993 Ian Lance Taylor (ian@cygnus.com)
136
3d3c5039
ILT
137 * write.c (write_contents): Compute the relocs before writing out
138 the section contents.
139 * config/obj-ecoff.h, config/obj-ecoff.c: Numerous changes to get
140 symbol table and values right.
141 * config/tc-mips.h (LOCAL_LABEL): If OBJ_ECOFF, any label starting
142 with $L is local.
143 * config/tc-mips.c (tc_gen_reloc): If OBJ_ECOFF, adjust the addend
144 by the section vma.
145
146 * config/z8k.mt (TARG_CPU_DEPENDENTS): The relevant file is
147 z8k-opc.h, not z8k.h.
148
a36f6645
ILT
149 * config/obj-coffbfd.c (obj_coff_endef): Correct test for .bf
150 symbol.
151
2a697fa4
DZ
152Fri Mar 12 18:33:36 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
153
154 * configure.in: recognize sparc-sun-solaris2* instead of -solaris2
155
f2f7d044
ILT
156Fri Mar 12 12:00:07 1993 Ian Lance Taylor (ian@cygnus.com)
157
158 * expr.c, write.c: Ultrix native 4.2 cc requires assert condition
159 to be on a single line.
160
ed099874
KR
161Thu Mar 11 17:56:22 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
162
163 * Makefile.in (config.h): Create file, writing out definitions of
164 target cpu, alias, and canonical name.
165 (ALL_CFLAGS): No longer define TARGET_CPU.
166
167 * Makefile.in (check): Print a message, instead of quitting
168 silently.
169
170 * as.c (main): Don't catch any signals, for now.
171
172 * version.c: Deleted.
173 * Makefile.in: Generate it, putting in only the version number
174 itself.
175 (VERSION): New variable.
176 * as.c: Include config.h.
177 (main): Reformatted version string. Include target alias. Don't
178 print if not requested (i.e., unknown -v argument).
179
180 * as.c (stralloc): Deleted.
181 (main): Call strdup instead.
182
183 * configure.in: Handle all 68300 series chips.
184 * config/tc-m68k.c: Include config.h.
185 (md_assemble): Assume TARGET_CPU is defined. Accept some 68300
186 series cpus as defaults.
187 (md_parse_option): Accept some m68300 series CPUs as defaults.
188
189Wed Mar 10 17:41:16 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
190
191 * as.c (EXIT_SUCCESS, EXIT_FAILURE): Define to normal values if
192 not already defined.
193 (main, got_sig): Use them.
194 * config/ho-vms.h (EXIT_SUCCESS, EXIT_FAILURE): Reverse default
195 values.
196
197Tue Mar 9 07:40:06 1993 Ian Lance Taylor (ian@cygnus.com)
198
199 * config/obj-ecoff.c, config/obj-ecoff.h: Preliminary ECOFF
200 support.
201
202 * config/tc-mips.h (TARGET_FORMAT): Define based on OBJ_AOUT vs.
203 OBJ_ECOFF as well as TARGET_BYTES_*_ENDIAN.
204 (struct loc, struct proc, struct file): Moved to tc-mips.c within
205 #ifndef OBJ_ECOFF block, since ECOFF uses different versions.
206 * config/tc-mips.c: Rearranged for ECOFF support. Added
207 prototypes for all static functions. Moved existing minimal
208 debugging format support info #ifndef OBJ_ECOFF blocks.
209 (macro_build_lui): Eliminated sign_extend argument, because ECOFF
210 does not support a non sign extended high 16 bits reloc. Adjusted
211 all callers accordingly.
212 (tc_get_register): Renamed from get_register, and made non-static.
213
214 * config/mips-big.mt, config/mips-lit.mt: New files. Define
215 TARGET_BYTES_BIG_ENDIAN and TARGET_BYTES_LITTLE_ENDIAN,
216 respectively.
217 * configure.in (mips-*-bsd*): Use gas_target mips-lit.
218 (mips-*-ultrix*, mips-*-irix*, mips-*-ecoff): New targets, using
219 obj_format ecoff and gas_target mips-lit or mips-big.
220
c5d4bc88
KR
221Tue Mar 9 07:43:01 1993 Ken Raeburn (raeburn@cygnus.com)
222
223 * version.c: Bump to version 2.0.1.
224
fefba3a5
ILT
225Tue Mar 9 07:40:06 1993 Ian Lance Taylor (ian@cygnus.com)
226
227 * write.c (chain_frchains_together): Check that seg_info (section)
228 is not NULL.
229 (write_object_file): Call obj_frob_file after setting the symbols,
230 not before.
231
2b1b5697
KR
232Tue Mar 9 00:00:00 1993 Ken Raeburn (raeburn@cygnus.com)
233
234 * Version 2.0 released.
235
fefba3a5
ILT
236Mon Mar 8 14:57:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
237
238 * config/tc-i386.h (TC_COUNT_RELOC): Look for fx_addsy only.
239
240Fri Mar 5 09:05:55 1993 Ian Lance Taylor (ian@cygnus.com)
241
242 * read.h: Define stringer here.
243 read.c, config/obj-ieee.c, config/obj-tcm88k.c: Not any of these
244 places.
245
bf449293
SC
246Thu Mar 4 11:52:23 1993 Steve Chamberlain (sac@thepub.cygnus.com)
247
248 * read.c (s_space): Multiply repeat count by mult, not fill.
249
9471a360
KR
250Thu Mar 4 05:20:42 1993 Ken Raeburn (raeburn@cygnus.com)
251
252 * read.c: Include ctype.h.
253
1101551c
KR
254Wed Mar 3 10:41:46 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
255
256 Patches from Eric Youngdale:
257 * make-gas.com: Find obstack.obj if it's not in the current
258 directory.
259 * read.c (s_ignore): Don't declare is_end_of_line. It's
260 redundant, and triggers a VMS gcc compiler bug.
261
262 * write.c (write_object_file): Macro SUB_SEGMENT_ALIGN now takes
263 current segment as an argument. (Ignored in all cases but VMS.)
264 All callers and definitions changed.
265
5e4cddb7
ILT
266Tue Mar 2 11:56:19 1993 Ian Lance Taylor (ian@cygnus.com)
267
268 * listing.c: Cleaned up a bit, added prototypes, made NO_LISTING
269 case compile again.
270
f3ca2a64
KR
271Tue Mar 2 08:53:34 1993 Ken Raeburn (raeburn@cygnus.com)
272
273 * config/tc-m68k.c (isbyte): Accept all values from -255 to +255,
274 so "~0x80" won't be rejected.
275
276 * config/obj-elf.c: No longer include elf/reloc.h.
277 (obj_elf_section): Set SEC_READONLY and SEC_CODE for text section.
278 (obj_elf_stab, obj_elf_desc): Deleted do-nothing and commented-out
279 routines.
280 (obj_elf_xstab): New routine.
281 (obj_elf_set_size): Call as_warn, not fprintf. Pass desired
282 argument to s_ignore. Put "#if 0" around unused code.
283 (obj_pseudo_table): Use s_ignore instead of do-nothing routines.
284 Call elf_xstabs for .stabs and .xstabs operators.
285
286 * config/tc-sparc.h (TARGET_FORMAT) [OBJ_ELF]: Now "elf32-sparc".
287
288 * write.c (relax_and_size_seg): Set SEC_RELOC only if fixups are
289 present.
290
291 * configure.in: mips-bsd configuration was missing format spec.
292 Should use aout.
293
294 * Makefile.in (Makefile): Depends on configure.in.
295
296 * config/tc-mips.c (append_insn): Don't check for alignment of
297 frag in memory; alignment of instructions in section is a separate
298 matter.
299
300 * config/tc-mips.c (macro_build_lui): Fix some assumptions of ANSI
301 C availability.
302
303 * listing.h: Always provide function declarations, not macros, so
304 pcc won't lose.
305
7687d89b
JG
306Tue Mar 2 00:50:43 1993 John Gilmore (gnu@cygnus.com)
307
308 * CONTRIBUTORS: Update Gilmore entry.
309
310Wed Feb 24 14:58:19 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
311
312 * frags.c (frag_init): New function.
313 (zero_address_frag, bss_address_frag): Now initialized at run
314 time.
315 * as.c (main): Call frag_init.
316
160b7f0f
ILT
317Wed Feb 24 10:32:42 1993 Ian Lance Taylor (ian@cygnus.com)
318
319 * app.c (do_scrub_next_char): In LEX_IS_LINE_COMMENT_START case:
320 Don't unget ch2 if we didn't get it.
321
0cca30f3
KR
322Wed Feb 24 04:14:07 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com)
323
324 * doc/Makefile.in (TEXIDIR): Updated for new layout.
325
326 * config/tc-sparc.c (s_common): Add support for ELF version.
327 (tc_gen_reloc) [BFD_ASSEMBLER]: New function.
328 * config/tc-sparc.h (TARGET_ARCH, TARGET_FORMAT) [BFD_ASSEMBLER]:
329 New macros.
330 (md_convert_frag): New macro.
331
332 * config/tc-m68k.c (m68k_ip): For PC-relative addressing of a
333 symbol, fix the offset so "+2" isn't required.
334
335 * config/tc-i960.c (line_comment_chars, line_separator_chars):
336 Define as common/bss.
337 (op_hash, reg_hash, areg_hash, iclasses_seen, br_cnt): Default C
338 initializers are sufficient.
339
340 * config/obj-aout.h [BFD_ASSEMBLER]: Include libaout.h from bfd.
341 (TARGET_FORMAT) [BFD_ASSEMBLER]: Default to "a.out".
342 (S_SET_*, S_GET_*, obj_frob_symbol) [BFD_ASSEMBLER]: New macros.
343 (S_SET_TYPE) [!BFD_ASSEMBLER]: New macro.
344 * config/obj-aout.c: Use PARAMS macro for declarations. Remove
345 "IGNORE_DEBUG" conditional, since both branches are identical.
346 Use S_SET_TYPE, S_GET_TYPE, and S_GET_DESC instead of directly
347 referencing symbol structure members.
348 (obj_aout_frob_symbol) [BFD_ASSEMBLER]: New function.
349
350 * as.h (struct frag): Reordered a couple of fields for better
351 packing.
352
353 * write.c (record_alignment) [BFD_ASSEMBLER]: Record it in the
354 section info.
355 (write_contents) [BFD_ASSEMBLER]: New function.
356 (write_object_file) [BFD_ASSEMBLER]: Always handle -R here. Call
357 fix_new with BFD_RELOC_NONE instead of 0 or NO_RELOC. Call
358 obj_frob_file, obj_frob_symbol, tc_frob_symbol if defined.
359 (fixup_segment): Make sure common-section symbols get treated the
360 same as undefined symbols.
361 (fix_new) [BFD_ASSEMBLER]: Argument r_type is of type
362 bfd_reloc_code_real_type. Use seg_fix_{root,tail}P derived from
363 section info.
364 * write.h (fix_new): Update prototype.
365
366 * tc.h (md_operand, md_convert_frag, tc_headers_hook,
367 md_section_align, md_undefined_symbol): Don't provide prototypes
368 if these are defined as macros.
369 (md_convert_frag) [BFD_ASSEMBLER]: BFD version needs bfd and
370 section passed.
371
372 * symbols.c (symbol_new): Argument NAME is now pointer to const.
373 Simplified STRIP_UNDERSCORE code. Remove assumptions about null
374 pointers in freshly allocated storage. [BFD_ASSEMBLER]: Get new
375 BFD symbol.
376 (colon): Display other/desc fields of redefined symbol only if
377 S_GET_OTHER and S_GET_DESC are defined.
378 (symbol_make): Argument NAME is now pointer to const.
379 (symbol_find, symbol_find_base): Likewise.
380 (S_IS_*, S_GET_*, S_SET_*) [BFD_ASSEMBLER]: New functions.
381 * symbols.h: Fix prototypes for new const arguments. Add
382 prototypes for BFD_ASSEMBLER S_* functions.
383
384 * subsegs.c (subseg_change) [BFD_ASSEMBLER]: BFD version of code
385 for changing to an existing section.
386 (subseg_new_rest) [BFD_ASSEMBLER]: Split off from subseg_new,
387 called by subseg_new and subseg_set.
388 (subseg_new) [BFD_ASSEMBLER]: Rewritten to change to new section,
389 given section name and subseg number.
390 (subseg_set) [BFD_ASSEMBLER]: New function; change to a possibly
391 new section/subsection.
392
393 * read.c: Don't include ctype.h.
394 (cons) [BFD_ASSEMBLER]: For undefined symbols, use BFD_RELOC_32
395 for now; should be machine-dependent.
396
397 * configure.in: Accept *-*-elf and *-*-solaris* as ELF format
398 targets, forcing BFD use.
399
400Wed Feb 17 18:59:03 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
401
402 * config/tc-sparc.c: Use PARAMS macro for static function
403 declarations. Use BFD_RELOC_ macros everywhere, with
404 compatibility macros declared for non-BFD mode.
405 (struct sparc_it) [BFD_ASSEMBLER]: Use bfd_reloc_code_real_type
406 instead of enum reloc_type.
407 (emit_sparc_reloc): Commented-out function deleted.
408 (md_convert_frag): Deleted.
409 (tc_aout_pre_write_hook): Don't define for BFD_ASSEMBLER.
410 (md_apply_fix): Changed calling sequence (conditionally) for BFD
411 version.
412 * config/tc-sparc.h (md_convert_frag): New macro.
413
414 * config/obj-aout.c (obj_aout_stab): Refer to undefined_section,
415 not SEG_UNKNOWN. Use S_SET_TYPE, S_GET_TYPE, S_GET_DESC instead
416 of referencing fields directly.
417
418 * write.c (cvt_frag_to_fill): New function; extracted from
419 write_object_file.
420 (write_object_file) [! BFD_ASSEMBLER]: Call it.
421 (relax_and_size_seg) [BFD_ASSEMBLER]: New function; relax section
422 and set its size and flags.
423
424 * struc-symbol.h (struct symbol) [BFD_ASSEMBLER]: Replace some
425 fields with BFD equivalents. Turn on back-pointers, and add
426 target-specific fields at end.
427
428Thu Feb 11 09:20:37 1993 Ian Lance Taylor (ian@cygnus.com)
429
430 * config/obj-coffbfd.c (fill_section): Don't set vaddr here.
431 (write_object_file): Set it here instead, so that fixup_segment
432 can see the correct value.
433
434Mon Feb 8 13:56:17 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
435
436 * write.c (write_object_file): Check for errors and warnings and
437 bail out before processing contents.
438 (chain_frchains_together_1): New function, does most of the work
439 of remove_subsegs.
440 (chain_frchains_together) [BFD_ASSEMBLER]: New function.
441 (remove_subsegs) [! BFD]: Call it.
442 (write_object_file) [BFD_ASSEMBLER]: Converted to use BFD
443 structures and routines.
444
445 * config/obj-elf.*: New files.
446
447 * config/mips.mt, config/rs6000.mt: Deleted.
448
449 * config/h8300.mt: Don't specify compiler here.
450
7687d89b 451 * config/z8k.mt: The z8k code depends on the z8k opcode table,
0cca30f3
KR
452 not the h8300 one.
453 * config/tc-z8k.h: Comment fix.
454
455 * write.c: Reordered some functions for better inlining.
456 (fixup_segment): Linkrelax code is no longer conditional on
457 TC_I960.
458
459Thu Feb 4 12:45:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
460
461 * config/{h8500.mt, tc-h8500.c, tc-h8500.h, obj-coffbfd.c,
462 obj-coffbfd.h}: support for the H8/500
463
464Wed Feb 3 19:28:18 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
465
466 * config/obj-vms.h (SUB_SEGMENT_ALIGN): Define VMS version here.
467 * write.c (write_object_file): Not here.
468 (fix_new): Initialize fx_addnumber.
469
470 * listing.c: Don't include target-cpu.h explicitly, since as.h
471 includes it.
472
473Thu Jan 28 00:35:40 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com)
474
475 * write.h [BFD_ASSEMBLER]: Don't declare next_object_file_charP,
476 *_fix_root, *_fix_tail, seg_fix_rootP, seg_fix_tailP.
477 (struct fix): Reordered fields for compactness and efficiency.
478 Converted some logical fields to 1-bit fields.
479
480 * config/obj-aout.h: Use PARAMS.
481 [BFD_ASSEMBLER]: Don't define/declare AOUT_MACHTYPE, seg_N_TYPE,
482 N_TYPE_seg, DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE.
483
484 * read.c: Don't include listing.h; as.h includes it. Removed
485 DONTDEF code.
486 [BFD_ASSEMBLER]: Include subsegs.h.
487 (old_buffer, new_broken_words): Default initialization is
488 sufficient.
489
490 * output-file.c [BFD_ASSEMBLER]: Include bfd.h, default TARGET_MACH
491 to 0, define stdoutput.
492 (output_file_create) [BFD_ASSEMBLER]: Call bfd_perror on failure.
493 Call bfd_set_arch_mach.
494 (output_file_close) [BFD_ASSEMBLER]: Call bfd_close, not
495 bfd_close_all_done. Call bfd_perror on failure.
496 (output_file_append) [BFD_ASSEMBLER]: Don't define.
497
498 * config/m68kcoff.mt (LOCAL_LOADLIBES): Delete definition.
499
500 * subsegs.h (segment_info_type): Always define. Omit field scnhdr
501 if not MANY_SEGMENTS. Define new field bfd_section if
502 BFD_ASSEMBLER.
503 (seg_info): New macro.
504
505 * expr.c, input-scrub.c: Use PARAMS macro. Deleted unused
506 variables, and some irrelevant comments.
507
508 * Makefile.in (ALL_CFLAGS): Include $(BFDDEF).
509 (LIBS): Include $(BFDLIB). Don't bother with $(CLIB).
510 * configure.in: Permit --with-bfd-assembler now, with a warning.
511 Variable need_bfd is now a boolean, as is new variable bfd_gas.
512 Set BFDDEF and BFDLIB in Makefile when appropriate.
513
514 * as.c: Removed "#ifdef DONTDEF" and "#ifdef comment" code.
515 (main): Refer to flag_always_generate_output instead of
516 flagseen['Z'].
517
518 * as.c (main) [BFD_ASSEMBLER]: Open output bfd.
519 (*_section) [BFD_ASSEMBLER]: Define them.
520 (perform_an_assembly_pass) [BFD_ASSEMBLER]: Initialize them, and
521 set section flags when appropriate.
522 * as.h (SEG_NORMAL) [BFD_ASSEMBLER]: Require that the specified
523 section is not absolute, undefined, or an assembler internal one.
524 (absolute_section, undefined_section): Always define.
525 * expr.c, read.c, symbols.c: Refer to *_section, not SEG_*; break
526 switch statements into if-else trees.
527 * symbols.c [MANY_SEGMENTS]: Deleted redundant definitions of
528 SEG_BSS and SEG_DATA.
529
530 * as.h (frag_now_fix): New macro.
531 * symbols.c (colon): Use it.
532
533Wed Jan 27 21:43:53 PST 1993 Ralph Campbell (ralphc@pyramid.com)
534
535 * config/tc-mips.c: Added mips support for mips-dec-bsd.
536 * config/tc-mips.h: Added mips support for mips-dec-bsd.
537 * config/ho-mipsbsd.h: Added mips support for mips-dec-bsd.
538 * config/mips-opcode.h: Added mips support for mips-dec-bsd.
539 * configure.in: Added mips support for mips-dec-bsd.
540 * atof-generic.c: Define TRUE and FALSE if not defined.
541
542Thu Jan 21 12:48:19 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
543
544 * version.c: Bumped version number to 1.93.05.
545
546Wed Jan 20 17:11:53 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
547
548 * config/obj-coff.c (obj_emit_relocations): Don't use #elif.
549 (obj_emit_lineno): Don't need return at end of void function.
550 (obj_symbol_new_hook): Ditto.
551
552 * config/tc-m68k.c: Removed some unused code.
553 (tc_aout_fix_to_chars): Array nbytes_r_length is now const.
554
555 * config/tc-m68k.h (TC_COUNT_RELOC): Don't emit reloc if only
556 offset field is set.
557
558Fri Jan 8 05:44:49 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
559
560 * config/tc-sparc.c (architecture_requested, warn_on_bump,
561 md_relax_table): Use default zero initialization.
562 (s_reserve): Since SEG_E2 is equivalent to SEG_BSS, just use the
563 latter, instead of selecting with preprocessor conditionals.
564
565Thu Jan 7 08:58:21 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
566
567 * configure.in: recognise all sparclite variants
568
569Thu Jan 7 05:25:25 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
570
571 * read.c (s_data) [!BFD_ASSEMBLER]: Fix typo in 4 Jan change --
572 accidentally changed to use subseg_change where it should have
573 been subseg_new.
574
6c5f9998
KR
575Tue Jan 5 08:42:16 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
576
0bd77bc4
KR
577 * expr.c (operand): If character other than comma or newline is a
578 logical end-of-line character, use the newline case.
0cca30f3
KR
579 From Eric Youngdale:
580 (operand): Set X_add_number field for floating-point numbers.
581 (operand): Treat zero byte as end-of-operand.
0bd77bc4 582
6c5f9998
KR
583 * configure.in (per-target): Look for with_bfd_assembler option.
584 For now, only accept "no", until the merge is done.
585
0cca30f3
KR
586 Merged changes from Eric Youngdale (youngdale@v6550c.nrl.navy.mil):
587 * as.c, flonum-konst.c, hex-value.c, input-file.c, version.c,
588 config/obj-aout.h, config/obj-vms.c: VMS -> HO_VMS.
589 * read.c: Finish conversion to S_* macros in the VMS only
590 parts of the program. Add "const" modifier to hex_value.
591 * as.c, read.c, symbols.c, write.c: Change "ifdef VMS" to
592 "ifdef OBJ_VMS".
593 * expr.c: Add "const" modifier to hex_value.
594 * symbols.c: Finish conversion to S_* macros in the VMS only
595 parts of the program. Add "const" modifier to
596 md_[long,short]_jump_size. Remove declaration of const_flag
597 (which will be declared in obj-vms.h).
598 * write.c: Add "const" modifier to md_[long,short]_jump_size.
599 Fix arguments to VMS_write_object_file.
600 * config-gas.com: New file. Script for VMS systems to set up the
601 configuration to build gas for VMS, and create config.status.
602 * make-gas.com: Redone to work with new scheme.
603 * obj-vms.c: Patch to fix bug where we were not correctly parsing the
604 stabs directives.
605 * obj-vms.c: Define macros COPY_LONG and COPY_SHORT which
606 will swap bytes if needed on a big endian system. Use throughout
607 as needed.
608 * obj-vms.c (obj_aout_stab): Add code to generate listing file.
609 * obj-vms.c (VMS_typedef_parse): Add alias to correctly handle certain
610 types of malformed stabs. Change parsing algorithm so that we are
611 more certain of having all of the information that we need on hand.
612 * obj-vms.c (final_forward_reference): New function, used to help
613 resolve the data types of as many struct elements as possible
614 when some part of the struct is not fully defined by the compiler.
615 * obj-vms.c (VMS_LSYM_Parse): Correctly handle case of continuation
616 stabs directives.
617 * obj-vms.c (VMS_write_object_file): Define all vtable psects
618 as symbols as well in the object file. Look for external functions
619 that start with "__vt.", and turn them into variables, since the
620 g++ compiler is incapable of doing this.
621 * tc-vax.c: Add '1' option for backward compatibility with older GCC
622 versions.
623 * bignum-copy.c (bignum_copy): Fix bug where we pad with zeroes.
624 * input-scrub.c (as_where): Fix bug where as would crash if we did not
625 have the name of the source file yet.
626 * config/ho-vms.h: define HO_VMS, not HO_VAX.
627
9d76a195
KR
628Mon Jan 4 05:17:26 1993 Ken Raeburn (raeburn@cygnus.com)
629
630 * read.c (s_data): Always use "data_section", since it'll map to
631 SEG_DATA or SEG_E1 if needed.
632 (s_lcomm): Likewise with bss_section.
633 (s_fill): Use memset, not bzero.
634
635Thu Dec 31 04:29:27 1992 Ken Raeburn (raeburn@kr-pc.cygnus.com)
636
637 * read.c: Deleted some code under "#ifdef DONTDEF" that was for
638 handling GDB symbol table data.
639
640 * config/obj-aout.h (segment_name): Delete definition.
641 (seg_name): Delete declaration.
642 * config/obj-bout.h (segment_name, seg_name): Ditto.
643 * config/obj-vms.h (segment_name, seg_name): Ditto.
644 * config/obj-coff.h (segment_name): Ditto.
645 * config/obj-coffbfd.h (segment_name): Ditto.
646
647 * Changes for BFD_ASSEMBLER:
648 * obj.h (obj_crawl_symbol_chain): Declare only if not
649 BFD_ASSEMBLER.
650 (obj_header_append, obj_pre_write_hook): Ditto.
651 * as.h (stdoutput): New var, defined only if BFD_ASSEMBLER.
652 (segT) [BFD_ASSEMBLER]: New typedef for "asection *".
653 (segment_name) If BFD_ASSEMBLER, look up BFD section name;
654 otherwise, use seg_name array.
655 (seg_name): Declare only if not BFD_ASSEMBLER.
656 (section_alignment): Declare only if not BFD_ASSEMBLER.
657 (big_section, reg_section, pass1_section, diff_section,
658 absent_section, text_section, data_section, bss_section): If
659 BFD_ASSEMBLER, declare as variables; otherwise, declare as macros,
660 mapping to segT enum values.
661 (tc_aout_fix_to_chars, next_object_file_charP): Force parse errors
662 if these are used or defined, if BFD_ASSEMBLER.
663 (subseg_set, subseg_new) [BFD_ASSEMBLER]: Functionality of old
664 subseg_new split into two functions.
665 (SEG_NORMAL): For BFD_ASSEMBLER, always return true, for now.
666
667 * as.h (volatile): Don't define if already defined.
668 (had_errors, had_warnings): Provide prototypes for ANSI C even if
669 NO_STDARG.
670 (as_bad, as_fatal, as_tsktsk, as_warn): For GNU C version 2,
671 declare with format attribute for -Wformat checking.
672
85825401
ILT
673Wed Dec 30 10:18:57 1992 Ian Lance Taylor (ian@cygnus.com)
674
675 * app.c, config/tc-*.c: Don't include read.h, since it is already
676 included by as.h.
677
678 * These are based on patches from Minh Tran-le
679 <mtranle@paris.intellicorp.com>.
680 * configure.in (i[34]86-ibm-aix*): Accept i486 for host. Use
681 obj_format coffbfd and gas_target i386coff for target.
682 (i[34]86-*-isc*): New host (uses sysv).
683 * config/i386aix.mt: Removed (no longer used).
684 * config/mh-i386aix (RANLIB): Use true rather than /bin/true.
685 (MINUS_G): Removed.
686 (LDFLAGS): Added, defined as -shlib.
687 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Undefine.
688 * config/te-sco386.h (LOCAL_LABEL): Don't define.
689 (DOT_LABEL_PREFIX): Define.
690 * expr.c (operand): If DOT_LABEL_PREFIX, use .L0\001 as a label
691 name rather than L0\001.
692 * read.c (s_lcomm): Make a frag in SEG_BSS rather than using
693 local_bss_counter.
694 * symbols.c, symbols.h (local_bss_counter): Removed.
695 * write.c (write_object_file): bss no longer uses
696 local_bss_counter. Pass correct data and bss size to
697 VMS_write_object_file.
698 * config/obj-vms.c (VMS_write_object_file): Accept bss size as
699 argument, rather than using local_bss_counter.
700 * config/tc-m88k.c (s_bss): Don't use local_bss_counter.
701 * config/tc-sparc.c (s_reserve): Don't use local_bss_counter.
702 * config/obj-coffbfd.c (had_lineno, had_reloc): Removed.
703 (size_section): Restored sanity check.
704 (do_relocs_for): Base section address on s_paddr rather than
705 computing it. Adjust a29k R_IHIHALF special case to account for
706 section paddr (used to require paddr to be zero). If there are no
707 reclos, set s_relptr to 0. Set relocation size in object_headers.
708 (fill_section): Always set s_vaddr here, removing
709 ZERO_BASED_SEGMENTS case. Force s_scnptr for bss to 0. Don't set
710 NOLOAD for i386 .bss, because it confuses the SVR3 native linker.
711 Set STYP_INFO for .comment.
712 (coff_header_append): Use object headers and H_{SET,GET}_* macros.
713 Make aouthdr writing depend on OBJ_COFF_OMIT_OPTIONAL_HEADER.
714 (crawl_symbols): Handle 8 character section name correctly. Use
715 H_{SET,GET}_* macros.
716 (do_linenos_for): Set lineno size in object_headers.
717 (write_object_file): Use H_{SET,GET}_* macros. Don't bother to
718 set s_vaddr here. If string_byte_count remains 4, set it back to
719 0, and only write strings out if there are some. Call
720 fill_section before do_relocs_for and do_linenos_for.
721 (obj_coff_section): Handle optional quoted second argument giving
722 section characteristics.
723 (obj_coff_bss): Added to handle .bss.
724 (obj_coff_ident): Added to handle .ident (puts string in .comment
725 section).
726 (obj_coff_lcomm): Put common symbols in .bss, not .data.
727 (fixup_mdeps): Change to segment. Call frag_wane after
728 md_convert_frag.
729 (fixup_segment): Explicitly check S_IS_COMMON before making 386
730 adjustment (already happened only for common symbols, but this is
731 clearer).
732 * config/obj-coffbfd.h (OBJ_COFF_OMIT_OPTIONAL_HEADER): Define.
733 * config/tc-i386.c (s_bss): Don't use if I386COFF.
734 (md_pseudo_table): Ignore .optim and .noopt.
735 (tc_coff_sizemachdep): New function.
736 * config/tc-i386.h (REVERSE_SORT_RELOCS): Undef, for SVR3
737 compatibility.
738 (LOCAL_LABEL): Removed definition.
739 (DOT_LABEL_PREFIX): Defined.
740
4539aa02
KR
741Mon Dec 28 10:32:05 1992 Ken Raeburn (raeburn@cygnus.com)
742
6d331d71
KR
743 * app.c (app_push): Use memcpy, not bcopy.
744 (do_scrub_next_char): For \", return " not '.
745 (symbol_chars): Now const.
746
4539aa02
KR
747 * expr.c (operand): If not LOCAL_LABELS_FB, don't look for "0f"
748 and "0b". If LOCAL_LABELS_DOLLAR, check for "0$".
749
750 * config/obj-coff.h: Don't use #elif.
751
752 * config/ho-sunos.h: Don't include sys/stdtypes.h; 4.0.3 doesn't
753 have it. (Reported by Noah Friedman, friedman@gnu.ai.mit.edu.)
754
3eb802b5
ILT
755Wed Dec 16 12:12:33 1992 Ian Lance Taylor (ian@cygnus.com)
756
757 * write.c, obj-ieee.c: don't define SUB_SEGMENT_ALIGN if it is
758 already defined.
759
be06bdcd
SC
760Tue Dec 15 12:40:11 1992 Steve Chamberlain (sac@thepub.cygnus.com)
761
762 * app.c (do_scrub_begin): allow single quote strings if so
763 configured.
764
765 * config/*z8k*: checkpoint
766
767Sun Dec 13 00:04:38 1992 Ian Lance Taylor (ian@cygnus.com)
768
769 * read.c (read_a_source_file): avoid calling xmalloc (0).
770
016e0d42
ILT
771Sat Dec 12 15:26:34 1992 Ian Lance Taylor (ian@cygnus.com)
772
773 * listing.c: Call xmalloc, not malloc; don't declare malloc.
774
775 * Changes to support SCO 3.2v4:
776 * read.c (s_align_bytes, s_align_ptwo): If not SEG_DATA or
777 SEG_BSS, fill with NOP_OPCODE.
778 * config/i386coff.mt: Add opcode/i386.h to TARG_CPU_DEPENDENTS.
779 * config/obj-coffbfd.c (do_relocs_for): Increment addr even if not
780 using ZERO_BASED_SEGMENTS.
781 (fill_section): If ZERO_BASED_SEGMENTS, set segment addresses, but
782 never set segment address for SEG_E2 (.bss) and don't write out
783 SEG_E2 contents. Set .init and .fini sections to STYP_TEXT.
784 (obj_coff_endef): Don't merge labels or symbols awaiting forward
785 definitions, and don't merge tags with non-tags. Check for .bf
786 rather than just checking whether the second character is b and
787 the third character is f.
788 (obj_coff_val): gcc can generate values which we don't handle
789 correctly; discard information for now, since it only affects the
790 debugging information.
791 (tag_find_or_name): Don't insert tags in the symbol table.
792 (yank_symbols): Don't merge labels.
793 (write_object_file): Don't define SUB_SEGMENT_ALIGN if it is
794 already defined. Fill subsegments with NOP_OPCODE, not 0. Don't
795 set segment address if ZERO_BASED_SEGMENTS.
796 (obj_coff_section): Accept and ignore a trailing quoted string, as
797 used in AT&T i386 syntax.
798 (fixup_segment): Take segment as argument. On the i386, adjust PC
799 relative addends by the segment vaddr.
800 * tc-i386.h: Define SUB_SEGMENT_ALIGN.
801 * tc-a29k.h: Define ZERO_BASED_SEGMENTS.
802 * tc-i386.c: (i386_operand): If I386COFF, accept any segment type.
803
db33220f
KR
804Tue Dec 8 00:06:48 1992 Ken Raeburn (raeburn@rtl.cygnus.com)
805
016e0d42
ILT
806 * config/obj-coffbfd.c: Include libcoff.h.
807
db33220f
KR
808 * version.c: Now version 1.93.
809
dde624ef
KR
810Mon Dec 7 00:39:09 1992 Ken Raeburn (raeburn@cygnus.com)
811
db33220f
KR
812 * config/tc-i386.c (md_pseudo_table): For 386bsd and linux, do
813 power-of-two alignment for .align.
814
dde624ef
KR
815 * as.h: If BROKEN_ASSERT, just redefine `assert' to be trivial,
816 and leave everything else alone.
817
818Fri Dec 4 16:58:42 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
819
820 * Makefile.in (as.new): Don't bother saving as.old.
821
822 * write.c: Conditionalize on OBJ_VMS, not VMS.
823 (magic_number_for_object_file): Don't define if OBJ_VMS.
824
825 * config/obj-vms.c: Changes for traditional C.
826
7f2cb270
KR
827Thu Dec 3 01:24:07 1992 Ken Raeburn (raeburn@kr-pc.cygnus.com)
828
829 * config/ho-generic.h (malloc, realloc): Declare.
830
831 * Lots of comment/whitespace changes.
832
833 * write.h (struct fix): Some fields reordered, narrowed.
834
835 * read.c (MASK_CHAR): Define using C types, not magic number.
836
837 * as.c, input-file.c: Deleted some unused code.
838
839 * app.c, as.h: Doc fix.
840
841 * flonum-konst.c, flonum-mult.c: Include ansidecl.h.
842
843 * as.h (xmalloc): Argument is long.
844
845 * xmalloc.c (error): Remove declaration; as.h takes care of it.
846
0cca30f3
KR
847 * doc/as.texinfo: Regrouped documentation of some command-line
848 options. Updated options documentation for m68k. Some minor
849 wording/punctuation changes.
850
7f2cb270
KR
851Mon Nov 30 11:42:11 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
852
853 * configure.in: Accept target OS "vms".
854
855 * symbols.c: Merged ANSI and non-ANSI function decls, using
856 PARAMS macro.
857
858 * xmalloc.c: Just include as.h, don't bother trying to figure out
859 other header files.
860
861 * strstr.c, strerror.c: Deleted.
862 * Makefile.in: Deleted references.
863
864 * config/tc-ns32k.c: Don't include header file for string
865 declarations; leave that to ho-*.h.
866
867Fri Nov 27 04:11:36 1992 Ken Raeburn (raeburn at cambridge-laptop.cygnus.com)
868
869 * config/coff_gnu.h [TC_I860]: Guesses for reloc type values,
870 imported from FSF sources.
871
872 * messages.c (strerror): Declare unconditionally.
873
874 * as.h: Delete alloca and register definitions.
875
876 * config/atof-ieee.c (mask): Now const.
877
878 * obstack.c, obstack.h: Deleted.
879
880 * as.h (flag_readonly_data_in_text): New flag.
881 * as.c (main): Set it for -R.
882
883 * as.h (flag_suppress_warnings): New flag.
884 * as.c (main): Set it for -W.
885 * messages.c (as_warn): Check it instead of flagseen['W'].
886
887 * as.h (flag_always_generate_output): New flag.
888 * as.c (main): Set it for -Z.
889
890 * config/tc-sparc.h: Define NEED_FX_R_TYPE.
891 * config/tc-a29k.h: Ditto.
892 * write.h (struct fix): Don't conditionalize fx_r_type field on TC
893 macros.
894
895 * as.h: Merged ANSI and non-ANSI function decls, using PARAMS
896 macro.
897 * bignum.h, expr.h, flonum.h, frags.h, input-file.h, listing.h,
898 obj.h, output-file.h, read.h, struc-symbol.h, symbols.h, tc.h,
899 write.h: Likewise.
900 * read.c: Likewise.
901
902 * xmalloc.c: Conditionalize on HAVE_MALLOC_H, not USG. Fold in
903 xrealloc from xrealloc.c.
904 * xrealloc.c: Deleted.
905 * Makefile.in (REAL_SOURCES, OBJS): Adjusted.
906
907 * configure.in: For host CPU a29k, rs6000, vax, consider using bsd
908 or vms ho- files.
909
910 * config/ho-sysv.h (setbuffer, HO_USG): Deleted.
911
912 * config/atof-ieee.c (atof_ieee): Exponent field isn't a pointer;
913 don't initialize it with NULL.
914
915 * config/ho-vax.h (M_VAX): Deleted; was unused.
916
917 * README-vms, config/ho-vms.h, config/obj-vms.c, config/obj-vms.h:
918 New files imported from FSF version, contributed by Eric Youngdale.
919 * README-vms-dbg, config/vms: Deleted.
920
921 * ChangeLog, config/ChangeLog: Merged.
922
923 * config/*tahoe*, configure.in: Tahoe support brought in from FSF
924 version.
925
926 * input-file.c (input_file_open): Eliminate call to setvbuf.
927 [USG] (setbuffer): Deleted macro.
928
6efd877d
KR
929Mon Nov 23 11:00:16 1992 Ken Raeburn (raeburn@cygnus.com)
930
931 * all files: Whitespace changes for GNU indentation style, done by
7f2cb270 932 GNU `indent'. Some cleanup still needed, especially of comments.
6efd877d
KR
933
934 * configure.in: No te-386bsd.h file exists; don't try to use it.
935
7f2cb270
KR
936 * obj-coff.c (obj_coff_endef): Use as_warn, not fprintf.
937
938 * tc-m68k.c (md_assemble): Don't complain about 68000 with 68881;
939 could be doing emulation.
940
0cca30f3
KR
941Thu Nov 19 11:47:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
942
943 z8000 documentation
944 * doc/Makefile.in, doc/all.m4, doc/as-all.texinfo, doc/as.texinfo:
945 all modified.
946
6efd877d
KR
947Tue Nov 10 09:49:24 1992 Ian Lance Taylor (ian@cygnus.com)
948
949 * Makefile.in (as.o, obj-format.o): added dependency on subsegs.h.
950
951 * subsegs.h: add extern to segment_info declaration.
952
953 * read.h: added extern declarations for comment_chars,
954 line_comment_chars, and line_separator_chars.
955 read.c, app.c: removed definitions of comment_chars,
956 line_comment_chars, and line_separator_chars.
957
7f2cb270
KR
958 * tc-m68k.c (m68k_reg_parse): If REGISTER_PREFIX isn't defined,
959 still accept (but don't require) OPTIONAL_REGISTER_PREFIX before
960 the register name.
961 (insert_reg): put REGISTER_PREFIX before register names before
962 putting them in the symbol table.
963 * tc-m68k.h (OPTIONAL_REGISTER_PREFIX): Define to be "%", if not
964 M68KCOFF.
965
966 * obj-coffbfd.c (fill_section): set STYP_NOLOAD bit for .bss
967 section.
968
969 * atof-ieee.c, atof-ns32k.c, tc-*.c: made EXP_CHARS, FLT_CHARS,
970 comment_chars, line_comment_chars and line_seperator_chars
971 consistently const, and always initialized them. Included read.h.
972
973Thu Nov 5 17:55:41 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
974
975 * tc-sparc.c (sparc_ip): Add code to flag error if an absolute
976 constant will not fit in an immediate field.
977 (md_apply_fix, RELOC_BASE13 case): Check for relocation overflow.
978
979Wed Nov 4 07:50:46 1992 Ken Raeburn (raeburn@cygnus.com)
980
981 * obj-coff.c (callj_table): Delete global variable.
982 (obj_emit_relocations): Define it locally here, and only if
983 TC_I960 is defined.
984
985 * tc-m68k.c (m68k_reg_parse): Underscore is part of a symbol name.
986 (m68k_ip): Don't warn about bignum used as float bit-pattern.
987
988 * obj-coff.c: Replaced ANSI and non-ANSI function declarations
989 with a single set using PARAMS macro.
990
991 * tc-i960.c (tc_bout_fix_to_chars): Bit-field fixups want a length
992 of 2.
993
994 * tc-i960.c: Missed a couple of 0->NO_RELOC conversions.
995
996 * tc-i960.h (N_BALNAME, N_CALLNAME): Define as char-type values,
997 so widening works consistently.
998
6efd877d
KR
999Wed Oct 28 08:52:34 1992 Ken Raeburn (raeburn@cygnus.com)
1000
1001 * version.c: Put conditional "const" before version_string, not
1002 before dummy function for VMS. Now version 1.91.03.
1003
1004 * app.c (do_scrub_next_char): Need double-\ before `000' to show
1005 printed rep of null character.
1006
7f2cb270
KR
1007Fri Oct 23 14:40:38 1992 Ian Lance Taylor (ian@cygnus.com)
1008
1009 * obj-coffbfd.c (write_object_file): check return value of
1010 bfd_close_all_done.
1011
559d9aac
ILT
1012Tue Oct 20 12:18:08 1992 Ian Lance Taylor (ian@cygnus.com)
1013
7f2cb270
KR
1014 * Support for i386-sysv.
1015 obj-coffbfd.c (do_relocs_for, write_object_file): set segment
1016 addresses to reasonable sizes. New define ZERO_BASED_SEGMENTS can
1017 be used to set them all to zero as was done before.
1018 (fill_section): segment addresses now set in write_object_file.
1019 (fill_section): Don't set STYP_NOLOAD for .bss section.
1020 (fixup_segment): 386 uses strange common symbol format.
1021 tc-i386.c (tc_coff_fix2rtype): use R_DIR32, not R_RELLONG, for
1022 compatibility with SVR3.2 linker.
6efd877d
KR
1023 * configure.in: i386-sysv and i386-sco use coffbfd.
1024
559d9aac
ILT
1025 * app.c (do_scrub_next_char): discard whitespace after a label.
1026
0f8b9790
DZ
1027Sat Oct 10 12:33:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1028
1029 * configure.in: differentiate between SunOS 4 and Solaris2 for Sun4
1030 hosts, use the sysv configuration for solaris2
1031
7f2cb270
KR
1032Mon Oct 5 09:28:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1033
1034 fix i960+non-bfd coff bit rot.
1035 * obj-coff.c (c_dot_file_symbol, obj_coff_ln, obj_coff_line):
1036 support for C source listings. (obj_coff_endef): look in the right
1037 part of the symbol for the symbol name
1038
1039 * tc-m68k.c (get_num): make it work for all segments, not just the
1040 first three.
1041
984cf2d7
ME
1042Mon Oct 5 03:30:36 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
1043
1044 * configure.in: recognize i386-*-bsd emulation.
1045
1046Thu Oct 1 23:05:12 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1047
1048 * configure.in: use the cpu-vendor-os triple for host and target
1049
7f2cb270
KR
1050Tue Sep 29 12:22:52 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1051
1052 * obj-coffbfd.c (write_object_file): don't fixup for the z8k
1053 * tc-z8k.c: lots of bug fixes
1054
1055Tue Sep 29 10:51:55 1992 Ian Lance Taylor (ian@cygnus.com)
1056
1057 * tc-i960.h, tc-i960.c: avoid the ANSI preprocessor addition
1058 #elif, since it is not supported by old compilers.
1059 ho-rs6000.h, tc-m68k.c: the native RS/6000 compiler miscompiles a
1060 couple of expressions in tc-m68k.c.
1061
984cf2d7
ME
1062Mon Sep 28 21:18:24 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
1063
1064 * read.c (cons): If NO_RELOC is defined, use it.
1065
7f2cb270
KR
1066 * tc-i960.c (get_cdisp): Use NO_RELOC, not 0, in call to fix_new.
1067
1068Fri Sep 25 18:18:52 1992 Ian Lance Taylor (ian@cygnus.com)
1069
1070 * tc-m68k.h: if M68KCOFF, define DOT_LABEL_PREFIX (to require
1071 local labels to start with a .) and set REGISTER_PREFIX to %.
1072 tc-m68k.c (m68k_reg_parse): accept REGISTER_PREFIX if defined.
1073
5a0fc1d4
JG
1074Fri Sep 25 17:53:43 1992 John Gilmore (gnu@cygnus.com)
1075
1076 * messages.c: Comment changes.
1077
4959cb7b
KR
1078Fri Sep 25 14:12:58 1992 Ken Raeburn (raeburn@kyriath.cygnus.com)
1079
1080 * as.h: Test if __STDC__ is defined only, don't test its value.
1081 * messages.c: If __STDC__ is not defined, define NO_STDARG.
1082
5e9d510e
BK
1083Thu Sep 24 12:42:32 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
1084
1085 * listing.c (debugging_pseudo): Add stabs and stabn as things to
1086 ignore.
1087
7f2cb270
KR
1088Tue Sep 22 13:02:07 1992 Sean Eric Fagan (sef@cygnus.com)
1089
1090 * obj-coffbfd.c (do_relocs_for,fill_section): now allocate all
1091 sections starting from zero, rather than making them consecutive.
1092 This makes subsequent reloc calculations easier, esp if the object
1093 format doesn't understand addends. (obj_coff_lcomm): (maybe temporarily)
1094 allocate lcomm in .data rather than in .bss. It seems that some
1095 tools can't cope with a non-zero sized bss before linkage.
1096
1097Tue Sep 22 15:10:51 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
1098
1099 * tc-m68k.c: Replace "enum m68k_architecture" with "int"
1100 throughout. That enum no longer means what we thought it meant.
1101
1102 * tc-m68k.c (md_assemble, md_parse_option): Handle new
1103 "-mno-688[58]1" options.
1104
1105 * tc-m68k.c: Added CPU32 support.
1106
1107Fri Sep 18 08:02:18 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1108
1109 * tc-m68k.c (m68k_ip): An(disp) is not pc relative.
1110
569dac15
JW
1111Tue Sep 15 17:25:05 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
1112
1113 * Makefile.in (as.new): Remove dependence on LOCAL_LOADLIBES.
1114 Change LIBDEPS dependence to LIBS.
1115
efbfb612
ILT
1116Tue Sep 15 15:32:02 1992 Ian Lance Taylor (ian@cygnus.com)
1117
1118 * Makefile.in (install): if $(tooldir) exists, install as in
1119 $(tooldir)/bin.
1120
987b1491
ILT
1121Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com)
1122
ca5e9d49
ILT
1123 * Added WARN_SIGNED_OVERFLOW_WORD define to give an error if any
1124 .word is < -32768 or > 32767. The -J flag causes the error to be
1125 ignored. This is to catch over-sized switches generated by gcc on
1126 systems which don't support the broken .word hack.
1127 as.c (main): permit -J if WARN_SIGNED_OVERFLOW_WORD.
1128 write.c (fixup_segment): check for signed .word overflow if
1129 WARN_SIGNED_OVERFLOW_WORD.
1130
987b1491
ILT
1131 * write.c (fixup_segment): fixed missing parens in expression
1132 checking for byte or word overflow.
1133
7f2cb270
KR
1134 * obj-coffbfd.h: define WARN_SIGNED_OVERFLOW_WORD.
1135 obj-coffbfd.c (fixup_segment): check for signed .word overflow if
1136 WARN_SIGNED_OVERFLOW_WORD.
1137
1138 * obj-coffbfd.c (fixup_segment): fixed missing parens in
1139 expression checking for byte or word overflow.
1140
1141Fri Sep 11 10:21:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1142
1143 Support for i386 coff
1144 * obj-coffbfd.h : added stuff
1145 * tc-i386.c (tc_coff_fix2rtype): new function
1146 * tc-i386.h : new coff defines
1147
b1520b1f
ILT
1148Thu Sep 10 09:23:15 1992 Ian Lance Taylor (ian@cygnus.com)
1149
1150 * input-scrub.c (input_scrub_push): call input_file_begin, not
1151 input_scrub_begin.
1152 messages.c (as_perror): print ": " between the passed in error and
1153 the strerror, like perror does.
1154
b53ccaac
ILT
1155Wed Sep 9 11:06:25 1992 Ian Lance Taylor (ian@cygnus.com)
1156
1157 * Makefile.in: use gas_target instead of modifying target_cpu.
1158 From Steve Chamberlain:
1159 Makefile.in: Handle m68*-*-coff*.
1160 read.c, read.h: add mult argument to s_space
1161
7f2cb270
KR
1162 * tc-m68k.c (m68k_ip, m68k_ip_op, get_num, try_moto_index): merge
1163 Motorola and MIT syntax; gas can now assemble either type of
1164 file.
1165 tc-m68kmote.c, tc-m68kmote.h: removed now superfluous files.
1166 From Steve Chamberlain:
1167 m68kcoff.mt: for m68k COFF.
1168 obj-coffbfd.c: (fixup_mdeps) added
1169 (size_section) removed bad sanity check
1170 (fill_section) added rs_machine_dependent case
1171 (write_object_file) call fixup_mdeps
1172 (fixup_segment) set fx_subsy to 0.
1173 obj-coffbfd.h: define WORKING_DOT_WORD (too hard to support) and
1174 handle m68k.
1175 tc-m68k.c, config/tc-m68k.h: added m68k COFF support and Motorala
1176 pseudo ops.
1177
db4d20e5
KR
1178Tue Sep 8 17:10:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
1179
1180 * Makefile.in (LIBS): Include opcode library.
1181
e53ab768
KR
1182Fri Sep 4 18:20:56 1992 Ken Raeburn (raeburn@cygnus.com)
1183
1184 * config/tc-m68k.c (get_num, case SEG_BIG): If only small integers
1185 including zero are accepted, pass +0.0.
1186
7e10f53c
ILT
1187Sun Aug 30 21:24:46 1992 Ian Lance Taylor (ian@cygnus.com)
1188
1189 * Makefile.in: map "as" through program_transform_name when
1190 installing.
1191
0cca30f3
KR
1192 * doc/Makefile.in: map "as" through program_transform_name when
1193 installing.
1194
b0952e12
JW
1195Sat Aug 29 12:11:12 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
1196
1197 * Makefile.in (as.new): Depend on LOCAL_LOADLIBES.
1198
7f2cb270
KR
1199Fri Aug 28 16:25:22 1992 Ian Lance Taylor (ian@cygnus.com)
1200
1201 * obj-bout.h, obj-bout.c (obj_header_append, obj_symbol_to_chars),
1202 tc-i960.c (md_ri_to_chars): Always output bout object file in
1203 little endian byte order (used to use endianness of host).
1204
b2f221a9
KR
1205Tue Aug 25 15:50:48 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
1206
1207 * config/tc-m68k.c (init_table): Now const. Always include 68851
1208 data, so that "bc" is available to 68040 cache instructions.
1209 Added "tt0", "tt1", and 68ec030 variants.
1210 (md_assemble): Complain if 68000 (only) and 68881 are specified.
1211 (enum _register): Added TT0, TT1.
1212 (m68k_ip, cases '3' and 't'): Handle new operand type codes. Pass
1213 line number correctly in "internal error" messages. Don't print
1214 architecture-mismatch message for operand errors.
1215
1216 From Colin Smith (colin@wrs.com):
1217 * config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather
1218 than install_operand.
1219
ab737e51
SC
1220Tue Aug 25 15:13:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1221
1222 * listing.c (buffer_line): rewind to the start of include
1223 files, they might be included twice.
1224
7f2cb270
KR
1225 * z8k.c, z8k.h, z8k.mt: z8000 support stuff
1226
7121231f
ILT
1227Mon Aug 24 12:45:43 1992 Ian Lance Taylor (ian@cygnus.com)
1228
1229 * Makefile.in: defined TARGET_CPU for C code so that it can choose
1230 one element of a family.
1231
7f2cb270
KR
1232 * tc-m68k.c: use TARGET_CPU to choose default cpu type.
1233
1234 * te-generic.h: default to LOCAL_LABELS_DOLLAR and LOCAL_LABELS_FB
1235 so that we can assemble hand-written libgcc code.
1236
4772861e
KR
1237Fri Aug 21 14:38:44 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
1238
1239 * messages.c (as_warn): Use fputs, not fprintf, with a buffer that
1240 has already been formatted (but may still contain %-characters).
1241 (as_bad): Likewise.
1242
7f2cb270
KR
1243Wed Aug 19 11:20:59 1992 Ian Lance Taylor (ian@cygnus.com)
1244
1245 * tc-m68k.c, tc-m68kmote.c: the cas2 instruction is supposed to be
1246 written with indirection on the last two operands, which can be
1247 either data or address registers. Added a new operand type 'r'
1248 which accepts either register type. Added '(' to notend stuff in
1249 tc-m68kmote.c to accept (a0):(a2) in cas2 instruction.
1250
09952cd9
KR
1251Wed Aug 19 09:25:09 1992 Ken Raeburn (raeburn@cygnus.com)
1252
1253 * as.h (enum _relax_state): Start off at one, not zero, to better
1254 catch uninitialized-variable errors.
1255 (linkrelax): Declare new variable.
1256
1257 * messages.c (warning_count, error_count): Default initializer is
1258 sufficient.
1259
1260 * write.c: Merged some declarations, using PARMS macro.
1261 (text_frag_root, data_frag_root, bss_frag_root, text_last_frag,
1262 data_last_frag): No longer static.
1263 (write_object_file, case rs_align or rs_org): If HANDLE_ALIGN is
1264 defined, call it. Change segments before calling fixup_segment.
1265 (relax_align): If linkrelax, provide extra padding.
1266
1267 * obj-bout.c (obj_emit_relocations): Emit alignment relocs despite
1268 their not having symbols associated.
1269
1270 * tc-i960.c (norelax, instrument_branches): Default initializer is
1271 sufficient.
1272 (linkrelax): Delete variable definition.
1273 (mem_fmt): Call fix_new with NO_RELOC.
1274 (tc_bout_fix_to_chars): Handle alignment relocs.
1275 (i960_handle_align): New function.
1276 * tc-i960.h (linkrelax): Delete declaration.
1277 (HANDLE_ALIGN): New macro; calls i960_handle_align.
1278 (NEED_FX_R_TYPE, NO_RELOC): New macros.
1279
a457f4d9
KR
1280Tue Aug 18 14:59:21 1992 Ken Raeburn (raeburn@cygnus.com)
1281
1282 * config/sparc.mt: New file. Grab sparc opcode table from bfd
1283 library.
1284
4b857710
ILT
1285Tue Aug 18 14:16:38 1992 Ian Lance Taylor (ian@cygnus.com)
1286
1287 * Makefile.in: always create installation directories. Removed
1288 MINUS_G, set CFLAGS to default to -g, added FLAGS_TO_PASS, passed
1289 FLAGS_TO_PASS to recursive makes.
1290
0cca30f3
KR
1291 * doc/Makefile.in: always create installation directories.
1292
f7e9bc5a
SC
1293Mon Aug 17 15:09:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1294
1295 * input-scrub.c (input_scrub_pop, input_scrub_push): memcpy was
1296 being used with args swapped, causing occasional lossage when
1297 refilling buffers after an include file.
1298
c1c28543
KR
1299Mon Aug 17 13:18:51 1992 Ken Raeburn (raeburn@cygnus.com)
1300
1301 * messages.c (as_tsktsk): Use correct ANSI form for stdarg
1302 version. Discard bogus DONTDEF version.
1303 (as_warn, as_bad, as_fatal): Likewise.
1304
2e20e59a
KR
1305Fri Aug 14 18:31:14 1992 Ken Raeburn (raeburn@cygnus.com)
1306
1307 * config/tc-m68k.c (m68k_ip): If instruction is invalid for the
1308 selected architecture, print a message saying so and listing what
1309 processors support it, rather than saying "operands mismatch".
1310
c8c7e0bf
KR
1311Thu Aug 13 13:53:19 1992 Ken Raeburn (raeburn@cygnus.com)
1312
1313 * as.h [BROKEN_ASSERT]: If defined, turn off all assertion checks.
1314
1315 * config/ho-rs6000.h (M_RS6000): Don't define it.
1316 (free): Declare it.
1317 (BROKEN_ASSERT): Define it if not __STDC__.
1318
7f2cb270
KR
1319Tue Aug 11 12:58:14 1992 Ken Raeburn (raeburn@cygnus.com)
1320
1321 * sparc.mt: New file.
1322
1323Mon Aug 10 14:37:08 1992 Per Bothner (bothner@cygnus.com)
1324
1325 * tc-m68k.c: ".align N" means align to N-byte boundary *only*
1326 if TN_SUN3; otherwise align to 2**N-byte bounary.
1327
7fd3560a
SC
1328Thu Aug 6 12:10:39 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1329
1330 * read.c (s_fill): make the .fill size clamped error a warn and
1331 fix bug where 0's were always placed.
1332
7f2cb270
KR
1333 * config/tc-h8300.c: if a :8 is seen after an operand, fill top
1334 two bytes of any constant with 0xff:
1335
62594bd7
SC
1336Wed Aug 5 12:02:40 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1337
1338 * config/tc-m68k.c (md_pseudo_table): fix the .align thing
4f3569fa 1339 the right way; for just the 68k. Sun 3 .align is nbytes, not ptwo.
62594bd7 1340
7f2cb270
KR
1341Wed Aug 5 01:54:34 1992 John Gilmore (gnu at cygnus.com)
1342
1343 * tc-m68k.c (try_index): Error if index scaling specified and
1344 assembling for an older CPU than a 68020.
1345
680227f3
KR
1346Sat Aug 1 19:10:13 1992 Ken Raeburn (raeburn@cygnus.com)
1347
1348 * config/tc-sparc.c (tc_aout_fix_to_chars): If pc-relative, take
1349 fx_offset into account.
1350
c51ccfd5
KR
1351Fri Jul 31 21:53:28 1992 Ken Raeburn (raeburn@cygnus.com)
1352
1353 * configure.in (mips host): Accept "ultrix" with version number.
1354
1355 * expr.c (floating_constant): Separate "=-" to avoid confusing
1356 ancient or broken compilers.
1357
1358 * config/tc-m68k.c (m68k_ip): Mismatch error could also indicate
1359 processor/opcode mismatch, so reword the error message.
1360 (md_assemble): If no CPU has been set (even if FPU/PMMU
1361 characteristics have been), default to 68020. Don't need extra
1362 quotes around error string.
1363
14f1fc24
JW
1364Fri Jul 31 12:26:34 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
1365
1366 * read.c (potable): Revert sac's incorrect change made Jul 13.
1367 Align really is supposed to be ptwo not nbytes.
1368
1369Mon Jul 20 02:51:59 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
1370
1371 * Makefile.in: _Do_ include libiberty. (from sef)
1372
1373Fri Jul 17 15:15:28 1992 Ken Raeburn (raeburn@cygnus.com)
1374
1375 * expr.c (integer_constant): Handle "0f" and "0b" label references
1376 properly.
1377
462088b8
SC
1378Thu Jul 16 08:20:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1379
1380 * write.c (fixup_segment): if relaxing, don't do anything.
1381 * config/obj-bout.[ch] : maintain the a_relaxable file header info
1382 * config/tc-i960.c: new option -linkrelax
1383
1384Mon Jul 13 14:11:36 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1385
1386 * expr.c (expr): allow SEG_BSS in expressions
1387 * read.c (potable): align should be nbytes, not ptwo!
1388 * write.c (write_object_file): extra glue for new bss attributes
1389 (relax_segment): SEG_BSS is ok now
1390 * config/tc-m68k.c (m68k_ip_op): can now parse more @( modes
1391
7f2cb270
KR
1392Mon Jul 6 17:09:32 1992 Steve Chamberlain (sac@cygnus.com)
1393
1394 * obj-coffbfd.c (fill_section): mark .lit sections as STYP_LIT
1395
462088b8
SC
1396Mon Jun 1 16:20:22 1992 Michael Tiemann (tiemann@cygnus.com)
1397
1398 * configure.in: recognize m680x0 as having sun3 emulation mode for
1399 vxworks environment.
1400
1401
0b0b5dba
DHW
1402Tue Jun 30 20:25:54 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
1403
1404 * Makefile.in: Add program_suffix (parallel to program_prefix)
1405
7c2d4011
SC
1406Wed Jun 24 10:57:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1407
1408 * app.c (process_escape): new function to handle escapes the right
1409 way, (do_scrub_next_char): use new function
1410 * cond.c (s_ifdef): do ifdef/ifndef right
1411 * read.c (s_fill): make the , expressions optional like the doc
1412 says
1413 * config/tc-h8300.[ch]: better warnings
1414
90d49457
SC
1415Tue Jun 9 07:54:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1416
65bfcf2e
SC
1417 * subsegs.c (subsegs_begin): create bss0_frchainP in the same was
1418 as data0_frchainP
1419
1420 * write.c (write_object_file): various changes to handle data in
1421 the BSS segment in much the same was as stuff in the DATA segment.
1422
7f2cb270
KR
1423 * tc-m68k.c (m68kip): Fix typo so that only arch's >=68020 do
1424 pcrel data stuff. (md_estimate_size_before_relax): when relaxing a
1425 68010 bxx into a bra+6 jmpxx, put the bytes of the jmp opcode into
1426 the right place. (s_bss): Don't put .bss stuff into SEG_DATA, put
1427 it into SEG_BSS
462088b8 1428
f8701a3f
SC
1429Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1430
1431 * expr.c(expr): allow SEG_REGISTER in expressions.
1432 * read.c(pseudo_set): register expressions can be the source of a
1433 set.
1434 * subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
1435 goto SEG_TEXT (if a.out)
1436 * write.c (write_object_file): If a.out don't use the old way for
1437 -R.
1438 * config/obj-a.out (s_sect): complain if the user tries to use a
1439 subsegment with a value which might interfere with out -R hackery.
1440 * config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
1441 rather than use ugly if tree. (init_regtable): insert register
1442 names into symbol table.
1443
ebfb4167
MT
1444Tue Jun 2 16:47:09 1992 Steve Chamberlain (sac@cygnus.com)
1445
1446 * write.c (write_object_file): keep the fix_tail clean, which
1447 fixes a bug in -R where relocations were being lost.
1448
1449Mon Jun 1 16:20:22 1992 Michael Tiemann (tiemann@cygnus.com)
1450
1451 * configure.in: recognize m680x0 as having sun3 emulation mode for
1452 vxworks environment.
1453
1454Sun May 31 05:33:00 1992 david d `zoo' zuhn (zoo@cygnus.com)
1455
1456 * configure.in: recognize m680x0 as an m68k
1457
dfd53fe9
JW
1458Thu May 28 11:22:02 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
1459
1460 * configure.in: Recognize sparclite as a sparc variant.
1461
7f2cb270
KR
1462 * tc-sparc.c: Use new ARCHITECTURES_CONFLICT_P macro. Mention new
1463 -Asparclite flag.
1464
d312e231
SC
1465Tue May 26 16:47:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1466
1467 * config/tc-a29k.c: lint
1468 * listing.c, expr.c: patches from Andrew Smith
1469
0cca30f3
KR
1470Thu May 14 17:22:48 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1471
1472 * doc/Makefile.in: use m4 rather than gm4.
1473
7f2cb270
KR
1474Mon May 4 18:56:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1475
1476 * obj-coffbfd.c: use is a synonym for section, (do_relocs_for):
1477 calc the base of relocs correctly.
1478 * tc-a29k.c (parse_operand): allow expressions to be in any section.
1479
d312e231
SC
1480Mon Apr 27 13:13:31 1992 K. Richard Pixley (rich@cygnus.com)
1481
1482 * as.c, write.c: use -K rather than -k for the broken word warning
1483 option.
1484
fa493b93
RP
1485Tue Apr 21 13:35:30 1992 K. Richard Pixley (rich@cygnus.com)
1486
1487 * Makefile.in: do not print recursion lines.
1488
d96c09ed
RP
1489Wed Apr 15 21:19:31 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1490
1491 * Makefile.in: the tooldir copy of gas goes directly in tooldir.
1492
1493Tue Apr 14 14:50:22 1992 Ken Raeburn (Raeburn@Cygnus.COM)
1494
1495 * write.c (write_object_file): For b.out format, round up section
1496 start addresses to match required alignment.
1497
81484684
KR
1498Thu Apr 9 05:45:29 1992 Ken Raeburn (Raeburn@Cygnus.COM)
1499
1500 * Makefile.in (install): Install into $(tooldir)/bin, since that's
1501 where gcc looks for it.
1502
3876b4c5
SEF
1503Tue Apr 7 15:12:15 1992 Sean Eric Fagan (sef@cygnus.com)
1504
1505 * Makefile.in: Changed some lines to be less confusing for some
1506 makes.
1507
1508 * input-file.c: Conditionalize on _IOFBF, not VMS.
1509
1510 * read.c, write.c: Change a series of ifdef/elif to
1511 ifdef/else/ifdef etc.
1512
1513Fri Mar 27 12:21:16 1992 K. Richard Pixley (rich@cygnus.com)
1514
1515 * symbols.c (fb_label_init): fix sizeof to memset.
1516
95a925b8
RP
1517Fri Mar 13 15:45:44 1992 K. Richard Pixley (rich@cygnus.com)
1518
3876b4c5
SEF
1519 * Makefile.in: install the man page.
1520
95a925b8
RP
1521 * Makefile.in: pass down MAKEINFO explicitly on info.
1522
0cca30f3
KR
1523 * doc/Makefile.in: use $(MAKEINFO) not makeinfo.
1524
5d53038b
SC
1525Fri Mar 13 08:03:03 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1526
1527 * flonum-const.c: renamed flonum-konst.c to stop dos name
1528 conflict.
1529
7f2cb270
KR
1530Thu Mar 12 04:42:38 1992 K. Richard Pixley (rich@cygnus.com)
1531
1532 * tc-m68k.h, te-sun3.h: moved LOCAL_LABELS_FB definition from
1533 tc-m68k.h to te-sun3.h.
1534
8c1b25e4
RP
1535Wed Mar 11 23:32:42 1992 K. Richard Pixley (rich@cygnus.com)
1536
1537 * configure.in: vxworks68 gets te-sun3.h.
1538
1539 * expr.c: remove limitation that local_labels_dollar or
1540 local_labels_fb must be < 10.
1541
1542 * symbols.c: remove local_labels_dollar, replace with a function
1543 interface for a sparse array. All users adjusted.
1544
7f2cb270
KR
1545 * te-sun3.h: add LOCAL_LABELS_DOLLAR.
1546
0cca30f3
KR
1547Sat Mar 7 00:06:25 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1548
1549 * doc/Makefile.in: commented out line for building as-all.texinfo.
1550 This is temporary.
1551
1552 * doc/as.texinfo, doc/as-all.texinfo: added menu item hooks.
1553
8c1b25e4
RP
1554Fri Mar 6 21:57:18 1992 K. Richard Pixley (rich@cygnus.com)
1555
1556 * Makefile.in: added check target.
1557
1558Tue Mar 3 15:45:56 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1559
1560 * Makefile.in: added tooldir and program_prefix.
1561
1562Sun Mar 1 04:43:19 1992 Michael Tiemann (tiemann@cygnus.com)
1563
1564 * write.{c,h} (fix_new): Make these declarations consistent.
1565
1651b22d
MT
1566Sat Feb 29 13:59:10 1992 Michael Tiemann (tiemann@cygnus.com)
1567
1568 * Makefile.in (strerror.o): Add rule so that broken Sun make can
1569 work in subdirs.
1570
5373c439
SC
1571Wed Feb 26 19:26:28 1992 Steve Chamberlain (sac at thepub.cygnus.com)
1572
1573 * read.c, obj-coffbfd.c : fix h8300 specific bit rot
1574
1575 * expr.c (operand): if can't work out what sort of operand it is,
1576 then look through FLT_CHARS for a hint.
1577
8c1b25e4
RP
1578Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
1579
1580 * Makefile.in, configure.in: removed traces of namesubdir,
1581 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
1582 copyrights to '92, changed some from Cygnus to FSF.
1583
0cca30f3
KR
1584 * doc/Makefile.in, doc/configure.in: removed traces of namesubdir,
1585 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
1586 copyrights to '92, changed some from Cygnus to FSF.
1587
f24f7577
SC
1588Tue Feb 25 14:17:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1589
14d3e47b
SC
1590 * expr.c: If an expression is single comma, then return with
1591 SEG_ABSENT rather than an error - since the sparc front end does
1592 really strange things with things like fbge,a
1593
f24f7577
SC
1594 * as.h: include bfd.h if using many sections
1595 * expr.c: LOCAL_LABELS_FB had been changed to lower case - so
1596 local labels didn't work.
1597 * listing.c (list_symbol_table): don't core dump when there's no
1598 symbol there.
1599 * write.c, write.h: call fix_new with the right number of args on
1600 the H8.
1601 * config/tc-h8300.[ch] : fix bugs reported by HMSI, and make
1602 errors nices
1603
c593cf41
SC
1604Sat Feb 22 12:26:28 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1605
1606 * app.c: MRI compatibility - allow single quote to start a string.
1607 * as.c: fix typo recently introduced.
1608 * as.h : Don't include aout/reloc.h - it's not right for COFF!
1609 * expr.c: Much rewriting, to accomodate MRI syntax for
1610 expressions. Also easier to read now.
1611 * listing.c: Put back defuns
1612 * read.c: modified to accept MRI syntax, put back listing pseudo
1613 ops so that an assembler built with NO_LISTING ignores list ops
1614 rather than pukes.
1615 * write.c, write.h: fixs - only keep a reloc type in a fix if the target
1616 machine is a SPARC or a 29K.
1617 * config/obj-aout.c: added s_sect pseudo op
1618 * config/obj-coffbfd.c: lints, set the filehdr flags right and
1619 fill in the timestamp.
1620 * config/obj-coffbfd.h: Since we don't include aout/reloc.h
1621 anymore, define all the relocs which the tc-<x> bit will use so we
1622 can translate from them to the coff types.
1623 * config/tc-a29k.c: reloc_type isn't ane enum any more
1624 * config/tc-m68k.c: Added NO_RELOC definition.
1625
2d97273c
RP
1626Fri Feb 21 06:21:07 1992 K. Richard Pixley (rich@rtl.cygnus.com)
1627
c593cf41
SC
1628 * Makefile.in: put header files before C source for TAGS; remove
1629 references to non-existent syscalls.h.
1630
2d97273c
RP
1631 * read.c, write.c subsegs.c: back out the .bss changes.
1632
7f2cb270
KR
1633 * obj-aout.c: do not include stab.gnu.h if NO_LISTING.
1634
1635 * tc-i860.c, a.out.gnu.h: move i860 relocs to a proper place.
1636
1637 * a.out.h: removed.
1638
6d5460ab
RP
1639Fri Feb 21 01:08:48 1992 Minh Tran-Le (TRANLE@INTELLICORP.COM)
1640
1641 * symbols.c (local_label_name): symbols now start with ^A.
1642
1643 * read.c, subsegs.c, write.c obj-coff.c: added handling of
1644 `.bss` pseudo op for unitialized data. The new gcc (1.37.9x)
1645 generate these sections. .align: will use NOP_OPCODE or 0
1646 for padding. This is just for being nice to the
1647 disassembler.
1648
1649 * expr.c (operand): changed to generate local label "\001L0"
1650 starting with a ^A so that it is recognized as a local label.
1651
1652 * as.c (perform_an_assembly_pass): zero bss_fix_root, too.
1653
7f2cb270
KR
1654 * tc-i386.c: tc-i386.c: added handling of the following opcodes:
1655 i/o opcodes - inb, inw, outb and outw. string manipulation with
1656 att syntax - scmp, slod, smov, ssca, ssto.
1657
1658 * obj-coff.c: (for aix386) Moved the symbols .text, .data and .bss
1659 to just after .file .
1660
1661 In obj_crawl_symbol_chain() where it tries to put the external
1662 symbols apart, with the condition:
1663 (!S_IS_DEFINED(symbolP) &&
1664 !S_IS_DEBUG(symbolP) &&
1665 !SF_GET_STATICS(symbolP))
1666 it was moving too many symbols out. So I switch it back to the
1667 condition:
1668 (S_GET_STORAGE_CLASS(symbolP) == C_EXT && !SF_GET_FUNCTION(symbolP))
1669
1670 In obj_emit_relocations() added the conditional on KEEP_RELOC_INFO
1671 so that we don't use the F_RELFLG which make the linker complain
1672 that somebody has stripped the relocation info.
1673
1674 Also, the AIX ld program require that the relocation table
1675 is sorted by r_vaddr like the standard ATT assembler does.
1676
1677 [he also changed the sizeof(struct ...)'s into the coff
1678 style FOOSZ macros. I'm not sure this is right, but I can't
1679 remember why. xoxorich.]
1680
d6e344db
RP
1681Fri Feb 21 01:08:48 1992 K. Richard Pixley (rich@cygnus.com)
1682
1683 * Makefile.in, configure.in, doc: use the doc. Build it, install
1684 it, clean it, etc.
1685
eb9eacd3
RP
1686Tue Feb 18 02:21:25 1992 K. Richard Pixley (rich at cygnus.com)
1687
aa3782d2
RP
1688 * read.c: white space and comments only.
1689
f816adbc
RP
1690 * configure.in: use the new atof-ns32.c for ns32k.
1691
eb9eacd3
RP
1692 * write.c: comment change only.
1693
7f2cb270
KR
1694 * tc-m88k.[hc]: pulled in from hack's unfinished work. These
1695 aren't yet integrated.
1696
1697 * tc-i860.[hc]: blew off the dust. Something must still be done
1698 about conflicting relocation types.
1699
1700 * tc-ns32k.c: Replaced previous tc_aout_fix_to_chars stub with the
1701 real thing.
1702
1703 * tc-i960.c, tc-sparc.c: white space and comments only.
1704
1705 * tc-a29k.h: delete duplicate macro definition.
1706
1707 * new file atof-ns32k.c copied from hack's last unreleased gas.
1708
542e1629 1709Mon Feb 17 07:51:06 1992 K. Richard Pixley (rich at cygnus.com)
b3ca913f 1710
eb9eacd3
RP
1711 * config/tc-ns32k.c: actually make tc_aout_fix_to_chars work
1712 rather than abort.
1713
542e1629
RP
1714 * nearly everything. flush ChangeLog, package as gas-1.92.1.
1715 ChangeLog's prior to this are sketchy at best. I have logs.
1716 They just aren't ChangeLogs.
This page took 0.124319 seconds and 4 git commands to generate.