1 Mon Nov 27 13:18:25 1995 Ian Lance Taylor <ian@cygnus.com>
3 * configure: Rebuild with autoconf 2.7.
5 Tue Nov 21 18:39:01 1995 Ian Lance Taylor <ian@cygnus.com>
7 * aclocal.m4 (AC_PROG_CC): Remove local definition.
8 * configure: Rebuild with autoconf 2.6.
10 Mon Nov 20 17:26:00 1995 Ian Lance Taylor <ian@cygnus.com>
12 * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
13 (ppc_stabx): Don't increment ppc_debug_name_section_size.
15 (ppc_frob_file): Remove.
16 * config/tc-ppc.h (tc_frob_file): Don't define.
17 (ppc_frob_file): Don't declare.
19 Mon Nov 20 13:37:05 1995 Ken Raeburn <raeburn@cygnus.com>
21 * Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
22 * config/alpha-opcode.h: Include one-operand variants of jmp and
25 * config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
26 with te-delta.h in 8.3 file systems.
27 * configure.in: Adjusted.
29 Thu Nov 16 12:49:38 1995 Ian Lance Taylor <ian@cygnus.com>
31 * config/tc-mips.c (s_err): Remove; just use the one in read.c.
33 * config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
35 * expr.c (operand): Handle MRI suffixes after unadorned 0.
37 Thu Nov 16 00:21:44 1995 Ken Raeburn <raeburn@cygnus.com>
40 * Makefile.in (VERSION): Updated to 2.6.
42 * config/obj-coff.c (write_object_file): Change use of md_do_align
43 to pass a pointer rather than a fill value, to match other uses.
45 Wed Nov 15 03:52:00 1995 Ken Raeburn <raeburn@cygnus.com>
47 * config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
49 * as.c (main): Move md_end call to just after call to
50 perform_an_assembly_pass. Delete cpu-specific code here.
51 * config/tc-i960.h (md_end): New macro, calls brtab_emit.
53 * config/tc-rce.c (md_end): Deleted.
54 * config/tc-rce.h (md_end): New macro, calls dump_literals.
56 * config/tc-arm.c (md_end): Unused function deleted.
57 * config/tc-ns32k.c (md_end): Ditto.
59 * config/tc-i386.c (i386_align_code): New function, moved here
60 from HANDLE_ALIGN macro.
61 * config/tc-i386.h (HANDLE_ALIGN): Call it.
63 Mon Jul 31 14:53:19 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
65 * config/tc-i386.h (md_do_align): cast fill and 0x90 to char
68 Mon May 1 10:91:49 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
70 * config/tc-i386.h (md_do_align): Make ".align n,0x90" generate
71 multi-byte nops to avoid changing gcc. The necessary gcc change
72 might break old assemblers.
74 Sat Apr 22 20:53:05 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
76 * config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to
77 generate optimal multi-byte nop instructions for ".align n"
78 ".align n,0x90", and aligns requiring more than 15 bytes of
79 padding still generate multiple 0x90's as before.
81 Mon Nov 13 17:40:21 1995 Ian Lance Taylor <ian@cygnus.com>
83 * config/tc-m68k.c (s_mri_until): Call pop_mri_control.
85 Mon Nov 13 20:39:06 1995 Stan Shebs <shebs@andros.cygnus.com>
87 * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
89 * mpw-make.sed: Reorder commands to make sed happier.
90 * config/te-macos.h: New file.
91 * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
93 Sun Nov 12 21:14:56 1995 Jeffrey A Law (law@cygnus.com)
95 * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
97 (md_apply_fix): Likewise.
99 Thu Nov 9 16:14:01 1995 Ian Lance Taylor <ian@cygnus.com>
101 * config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
102 generate a reloc which the linker will not handle correctly. Fix
103 overflow checking--R_IREL is 18 bits, not 17.
105 Wed Nov 8 19:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
107 * config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
108 from a PC relative reloc if TC_A29K.
110 * config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
111 code depends upon it.
113 * config/tc-a29k.c (md_operand): Handle $float, $double, and
114 $extend. Based on code from Eric Freudenthal
115 <freudenthal@nyu.edu>.
116 * config/tc-a29k.h (LEX_DOLLAR): Define.
117 * read.c (LEX_DOLLAR): Define if not defined.
118 (lex_type): Use LEX_DOLLAR.
120 Wed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
122 * configure.in (a29k-nyu-sym1): New target, just like other a29k
125 Wed Nov 8 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com>
127 * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
129 Tue Nov 7 09:14:35 1995 Kim Knuttila <krk@cygnus.com>
131 * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
132 used only by "dlltool.c".
134 Mon Nov 6 18:51:26 1995 Ian Lance Taylor <ian@cygnus.com>
136 * config/tc-alpha.c: Undefine inline if not __GNUC__.
137 (md_pseudo_table): Don't define "extern".
139 Sat Nov 4 00:51:21 1995 Ian Lance Taylor <ian@cygnus.com>
141 * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
143 * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
145 Fri Nov 3 13:02:59 1995 Ian Lance Taylor <ian@cygnus.com>
147 * macro.c (macro_expand_body): Don't warn about == with a
148 nonexistent parameter, in case it is in a comment field.
150 * as.c (main): On TC_A29K, call macro_init with macro_alternate
152 * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
153 set, even if macro_alternate is set.
154 (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
155 (sub_actual): If macro_strip_at, and kind is '@', don't look up
156 the token unless it ended in '@'.
157 * config/tc-a29k.c (line_separator_chars): Remove '@'.
158 * doc/c-a29k.texi: Document macro usage on A29K.
160 Thu Nov 2 23:07:57 1995 Ian Lance Taylor <ian@cygnus.com>
162 * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
164 (install_operand): Likewise.
166 * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
168 Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
170 * configure.in (m88k-motorola-sysv*): New target.
171 * configure: Rebuild.
172 * config/te-delta88.h: New file.
173 * config/obj-coff.c (write_object_file): Use md_do_align if it is
175 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
176 (md_do_align): Define.
177 * config/tc-m88k.c: Include "subsegs.h".
178 (m88k_do_align): New function.
180 * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
181 (COFF_NOLOAD_PROBLEM): Define.
182 (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
184 Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
186 * config/tc-i386.c (md_assemble): For a jump instruction with
187 non-constant target, require 7 available bytes in the current
190 Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
192 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
195 Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
197 * configure.in (alpha-*-linux*): Use ecoff.
198 * configure: Rebuild.
199 * ecoff.c (ecoff_directive_extern): New function.
200 (ecoff_directive_weakext): New function.
201 (ecoff_build_symbols): Handle weak symbols.
202 (ecoff_setup_ext): Likewise.
203 (ecoff_frob_symbol): Warn about weak common symbols.
204 * ecoff.h (ecoff_directive_extern): Declare.
205 (ecoff_directive_weakext): Declare.
206 * symbols.c (S_IS_WEAK): New function.
207 * symbols.h (S_IS_WEAK): Declare.
208 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
210 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
213 Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
215 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
217 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
218 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
219 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
220 * config/obj-coff.c (coff_frob_symbol): Don't call
221 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
222 one. If OBJ_XCOFF, try to figure out whether the symbol is going
225 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
226 (ppc_stab_symbol): New static variable.
227 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
228 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
229 sy_tc.real_name to the stab string.
230 (ppc_bc, ppc_ec): New static functions.
231 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
233 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
235 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
238 * input-scrub.c (input_scrub_push): Reset sb_index.
240 Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
242 * listing.c (listing_newline): Don't create a frag in the absolute
245 Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
247 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
248 (ppc_csect): Move most of the code to ppc_change_csect, and call
250 (ppc_change_csect): New static function, taken from ppc_csect.
251 (ppc_section): New static function.
252 (ppc_saw_abs): New static varable.
253 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
254 a symbol has no csect.
255 (ppc_adjust_symtab): New function.
256 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
257 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
259 * write.c (write_object_file): If tc_adjust_symtab is defined,
260 call it just before the call to obj_adjust_symtab.
262 * symbols.c (symbol_find_or_make): Change name to be const.
263 * symbols.h (symbol_find_or_make): Update declaration.
265 Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
267 * doc/as.texinfo (Align): Mention SH.
268 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
270 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
271 (Z8000 Directives, even): Don't give numeric align value, instead
274 Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
276 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
279 Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
281 * Makefile.in (diststuff): Also make info.
282 (maintainer-clean realclean): Also make clean-info.
284 Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
286 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
287 (pa_subspace): For ".nsubspa", always create a new subspace
288 with the given attributes, even if one already exists with the
291 Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
293 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
294 TC_FORCE_RELOCATION, taking an additional section argument. If
295 the section of the target symbol is not the same as the current
296 section, always force the relocation to be used.
297 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
299 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
300 md_pcrel_from function, taking an additional section argument.
301 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
303 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
304 older TC_FORCE_RELOCATION if not defined.
305 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
306 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
307 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
310 Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
312 * input-scrub.c (as_where): Set name to null pointer if we don't
314 * messages.c (identify): Only print filename if non-null.
315 (as_show_where): Ditto, for line number too.
316 (as_warn_internal, as_bad_internal): Ditto.
318 * input-file.c (input_file_open): If the input file can't be
319 opened, consider it an error.
321 Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
323 * config/tc-mips.c: Added mips_4100 control, and support for
324 accepting the 4100 as a MIPS architecture variant (md_begin,
325 macro_build, mips_ip, md_parse_option). Adding suitable
326 command-line OPTIONs, and updating the help text (md_show_usage).
328 Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
330 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
331 BFD_ASSEMBLER is defined.
333 * Use one active frag and one obstack per frag chain:
334 * frags.c (frags): Variable deleted.
335 (frag_alloc): New function.
336 (frag_grow, frag_more, frag_variant, frag_now_fix,
337 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
339 (frag_new): Ditto. Verify that frch_last and frag_now match on
340 entry and exit, and that old frag_now has non-zero type. Replace
341 "know" uses with "assert". Use frag_alloc instead of mucking with
343 * frags.h (frags): Declaration deleted.
344 * subsegs.h (struct frchain): Add new field frch_frag_now.
345 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
347 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
348 give it any stricter alignment than frchainS structures need. Do
349 not initialize frags obstack. Set frag_now to point to
350 dummy_obstack. Initialize absolute_frchain.
351 (subseg_set_rest): Save and restore frag_now in frch_frag_now
352 field of frchainS. Don't create new frags on section switch, and
353 use frag_alloc when creating a new frag chain. For absolute
354 section, set frchain_now to absolute_frchain. Verify that
355 frch_last and frag_now match on entry and exit. Initialize
356 per-chain obstack, and under gcc, set required alignment to that
357 needed by fragS structure.
359 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
361 * stabs.c (get_stab_string_offset): Only copy input string if a
362 fresh copy is needed, not if the section already exists.
363 (s_stab_generic): Cache stab section name to bypass lookups, since
364 usually it will match. Could be made faster still by changing the
365 memory allocation rules.
366 (s_xstab): Cache section name to bypass repeated string
369 * frags.c (frag_new): Deleted register declarations.
371 * listing.c (frag_now): Don't declare.
373 * as.c (chunksize): New variable.
374 (debug_memory): New variable.
375 (main): If debug_memory is set, reduce chunksize and
377 * as.h (chunksize): Declare it.
378 * read.c (read_begin): Use it.
380 * config/tc-alpha.c (md_shortopts): Include 'g'.
381 (md_parse_option): Ignore it.
383 * Makefile.in (distclean): Remove Makefile and config.status from
385 (clean-here): Don't delete testsuite. Instead, delete only the
386 files within it that would be generated by running tests.
388 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
389 frag_now_fix instead of accessing obstack info directly.
390 * config/tc-arm.c (s_ltorg): Ditto.
391 (md_assemble): Ditto.
393 * config/tc-i386.c (md_assemble): Call frag_grow instead of
396 Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
398 * stabs.c (aout_process_stab): Insert debug symbol into symbol
399 chain after parsing value expression, if any, to avoid separating
400 continued .stabs lines.
402 Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
404 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
405 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
407 Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
409 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
410 -mcom support and PPC_OPCODE_ANY for -many.
411 (md_parse_option): Ditto.
413 (md_begin): For duplicate instructions, print all duplicates
416 Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
418 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
419 common mode operation.
420 (md_show_usage): Add -mcom to usage message.
422 Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
424 * expr.c (op_rank): Add O_symbol_rva.
425 * expr.h (operatorT): Add O_symbol_rva.
426 * read.c (cons_worker): Set O_symbol_rva when necessary.
427 * write.c (fix_new_exp): Understand O_symbol_rva.
429 Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
431 * config/tc-mips.c: Correct s_cons arguments. From Michael
432 Joosten <joost@ori.cadlab.de>.
434 Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
436 * config/tc-ppc.c (ppc_macro): Make count unsigned.
437 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
438 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
440 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
441 make non-static. Change all users.
442 * config/obj-coff.h (coff_n_line_nos): Declare.
444 Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
446 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
448 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
450 * config/obj-elf.c (obj_elf_common): Convert specified byte
451 alignment to power of two. Set size of local bss symbol.
453 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
455 Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
457 * sb.c, macro.c: Decide whether to include <string.h> or
458 <strings.h> just as as.h does.
460 Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
462 * Makefile.in (site.exp): Fix setting of $srcdir.
464 * config/tc-arm.c (md_atof): Fix little-endian output.
465 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
468 Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
470 * doc/as.texinfo: Split out the NS32k family documentation,
471 despite its being commented out for now.
472 * doc/c-ns32k.texi: New file.
474 * sb.c, macro.c: Include string.h.
476 * Makefile.in (comparison): Only check *.o; we don't care if
477 timestamps inserted by the native linker differ.
479 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
480 if alignment stricter than 4 bytes is requested; in that case,
481 align to a 4-byte boundary first.
483 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
485 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
486 uninitialized" warning for `Max_Source_Offset'.
488 Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
490 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
491 qualifiers and detect errors if present.
492 (md_assemble): Add call to parse_toc_entry. Also added some support
493 for the [tocv] qualifier.
494 (ppc_pe_tocd): New function to support data in the toc section.
496 Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
498 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
501 Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
503 * config/tc-m68k.c (isword): Accept all values from -65536 to
504 +65535, so ~VAL will not be rejected.
506 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
507 skip characters after the pseudo-op.
509 * read.c (get_line_sb): Don't look past buffer_limit.
510 (s_include): In MRI mode, skip characters after the file name.
512 Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
514 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
515 periods in register names.
517 For older changes see ChangeLog.1.