3 * ecoff.c (localsym_t): Add addend field.
4 (add_ecoff_symbol): Add addend argument. Change all callers.
5 (coff_sym_value): Make static.
6 (coff_sym_addend): New static variable.
7 (ecoff_directive_def): Initialize coff_sym_addend.
8 (ecoff_directive_val): Accept symbol + constant.
9 (ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol.
10 (ecoff_build_symbols): Include the addend in the symbol value.
14 * config/tc-ppc.c (md_assemble): Ignore overflow on
15 BFD_RELOC_16_GOTOFF and BFD_RELOC_PPC_TOC16.
19 * config/tc-ppc.c (md_apply_fix3): SDA21 relocations are now 4
20 bytes in size, so offset appropriately in big endian mode when
21 writing the bottom 2 bytes.
25 * config/tc-sparc.c (default_compatible): New static local.
26 (md_begin): Initialize it. Rewrite warn_on_bump handling.
27 (sparc_ip): If no architecture or -bump specified, don't mark as
28 mismatched those in default_compatible.
33 * configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5.
35 * config/sco5.mt: New file; set TDEFINES to -DSCO_ELF.
36 * config/tc-i386.c (sco_id): New function, if SCO_ELF.
37 * config/tc-i386.h (tc_init_after_args): Define if SCO_ELF.
38 (sco_id): Declare if SCO_ELF.
42 * config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
43 ({max,warn_after}_architecture): New static locals.
44 (md_begin): Replace NUMOPCODES with sparc_num_opcodes.
45 If both architecture and -bump requested, set max_architecture to max.
46 (sparc_md_end): Simplify.
47 (sparc_ip): Replace references to can_bump_v9_p with max_architecture.
48 Rewrite code to bump architecture and check for conflicts.
49 (md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility
50 with Solaris assembler.
51 (md_parse_option): Likewise. Call sparc_opcode_lookup_arch.
52 (md_show_usage): Update.
56 * Makefile.in (RUNTEST): Fix reference to $${srcdir}.
60 * config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
61 #ifdef sparcv9 when choosing value.
64 (sparc_md_end): Declare.
65 * config/tc-sparc.c (SPARC_V9): Renamed from sparcv9.
66 (initial_architecture): New static local.
67 (can_bump_v9_p): Likewise.
68 (NO_V9): Delete all occurrences.
69 (sparc_md_end): New function.
70 (sparc_ip): New local v9_arg_p. Rework fp reg number test.
71 Don't bump architecture to v9 unless can_bump_v9_p set.
72 (md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly.
73 * configure.in (sparc64 target cpu): Don't set obj_format here.
74 (SPARC_V9): Renamed from sparcv9.
75 (sparc64-*-elf*): Define SPARC_ARCH64.
76 * configure: Regenerated.
77 * acconfig.h (SPARC_V9): Renamed from sparcv9.
79 * conf.in: Regenerated.
80 * config/vmsconf.h: Update.
84 * config/tc-mips.c (load_register): Optimise "dli" loads.
85 (md_show_usage): add "-mcpu=vr4100" to help text.
89 * symbols.c (resolve_symbol_value): If a symbol is equated to an
90 undefined symbol, preserve the X_op of O_symbol.
91 (S_GET_VALUE): Fix check to permit this case.
92 * write.c (write_relocs): If a reloc is against an undefined
93 symbol equated to another symbol, change the reloc to be against
95 * config/obj-coff.c (do_relocs_for): Likewise.
97 * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
102 * config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target
105 * config/tc-ppc.c (md_apply_fix3): Add more embedded relocations.
107 * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections
108 mentioned in the eabi.
112 * config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
113 * config/tc-ppc.c (ppc_pdata): Changed the alignment on pdata_section
117 * config/tc-ppc.c (mapping): Add more relocation suffixes.
121 * config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table
122 as a section it is ok to have unadorned -mrelocatable pointers in.
126 * config/tc-ppc.c (ppc_section*): Wrap these functions inside
131 * config/obj-elf.c (obj_elf_section): Add hooks so machine
132 dependent section attributes can be handled.
134 * config/tc-ppc.h: (md_elf_section_{letter,type,word,flags}): New
135 macros to add support for exclude section flag and ordered section
138 * config/tc-ppc.c (ppc_elf_section_{letter,type,word,flags}): New
139 functions to add support for exclude section flag and ordered
144 * subsegs.c (section_symbol): Don't try to look up the section
145 symbol in the hash table. It should be possible to have a symbol
146 with the same name as a section, but no connection to it.
148 * read.c (cons_worker): Only call mri_comment_end from flag_mri.
151 * expr.c (operand): Skip whitespace after a close parenthesis.
156 * config/tc-sh.c (md_apply_fix): Call as_bad_where instead of
157 as_warn_where for relocation overflow.
158 (parse_reg): Accept register name only if next character is
163 * ecoff.c (ecoff_stab): Simplify. Correctly handle sym + offset
164 addresses for static variables.
168 * config/tc-ppc.c (mapping): Make @got give a real GOT relocation,
169 and xgot give the old toc16 relocation.
170 (md_apply_fix3): Support all GOT relocations.
174 * config/tc-mips.c (load_address): Correctly handle a constant in
179 * config/tc-sh.c (parse_reg): Recognize SH3 registers.
180 (get_specific): Handle A_SSR, A_SPC and A_REG_B.
181 (build_Mbytes): Handle REG_B.
185 * ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.
189 * mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
193 * config/obj-coff.c (write_object_file): Set the s_align field to
194 the number of bytes, rather than to the power of 2.
198 * Makefile.in (DISTCLEAN_HERE): New variable.
200 (maintainer-clean): Depend upon clean-here rather than clean,
201 distclean, and clean-info. Run make maintainer-clean in doc.
202 Remove files listed in DISTCLEAN_HERE.
203 * doc/Makefile.in (maintainer-clean realclean): Split out from
204 distclean. Depend upon clean-info and distclean.
208 * mac-as.r: Fix copyright and version strings.
209 (cfrg): Use PROG_NAME instead of literal name.
213 * read.c (read_a_source_file): If tc_unrecognized_line is defined,
215 * config/tc-a29k.h (tc_unrecognized_line): Define.
216 * config/tc-a29k.c (a29k_unrecognized_line): New function.
217 (md_operand): Handle a29k style local dollar labels.
221 * config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
225 * read.c (s_fill): If md_flush_pending_output is defined, call
230 * config/obj-coff.c (size_section, fill_section, fixup_mdeps):
231 Treat rs_align_code like rs_align.
235 * config/tc-arm.c (cp_address_required_here): Set pre_inc when
236 converting an absolute address into a PC-relative one.
240 * mpw-config.in: Don't always use te-generic.h for emulation.
241 (powerpc-apple-macos): Use emulation te-macos.h.
243 (mips-gm-magic): New configuration.
245 * mpw-make.sed (install, install-only): Edit in Mac-specific
250 * configure.in: Improve message about unsupported ELF targets.
251 * configure: Rebuild.
253 * config/tc-m88k.c (m88k_do_align): Correct check for whether fill
254 pattern is zero. From Manfred Hollstein.
258 * config/tc-ppc.c (ppc_pe_section): To get the alignment right for
259 the various idata sections, we check the name on the .section pseudo.
263 * config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
264 add section's paddr to add_number; compatibility to native as and
269 * configure.in: Treat m68k-sysv4 like m68k-elf, not m68k-sysv3.
271 * hash.c (struct hash_entry): Moved here...
272 * hash.h (struct hash_entry): ...from here.
274 * config/obj-elf.c (elf_frob_symbol): Don't free and clear sy_obj
275 if it's already known to be null.
279 * config/tc-ppc.c (md_apply_fix3): Don't adjust the value for 32
280 bit relocs converted to PC relative relocs. This turned out to
281 add the offset from the beginning of .text twice.
285 * stabs.c (s_stab_generic): In 's' case, free string from
288 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Remove unused field
290 * config/obj-multi.h (ELF_TARGET_SYMBOL_FIELDS) [OBJ_MAYBE_ELF]:
293 * subsegs.h (segment_info_type): Make bitfields unsigned.
295 * expr.h (struct expressionS): Make X_op and X_unsigned bitfields,
296 and move them together. On most systems this will reduce the
297 structure size by one word.
298 (operatorT): Define O_max.
299 * expr.c (expr_begin): Verify that X_op is wide enough to hold
302 * read.c (pop_insert): Print error returned by hash table
305 * as.c (dump_statistics): Split out from main; dump some hash
306 table stats and target-specific stats.
307 (start_time): No longer automatic to main.
308 (main): Set file-level start_time and call dump_statistics at
309 exit. Exit by calling xexit.
310 (show_usage): Make --statistics description less specific.
311 * subsegs.c (subsegs_print_statistics): New function.
312 * write.c (write_print_statistics): New function.
313 (n_fixups): New static variable.
314 (fix_new_internal): Increment it.
315 * read.c (read_print_statistics): New function.
316 * read.h (read_print_statistics): Declare.
317 * symbol.c (symbol_print_statistics): New function.
318 * symbol.h (symbol_print_statistics): Declare.
319 * hash.c (hash_print_statistics): New function.
320 * hash.h (hash_print_statistics): Declare.
321 * config/tc-i386.c (i386_print_statistics): New function.
322 * config/tc-i386.h (i386_print_statistics): Declare.
323 (tc_print_statistics): New macro.
324 * messages.c (as_fatal, as_assert, as_abort): Use xexit, not
327 * hash.c (DELETED): Rewrite to use a valid but unique address.
328 (START_POWER): Reduce to 10.
329 (enum stat_enum): New enumerator, replacing STAT_* index macros.
330 Add new values for counting strcmp calls.
331 (GROW_FACTOR): New macro.
332 (hash_grow): Use GROW_FACTOR. Rewrite for quick returns instead
334 (FULL_VALUE): New macro. Use 1/4 of table size instead of 1/2.
335 (hash_new): Use FULL_VALUE.
336 (struct hash_control): Definition moved here.
337 (hash_code): Don't mask to low bits.
338 (hash_ask): Mask returned hash code here. Check hash value before
339 calling strcmp; count strcmp calls.
340 * hash.h (struct hash_control): Declare, don't define, here.
341 (HASH_STATLENGTH): Deleted.
342 (struct hash_entry): Add field for hash code.
343 (hash_say, hash_apply): Don't declare.
345 * hash.c (destroy): Return void.
347 (main): Fix declarations.
348 (hash_apply): Return void. Argument `function' returns void. Put
349 inside "#ifdef TEST".
350 (hash_say): Define only if TEST is defined.
351 * hash.h (hash_apply, hash_say): Declarations deleted.
355 * configure: Rebuild with autoconf 2.7.
359 * aclocal.m4 (AC_PROG_CC): Remove local definition.
360 * configure: Rebuild with autoconf 2.6.
364 * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
365 (ppc_stabx): Don't increment ppc_debug_name_section_size.
367 (ppc_frob_file): Remove.
368 * config/tc-ppc.h (tc_frob_file): Don't define.
369 (ppc_frob_file): Don't declare.
373 * Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
374 * config/alpha-opcode.h: Include one-operand variants of jmp and
377 * config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
378 with te-delta.h in 8.3 file systems.
379 * configure.in: Adjusted.
383 * config/tc-mips.c (s_err): Remove; just use the one in read.c.
385 * config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
387 * expr.c (operand): Handle MRI suffixes after unadorned 0.
391 Version 2.6 released.
392 * Makefile.in (VERSION): Updated to 2.6.
394 * config/obj-coff.c (write_object_file): Change use of md_do_align
395 to pass a pointer rather than a fill value, to match other uses.
399 * config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
401 * as.c (main): Move md_end call to just after call to
402 perform_an_assembly_pass. Delete cpu-specific code here.
403 * config/tc-i960.h (md_end): New macro, calls brtab_emit.
405 * config/tc-rce.c (md_end): Deleted.
406 * config/tc-rce.h (md_end): New macro, calls dump_literals.
408 * config/tc-arm.c (md_end): Unused function deleted.
409 * config/tc-ns32k.c (md_end): Ditto.
411 * config/tc-i386.c (i386_align_code): New function, moved here
412 from HANDLE_ALIGN macro.
413 * config/tc-i386.h (HANDLE_ALIGN): Call it.
417 * config/tc-i386.h (md_do_align): cast fill and 0x90 to char
422 * config/tc-i386.h (md_do_align): Make ".align n,0x90" generate
423 multi-byte nops to avoid changing gcc. The necessary gcc change
424 might break old assemblers.
428 * config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to
429 generate optimal multi-byte nop instructions for ".align n"
430 ".align n,0x90", and aligns requiring more than 15 bytes of
431 padding still generate multiple 0x90's as before.
435 * config/tc-m68k.c (s_mri_until): Call pop_mri_control.
439 * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
441 * mpw-make.sed: Reorder commands to make sed happier.
442 * config/te-macos.h: New file.
443 * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
447 * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
448 conditional branches.
449 (md_apply_fix): Likewise.
453 * config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
454 generate a reloc which the linker will not handle correctly. Fix
455 overflow checking--R_IREL is 18 bits, not 17.
459 * config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
460 from a PC relative reloc if TC_A29K.
462 * config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
463 code depends upon it.
465 * config/tc-a29k.c (md_operand): Handle $float, $double, and
466 $extend. Based on code from Eric Freudenthal
468 * config/tc-a29k.h (LEX_DOLLAR): Define.
469 * read.c (LEX_DOLLAR): Define if not defined.
470 (lex_type): Use LEX_DOLLAR.
474 * configure.in (a29k-nyu-sym1): New target, just like other a29k
479 * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
483 * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
484 used only by "dlltool.c".
488 * config/tc-alpha.c: Undefine inline if not __GNUC__.
489 (md_pseudo_table): Don't define "extern".
493 * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
495 * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
499 * macro.c (macro_expand_body): Don't warn about == with a
500 nonexistent parameter, in case it is in a comment field.
502 * as.c (main): On TC_A29K, call macro_init with macro_alternate
504 * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
505 set, even if macro_alternate is set.
506 (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
507 (sub_actual): If macro_strip_at, and kind is '@', don't look up
508 the token unless it ended in '@'.
509 * config/tc-a29k.c (line_separator_chars): Remove '@'.
510 * doc/c-a29k.texi: Document macro usage on A29K.
514 * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
516 (install_operand): Likewise.
518 * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
522 * configure.in (m88k-motorola-sysv*): New target.
523 * configure: Rebuild.
524 * config/te-delta88.h: New file.
525 * config/obj-coff.c (write_object_file): Use md_do_align if it is
527 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
528 (md_do_align): Define.
529 * config/tc-m88k.c: Include "subsegs.h".
530 (m88k_do_align): New function.
532 * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
533 (COFF_NOLOAD_PROBLEM): Define.
534 (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
538 * config/tc-i386.c (md_assemble): For a jump instruction with
539 non-constant target, require 7 available bytes in the current
544 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
549 * configure.in (alpha-*-linux*): Use ecoff.
550 * configure: Rebuild.
551 * ecoff.c (ecoff_directive_extern): New function.
552 (ecoff_directive_weakext): New function.
553 (ecoff_build_symbols): Handle weak symbols.
554 (ecoff_setup_ext): Likewise.
555 (ecoff_frob_symbol): Warn about weak common symbols.
556 * ecoff.h (ecoff_directive_extern): Declare.
557 (ecoff_directive_weakext): Declare.
558 * symbols.c (S_IS_WEAK): New function.
559 * symbols.h (S_IS_WEAK): Declare.
560 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
562 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
567 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
569 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
570 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
571 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
572 * config/obj-coff.c (coff_frob_symbol): Don't call
573 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
574 one. If OBJ_XCOFF, try to figure out whether the symbol is going
577 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
578 (ppc_stab_symbol): New static variable.
579 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
580 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
581 sy_tc.real_name to the stab string.
582 (ppc_bc, ppc_ec): New static functions.
583 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
585 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
587 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
590 * input-scrub.c (input_scrub_push): Reset sb_index.
594 * listing.c (listing_newline): Don't create a frag in the absolute
599 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
600 (ppc_csect): Move most of the code to ppc_change_csect, and call
602 (ppc_change_csect): New static function, taken from ppc_csect.
603 (ppc_section): New static function.
604 (ppc_saw_abs): New static varable.
605 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
606 a symbol has no csect.
607 (ppc_adjust_symtab): New function.
608 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
609 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
611 * write.c (write_object_file): If tc_adjust_symtab is defined,
612 call it just before the call to obj_adjust_symtab.
614 * symbols.c (symbol_find_or_make): Change name to be const.
615 * symbols.h (symbol_find_or_make): Update declaration.
619 * doc/as.texinfo (Align): Mention SH.
620 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
622 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
623 (Z8000 Directives, even): Don't give numeric align value, instead
628 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
633 * Makefile.in (diststuff): Also make info.
634 (maintainer-clean realclean): Also make clean-info.
638 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
639 (pa_subspace): For ".nsubspa", always create a new subspace
640 with the given attributes, even if one already exists with the
645 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
646 TC_FORCE_RELOCATION, taking an additional section argument. If
647 the section of the target symbol is not the same as the current
648 section, always force the relocation to be used.
649 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
651 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
652 md_pcrel_from function, taking an additional section argument.
653 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
655 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
656 older TC_FORCE_RELOCATION if not defined.
657 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
658 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
659 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
664 * input-scrub.c (as_where): Set name to null pointer if we don't
666 * messages.c (identify): Only print filename if non-null.
667 (as_show_where): Ditto, for line number too.
668 (as_warn_internal, as_bad_internal): Ditto.
670 * input-file.c (input_file_open): If the input file can't be
671 opened, consider it an error.
675 * config/tc-mips.c: Added mips_4100 control, and support for
676 accepting the 4100 as a MIPS architecture variant (md_begin,
677 macro_build, mips_ip, md_parse_option). Adding suitable
678 command-line OPTIONs, and updating the help text (md_show_usage).
682 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
683 BFD_ASSEMBLER is defined.
685 * Use one active frag and one obstack per frag chain:
686 * frags.c (frags): Variable deleted.
687 (frag_alloc): New function.
688 (frag_grow, frag_more, frag_variant, frag_now_fix,
689 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
691 (frag_new): Ditto. Verify that frch_last and frag_now match on
692 entry and exit, and that old frag_now has non-zero type. Replace
693 "know" uses with "assert". Use frag_alloc instead of mucking with
695 * frags.h (frags): Declaration deleted.
696 * subsegs.h (struct frchain): Add new field frch_frag_now.
697 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
699 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
700 give it any stricter alignment than frchainS structures need. Do
701 not initialize frags obstack. Set frag_now to point to
702 dummy_obstack. Initialize absolute_frchain.
703 (subseg_set_rest): Save and restore frag_now in frch_frag_now
704 field of frchainS. Don't create new frags on section switch, and
705 use frag_alloc when creating a new frag chain. For absolute
706 section, set frchain_now to absolute_frchain. Verify that
707 frch_last and frag_now match on entry and exit. Initialize
708 per-chain obstack, and under gcc, set required alignment to that
709 needed by fragS structure.
711 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
713 * stabs.c (get_stab_string_offset): Only copy input string if a
714 fresh copy is needed, not if the section already exists.
715 (s_stab_generic): Cache stab section name to bypass lookups, since
716 usually it will match. Could be made faster still by changing the
717 memory allocation rules.
718 (s_xstab): Cache section name to bypass repeated string
721 * frags.c (frag_new): Deleted register declarations.
723 * listing.c (frag_now): Don't declare.
725 * as.c (chunksize): New variable.
726 (debug_memory): New variable.
727 (main): If debug_memory is set, reduce chunksize and
729 * as.h (chunksize): Declare it.
730 * read.c (read_begin): Use it.
732 * config/tc-alpha.c (md_shortopts): Include 'g'.
733 (md_parse_option): Ignore it.
735 * Makefile.in (distclean): Remove Makefile and config.status from
737 (clean-here): Don't delete testsuite. Instead, delete only the
738 files within it that would be generated by running tests.
740 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
741 frag_now_fix instead of accessing obstack info directly.
742 * config/tc-arm.c (s_ltorg): Ditto.
743 (md_assemble): Ditto.
745 * config/tc-i386.c (md_assemble): Call frag_grow instead of
750 * stabs.c (aout_process_stab): Insert debug symbol into symbol
751 chain after parsing value expression, if any, to avoid separating
752 continued .stabs lines.
756 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
757 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
761 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
762 -mcom support and PPC_OPCODE_ANY for -many.
763 (md_parse_option): Ditto.
765 (md_begin): For duplicate instructions, print all duplicates
770 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
771 common mode operation.
772 (md_show_usage): Add -mcom to usage message.
776 * expr.c (op_rank): Add O_symbol_rva.
777 * expr.h (operatorT): Add O_symbol_rva.
778 * read.c (cons_worker): Set O_symbol_rva when necessary.
779 * write.c (fix_new_exp): Understand O_symbol_rva.
783 * config/tc-mips.c: Correct s_cons arguments. From Michael
788 * config/tc-ppc.c (ppc_macro): Make count unsigned.
789 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
790 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
792 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
793 make non-static. Change all users.
794 * config/obj-coff.h (coff_n_line_nos): Declare.
800 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
802 * config/obj-elf.c (obj_elf_common): Convert specified byte
803 alignment to power of two. Set size of local bss symbol.
805 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
809 * sb.c, macro.c: Decide whether to include <string.h> or
810 <strings.h> just as as.h does.
814 * Makefile.in (site.exp): Fix setting of $srcdir.
816 * config/tc-arm.c (md_atof): Fix little-endian output.
817 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
822 * doc/as.texinfo: Split out the NS32k family documentation,
823 despite its being commented out for now.
824 * doc/c-ns32k.texi: New file.
826 * sb.c, macro.c: Include string.h.
828 * Makefile.in (comparison): Only check *.o; we don't care if
829 timestamps inserted by the native linker differ.
831 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
832 if alignment stricter than 4 bytes is requested; in that case,
833 align to a 4-byte boundary first.
837 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
838 uninitialized" warning for `Max_Source_Offset'.
842 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
843 qualifiers and detect errors if present.
844 (md_assemble): Add call to parse_toc_entry. Also added some support
845 for the [tocv] qualifier.
846 (ppc_pe_tocd): New function to support data in the toc section.
850 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
855 * config/tc-m68k.c (isword): Accept all values from -65536 to
856 +65535, so ~VAL will not be rejected.
858 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
859 skip characters after the pseudo-op.
861 * read.c (get_line_sb): Don't look past buffer_limit.
862 (s_include): In MRI mode, skip characters after the file name.
866 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
867 periods in register names.
869 For older changes see ChangeLog.1.