home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / binutils-2.7-src.tgz / tar.out / fsf / binutils / gas / ChangeLog.1 < prev    next >
Text File  |  1996-09-28  |  486KB  |  12,422 lines

  1. Sat Sep 30 23:03:31 1995  Jeff Law  (law@hurl.cygnus.com)
  2.  
  3.     * config/tc-hppa.c (hppa_fix_adjustable): DP relative relocs
  4.     are not adjustable in SOM to avoid confusing the optimizing
  5.     linker.
  6.  
  7. Fri Sep 29 15:18:08 1995  Ian Lance Taylor  <ian@cygnus.com>
  8.  
  9.     Add some support for i960 MRI compatibility mode.
  10.     * config/tc-i960.c (md_pseudo_table): Add endian.
  11.     (get_args): Don't discard a space between alphanumeric characters.
  12.     (get_cdisp): Change text_section to now_seg.
  13.     (s_endian): New static function.
  14.     * config/tc-i960.h (MRI_MODE_NEEDS_PSEUDO_DOT): Define.
  15.     * expr.h (operatorT): Add O_logical_not, O_logical_and, and
  16.     O_logical_or.
  17.     * expr.c (operand): Treat '!' as logical not operator.  If
  18.     TC_I960, in MRI mode permit `sizeof secname' and `startof
  19.     secname'.
  20.     (op_rank): Bump values by 2 to make room for && and ||.  Add
  21.     entries for !, &&, and ||.
  22.     (expr_begin): Only do MRI changes if TC_M68K.
  23.     (operator): Recognize || and &&.
  24.     (expr): Handle new operatorT values.
  25.     * symbols.c (resolve_symbol_value): Handle new operatorT values.
  26.     (print_expr_1): Likewise.
  27.     * read.c (potable): Add debug, err, irep, irepc, print, purgem,
  28.     and rep.
  29.     (read_a_source_file): Handle MRI_MODE_NEEDS_PSEUDO_DOT.
  30.     (mri_comment_field): Only handle weird comments if TC_M68K.
  31.     (s_err): New function.
  32.     (s_org): Only punt in MRI mode if TC_M68K.
  33.     (s_mri_sect): Write TC_I960 version.
  34.     (s_print, s_purgem): New functions.
  35.     * read.h (s_err, s_print, s_purgem): Declare.
  36.     * cond.c (s_ifeqs): Implement.
  37.     (ignore_input): Handle MRI_MODE_NEEDS_PSEUDO_DOT.
  38.     * macro.c (macro_strip_at): New static variable.
  39.     (macro_init): Add strip_at parameter.
  40.     (do_formals): If macro_strip_at, change NARG to $NARG.
  41.     (define_macro): Skip a comma after the macro name.
  42.     (get_apost_token): Skip character if macro_strip_at, even if
  43.     macro_mri.
  44.     (macro_expand_body): If macro_strip_at, don't recognize parameters
  45.     in strings unless they are preceded by an '@'.  If macro_strip_at,
  46.     pass '@' as strip character to sub_actual.  If macro_strip_at,
  47.     strip '@' characters.
  48.     (macro_expand): If macro_strip_at, change NARG to $NARG.
  49.     (delete_macro): New function.
  50.     (expand_irp): Skip leading and trailing '"' characters if irpc.
  51.     * macro.h (macro_init): Mention new strip_at parameter.
  52.     (delete_macro): Declare.
  53.     * as.c (main): If TC_I960, pass flag_mri to macro_init as
  54.     strip_at; otherwise, pass 0.
  55.     * gasp.c (process_pseudo_op): Pass 0 to macro_init as strip_at.
  56.     (main): Likewise.
  57.     * doc/as.texinfo: Document i960 MRI mode.
  58.  
  59.     * as.c (show_usage): Mention --defsym.
  60.  
  61. Thu Sep 28 19:25:04 1995  Stan Shebs  <shebs@andros.cygnus.com>
  62.  
  63.     * mpw-config.in: Translate "powerpc" into "ppc", remove gen of
  64.     VERSION, move gen of "conf" here from makefile.
  65.     * mpw-make.sed: New file, sed commands to translate Unix makefile
  66.     into MPW syntax.
  67.     * mpw-make.in: Remove.
  68.     * mac-as.r: New file, Mac resource file.
  69.     * as.h (inline): Don't decide about defining if __MWERKS__,
  70.     remove redundant conditional and definition.
  71.  
  72.     * stabs.c (s_stab_generic): Fix syntax for OBJ_PROCESS_STAB.
  73.  
  74. Thu Sep 28 15:43:15 1995  Kim Knuttila  <krk@nellie>
  75.  
  76.     * config/tc-ppc.c (md_apply_fix3): Removed some TE_PE specific 
  77.     manipulations, since I can't prove they're needed.
  78.     (md_begin): Removed init_regtable, insert_reg, and the call points.
  79.     (register_name): New function. Parses a register name, if appropriate.
  80.     (md_assemble): Added call to register_name to handle symbolic names.
  81.     (ppc_pe_section): Removed all duplicate IMAGE defines, and include
  82.     coff/pe.h instead.
  83.  
  84. Thu Sep 28 12:09:19 1995  Ian Lance Taylor  <ian@cygnus.com>
  85.  
  86.     * config/tc-ppc.h (tc_fix_adjustable): Define.
  87.     (ppc_pe_fix_adjustable): Declare.
  88.     * config/tc-ppc.c (ppc_pe_fix_adjustable): New function.
  89.  
  90. Thu Sep 28 01:11:58 1995  Doug Evans  <dje@deneb.cygnus.com>
  91.  
  92.     * config/tc-arm.h (TARGET_FORMAT): Define for arm-coff.
  93.  
  94. Wed Sep 27 12:53:58 1995  Ian Lance Taylor  <ian@cygnus.com>
  95.  
  96.     * symbols.c (S_IS_LOCAL): All symbols in reg_section are local.
  97.  
  98.     * config/tc-ppc.h (OBJ_XCOFF): Define if OBJ_COFF and not TE_PE.
  99.     Change OBJ_COFF checks to check OBJ_XCOFF instead.
  100.     (TARGET_FORMAT): Fully parenthesize.
  101.     (LEX_QM): Define if TE_PE.
  102.     * config/tc-ppc.c: Replace OBJ_COFF by OBJ_XCOFF throughout.
  103.     Remove checks of TE_PE within #ifdef OBJ_XCOFF sections.
  104.     (init_regtable): Make i unsigned.
  105.     (ppc_set_current_section): Rename from setCurrentSection.  Change
  106.     all callers.
  107.     (ppc_arch): Return after as_fatal to avoid gcc warning.
  108.     (md_assemble): Only declare reloc if OBJ_ELF.  Add default to
  109.     switch on fixups[i].reloc to avoid gcc warning.
  110.     (IMAGE_SGN_LNK_OTHER): Fix nested comment.
  111.     (ppc_pe_function): Don't call ppc_canonicalize_symbol_name.
  112.     (ppc_frob_symbol): Remove TE_PE section checks.
  113.     (md_estimate_size_before_relax): Return after abort to avoid gcc
  114.     warning.
  115.     (md_apply_fix3): Add BFD_RELOC_16_GOT_PCREL to switch.
  116.     * read.c (LEX_QM): Define as 0 if not defined.
  117.     (lex_type): Use LEX_QM for '?'.
  118.  
  119.     * configure.in: No need to check whether ${cpu_type} is powerpc;
  120.     it never will be.
  121.     * configure: Rebuild.
  122.  
  123. Wed Sep 27 11:33:38 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  124.  
  125.     * config/tc-ppc.c (md_apply_fix3): Remove Sep 26 changes to this
  126.     function, keeping other Sep. 26 changes.
  127.  
  128. Wed Sep 27 10:29:13 1995  Kim Knuttila  <krk@nellie>
  129.  
  130.     * configure (emulations): Added support for ppcle-*-[pe|winnt]
  131.     (target_frag): Removed an extraneous PPC definition.
  132.     * configure.in (emulations): Same
  133.     * config/tc-ppc.h:
  134.     * config/tc-ppc.c (md_pseudo_table): Base support for new or altered
  135.     pseudo ops - <previous, pdata, ydata, reldata, rdata, ualong, znop,
  136.     section, comm, function> There will be more.
  137.     (pre_defined_registers): Predefined reg table to name registers, etc
  138.     (md_begin): Setup reg table initialization
  139.     (md_assemble): Initial [toc]x(rtoc) support
  140.     (ppc_frob_label): Removed some xcoff specific processing from TE_PE
  141.     (ppc_frob_symbol): Removed some xcoff specific processing from TE_PE
  142.                            Added support for more predefined sections
  143.         (ppc_frob_section): Removed some xcoff specific processing from TE_PE
  144.     (ppc_fix_adjustable): Removed from TE_PE mainline
  145.     (md_apply_fix3): For TE_PE toc entries, we don't need to mess 
  146.         with fx_addnumber. Removed for the time being.
  147.     (lots): Put back missing assignments to ppc_current_csect.
  148.  
  149. Tue Sep 26 14:57:59 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  150.  
  151.     * config/tc-ppc.c (ppc_elf_suffix): Support all of the V.4
  152.     relocations.
  153.     (ppc_elf_cons): Remove restriction that @ suffixes must be done
  154.     with .long.  Add error if relocation does not fit in the number of
  155.     bytes provided.
  156.     (md_assemble): For absolute branches, map PC relative relocations
  157.     back into an equivalent absolute relocation.
  158.     (md_pcrel_from): If TC_FORCE_RELOCATION is true, relocation offset
  159.     is 0, not segment start.
  160.     (md_apply_fix3): Don't bother writing addend into the instruction,
  161.     since it is ignored, given that we use RELA relocations for ELF.
  162.  
  163.     * config/tc-ppc.h (TC_FORCE_RELOCATION): Define to force all
  164.     branch prediction relocations to always be emitted.
  165.  
  166. Mon Sep 25 16:08:43 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  167.  
  168.     * config/tc-ppc.c (ppc_elf_suffix): Lower case reloc before
  169.     testing.
  170.     (md_assemble): Be more robust in terms of relocations.
  171.     (md_apply_fix3): Allow 14 bit relocs to be emitted for external
  172.     symbols in addition to 26 bit relocs.  Properly insert 26/14 bit
  173.     reloc value fields into the instruction stream.    
  174.  
  175. Mon Sep 25 00:23:16 1995  Ian Lance Taylor  <ian@cygnus.com>
  176.  
  177.     * config/tc-arm.c (md_atof): Output little endian constants in
  178.     little endian mode.
  179.  
  180.     * config/obj-coff.c (obj_coff_section): Pass &type, not type,
  181.     s_mri_sect.
  182.  
  183.     * configure.in: Fix typo: fmt-elf to fmt=elf.
  184.  
  185. Fri Sep 22 16:34:46 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  186.  
  187.     * config/tc-ppc.c (ppc_elf_suffix): Rewrite to use a table of
  188.     strings and relocations they represent.  Add @br{,n}taken for
  189.     branch taken/not taken support.
  190.     (md_apply_fix3): Add BFD_RELOC_PPC_B16_BR{,N}TAKEN support.
  191.  
  192. Thu Sep 21 21:10:17 1995  Michael Meissner  <meissner@cygnus.com>
  193.  
  194.     * config/tc-ppc.c (md_parse_option): -mrelocatable-lib now only
  195.     sets EF_PPC_RELOCATABLE_LIB and not also EF_PPC_RELOCATABLE.
  196.  
  197. Thu Sep 21 16:30:56 1995  Ian Lance Taylor  <ian@cygnus.com>
  198.  
  199.     * subsegs.c (subseg_set): Permit SEG_ABSOLUTE in know expression.
  200.     * expr.c (expr): Account for new operatorT values in know
  201.     expression.
  202.  
  203.     * write.c (fixup_segment): Clear fixp->fx_subsy if the relocation
  204.     is fully resolved.
  205.  
  206. Thu Sep 21 14:11:49 1995  Michael Meissner  <meissner@cygnus.com>
  207.  
  208.     * config/tc-ppc.c (ppc_flags): New variable to hold the flag bits
  209.     to set in the ELF header.
  210.     (md_parse_option): Add support for -mrelocatable-lib.  Make both
  211.     -mrelocatable and -mrelocatable-lib set ppc_flags.
  212.     (md_begin): Set ELF flags with ppc_flags.
  213.  
  214. Wed Sep 20 13:01:52 1995  Ian Lance Taylor  <ian@cygnus.com>
  215.  
  216.     * Makefile.in (maintainer-clean): New target, synonym for
  217.     realclean.  Add GNU standard maintainer-clean echos.
  218.     * doc/Makefile.in (maintainer-clean): New target, synonym for
  219.     realclean.
  220.  
  221. Tue Sep 19 11:31:31 1995  Ian Lance Taylor  <ian@cygnus.com>
  222.  
  223.     * config/tc-m68k.c (m68k_ip): Reject immediate operands for '%'.
  224.  
  225.     * config/tc-m68k.c (m68k_ip): Reject immediate operands for '|'.
  226.     Replace 'P' with '0', '1', and '2'.
  227.  
  228.     * config/tc-m68k.c (parse_mri_control_operand): Change leftstop
  229.     and rightstop to not be const.
  230.     (parse_mri_control_expression): Likewise.
  231.     (build_mri_control_operand): Likewise.  Use m68k_ip_op to examine
  232.     the operand, not m68k_reg_parse.
  233.     (s_mri_if): In MRI mode, stop at the first '*'.
  234.     (s_mri_while): Likewise.
  235.     (s_mri_else): In MRI mode, ignore trailing characters.
  236.     (s_mri_endi, s_mri_break, s_mri_next, s_mri_for): Likewise.
  237.     (s_mri_endf, s_mri_repeat, s_mri_until, s_mri_endw): Likewise.
  238.     * config/m68k-parse.y: Revert yesterday's change.
  239.     * config/m68k-parse.h: Revert yesterday's change.
  240.  
  241. Mon Sep 18 15:22:28 1995  Ian Lance Taylor  <ian@cygnus.com>
  242.  
  243.     * config/tc-m68k.c (parse_mri_control_operand): Change leftstart
  244.     and rightstart to not be const.
  245.     (parse_mri_control_expression): Likewise.
  246.     (build_mri_control_operand): Likewise.  If the left side of the
  247.     comparison is a register, and the right side is not, swap the two
  248.     sides.
  249.     * config/m68k-parse.y (m68k_reg_parse): Make globally visible.
  250.     * config/m68k-parse.h (m68k_reg_parse): Declare.
  251.  
  252.     * read.c (mri_comment_field): New function.
  253.     (mri_comment_end): New function.
  254.     (s_align_bytes): Use mri_comment_field.
  255.     (s_align_ptwo, s_comm, s_mri_common, s_fail, s_globl): Likewise.
  256.     (s_float_space, s_struct): Likewise.
  257.     (s_space): Use mri_comment_field rather than doing it by hand.
  258.     (cons_worker, equals): Likewise.
  259.     (s_end): Ignore comments starting with '*' or '!'.
  260.     * read.h (mri_comment_field): Declare.
  261.     (mri_comment_end): Declare.
  262.     * cond.c (s_if): Use mri_comment_field.
  263.     * config/tc-m68k.c (s_chip, s_reg): Likewise.
  264.  
  265.     * write.c (fixup_segment): Handle ABS-sym in -sym case rather than
  266.     sym-sym case.
  267.     * config/obj-coff.c (fixup_segment): Likewise.  Permit negative
  268.     symbols if TC_M68K.
  269.     * config/tc-m68k.c (tc_coff_fix2rtype): If fx_tcbit is set, return
  270.     R_RELLONG_NEG.
  271.     (tc_gen_reloc): If fx_tcbit is set, abort.
  272.     (md_apply_fix_2): For a negative reloc, move fx_subsy to fx_addsy,
  273.     and set fx_tcbit.
  274.  
  275.     * config/tc-m68k.c (s_reg): Ignore comment field in MRI mode.
  276.  
  277. Mon Sep 18 14:44:04 1995  Arne H. Juul  <arnej@pvv.unit.no>
  278.  
  279.     * configure.in (mips-dec-netbsd*): New target.
  280.     * configure: Rebuild.
  281.  
  282. Sun Sep 17 22:17:43 1995  Ian Lance Taylor  <ian@cygnus.com>
  283.  
  284.     * configure.in: Set endian to little for mips-*-ultrix*.
  285.     * configure: Rebuild.
  286.  
  287. Fri Sep 15 13:16:55 1995  Ian Lance Taylor  <ian@cygnus.com>
  288.  
  289.     * expr.c (current_location): New static function.  Handle magic
  290.     symbol `.'; in absolute section, return a constant.
  291.     (operand): Call current_location for '.' and '$', instead of doing
  292.     it inline.  In MRI mode, call current_location for '*'.
  293.  
  294. Fri Sep 15 21:39:29 1995  Jeff Law  (law@snake.cs.utah.edu)
  295.  
  296.     * config/tc-m68k.c: Change some "CONST" references to "const".
  297.  
  298. Fri Sep 15 17:27:41 1995  Ken Raeburn  <raeburn@cygnus.com>
  299.  
  300.     Tue Sep 12 17:08:23 1995  Pat Rankin  <rankin@eql.caltech.edu>
  301.  
  302.     * config/obj-vms.c (VMS_stab_parse): simplify first loop;
  303.     use S_GET_NAME/modify/S_SET_NAME sequence instead of abusing
  304.     S_GET_NAME when updating symbol name.
  305.     (local_symbols_DST): first prefix/postfix typo from July 21st.
  306.     [plus comment reformatting --kr]
  307.  
  308. Wed Sep 13 12:33:03 1995  Ian Lance Taylor  <ian@cygnus.com>
  309.  
  310.     * Makefile.in (EXPECT): New variable.
  311.     (CHECKFLAGS): Remove.
  312.     (site.exp): New target.
  313.     (check): Rewrite to invoke runtest directly, rather than recurring
  314.     down into testsuite.
  315.     (clean-here): Remove testsuite directory.
  316.     (clean, distclean): Don't recur into testsuite.
  317.     * configure.in: Don't call AC_CONFIG_SUBDIRS(testsuite).
  318.     * configure: Rebuild.
  319.  
  320.     * write.c (relax_and_size_seg): Change to the segment we are
  321.     relaxing, in case md_convert_frag, called by cvt_frag_to_fill,
  322.     wants to call fix_new.
  323.     * config/tc-m68k.c (m68k_ip): Permit PC relative code if the
  324.     segment of the symbol is the current segment, not just in
  325.     text_section.
  326.     (md_convert_frag_1): Don't call subseg_change.
  327.     (md_estimate_size_before_relax): Likewise.
  328.  
  329. Tue Sep 12 10:36:40 1995  Doug Evans  <dje@canuck.cygnus.com>
  330.  
  331.     * config/tc-arm.c (md_atof): Fix debugging printf, and leave it
  332.     out by default.
  333.  
  334. Mon Sep 11 11:39:11 1995  Ian Lance Taylor  <ian@cygnus.com>
  335.  
  336.     * doc/configure.in: Remove unused file.
  337.  
  338.     * app.c (do_scrub_chars): Grab all available spaces at start of
  339.     line before preserving a single space.  Remove state == 0 test
  340.     which will never succeed.
  341.     * macro.c (macro_expand_body): Delete local variables from the
  342.     formal hash table.
  343.     (macro_expand): In MRI mode, stop when whitespace is seen in the
  344.     argument list.
  345.  
  346.     * sb.c: Include "libiberty.h".
  347.     * macro.c: Likewise.  Also include <stdlib.h> if it exists.
  348.  
  349. Fri Sep  8 00:27:46 1995  Ian Lance Taylor  <ian@cygnus.com>
  350.  
  351.     * app.c (do_scrub_chars): In MRI mode, keep a space before a
  352.     possible comment character.
  353.     * config/tc-m68k.c (m68k_ip): In MRI mode, ignore anything after
  354.     an instruction which takes no operands.
  355.  
  356.     * Makefile.in (install): Don't install gasp in $(tooldir).
  357.  
  358.     * config/tc-mips.c (macro): Handle a non zero base register for
  359.     M_U{L,S}{D,W,H}_A.
  360.  
  361.     * gasp.c (show_usage): Put program_name argument in first fprintf,
  362.     not second.
  363.  
  364. Thu Sep  7 12:33:58 1995  Ian Lance Taylor  <ian@cygnus.com>
  365.  
  366.     * expr.c (operand): Handle 08 and 09 in MRI mode.
  367.     * macro.c (ISSEP): Remove duplicated `"' character.
  368.      (get_any_string): Copy some characters for which ISSEP is true:
  369.     ';', '>', '(', ')'.  Otherwise we can get in an infinite loop.
  370.     * read.c (s_space): In MRI mode, the expressions stop at the first
  371.     unquoted space.
  372.     (cons_worker): In MRI mode, restore the terminating character at
  373.     the end of the function.
  374.  
  375.     * read.c (cons_worker): Don't use #elif; old compilers don't
  376.     support it.
  377.  
  378. Wed Sep  6 21:13:06 1995  Ian Lance Taylor  <ian@cygnus.com>
  379.  
  380.     * app.c (do_scrub_chars): In MRI mode, silently end quoted strings
  381.     at newline characters.  In MRI mode, always keep spaces in the
  382.     operands field.  In MRI mode, treat a line comment character as a
  383.     regular comment character following a space.
  384.     * cond.c (ignore_input): Use strncasecmp rather than strncmp when
  385.     looking for special pseudo-ops.
  386.     * read.c (cons_worker): In MRI mode, the expressions stop at the
  387.     first unquoted space.
  388.     (equals): Likewise.
  389.  
  390. Wed Sep  6 15:03:53 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
  391.  
  392.     * config/tc-sh.c (get_operands): Read third arg if it exists.
  393.     Otherwise, clear it.
  394.     (get_specific, case F_FR0): Add.
  395.  
  396. Wed Sep  6 15:03:53 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
  397.  
  398.     * config/tc-sh.c (get_specific): Delete arg_to_test.
  399.     (md_assemble): Increase operand array from 2 to 3.
  400.  
  401. Tue Sep  5 16:47:36 1995  Stan Shebs  <shebs@andros.cygnus.com>
  402.  
  403.     * config/tc-mips.c: Remove CYGNUS LOCAL comments.
  404.     (md_begin): Use 0/1 instead of TRUE/FALSE.
  405.     (md_show_usage): Break up long format string for the benefit
  406.     of lame compilers.
  407.     * config/tc-m68k.c (md_show_usage): Ditto.
  408.     * gasp.c (show_usage): Ditto.
  409.     * macro.c (check_macro): Cast result of hash_find.
  410.  
  411. Tue Sep  5 14:46:38 1995  Ken Raeburn  <raeburn@cygnus.com>
  412.  
  413.     * configure.in: When testing for a free() declaration in system
  414.     header files, cast the address to a function pointer, not to an
  415.     integer.
  416.  
  417.     * write.c (fix_new_internal): Call TC_INIT_FIX_DATA if TC_FIX_TYPE
  418.     is defined.  Don't initialize fx_bsr.  Verify that fx_size field
  419.     is wide enough to hold stored value.
  420.     * write.h (struct fix): Change tc_fix_data to type TC_FIX_TYPE if
  421.     that is defined, otherwise omit it.  Delete fx_bsr.  Change
  422.     fx_size to unsigned char.
  423.     * config/tc-i960.h (TC_FIX_TYPE, fx_bsr, TC_INIT_FIX_DATA): New
  424.     macros.
  425.     * config/tc-ns32k.h (TC_FIX_TYPE, fx_bsr, TC_INIT_FIX_DATA): New
  426.     macros.
  427.     * config/tc-hppa.h (TC_FIX_TYPE): Define as PTR.
  428.  
  429.     * config/tc-i860.c (md_apply_fix): Delete code for checking
  430.     fx_im_disp, and for handling non-zero values, since it never gets
  431.     set after being initialized to zero.
  432.  
  433.     * write.h (struct fix): Make fx_im_disp always 2 bits, since the
  434.     only tc-* files actually using it need that much.
  435.  
  436.     NS32K changes from Ian Dall:
  437.     * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and
  438.     ns32k-pc532-lites* like ns32k-pc532-netbsd*.
  439.     * config/tc-ns32k.h (LOCAL_LABELS_FB): Define to 1.
  440.  
  441. Fri Sep  1 17:02:15 1995  steve chamberlain  <sac@slash.cygnus.com>
  442.  
  443.     * write.c (fixup_segment): Get TC_FORCE_RELOCATION up the
  444.     right way!
  445.  
  446. Fri Sep  1 08:20:19 1995  James G. Smith  <jsmith@beauty.cygnus.com>
  447.  
  448.         * config/tc-mips.c (md_parse_option, md_begin, md_show_usage):
  449.     Add support for "-mcpu=vr4300" as processor identifier.
  450.  
  451. Thu Aug 31 16:41:06 1995  steve chamberlain  <sac@slash.cygnus.com>
  452.  
  453.     * write.c (fixup_segment): Remove change of 29th.
  454.     * config/tc-{i386,arm}.h (TC_FORCE_RELOCATION): Keep RVA relocs.
  455.  
  456. Tue Aug 29 19:42:58 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
  457.  
  458.     * config/tc-m68k.c (m68k_ip) [case POST/PRE/BASE]: Fix typo when
  459.      looking at outer displacement.  Don't set the postindex bit if the
  460.      index suppress bit is set (for memory indirect addressing mode).
  461.  
  462. Thu Aug 31 06:49:37 1995  Doug Evans  <dje@canuck.cygnus.com>
  463.  
  464.     * config/tc-arm.c (tc_gen_reloc): Delete duplicated code.
  465.  
  466. Wed Aug 30 23:51:57 1995  Ian Lance Taylor  <ian@cygnus.com>
  467.  
  468.     * app.c (do_scrub_chars): Free saved_input when the from buffer
  469.     exactly fills the to buffer.
  470.  
  471. Wed Aug 30 13:46:39 1995  Doug Evans  <dje@canuck.cygnus.com>
  472.  
  473.     * config/tc-sparc.c (parse_keyword_arg, parse_const_expr_arg): New fns.
  474.     (sparc_ip): Call them for asi, membar, and prefetch parsing.
  475.  
  476. Tue Aug 29 15:45:37 1995  Doug Evans  <dje@canuck.cygnus.com>
  477.  
  478.     * config/tc-sparc.c (membar_masks): Deleted.
  479.     (sparc_ip): Clean up ASI and membar support.
  480.  
  481. Tue Aug 29 13:20:27 1995  steve chamberlain  <sac@slash.cygnus.com>
  482.  
  483.     * read.c (potable): Rva is new entry.
  484.     (cons_worker): New, split from cons.  Handles rva.
  485.     (cons, s_rva): Call cons_worker.
  486.     * read.h (s_rva): New declaration.
  487.     * write.c (fixup_segment): Don't throw away rva relocs.
  488.     * config/tc-arm.c (md_apply_fix, tc_gen_reloc): Handle RVA.
  489.     * config/tc-i386.c (tc_coff_fix2type): Handle RVA.
  490.     * config/tc-i386.h (TC_COUNT_RELOC): Remember RVAs.
  491.     (TC_RVA_RELOC): New definition.
  492.  
  493. Sun Aug 27 17:41:05 1995  Doug Evans  <dje@canuck.cygnus.com>
  494.  
  495.     * config/tc-arm.c (do_swi): Allow optional leading '#'.
  496.  
  497. Sat Aug 26 17:24:20 1995  Ian Lance Taylor  (ian@cygnus.com)
  498.  
  499.     * config/tc-m68k.c (comment_chars): If TE_DELTA is defined,
  500.     include '#'.
  501.     * config/tc-m68k.h (NO_PSEUDO_DOT): Define if TE_DELTA is
  502.     defined.
  503.  
  504.     * config/te-delta.h: Include obj-format.h.
  505.     * config/te-sco386.h: Likewise.
  506.     * config/te-sysv32.h: Likewise.
  507.  
  508.     * app.c (scrub_file): Remove.
  509.     (scrub_from_file, scrub_to_file): Remove.
  510.     (scrub_string, scrub_last_string): Remove.
  511.     (scrub_from_string, scrub_to_string): Remove.
  512.     (saved_input, saved_input_len): New static variables.
  513.     (struct app_saved): Remove scrub_string, scrub_last_string, and
  514.     scrub_file fields.  Add saved_input and saved_input_len fields.
  515.     (app_push): Adjust saved fields for changes in struct app_save.
  516.     Initialize state and saved_input.
  517.     (app_pop): Adjust saved fields for changes in struct app_save.
  518.     (do_scrub_chars): Rename from do_scrub_next_char and rewrite to
  519.     process a buffer at a time rather than a character at a time.
  520.     (main, as_warn): Remove obsolete testing code.
  521.     * as.h (do_scrub_next_char): Don't declare.
  522.     (do_scrub_chars): Declare.
  523.     (scrub_from_file, scrub_from_string): Don't declare.
  524.     (scrub_to_file, scrub_to_string): Don't declare.
  525.     * input-file.c (input_file_get): New static function.
  526.     (input_file_give_next_buffer): Call do_scrub_chars rather than
  527.     do_scrub_next_char.
  528.     * read.c (scrub_string, scrub_string_end): New static variables.
  529.     (scrub_from_string): New static function.
  530.     (read_a_source_file): Call do_scrub_chars rather than
  531.     do_scrub_next_char.
  532.  
  533. Thu Aug 24 18:50:19 1995  Ian Lance Taylor  (ian@cygnus.com)
  534.  
  535.     * gasp.c (as_abort): New function.
  536.     * sb.c (sb_build): Revert yesterday's patch.
  537.  
  538.     * Makefile.in (gasp.new): Depend upon ../libiberty/libiberty.a.
  539.     Just link against libiberty, not against $(LIBS).
  540.  
  541. Wed Aug 23 15:18:20 1995  Ian Lance Taylor  (ian@cygnus.com)
  542.  
  543.     * sb.c (sb_build): Undefine abort before calling it, since gasp
  544.     does not provide as_abort.
  545.  
  546. Wed Aug 23 10:40:41 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  547.  
  548.     * config/tc-ppc.c (set_target_endian): New static to say whether
  549.     we've initialized target_big_endian or not.
  550.     (md_parse_option): Set set_target_endian if we set the variable
  551.     target_big_endian.
  552.     (md_begin): Only set target_big_endian if !set_target_endian.
  553.  
  554. Tue Aug 22 03:00:33 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
  555.  
  556.     Sat Aug 19 18:08:16 1995  Pat Rankin  <rankin@eql.caltech.edu>
  557.  
  558.     * config/obj-vms.h (DST_S_C_SRC_SETREC_W, DST_S_C_SRC_DEFLINES_B):
  559.     New macros.
  560.     * config/obj-vms.c (VMS_TBT_Line_PC_Correlation,
  561.     VMS_TBT_Source_Lines): Make traceback info be robust enough to
  562.     handle huge source files.
  563.     (VMS_TBT_Source_File): Reorganize the native- vs cross-assembly
  564.     support so that actual object file output is clearer.
  565.     (VMS_TBT_Source_File: Fab, Nam, Date_Xab, File_Header_Xab):
  566.     Replace static variables with automatic ones.
  567.  
  568.     Sat Aug 12 20:18:15 1995  Pat Rankin  <rankin@eql.caltech.edu>
  569.  
  570.     * config/obj-vms.c (Module_Name): new file scope variable.
  571.     (VMS_TBT_Module_Begin): use it instead of local variable.
  572.     (Write_VMS_MHD_Records): ditto; assign its value here.
  573.     (Write_VMS_EOM_Record): second argument has type valueT.
  574.     (VMS_Initialized_Data_Size):  simplify search loop; return
  575.     type is offsetT; second argument is unsigned.
  576.  
  577.     Sat Jun 17 19:05:25 1995  Pat Rankin  (rankin@eql.caltech.edu)
  578.  
  579.     * messages.c (as_perror): Use xstrerror instead of strerror.
  580.  
  581. Mon Aug 21 13:57:20 1995  Ian Lance Taylor  <ian@cygnus.com>
  582.  
  583.     * as.c (parse_args): Accept --defsym SYM=VALUE.
  584.     * doc/as.texinfo, doc/as.1: Document --defsym.
  585.  
  586.     * read.c (read_a_source_file): In MRI mode, don't end the
  587.     statement inside a quotation.
  588.     (s_space): Don't warn about a zero repeat count in MRI mode.
  589.     * config/tc-m68k.c (crack_operand): In MRI mode, don't count
  590.     parentheses inside quotes.
  591.     (md_assemble): In MRI mode, anything after the operands field is a
  592.     comment.
  593.     (parse_mri_control_operand): Adjust start and stop to remove
  594.     spaces.
  595.     (s_mri_for): Likewise.
  596.  
  597.     * cond.c (s_ifdef): Restore the character after the symbol name,
  598.     in case it is a newline.
  599.     (s_if): If ignoring the current tree, don't try to parse the
  600.     expression.
  601.  
  602.     * app.c (do_scrub_next_char): If LEX_IS_STRINGQUOTE or
  603.     LEX_IS_ONECHAR_QUOTE is seen in    state 10, preserve one space.
  604.  
  605.     * doc/as.texinfo: Document irp, irpc, macro, and rept. MRI mode
  606.     now supports macros, ifc, ifnc, irp, irpc, rept, and endr, without
  607.     using gasp.
  608.  
  609.     Add support for macros.
  610.     * as.c: Include sb.h and macro.h.
  611.     (max_macro_next): New global variable.
  612.     (main): Call macro_init.
  613.     (macro_expr): New static function.
  614.     * as.h (max_macro_nest): Declare.
  615.     * read.c (line_label): Rename from mri_line_label.  Change all
  616.     uses.
  617.     (potable): Add exitm, irp, irpc, macro, mexit, rept.
  618.     (read_a_source_file): Always clear line_label at the start of a
  619.     line, not just when flag_mri or LABELS_WITHOUT_COLONS.  Fix
  620.     MRI/LABELS_WITHOUT_COLONS handling.  In MRI mode, permit label:
  621.     equ val.  Set line_label when calling colon.  In MRI mode, a
  622.     leading '.' does not imply a pseudo-op.  Check for macro expansion
  623.     before calling md_assemble.
  624.     (s_irp): New function.
  625.     (get_line_sb): New static function.
  626.     (s_macro): New function.
  627.     (s_mexit): New function.
  628.     (s_rept): New function.
  629.     * read.h (line_label): Rename from mri_line_label.
  630.     (s_irp, s_rept): Declare.
  631.     (s_macro, s_mexit): Declare.
  632.     * input-scrub.c: Include sb.h.
  633.     (sb_index, from_sb): New static variables.
  634.     (macro_nest): New static variable.
  635.     (struct input_save): Add sb_index and from_sb fields.  Change
  636.     next_saved_file field to be struct input_save *.
  637.     (next_saved_file): Changed to be struct input_save *.
  638.     (input_scrub_push): Change to return type struct input_save *.
  639.     Save sb_index and from_sb.
  640.     (input_scrub_pop): Change parameter type to struct input_save *.
  641.     Restore sb_index and from_sb.
  642.     (input_scrub_include_sb): New function.
  643.     (input_scrub_next_buffer): Handle reading from from_sb.
  644.     (bump_line_counters): Only increment lines if not using from_sb.
  645.     * config/tc-m68k.c (opt_table): Add nest.
  646.     (opt_nest): New static function.
  647.     * gasp.c: Include sb.h and macro.h.  Move all sb related functions
  648.     and definitions to sb.h and sb.c.  Move all macro related
  649.     functions and definitions to macro.h and macro.c.
  650.     * sb.h, sb.c: New files, extracted from gasp.c.
  651.     * macro.h, macro.c: Likewise.
  652.     * Makefile.in (OBJS): Add sb.o and macro.o
  653.     (GASPOBJS): Define.
  654.     (gasp.new): Depend upon $(GASPOBJS).  Use $(GASPOBJS) to link.
  655.     (TARG_CPU_DEP_m68k): Depend upon subsegs.h.
  656.     (gasp.o): Depend upon sb.h and macro.h.
  657.     (sb.o): New target.
  658.     (macro.o): New target.
  659.     (as.o): Depend upon sb.h and macro.h.
  660.     (input-scrub.o): Depend upon sb.h.
  661.     (read.o): Depend upon sb.h and macro.h.
  662.  
  663.     * cond.c (get_mri_string): New static function.
  664.     (s_ifc): New function.
  665.     * read.c (potable): Add ifc and ifnc.
  666.     * read.h (s_ifc): Declare.
  667.  
  668.     * app.c (do_scrub_begin): In MRI mode, set lex of ' to
  669.     LEX_IS_STRINGQUOTE.
  670.  
  671. Mon Aug 21 13:41:33 1995  Michael Meissner  <meissner@cygnus.com>
  672.  
  673.     * config/tc-ppc.c (md_assemble): Allow @HA, @L, and @H suffixes on
  674.     constant expressions.
  675.  
  676. Sun Aug 20 15:54:37 1995  Jim Wilson  <wilson@cygnus.com>
  677.  
  678.     * config/tc-arm.c (md_reloc_size): Add const to declaration.
  679.  
  680. Fri Aug 18 10:58:09 1995  Ian Lance Taylor  <ian@cygnus.com>
  681.  
  682.     * read.c (s_include): In MRI mode, don't expect quotes around the
  683.     file name.
  684.     * listing.c (listing_title): Don't require the title to be quoted.
  685.  
  686.     * gasp.c (include_print_where_line): Always subtract 1 from
  687.     linecount before printing it.
  688.     (process_file): In MRI mode, lines beginning with '*' or '!' are
  689.     comments.
  690.     (do_reg): In MRI mode, don't require parentheses.
  691.     (do_include): In MRI mode, don't requires quotes.  If the file can
  692.     not be found in the include path, try opening it in the current
  693.     directory.  Print the file name correctly in the error message.
  694.     (chartype_init): In MRI mode, set FIRSTBIT for '.'.
  695.     (main): Set comment_char to ';' when entering MRI mode.
  696.  
  697.     * config/tc-m68k.c: Include subsegs.h.
  698.     (m68k_ip): Pass 64 rather than -1 to add_Fix in 'B' 'B' case.
  699.     (md_pcrel_from): If fx_pcrel_adjust is 64, use -1 instead.
  700.  
  701.     * config/tc-sparc.h (tc_fix_adjustable): For OBJ_AOUT case, adjust
  702.     BFD_RELOC_16 and BFD_RELOC_32 relocs.
  703.  
  704. Wed Aug 16 14:48:44 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
  705.  
  706.     * as.h (alloca): Use void* declaration on HP/UX.
  707.  
  708. Wed Aug 16 12:49:17 1995  Ian Lance Taylor  <ian@cygnus.com>
  709.  
  710.     * config/tc-sparc.c (tc_gen_reloc): If PIC, only change PCREL_S2
  711.     to WPLT30 for an undefined or external symbol.  Don't consider
  712.     PC10 or PC22 to be a PC relative reloc when choosing between
  713.     fx_addnumber and fx_offset.
  714.  
  715.     * config/tc-z8k.c (md_number_to_chars): Don't do it here, call
  716.     number_to_chars_bigendian.
  717.     * config/tc-z8k.h (TARGET_BYTES_BIG_ENDIAN): Define.
  718.  
  719.     * expr.c (operand): Add support for .startof. and .sizeof. by
  720.     using magic symbol names which the linker will recognize
  721.     specially.
  722.     * doc/as.texinfo: Take out note that .startof. and .sizeof. are
  723.     not supported.
  724.  
  725. Tue Aug 15 15:08:49 1995  Ian Lance Taylor  <ian@cygnus.com>
  726.  
  727.     * config/tc-m68k.c (md_pseudo_table): Add MRI structured control
  728.     directives: if, if.b, if.w, if.l, else, else.s, else.l, endi,
  729.     break, break.s, break.l, next, next.s, next.l, for, for.b, for.w,
  730.     for.l, endf, repeat, until, until.b, until.w, until.l, while,
  731.     while.b, while.w, while.l, endw.
  732.     (enum mri_control_type): Define.
  733.     (struct mri_control_info): Define.
  734.     (mri_control_stack): New static variable.
  735.     (mri_control_index): New static variable.
  736.     (mri_control_label): New static function.
  737.     (push_mri_control, pop_mri_control): New static functions.
  738.     (parse_mri_condition): New static function.
  739.     (parse_mri_control_operand): New static function.
  740.     (swap_mri_condition, reverse_mri_condition): New static functions.
  741.     (build_mri_control_operand): New static function.
  742.     (parse_mri_control_expression): New static function.
  743.     (s_mri_if, s_mri_else, s_mri_endi): New static functions.
  744.     (s_mri_break, s_mri_next): New static functions.
  745.     (s_mri_for, s_mri_endf): New static functions.
  746.     (s_mri_repeat, s_mri_until): New static functions.
  747.     (s_mri_while, s_mri_endw): New static functions.
  748.     * gasp.c (mrikinfo): Remove IF.
  749.     * expr.c (get_symbol_end): Accept \001 as part of a name.
  750.  
  751.     * symbols.c (colon): Change parameter to const char *.
  752.     * symbols.h (colon): Update declaration.
  753.  
  754. Mon Aug 14 20:51:56 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
  755.  
  756.     * write.c (write_contents): Always do it the BFD_FAST_SECTION_FILL
  757.     way.  Reformat and reindent that code to GNU standards.
  758.     (BFD_FAST_SECTION_FILL): Don't define.
  759.  
  760. Mon Aug 14 14:08:07 1995  Jeff Law  (law@snake.cs.utah.edu)
  761.  
  762.     * config/tc-hppa.c (md_apply_fix): Don't try to apply BEGIN_BRTAB
  763.     or END_BRTAB fixups.
  764.  
  765. Mon Aug 14 15:45:07 1995  Ian Lance Taylor  <ian@cygnus.com>
  766.  
  767.     * gasp.c (do_align, get_any_string): Mark as static.
  768.     (do_assigna, do_assignc, new_file): Likewise.
  769.  
  770.     * config/tc-m68k.c (s_reg): Rename local op to rop to avoid
  771.     confusion with macro op.
  772.  
  773.     * gasp.c (strip_comments): Comment out; it's not used.
  774.     (do_end): Add parameter.  In MRI mode, print it out.
  775.     (do_irp): New static function.
  776.     (sub_actual): Change parameter m to formal_hash, changing type
  777.     from macro_entryh * to hash_table *.
  778.     (macro_expand_body): New static function, broken out of
  779.     macro_expand.
  780.     (macro_expand): Call macro_expand_body.
  781.     (K_*): Fully parenthesize.
  782.     (K_IRP, K_IRPC): Define.
  783.     (mrikinfo): Add IRP and IRPC.
  784.     (process_pseudo_op): In MRI mode, print out END pseudo-op.  Pass
  785.     line to do_end.  Handle K_IRP and K_IRPC.
  786.  
  787.     * config/tc-m68k.c (s_opt): Reset *input_line_pointer even if we
  788.     don't do anything with the option.
  789.  
  790. Sun Aug 13 17:03:58 1995  Ian Lance Taylor  <ian@cygnus.com>
  791.  
  792.     * frags.c (frag_align): Handle absolute_section.
  793.     * write.c (record_alignment): Likewise.
  794.  
  795.     * config/tc-mips.c (macro_build): Skip insns with an inappropriate
  796.     ISA level.
  797.  
  798. Sun Aug 13 00:35:02 1995  Jeff Law  (law@snake.cs.utah.edu)
  799.  
  800.     * config/tc-hppa.c (md_pseudo_table): Add entries for
  801.     "begin_brtab" and "end_brtab" pseudo-ops.
  802.     (pa_brtab): New function.
  803.     (tc_gen_reloc, SOM version): Handle R_BEGIN_BRTAB and R_END_BRTAB.
  804.     (hppa_force_relocation): Force relocations for BRTAB fixups
  805.     when OBJ_SOM is defined.
  806.  
  807. Fri Aug 11 20:34:05 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
  808.  
  809.     * Makefile.in (TE_OBJS): Add empty definition.
  810.  
  811. Fri Aug 11 19:16:08 1995  Ian Lance Taylor  <ian@cygnus.com>
  812.  
  813.     * gasp.c (change_base): Don't treat ' specially in MRI mode.
  814.     (process_file): Don't warn about missing END in MRI mode.
  815.     (do_if): New static function.
  816.     (get_mri_string, do_ifc): New static functions.
  817.     (buffer_and_nest): Treat MRI mode like alternate syntax mode.
  818.     (do_aendr): Change error message in MRI mode.
  819.     (do_arepeat): Use REPT/ENDR in MRI mode.
  820.     (do_formals): In MRI mode, add special NARG formal.
  821.     (macro_expand): Various changes for MRI mode: permit a qualifier
  822.     on the macro name; set special NARG formal; permit unnamed
  823.     positional arguments; use && to concatenate named parameters;
  824.     permit \d to specify an unnamed parameter; permit named parameters
  825.     to not start with \; use == to see if a parameter exists.
  826.     (getstring): In MRI mode, allow <> to quote a string.
  827.     (K_IFEQ, K_IFNE, K_IFLT, K_IFLE, K_IFGE, K_IFGT): Define.
  828.     (K_IFC, K_IFNC): Define.
  829.     (struct keyword): Name structure used in kinfo array.
  830.     (mrikinfo): New static array.
  831.     (process_pseudo_op): Don't require leading '.' in MRI mode.
  832.     Handle new MRI pseudo-op definitions.
  833.     (add_keyword): New static function, broken out of process_init.
  834.     (process_init): Use add_keyword.  In MRI mode, add mrikinfo table.
  835.     (long_options): Add "mri".
  836.     (show_usage): Mention -M/--mri.
  837.     (main): Call process_init after processing arguments.  Handle -M.
  838.     * doc/gasp.texi: Document -M/--mri.
  839.  
  840.     * gasp.c: Include ansidecl.h.  Make all local functions static.
  841.         Add prototypes for all static functions.
  842.     (mri): New global variable.
  843.     (sb_add_char): Change parameter c from char to int.
  844.     (sb_add_string): Make parameter s into a const pointer.
  845.     (sb_add_buffer): Likewise.
  846.     (checkconst): Change parameter op from char to int.
  847.     (exp_get_abs): Make parameter emsg into a const pointer.
  848.     (do_res): Change parameter type from char to int.
  849.     (buffer_and_nest): Make parameters from and to into const
  850.     pointers.
  851.     (do_sdata): Change parameter type from char to int.
  852.     (new_file): Make parameter name into a const pointer.
  853.     (do_define): Make parameter string into a const pointer.
  854.  
  855.     * config/tc-h8300.c (md_number_to_chars): Don't do it here, call
  856.     number_to_chars_bigendian.
  857.     * config/tc-h8300.h (TARGET_BYTES_BIG_ENDIAN): Define.
  858.  
  859. Fri Aug 11 13:23:56 1995  Michael Meissner  <meissner@cygnus.com>
  860.  
  861.     * write.h (struct fix): Add new field fx_no_overflow.
  862.  
  863.     * write.c (fixup_segment): If fx_no_overflow is non-zero, don't
  864.     complain if the addend is too large.
  865.  
  866.     * config/tc-ppc.c (md_assemble): Set fx_no_overflow if the half
  867.     word relocations BFD_RELOC_{LO16,HI16,HI16_S}.
  868.  
  869. Thu Aug 10 20:56:38 1995  Ken Raeburn  <raeburn@cygnus.com>
  870.  
  871.     * read.c (s_mri_sect) [BFD_ASSEMBLER]: Fix typos in choosing and
  872.     setting section flags.
  873.  
  874. Thu Aug 10 00:38:11 1995  Ian Lance Taylor  <ian@cygnus.com>
  875.  
  876.     * doc/as.texinfo: Add documentation for MRI compatibility mode.
  877.     * doc/as.1: Likewise.
  878.  
  879.     * config/tc-m68k.c (m68k_ip): When recognizing '#', use isbyte and
  880.     iword rather than expr8 and expr16.  When recognizing 'M', use
  881.     issbyte rather than expr8.  When recognizing 'Q' and 't', just
  882.     check for O_constant rather than using expr8.
  883.     * config/m68k-parse.h (expr8, expr16): Don't define.
  884.     * Makefile.in (m68k-parse.o): Depend upon m68k-parse.h, not
  885.     m68k-parse.y.
  886.  
  887.     * read.c (potable): Add spc, ttl, xcom, xref.
  888.     (s_mri_sect): New function.
  889.     * read.h (s_mri_sect): Declare.
  890.     * config/obj-coff.c (obj_coff_section) (both versions): In MRI
  891.     mode, call s_mri_sect.
  892.     (obj_pseudo_table): Add sect.s and section.s.  Move sect outside
  893.     of ifndef BFD_ASSEMBLER.
  894.     * config/obj-elf.c (elf_pseudo_table): Add section.s, sect,
  895.     sect.s.
  896.     (obj_elf_section): In MRI mode, call s_mri_sect.
  897.     * config/tc-m68k.c (md_pseudo_table): Add restore, save.
  898.     (struct save_opts): Define.
  899.     (save_stack): New static variable.
  900.     (s_save, s_restore): New static functions.
  901.  
  902.     * read.c (s_set): Remove unused local ptr.
  903.     (hex_float): Check target_big_endian.
  904.     (equals): Remove unused local p.
  905.  
  906.     * config/tc-a29k.h (TARGET_BYTES_BIG_ENDIAN): Define.
  907.     * config/tc-h8500.h (TARGET_BYTES_BIG_ENDIAN): Define.
  908.     * config/tc-hppa.h (TARGET_BYTES_BIG_ENDIAN): Define.
  909.     * config/tc-i860.h (TARGET_BYTES_BIG_ENDIAN): Define.
  910.     * config/tc-m68k.h (TARGET_BYTES_BIG_ENDIAN): Define.
  911.     * config/tc-m88k.h (TARGET_BYTES_BIG_ENDIAN): Define.
  912.     * config/tc-tahoe.h (TARGET_BYTES_BIG_ENDIAN): Define.
  913.     * config/tc-sh.c (little): Set target_big_endian.
  914.     (md_begin): Likewise.
  915.     (md_parse_option): Likewise.
  916.     (build_relax): Check target_big_endian rather than shl.
  917.     (build_Mytes, md_atof): Likewise.
  918.     (md_convert_frag, md_apply_fix): Likewise.
  919.     (md_number_to_chars): Likewise.
  920.     
  921. Wed Aug  9 10:51:48 1995  Ian Lance Taylor  <ian@cygnus.com>
  922.  
  923.     * config/tc-m68k.c (m68k_abspcadd): New static variable.
  924.     (m68k_quick): New static variable.
  925.     (m68k_rel32): New static variable.
  926.     (md_pseudo_table): Add opt and reg.
  927.     (m68k_ip): Permit absolute symbols in 'l'/'L' recognition.  Check
  928.     m68k_quick in 'M' and 'Q' recognition.  Check m68k_abspcadd in
  929.     DISP handling.  Check m68k_rel32 in BASE/POST/PRE handling.
  930.     (md_begin): In MRI mode, initialize m68k_abspcadd and m68k_rel32.
  931.     In MRI mode, change unsized branch aliases to be variable sized.
  932.     (struct opt_action): Define.
  933.     (opt_table): Define.
  934.     (s_opt): New static function.
  935.     (skip_to_comma): New static function.
  936.     (opt_chip): New static function.
  937.     (opt_list): New static function.
  938.     (opt_list_symbols): New static function.
  939.     (s_reg): New static function.
  940.     * as.h (flag_keep_locals): Change from unsigned char to int.
  941.     (flag_no_warnings): Likewise.
  942.  
  943.     * read.c (mri_line_label): Make non-static.
  944.     (potable): Add nopage, page, plen.
  945.     (s_org): Error if in MRI mode.
  946.     * read.h (mri_line_label): Declare.
  947.     * listing.c (listing_nopage): New function.
  948.     * listing.h (listing_nopage): Declare.
  949.  
  950.     * symbols.c (symbol_begin): Set sy_frag of abs_symbol to
  951.     &zero_address_frag.
  952.  
  953.     * write.c (adjust_reloc_syms): Check that symbol is not NULL
  954.     before checking sy_mri_common.
  955.     (fixup_segment): Likewise.
  956.     * config/obj-coff.c (fixup_segment): Likewise.
  957.  
  958.     * read.c (abs_section_offset): New global variable.
  959.     (potable): Add offset, struct.
  960.     (do_org): New static function; handle changing the origin in the
  961.     absolute section.
  962.     (s_org): Use do_org.
  963.     (s_set): Likewise.
  964.     (equals): Likewise.
  965.     (s_space): In absolute_section, just increase abs_section_offset.
  966.     (s_struct): New function.
  967.     (emit_expr): Handle absolute_section specially.
  968.     * read.h (abs_section_offset): Declare.
  969.     (s_struct): Declare.
  970.     * frags.c (frag_more): Warn if in absolute_section.
  971.     (frag_now_fix): In absolute_section, return abs_section_offset.
  972.     * subsegs.c (subseg_change): If switching to absolute_section,
  973.     just set now_seg and now_subseg.
  974.     (subseg_set_rest): Special handling when switching to or from
  975.     absolute_section.
  976.  
  977.     * config/tc-m68k.c (m68k_float_copnum): New static variable.
  978.     (md_pseudo_table): Add fopt and mask2.
  979.     (m68k_ip): Use m68k_float_copnum, not COPNUM, when setting
  980.     coprocessor register to use.  In case 'I' when checking operands,
  981.     correct coprocessor register numbers.  In case 'I' when setting
  982.     operands, don't add 1.
  983.     (s_fopt): New static function.
  984.     * config/m68k-parse.h (COPNUM): Don't define.
  985.  
  986.     * read.c (potable): Add ifeq, ifge, ifgt, ifle, iflt, ifne.
  987.     Change if to pass O_ne to s_if.
  988.     (read_a_source_file): Don't define an label without a colon if
  989.     ignore_input returns true.
  990.     * cond.c (s_if): Treat argument as an operatorT describing how to
  991.     compare the argument against zero.
  992.     (ignore_input): Don't require an initial dot in MRI mode, or if
  993.     NO_PSEUDO_DOT is defined.
  994.  
  995.     * read.c (potable): Add dcb, dcb.b, dcb.d, dcb.l, dcb.s, dcb.w,
  996.     dcb.x, ds.d, ds.p, ds.s, ds.x, elsec, endc, fail, format, llen,
  997.     noformat.
  998.     (read_a_source_file): If pseudo-op handler is s_end, quit
  999.     immediately.
  1000.     (s_end): New function.
  1001.     (s_fail): New function.
  1002.     (s_float_space): New function.
  1003.     (hex_float): New static function.
  1004.     (float_cons): Use hex_float.
  1005.     * read.h (s_fail): Declare.
  1006.     (s_float_space): Declare.
  1007.     * cond.c (s_end): Remove.
  1008.     * listing.c (listing_psize): Treat argument as indicating whether
  1009.     a height is expected.
  1010.  
  1011.     * read.c (mri_pending_align): New static variable.
  1012.     (read_a_source_file): Handle mri_pending_align.
  1013.     (cons): Set mri_pending_align if appropriate.
  1014.  
  1015.     * configure.in: Move random special target handling before
  1016.     possible break.
  1017.     * configure: Rebuild.
  1018.  
  1019. Tue Aug  8 23:41:25 1995  Alan Modra  <alan@spri.levels.unisa.edu.au>
  1020.  
  1021.     * configure.in: Consistently use ${target_cpu_type} rather than
  1022.     ${cpu_type} after the loop.
  1023.     * configure: Rebuild.
  1024.     * Makefile.in (targ-cpu.o): Use @target_cpu_type@ rather than
  1025.     @cpu_type@.
  1026.  
  1027. Tue Aug  8 17:27:17 1995  Ken Raeburn  <raeburn@cygnus.com>
  1028.  
  1029.     * expr.h (operatorT): Remove comma after last enumerator value.
  1030.  
  1031.     * config/obj-vms.c: Some whitespace cleanup from Pat Rankin.
  1032.  
  1033.     * as.h (alloca): If __STDC__, declare void* instead of char*.
  1034.  
  1035.     Wed Aug  2 18:54:37 1995  Pat Rankin  <rankin@eql.caltech.edu>
  1036.  
  1037.     * config/obj-vms.c (Flush_VMS_Object_Record_Buffer,
  1038.     Close_VMS_Object_File): Reorganize the `#if !VMS' cross-assmebler
  1039.     support code.
  1040.     (Close_VMS_Object_File): Call Set_VMS_Object_File_Record to flush
  1041.     output buffer--just in case--before closing the file.
  1042.  
  1043. Tue Aug  8 13:07:05 1995  Ian Lance Taylor  <ian@cygnus.com>
  1044.  
  1045.     * config/tc-m68k.c (archs): Add 68ec000, 68hc000, 68hc001,
  1046.     68ec020, 68ec030, 68ec040, and 68330.
  1047.     (md_pseudo_table): Add chip and comline.
  1048.     (m68k_init_after_args): Use strcasecmp when comparing default_cpu
  1049.     against architectures.
  1050.     (mri_chip, s_chip): New static functions.
  1051.  
  1052.     * struc-symbol.h (struct symbol): Add sy_mri_common bit.
  1053.     * read.h (mri_comon_symbol): Declare.
  1054.     (s_mri_common): Declare.
  1055.     * read.c (mri_line_label): New static variable.
  1056.     (mri_common_symbol): New global variable.
  1057.     (potable): Add "common" and "common.s".
  1058.     (read_a_source_file): In MRI mode, set mri_line_label for a label
  1059.     at the start of a line.
  1060.     (s_mri_common): New function.
  1061.     (s_space): Handle mri_common_symbol.
  1062.     * symbols.c (colon): Change return value from void to symbolS *,
  1063.     and return new symbol.  If mri_common_symbol is set, attach the
  1064.     new symbol to it.
  1065.     (resolve_symbol_value): Handle an sy_mri_common symbol.
  1066.     * symbols.h (colon): Change return value in declaration.
  1067.     * subsegs.c (subseg_set_rest): Clear mri_common_symbol.
  1068.     (subseg_set (both versions)): Likewise.
  1069.     * frags.c (frag_more): Warn if mri_common_symbol is not NULL.
  1070.     * write.c (adjust_reloc_syms): Skip sy_mri_common symbols.
  1071.     (write_object_file): Discard sy_mri_common symbols.
  1072.     (fixup_segment): Change relocations against sy_mri_common symbols
  1073.     to be against the common symbol itself.
  1074.     * config/obj-coff.c (yank_symbols): Discard sy_mri_common symbols.
  1075.     (fixup_segment): Change relocations against sy_mri_common symbols
  1076.     to be against the common symbol itself.
  1077.     * config/obj-aout.c (obj_crawl_symbol_chain): Discard
  1078.     sy_mri_common symbols.
  1079.  
  1080.     * doc/c-m68k.texi: Add documentation for CPU specific options, and
  1081.     for Motorola syntax.
  1082.  
  1083.     * config/m68k-parse.y (motorola_operand): For (%pc), set mode to
  1084.     DISP, not BASE.
  1085.  
  1086. Tue Aug  8 02:31:38 1995  Ken Raeburn  <raeburn@cygnus.com>
  1087.  
  1088.     * write.c (relax_align): Add extra padding for linkrelax only if
  1089.     LINKER_RELAXING_SHRINKS_ONLY is defined.
  1090.     * config/tc-i960.h (LINKER_RELAXING_SHRINKS_ONLY): Define it.
  1091.     * doc/internals.texi (Relaxation): Write up some stuff on linker
  1092.     relaxing and LINKER_RELAXING_SHRINKS_ONLY.
  1093.  
  1094. Mon Aug  7 17:18:10 1995  Ian Lance Taylor  <ian@cygnus.com>
  1095.  
  1096.     * config/m68k-parse.y: New file: bison grammar for m68k operands,
  1097.     including support for Motorola syntax.
  1098.     * config/m68k-parse.h: New file; definitions shared between
  1099.     m68k-parse.y and tc-m68k.c.
  1100.     * config/tc-m68k.c: Include m68k-parse.h.
  1101.     (enum operand_type): Move to m68k-parse.h, where it is named
  1102.     m68k_operand_type.  Rename all uses.  Rearrange somewhat.  Add
  1103.     FPREG.  Rename AOFF to DISP.  Rename AINDX to BASE.  Rename APODX
  1104.     to POST.  Rename APRDX to PRE.  Remove AMIND.  Rename MSCR to
  1105.     CONTROL.  Remove DINDR.
  1106.     (struct m68k_exp): Move to m68k-parse.h.  Remove e_beg, e_end and
  1107.     e_seg fields.  Rename e_exp to exp.  Rename e_siz to size, and
  1108.     change type to enum m68k_size.  Change all uses.
  1109.     (enum _register): Move to m68k-parse.h, where it is named
  1110.     m68k_register.  Rename all uses.  Add ZDATA0-7 and ZADDR0-7.
  1111.     (struct m68k_op): Move to m68k-parse.h.  Change all fields.
  1112.     (seg): Don't define.
  1113.     (add_exp): Remove.
  1114.     (FAIL, OK): Remove.
  1115.     (m68k_reg_parse): Move to m68k-parse.y, and rewrite.
  1116.     (SKIP_WHITE, SKIP_W): Remove.
  1117.     (try_moto_index, try_index): Remove.
  1118.     (m68k_ip_op): Move to m68k-parse.y, and rewrite to use grammar.
  1119.     (main): Remove obsolete test function.
  1120.     (m68k_ip): Extensive changes to use new grammar.
  1121.     (get_regs): Remove.
  1122.     (crack_operand): m68k_ip_op now returns 0 on success.
  1123.     (init_table): Add ssp, zd0-7 and za0-7.
  1124.     (md_assemble): Make er const.  Correct loop over operands when
  1125.     looking for error message.
  1126.     (md_begin): Set alt_notend_table for '(' and '@'.
  1127.     (get_num): Expression is already parsed.  Don't set seg.
  1128.     * configure.in: If cpu_type is m68k, put m68k-parse.o in
  1129.     extra-objects.
  1130.     * configure: Rebuild.
  1131.     * Makefile.in (DISTSTUFF): Add m68k-parse.c.
  1132.     (BISON): Use ../bison/bison if it exists.
  1133.     (BISONFLAGS): Define as empty.
  1134.     (TARG_CPU_DEP_m68k): Depend upon $(srcdir)/config/m68k-parse.h.
  1135.     (m68k-parse.c, m68k-parse.o): New targets.
  1136.  
  1137. Mon Aug  7 02:54:20 1995  Jeff Law  (law@snake.cs.utah.edu)
  1138.  
  1139.     * config/tc-sh.c (parse_reg): Handle new FP registers.
  1140.     (get_specific): Handle new operand types.
  1141.  
  1142. Fri Aug  4 12:29:21 1995  Ian Lance Taylor  <ian@cygnus.com>
  1143.  
  1144.     * expr.c (op_encoding): Make non-const.  Don't set '"' to
  1145.         O_bit_not.
  1146.     (expr_begin): Set op_encoding['"'] in MRI mode.
  1147.  
  1148. Wed Aug  2 18:39:43 1995  Ian Lance Taylor  <ian@cygnus.com>
  1149.  
  1150.     * config/tc-m68k.c: Remove BREAK_UP_BIG_DECL stuff.
  1151.     (struct m68k_incant): Change m_operands field to be const.
  1152.     (struct m68k_it): Change args field to be const.
  1153.     (m68k_ip): Change local variable s to be const.
  1154.     (opcode_ptr): Remove.
  1155.     (md_begin): Use m68k_numopcodes, not numopcodes.  Use
  1156.     m68k_opcodes, not removed opcode_ptr.  Use m68k_numaliases, not
  1157.     numaliases.
  1158.  
  1159. Tue Aug  1 17:35:26 1995  Ian Lance Taylor  <ian@cygnus.com>
  1160.  
  1161.     * config/tc-m68k.c (init_table): Add "control", "status", "iaddr",
  1162.     "sfcr", and "dfcr" as synonyms for existing entries.
  1163.     (md_begin): In MRI mode, force flag_reg_prefix_optional to 1.
  1164.     (md_parse_option): Removed unused locals i and arch.  Change type
  1165.     of arch (another one) to unsigned long.
  1166.     (tc_coff_sizemachdep): Add return after abort to avoid warning.
  1167.  
  1168.     Initial support for MRI style labels and expressions.
  1169.     * as.h (flag_mri): Declare/define.
  1170.     * as.c (show_usage): Mention -M and its synonym --mri.
  1171.     (parse_args): Add 'M' to std_shortopts.  Add "mri" to
  1172.     std_longopts.  Set flag_mri if -M is seen.
  1173.     (main): Call parse_args before input_scrub_begin.  Call
  1174.     expr_begin.
  1175.     * app.c (do_scrub_begin): Don't set lex for '"' or '\'' in MRI
  1176.     mode.  Do set lex for ';', '*', and '!' in MRI mode.
  1177.     (do_scrub_next_char): Remove MRI ifdef in LEX_IS_WHITESPACE case.
  1178.     In MRI mode, keep spaces between labels and colons.  Remove MRI
  1179.     ifndef around LEX_IS_ONECHAR_QUOTE case.  In MRI mode, don't use
  1180.     '!' or '*' as comment characters even if they are in
  1181.     comment_chars.
  1182.     * read.h (lex_type): No longer const.
  1183.     * read.c: Include libiberty.h.
  1184.     (lex_type): No longer const.
  1185.     (read_begin): In MRI mode, set lex_type of '?' to 3.
  1186.     (potable): Add dc, dc.b, dc.d, dc.l, dc.s, dc.w, dc.x, ds, ds.b,
  1187.     ds.l, ds.w, and xdef.
  1188.     (read_a_source_file): Change LABELS_WITHOUT_COLON ifdef to check
  1189.     for MRI mode at runtime rather than compile time.  Handle the EQU
  1190.     pseudo-op in MRI mode.  Remove bogus MRI ifdef around done_pseudo.
  1191.     Change NO_PSEUDO_DOT ifdef to also take effect for MRI mode at
  1192.     runtime.
  1193.     (cons): In MRI mode, always call parse_mri_cons rather than
  1194.     TC_PARSE_CONS_EXPRESSION.
  1195.     (parse_mri_cons): Always compile, not just when MRI is defined.
  1196.     Call TC_PARSE_CONS_EXPRESSION, not expression, when the input is
  1197.     not a string constant.  Handle A and E modifiers.
  1198.     (float_cons): Accept :xxxx, where the x's are hex digits.
  1199.     * expr.h (operatorT): Add O_eq, O_ne, O_lt, O_le, O_ge, O_gt.
  1200.     (expr_begin): Declare.
  1201.     * expr.c (integer_constant): In MRI mode, if the base was not
  1202.     specified, look for a suffix on the number to set the base.
  1203.     (mri_char_constant): New static function.
  1204.     (operand): Remove MRI ifdef.  In MRI mode, do various things: Pass
  1205.     0 as the base when calling integer_constant if there was no
  1206.     prefix.  Check for a hex constant suffix if when a leading '0' is
  1207.     seen.  Don't accept 0x or 0b as a prefix.  Check for E'chars' and
  1208.     A'chars'.  Handle MRI character constants.  Treat '"' as the
  1209.     unary bitwise not operator.  Treat $ as the program counter, or as
  1210.     the prefix for a hex constant.  Treat % as the prefix for a binary
  1211.     constant and @ as the prefix for an octal constant.  Treat : as
  1212.     the prefix for a hex constant.
  1213.     (op_encoding): Set '"' to O_bit_not, '<' to O_lt, and '>' to O_gt.
  1214.     (op_rank): No longer const.  Change rank values.
  1215.     (expr_begin): New function.
  1216.     (operator): New static function.
  1217.     (expr): Use operator.  Don't bother to mention the operator in
  1218.     warnings.  Remove bogus #if 0 code.  Handle new operatorT values.
  1219.     * atof-generic.c (atof_generic): In MRI mode, accept underscores
  1220.     around the exponent in floating point numbers.
  1221.     * symbols.h (symbols_case_sensitive): Declare.
  1222.     * symbols.c (symbols_case_sensitive): New global variable.
  1223.     (symbol_create): Check symbols_case_sensitive.
  1224.     (symbol_find_base): Likewise.
  1225.     (resolve_symbol_value): Handle new operatorT values.
  1226.     (print_expr_1): Likewise.
  1227.     (S_IS_LOCAL): In MRI mode, names beginning with two '?' characters
  1228.     are local.
  1229.  
  1230. Tue Aug  1 11:35:18 1995  steve chamberlain  <sac@slash.cygnus.com>
  1231.  
  1232.     * tc-sh.c (md_convert_frag): Make some error messages more
  1233.     explict.
  1234.  
  1235. Mon Jul 31 21:40:47 1995  Ken Raeburn  <raeburn@cygnus.com>
  1236.  
  1237.     Sat Jul 29 18:55:23 1995  Pat Rankin  <rankin@eql.caltech.edu>
  1238.  
  1239.     * config/obj-vms.c (COPY_SHORT, COPY_LONG, PUT_SHORT, PUT_LONG):
  1240.     Make expansion be safe for use in expressions.
  1241.     (PUT_COUNTED_STRING): Bracket expansion with `do {...} while (0)'
  1242.     rather than just `{...}'.
  1243.  
  1244. Mon Jul 31 18:19:26 1995  steve chamberlain  <sac@slash.cygnus.com>
  1245.  
  1246.     * gasp.c (main): Parse -I option.
  1247.     (do_include): Look through include list.
  1248.     * gasp.c (change_base): Don't modify numbers in strings. 
  1249.  
  1250. Mon Jul 31 12:16:21 1995  Ian Lance Taylor  <ian@cygnus.com>
  1251.  
  1252.     * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Define.  From Niclas
  1253.     Andersson <nican@ida.liu.se>.
  1254.  
  1255. Thu Jul 27 20:47:12 1995  Ken Raeburn  <raeburn@cygnus.com>
  1256.  
  1257.     * config/obj-coff.c (fixup_segment): Don't do further pcrel
  1258.     processing after converting difference of two symbols in the
  1259.     same segment.  From Jim Wilson.
  1260.  
  1261.     * configure.in (i386-*-linuxoldld): Add as synonym for
  1262.     i386-*-linux*aout*.  From Fred Fish.
  1263.     * configure: Regenerated.
  1264.  
  1265. Thu Jul 27 16:14:56 1995  Pat Rankin  <rankin@eql.caltech.edu>
  1266.  
  1267.     * config/obj-vms.c (enum ps_type {ps_TEXT,ps_DATA,ps_COMMON,
  1268.     ps_CONST}): New constants.
  1269.     (VMS_Psect_Spec): Use them instead of literal strings.
  1270.     (vms_write_object_file, global_symbol_directory): Adjust callers.
  1271.  
  1272. Wed Jul 26 18:31:35 1995  Pat Rankin  <rankin@eql.caltech.edu>
  1273.  
  1274.     * config/obj-vms.c (const_flag): Change from char to unsigned char.
  1275.     * config/obj-vms.h (const_flag): Ditto.
  1276.     (struct nlist): Replace union n_un and n_un.{n_name,n_next,n_strx}
  1277.     fields with just n_name; delete field n_value; change n_other from
  1278.     char to unsigned char and n_desc from short to int; insert explicit
  1279.     padding for alignment.
  1280.  
  1281. Mon Jul 24 20:06:17 1995  Ken Raeburn  <raeburn@cygnus.com>
  1282.  
  1283.     * subsegs.h (struct seg_info_trash): Make bitfield types valid.
  1284.  
  1285.     * config/obj-coff.c (fixup_segment): Local add_number should not
  1286.     be declared register since its address is taken for
  1287.     MD_APPLY_FIX3.
  1288.  
  1289.     Fri Jul 21 15:28:18 1995  Pat Rankin  <rankin@eql.caltech.edu>
  1290.  
  1291.     Split huge vms_write_object_file routine into managable pieces.
  1292.  
  1293.     * config/obj-vms.c (vms_fixup_text_section, synthesize_data_segment,
  1294.     vms_fixup_data_section, global_symbol_directory, local_symbols_DST,
  1295.     vms_build_DST): New routines.
  1296.     (vms_write_object_file): Call them.
  1297.     (struct vms_obj_state): New file scope variable used by the above.
  1298.  
  1299. Mon Jul 24 14:10:24 1995  Ian Lance Taylor  <ian@cygnus.com>
  1300.  
  1301.     * config/tc-sh.c (md_pseudo_table): Add "uses".
  1302.     (s_uses): New static function.
  1303.     (sh_coff_frob_file): New function.
  1304.     (md_convert_frag): Call subseg_change before calling fix_new.
  1305.     (sh_handle_align): New function.
  1306.     (SWITCH_TABLE): Define.
  1307.     (sh_force_relocation): New function.
  1308.     (md_apply_fix): Handle R_SH_USES, R_SH_COUNT and R_SH_ALIGN.
  1309.     (sh_coff_reloc_mangle): Likewise.  Also handle switch table
  1310.     entries.
  1311.     * config/tc-sh.h (HANDLE_ALIGN): Define.
  1312.     (sh_handle_align): Declare.
  1313.     (TC_FORCE_RELOCATION): Define.
  1314.     (sh_force_relocation): Declare.
  1315.     (TC_COUNT_RELOC): Simplify; rely on TC_FORCE_RELOCATION instead.
  1316.     (tc_frob_file): Define.
  1317.     (sh_coff_frob_file): Declare.
  1318.     * config/obj-coff.c (write_object_file): Call tc_frob_file if it
  1319.     is defined.
  1320.     (fixup_mdeps): Call HANDLE_ALIGN if it is defined.
  1321.     (TC_FORCE_RELOCATION): Define if not defined.
  1322.     (fixup_segment): Use TC_FORCE_RELOCATION to decide whether to
  1323.     clear the symbol fields of fixP.
  1324.  
  1325. Fri Jul 21 22:38:00 1995  Michael Meissner  <meissner@cygnus.com>
  1326.  
  1327.     * config/tc-ppc.c (ppc_elf_suffix): Add support for R_PPC_SDAREL
  1328.     relocation.
  1329.     (md_apply_fix3): Ditto.
  1330.  
  1331. Thu Jul 20 13:00:56 1995  Ken Raeburn  <raeburn@cygnus.com>
  1332.  
  1333.     * config/tc-m68k.c (md_convert_frag): Rename argument seg to sec,
  1334.     since seg is a macro name in this file.
  1335.  
  1336.     * configure.in (arm-*-riscix*): Don't set emulation.
  1337.  
  1338. Wed Jul 19 16:08:29 1995  Doug Evans  <dje@canuck.cygnus.com>
  1339.  
  1340.     * config/obj-coff.h (TE_PE): Delete.
  1341.     * config/tc-arm.h (BYTE_ORDER): Delete.
  1342.     (TARGET_FORMAT): Provide value for OBJ_COFF and TE_PE.
  1343.     (ARM_BI_ENDIAN): Define if OBJ_COFF and TE_PE.
  1344.     * config/tc-arm.c (byte_order): Delete.
  1345.     (md_number_to_chars): Reference target_big_endian, not byte_order.
  1346.     (md_chars_to_number): Likewise.
  1347.     (md_longopts): Add -EB/-EL if ARM_BI_ENDIAN.
  1348.     (md_parse_options): Recognize -EB/-EL.
  1349.     (md_show_usage): List -EB/-EL.
  1350.  
  1351. Wed Jul 19 11:49:25 1995  Ian Lance Taylor  <ian@cygnus.com>
  1352.  
  1353.     * gasp.c (process_assigns): Use toupper before comparing against
  1354.     upper case letter.
  1355.     (whatcond): Likewise.
  1356.  
  1357.     * config/tc-sh.c (sh_relax): Rename from relax, and make global.
  1358.     Renamed all uses.
  1359.     (insert): Pass a size of 2, not 4.
  1360.     (build_relax): Remove unused len variable.
  1361.     (md_show_usage): Mention -little option.
  1362.     (md_convert_frag): Add segT argument.  Rewrite to generate relocs
  1363.     rather than to generate complete instructions here.
  1364.     (md_apply_fix): Adjust and clarify R_SH_PCRELIMM8BY4 case for
  1365.     changes in insert and md_pcrel_from.  Add cases for R_SH_PCDISP
  1366.     and R_SH_PCDISP8BY2.
  1367.     (md_pcrel_from): Don't subtract 1, add 2.
  1368.     (tc_coff_fix2rtype): Remove.
  1369.     (sh_coff_reloc_mangle): New function.
  1370.     * config/tc-sh.h (TC_COFF_FIX2RTYPE): Just return fx_r_type.
  1371.     (sh_relax): Declare.
  1372.     (TC_COUNT_RELOC): If relaxing, count PC relative relocs.
  1373.     (TC_RELOC_MANGLE): Define.
  1374.     (sh_coff_reloc_mangle): Declare.
  1375.     (tc_coff_sizemachdep): Declare.
  1376.     * tc.h (md_convert_frag): Add segT parameter to non BFD_ASSEMBLER
  1377.     declaration.
  1378.     * write.c (cvt_frag_to_fill): Add sec argument to non
  1379.     BFD_ASSEMBLER version.  Pass it to md_convert_frag.
  1380.     (write_object_file): Pass SEG_TEXT to cvs_frag_to_fill.
  1381.     * config/obj-coff.c (do_relocs_for): Pass segment info to
  1382.     TC_RELOC_MANGLE.
  1383.     (fixup_mdeps): Pass segment type to md_convert_frag.
  1384.     * config/tc-a29k.c (md_convert_frag): Add segT argument.
  1385.     * config/tc-h8300.c (md_convert_frag): Likewise.
  1386.     * config/tc-h8500.c (md_convert_frag): Likewise.
  1387.     * config/tc-i386.c (md_convert_frag): Likewise.
  1388.     * config/tc-i860.c (md_convert_frag): Likewise.
  1389.     * config/tc-i960.c (md_convert_frag): Likewise.
  1390.     * config/tc-m68k.c (md_convert_frag): Likewise.
  1391.     * config/tc-m88k.h (md_convert_frag): Likewise.
  1392.     * config/tc-ns32k.c (md_convert_frag): Likewise.
  1393.     * config/tc-tahoe.c (md_convert_frag): Likewise.
  1394.     * config/tc-vax.c (md_convert_frag): Likewise.
  1395.     * config/tc-w65.c (md_convert_frag): Likewise.
  1396.     * config/tc-z8k.c (md_convert_frag): Likewise.
  1397.     * config/tc-h8300.h (TC_RELOC_MANGLE): Add segment argument.
  1398.     * config/tc-h8500.h (TC_RELOC_MANGLE): Likewise.
  1399.     * config/tc-w65.h (TC_RELOC_MANGLE): Likewise.
  1400.     * config/tc-z8k.h (TC_RELOC_MANGLE): Likewise.
  1401.  
  1402. Mon Jul 17 15:02:54 1995  Pat Rankin  <rankin@eql.caltech.edu>
  1403.  
  1404.     * config/obj-vms.c (Current_Routine, Text_Psect): Delete as file
  1405.     scope variables.
  1406.     (Define_Routine, Define_Local_Symbols): Take Current_Routine and
  1407.     Text_Psect as arguments.
  1408.     (VMS_DBG_Define_Routine): Delete.
  1409.     (VMS_TBT_Block_End): Change `Size' argument from int to valueT.
  1410.     (vms_write_object_file: text and data fixup loops): Difference
  1411.     of two symbols has type offsetT rather than int; convert with
  1412.     md_number_to_chars before passing to VMS_Store_Immediate_Data.
  1413.     (vms_write_object_file: debug symbol loop): Call Define_Routine
  1414.     instead of VMS_DBG_Define_Routine.
  1415.  
  1416. Sat Jul 15 00:01:35 1995  Michael Meissner  <meissner@cygnus.com>
  1417.  
  1418.     * config/tc-ppc.c (ppc_elf_suffix): Add @fixup so that the
  1419.     compiler can mark which relocs not to complain about with
  1420.     -mrelocatable.
  1421.     (ppc_elf_validate_fix): Add .fixup to sections not to complain
  1422.     about, and also don't complain for BFD_RELOC_CTOR relocations in
  1423.     writable non-code segments.
  1424.     (md_apply_fix): Treat BFD_RELOC_CTOR just like BFD_RELOC_32.
  1425.  
  1426. Fri Jul 14 19:54:28 1995  Ian Lance Taylor  <ian@cygnus.com>
  1427.  
  1428.     Add support for SPARC SunOS PIC:
  1429.     * config/tc-sparc.h (sparc_pic_code): Always declare, not just
  1430.     when OBJ_ELF.
  1431.     (TC_RELOC_RTSYM_LOC_FIXUP): Define when OBJ_AOUT.
  1432.     (tc_fix_adjustable): New definition for OBJ_AOUT.
  1433.     * config/tc-sparc.c (sparc_pic_code): Always define, not just when
  1434.     OBJ_ELF.
  1435.     (md_apply_fix): Adjust reloc addend for OBJ_AOUT and PIC.  In
  1436.     BFD_RELOC_32_PCREL_S2 case, don't increment val for an external
  1437.     symbol when PIC.
  1438.     (tc_gen_reloc): Generate different PIC relocs when OBJ_AOUT, as
  1439.     well as when OBJ_ELF.
  1440.     (md_shortopts): If OBJ_AOUT, include `k'.
  1441.     (md_parse_option): If OBJ_AOUT, handle 'k'.
  1442.     (md_show_usage): Mention -k if OBJ_AOUT, and -KPIC if OBJ_ELF.
  1443.     (md_pcrel_from): Don't add in size for an external symbol when
  1444.     PIC.
  1445.  
  1446.  
  1447. Thu Jul 13 21:16:43 1995  Jeff Law  (law@snake.cs.utah.edu)
  1448.  
  1449.     * config/tc-hppa.h (UNDEFINED_DIFFERENCE_OK): Define for SOM.
  1450.     * write.c (adjust_reloc_syms): Set sy_used_in_reloc for both
  1451.     symbols in a fixup where a defined symbol is subtracted from an
  1452.     undefined symbol (when UNDEFINED_DIFFERENCE_OK is defined).
  1453.     (fixup_segment): Do nothing for the difference of two symbols if
  1454.     UNDEFINED_DIFFERENCE_OK is defined.
  1455.  
  1456. Wed Jul 12 23:33:40 1995  Ian Lance Taylor  <ian@cygnus.com>
  1457.  
  1458.     * config/obj-coff.c (fixup_segment): Support MD_APPLY_FIX3.
  1459.  
  1460. Wed Jul 12 01:12:12 1995  Ken Raeburn  <raeburn@kr-pc.cygnus.com>
  1461.  
  1462.     * write.c (fix_new): Use int, not short int, for argument type.
  1463.     (fix_new_exp): Ditto.
  1464.  
  1465.     * configure.in (arm-*-riscix*): Don't set emulations.
  1466.  
  1467.     * config/tc-mips.c (NO_ECOFF_DEBUGGING): Define if ECOFF_DEBUGGING
  1468.     wasn't previously defined.
  1469.     (s_extern): Don't set ecoff_extern_size if NO_ECOFF_DEBUGGING.
  1470.     (nopic_need_relax): Don't check it if NO_ECOFF_DEBUGGING.
  1471.     (macro_build) [!USE_STDARG]: Don't use variadic prototype.
  1472.     (mips_local_label) [NO_ECOFF_DEBUGGING]: Don't preserve potential
  1473.     ECOFF debugging symbols.
  1474.  
  1475.     * emul.h (struct emulation): Use unsigned, not unsigned char, for
  1476.     bitfields.
  1477.     * obj.h (struct format_ops): Likewise.
  1478.  
  1479.     * config/tc-arm.c (symbol_make_empty) [BFD_ASSEMBLER]: Set
  1480.     udata.p, not udata.
  1481.  
  1482. Tue Jul 11 14:30:19 1995  Ian Lance Taylor  <ian@cygnus.com>
  1483.  
  1484.     * doc/c-mips.texi: Document -m4010 and -mno-4010.
  1485.  
  1486. Tue Jul 11 14:28:55 1995  Jeff Spiegel  <jeffs@lsil.com>
  1487.  
  1488.     * config/tc-mips.c (mips_4010): New static variable.
  1489.     (interlocks): New static variable.
  1490.     (md_begin): Check for a cpu of "r4010".  Set mips_4010 correctly.
  1491.     If mips_4650 or mips_4010, set interlocks.
  1492.     (append_insn): Check interlocks, not mips_4650.
  1493.     (mips_emit_delays): Likewise.
  1494.     (mips_ip): Only permit INSN_4010 instructions if mips_4010.
  1495.     (md_longopts): Add "m4010" and "no-m4010".
  1496.     (md_parse_option): Accept -mcpu=r4010.  Handle -m4010 and
  1497.     -no-m4010.
  1498.     (md_show_usage): Document -m4010 and -no-m4010.
  1499.  
  1500. Tue Jul 11 13:22:50 1995  Ian Lance Taylor  <ian@cygnus.com>
  1501.  
  1502.     * ecoff.c (struct efdr): Add new field fake.
  1503.     (init_file): Initialize fake.
  1504.     (add_file): Add new parameter fake.  Change all callers.
  1505.     (ecoff_build_debug): Don't warn about a missing .end for a fake
  1506.     file.
  1507.  
  1508. Mon Jul 10 16:01:31 1995  Ken Raeburn  <raeburn@cygnus.com>
  1509.  
  1510.     * doc/as.texinfo: Split out most cpu chapters...
  1511.     * doc/c-*.texi: ...to here.
  1512.  
  1513.     * read.c (po_hash): Now static.
  1514.  
  1515. Mon Jul 10 13:47:22 1995  Ian Lance Taylor  <ian@cygnus.com>
  1516.  
  1517.     Based on patches from H.J. Lu <hjl@nynexst.com>:
  1518.     * config/tc-i386.c (md_apply_fix3): Rename from md_apply_fix1.
  1519.     Accept pointer to value and segment.  Fix OBJ_ELF PCREL case to
  1520.     handle global defined symbols correctly.
  1521.     (md_apply_fix): Remove both versions.
  1522.     * config/tc-i386.h (MD_APPLY_FIX3): Define.
  1523.  
  1524.     * configure.in: When switching on ${cpu}, use ${cpu}, not
  1525.     $[target_cpu}, in default case.
  1526.     * configure: Rebuild.
  1527.  
  1528. Sat Jul  8 13:27:55 1995  Ian Lance Taylor  <ian@cygnus.com>
  1529.  
  1530.     * write.c (fixup_segment): Call resolve_symbol_value on
  1531.     sub_symbolP, in case it isn't in the symbol table.
  1532.  
  1533. Fri Jul  7 11:17:27 1995  Ian Lance Taylor  <ian@cygnus.com>
  1534.  
  1535.     * read.c (s_lcomm): For .lcomm 1, set align to 0, not 1.
  1536.  
  1537.     * config/obj-coff.c (coff_frob_symbol): If SF_GET_FUNCTION, set
  1538.     BSF_FUNCTION.
  1539.     (symbol_globalP, symbol_global_lastP): New global variables.
  1540.     (yank_symbols): Sort defined global symbols to the end, just
  1541.     before the undefined symbols.
  1542.     (glue_symbols): Add two arguments, and use them instead of
  1543.     referring directly to global variables.
  1544.     (crawl_symbols): Call glue_symbols twice, once for defined globals
  1545.     and once for undefined.  Add corresponding know calls.
  1546.  
  1547.     * app.c (do_scrub_next_char): Always accept \v.  Don't make it
  1548.     conditional on BACKSLASH_V.
  1549.     * read.c (next_char_of_string): Likewise.
  1550.     * config/obj-bout.h (BACKSLASH_V): Don't define.
  1551.     * config/tc-mips.h (BACKSLASH_V): Don't define.
  1552.  
  1553.     Add SPARC ELF PIC support.
  1554.     * write.c (fixup_segment): Pass fixP to TC_RELOC_RTSYM_LOC_FIXUP,
  1555.     not fixP->fx_r_type.
  1556.     * config/tc-sparc.c (sparc_pic_code): New global variable. 
  1557.     (md_apply_fix): If generating PIC, adjust fx_addnumber for any non
  1558.     PC relative reloc.
  1559.     (tc_gen_reloc): If generating PIC, adjust various reloc types.
  1560.     Remove fx_pcrel assert, since it is no longer true.
  1561.     (md_parse_option): Handle -K PIC.
  1562.     * config/tc-sparc.h (sparc_pic_code): Declare if OBJ_ELF.
  1563.     (TC_RELOC_RTSYM_LOC_FIXUP): Define if OBJ_ELF.
  1564.     (tc_fix_adjustable): Don't adjust PC relative relocs if PIC.
  1565.     * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Take a fixp, not a
  1566.     reloc type.
  1567.  
  1568.     * Makefile.in (Makefile): Add dependency on conf.in, so that conf
  1569.     is rebuilt when conf.in changes.
  1570.  
  1571. Thu Jul  6 16:49:38 1995  Ken Raeburn  <raeburn@cygnus.com>
  1572.  
  1573.     * All files: Updated FSF address.
  1574.  
  1575. Thu Jul  6 16:30:34 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
  1576.  
  1577.     * ecoff.c (add_file): Don't collapse multiple .file commands into
  1578.     a single file structure.
  1579.     (ecoff_build_lineno): Set ilineBase to sum of previous file's
  1580.     ilineBase and cline.
  1581.  
  1582. Thu Jul  6 12:54:27 1995  Ian Lance Taylor  <ian@cygnus.com>
  1583.  
  1584.     Patches from Jerry Blakely <gerry_blakley@wellfleet.com>:
  1585.     * as.c (listing_filename): New static variable.
  1586.     (show_usage): Mention -a=file.
  1587.     (parse_args): Support = option of -a to set name of listing file.
  1588.     (main): Pass listing_filename to listing_print.
  1589.     * listing.c (list_file): New static variable.
  1590.     (various): Replace printf with fprintf to list_file.
  1591.     (listing_print): If name argument is not NULL, open it as
  1592.     list_file.
  1593.     * doc/as.texinfo, doc/as.1: Document -a=file.
  1594.  
  1595.     * config/tc-sparc.c (s_reserve): Don't permit redefinition, even
  1596.     if the symbol was already in bss_section.  Fix warning message.
  1597.  
  1598.     * listing.c (struct file_info_struct): Rename end_pending field to
  1599.     at_end.
  1600.     (file_info): Initialize at_end, not end_pending.
  1601.     (buffer_line): If at_end set, just return immediately.  Don't
  1602.     worry about end_pending cases.  Set at_end when EOF is read.
  1603.     (print_source): Check at_end, not end_pending.
  1604.     (listing_listing): Likewise.
  1605.  
  1606.     * config/tc-alpha.h (alpha_do_align): Don't declare.
  1607.     (md_do_align): Don't define.
  1608.     (tc_frob_label): Define.
  1609.     (alpha_define_label): Declare.
  1610.     (md_flush_pending_output): Define.
  1611.     (alpha_flush_pending_output): Declare.
  1612.     * config/tc-alpha.c (insn_label): New static variable.
  1613.     (auto_align): New static variable.
  1614.     (md_pseudo_table): Add cases for .text, .data, .align, .byte,
  1615.     .hword, .int, .long, .octa, .quad, .short, .word, .double, .float,
  1616.     and .single.  Change .t_floating, .s_floating, .f_floating,
  1617.     .g_floating, and .d_floating to use s_alpha_float_cons rather than
  1618.     float_cons.
  1619.     (s_alpha_text, s_alpha_data): New static functions.
  1620.     (s_rdata, s_sdata): Clear insn_label and set auto_align.
  1621.     (s_gprel32): If auto_align, align.  Clear insn_label.
  1622.     (emit_insn): Clear insn_label.
  1623.     (s_alpha_align): New static function.
  1624.     (alpha_align): Make static.  Take label argument.
  1625.     (alpha_flush_pending_output): New static function.
  1626.     (s_alpha_cons, s_alpha_float_cons): New static functions.
  1627.     (alpha_define_label): New function.
  1628.  
  1629. Wed Jul  5 22:49:31 1995  Ken Raeburn  <raeburn@cygnus.com>
  1630.  
  1631.     * conf.in: Regenerate with autoreconf.
  1632.  
  1633.     Mon Jul  3 19:47:53 1995  Pat Rankin  (rankin@eql.caltech.edu)
  1634.  
  1635.     * config/obj-vms.h (vms_resolve_symbol_redef): Use full prototype.
  1636.     (vms_check_for_special_label, tc_frob_label): Move them to group
  1637.     with other prototypes.
  1638.     [WANT_VMS_OBJ_DEFS]: Only define the many OBJ_x, DBG_x, and DST_x
  1639.     macros when this is defined.
  1640.     * config/obj-vms.c: Fully prototype all local functions.
  1641.     [symbolS, fragS]: Use consistently instead of their struct tags.
  1642.     [WANT_VMS_OBJ_DEFS]: Define this.
  1643.     (s_const): Make definition correctly match actual usage.
  1644.     (VMS_stab_parse): Make `expected_type' arg be int rather than char.
  1645.     (get_VMS_time_on_unix): Define as `static void'.
  1646.     (hash_string): Make definition match actual usage; argument is
  1647.     `char const *' rather than `unsigned char *'.
  1648.     (VMS_Case_Hack_Symbol, VMS_Modify_Psect_Attributes, VMS_Psect_Spec,
  1649.     VMS_Global_Symbol_Spec): Declare string args as `const char *'.
  1650.     [IS_GXX_VTABLE]: New macro.
  1651.     (vms_write_object_file: GSD loop): Use it.
  1652.     (vms_write_object_file: data segment): Reorganize `fill' loop.
  1653.  
  1654. Wed Jul  5 12:01:49 1995  Ian Lance Taylor  <ian@cygnus.com>
  1655.  
  1656.     * config/tc-sparc.c (md_shortopts): Add "K:" if OBJ_ELF.
  1657.     (md_parse_option): If OBJ_ELF, check for -K.  Die if -K PIC, since
  1658.     PIC code is not currently supported.
  1659.  
  1660.     * as.c (parse_args): Change std_shortopts to be an array rather
  1661.     than a constant string.  Only include 'K' if WORKING_DOT_WORD is
  1662.     not defined.  Only check for 'K' in that case as well.
  1663.     * as.h (flag_warn_displacement): Only declare if WORKING_DOT_WORD
  1664.     is not defined.
  1665.  
  1666.     * conf.in: Add undef of HAVE_SBRK.
  1667.  
  1668.     * config/obj-coff.c (obj_coff_line): Call listing_source_line, in
  1669.     both BFD_ASSEMBLER and non BFD_ASSEMBLER versions of the function.
  1670.  
  1671.     * symbols.c (S_SET_EXTERNAL): Warn if symbol is weak.
  1672.     (S_CLEAR_EXTERNAL): Likewise.
  1673.     (S_SET_WEAK): Warn if symbol is global.
  1674.  
  1675.     * config/obj-aout.c (obj_aout_frob_symbol): Warn about an attempt
  1676.     to put an undefined symbol into a set.
  1677.  
  1678.     * Makefile.in: Remove @configure_input@; it's not needed in
  1679.     files named Makefile.
  1680.  
  1681.     * config/tc-m88k.c (md_pseudo_table): Add ".set" so that the
  1682.     explicit pseudo-op works, while continuing to treat "set" as an
  1683.     instruction.
  1684.  
  1685.     * ecoff.c (ecoff_debugging_seen): New global variable.
  1686.     (ecoff_directive_def): Set ecoff_debugging_seen.
  1687.     (ecoff_stab): Likewise.
  1688.     * ecoff.h: Make idempotent.
  1689.     (ecoff_debugging_seen): Declare.
  1690.     * config/tc-mips.c: Include ecoff.h.
  1691.     (mips_debug): New static variable.
  1692.     (s_stringer, s_mips_space): Remove unneeded declarations.
  1693.     (md_parse_option): In case 'g', set mips_debug to debugging level.
  1694.     (mips_local_label): New function.
  1695.     * tc-mips.h (LOCAL_LABEL): Call mips_local_label.
  1696.     (mips_local_label): Declare.
  1697.  
  1698. Wed Jul  5 00:59:22 1995  Fred Fish  (fnf@cygnus.com)
  1699.  
  1700.     * as.c (main):  Only use sbrk when HAVE_SBRK defined.
  1701.     * configure.in:  Add test for sbrk.
  1702.     * configure:  Regenerate using autoconf 2.4.
  1703.  
  1704. Mon Jul  3 15:58:16 1995  Jeff Law  (law@snake.cs.utah.edu)
  1705.  
  1706.     * config/tc-hppa.h (MAX_RELOC_EXPANSION): Bump to 6.
  1707.     * config/tc-hppa.c (tc_gen_reloc, SOM version): Handle
  1708.     relocations for the difference of two (possibly external)
  1709.     symbols.
  1710.     (hppa_fix_adjustable): For SOM, reject reductions involving
  1711.     the difference of two symbols.
  1712.     (hppa_force_relocation): Force relocations for expressions
  1713.     involving the difference of two symbols.
  1714.  
  1715. Mon Jul  3 14:22:59 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  1716.  
  1717.     * configure[.in] (i386-*-win32): New host and target.
  1718.  
  1719. Thu Jun 29 17:25:43 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  1720.  
  1721.     Support for long filenames non-bfd coff.
  1722.     * config/obj-coff.c (filename_list_head, filename_list_tail): New.
  1723.     (yank_symbols): Notice and record filenames which are too long.
  1724.     (w_strings): Write out filename strings.
  1725.     (c_dot_file_symbols): Put long filenames onto list.
  1726.  
  1727. Wed Jun 28 17:33:13 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  1728.  
  1729.     * config/obj-coff.c (fixup_segment): PE doesn't use
  1730.     the strange common symbol format that other 386s formats
  1731.     do.
  1732.     * config/tc-i386.c (md_begin): If LEX_AT defined then
  1733.     '@' is in the set of identifiers.
  1734.     (i386_operand): If LEX_AT, then don't look for @goto stuff.
  1735.     * config/te-pe.h: Define LEX_AT.
  1736.  
  1737. Wed Jun 28 17:49:59 1995  Ken Raeburn  <raeburn@cygnus.com>
  1738.  
  1739.     * doc/as.texinfo (H8/500 Floating Point): Indicate that IEEE FP
  1740.     numbers are for the standard emulation code.
  1741.     (SH Floating Point): Ditto.
  1742.     (Overview): Describe new --emulation option for MIPS.
  1743.     * doc/*.m4: Deleted.
  1744.  
  1745. Thu Jun 22 19:26:25 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  1746.  
  1747.     Sun May  7 11:53:41 MDT 1995  Bryan Ford  <baford@cs.utah.edu>
  1748.  
  1749.     * configure.in: Added i386-*-moss* target.
  1750.  
  1751. Thu Jun 22 14:41:23 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  1752.  
  1753.     * write.c (write_object_file): Cast decode_local_label_name
  1754.     argument to char * to avoid warning.
  1755.  
  1756. Wed Jun 21 18:07:59 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  1757.  
  1758.     Changes from Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>:
  1759.     * config/tc-m68k.c (insword): Increment the frag offsets.
  1760.     (struct m68k_it): Add reloc[].pcrel_fix field to hold pc-rel
  1761.     fixup.
  1762.     (add_fix): Accept additional parameter, the pc-rel fixup. All
  1763.     callers changed.  Fix offset address if width == 'b'.
  1764.     (m68k_ip) [case AINDX]: Allow explicit size spec.  Don't make the
  1765.     outer displacement pc-relative.
  1766.     (md_pcrel_from): Make it relative to the first extension word of
  1767.     the operand.
  1768.     (opcode_ptr): Make it a macro if DO_BREAK_UP_BIG_DECL is
  1769.     undefined.
  1770.     (md_convert_frag_1): Don't reference fragP->fr_opcode[2..].
  1771.     (md_estimate_size_before_relax) [case TAB (FBRANCH, SZ_UNDEF)]:
  1772.     Turn on long bit.
  1773.     (m68k_ip) [case 'C']: Don't set set long bit, set it in the opcode
  1774.      table.
  1775.     (md_estimate_size_before_relax) [case TAB (PCINDEX, SZ_UNDEF)]:
  1776.     Variable part increases by four, not six.
  1777.     * write.c (fixup_segment) [TC_M68K]: Don't do further pcrel
  1778.     processing after converting difference of two symbols in the
  1779.     same segment.
  1780.  
  1781.     * write.c (fixup_segment): Don't conditionalize the pcrel fix on
  1782.     TC_M68K.
  1783.  
  1784.     * config/tc-sparc.c (sparc_ip, case 'A'): If ASI is not a "#"
  1785.     value, don't shift it an extra time.
  1786.  
  1787. Wed Jun 21 14:18:37 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  1788.  
  1789.     * gasp.c (do_print, do_form, buffer_and_nest): Use case insensitive
  1790.     string compares.
  1791.  
  1792. Tue Jun 20 14:55:02 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  1793.  
  1794.     * config/obj-coff.c (write_object_file): Cast time() argument to
  1795.     time_t *.
  1796.  
  1797. Tue Jun 20 12:00:53 1995  Jeff Law  (law@snake.cs.utah.edu)
  1798.  
  1799.     * config/tc-hppa.c (pa_build_unwind_subspace): Fix typo in last
  1800.     change.
  1801.  
  1802. Mon Jun 19 15:27:17 1995  Jeff Law  (law@snake.cs.utah.edu)
  1803.  
  1804.     * config/tc-hppa.c (pa_build_unwind_subspace): Zero out memory
  1805.     from frag_more calls.
  1806.  
  1807. Thu Jun 15 16:53:37 1995  Stan Shebs  <shebs@andros.cygnus.com>
  1808.  
  1809.     * config/obj-coff.c: Don't use "bfd/" when including libbfd.h
  1810.     and libcoff.h.
  1811.     (fill_section): Call PROGRESS.
  1812.     * Makefile.in (INCLUDES): Add bfd srcdir.
  1813.  
  1814.     * mpw-config.in: Add bfd_gas flag and set for each config.
  1815.     (i386-unknown-go32, m68k-unknown-coff): Recognize.
  1816.     * mpw-make.in (HACK_O_RAMA, OBJ_COFF_OMIT_TIMESTAMP): Add to
  1817.     config.h.
  1818.  
  1819. Thu Jun 15 10:04:26 1995  Doug Evans  <dje@canuck.cygnus.com>
  1820.  
  1821.     * config/tc-arm.h (LOCAL_LABEL): Prepend '.' if not OBJ_AOUT.
  1822.     (FAKE_LABEL_NAME): Likewise.
  1823.  
  1824. Mon Jun 12 22:25:39 1995  Jeff Law  (law@snake.cs.utah.edu)
  1825.  
  1826.     * config/tc-hppa.c (pa_ip): Check for invalid register in single
  1827.     precision fmpyadd and fmpysub instructions.
  1828.  
  1829. Thu Jun  8 19:33:02 1995  Pat Rankin  (rankin@eql.caltech.edu)
  1830.  
  1831.     * config/obj-vms.c (myname): Delete all references.
  1832.     (VMS_stab_parse, Write_VMS_MHD_Records, VMS_Case_Hack_Symbol):
  1833.     Replace printf calls with as_tsktsk.
  1834.     (PUT_LONG, PUT_SHORT): Use COPY_LONG, COPY_SHORT.
  1835.     (VMS_Store_Immediate_Data): Move second buffer capacity check
  1836.     below bottom of loop; first check at top suffices for loop itself.
  1837.     (find_file): Remove redundant pointer checks in first two loops;
  1838.     replace third loop with pointer to last list element determined
  1839.     in first loop.
  1840.  
  1841.  
  1842. Tue Jun  6 13:53:06 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  1843.  
  1844.     * config/tc-sparc.c (sparc_ip): Handle defined absolute symbols as
  1845.     ASI values.
  1846.  
  1847.     * config/obj-vms.c (vms_write_object_file, case N_DATA): Use
  1848.     strcmp against FAKE_LABEL_NAME instead of checking third
  1849.     character.  (Suggested by Pat Rankin.)
  1850.  
  1851. Mon Jun  5 20:10:46 1995  Pat Rankin  (rankin@eql.caltech.edu)
  1852.  
  1853.     Add support for N_ABS and N_ABS|N_EXT type symbols.
  1854.  
  1855.     * config/obj-vms.h (LSY_S_M_{DEF,REL}, ENV_S_M_{DEF,NESTED}):
  1856.     New macros for local symbols (from <lsydef.h> and <envdef.h>).
  1857.     * config/obj-vms.c (Current_Environment): New file-scope variable.
  1858.     (VMS_Local_Environment_Setup): New routine.
  1859.     (GBLSYM_LCL): New macro.
  1860.     (VMS_Global_Symbol_Spec): Handle local symbols too.
  1861.     (VMS_Psect_Spec): Set GLOBALVALUE_BIT for absolute symbols.
  1862.     (VMS_Emit_Globalvalues): Handle local and global absolute symbols.
  1863.     (VMS_Store_PIC_Symbol_Reference): Ditto.
  1864.     (vms_write_object_file: GSD symbol loop): Ditto.
  1865.  
  1866. Mon Jun  5 16:10:40 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  1867.  
  1868.     * config/tc-arm.h (LOCAL_LABELS_FB): Define.
  1869.  
  1870. Mon Jun  5 02:17:58 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
  1871.  
  1872.     * configure.in (i386-*-gnu*): Always use GNU ELF config.
  1873.  
  1874. Wed May 31 17:49:18 1995  Pat Rankin  (rankin@eql.caltech.edu)
  1875.  
  1876.     * config/obj-vms.c (obj_crawl_symbol_chain): Update *symbolPP
  1877.     in `else' clause when removing a symbol.  Also, revise comments
  1878.     to match the code.
  1879.     (vms_write_object_file (GSD symbol loop, case N_DATA)): Never
  1880.     output symbol definitions for local numeric labels.
  1881.  
  1882. Tue May 30 18:29:10 1995  Richard Earnshaw (rearnsha@armltd.co.uk)
  1883.  
  1884.     * configure.in (architecture variants, cases armeb and arm*): Remove
  1885.     spaces round assignment to endian.
  1886.  
  1887. Tue May 30 12:31:31 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  1888.  
  1889.     * write.c (write_object_file): Check for undefined local dollar
  1890.     and fb labels.
  1891.  
  1892.     * symbols.c (decode_local_label_name): Extract instance number
  1893.     from the correct location.
  1894.  
  1895. Sat May 27 21:28:49 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
  1896.  
  1897.     * config/te-dpx2.h: Include obj-format.h.
  1898.     (COFF_MAGIC): Renamed from FILE_HEADER_MAGIC.
  1899.  
  1900. Wed May 24 13:45:32 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  1901.  
  1902.     * configure, configure.in, config/obj-coff.c, config/obj-coff.h:
  1903.     Add support for ARM pe
  1904.  
  1905. Tue May 23 17:00:32 1995  Doug Evans  <dje@canuck.cygnus.com>
  1906.  
  1907.     * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP16
  1908.     and BFD_RELOC_SPARC_WDISP19.
  1909.  
  1910. Tue May 23 19:18:33 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  1911.  
  1912.     * as.c (parse_args) [! USE_EMULATIONS]: Always print an error
  1913.     message.
  1914.  
  1915.     * doc/internals.texi: Document obj_app_file and
  1916.     TARGET_BYTES_BIG_ENDIAN.
  1917.  
  1918. Mon May 22 20:03:23 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  1919.  
  1920.     * ecoff.c (ecoff_stab): Add extra leading argument, for 4 May
  1921.     change.
  1922.     * ecoff.h (ecoff_stab): Fix declaration.
  1923.     * obj.h (format_ops.process_stab): Include prototype.
  1924.     * config/obj-elf.h (OBJ_PROCESS_STAB): Pass through seg argument.
  1925.     * config/obj-ecoff.h (OBJ_PROCESS_STAB): Ditto.
  1926.  
  1927.     * config/e-mipself.c (mipself): New emulation mode, doesn't change
  1928.     endianness from configured default.
  1929.     * config/e-mipsecoff.c (mipsecoff): Ditto.
  1930.     * configure.in (mips ecoff/elf targets): Include them.
  1931.     * as.c (mipself, mipsecoff): Declare.
  1932.  
  1933.     * as.c (emulation_name): New variable.
  1934.     (select_emulation_mode): Set emulation_name.  Don't change argv.
  1935.     (parse_args): Handle --emulation; complain if the supplied name
  1936.     isn't what select_emulation_name came up with.
  1937.  
  1938.  
  1939. Sun May 21 21:36:17 1995  Jeff Law  (law@snake.cs.utah.edu)
  1940.  
  1941.     * config/tc-hppa.c: Reverse changes from Dec. 19th which
  1942.     changed the way unwinds were built for ELF.  Rely on relocation
  1943.     symbol reductions to avoid placing the end of function marker
  1944.     symbols into the object file's symbol table.
  1945.  
  1946. Sat May 20 12:31:36 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
  1947.  
  1948.     Added improved VMS support from Pat Rankin:
  1949.  
  1950.     Fri 19 May 16:51:40 1995  Pat Rankin  (rankin@eql.caltech.edu)
  1951.  
  1952.     * config/obj-vms.h (AOUT_STABS): Define.
  1953.  
  1954.     * config/obj-vms.c (fpush, rpush): New routines.
  1955.     (push): Replaced by the above.
  1956.     (find_symbol): Slight reorganization to expose tail recursion.
  1957.  
  1958.     Fri Mar 17 18:40:36 1995  Pat Rankin  (rankin@eql.caltech.edu)
  1959.  
  1960.     * Makefile.in (VMS_OTHER_OBJS):  delete this.
  1961.     * vmsconf.sh (make-gas.com):  build ../libiberty/liberty.olb
  1962.     first if necessary; link gas against it.
  1963.  
  1964. Fri May 19 16:37:39 1995  Richard Earnshaw (rearnsha@armltd.co.uk)
  1965.  
  1966.     * gasp.c (istrue): Correctly test for string inequality.
  1967.  
  1968. Thu May 18 04:25:11 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
  1969.  
  1970.     Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
  1971.  
  1972.     * config/tc-arm.c (CP_T_{Pre,UD,WB}): Define, bits in co-processor
  1973.     instructions.
  1974.     ([ls]fm_flags): Correct error in bitmasks.
  1975.     (cp_address_required_here): Delete second parameter, FLAGS.  All
  1976.     callers changed.  Remove all dead code referring to FLAGS.  If
  1977.     address is just "[Reg]" then convert into a PRE-INCREMENT UP format.
  1978.     (do_fp_ldmstm): Handle full-descending and empty-ascending stack
  1979.     formats explicitly.
  1980.  
  1981.     * config/tc-arm.c (internalError): Define.
  1982.     (ARM_{1,2,250,3,6,7,7DM,ANY,2UP,ALL,3UP,6UP,LONGMUL}): Define processor
  1983.     variants.
  1984.     (FPU_{CORE,FPA10,FPA11,NONE,ALL,MEMMULTI}): Define floating point
  1985.     variants.
  1986.     ({CPU,FPU}_DEFAULT): Define.
  1987.     (cpu_variant): New variable.
  1988.     (asm_flg): Change more_flags to flag_bits.
  1989.     Add prototypes for new functions.
  1990.     (FLAG_{S,P,B,T,ED,FD,FA,EA,IB,IA,DB,DA,L}): Delete.
  1991.     (s_flag[], ldst_flags[], byte_flag[], cmp_flags[], ldm_flags[],
  1992.      stm_flags[], lfm_flags[], sfm_flags[], round_flags[], except_flags[],
  1993.      cplong_flag[]): New variables.
  1994.     (asm_opcode, insns[]): New format, add version support.
  1995.     (arm_flg_hsh): Delete.
  1996.     (do_mul, do_mla): Remove "Warning" from warning messages.
  1997.     (do_arit): Simplify.
  1998.     (do_swap): Make error message more appropriate.
  1999.     (md_begin): Build hash tables starting at first entry in tables.
  2000.     (md_number_to_chars): Cope with big/little-endian selection.
  2001.     (md_chars_to_number): New function.
  2002.     (md_apply_fix): Rewrite to make endian independent.
  2003.     (tc_gen_reloc): Better error messages.
  2004.     (md_assemble): Reject opcodes forbidden by the currently selected cpu
  2005.     variant.  Rewrite handling code for instruction flags.
  2006.     (md_shortopts): Add option "m:".
  2007.     (md_parse_option): Get the desired cpu/fpu variant.
  2008.  
  2009.     From: David Taylor (dtaylor@armltd.co.uk)
  2010.     * configure.in (architecture variants): Check for "armeb" and "arm*",
  2011.     set endianness accordingly.
  2012.     * read.c (read_a_source_file): New hooks md_start_line_hook and
  2013.     md_after_pass_hook.
  2014.     * config/arm-{big,lit}.mt: New files
  2015.     * config/tc-arm.h ({LITTLE,BIG}_ENDIAN, BYTE_ORDER): Define.
  2016.     (TARGET_FORMAT): Select depending on endianness and emulation and
  2017.     object format.
  2018.     (md_after_pass_hook, md_start_line_hook): Define.
  2019.     * config/tc-arm.c: Include subsegs.h, symbols.h and listing.h.
  2020.     (shift[]): Add uppper case equivalents.
  2021.     (CP_T_[XY], TRANS_BIT): Define.
  2022.     (conds[]): Delete initial NULL entry, add "lo" entry as synonym for
  2023.     "cc".
  2024.     (LONGEST_FLAG, flags[]): Delete.
  2025.     (arm_psr): New structure.
  2026.     (psrs[]): New variable.
  2027.     (PSR_ALL): Define.
  2028.     (LONGEST_INST): Bump to 5.
  2029.     (LITERAL_MASK, COND_MASK, OPCODE_MASK, DATA_OP_SHIFT): Define.
  2030.     (OPCODE_{AND,EOR,SUB,RSB,ADD,ADC,SBC,RSC,TST,TEQ,CMP,CMN,ORR,MOV,BIC,
  2031.      MVN}): Define.
  2032.     (insns[]): Add smull, umull, smlal, umlal, ldfm, stfm, msr and mrs
  2033.     instructions.  Add nop and adr pseudo ops.
  2034.     (reg_table): Add APCS register name variants.
  2035.     (arm_psr_hsh): New hash table.
  2036.     (md_pseudo_table): Add "ltorg", "pool", "extend", "ldouble" and
  2037.     "packed".
  2038.     (MAX_LITERAL_POOL_SIZE): Define.
  2039.     (struct literalS): New structure.
  2040.     (literals, next_literal_pool_place, lit_pool_num, current_poolP): New
  2041.     variables.
  2042.     (add_to_lit_pool, symbol_locate, symbol_make_empty): New functions.
  2043.     (validate_immediate): Return FAIL on failure.
  2044.     (s_ltorg): New function.
  2045.     (psr_required_here, psrf_required_here): New functions.
  2046.     (cp_address_required_here): New parameter, flag, all callers changed.
  2047.     If flag is non-zero, restrict the legal addressing modes.
  2048.     (do_nop, do_mrs, do_msr, do_mull): New functions.
  2049.     (negate_data_op): New function.
  2050.     (data_op2): accept #x,y meaning x rotated right by y, but only when
  2051.     suitable constants.  If immediate is not legal, try changing the
  2052.     opcode.
  2053.     (do_adr): New function.
  2054.     (do_ldst): accept "ldr reg, =expr".  Put expr in the pool if it can't
  2055.     be done as an immediate.
  2056.     (do_fp_ldst): Use CP_T_[XY], not immediate values.
  2057.     (do_fp_ldmstm): New function.
  2058.     (arm_psr_parse): New function.
  2059.     (output_inst): Use INSN_SIZE in call to md_number_to_chars.
  2060.     (md_assemble): Add hack so that "Label instruction" causes alignment of
  2061.     the label.
  2062.     (arm_after_pass_hook, arm_start_line_hook, arm_frob_symbol): New
  2063.     functions.
  2064.  
  2065. Wed May 17 05:25:16 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2066.  
  2067.     * config/tc-ppc.c (md_show_usage): Add \'s at end of lines in
  2068.     strings for non-GCC compilers.
  2069.  
  2070. Tue May 16 19:36:00 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2071.  
  2072.     * config/obj-ecoff.c (ecoff_pop_insert): New function.
  2073.     (ecoff_format_ops): Use it.
  2074.     (obj_ecoff_frob_symbol): Now static.
  2075.  
  2076. Wed May 17 00:59:12 1995  Andrew Cagney - aka Noid  <cagney@highland.com.au>
  2077.  
  2078.     * config/tc-ppc.c (md_begin): Was assuming that an instruction was
  2079.     bigendian and hence 16bit relocs withing instructions would
  2080.     ALWAYS be at addresses i+2-i+3.  In LE mode it is i+0-i+1.
  2081.  
  2082. Tue May 16 16:29:58 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2083.  
  2084.     * config/obj-multi.h (obj_frob_symbol, obj_frob_file, S_GET_SIZE,
  2085.     S_SET_SIZE, S_GET_ALIGN, S_SET_ALIGN, obj_copy_symbol_attributes,
  2086.     OBJ_PROCESS_STAB): New macros.
  2087.     * config/tc-mips.c: Protect against redefining them also when
  2088.     including obj-elf.h.  Test only OBJ_ELF for including elf/mips.h.
  2089.     (mips_init_after_args): New function.  Set byte_order here.
  2090.     (md_parse_option): Not here.
  2091.     (byte_order): Don't bother initializing.
  2092.     * config/tc-mips.h (mips_init_after_args): Declare.
  2093.     (tc_init_after_args): New macro.
  2094.  
  2095.     * read.c (s_lcomm): Do ELF/ECOFF test at run time, not compile
  2096.     time.
  2097.  
  2098. Fri May 12 14:17:47 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  2099.  
  2100.     Initial support for PE object files.
  2101.     * configure.in, configure (i386-*-pe, i386-*-*nt): Add.
  2102.     * config/obj-coff.c (fixup_segment): Cope with PE wierdness.
  2103.     * config/obj-coff.h (TE_PE): New target format.
  2104.  
  2105. Thu May 11 14:58:21 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2106.  
  2107.     * config/obj-elf.c (NEED_ECOFF_DEBUG): Define if ECOFF_DEBUGGING
  2108.     was defined by header files.  Test in preprocessor conditionals
  2109.     instead of ECOFF_DEBUGGING.
  2110.     (ecoff_debug_pseudo_table): Make empty if NEED_ECOFF_DEBUG is not
  2111.     defined.
  2112.     (obj_read_begin_hook, obj_symbol_new_hook, elf_frob_symbol,
  2113.     elf_frob_file): Only call ecoff routines if NEED_ECOFF_DEBUG is
  2114.     defined.
  2115.     (elf_ecoff_set_ext, elf_get_extr, elf_set_index): Define only if
  2116.     NEED_ECOFF_DEBUG is defined.
  2117.     (elf_format_ops): Reference elf_ecoff_set_ext only if
  2118.     NEED_ECOFF_DEBUG.
  2119.  
  2120. Wed May 10 18:09:12 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2121.  
  2122.     * Makefile.in (OBJS): Include @extra_objects@.
  2123.     (obj-elf.o, obj-ecoff.o, e-mipself.o, e-mipsecoff.o): New rules
  2124.     for building these independently.
  2125.     * emul-target.h, config/e-mipself.c, config/e-mipsecoff.c: New
  2126.     files.
  2127.  
  2128.     * acconfig.h (DEFAULT_EMULATION, EMULATIONS, USE_EMULATIONS,
  2129.     OBJ_MAYBE_*, I386COFF, M68KCOFF, M88KCOFF): New macros.
  2130.     * aclocal.m4 (GAS_UNIQ): New macro.
  2131.  
  2132.     * as.c (emulations, n_emulations) [USE_EMULATIONS]: New variable.
  2133.     (select_emulation_mode, default_emul_bfd_name, common_emul_init)
  2134.     [USE_EMULATIONS]: New functions.
  2135.     (main) [USE_EMULATIONS]: Call select_emulation_mode before other
  2136.     initialization.
  2137.     * emul.h: New file.
  2138.     * as.h [USE_EMULATIONS]: Include it.
  2139.  
  2140.     * configure.in: Handle enable-targets option.  Iterate over target
  2141.     list, building up a list of object file formats and emulation
  2142.     configurations.  (Only supports emulations for MIPS CPU so far.)
  2143.     If multiple formats are needed, set obj_format to multi and add
  2144.     format config files to extra_files.  If emulation modes are
  2145.     needed, add the relevant files to extra_files.
  2146.  
  2147.     * configure.in: Define I386COFF, M68KCOFF, M88KCOFF for those
  2148.     configurations.
  2149.  
  2150.     * ecoff.c (ecoff_generate_asm_lineno): Filename argument now
  2151.     points to const.
  2152.     * ecoff.h (ecoff_generate_asm_lineno): Updated declaration.
  2153.  
  2154.     * obj.h (obj_read_begin_hook): Don't declare function if it's
  2155.     already a macro.
  2156.  
  2157.     * read.c (s_space, cons, stringer): If md_flush_pending_output is
  2158.     defined, call it on entry.
  2159.     * config/obj-elf.c (obj_elf_section): If md_flush_pending_output
  2160.     is defined, call it on entry.  If md_elf_section_change_hook is
  2161.     defined, call it before returning normally.
  2162.  
  2163.     * read.h (target_big_endian): Declare.
  2164.  
  2165.     * obj.h (struct format_ops): Added new function pointer fields
  2166.     ecoff_set_ext, read_begin_hook, symbol_new_hook.
  2167.     (ecoff_format_ops, elf_format_ops): Declare.
  2168.     * config/obj-elf.c (elf_s_get_size, elf_s_set_size,
  2169.     elf_s_get_align, elf_s_set_align, elf_copy_symbol_attributes,
  2170.     elf_sec_sym_ok_for_reloc): New functions.
  2171.     (elf_format_ops): New variable.
  2172.     (elf_frob_symbol): Now takes additional int* argument.
  2173.     * config/obj-elf.h (elf_frob_symbol): Update declaration.
  2174.     (elf_pop_insert): Declare.
  2175.     (obj_pop_insert): Define to call elf_pop_insert.
  2176.     * config/obj-ecoff.c (ecoff_sec_sym_ok_for_reloc,
  2177.     obj_ecoff_frob_symbol): New functions.
  2178.     (ecoff_format_ops): New variable.
  2179.  
  2180.     * config/te-generic.h: If OBJ_HEADER is defined, use it as the
  2181.     filename to include in place of obj-format.h.
  2182.     * config/te-multi.h: New file, copied from te-generic.h.
  2183.     * config/obj-elf.c (OBJ_HEADER): Define it to "obj-elf.h".
  2184.     * config/obj-ecoff.c (OBJ_HEADER): Define it to "obj-ecoff.h".
  2185.  
  2186.     * config/obj-elf.c (ECOFF_DEBUGGING): Default to 0.
  2187.     (obj_read_begin_hook, obj_symbol_new_hook, elf_frob_symbol,
  2188.     elf_frob_file): Test it at run time.
  2189.     (obj_ecoff_set_ext, elf_get_extr, elf_set_index): Define
  2190.     unconditionally.
  2191.     (elf_pseudo_table): Renamed from obj_pseudo_table, now static.
  2192.     (ecoff_debug_pseudo_table): Split off into separate table.  Define
  2193.     it unconditionally.
  2194.     (elf_pop_insert): New function.
  2195.     * config/obj-elf.h (elf_pop_insert): Declare.
  2196.     (obj_pop_insert): New macro.
  2197.     (obj_ecoff_set_ext) [!OBJ_MAYBE_ELF]: Define to elf_ecoff_set_ext.
  2198.     * config/obj-ecoff.h (obj_ecoff_set_ext): Define to ecoff_set_ext.
  2199.  
  2200.     * config/tc-mips.h: Protect against multiple inclusions.
  2201.     (mips_pop_insert): Declare.
  2202.     (md_pop_insert): Call it.
  2203.  
  2204.     * config/tc-mips.c: If OBJ_MAYBE_ELF is defined, include
  2205.     obj-elf.h, but preserve OUTPUT_FLAVOR and protect some other
  2206.     macros from redefinition.
  2207.     (ECOFF_DEBUGGING): Default to 0.  All references changed to
  2208.     run-time tests or made unconditional.
  2209.     (s_stringer, s_mips_space, s_elf_section): Deleted.
  2210.     (md_pseudo_table): Don't refer to them.  Split table into three
  2211.     sections, for MIPS, non-ECOFF_DEBUGGING, and ELF.
  2212.     (mips_pop_insert): New function.
  2213.     (mips_flush_pending_output): New function.
  2214.     (mips_enable_auto_align): New function.
  2215.     * config/tc-mips.h (mips_pop_insert): Declare.
  2216.     (md_pop_insert): New macro.
  2217.     (mips_flush_pending_output): Declare.
  2218.     (md_flush_pending_output): New macro.
  2219.     (mips_enable_auto_align): Declare.
  2220.     (md_elf_section_change_hook): New macro, calls
  2221.     mips_enable_auto_align.
  2222.  
  2223. Tue May  9 17:07:41 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2224.  
  2225.     * configure.in: Add little endian PowerPC support.
  2226.     * configure: Rebuild with autoconf.
  2227.     * config/ppc-big.mt: New file for big endian PowerPC systems.
  2228.     * config/ppc-lit.mt: New file for little endian PowerPC systems.
  2229.  
  2230.     * config/tc-ppc.h (target_big_endian): Declare.
  2231.     (TARGET_FORMAT): Deal with little and big endian ELF variants.
  2232.     (TARGET_BYTES_BIG_ENDIAN): Define as 1, not empty.
  2233.  
  2234.     * config/tc-ppc.c (ppc_big_endian): Delete variable, use
  2235.     target_big_endian instead.
  2236.     (md_parse_option): Parse -mlittle and -mlittle-endian to use
  2237.     little endian support.  Parse -mbig and -mbig-endian to use big
  2238.     endian support.
  2239.     (md_show_usage): Update to reflect current switches.
  2240.     (ppc_set_cpu): Recognize powerpcle as little endian PowerPC.  Use
  2241.     as_fatal, not abort if unknown machine.
  2242.  
  2243. Tue May  9 10:58:41 1995  Jeff Law  (law@snake.cs.utah.edu)
  2244.  
  2245.     * config/tc-hppa.c (md_apply_fix): Cast *valp to an integer when
  2246.     comparing against signed values.
  2247.     (hppa_force_relocation): Make "distance" an integer.
  2248.  
  2249. Tue May  9 00:47:03 1995  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  2250.  
  2251.     * obj.h (struct format_ops) [BFD_ASSEMBLER]: New type.
  2252.     (this_format) [BFD_ASSEMBLER]: Declare new variable, if not
  2253.     already defined as a macro.
  2254.  
  2255. Mon May  8 21:44:13 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2256.  
  2257.     * subsegs.h (seg_info): Provide dummy version for
  2258.     non-BFD_ASSEMBLER, non-MANY_SEGMENTS configuration.  It should
  2259.     never get invoked, but this is easier than conditionalizing some
  2260.     of the uses.
  2261.     (struct seg_info_trash): Dummy type used by above to make code
  2262.     compile.
  2263.  
  2264. Fri May  5 14:47:13 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2265.  
  2266.     * config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define to 1, not
  2267.     empty.
  2268.     * config/obj-elf.h (SEPARATE_STAB_SECTIONS): Ditto.
  2269.     * config/obj-som.h (SEPARATE_STAB_SECTIONS): Ditto.
  2270.  
  2271. Thu May  4 19:26:55 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2272.  
  2273.     * stabs.c (get_stab_string_offset): Always define.  If
  2274.     SEPARATE_STAB_SECTIONS isn't set, abort.
  2275.     (SEPARATE_STAB_SECTIONS): Default to zero.
  2276.     (aout_process_stab): New function, split out from s_stab_generic.
  2277.     (OBJ_PROCESS_STAB) [AOUT_STABS]: Define to call aout_process_stab,
  2278.     if not already defined.
  2279.     (s_stab_generic): Test SEPARATE_STAB_SECTIONS at run time.  If
  2280.     it's not set, and OBJ_PROCESS_STAB isn't defined, abort.  Always
  2281.     pass six arguments to OBJ_PROCESS_STAB.
  2282.     * read.h (get_stab_string_offset): Declare unconditionally.
  2283.     * config/obj-aout.h (AOUT_STABS): Define.
  2284.     * config/obj-bout.h (AOUT_STABS): Define.
  2285.     * config/obj-ecoff.h (OBJ_PROCESS_STAB): Add new first argument,
  2286.     ignored.
  2287.     * config/obj-elf.h (OBJ_PROCESS_STAB) [ECOFF_DEBUGGING]: Ditto.
  2288.  
  2289.     * config/obj-ecoff.h (ECOFF_DEBUGGING): Define to 1, not empty.
  2290.     * config/obj-elf.h (ECOFF_DEBUGGING): Ditto.  Test value, not
  2291.     whether it's defined.
  2292.  
  2293. Wed May  3 21:38:20 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2294.  
  2295.     * as.h (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): If not already
  2296.     defined, define them to zero.
  2297.     * config/tc-*.h, config/te-*.h: If defining them, define them to
  2298.     be 1 instead of empty.
  2299.     * expr.c (integer_constant, operand): Test them at run time
  2300.     instead of compile time.
  2301.     * read.c (read_a_source_file): Ditto.
  2302.     * symbols.c (colon): Ditto.
  2303.     (dollar_*, define_dollar_label, fb_*): Define unconditionally.
  2304.     * symbols.h (dollar_*, define_dollar_label, fb_*): Declare
  2305.     unconditionally.
  2306.  
  2307. Wed May  3 13:08:53 1995  Jeff Law  (law@snake.cs.utah.edu)
  2308.  
  2309.     * config/tc-hppa.c (md_apply_fix): Do nothing for an out of range
  2310.     PC relative call since those only occur in cases where the linker
  2311.     can fix them up.
  2312.     (hppa_force_relocation): Force relocations for out of range PC
  2313.     relative calls.
  2314.  
  2315. Tue May  2 16:34:47 1995  Jeff Law  (law@snake.cs.utah.edu)
  2316.  
  2317.     * configure (hppa*-*-lites*): Handle just like hppa*-*-*elf*.
  2318.     * configure.in: Likewise.
  2319.  
  2320. Tue May  2 11:22:00 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2321.  
  2322.     * read.c (pop_insert): New function.
  2323.     (pop_override_ok, pop_table_name): New variables.
  2324.     (md_pop_insert, obj_pop_insert): New macros.
  2325.     (pobegin): Use them.
  2326.  
  2327.     * config/tc-mips.c: Use USE_STDARG and USE_VARARGS instead of
  2328.     NO_STDARG &c.
  2329.  
  2330.     * read.c (target_big_endian): If TARGET_BYTES_BIG_ENDIAN is
  2331.     defined, initialize to 1.
  2332.     * config/tc-mips.c (mips_target_format): Changed to a function,
  2333.     checking flavor and byte order at run time.
  2334.     (md_parse_option, cases OPTION_EB and OPTION_EL): Set
  2335.     target_big_endian here.
  2336.     (md_begin): Not here.
  2337.     * config/tc-mips.h (mips_target_format): Adjust declaration.
  2338.     (TARGET_FORMAT): Call mips_target_format.
  2339.  
  2340.     * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Define in terms of
  2341.     OUTPUT_FLAVOR.
  2342.     * config/tc-mips.c (g_switch_value, g_switch_seen): Define
  2343.     unconditionally.
  2344.     (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
  2345.     s_abicalls, nopic_need_relax): Check USE_GLOBAL_POINTER_OPT at run
  2346.     time, instead of compiling conditionally on GPOPT.
  2347.     (GPOPT): Don't define.
  2348.     (md_shortopts): Always include -G.
  2349.     (RDATA_SECTION_NAME): Select at run time.
  2350.     (md_begin): Test for ELF format at run time instead of compile time.
  2351.     (mips_ip, s_change_sec): Ditto.
  2352.     (md_parse_option, cases OPTION_CALL_SHARED and OPTION_NON_SHARED):
  2353.     Ditto.
  2354.     (OPTION_CALL_SHARED, OPTION_NON_SHARED, mips_regmask_frag): Define
  2355.     unconditionally.
  2356.  
  2357. Tue May  2 00:17:04 1995  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  2358.  
  2359.     * Makefile.in (TARG_CPU_DEP_*): New variables.
  2360.     (targ-cpu.o): Depend on one, selected by autoconf substitution,
  2361.     instead of TARG_CPU_DEPENDENTS.
  2362.     * configure.in: Substitute $cpu_type, $obj_format, $atof, and
  2363.     $emulation into Makefile.in.
  2364.     * config/h8300.mt: Deleted.
  2365.     * config/h8500.mt: Deleted.
  2366.     * config/i386coff.mt (TARG_CPU_DEPENDENTS): Deleted.
  2367.     * config/m68k.mt: Deleted.
  2368.     * config/m68kcoff.mt (TARG_CPU_DEPENDENTS): Deleted.
  2369.     * config/m88kcoff.mt (TARG_CPU_DEPENDENTS): Deleted.
  2370.     * config/mips-big.mt (TARG_CPU_DEPENDENTS): Deleted.
  2371.     * config/mips-lit.mt (TARG_CPU_DEPENDENTS): Deleted.
  2372.     * config/sh.mt: Deleted.
  2373.     * config/w65.mt: Deleted.
  2374.     * config/z8k.mt: Deleted.
  2375.  
  2376.     * config/te-dpx2.h (dpx2): Deleted unused macro.
  2377.     * config/te-generic.h (TE_GENERIC): Ditto.
  2378.     * config/te-go32.h (TE_GO32): Ditto.
  2379.     * config/te-hp300.h (TE_HP300): Ditto.
  2380.     * config/te-hppa.h (PA, _TE_PA_H): Ditto.
  2381.     * config/te-ic960.h (TE_IC960): Ditto.
  2382.     * config/te-nbsd532.h (TE_NETBSD532): Ditto.
  2383.     * config/te-pc532mach.h (TE_PC532MACH): Ditto.
  2384.     * config/te-ppcnw.h (TE_PPCNW): Ditto.
  2385.     * config/te-sco386.h (scounix): Ditto.
  2386.  
  2387. Mon May  1 15:59:56 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2388.  
  2389.     * read.c (s_app_file): If obj_app_file is defined, call it with
  2390.     string as argument.  Don't call c_dot_file_symbol or
  2391.     elf_file_symbol.
  2392.     * config/obj-coff.h (obj_app_file): Define as c_dot_file_symbol.
  2393.     * config/obj-elf.h (obj_app_file): Define as elf_file_symbol.
  2394.  
  2395.     * as.h (OUTPUT_FLAVOR): Don't define here.
  2396.     * config/obj-aout.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
  2397.     * config/obj-bout.h (OUTPUT_FLAVOR): Define.
  2398.     * config/obj-coff.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
  2399.     * config/obj-ecoff.h (OUTPUT_FLAVOR): Define.
  2400.     * config/obj-elf.h (OUTPUT_FLAVOR): Define.
  2401.  
  2402.  
  2403. Thu Apr 27 20:07:33 1995  Doug Evans  <dje@canuck.cygnus.com>
  2404.  
  2405.     * Makefile.in (RUNTEST): Use one in srcdir if present.
  2406.     (RUNTESTFLAGS): Define.
  2407.  
  2408. Wed Apr 26 15:54:10 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2409.  
  2410.     Support for more portable alignment handling in assembly code,
  2411.     based on patches from Bryan Ford <baford@schirf.cs.utah.edu>:
  2412.     * read.c (potable): Added balign and p2align, for aligning by
  2413.     bytes or powers of two independent of what ".align" does for a
  2414.     given target.
  2415.     * doc/as.texinfo: Document them.
  2416.  
  2417. Tue Apr 25 11:12:04 1995  Rob Savoye  <rob@thepub.cygnus.com>
  2418.  
  2419.     * configure, configure.in: Look for m68k-*-vxworks* rather than
  2420.     just m68k-wrs-vxworks so gas can be configured for
  2421.     m68k-vxworks5.1.
  2422.  
  2423. Fri Apr 21 15:19:06 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2424.  
  2425.     * config/tc-sh.c (md_apply_fix): If fx_r_type is zero, handle
  2426.     fx_size of 1, and abort on unrecognized sizes.
  2427.  
  2428.     * config/tc-m68k.c (m68k_ip): Fix bug in last change regarding
  2429.     non-isvar case.
  2430.  
  2431. Sun Apr 16 01:52:52 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
  2432.  
  2433.     * config/tc-m68k.h (md_relax_table, TC_GENERIC_RELAX_TABLE):
  2434.     Missed this one in 11 Apr changes.
  2435.  
  2436.     * config/tc-i386.h (TC_GENERIC_RELAX_TABLE): Fix typo.
  2437.  
  2438. Thu Apr 13 18:18:08 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2439.  
  2440.     * config/tc-sh.c (md_convert_frag): Instead of aborting on large
  2441.     displacements, print an error message.  Don't invoke the code that
  2442.     followed the abort call until it's been verified.
  2443.  
  2444.     * config/tc-m68k.c (md_show_usage): Add 68060 to list.  Split cpu
  2445.     list into three lines.
  2446.  
  2447. Thu Apr 13 14:34:36 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
  2448.  
  2449.     * tc-m68k.c (m68k_init_after_args): Test for m68360.
  2450.     (md_parse_option): Likewise.
  2451.     (md_show_usage): Mention m68360.
  2452.     * tc-m68k.h (TARGET_WORD_SIZE): Define.
  2453.     (TARGET_ARCH): Define.
  2454.  
  2455.     * expr.c (integer_constant): If TARGET_WORD_SIZE is defined,
  2456.     sign-extend appropriately.
  2457.  
  2458. Thu Apr 13 11:20:17 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2459.  
  2460.     * config/tc-ppc.c (ppc_elf_validate_fix): Properly use PARAMS to
  2461.     hide prototype from non-ANSI compilers, and don't use ANSI syntax
  2462.     for arguments.
  2463.  
  2464. Wed Apr 12 12:20:19 1995  Stan Shebs  <shebs@andros.cygnus.com>
  2465.  
  2466.     * mpw-config.in (TDEFINES): Put empty definition into
  2467.     makefile fragment.
  2468.     * mpw-make.in (xmalloc.c.o): Remove.
  2469.     (as.new): Depend on Version.r.
  2470.     (Version.r): Generate from version info.
  2471.  
  2472.     * mpw-make.in: Delete references to hex-value.c.
  2473.  
  2474.     * mpw-config.in: Add mapping from configs to object file formats,
  2475.     get VERSION from Makefile.in and add to mk.tmp.
  2476.     (mips-idt-ecoff) [TDEFINES]: Add TARGET_BYTES_BIG_ENDIAN.
  2477.     * mpw-make.in (VERSION, gC): Don't define.
  2478.     (ALL_CFLAGS): Remove -d flags.
  2479.     (config.h): Remove definition of MPW, add HAVE_STDARG_H,
  2480.     BFD_ASSEMBLER.
  2481.  
  2482.     * mpw-make.in (ALL_CFLAGS): Add definition of HAVE_STDARG_H,
  2483.     include of ::libiberty:.
  2484.     (config.h): Ifdef contents on GAS_VERSION.
  2485.  
  2486.     * mpw-make.in (as.c): Compile with C not gC.
  2487.     (config-stamp): Touch correctly.
  2488.     (install-only): New target.
  2489.     (install): Depend on all and install-only.
  2490.  
  2491.     * mpw-config.in: Parse target and use to generate forward includes
  2492.     to tc-, obj-, and atof- files, use te-generic.h for emulation.
  2493.     * mpw-make.in (VERSION): Define.
  2494.     (as.c): Compile with GCC.
  2495.     (TARG_OBJECTS, CLIBS): Define.
  2496.     (as.new): Use LDFLAGS, TARG_OBJECTS, CLIBS and EXTRALIBS in link
  2497.     command.
  2498.     (config.h, config-stamp): Build.
  2499.  
  2500.     * mpw-make.in (C, CFLAGS): Removed definitions.
  2501.     (ALL_CFLAGS): Define.
  2502.     Set default rule to use {CC} instead of {C}.
  2503.  
  2504.     * mpw-make.in (install): Moved here from mpw-build.in.
  2505.     * mpw-build.in: Removed, functionality in mpw-make.in
  2506.  
  2507.     * mpw-make.in (CFLAGS): Add more include paths.
  2508.  
  2509.     * mpw-config.in (varargs.h, sys/*.h): Don't create when
  2510.     configuring.
  2511.     * mpw-make.in (CFLAGS): Add -w flag.
  2512.  
  2513.     * mpw-make.in: Replace 8-bit chars with their names.
  2514.  
  2515.     * mpw-config.in: New file, MPW version of configure.in.
  2516.     * mpw-make.in: New file, MPW version of Makefile.in.
  2517.  
  2518.  
  2519. Tue Apr 11 01:42:36 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2520.  
  2521.     * configure.in: Require at least autoconf 2.3, because earlier
  2522.     versions lose on some AIX versions.
  2523.     * configure: Regenerated.
  2524.  
  2525.     * configure.in: Add m68k-*-elf.
  2526.     * config/tc-m68k.c (comment_chars) [OBJ_ELF]: Include '#'.
  2527.     (md_pseudo_table) [OBJ_ELF]: Ignore "swbeg".
  2528.     (md_begin): Set alt_notend_table['&'], so svr4-style immediate
  2529.     operands are accepted.
  2530.     (md_apply_fix): Argument VALP should point to valueT.
  2531.     (md_convert_frag): Argument SEC should be type segT.
  2532.     (md_shortopts) [OBJ_ELF]: Accept 'Q' with an argument.
  2533.     (md_parse_option): Ignore it.
  2534.     (md_convert_frag_1): Add in frag address for the symbol in the
  2535.     displacement calculation.
  2536.     * config/tc-m68k.h (TARGET_FORMAT) [OBJ_ELF]: Use "elf32-m68k".
  2537.     (TARGET_ARCH): Define.
  2538.     (REGISTER_PREFIX_OPTIONAL) [OBJ_ELF]: Default to 0.
  2539.     (LOCAL_LABEL, FAKE_LABEL_NAME, REGISTER_PREFIX_OPTIONAL): Handle
  2540.     these the same way for OBJ_ELF as for M68KCOFF.
  2541.  
  2542.     * gdbinit.in: Add breakpoint in as_abort.
  2543.  
  2544.     * write.c (cvt_frag_to_fill): If offset is less than zero,
  2545.     complain about it specifically, instead of reporting an assertion
  2546.     failure.
  2547.     (relax_segment): Complain about .org backwards, then ignore it.
  2548.     Do generic rs_machine_dependent relaxation only if
  2549.     TC_GENERIC_RELAX_TABLE is defined, and use its value for the base
  2550.     of the table.
  2551.     * tc.h (md_relax_table): Delete declaration.
  2552.     * as.h (struct relax_type): Add forward declaration for type.
  2553.     * config/tc-a29k.c: Deleted md_relax_table.
  2554.     * config/tc-{alpha,arm,h8300,hppa,i860,m88k,mips,ppc,sparc,z8k}.c:
  2555.     Ditto.
  2556.     * config/tc-{h8500,i386,i960,ns32k,sh,tahoe,vax,w65}.h: Declare
  2557.     md_relax_table here, and define TC_GENERIC_RELAX_TABLE to expand
  2558.     to md_relax_table.
  2559.     * config/tc-h8500.c (md_relax_table): No longer const.
  2560.     * config/tc-w65.c (md_relax_table): Ditto.
  2561.     * config/tc-sparc.c (md_short_jump_size, md_long_jump_size):
  2562.     Deleted.
  2563.     * doc/internals.texi: Describe TC_GENERIC_RELAX_TABLE and
  2564.     WORKING_DOT_WORD.  Mention md_*_jump_size (but description needs
  2565.     to be fleshed out later).  Note m68k PCINDEX mode has been checked
  2566.     in.
  2567.  
  2568. Mon Apr 10 15:57:42 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2569.  
  2570.     * config/tc-mips.c (nopic_need_relax): New static function, split
  2571.     out from md_estimate_size_before_relax.
  2572.     (md_estimate_size_before_relax): Call it.
  2573.     (load_address, macro): In NO_PIC branches, if nopic_need_relax
  2574.     returns nonzero, don't attempt GP optimization.
  2575.  
  2576.     * config/tc-m68k.c (PCINDEX): New macro.
  2577.     (md_relax_table): No longer const.  Add PCINDEX entries.
  2578.     (m68k_ip): For AINDX with simple symbol operand, generate a
  2579.     PCINDEX frag if PC is used, or do normal non-AINDX processing for
  2580.     address register.
  2581.     (m68k_init_after_args): If cpu is 68000 or 68010, fix
  2582.     md_relax_table to prevent relaxation of PCINDEX/BYTE mode to
  2583.     SHORT, since they don't support that mode.
  2584.     (md_convert_frag_1, case PCLEA/LONG): Add 4 to offset, not 2.  Add
  2585.     support for new PCINDEX modes.
  2586.     (md_estimate_size_before_relax): Process PCINDEX/SZ_UNDEF mode.
  2587.  
  2588.     * config/tc-m68k.c (md_convert_frag_1, case PCLEA/SHORT): Add 2 to
  2589.     offset.
  2590.     (m68k_ip, case most punctuation/AOFF): If using PC, call add_frag
  2591.     using PCLEA.
  2592.  
  2593.     * config/tc-m68k.c: Don't explicitly include config.h.  Deleted a
  2594.     bunch of "#if 0" code and useless comments.
  2595.     (struct m68k_cpu): New type.
  2596.     (archs, n_archs): New variables, with single list of name/enum
  2597.     mapping and aliases.
  2598.     (m68k_ip): Delete the table here.
  2599.     (m68k_init_after_args): Use the new table here instead of
  2600.     open-coding it.
  2601.     (md_parse_option, case 'm'): Ditto.
  2602.  
  2603.     * doc/Makefile.in (Makefile): Fix rule for running config.status.
  2604.     (internals.dvi, internals.ps, internals.ps4): New targets, not
  2605.     built by default.
  2606.  
  2607.     * doc/internals.texi: Add loud disclaimer.  Refill to 79 columns,
  2608.     specify fill-column in local-variables section.  Change
  2609.     subheadings to subsections so they can be cross-referenced.
  2610.     Describe broken words, frags, frag chains, generic relaxation,
  2611.     relax table, m68k relaxation, m68k addressing modes, test suite
  2612.     code.  Add a few words about various file formats.
  2613.  
  2614.     * doc/as.texinfo (m68k): Recommend using `%' with registers as the
  2615.     normal case, instead of the exceptional case.
  2616.  
  2617.  
  2618. Thu Mar 30 14:38:47 1995  H.J. Lu (hjl@nynexst.com)
  2619.  
  2620.     * configure.in: Change linux to default to elf.  Using
  2621.     i[345]86-*-linuxaout will defaults to a.out.
  2622.     * configure: Rebuild.
  2623.  
  2624. Wed Mar 29 17:16:30 1995  Torbjorn Granlund  <tege@adder.cygnus.com>
  2625.  
  2626.     * config/tc-m68k.c (md_apply_fix_2): Cast negative offsets to offsetT
  2627.     (for hosting on 64 bit machines).
  2628.  
  2629. Tue Mar 21 16:53:27 1995  Ian Lance Taylor  <ian@cygnus.com>
  2630.  
  2631.     * config/tc-mips.c (md_show_usage): Mention -mips4 and -m4650.
  2632.  
  2633. Fri Mar 17 16:47:13 1995  Stan Shebs  <shebs@andros.cygnus.com>
  2634.  
  2635.     * write.c (write_object_file): Add PROGRESS macros.
  2636.  
  2637. Fri Mar 17 12:40:34 1995  Jeff Law  (law@snake.cs.utah.edu)
  2638.  
  2639.     * config/tc-hppa.c (pa_comm): Make sure to always reset the frag
  2640.     and section for common symbols.
  2641.  
  2642. Thu Mar 16 17:26:18 1995  Michael Meissner  <meissner@cygnus.com>
  2643.  
  2644.     * config/tc-ppc.c (ppc_elf_validate_fix): Allow non PC relative
  2645.     pointers in the .ctors and .dtors section also when using the
  2646.     -mrelocatable option.
  2647.     (md_parse_option): Support -m403 as a PowerPC computer.
  2648.     (md_show_usage): Ditto.
  2649.  
  2650. Wed Mar 15 14:45:42 1995  Ian Lance Taylor  <ian@cygnus.com>
  2651.  
  2652.     * ecoff.c (ecoff_build_debug): The cur_scope field of a fil_ptr
  2653.     may be NULL when given strange input.  Don't core dump.
  2654.  
  2655. Tue Mar 14 21:36:34 1995  Ian Lance Taylor  <ian@cygnus.com>
  2656.  
  2657.     * config/tc-mips.c (load_register): Don't use addiu for dli of an
  2658.     unsigned seemingly negative number.  Don't bother shifting a zero
  2659.     value.
  2660.     (mips_ip): For case 'j', if there are more alternatives, and the
  2661.     ISA level is at least 3, don't accept an unsigned seemingly
  2662.     negative number.
  2663.  
  2664. Tue Mar 14 19:16:43 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2665.  
  2666.     * read.c (s_app_line): Fix last patch to deal with a line number
  2667.     of 1.
  2668.  
  2669. Tue Mar 14 17:00:57 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2670.  
  2671.     * config/tc-ppc.c (ppc_elf_validate_fix): Use as_warn_where, not
  2672.     as_bad_where to give a warning instead of an error.
  2673.  
  2674. Mon Mar 13 17:03:46 1995  Pat Rankin  (rankin@eql.caltech.edu)
  2675.  
  2676.     * config/tc-vax.c (md_assemble):  issue a warning if a constant
  2677.     is used as an operand where an immediate value is not allowed.
  2678.  
  2679. Fri Mar 10 19:21:19 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2680.  
  2681.     * config/obj-coff.c: Redo my 10 Jan change, but get it right this
  2682.     time. :-)
  2683.     (fixup_segment): If linkrelax is set, just return.
  2684.     (write_object_file): Don't treat h8300 and z8k specially with
  2685.     regard to fixups.
  2686.     * config/tc-h8300.c (md_begin): Set linkrelax.
  2687.     * config/tc-z8k.c (md_begin): Ditto.
  2688.  
  2689. Thu Mar  9 18:01:37 1995  Ian Lance Taylor  <ian@cygnus.com>
  2690.  
  2691.     * config/obj-coff.c (coff_header_append): Check return value of
  2692.     bfd_coff_swap_scnhdr_out.
  2693.  
  2694. Thu Mar  9 13:51:30 1995  Doug Evans  <dje@canuck.cygnus.com>
  2695.  
  2696.     Delete this patch, it breaks the h8300 assembler.
  2697.     Tue Jan 10 13:34:14 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2698.     * config/obj-coff.c (write_object_file): Don't treat h8300 and z8k
  2699.     specially with regard to fixups.
  2700.  
  2701. Thu Mar  9 12:28:18 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2702.  
  2703.     * config/tc-ppc.c (mrelocatable): Change type to boolean.
  2704.     (md_begin): Set the EF_PPC_RELOCATABLE if -mrelocatable.
  2705.  
  2706. Wed Mar  8 15:39:39 1995  Ian Lance Taylor  <ian@cygnus.com>
  2707.  
  2708.     * config/tc-mips.c (md_begin): Check for a cpu string of r8000 or
  2709.     r10000.  If mips_isa is 4, set the machine number to 8000.
  2710.     (append_insn): If mips_isa is at least 4, don't generate nops for
  2711.     coprocessor delays.  Check INSN_READ_FPR_R when setting
  2712.     mips_cprmask[1].
  2713.     (mips_emit_delays): If mips_isa is at least 4, don't generate nops
  2714.     for coprocessor delays.
  2715.     (mips_ip): Check for INSN_ISA4 instructions.  Handle new argument
  2716.     types 'h', 'R', 'N', and 'M'.
  2717.     (md_longopts): Accept "mips4".
  2718.     (md_parse_option): Handle -mips4, and -mcpu=10000 and -mcpu=8000.
  2719.     (s_mipsset): Permit .set mips4.
  2720.  
  2721. Wed Mar  8 09:36:05 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2722.  
  2723.     * config/tc-ppc.c (ppc_elf_validate_fix): Allow .stab sections to
  2724.     have non PC relative relocations with -mrelocatable.
  2725.  
  2726. Wed Mar  8 02:57:53 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2727.  
  2728.     * config/tc-m68k.c (opcode_ptr): Return pointer to const.
  2729.     (md_begin): Make hash table errors fatal.  Process opcode aliases
  2730.     after main opcode table.
  2731.     (md_apply_fix_2, case 4): Recode setting of lower_limit to avoid
  2732.     gcc warning.
  2733.  
  2734.  
  2735. Tue Mar  7 16:07:10 1995  Ian Lance Taylor  <ian@cygnus.com>
  2736.  
  2737.     * doc/as.texinfo: Add documentation for SPARC V9, from Doug Evans
  2738.     <dje@cygnus.com>.
  2739.  
  2740. Mon Mar  6 09:58:34 1995  Jeff Law  (law@snake.cs.utah.edu)
  2741.  
  2742.     * config/tc-hppa.c: Change all occurences of pa-89 with pa-11 to
  2743.     be consistent with current naming conventions.
  2744.     (md_begin): Set a default architecture and machine type.
  2745.     (pa_ip): If the current instruction specifies a newer machine type
  2746.     than the current machine type, then update the current machine
  2747.     type.
  2748.     (need_pa11_opcode): Likewise.
  2749.  
  2750. Sun Mar  5 19:38:09 1995  Jeff Law  (law@snake.cs.utah.edu)
  2751.  
  2752.     * config/tc-hppa.c (pa_ip, case 'z'): Don't lose argument
  2753.     relocation bits for absolute calls.
  2754.  
  2755. Fri Mar  3 17:41:50 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2756.  
  2757.     * config/tc-h8300.* (md_operand): Change empty function to empty
  2758.     macro.
  2759.  
  2760.     * config/tc-h8300.c (build_bytes): Make H8/300-H warning message
  2761.     clearer.
  2762.  
  2763.     * write.c (write_contents): If bfd_set_section_contents fails,
  2764.     print a message and exit, instead of aborting.
  2765.  
  2766. Fri Mar  3 16:26:19 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2767.  
  2768.     * tc.h (md_apply_fix3): If MD_APPLY_FIX3 is defined, declare
  2769.     md_apply_fix3.
  2770.  
  2771.     * write.c (fixup_segment): If MD_APPLY_FIX3 is defined, call
  2772.     md_apply_fix3 with the normal 2 arguments and the current segment
  2773.     pointer instead of md_apply_fix.
  2774.  
  2775.     * config/tc-ppc.h (MD_APPLY_FIX3): Define.
  2776.  
  2777.     * config/tc-ppc.c (ppc_elf_validate_fix): Warn if -mrelocatable
  2778.     and a non PC relative relocation that isn't in the .got2 segment
  2779.     was performed.
  2780.     (md_apply_fix3): Rename from md_apply_fix and take segment pointer
  2781.     as third argument.  If ELF object format, call ppc_elf_validate_fix
  2782.     for normal relocations.
  2783.     (md_parse_option): If ELF object format, recognize the
  2784.     -mrelocatable switch.
  2785.  
  2786. Thu Mar  2 16:34:44 1995  Ian Lance Taylor  <ian@cygnus.com>
  2787.  
  2788.     * config/tc-i386.h (AOUT_MACHTYPE): Define as 100, not 0.
  2789.  
  2790. Tue Feb 28 18:29:27 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2791.  
  2792.     * config/tc-arm.c, config/tc-arm.h (md_operand): Replaced empty
  2793.     function in .c file with empty macro in .h file.
  2794.     * config/tc-h8500.*, config/tc-hppa.*, config/tc-i386.*,
  2795.     config/tc-i860.*, config/tc-i960.*, config/tc-ns32k.*,
  2796.     config/tc-ppc.*, config/tc-sh.*, config/tc-sparc.*,
  2797.     config/tc-tahoe.*, config/tc-vax.*, config/tc-w65.*,
  2798.     config/tc-z8k.*: Ditto.
  2799.     * config/tc-m68k.*: Ditto.
  2800.  
  2801.     * config/tc-m68k.c (mote_pseudo_table): Removed dots from opcode
  2802.     names.
  2803.  
  2804.     * read.c (s_app_line): Ignore non-positive line numbers.
  2805.  
  2806. Tue Feb 28 15:34:14 1995  Ian Lance Taylor  <ian@cygnus.com>
  2807.  
  2808.     * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust PLT or
  2809.     GOT relocs either.
  2810.  
  2811. Mon Feb 27 13:03:41 1995  Kung Hsu  <kung@mexican.cygnus.com>
  2812.  
  2813.     * configure.in: add a29k-*-vxworks configuration.
  2814.  
  2815. Fri Feb 24 14:41:15 1995  Ian Lance Taylor  <ian@cygnus.com>
  2816.  
  2817.     * config/tc-mips.c (load_register): Take dbl argument to determine
  2818.     handling of signed 32 bit values in 64 bit modes.  Change all
  2819.     callers.
  2820.     (macro): Handle M_DLI and M_DLA_AB.
  2821.  
  2822. Wed Feb 22 23:10:56 1995  Jeff Law  (law@snake.cs.utah.edu)
  2823.  
  2824.     * config/tc-hppa.c (md_apply_fix): Don't subtract the value of the
  2825.     add symbol if it's a common symbol (the value of a common symbol
  2826.     is its size, not a value in the traditional sense).
  2827.  
  2828. Wed Feb 22 21:12:28 1995  Ian Lance Taylor  <ian@cygnus.com>
  2829.  
  2830.     * config/tc-mips.c (append_insn): If listing_prev_line is called,
  2831.     call frag_grow to make sure there is still room for a variant.
  2832.  
  2833. Fri Feb 17 14:50:08 1995  Ian Lance Taylor  <ian@cygnus.com>
  2834.  
  2835.     * config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
  2836.     if OBJ_ELF.  From gary@Intrepid.COM (Gary Funck).
  2837.  
  2838.     * config/obj-elf.c (elf_frob_symbol): Warn if a symbol is both
  2839.     weak and common.
  2840.     * config/obj-aout.c (obj_aout_frob_symbol): Likewise.
  2841.  
  2842. Fri Feb 17 12:43:47 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2843.  
  2844.     * config/tc-ppc.c (md_pseudo_table): Don't redefine byte under
  2845.     ELF.
  2846.     (ppc_elf_cons): Don't support @pcrel any more, since DIFF_EXPR_OK
  2847.     allows the normal expressions to generate it.
  2848.     (md_apply_fix): Convert BFD_RELOC_32 with pcrel bit set into
  2849.     BFD_RELOC_32_PCREL.  Abort if either BFD_RELOC_16 or BFD_RELOC_8
  2850.     need PC relative relocations.
  2851.  
  2852.     * config/tc-ppc.h (DIFF_EXPR_OK): Define to allow PC relative
  2853.     expressions to be handled.
  2854.  
  2855. Thu Feb 16 14:30:13 1995  Doug Evans  <dje@cygnus.com>
  2856.  
  2857.     * expr.c (operand): Move md_operand handling to default case
  2858.     (so it works).
  2859.  
  2860. Wed Feb 15 16:08:47 1995  Jason Molenda  <crash@cygnus.com>
  2861.  
  2862.     * config/tc-h8500.c (tc_coff_symbol_emit_hook): Add ignored
  2863.     parameter, to match prototype.
  2864.  
  2865. Wed Feb 15 15:07:00 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2866.  
  2867.     * config/tc-ppc.c (md_pseudo_table): If ELF, go to ppc_elf_cons
  2868.     instead of cons.
  2869.     (md_show_usage): Show all of the PowerPc options.
  2870.     (ppc_elf_suffix): New function to recognize ELF suffixes that
  2871.     specify a relocation, such as @GOT.
  2872.     (ppc_elf_cons): Replacement for the standard cons function that
  2873.     knows about the ELF suffixes.
  2874.     (ppc_fixup): Add reloc field to hold non-standard relocation.
  2875.     (md_assemble): Handle ELF suffixes like @GOT.
  2876.     (md_create_short_jump): Dummy in case WORKING_DOT_WORD is not
  2877.     defined.
  2878.     (md_create_long_jump): Ditto.
  2879.     (md_short_jump_size): Ditto.
  2880.     (md_long_jump_size): Ditto.
  2881.     (md_apply_fix): Handle BFD_RELOC_32_PCREL, BFD_RELOC_LO16,
  2882.     BFD_RELOC_HI16, BFD_RELOC_HI16_S, BFD_RELOC_PPC_TOC16, and
  2883.     BFD_RELOC_16 relocations.  If relocation can not be found, print
  2884.     the decimal value of the relocation.
  2885.  
  2886. Wed Feb 15 11:46:02 1995  Ian Lance Taylor  <ian@cygnus.com>
  2887.  
  2888.     * config/tc-mips.c (md_apply_fix): Accept BFD_RELOC_16, for
  2889.     DWARF.  From gary@Intrepid.COM (Gary Funck).
  2890.  
  2891.     * config/tc-mips.c (macro): Handle M_U{L,S}D[_A] (unaligned double
  2892.     loads and stores).
  2893.  
  2894.     * config/tc-i386.c (tc_i386_fix_adjustable): Do adjust global
  2895.     symbols if OBJ_AOUT.
  2896.  
  2897.     * config/tc-mips.c (macro): Don't use the target register as a
  2898.     base register when building the address for M_L{W,D}{L,R}_AB.
  2899.  
  2900. Mon Feb 13 14:44:32 1995  Ian Lance Taylor  <ian@cygnus.com>
  2901.  
  2902.     * config/tc-mips.c (KT0, KT1): Define.
  2903.     (mips_ip): Recognize $kt0 and $kt1 as register names.
  2904.  
  2905.     * config/tc-sparc.h (tc_fix_adjustable): Define if OBJ_ELF.
  2906.     * config/tc-sparc.c (md_apply_fix): If OBJ_ELF, subtract out the
  2907.     value of a defined symbol; the value was added in by
  2908.     fixup_segment.  This was previously corrected, if the reloc was
  2909.     changed to be against a section symbol, in tc_gen_reloc.
  2910.  
  2911.  
  2912. Fri Feb 10 14:04:04 1995  Ian Lance Taylor  <ian@cygnus.com>
  2913.  
  2914.     * config/tc-i386.c (tc_i386_fix_adjustable): Use S_IS_EXTERN
  2915.     rather than !S_IS_LOCAL.
  2916.  
  2917.  
  2918. Thu Feb  9 18:16:34 1995  Ian Lance Taylor  <ian@cygnus.com>
  2919.  
  2920.     * config/tc-i386.c (md_assemble): Adjust conditions for changing
  2921.     BFD_RELOC_32 to BFD_RELOC_386_GOTPC to handle a switch in frags.
  2922.     Patch originally from Rob Ryan <robr@cmu.edu>.
  2923.  
  2924.     * config/tc-i386.c: Include subsegs.h.
  2925.     (tc_i386_fix_adjustable): Declare return value.
  2926.     (i386_operand): Don't use an assignment directly as a condition.
  2927.  
  2928. Thu Feb  9 10:37:13 1995  Jeff Law  (law@snake.cs.utah.edu)
  2929.  
  2930.     * config/tc-hppa.c (md_apply_fix): In some cases subtract the
  2931.     value of the add symbol from valp.  Offsets braindamage in the
  2932.     "machine independent" fixup_segment.
  2933.  
  2934. Wed Feb  8 18:51:23 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2935.  
  2936.     * messages.c (as_abort): New function.
  2937.     * as.h (as_abort): Declare it.
  2938.     (abort): New macro.
  2939.  
  2940.     Thu Jan 19 18:10:05 1995  Pat Rankin  (rankin@eql.caltech.edu)
  2941.  
  2942.     * config/vms-conf.h (HAVE_UNISTD_H):  define it unconditionally.
  2943.     * config-gas.com:  test for availability of <unistd.h>; create a
  2944.     rudimentary one if necessary.
  2945.  
  2946. Tue Feb  7 13:34:46 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  2947.  
  2948.     * configure.in: Add powerpc-*-eabi support, which is the same as
  2949.     powerpc-*-elf.
  2950.     (configure): Rebuild with autoconf.
  2951.  
  2952. Mon Feb  6 03:37:00 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2953.  
  2954.     Changes from Bryan Ford <baford@schirf.cs.utah.edu> for i386
  2955.     16-bit and msdos support:
  2956.     * config/tc-i386.c (flag_16bit_code): New variable.
  2957.     (set_16bit_code_flag): New function.
  2958.     (md_pseudo_table): Added entries "code16" and "code32".
  2959.     (md_assemble): Ensure that correct data-size prefixes get emitted,
  2960.     based on the current mode.  Ensure that 32-bit addressing will
  2961.     always be done.  Move segment-prefix handling code.  (Why?)  Use
  2962.     16-bit jumps for 16-bit code, 32-bit jumps for 32-bit code.
  2963.     * config/tc-i386.h (MAX_PREFIXES): Bump to 5.
  2964.     (Data16, Data32): Define.
  2965.     * doc/as.texinfo (i386-16bit): New node.
  2966.     * configure.in (i386-*-msdos*): New target, using a.out format.
  2967.     * configure: Regenerated.
  2968.  
  2969. Thu Feb  2 15:21:24 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  2970.  
  2971.     * config/tc-m68k.c (cpu32_control_regs): New macro.
  2972.     (m68k_init_after_args): Use it, for cpu32 processors.
  2973.  
  2974.     Tue Jan 31 17:20:45 1995  Pat Rankin  (rankin@eql.caltech.edu)
  2975.  
  2976.     * config/obj-vms.c (vms_tir_stack_psect):  new routine;
  2977.     (VMS_Set_Data, VMS_Set_Psect, VMS_Store_PIC_Symbol_Reference,
  2978.     VMS_TBT_Routine_Begin, VMS_TBT_Line_PC_Correlation):  use it;
  2979.     (VMS_Global_Symbol_Spec, VMS_Procedure_Entry_Pt):  treat
  2980.     Psect_Number as `unsigned'.
  2981.  
  2982.     Thu Jan 26 17:06:28 1995  Pat Rankin  (rankin@eql.caltech.edu)
  2983.  
  2984.     * config/obj-vms.c:  performance tuning.
  2985.     (VMS_Symbol_type_list):  convert from single list head to small
  2986.     array of list heads;
  2987.     (SYMTYP_HASH):  new macro for accessing VMS_Symbol_type_list[];
  2988.     (find_symbol, setup_basic_type, VMS_typedef_parse):  use it;
  2989.     (VMS_RSYM_Parse):  move S_GET_VALUE() inside switch to avoid
  2990.     calling it for uninteresting cases.
  2991.  
  2992. Wed Feb  1 23:52:45 1995  Jeff Law  (law@snake.cs.utah.edu)
  2993.  
  2994.     * config/tc-hppa.c (md_apply_fix): Go ahead and call
  2995.     hppa_field_adjust to get a new value for R_DATA_ONE_SYMBOL
  2996.     relocations in SOM.
  2997.     (hppa_fix_adjustable): Refine somewhat.
  2998.  
  2999. Fri Jan 27 21:29:53 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
  3000.  
  3001.     * config/tc-ppc.h (NO_STRING_ESCAPES): Don't define if we are
  3002.     using ELF.
  3003.  
  3004. Thu Jan 26 19:03:42 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3005.  
  3006.     * config/tc-h8300.c (get_specific): Add parens around | inside &.
  3007.     (skip_colonthing): Set L_8 if ":8" is specified.
  3008.  
  3009. Thu Jan 26 18:38:01 1995  Ian Lance Taylor  <ian@cygnus.com>
  3010.  
  3011.     * config/tc-ppc.c (md_begin): Permit mfdec to be duplicated on the
  3012.     601.  Check that the error return from hash_insert is "exists".
  3013.  
  3014. Thu Jan 26 11:35:33 1995  Michael Meissner  <meissner@cygnus.com>
  3015.  
  3016.     * configure: Add support for configuring powerpc-*-eabi.
  3017.  
  3018.     * config/tc-ppc.c (GOT_symbol): Define if object format is ELF.
  3019.  
  3020.     * config/tc-ppc.h (GLOBAL_OFFSET_TABLE_NAME): Define if object
  3021.     format is ELF and not defined to be "_GLOBAL_OFFSET_TABLE_".
  3022.  
  3023. Wed Jan 25 16:23:13 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
  3024.  
  3025.     * tc-sh.c (little): Add argument IGNORE to avoid compiler warnings.
  3026.     (md_pseudo_table): Add space for consistent formatting.
  3027.     (COND8_RANGE, COND12_RANGE): Delete unused macros.
  3028.     (COND8_F, COND8_M, COND12_F, COND12_M, UNCOND12_F, UNCOND12_M):
  3029.     Correct minimum and maximum branch offsets.  Add comments explaining
  3030.     why these numbers are correct.
  3031.  
  3032. Wed Jan 25 15:32:09 1995  David Edelsohn  <edelsohn@mhpcc.edu>
  3033.  
  3034.     * config/tc-ppc.c (md_parse_option): Accept mpwr2 as a synonym for
  3035.     mpwrx; mppc32, m603, and m604 as synonyms for mppc; and mppc64 and
  3036.     m620 for PowerPC64 mode.
  3037.     (ppc_symbol_new_hook): Add T0 as synonym for TC0 suffix.
  3038.  
  3039. Tue Jan 24 16:44:23 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3040.  
  3041.     * config/tc-vax.c (vip): Introduce new ptr-to-const local variable
  3042.     for scanning operand string.
  3043.  
  3044.     Sat Jan 21 17:50:38 1995  Pat Rankin  (rankin@eql.caltech.edu)
  3045.  
  3046.     * config/vax-inst.h (struct vop, fields `vop_warn', `vop_error'):
  3047.     make them pointers to const char;
  3048.     (struct vit, field `vit_error'):  ditto.
  3049.     * config/atof-vax.c (md_atof):  rename local `littlenum_pointer'
  3050.     to `littlenumP' to avoid shadowing file scope variable.
  3051.     * config/tc-vax.c (vip_begin, vip_op_defaults, vip_op_1):  make
  3052.     string arguments be pointers to const char;
  3053.     (vip):  make `alloperr' const char *;
  3054.     (vip_op): make `err' and `wrn' const char *; rename `access' to
  3055.     `access_mode' to avoid shadowing library function.
  3056.     * config/obj-vms.c (`symbol_name'):  make it const char *;
  3057.     (get_struct_name):  cast one use of `symbol_name' to char *
  3058.     [caller guarantees that it won't modify the pointer's target];
  3059.     (PUT_COUNTED_STRING):  use pointer to const char;
  3060.     (VMS_typedef_parse):  make `pnt2' const char *;
  3061.     (Write_VMS_MHD_Records):  make `cp' const char *;
  3062.     (VMS_Modify_Psect_Attributes, array `Attributes'):  make const,
  3063.     and make field `Name' pointer to const char;
  3064.  
  3065.     * as.h (`seg_name[]' declaration):  pointers to const char;
  3066.     (struct _pseudo_type, field `poc_name'):  pointer to const char.
  3067.     * subsegs.c (`seg_name[]' definition):  ditto;
  3068.     * hash.c (hash_ask):  rename argument `access' to `access_type'
  3069.     to avoid shadowing library function.
  3070.     * write.c (variable `the_object_file'):  move from file scope
  3071.     to block scope within write_object_file(); free it after use;
  3072.     (fixup_segment):  conditionally exclude it for OBJ_VMS.
  3073.     (cvt_frag_to_fill):  rename argument `headers' to `headersP'
  3074.     to avoid shadowing file scope variable.
  3075.  
  3076. Mon Jan 23 21:42:39 1995  Jeff Law  (law@snake.cs.utah.edu)
  3077.  
  3078.     * config/tc-hppa.c (pa_ip, case 'D'): Fix typo which caused
  3079.     miscompilation of "diag" instructions.
  3080.  
  3081. Mon Jan 23 15:51:41 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3082.  
  3083.     * configure: Regenerated.
  3084.  
  3085.     * config/tc-mips.c: Include libiberty.h.
  3086.  
  3087. Mon Jan 23 14:07:58 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3088.  
  3089.     * config/tc-sh.h (tc_init_after_args): Don't define.
  3090.     * config/tc-sh.c (md_begin): Remove unused variable table.
  3091.     (md_assemble): Remove unused variable p.
  3092.     (md_convert_frag): Cast fr_address to unsigned long for printf.
  3093.     (md_apply_fix): Use as_warn_where rather than as_warn.
  3094.     (sh_init_after_args): Remove empty function.
  3095.  
  3096.     * configure.in (i386-*-gnu*elf*): New target.
  3097.  
  3098. Sat Jan 21 19:02:23 1995  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
  3099.  
  3100.     * hash.c (hash_ask): If we find the slot after wrapping around,
  3101.     break out of the loop.  Fixes bug in Jan 18 change.
  3102.  
  3103. Fri Jan 20 17:07:31 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3104.  
  3105.     * hash.c (hash_code): Undo last change.
  3106.  
  3107. Thu Jan 19 14:49:47 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3108.  
  3109.     * config/tc-alpha.c (alpha_ip): Initialize local variables to keep
  3110.     gcc quiet.
  3111.     (gpdisp_hi16_howto): Don't use "const" with reloc_howto_type.
  3112.     (in_range_signed): Add parens around subtraction inside shift.
  3113.     * gasp.c (do_data): Initialize local variable "opname".
  3114.     (istrue): Provide a default case to set "res" and keep "gcc -Wall"
  3115.     quiet.
  3116.     * write.c (write_contents): Deleted unused variable.
  3117.     (print_symbol_value_1): Declare.
  3118.     * hash.c (hash_ask): Delete disabled non-strcmp version of the
  3119.     code, and automatic variables used only in those sections.
  3120.     * write.c (chain_frchains_together_1): Only define local variable
  3121.     "prev_fix" if BFD_ASSEMBLER.
  3122.     * flonum-konst.c (dummy1): Return void.
  3123.     * config/tc-vax.c (md_assemble): Remove two comparisons of
  3124.     unsigned numbers versus zero.
  3125.     * as.h (bcopy): If neither memcpy nor bcopy is defined as a macro,
  3126.     define to use memcpy.
  3127.  
  3128.     * config/tc-alpha.c, config/alpha-opcode.h: Revert 2 June changes.
  3129.     Turns out we never got the assignment done after all.
  3130.  
  3131.     Cleanup of VAX and VMS code, from Pat Rankin:
  3132.     * config/obj-vms.c: Changed exported function names to lower case.
  3133.     (Changed call sites in write.c.)  Declare VMS system function
  3134.     names used, conditional on actually being on VMS.  Changed many
  3135.     functions that returned no useful value to now be declared to
  3136.     return void.  Removed many unused variables.  Supply missing
  3137.     return statements or values.  Supply `default' case in switch
  3138.     statements.  Ensure local variables get initialized.
  3139.     * config/tc-vax.c: Minor changes to silence "gcc -Wall".
  3140.     * config/obj-vms.h, config/tc-vax.h: Added some missing
  3141.     declarations.
  3142.  
  3143. Wed Jan 18 13:49:26 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3144.  
  3145.     * atof-generic.c (flonum_print) [TRACE]: New function.
  3146.     (atof_generic) [TRACE]: Print multiplier before multiplication,
  3147.     and print multiplication result before and after copy.
  3148.  
  3149.     * flonum-mult.c (flonum_multip): Avoid sign extension problems
  3150.     around multiplication operation.
  3151.  
  3152.     * atof-generic.c (ASSUME_DECIMAL_MARK_IS_DOT): Define.
  3153.     (atof_generic) [ASSUME_DECIMAL_MARK_IS_DOT]: Check for '.'
  3154.     explicitly instead of calling strchr.
  3155.  
  3156.     * config/tc-sparc.c (sparc_ip): When scanning successive opcode
  3157.     table entries, check names for pointer equality before doing
  3158.     string comparisons.
  3159.  
  3160.     * hash.c (hash_ask): Call strcmp instead of expanding it inline.
  3161.     (hash_code): Replaced with a version from bfd.
  3162.  
  3163.     * config/obj-coff.c (write_object_file): If COFF_FLAGS isn't
  3164.     defined, default it to zero.
  3165.  
  3166. Wed Jan 18 12:16:07 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3167.  
  3168.     * write.c (fix_new_internal): Clear fx_bsr on those targets which
  3169.     use it.
  3170.  
  3171.     * expr.c (operand): Parenthesize && within ||.
  3172.     * listing.c (listing_newline): Likewise.
  3173.     (list_symbol_table): Use %lu to print sizeof.
  3174.     * symbols.c: Comment out unused function indent.
  3175.     (print_symbol_value_1): Cast pointer to unsigned long for printf.
  3176.     * config/obj-coff.c (do_relocs_for): Only declare symbol_ptr if it
  3177.     will be used.
  3178.     * config/tc-h8300.c (md_begin): Remove unused variable reg.
  3179.     (get_operand): Declare type of parameter direction.  Remove unused
  3180.     variable size.
  3181.     (get_specific): Fix comment to avoid nested comments.
  3182.     (check_operand): Cast X_add_number to unsigned long for printf.
  3183.     (build_bytes): Remove unused local variables output_ptr, part, and
  3184.     high.
  3185.     (build_bytes): Cast X_add_number to unsigned long for printf.
  3186.     (clever_message): Remove unused variable scan.
  3187.     (md_assemble): Remove unused variable i.
  3188.     (tc_coff_sizemachdep): Remove unused function.
  3189.     * tc-h8300.h (tc_reloc_mangle): Declare.
  3190.  
  3191. Tue Jan 17 10:58:06 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3192.  
  3193.     * config/tc-mips.c (mips_4650): New static variable.
  3194.     (md_begin): Handle a cpu string of "4650".  If mips_4650 was not
  3195.     initialized, set it to 0.
  3196.     (append_insn): Don't insert nops around HI and LO on a 4650.
  3197.     (mips_emit_delays): Likewise.
  3198.     (mips_ip): Use INSN_ISA mask to check ISA of instruction.  Check
  3199.     for INSN_4650.
  3200.     (md_longopts): Add m4650 and no-m4650.
  3201.     (md_parse_option): Handle mips-cpu=4650.  Handle -m4650 and
  3202.     -no-m4650.
  3203.     * doc/as.texinfo: Document new MIPS options.
  3204.  
  3205. Sat Jan 14 23:48:13 1995  Steve Chamberlain  <sac@jonny>
  3206.  
  3207.     * config/tc-w65.c, config/tc-w65.h, config/w65.mt: Newfiles.
  3208.     * config/obj-coff.h: Cope with w65.
  3209.     * configure, configure.in: Recognize w65.
  3210.  
  3211. Thu Jan 12 17:56:24 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3212.  
  3213.     * app.c (do_scrub_next_char) [__GNUC__ && __OPTIMIZE__]: If `get'
  3214.     function is scrub_from_file, call scrub_from_file directly, and
  3215.     get gcc's inlining capability into the act.
  3216.  
  3217.     * Makefile.in (VMS_OTHER_OBJS): Add ../libiberty/hex.o.
  3218.     (OBJS): Delete hex-value.o.
  3219.     (REAL_SOURCES): Delete hex-value.c.
  3220.     (hex-value.o): Delete dependencies.
  3221.     * hex-value.c: Deleted.
  3222.     * as.c (main): Call hex_init.
  3223.     * expr.c, config/tc-mips.c: Include libiberty.h.  Replace
  3224.     hex_value array references with hex_* macros.
  3225.  
  3226. Wed Jan 11 17:51:38 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3227.  
  3228.     * config/tc-h8300.h (COFF_FLAGS): Don't define.
  3229.     * config/tc-h8500.h (COFF_FLAGS), config/tc-sh.h (COFF_FLAGS),
  3230.     config/tc-z8k.h (COFF_FLAGS): Ditto.
  3231.  
  3232.     * config/obj-coff.c (KEEP_RELOC_INFO): Make sure it's always
  3233.     defined.
  3234.  
  3235.     * config/tc-m68k.c (m68k_ip, cases AOFF and AINDEX): Don't
  3236.     generate 68020 addressing modes for a 68000 processor.
  3237.     (md_estimate_size_before_relax, cases PCREL and PCLEA): Ditto.
  3238.  
  3239. Tue Jan 10 13:34:14 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3240.  
  3241.     * config/obj-coff.c (write_object_file): Don't treat h8300 and z8k
  3242.     specially with regard to fixups.
  3243.  
  3244. Mon Jan  9 16:22:28 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3245.  
  3246.     * config/tc-mips.c (RELAX_RELOC1, RELAX_RELOC2): Cast values to
  3247.     bfd_vma before subtracting.
  3248.  
  3249.     * config/obj-coff.c (size_section): Handle rs_space like rs_fill,
  3250.     but make sure fr_symbol is null.
  3251.     (fill_section): Ditto.
  3252.  
  3253. Sun Jan  8 16:14:19 1995  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
  3254.  
  3255.     * config/tc-mips.c (mips_ip): Fix handling of floating point
  3256.     values when GPOPT is not defined.
  3257.  
  3258. Fri Jan  6 16:59:41 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3259.  
  3260.     * gasp.c: Include string.h.  Put config.h before other includes.
  3261.  
  3262.     * config/tc-alpha.c (alpha_ip): Delay calls to emit_add64 until
  3263.     after any remaining operands are also known to match.
  3264.  
  3265. Fri Dec 30 18:21:41 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3266.  
  3267.     * listing.c (list_symbol_table): Build a format string based on
  3268.     the size of the value to be printed, as long as "unsigned long" is
  3269.     at least as wide, after handling the special case of 4-byte
  3270.     values.
  3271.  
  3272.     * Makefile.in (dependencies): Make $(OBJS) depend on as.h and
  3273.     everything it includes.  Delete those files from per-file
  3274.     dependencies.
  3275.  
  3276.     * as.h (relax_substateT): Now defined to be unsigned int.
  3277.     (relax_stateT): Separate typedef from enum definition.
  3278.     (enum _relax_state): Reordered for better punctuation.  Added new
  3279.     values rs_align_code and rs_space.
  3280.     (lineno, struct lineno_struct): Unused, deleted.
  3281.  
  3282.     * as.h: No longer include assert.h.
  3283.     (as_assert): Declare.
  3284.     (assert): New definition, calls as_assert longer needed.
  3285.     (__PRETTY_FUNCTION__): Provide default for older versions of gcc.
  3286.     * messages.c (as_assert): New function.
  3287.     * gdbinit.in: Put a breakpoint there.
  3288.  
  3289.     * read.c (s_space): Rewrite to handle general expressions.
  3290.     Generate rs_space frags for non-constant values.
  3291.     * write.c (cvt_frag_to_fill): Treat rs_align_code and rs_space
  3292.     like rs_align and rs_org.  Verify that fr_offset is non-negative,
  3293.     and force frag type to rs_fill only after assertion checks.
  3294.     (relax_segment): Treat rs_align_code like rs_align.  Treat
  3295.     rs_space like rs_org in the first switch; in the second, force the
  3296.     operand to a constant, and use it for the growth size.
  3297.  
  3298. Wed Dec 28 20:57:37 1994  Jeff Law  (law@snake.cs.utah.edu)
  3299.  
  3300.     * config/tc-hppa.c (pa_subspace): For sections with the ZERO
  3301.     attribute, set the "bss" field in the appropriate seginfo structure.
  3302.  
  3303. Wed Dec 28 15:01:01 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3304.  
  3305.     * subsegs.h: Include obstack.h.
  3306.  
  3307. Tue Dec 27 18:16:04 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3308.  
  3309.     * as.h (struct frag): Enable align* components now.
  3310.  
  3311. Tue Dec 20 14:56:31 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3312.  
  3313.     * frags.c (frag_init): Call obstack_begin on `frags'.
  3314.     * subsegs.c (subsegs_begin): Don't do it here.
  3315.     * as.c (main): Call frag_init before subsegs_begin.
  3316.  
  3317.     * frags.c (frag_append_1_char): New function.
  3318.     * frags.h (frag_append_1_char): Declare it.
  3319.     (FRAG_APPEND_1_CHAR): Call it.  Old definition is commented out
  3320.     for now.
  3321.  
  3322.     * as.h (struct frag): Added (but commented out) new fields for
  3323.     tracking current alignment.
  3324.     (frag_now_fix): Changed macro to function declaration.
  3325.     * frags.c (frag_now_fix): Define function here.
  3326.     (frag_new): Use it instead of accessing `frags' directly.
  3327.     * frags.h (frags): Change comment to indicate it shouldn't be
  3328.     accessed directly.
  3329.     * subsegs.h (struct frchain): New field frch_obstack, intended to
  3330.     eventually replace global `frags' obstack.
  3331.     * subsegs.c (subseg_set_rest): Use frag_now_fix instead of
  3332.     accessing `frags' directly.  Initialize fields of new frchainS
  3333.     explicitly instead of with memset.
  3334.     * config/obj-coff.c (obj_coff_ln) [!BFD_ASSEMBLER]: Use
  3335.     frag_now_fix.
  3336.     * config/tc-mips.c (s_loc), config/obj-vms.c
  3337.     (vms_resolve_symbol_redef), symbols.c (colon): Likewise.
  3338.  
  3339.     * config/tc-m68k.c (md_apply_fix_2): Use offsetT and addressT
  3340.     instead of long and unsigned long.
  3341.     (md_apply_fix): Cast value before passing it.
  3342.  
  3343.     * config/obj-aout.h, config/obj-coff.c, config/obj-elf.h,
  3344.     config/obj-som.h, config/tc-h8500.c, config/tc-hppa.c,
  3345.     config/tc-hppa.h, config/tc-sh.c, config/tc-z8k.c: Don't rely on
  3346.     use of ".." when including header files.
  3347.  
  3348.     * config/obj-coff.c (fixup_segment): Reformat condition in an `if'
  3349.     statement.
  3350.  
  3351.     * Makefile.in (SUBDIR_INCLUDES): Deleted.
  3352.  
  3353. Tue Dec 20 13:40:36 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3354.  
  3355.     * config/obj-coff.h: Include bfd/libcoff.h, not libcoff.h.
  3356.  
  3357.  
  3358. Mon Dec 19 16:53:36 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3359.  
  3360.     * config/tc-mips.c (load_register): Rewrite to handle O_big 64 bit
  3361.     constants.
  3362.     (mips_ip): Accept O_big constants in case 'I'.  Change case
  3363.     'i'/'j' to treat an O_big constant as an out of range value.
  3364.  
  3365. Mon Dec 19 14:15:07 1994  Jeff Law  (law@snake.cs.utah.edu)
  3366.  
  3367.     * config/tc-hppa.c (pa_subspace): Make sure SEC_HAS_CONTENTS is
  3368.     clear for a section with the "ZERO" attribute.
  3369.  
  3370.     * Reduce useless symbols for ELF in an attempt to make smaller
  3371.     objects and speed up the linker.
  3372.     * config/tc-hppa.c (struct call_info): Replace end_symbol field
  3373.     with a size field.
  3374.     (hppa_elf_mark_end_function): Delete unneeded function.
  3375.     (pa_build_unwind_subspace): For the 2nd unwind relocation, use
  3376.     the function symbol + function size instead of a special symbol
  3377.     for the end of the function.
  3378.     (process_exit): Compute the function size here.  Don't call
  3379.     hppa_elf_mark_end_of_function anymore.
  3380.     (pa_procend): Likewise.
  3381.     (hppa_fix_adjustable): Only reject 32bit relocations for SOM.
  3382.     (elf_hppa_final_processing): Simplify.
  3383.  
  3384.  
  3385. Mon Dec 19 13:49:07 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3386.  
  3387.     * configure.in: Recognize mips-sony-bsd and mips-dec-bsd, but
  3388.     reject other vendors until we can be sure we're consistent with
  3389.     bfd.
  3390.  
  3391.     * config/obj-vms.c (Create_VMS_Object_File): Instead of formatting
  3392.     a buffer to pass to `error', just call `as_fatal' directly.
  3393.     (VMS_Psect_Spec): Ditto.
  3394.     (VMS_TBT_Module_Begin, VMS_TBT_Source_File, gen1,
  3395.     VMS_typedef_parse, VMS_LSYM_Parse, VMS_Emit_Globalvalues): Call
  3396.     as_tsktsk instead of printf.
  3397.     (VMS_TBT_Module_Begin, VMS_TBT_Line_PC_Correlation,
  3398.     VMS_TBT_Source_File, VMS_TBT_Source_Lines,
  3399.     VMS_Store_Repeated_Data, VMS_Check_For_Main): Use explicit
  3400.     integers rather than sizeof expressions using basic integer types,
  3401.     in case host and target aren't the same.  Use memcpy or COPY_*
  3402.     macros instead of possibly unaligned word or longword assignment.
  3403.  
  3404.     * config/obj-vms.h (OBJ_SYMFIELD_TYPE): New macro.
  3405.     * config/obj-vms.c (VMS_Store_PIC_Symbol_Reference,
  3406.     VMS_Check_For_Main, VMS_write_object_file): Use sy_obj instead of
  3407.     forcing sy_number to hold a pointer.
  3408.  
  3409. Fri Dec 16 14:40:16 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3410.  
  3411.     * config/tc-sh.c (md_begin): Don't fill in md_relax_table here.
  3412.     (md_relax_table): Use static initialization.
  3413.  
  3414.     * config/tc-h8300.c (parse_exp, get_operands, clever_message,
  3415.     md_assemble, tc_crawl_symbol_chain, md_undefined_symbol,
  3416.     tc_headers_hook, md_operand, md_number_to_chars): Don't use DEFUN.
  3417.  
  3418.     * Makefile.in (CHECKFLAGS): Don't pass AS_FOR_TARGET,
  3419.     CC_FOR_TARGET, OBJDUMP_FOR_TARGET, NM_FOR_TARGET; they're not
  3420.     used.
  3421.     (AS_FOR_TARGET, CC_FOR_TARGET, OBJDUMP, OBJDUMP_FOR_TARGET, NM,
  3422.     NM_FOR_TARGET): Don't define.
  3423.     (VMS_OTHER_OBJS): Add xmalloc.o and xexit.o from libiberty.
  3424.     (tooldir): Use exec_prefix, not libdir.
  3425.  
  3426. Fri Dec 16 11:07:10 1994  Stan Shebs  <shebs@andros.cygnus.com>
  3427.  
  3428.     * config/obj-coff.h: Include libcoff.h, not ../bfd/libcoff.h.
  3429.  
  3430.     * as.h: Include progress.h.
  3431.     * as.c (main): Call START_PROGRESS and END_PROGRESS.
  3432.     (main, perform_an_assembly_pass): Call PROGRESS.
  3433.  
  3434. Fri Dec 16 00:46:08 1994  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
  3435.  
  3436.     * write.c (adjust_reloc_syms): Use bfd_is_und_section and
  3437.     bfd_is_abs_section rather than comparing against &bfd_und_section
  3438.     and &bfd_abs_section.
  3439.  
  3440. Thu Dec 15 15:27:14 1994  Jim Wilson  <wilson@chestnut.cygnus.com>
  3441.  
  3442.     * config/tc-sh.c (md_begin): Use a local variable when
  3443.     initializing md_relax_table to avoid errors about modifying a
  3444.     const data structure.
  3445.  
  3446. Tue Dec 13 15:42:27 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3447.  
  3448.     * config/tc-ppc.c (tc_gen_reloc): Remove OBJ_ELF hack which
  3449.     appears to no longer be needed.
  3450.  
  3451. Tue Dec 13 08:04:15 1994  Ian Lance Taylor  <ian@cygnus.com>
  3452.  
  3453.     * config/tc-mips.c (macro_build): Accept BFD_RELOC_PCREL* without
  3454.     requiring that the X_op_symbol be in the text_section.
  3455.     (macro): Change the test for a legel expression difference to
  3456.     correspond to changes in pseudo_set in read.c.
  3457.  
  3458. Fri Dec  9 21:04:17 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3459.  
  3460.     * write.c (write_relocs) [RELOC_EXPANSION_POSSIBLE]: Use
  3461.     bfd_install_relocation.
  3462.  
  3463.     * ecoff.c (ecoff_set_gp_prolog_size): If there is no current
  3464.     routine, just return.
  3465.  
  3466.     * config/tc-alpha.c (alpha_ip, case 'B', subcase 'c'): Use opcode
  3467.     value from pattern instead of assuming jsr.
  3468.     * config/alpha-opcode.h (jmp): Add a "1,Bc" form.
  3469.  
  3470. Thu Dec  8 17:48:25 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3471.  
  3472.     * Makefile.in (NM_FOR_TARGET): Use ../binutils/nm.new, not just
  3473.     plain nm.
  3474.  
  3475.     * configure.in (ns32k-pc532-mach*): Select correct emulation.
  3476.     (mips-sony-bsd*): Use ecoff.
  3477.     (mips-*-gnu*): New target, using aout format, from Roland McGrath.
  3478.     * configure: Regenerated.
  3479.  
  3480.  
  3481. Tue Nov 29 13:58:10 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3482.  
  3483.     Use libiberty version of xmalloc:
  3484.     * Makefile.in (REAL_SOURCES): Delete xmalloc.c.
  3485.     (OBJS): Delete xmalloc.o.
  3486.     (xmalloc.o): Delete dependencies.
  3487.     * as.c (main): Call xmalloc_set_program_name once program name is
  3488.     known.
  3489.  
  3490.     * config/tc-alpha.c (in_range_signed, in_range_unsigned): New
  3491.     routines, split from in_range.
  3492.     (in_range): Deleted.  All calls changed to in_range_*signed.
  3493.     (create_lita_section): Macro deleted.  Single use expanded in
  3494.     place.
  3495.     (alpha_ip): Handle `t' and `8' operand types.
  3496.     (md_apply_fix): Handle BFD_RELOC_12_PCREL.  Print name of
  3497.     unhandled relocation types.
  3498.     * config/alpha-opcode.h: Added HALT and DRAINA.  Disabled MOVI,
  3499.     since it doesn't work, and isn't supported by the native
  3500.     assembler.
  3501.  
  3502.     * input-scrub.c: Change wording of a comment to avoid interference
  3503.     with Cygnus source-control tools.
  3504.  
  3505.     * as.h (errno) [NEED_DECLARATION_ERRNO]: Declare.
  3506.  
  3507.     * config/tc-m68k.c (init_table): List buscr and pcr control
  3508.     registers.
  3509.     (m68k_ip, case 'J'): Handle them.
  3510.  
  3511.     Delete signal handler code.  It's been disabled since March 1993
  3512.     without complaints.
  3513.     * as.c: Don't include signal.h.
  3514.     (got_sig): Unused function deleted, declaration deleted.
  3515.     (SIGTY): Macro deleted.
  3516.     (main): Deleted disabled code for establishing signal handler.
  3517.  
  3518. Mon Nov 28 11:37:35 1994  Doug Evans  <dje@canuck.cygnus.com>
  3519.  
  3520.     * app.c (do_scrub_next_char): Insert missing newline at end of file
  3521.     like warning says we do.
  3522.  
  3523. Mon Nov 28 00:11:15 1994  Jeff Law  (law@snake.cs.utah.edu)
  3524.  
  3525.     * config/tc-hppa.h (pa_check_eof): Declare new extern function.
  3526.     (tc_frob_file): Define to call pa_check_eof.
  3527.  
  3528.     * config/tc-hppa.c (pa_check_current_space_and_subspace): New
  3529.     function to verify the current space and subspace are reasonable.
  3530.     Call for the appropriate pseudo-ops and before instruction parsing.
  3531.     (pa_check_eof): New function to verify enter/exit and proc/procend
  3532.     pairs match at EOF.
  3533.     (pa_code): Simplify.
  3534.  
  3535.     * config/obj-som.c: Delete #if 0 code.
  3536.  
  3537. Wed Nov 23 19:36:09 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  3538.  
  3539.     * config/obj-coff.h (TARGET_FORMAT): Select between coff-shl and
  3540.     coff-sh.
  3541.     * config/sh.mh (TARG_CPU_DEPENDENTS): Get it right.
  3542.     * config/tc-sh.c  (little): New function.
  3543.     (md_parse_option): Notice new option.
  3544.     (build_relax, build_Mytes, md_atof, md_convert_frag, md_apply_fix):
  3545.     Cope with little endian data.
  3546.     * config/tc-sh.h (COFF_MAGIC, LISTING_HEADER): Endian dependent.
  3547.  
  3548. Wed Nov 23 10:54:38 1994  Jeff Law  (law@snake.cs.utah.edu)
  3549.  
  3550.     * config/tc-hppa.c (tc_gen_reloc, ELF variant): Revert last
  3551.     change.  The real bug was in bfd/elfcode.h and has been fixed.
  3552.  
  3553. Tue Nov 22 23:31:20 1994  Jeff Law  (law@snake.cs.utah.edu)
  3554.  
  3555.     * config/tc-hppa.c (tc_gen_reloc, ELF variant): Add section->vma
  3556.     to the relocation's offset.
  3557.  
  3558. Tue Nov 22 14:37:58 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  3559.  
  3560.     * Makefile.in (INSTALL_XFORM): Fix typo.
  3561.  
  3562. Tue Nov 22 10:23:25 1994  J.T. Conklin  <jtc@rtl.cygnus.com>
  3563.  
  3564.     * config/tc-alpha.c (s_alpha_set): Ignore the .set (no)move and
  3565.       .set (no)volatile directives.
  3566.  
  3567. Tue Nov 15 21:44:13 1994  Jeff Law  (law@snake.cs.utah.edu)
  3568.  
  3569.     * config/tc-hppa.c (pa_subspace): Make sure to always reset
  3570.     current_subspace.
  3571.     (pa_text, pa_data): Likewise.
  3572.  
  3573.     * config/tc-hppa.c (pa_align): New function.  Aligns the current
  3574.     offset within the current subspace along with updating the
  3575.     alignment of the subspace itself.
  3576.     (pa_subspace): Default alignment to one byte rathern than zero
  3577.     bytes to avoid setting alignment to log2(0).
  3578.     (md_pseudo_table): Use pa_alignment for .align.
  3579.  
  3580. Tue Nov 15 15:24:45 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3581.  
  3582.     * messages.c (as_fatal): Always put a space after "fatal error:"
  3583.     when printing message.
  3584.  
  3585. Tue Nov 15 11:10:43 1994  Jeff Law  (law@snake.cs.utah.edu)
  3586.  
  3587.     * config/tc-hppa.h (obj_frob_symbol): Delete.
  3588.     (tc_frob_symbol): Make definition conditional on OBJ_SOM or
  3589.     OBJ_ELF.  For ELF subtract out symbol->section->vma for non common
  3590.     symbols.
  3591.  
  3592. Wed Nov  9 14:53:03 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3593.  
  3594.     * config/te-delta.h: New file, derived from te-sysv32.h.
  3595.  
  3596. Wed Nov  9 11:52:44 1994  Ian Lance Taylor  (ian@cygnus.com)
  3597.  
  3598.     * config/tc-ppc.c (ppc_bf): Always set coff_line_base.
  3599.  
  3600. Mon Nov  7 01:58:49 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3601.  
  3602.     * Makefile.in (VERSION): Bump to 2.5.3.
  3603.  
  3604.     * configure.in: Compare generic cpu name against "sparc", not
  3605.     "sparc*", since sparc variants should be changed to "sparc".
  3606.     * configure: Regenerated with autoconf 2.1.
  3607.  
  3608.     * config/tc-a29k.c (octal, toHex): Variables deleted.
  3609.     (isoctal): Macro deleted.
  3610.     (md_begin): Don't initialize them.
  3611.     (machine_ip, case 'P'/'A'): For absolute operand, generate an
  3612.     error message if it's out of range.
  3613.     (md_apply_fix, case RELOC_JUMPTARG): Check range for PC-relative
  3614.     jumps.
  3615.     (md_apply_fix): Delete code inside "#if 0".
  3616.  
  3617. Thu Nov  3 20:20:40 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3618.  
  3619.     * config/go32.mh: Unused file deleted.
  3620.  
  3621.     * read.c (get_absolute_expression): Indicate that the error may
  3622.     merely be that the expression can't currently be reduced.
  3623.  
  3624. Thu Nov  3 16:09:59 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
  3625.  
  3626.     * config/tc-m68k.h (TARGET_FORMAT): If TE_NetBSD define as
  3627.       "a.out-m68k-netbsd".
  3628.     * config/tc-sparc.h (TARGET_FORMAT): If TE_NetBSD define as
  3629.       "a.out-sparc-netbsd".
  3630.  
  3631.     * config/te-nbsd.h: New file, NetBSD target emulation
  3632.     * config/te-netbsd.h: Removed.
  3633.     * configure.in (i[345]86-*-netbsd*,m68*-*-netbsd*,sparc*-*-netbsd*):
  3634.       Set bfd_gas.  Use nbsd emulation.
  3635.  
  3636. Thu Nov  3 17:44:47 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3637.  
  3638.     Changes from net 2.5.2 release branch:
  3639.  
  3640.     * configure.in: Put AC_DEFINE(sparcv9) on its own line, so that
  3641.     the shell variable settings associated with it are permanent.  For
  3642.     CPUs requiring bfd_gas=yes, select it based on CPU only, not
  3643.     individual target names.  Handle m68k-hp-hpux*, not just -hpux.
  3644.  
  3645.     * config/tc-z8k.c (tc_coff_symbol_emit_hook): Add dummy argument
  3646.     to match prototype in obj-coff.h.
  3647.  
  3648.     * configure.in: Skip tests for defining WANT_FOPEN_BIN and
  3649.     IBM_COMPILER_SUX.
  3650.     * acconfig.h: Deleted them.
  3651.     * configure, conf.in: Rebuild with autoconf 2.0.
  3652.     * config/go32.cfg, config/vms-conf.h: Updated.
  3653.  
  3654.     * config/tc-m68k.c (md_apply_fix_2, md_convert_frag_1): Always use
  3655.     IBM_COMPILER_SUX version of code, with comments indicating why.
  3656.  
  3657.     * listing.c (file_info): Use text mode when opening file for read.
  3658.     Use "r" directly, no macro.
  3659.     * input-file.c (input_file_open): Don't use FOPEN_RT, just use
  3660.     "r".
  3661.     * read.c (s_include): Ditto.
  3662.     * output-file.c (output_file_create): Try both "wb" and "w", don't
  3663.     bother with FOPEN_* macros.
  3664.     * as.h: Don't include fopen-*.h.
  3665.  
  3666.     * config/alpha-opcode.h: Make "ret" with no operands equivalent to
  3667.     "ret zero,(ra)", to match OSF1 and to be consistent with both
  3668.     one-operand forms.
  3669.  
  3670.     Patches from DJ Delorie:
  3671.     * as.h (alloca): undef alloca before defining it just in case
  3672.     * config/go32.cfg: new file for autoconf values
  3673.     * config/te-go32.h: new file
  3674.     * configure.bat: new for autoconf
  3675.  
  3676.     * config/tc-i386.c (md_assemble): Fix typo in GOTPC check; had =
  3677.     for ==.
  3678.  
  3679.     * configure.in: If target_frag doesn't exist, use /dev/null.
  3680.  
  3681.     * as.c (parse_args): For non-VMS systems, re-add `v' to
  3682.     std_shortopts.  Add "verbose" to list of long options.
  3683.  
  3684.     * write.c (adjust_reloc_syms): When generating an absolute section
  3685.     symbol as a placeholder, don't mark it as used in a relocation
  3686.     entry, here.
  3687.  
  3688.     * Makefile.in (comparison): Compare using makefile code from gcc,
  3689.     stripped down to discard subdir stuff and adapted to give a
  3690.     non-zero exit status if either file differs.
  3691.  
  3692. Thu Nov  3 15:43:02 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3693.  
  3694.     * config/tc-mips.c (load_address): Fix RELAX_ENCODE arguments for
  3695.     NO_PIC case.
  3696.  
  3697. Tue Nov  1 16:10:59 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3698.  
  3699.     * config/tc-mips.c (s_change_sec): If not GPOPT, don't permit
  3700.     switching to the readonly data section.
  3701.  
  3702.     * ecoff.c (ecoff_directive_type): Fix warning message.
  3703.  
  3704. Sun Oct 30 00:57:35 1994  Jeff Law  (law@snake.cs.utah.edu)
  3705.  
  3706.     * config/tc-hppa.c (pa_proc): Delete disabled code to put each
  3707.     proc in its own subspace, we're not going to use it.
  3708.  
  3709. Tue Oct 25 14:44:33 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3710.  
  3711.     * config/tc-mips.c (macro): Ensure that mips2 case of M_LI_DD in
  3712.     .rdata does not become a variant frag.
  3713.  
  3714.     * config/tc-mips.c (mips_cpu): Initialize to -1.
  3715.     (md_begin): Don't mips_cpu if it was already set.
  3716.     (md_parse_option): For -mipsN, don't set mips_cpu if it was
  3717.     already set.  For -mcpu=, just set mips_cpu, not mips_isa.
  3718.  
  3719. Fri Oct 21 20:42:29 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3720.  
  3721.     * config/tc-mips.c (md_pseudo_table): If OBJ_ELF, handle .section.
  3722.     (s_elf_section): New static function.
  3723.     * ecoff.c (ecoff_build_symbols): Don't abort if we don't recognize
  3724.     the section when setting the storage class; default to sc_Data.
  3725.  
  3726. Thu Oct 20 00:43:38 1994  Jeff Law  (law@snake.cs.utah.edu)
  3727.  
  3728.     * config/tc-hppa.c (md_apply_fix): Set new_val to 8 for all
  3729.     fixups to branch instructions (not just pc-relative ones) which
  3730.     will generate SOM relocations.
  3731.  
  3732. Wed Oct 19 13:41:56 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3733.  
  3734.     * config/tc-a29k.c: Include ctype.h with angle brackets.
  3735.     (define_some_regs): Add new special register names defined on the
  3736.     29040.
  3737.     (parse_operand): Add argument opt.  If non-zero, don't warn about
  3738.     a missing operand.
  3739.     (machine_ip): If handling argument type 'I', pass opt as non-zero
  3740.     to parse_operand.  Handle new optional operand type 'I'.
  3741.     (md_undefined_symbol): Handle special register names (srNN).
  3742.  
  3743. Tue Oct 18 00:45:24 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3744.  
  3745.     * write.c (renumber_sections): New static BFD_ASSEMBLER function.
  3746.     (write_object_file): Call it after removing gas created sections.
  3747.  
  3748. Mon Oct 17 18:06:05 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3749.  
  3750.     * symbols.c (symbol_create): Use udata.p, not just udata.
  3751.     * config/obj-elf.c (obj_ecoff_set_ext): Likewise.
  3752.     (elf_get_extr): Likewise.
  3753.  
  3754.     * read.c (read_a_source_file): The second argument to as_where is
  3755.     unsigned int *, not int *.
  3756.  
  3757. Mon Oct 17 02:26:32 1994  Jeff Law  (law@snake.cs.utah.edu)
  3758.  
  3759.     * config/tc-hppa.c: Eliminate all uses of fx_addnumber.
  3760.     (tc_gen_reloc): Simplify.  It's no longer necessary to set a
  3761.     reloc's addend field to zero for function symbols.
  3762.     (md_apply_fix): Simplify.  For fixups which will require a SOM
  3763.     reloc, just clear out the necessary bits in the output file.
  3764.  
  3765. Fri Oct 14 19:06:46 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3766.  
  3767.     * Makefile.in (BISON): Use bison -y, not bison.
  3768.  
  3769. Thu Oct 13 19:22:54 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3770.  
  3771.     * Makefile.in (VERSION): Updated to 2.5.
  3772.     (clean-here): Delete stamp-mk.com.
  3773.     (distclean): Delete .gdbinit.
  3774.     * Version 2.5 released.
  3775.  
  3776. Wed Oct 12 20:30:51 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3777.  
  3778.     * config/te-nbsd532.h: Renamed from te-netbsd532.h.
  3779.     * configure.in, configure: Adjusted.
  3780.  
  3781. Wed Oct 12 16:33:38 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
  3782.  
  3783.     * config/cplus-dem.c: Removed.  It isn't used.  Even if it was,
  3784.       it's better to use the one in libiberty.
  3785.  
  3786. Wed Oct 12 18:48:39 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3787.  
  3788.     * symbols.c (resolve_symbol_value, case O_symbol): Undo last
  3789.     change; it breaks the rs6000 support, and doesn't seem to be
  3790.     needed.
  3791.  
  3792. Wed Oct 12 11:56:50 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
  3793.  
  3794.     * config/tc-i386.h,te-netbsd532.h (TARGET_FORMAT): Changed to
  3795.       a.out-<arch>-netbsd to match corresponding changes in BFD.
  3796.  
  3797. Wed Oct 12 11:06:11 1994  Ian Lance Taylor  (ian@cygnus.com)
  3798.  
  3799.     * config/tc-ppc.c (ppc_fix_adjustable): Resolve symbol values
  3800.     rather than explicitly adding the frag address.
  3801.     * config/obj-coff.c (coff_frob_symbol): Add a zero entry to mark
  3802.     the end of the line numbers; this replaces the zero entry which
  3803.     used to be added by coff_add_linesym, removed Oct 7.
  3804.     (coff_adjust_section_syms): Ignore sections with no seginfo.
  3805.  
  3806. Wed Oct 12 01:41:37 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3807.  
  3808.     * Makefile.in (bootstrap, bootstrap2, bootstrap3): Create a
  3809.     "stage" symlink to the appropriate stage* directory, and use it
  3810.     instead in the -B options.
  3811.     (comparison): Revert yesterday's change.
  3812.  
  3813. Tue Oct 11 16:48:11 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3814.  
  3815.     * config/tc-sparc.c (tc_gen_reloc): For non-a.out relocations, if
  3816.     pc-relative, use fx_offset only, ignore address of relocation.
  3817.  
  3818. Tue Oct 11 15:24:00 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3819.  
  3820.     * config/tc-mips.c (mips_ip): Don't use S_IS_LOCAL when checking
  3821.     for an embedded PIC switch expression, since the definition of
  3822.     S_IS_LOCAL was changed.
  3823.  
  3824. Tue Oct 11 15:05:11 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  3825.  
  3826.     * Makefile.in (comparison): When comparing as.new or gasp.new, try
  3827.     running the binary through sed to avoid differences due to
  3828.     "stage1" or "stage2" having been written into the binary.
  3829.  
  3830. Sat Oct  8 01:48:04 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  3831.  
  3832.     ELF symbol size handling, based on code from Eric Youngdale:
  3833.     * config/obj-elf.h (OBJ_SYMFIELD_TYPE): New macro.  Adds an
  3834.     expression pointer to the symbol structure, used for `size'
  3835.     expressions that couldn't be reduced to constants when initially
  3836.     processed.
  3837.     (elf_frob_symbol): Declare.
  3838.     (obj_frob_symbol): Call elf_frob_symbol always, rather than
  3839.     ecoff_frob_symbol only if ECOFF_DEBUGGING defined.
  3840.     * config/obj-elf.c (obj_symbol_new_hook): Deleted unused code.
  3841.     Clear sy_obj field.
  3842.     (obj_elf_size): Deleted unused code.  If size is non-reducible
  3843.     expression, allocate some storage for the sy_obj field and copy
  3844.     the expression.
  3845.     (elf_frob_symbol): New function.  Computes sizes, calls
  3846.     ecoff_frob_symbol if appropriate.
  3847.  
  3848.     * write.c (fixup_segment): For i386 elf and coff (for now), don't
  3849.     add in value of symbol from another defined section of the file.
  3850.  
  3851. Fri Oct  7 17:54:02 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3852.  
  3853.     * config/tc-m88k.h (TC_KEEP_FX_OFFSET): Define.
  3854.     * config/obj-coff.c (do_relocs_for): Test only TC_KEEP_FX_OFFSET,
  3855.     rather than both it and TC_M88K.
  3856.     (coff_adjust_section_syms): New function.
  3857.     (coff_frob_section): For non-empty sections, create aux entry for
  3858.     the section symbol, indicating the size.
  3859.     (n_line_nos): New variable.
  3860.     (add_lineno): Increment it.
  3861.     (coff_add_linesym): Increment n_line_nos, don't call add_lineno.
  3862.     (coff_frob_file): New function; map coff_adjust_section_syms over
  3863.     sections.
  3864.     (obj_coff_line): Only reset line_base for .bf symbols.
  3865.     * config/obj-coff.h (coff_adjust_section_syms, coff_frob_file):
  3866.     Declare.
  3867.     (obj_frob_file): New macro.
  3868.  
  3869.     * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Renamed from
  3870.     obj_frob_forward_symbol, and rewritten for new parameter list.
  3871.  
  3872.     Mon Oct  3 21:02:38 1994  Pat Rankin  (rankin@eql.caltech.edu)
  3873.  
  3874.     * config/obj-vms.h (S_IS_LOCAL): fix obsolete flagseen[] reference.
  3875.  
  3876. Wed Oct  5 11:49:26 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
  3877.  
  3878.     * config/obj-ecoff.c (obj_pseudo_table): Accept .esize and .etype
  3879.     as synonyms for .size and .type.
  3880.  
  3881. Wed Oct  5 00:08:10 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  3882.  
  3883.     * config/obj-coff.c (coff_frob_section): Remove assert about
  3884.     section alignment.
  3885.     * config/tc-sparc.c (md_section_align): Use section alignment, not
  3886.     xvec align_power_min field.
  3887.  
  3888. Fri Sep 30 19:05:20 1994  Pat Rankin  (rankin@eql.caltech.edu)
  3889.  
  3890.     * vmsconf.sh (make-gas.com): handle DCL verification to enable
  3891.     sensible feedback to the user while gas is being built.
  3892.  
  3893. Fri Sep 30 16:23:31 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3894.  
  3895.     * Makefile.in (DISTSTUFF): New variable, listing only make-gas.com
  3896.     for now.
  3897.     (diststuff): New target; builds DISTSTUFF.
  3898.     (realclean): Separate target, depend on clean and distclean, then
  3899.     delete DISTSTUFF.
  3900.     * make-gas.com: Deleted.
  3901.  
  3902.     * config/tc-i386.c (i386_validate_fix) [BFD_ASSEMBLER]: New
  3903.     function.  Converts reloc for "foo-GOT" to BFD_RELOC_386_GOTOFF
  3904.     reloc for "foo".
  3905.     (i386_operand): Don't look up section symbol for
  3906.     undefined_section.
  3907.     (reloc): Always permit return of 8- and 16-bit relocation types.
  3908.     Add a space after "pc-relative" in the error message.
  3909.     (tc_i386_fix_adjustable) [BFD_ASSEMBLER]: Reject
  3910.     BFD_RELOC_386_GOTOFF relocs.
  3911.     (i386_operand): For any GOTOFF reloc, convert it to a BFD_RELOC_32
  3912.     with a "foo-GOT" value.
  3913.     * config/tc-i386.h (i386_validate_fix): Declare it.
  3914.     (TC_VALIDATE_FIX): New macro -- call it.
  3915.     (NOP_OPCODE): Cast to `char' to avoid compiler warnings.
  3916.  
  3917.     * as.h: If __STDC__ is not defined and varargs.h is available, use
  3918.     it rather than stdarg.h.
  3919.  
  3920.     * write.h (struct fix): Added new bitfield fx_plt, for fixups
  3921.     referring to PLT entries.
  3922.     * write.c (fix_new_internal): Initialize fx_plt to zero.
  3923.     (adjust_reloc_syms): Re-fetch `sym' after top of reduction loop.
  3924.     Don't adjust fx_offset by frag address, since S_GET_VALUE now
  3925.     includes the frag address.
  3926.     (fixup_segment): Changed local var PCREL to type int, added PLT.
  3927.     If PC-relative fixup refers to a PLT entry for a symbol in the
  3928.     current section, don't reduce it.
  3929.  
  3930.     * write.c (adjust_reloc_syms):  Exit loop through a label.  If
  3931.     DEBUG5 is defined, print out each fixup before and after
  3932.     processing.
  3933.     (fixup_segment): If DEBUG5 is defined, print out each fixup before
  3934.     and after processing.
  3935.     (print_fixup): Added prototype.  Show address on first line.  Show
  3936.     fx_offset and fx_subsy.  [!BFD_ASSEMBLER]: Only show fx_r_type if
  3937.     NEED_FX_R_TYPE is defined.
  3938.  
  3939.     * symbols.c (print_symbol_value_1): Check S_IS_LOCAL, S_IS_EXTERN,
  3940.     S_IS_DEBUG, S_IS_DEFINED also.
  3941.  
  3942. Thu Sep 29 18:57:06 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3943.  
  3944.     * Makefile.in (all): Depend on .gdbinit.
  3945.     (.gdbinit): Rebuild from gdbinit.in by running config.status.
  3946.  
  3947.     * gdbinit.in: Define new function "pf".  Fix doc on "pe" and "ps".
  3948.  
  3949.     * write.c (print_fixup): Print source location on first line.
  3950.     Show fx_r_type and fx_addsy fields.
  3951.  
  3952. Wed Sep 28 14:56:39 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  3953.  
  3954.     * configure.in: Set bfd_gas for all sparc targets in one place,
  3955.     instead of separately for each.  Correctly handle user-supplied
  3956.     "--enable-bfd-gas" option.
  3957.  
  3958.     * gdbinit.in: Move "break abort" to end, in case gdb complains.
  3959.  
  3960.     * as.h (PRINTF_WHERE_LIKE, PRINT_LIKE) [USE_STDARG, !__GNUC__]:
  3961.     Use PARAMS macro.
  3962.  
  3963.     * symbols.c (resolve_symbol_value, case O_symbol): Don't do any
  3964.     processing if add_symbol is undefined or in expr_section.
  3965.     (resolve_symbol_value, case O_add): For symbol plus
  3966.     constant-valued symbol, convert to O_symbol and re-reduce.
  3967.     (S_GET_VALUE): If symbol needs resolving, resolve it.
  3968.     (indent_level): No longer static.
  3969.     (print_symbol_value_1): Don't print frag address if it matches
  3970.     zero_address_frag.  Don't print "resolving" if already resolved.
  3971.     Print segment name.  Don't call print_expr_1 on an undefined
  3972.     symbol.
  3973.     (print_expr_1): Fix whitespace before printing X_add_number.
  3974.  
  3975.     * expr.c (make_expr_symbol): No longer static.  Use symbol_create,
  3976.     not symbol_new, for symbols holding expression values.
  3977.     * expr.h (make_expr_symbol): Move declaration here.
  3978.     * write.c (fix_new_exp): Handle O_add by creating an
  3979.     expression-valued symbol, and calling fix_new_exp recursively.
  3980.     (adjust_reloc_syms): If a fixup's symbol value is a sum of an
  3981.     undefined symbol and a constant, fold the constant into the fixup,
  3982.     and refer to the undefined symbol directly.  Then process the
  3983.     fixup again from scratch.
  3984.     (write_object_file): Before calling adjust_reloc_syms, make a pass
  3985.     through the symbol list trying to resolve values.
  3986.  
  3987.     * write.c (print_fixup): New routine, for debugging.
  3988.     (write_relocs): Call bfd_install_relocation.  Deleted various
  3989.     hacks for working around problems with bfd_perform_relocation.
  3990.  
  3991.     * Makefile.in (VERSION): Update to 2.4.90.
  3992.  
  3993. Wed Sep 28 11:50:40 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  3994.  
  3995.     * Makefile.in (gasp.o): Depends upon config.h.
  3996.  
  3997.     * config/tc-mips.c: Include subsegs.h.
  3998.     (md_apply_fix): If an unconditional b or bal overflows, and we are
  3999.     not assembling PIC code, replace it with a j or jal.
  4000.  
  4001.     * config/tc-mips.c (md_apply_fix): Correct branch overflow test.
  4002.     Use as_bad_where and as_warn_where rather than as_bad and as_warn.
  4003.  
  4004. Mon Sep 26 17:15:59 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4005.  
  4006.     * write.c (write_relocs): Add file name and line number to
  4007.     as_fatal calls.  Handle bfd_reloc_overflow case specifically when
  4008.     RELOC_EXPANSION_POSSIBLE.
  4009.  
  4010. Fri Sep 23 16:11:28 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  4011.  
  4012.     * as.h (USE_STDARG, USE_VARARGS): Define one or neither of these
  4013.     here.  Use them for deciding which PRINTF*LIKE macro definitions
  4014.     to use.
  4015.     * messages.c: Use them, instead of NO_STDARG, NO_VARARGS.
  4016.     [!USE_STDARG && !USE_VARARGS] (va_alist, va_dcl, ...): Provide
  4017.     default definitions matching what we were doing before.
  4018.     (as_tsktsk): Remove the non-stdarg, non-varargs version, and
  4019.     always use the varargs form if not using stdarg.  It's safe to
  4020.     always use vfprintf, because libiberty will provide it if the
  4021.     native system doesn't.  Also, always make format be const.
  4022.     (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
  4023.  
  4024. Fri Sep 23 14:42:34 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4025.  
  4026.     * config/tc-mips.c (load_register): Always use addiu when adding a
  4027.     constant to $zero--no need to use daddiu.
  4028.     (macro): Hack the -mips3 overflow tests to not fail when offsetT
  4029.     is only 32 bits.
  4030.  
  4031.     * symbols.h (copy_symbol_attributes): Declare.
  4032.  
  4033. Thu Sep 22 21:58:24 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  4034.  
  4035.     * listing.c: Bugfixes based in part on patches from Paul
  4036.     Kranenburg.
  4037.     (listing_newline): Check filename as well as line number when
  4038.     deciding whether to record it.
  4039.     (list_symbol_table) [S_IS_REGISTER]: Check that S_IS_REGISTER is
  4040.     false (if defined) as well as checking for reg_section.
  4041.     (listing_listing): Iterate fetching lines while line number is too
  4042.     low, and we haven't run off the end of the input file.
  4043.  
  4044.     * config/vms-conf.h: Changed HAVE_DELETE to HAVE_REMOVE.
  4045.  
  4046. Thu Sep 22 13:39:10 1994  Kung Hsu  (kung@x1.cygnus.com)
  4047.  
  4048.     * ecoff.c (ecoff_generate_asm_lineno): check if
  4049.     current_stabs_filename is NULL before strcmp.
  4050.     * read.c (read_a_source_file): fix a bug in generate_asm_lineno
  4051.     checking.
  4052.  
  4053. Wed Sep 21 18:17:35 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
  4054.  
  4055.     * config/ho-*.h: Now-unused files deleted.
  4056.  
  4057.     * symbols.c (copy_symbol_attributes): New function.  Copies BFD
  4058.     symbol flags and calls OBJ_COPY_SYMBOL_ATTRIBUTES.
  4059.     (resolve_symbol_value, case O_symbol): Call it, if X_add_number is
  4060.     zero.  Don't call obj_frob_forward_symbol.
  4061.     * read.c (pseudo_set): Call copy_symbol_attributes, but only if
  4062.     X_add_number is zero.
  4063.     * config/obj-elf.h (obj_frob_forward_symbol): Deleted.
  4064.  
  4065.     * config/tc-i960.c: Lots of whitespace, comment reformatting,
  4066.     using GNU indent.
  4067.     (strchr): Don't declare.
  4068.     [BFD_ASSEMBLER]: Don't compile md_convert_frag,
  4069.     md_estimate_size_before_relax, md_ri_to_chars,
  4070.     md_create_short_jump, md_create_long_jump.
  4071.     (brtab_emit): Use data_section, not SEG_DATA.
  4072.  
  4073.     Mon Sep 19 17:14:44 1994  Pat Rankin  (rankin@eql.caltech.edu)
  4074.  
  4075.     * config/vms-conf.h: new file, manually derived from conf.in.
  4076.     * config-gas.com: use it, and eliminate obsolete "host.h".
  4077.  
  4078. Wed Sep 21 11:11:30 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4079.  
  4080.     * config/tc-ppc.c (ppc_current_block): New static variable.
  4081.     (ppc_stabx): Set sy_tc.within of a C_STSYM symbol to
  4082.     ppc_current_block.  Don't move around any stab symbol, just those
  4083.     for common symbols.
  4084.     (ppc_bs): Set ppc_current_block.
  4085.     (ppc_es): Clear ppc_current_block.
  4086.     (ppc_frob_symbol): Set the value of a C_STSYM symbol to the offset
  4087.     from the csect of the enclosing block.
  4088.  
  4089.     * config/tc-mips.c (insns_since_cache_access): Remove.
  4090.     (append_insn): Remove setting of insns_since_cache_access, and
  4091.     special 4600 handling; it turns out not to be required.
  4092.  
  4093. Tue Sep 20 16:13:18 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4094.  
  4095.     * config/tc-mips.c (md_shortopts): Remove E.
  4096.     (md_longopts): Add EB and EL.
  4097.     (md_parse_option): Handle -EB and -EL as separate options, rather
  4098.     than as a single -E option with an argument.
  4099.  
  4100. Mon Sep 19 12:42:05 1994  Jeff Law  (law@snake.cs.utah.edu)
  4101.  
  4102.     * config/tc-hppa.c (hppa_fix_adjustable): Reject reductions
  4103.     involving global symbols too.
  4104.  
  4105. Mon Sep 19 12:12:46 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4106.  
  4107.     * as.h: Test NEED_DECLARATION_*, not NEED_*_DECLARATION.
  4108.  
  4109.     * configure.in: Test for remove, not delete.  Fix cross-assembler
  4110.     test.
  4111.     * as.h: Test HAVE_REMOVE, not HAVE_DELETE; define unlink to
  4112.     remove, not delete.
  4113.  
  4114.     * read.c (pseudo_set, case O_symbol): If
  4115.     OBJ_COPY_SYMBOL_ATTRIBUTES is defined, invoke it.
  4116.     [BFD_ASSEMBLER]: Copy BSF_FUNCTION setting too.
  4117.     * config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Define.
  4118.  
  4119.     Wed Aug 10 19:15:30 1994  Pat Rankin  (rankin@eql.caltech.edu)
  4120.  
  4121.     * config/obj-vms.h (DSG_S_C_UBITU, DST_K_VFLAGS_DSC, DST_K_TS_ATOM,
  4122.     many others): new macros; values obtained from "DSTRECRDS.SDL".
  4123.     * config/obj-vms.h (various): use them.
  4124.     (USE_BITSTRING_DESCRIPTOR): new macro, for selecting bitfield
  4125.     representation (only enum bitfields can avoid being bitstrings).
  4126.     (bitfield_suffix, setup_basic_type): new routines.
  4127.     (VMS_typedef_parse): use them.  Now recognize bitfields of all
  4128.     integral types, not just type `int'.  Caveat:  the representation
  4129.     used for bitfields still does not work for objects placed in
  4130.     registers, and gcc's optimizer sometimes puts small structs there.
  4131.  
  4132.     Tue Jun 14 17:31:44 1994  Pat Rankin  (rankin@eql.caltech.edu)
  4133.  
  4134.     * read.c (s_text) [#if OBJ_VMS]: clear the IN_DEFAULT_SECTION
  4135.     bit from const_flag.
  4136.     * config/obj-vms.h (IN_DEFAULT_SECTION): define this macro.
  4137.     (tc_frob_label): define this to call vms_check_for_special_label,
  4138.     and declare the latter.
  4139.     * config/obj-vms.c (vax_g_doubles): declare this file-scope
  4140.     variable.
  4141.     (const_flag): initialize to IN_DEFAULT_SECTION instead of 0.
  4142.     (vms_check_for_special_label): new routine (tc_frob_label).
  4143.     (VMS_TBT_Routine_End): don't bother checking for `gcc_compiled.'
  4144.     and `gcc2_compiled.' labels; they won't reach here any more.
  4145.     (VMS_typedef_parse) [case 'r']: for types `double' and `complex
  4146.     double', use `vax_g_doubles' flag to select type of double.
  4147.     (VMS_write_object_file) [traceback setup]: don't pass symbols
  4148.     with the IN_DEFAULT_SECTION attribute to the TBT_Routine_Begin
  4149.     and TBT_Routine_End functions.
  4150.  
  4151.     Mon Jun  6 20:52:20 1994  Pat Rankin  (rankin@eql.caltech.edu)
  4152.  
  4153.     * config/obj-vms.c (VMS_TBT_Routine_End): cache the result of
  4154.     S_GET_VALUE() to avoid many repeated function calls.
  4155.     (VMS_Check_For_Main) [#if HACK_DEC_C_STARTUP]: capitalize
  4156.     _C$MAIN_ARGS in advance, in case -h3 (leave symbol name as-is)
  4157.     gets requested.  [All the HACK_DEC_C_STARTUP code appears to
  4158.     be obsolete; gcc does it automatically for vms target.  It's
  4159.     also misnamed, because it is for the "VAX C" run-time library,
  4160.     not the newer "DEC C" one which has much different startup code.]
  4161.     {various}: use `S_SET_xxx(symbol,new_value)' rather than
  4162.     `S_GET_xxx(symbol) = new_value'.
  4163.  
  4164. Mon Sep 19 12:05:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4165.  
  4166.     * config/obj-coff.c (c_dot_file_symbol): Use bfd_abs_section_ptr,
  4167.     not &bfd_abs_section.
  4168.  
  4169. Thu Sep 15 18:36:34 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4170.  
  4171.     * expr.c (clean_up_expression): Use addressT, not bfd_vma.
  4172.  
  4173. Tue Sep 13 20:05:47 1994  Jeff Law  (law@snake.cs.utah.edu)
  4174.  
  4175.     * expr.c (expr): Don't reduce the difference of two symbols in the
  4176.     same frag if the symbols are not in normal sections.
  4177.  
  4178.     * config/obj-som.h (S_SET_OTHER, S_SET_TYPE): Delete a.out crud.
  4179.     (S_SET_DESC, S_GET_OTHER, S_GET_TYPE, S_GET_DESC): Likewise.
  4180.     (obj_attach_unwind_info): Do not define.  Not needed anymore.
  4181.     * config/tc-hppa.c: Delete whitespace at EOL.
  4182.     (struct hppa_fix_struct): Delete fx_unwind field and all references.
  4183.     (fix_new_hppa): Last arg is now a pointer to an int.  Do not
  4184.     call obj_attach_unwind_info anymore.  For SOM R_ENTRY and R_EXIT
  4185.     fixups, store 32bits of unwind information in the fx_addnumber
  4186.     field of the fixup.
  4187.     (md_assemble, pa_entry, process_exit, pa_procend): For SOM R_ENTRY
  4188.     and R_EXIT fixups, pass a NULL pointer to fix_new_hppa, and a
  4189.     pointer to 32 bits of unwind info.
  4190.     (tc_gen_reloc): For SOM R_ENTRY and R_EXIT fixups, set the symbol
  4191.     pointer to the dummy symbol; set the addend field to fx_addnumber.
  4192.     (pa_comm, pa_equ, pa_type_args, pa_import): Use bfd_XXX_section_ptr
  4193.     rather than &bfd_XXX_section.
  4194.  
  4195. Tue Sep 13 21:15:36 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4196.  
  4197.     * config/tc-i386.c (md_apply_fix_1): For GOTPC relocs, decrement
  4198.     value by one; discard adjustments previously being made.  From
  4199.     Eric Youngdale.
  4200.  
  4201.     VMS- and Vax-related changes from Pat Rankin:
  4202.     * Makefile.in (VMS_OTHER_OBJS): add concat, getopt, and getopt1.
  4203.     * vmsconf.sh: no longer have make-gas.com echo text about needing
  4204.     to modify the gcc-vms driver when intending to use with gcc 1.x.
  4205.     * as.c (parse_options): suppress 'v' from std_short_options and
  4206.     eliminate VMS-specific conditional initialization;
  4207.     [default case]: check for '-v' if md_parse_options doesn't recognize
  4208.     an option;
  4209.     [default case, #if VMS]: check for filename argument when '-v' seen;
  4210.     [case 'v']: delete.
  4211.     * config/tc-vax.c (md_assemble): don't rely on `this_add_number'
  4212.     for O_big literal operands (double floats and long long ints);
  4213.     [VMS, md_shortopts]: add second colon after 'v';
  4214.     (md_parse_options) [VMS, case 'v']:  check for argument, so
  4215.     caller can handle `-v' w/o arg.
  4216.  
  4217. Tue Sep 13 16:45:08 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  4218.  
  4219.     * config/obj-coff.c (do_relocs_for):  If TC_KEEP_FX_OFFSET
  4220.     is defined, put the tx_offset into the r_offset.
  4221.     * config/tc-sh.c (line_comment_chars): Add #
  4222.     (tc_reloc_mangle): Deleted.
  4223.     * config/tc-sh.h (TC_KEEP_FX_OFFSET): Define.
  4224.     (TC_RELOC_MANGLE): Delete.
  4225.  
  4226. Tue Sep 13 16:20:36 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4227.  
  4228.     * flonum-konst.c: Change preprocessor tests of HO_VMS to just VMS.
  4229.     * hex-value.c: Ditto.
  4230.     * config/obj-vms.c: Ditto.
  4231.  
  4232.     * config/tc-sparc.c (sparc_ip): Replace as_bad/exit sequence with
  4233.     a call to as_fatal.
  4234.     * config/tc-i860.c (i860_ip): Ditto.
  4235.     * config/tc-hppa.c (pa_ip): Ditto.
  4236.     * config/tc-alpha.c (alpha_ip): Ditto.
  4237.     * as.c (parse_args): Ditto.
  4238.  
  4239.     * config/tc-mips.c (mips_ip): Replace as_warn/exit sequence with a
  4240.     call to as_fatal.
  4241.  
  4242.     * write.c (write_contents): Use EXIT_FAILURE.
  4243.     * output-file.c (output_file_create, output_file_close,
  4244.     output_file_create, output_file_close): Ditto.
  4245.     * messages.c (as_fatal): Ditto.
  4246.     * config/obj-som.c (obj_som_version, obj_som_copyright): Ditto.
  4247.     * config/obj-ieee.c (write_object_file): Ditto.
  4248.     * config/obj-coff.c (write_object_file): Ditto.
  4249.     * config/tc-vax.c (main): Use EXIT_SUCCESS.
  4250.     * config/tc-m68k.c (main): Ditto.
  4251.  
  4252.     * hash.c (main): Pass a value to exit().
  4253.  
  4254.     * as.h (EXIT_SUCCESS, EXIT_FAILURE): Moved here.
  4255.     * as.c: ...from here.
  4256.     (parse_args): Use them always.
  4257.     (main): Use exit rather than return.
  4258.  
  4259.     * Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall):
  4260.     Rewrite handling of program_transform_name.
  4261.  
  4262.     * configure.in: Test for functions unlink and delete.
  4263.     * as.h: If unlink isn't available but delete is, define unlink to
  4264.     be delete.
  4265.  
  4266.     Update for autoconf 1.118:
  4267.     * gdbinit.in: New file, created from old .gdbinit.
  4268.     * .gdbinit: Deleted.
  4269.     * aclocal.m4 (GAS_GDBINIT): Deleted.
  4270.     * configure.in: Don't use it.  Instead, generate .gdbinit from
  4271.     gdbinit.in.  Don't substitute cpu_type, obj_format, emulation,
  4272.     atof.  Switched order of AC_LINK_FILES arguments.  Use AC_PREREQ
  4273.     to ensure that older versions of autoconf aren't used.
  4274.     * Makefile.in: Added @configure_input@ line.
  4275.     (configure): Deleted rule.
  4276.  
  4277. Tue Sep 13 12:08:20 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4278.  
  4279.     * config/obj-coff.c (fixup_segment): After handling the difference
  4280.     of two symbols from the same segment, set fx_subsy to NULL, to
  4281.     satisfy existing TC_COUNT_RELOC macros.
  4282.  
  4283. Tue Sep 13 01:47:08 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4284.  
  4285.     * aclocal.m4 (GAS_GDBINIT): New macro.
  4286.     * configure.in: Use it.
  4287.     * configure: Regenerated.
  4288.  
  4289. Mon Sep 12 20:56:38 1994  Ken Raeburn  (raeburn@kr-laptop.cygnus.com)
  4290.  
  4291.     * .gdbinit (pe, ps): Define new commands.
  4292.     * symbols.c (indent_level): New static variable.
  4293.     (indent, print_expr_1, print_symbol_value_1, print_symbol_value,
  4294.     print_expr): New functions.
  4295.  
  4296.     * Makefile.in (config-stamp): Add a "this file generated by make"
  4297.     message to config.h.
  4298.  
  4299.     PIC implementation for i386-linux, based on code from Eric
  4300.     Youngdale and Paul Kranenburg, with some work of my own:
  4301.  
  4302.     * write.c (fixup_segment): Test TC_RELOC_RTSYM_LOC_FIXUP on fixup
  4303.     before processing same-section pcrel relocations.
  4304.     (TC_RELOC_RTSYM_LOC_FIXUP): Default to 1.
  4305.  
  4306.     * expr.c (make_expr_symbol): If operator is O_symbol and
  4307.     X_add_number is zero, just return the symbol.  If operator is
  4308.     O_constant, resolve the symbol's value before returning.
  4309.     (operand): Permit use of "[]" for grouping.
  4310.     (clean_up_expression): For difference of two symbols in the same
  4311.     frag, add the difference of their offsets into X_add_number.
  4312.     (expr): Reduce difference of two symbols in same frag to their
  4313.     difference.
  4314.  
  4315.     * config/tc-i386.c (TC_RELOC): New macro.
  4316.     (struct _i386_insn): New field disp_reloc.
  4317.     (GOT_symbol): New variable.
  4318.     (operand_special_chars): Added square-brackets and at-sign.
  4319.     (reloc) [BFD_ASSEMBLER]: Added new argument OTHER; if it is not
  4320.     NO_RELOC, just return it.
  4321.     (reloc) [! BFD_ASSEMBLER]: Add third argument to dummy macro.
  4322.     (BFD_RELOC_386_PLT32, _GOT32, _GOTOFF) [! BFD_ASSEMBLER]: More
  4323.     dummy macros.
  4324.     (tc_i386_fix_adjustable): New function.  Returns zero if symbol in
  4325.     fixup is not local, to prevent relocations against externals from
  4326.     being dropped.
  4327.     (md_assemble): Initialize disp_reloc field to NO_RELOC.  Pass
  4328.     disp_reloc field to reloc() function, and use TC_RELOC to generate
  4329.     value to pass to fix_new_exp.
  4330.     (md_assemble): Change 32-bit reloc against GOT_symbol into a GOTPC
  4331.     reloc.
  4332.     (i386_operand): Initialize disp_reloc field to NO_RELOC.  Handle
  4333.     @GOTOFF, @PLT, @GOT operands.  For GOTOFF relocations with local
  4334.     symbols, force generation of the section symbol.
  4335.     (md_estimate_size_before_relax): If GOT_symbol exists, decide
  4336.     we're generating PIC code, and convert relocations against
  4337.     undefined symbols from PCREL to PLT32.
  4338.     (md_apply_fix_1) [OBJ_ELF]: Fix up values for dynamic-linking
  4339.     relocs.
  4340.     (md_undefined_symbol): Notice GLOBAL_OFFSET_TABLE_NAME and set
  4341.     and return GOT_symbol if it matches.
  4342.     (F, MAP): Move macro definitions outside function.
  4343.     (tc_gen_reloc): Only switch on size and pcrel if code wasn't
  4344.     already supplied as PLT32. GOT32, GOTOFF, or GOTPC.  Convert
  4345.     BFD_RELOC_32 using GOT_symbol into GOTPC.
  4346.     * config/tc-i386.h (TC_RELOC, tc_fix_adjustable,
  4347.     TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): New
  4348.     macros.
  4349.     (NEED_FX_R_TYPE): Define.
  4350.     (LOCAL_LABEL): Accept ".X" prefix too.
  4351.     (GLOBAL_OFFSET_TABLE_NAME): Default to "_GLOBAL_OFFSET_TABLE_".
  4352.  
  4353. Mon Sep 12 17:51:39 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4354.  
  4355.     * config/obj-elf.c (obj_elf_type): Rewrite to accept syntax
  4356.     reportedly to be used on Irix 6.
  4357.  
  4358.     * config/tc-mips.c (md_pseudo_table): Handle .globl and .global.
  4359.     (s_mips_globl): New static function; needed for Irix 5 support.
  4360.     * ecoff.c (ecoff_build_symbols): If BSF_FUNCTION is set for an
  4361.     external symbol with no type, set the type to st_Proc rather than
  4362.     st_Global.  Don't set the index of an external st_Proc or
  4363.     st_StaticProc symbol unless it is also a local symbol.
  4364.  
  4365.     * read.c (read_a_source_file): The second argument to as_where is
  4366.     unsigned int *, not int *.
  4367.  
  4368. Thu Sep  8 17:18:24 1994  Kung Hsu  (kung@mexican.cygnus.com)
  4369.  
  4370.     * config/obj-ecoff.h : Change names to  OBJ_GENERATE_ASM_LINENO,
  4371.     and generate_asm_lineno.
  4372.     * config/obj-elf.h : ditto.
  4373.     * read.h : ditto.
  4374.     * read.c (read_a_source_file): if no file when inst is read, set
  4375.     generate_asm_lineno to true.
  4376.     * ecoff.h : change name to generate_asm_lineno and add function
  4377.     ecoff_no_current_file.
  4378.     * ecoff.c : change name to generate_asm_lineno.
  4379.     * ecoff.c (ecoff_generate_asm_lineno) : new function, to generate
  4380.     ecoff style line for asm file.
  4381.  
  4382. Thu Sep  8 19:43:49 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4383.  
  4384.     * config/obj-coff.c (size_section): Do an fprintf to stderr rather
  4385.     than a printf.
  4386.     (fixup_segment): Use as_bad_where rather than as_bad.
  4387.  
  4388. Wed Sep  7 17:21:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  4389.  
  4390.     * config/tc-{h8300,sh}.[ch] (tc_coff_symbol_emit): Function doing
  4391.     nothing becomes macro doing nothing.
  4392.  
  4393. Wed Sep  7 19:10:09 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4394.  
  4395.     * Makefile.in (Makefile): Depend on config.status.
  4396.     (config.status): Run config.status from . instead of srcdir.
  4397.  
  4398.     * config/tc-i386.c (tc_gen_reloc): Use bfd_get_reloc_code_name to
  4399.     display the name of the relocation type that couldn't be handled.
  4400.     * config/tc-sparc.c (tc_gen_reloc): Likewise.
  4401.     * config/tc-alpha.c (tc_gen_reloc): Likewise.  Deleted abort call
  4402.     after call to as_fatal.
  4403.  
  4404.     * configure.in (i386-*-linux*): Don't set bfd_gas.
  4405.  
  4406.     * Makefile.in (CC_FOR_TARGET, NM_FOR_TARGET, OBJDUMP_FOR_TARGET,
  4407.     install, uninstall): Don't use "brokensed" hack any more, the new
  4408.     autoconf code should never let program_transform_name be empty.
  4409.  
  4410.     Update for autoconf beta 1.112:
  4411.     * aclocal.m4 (GAS_CHECK_DECL_NEEDED, GAS_WORKING_ASSERT): New
  4412.     macros.
  4413.     * configure.in: Use them.  Use AC_ARG_PROGRAM (now provided by
  4414.     autoconf) instead of my hacked-up AC_PROGRAM_TRANSFORM_NAME.  Move
  4415.     test for CROSS_COMPILE just before AC_FUNC_ALLOCA, and emit a
  4416.     message to try to ease confusion about autoconf's
  4417.     "cross-compiling" message.
  4418.     * acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_FREE,
  4419.     NEED_DECLARATION_ERRNO): Renamed from NEED_*_DECLARATION.
  4420.     * configure, conf.in: Regenerated.
  4421.  
  4422. Wed Sep  7 12:49:55 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4423.  
  4424.     * configure.in: Check ${host} and ${target} rather than
  4425.     ${host_canon} and ${target_canon}.
  4426.     * configure: Likewise.
  4427.  
  4428. Tue Sep  6 11:42:38 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4429.  
  4430.     * config/tc-mips.c (mips_cpu): New static variable.
  4431.     (insns_since_cache_access): New static variable.
  4432.     (md_begin): Set mips_cpu as well as mips_isa.
  4433.     (append_insn): If mips_cpu is 4600, require four nop instructions
  4434.     between an instruction which accesses the cache and certain CACHE
  4435.     instructions.  Keep track of the number of instructions seen since
  4436.     an instruction which accesses the cache.
  4437.     (md_parse_option): Set mips_cpu as well as mips_isa.
  4438.  
  4439. Mon Sep  5 07:09:00 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  4440.  
  4441.     * doc/Makefile.in (VPATH): Define using @srcdir@.
  4442.     (prefix, program_transform_name, exec_prefix): Use autoconf style
  4443.     @-substitutions.
  4444.  
  4445. Sun Sep 04 17:58:10 1994  Richard Earnshaw (rwe@pegasus.esprit.ec.org)
  4446.  
  4447.     * config/ho-riscix.h, config/tc-arm.c, config/tc-arm.h: New files
  4448.     * configure.in: Recognize the arm.
  4449.  
  4450. Fri Sep  2 16:05:50 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4451.  
  4452.     * ecoff.c (add_file): Don't try to generate line numbers if the
  4453.     symbol table has been frozen.
  4454.  
  4455. Thu Sep  1 19:48:01 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4456.  
  4457.     * aclocal.m4 (AC_PROG_CC): Use AC_DEFUN, and omit AC_PROVIDE.
  4458.  
  4459.     * configure.in: Handle user-specified bfd-assembler option with
  4460.     separate variable from preferred configuration, until the two are
  4461.     resolved.  Indicate bfd_gas=preferred for linux a.out.  Use
  4462.     AC_PROGRAM_TRANSFORM_NAME, for which a patch has been sent to djm.
  4463.     * Makefile.in (target_alias, program_transform_name): Define,
  4464.     using autoconf @-substitutions.
  4465.  
  4466. Wed Aug 31 17:43:06 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4467.  
  4468.     * atof-generic.c: Deleted alloca handling here.
  4469.  
  4470.     * Makefile.in (prefix, exec_prefix): Use @-subtitutions.
  4471.  
  4472.     * aclocal.m4 (AC_OUTPUT_LINKS): Deleted redefinition, since
  4473.     autoconf 1.109 has this fixed.
  4474.     * configure.in: Don't change quote characters around AC_MSG_ERROR
  4475.     invocation.  Don't use AC_HEADER_STDC, since it requires running a
  4476.     program.  Cache NEED_*_DECLARATION values.
  4477.     * configure, conf.in: Regenerated with a modified autoconf 1.109.
  4478.  
  4479.     * as.h (volatile): Don't test or define here; not needed.
  4480.     (alloca): Replace alloca-conf.h inclusion with code recommended in
  4481.     autoconf documentation.  Include config.h first.
  4482.  
  4483. Wed Aug 31 11:20:48 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4484.  
  4485.     * config/obj-coff.h (S_IS_DEFINED): Absolute symbols are defined
  4486.     also.
  4487.  
  4488.     * configure.in, configure: Initialize bfd_gas to no.
  4489.  
  4490. Tue Aug 30 19:31:14 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4491.  
  4492.     * as.h: Include alloca-conf.h from "libiberty", not
  4493.     "../libiberty".
  4494.  
  4495. Mon Aug 29 16:11:30 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4496.  
  4497.     * config/tc-ppc.c (md_apply_fix): Don't generate a reloc when a
  4498.     symbol is used as an offset into a CSECT that is not a TOC.  These
  4499.     types of loads are generated by gcc -mminimal-toc.
  4500.  
  4501. Sun Aug 28 13:22:52 1994  Ken Raeburn  (raeburn@rtl.cygnus.com)
  4502.  
  4503.     * as.h (flag_*): Added comments describing meanings of some of
  4504.     these variables.
  4505.     (struct frag): Add some comments about the ns32k-specific fields
  4506.     and why they're here.
  4507.     (SIZEOF_STRUCT_FRAG): Cast addresses to char*, not int.
  4508.     (flag_print_statistics): Declare.
  4509.  
  4510.     * as.c (parse_args): Set flag_print_statistics instead of
  4511.     statistics_flag.  Options array is now const.  Added new option
  4512.     "dump-config"; if specified, print TARGET_ALIAS, TARGET_CANONICAL,
  4513.     TARGET_CPU, TARGET_OBJ_FORMAT, and TARGET_FORMAT, if defined.
  4514.     (main): Change test to check flag_print_statistics.
  4515.     (statistics_flag): Deleted.
  4516.  
  4517.     * frags.c (frag_variant): Removed PCREL_ADJUST and BSR arguments.
  4518.     Always initialize them to zero.
  4519.     * frags.h (frag_variant): Fixed prototype.
  4520.     * config/tc-i960.c (get_cdisp): Don't pass the extra zero args.
  4521.     * config/tc-ns32k.c (convert_iif): Don't pass the arguments; cache
  4522.     the value of frag_now and fill in the fields later.
  4523.  
  4524.     * Makefile.in (distclean, realclean): Remove new
  4525.     configure-generated files.
  4526.  
  4527. Sat Aug 27 20:26:12 1994  Ken Raeburn  (raeburn@kr-laptop.cygnus.com)
  4528.  
  4529.     Conversion to autoconf:
  4530.     * acconfig.h, aclocal.m4: New files.
  4531.     * configure.in: Rewritten (except for some target-specific code)
  4532.     for autoconf.
  4533.     * conf.in, configure: New files, generated from the above.
  4534.     * Makefile.in: Changed magic sequence indicating insertion of
  4535.     makefile fragments.
  4536.     (VPATH, srcdir, CC, LIBS, OBJS dependencies): Use @-substitutions
  4537.     from configure.
  4538.     (LINKED_HEADERS): Deleted a.out.gnu.h, a.out.h, and host.h.
  4539.     (config.status, configure): Rewrite rules.
  4540.     (config-stamp): Depend on conf.  Skip variables that configure is
  4541.     now substituting itself.
  4542.     (*.o dependencies): Deleted host.h.
  4543.     (distclean, realclean): Don't delete host.h.
  4544.     * as.c: Don't include stdio.h, string.h, sys/types.h.  Include
  4545.     signal.h after as.h.
  4546.     * as.h: Include alloca-conf.h first.  Include ctype.h, string.h,
  4547.     strings.h, stdlib.h, unistd.h, sys/types.h, fopen-bin.h,
  4548.     fopen-same.h, as suggested by autoconf test results.
  4549.     [BROKEN_ASSERT]: Don't include assert.h.
  4550.     (strdup): Declare.
  4551.     (volatile, const): Define if not __STDC__ and not already defined.
  4552.     (malloc, realloc) [NEED_MALLOC_DECLARATION]: Declare.
  4553.     (free) [NEED_FREE_DECLARATION]: Declare.
  4554.     * gasp.c: Include config.h, stdlib.h (if HAVE_STDLIB_H).  Don't
  4555.     include host.h.
  4556.     (malloc) [NEED_MALLOC_DECLARATION]: Declare.
  4557.     * messages.c: Include as.h first.  Include errno.h only if
  4558.     HAVE_ERRNO_H.  If HAVE_VARARGS_H and not __STDC__, undefine
  4559.     HAVE_STDARG_H.  Set NO_STDARG and NO_VARARGS as appropriate.
  4560.     * doc/Makefile.in (srcdir, INSTALL, INSTALL_PROGRAM,
  4561.     INSTALL_DATA): Use autoconf @-substitutions.
  4562.  
  4563.     * input-file.c: Don't include assert.h here, 'cause as.h already
  4564.     includes it.
  4565.  
  4566.     * config/tc-alpha.c: Added various prototypes for static
  4567.     functions.
  4568.     (in_range): New function, tests whether a value can fit in an
  4569.     N-bit field.
  4570.     (build_mem, build_operate_n): New functions for constructing
  4571.     opcode values.
  4572.     (emit_sll_n, emit_ldah_num, emit_addq_r, emit_lda_n): New
  4573.     functions for emitting single instructions, no longer requiring a
  4574.     recursive call to md_assemble.
  4575.     (emit_add64): New function for expanding a REG:=REG+CONST
  4576.     operation into one or more instructions, to handle wide constants.
  4577.     (clear_insn): New variable.
  4578.     (md_begin): Fill it in with zeros and BFD_RELOC_NONE values.
  4579.     (alpha_ip): Use it to initialize local variable insns.
  4580.     (alpha_ip, label "immediate" and cases 'P', 'G'): Use emit_add64
  4581.     for calculations.
  4582.  
  4583. Fri Aug 26 14:46:15 1994  Ken Raeburn  (raeburn@kr-laptop.cygnus.com)
  4584.  
  4585.     * subsegs.c (section_symbol): Reverse still-wrong test of
  4586.     EMIT_SECTION_SYMBOLS.
  4587.  
  4588.     * write.c (BFD_FAST_SECTION_FILL): Always define.
  4589.     (write_contents): If fill_size is 1, use memset instead of looping
  4590.     calling memcpy.
  4591.  
  4592. Wed Aug 24 12:46:08 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4593.  
  4594.     * config/tc-mips.h (LOCAL_LABEL): Define as 0, for compatibility
  4595.     with native MIPS assembler.
  4596.     * configure.in (mips-*-irix*): Don't set emulation.
  4597.     * config/te-irix.h: Remove.
  4598.  
  4599.     * ecoff.c (ecoff_symbol_new_hook): Don't add a new file if we
  4600.     haven't seen any input files yet.
  4601.     * config/tc-alpha.c (md_begin): Just call symbol_create, rather
  4602.     than calling symbol_new and then removing the symbol from the
  4603.     list.
  4604.  
  4605.     * as.c (main): Move a inside the #if 0 block which uses it.
  4606.     * ecoff.c (current_stabs_filename): Make const.
  4607.     * frags.h (frag_align_pattern): Declare.
  4608.     * gasp.c (new_file): Cast isp to long, and use %ld to print it.
  4609.     * config/tc-alpha.h (md_operand): Add cast to void.
  4610.     (alpha_do_align): Declare argument types.
  4611.     (tc_get_register): Declare.
  4612.     (alpha_frob_ecoff_data): Declare.
  4613.     * config/tc-alpha.c: Include <ctype.h>.
  4614.     (s_mask): Don't declare; does not exist.
  4615.     (line_comment_chars): Remove /* from descriptive comment.
  4616.     (tc_get_register): Remove unused local reg.
  4617.     (tc_gen_reloc): Don't bother to compare unsigned to zero.
  4618.     (s_base): Correct warning to actually print register number.
  4619.     (md_begin): Remove unused locals retval, lose, and i.
  4620.     (alpha_fix_adjustable): Move default case inside switch to avoid
  4621.     warning.
  4622.     (load_symbol_address): Remove unused locals reloc_addr, p, sym,
  4623.     and addend.
  4624.     (emit_byte_manip_r): Declare types for all arguments.
  4625.     (emit_extract_r, emit_insert_r, emit_mask_r): Likewise.
  4626.     (emit_sign_extend, emit_bis_r, s_proc): Likewise.
  4627.     (alpha_ip): Use sprint_value to print offsetT value.  Remove
  4628.     unused local size.  Remove unused label get_macro.
  4629.     (alpha_do_align): Make fill const.
  4630.     (md_apply_fix): Remove unused label check_zov.
  4631.  
  4632.     * configure.in: Recognize i586 as a synonym for i[34]86.
  4633.  
  4634. Tue Aug 23 12:32:14 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4635.  
  4636.     * config/obj-coff.c (c_line_new): Change line_number argument from
  4637.     unsigned short to int so that the type in the prototype matches
  4638.     the promoted type in the definition.
  4639.     (stack_delete): Comment out; not used.
  4640.     * config/obj-coff.h (tc_coff_symbol_emit_hook): Declare if not
  4641.     BFD_ASSEMBLER, not if BFD_ASSEMBLER.  Declare argument type.
  4642.     * config/tc-m68k.h (tc_coff_sizemachdep): Declare.
  4643.     * config/tc-m68k.c (tc_coff_symbol_emit_hook): Add ignored
  4644.     argument.
  4645.  
  4646. Tue Aug 16 01:48:20 1994  Jeff Law  (law@snake.cs.utah.edu)
  4647.  
  4648.     * gas/config/tc-hppa.c (pa_comm): Undo last change.  Set sy_frag for
  4649.     the common symbol to the zero address frag (the correct fix).
  4650.  
  4651. Tue Aug 16 01:48:20 1994  Jeff Law  (law@snake.cs.utah.edu)
  4652.  
  4653.     * gas/config/tc-hppa.c (pa_comm): Undo last change.  Set sy_frag for
  4654.     the common symbol to the zero address frag (the correct fix).
  4655.  
  4656.     * config/tc-hppa.c (pa_comm): Set sy_resolved for the common
  4657.     symbol.
  4658.  
  4659. Fri Aug 12 17:51:48 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4660.  
  4661.     * config/tc-mips.c (md_begin): Drop "el" from the end of
  4662.     TARGET_CPU.  Check for mips64orion.
  4663.  
  4664. Tue Aug  9 19:43:45 1994  Stu Grossman  (grossman@cygnus.com)
  4665.  
  4666.     * configure.in:  Recognize ppc-*-netware.
  4667.     * config/te-ppcnw.h:  New file to support Power-PC/Netware
  4668.     configurations.  Currently, it just enables the use of backslash
  4669.     escapes in string directives.
  4670.  
  4671. Tue Aug  9 11:12:13 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4672.  
  4673.     * config/tc-ppc.c (ppc_stabx): Call expression directly, rather
  4674.     than via pseudo_set.  If expression is a symbol, move stab symbol
  4675.     to just after symbol from expression.
  4676.  
  4677.     * ecoff.c (ecoff_build_procs): Don't force adr of first fdr to be
  4678.     zero.  Undoes change of June 4, 1993.
  4679.  
  4680.     * config/tc-mips.c (md_parse_option): Accept -mcpu=4400, 4600, and
  4681.     orion.
  4682.  
  4683. Mon Aug  8 16:28:08 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  4684.  
  4685.     * as.h: Remove FOPEN_WB patch of Aug 6.
  4686.     * configure.in: Configure for ho-go32 correctly.
  4687.     * config/ho-go32.h: Fix copyright.
  4688.  
  4689. Mon Aug  8 11:59:51 1994  Jeff Law  (law@snake.cs.utah.edu)
  4690.  
  4691.     * gas/config/tc-hppa.c (md_pseudo_table): Delete redundant
  4692.     upper-case versions of the pseudo-ops.
  4693.  
  4694. Mon Aug  8 13:42:16 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4695.  
  4696.     * config/tc-sparc.c (md_apply_fix): If we are going to generate a
  4697.     non PC relative reloc, don't put the addend in the object file.
  4698.  
  4699. Sat Aug  6 01:15:02 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  4700.  
  4701.     * as.h: If FOPEN_WB is not defined, do the right thing in a go32
  4702.     environment.
  4703.  
  4704. Mon Jul 11 11:34:52 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  4705.  
  4706.     * config/tc-h8300.c (pint): New function for handling varying
  4707.     size of int pseudo op.
  4708.     * doc/as.texinfo: Fix typo describing .h8300h pseduop.
  4709.  
  4710. Mon Aug  1 02:40:43 1994  Jeff Law  (law@snake.cs.utah.edu)
  4711.  
  4712.     * config/tc-hppa.c (create_new_space): Initialize sd_subspaces
  4713.     field in the space chain.
  4714.  
  4715.     * config/tc-hppa.c (tc_gen_reloc): Cast return value from
  4716.     hppa_gen_reloc_type.
  4717.  
  4718. Thu Jul 28 15:45:37 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4719.  
  4720.     * config/tc-sparc.c (sparc_ip): Check more carefully for
  4721.     conflicting architectures.
  4722.     (md_parse_option) [NO_V9]: Complain if v9 was selected.
  4723.     (md_show_usage): Derive architecture list in usage message from
  4724.     architecture_pname array.
  4725.     (cypress): Macro deleted.
  4726.     (op_hash): Don't initialize.
  4727.     (s_common): Use bfd_und_section_ptr instead of bfd_und_section.
  4728.  
  4729.     * config/tc-sparc.c (BSR): New function.
  4730.     (sparc_ip): Use it for right-shift operations of 32 bits or more.
  4731.  
  4732.     * config/tc-sparc.c (sparc_ip): Implement new operand type 'x'.
  4733.  
  4734. Tue Jul 26 18:21:24 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4735.  
  4736.     * config/obj-coff.h: Moved common includes and TARGET_FORMAT
  4737.     definitions together.
  4738.     (WORKING_DOT_WORD, WARN_SIGNED_OVERFLOW_WORD,
  4739.     OBJ_COFF_OMIT_OPTIONAL_HEADER, BFD_HEADERS, BFD) [!BFD_ASSEMBLER]:
  4740.     Moved these definitions to the start of the file, before the
  4741.     includes.
  4742.     (SYMBOLS_NEED_BACKPOINTERS, OBJ_COFF_MAX_AUXENTRIES): Always
  4743.     define these.
  4744.     (S_GET_ZEROES): Deleted.
  4745.     (S_SET_ZEROES): Moved to obj-coff.c.
  4746.  
  4747.     * config/obj-coff.c (obj_coff_* psuedo-op fns): Deleted
  4748.     forward declarations.
  4749.     (obj_pseudo_table): Moved to one version end of file,
  4750.     conditionalized internally.
  4751.     (stack typedef, stack_init, stack_delete, stack_push, stack_pop,
  4752.     tag_hash, tag_init, tag_insert, tag_find, tag_find_or_make): Moved
  4753.     to one combined version at top of file, unconditional.  Deleted
  4754.     forward declarations.
  4755.     (s_get_name): Moved one copy of declarations to start of file.
  4756.     (def_symbol_in_progress): Ditto.  Don't initialize.
  4757.     (S_SET_ZEROES): Moved here from obj-coff.h.
  4758.     (write_object_file): If TC_COFF_SET_MACHINE is defined, call it on
  4759.     the file headers.
  4760.  
  4761.     * config/obj-coff.c (seg_info_off_by_4): Now const and static.
  4762.     (SEG_INFO_FROM_SEG_NUMBER): Unused macro deleted.
  4763.     (previous_file_symbol, def_symbol_in_progress, symbol_externP,
  4764.     symbol_extern_lastP, last_functionP) [!BFD_ASSEMBLER]: Don't
  4765.     bother explicitly initializing to zero value.
  4766.  
  4767.     * config/obj-coff.c (fixup_segment) [TC_I960]: Use SF_GET_BALNAME
  4768.     and SF_GET_CALLNAME instead of the TC_S_IS_ versions.
  4769.  
  4770.     * config/tc-i960.h (TC_COFF_SET_MACHINE): New macro.  Calls
  4771.     tc_headers_hook.
  4772.  
  4773.     * config/tc-i960.c (targ_has_iclass): Use I_CX | I_CX2 where I_CX
  4774.     was used previously.
  4775.     (tc_headers_hook): If I_CX2 is found, set flags to F_I960CA.
  4776.  
  4777.     * config/tc-i960.c (po_hash): Declaration deleted.
  4778.     (next_object_file_charP): Ditto.
  4779.     (regnames, aregs, coj): Now const.
  4780.     (parse_memop): Static array def_scale now const.
  4781.     (md_begin): Cast away const when passing hash routines addresses
  4782.     of values in regnames or aregs.
  4783.     (md_longopts): Added "link-relax" and "no-relax" hyphenated forms.
  4784.     Continue to accept one-word forms.
  4785.     (struct tabentry, arch_tab): Moved to top level from inside
  4786.     md_parse_option.  Now const.
  4787.     (md_show_usage): Use arch_tab to generate usage message.  Print
  4788.     hyphenated forms of relax options.
  4789.  
  4790.     * config/tc-i960.h (DEFINE_I960_AOUT, TC_S_IS_*, TC_S_*_SYSPROC,
  4791.     TC_S_FORCE_TO_*): Moved from here...
  4792.     * config/tc-i960.c: ... to here.  Changed DEFINE_I960_AOUT stuff
  4793.     to test OBJ_AOUT and OBJ_BOUT directly.
  4794.  
  4795.     * config/tc-i960.h (CTRL, COBR, COJ, REG, MEM*, FBRA, CALLJ,
  4796.     M1-M3, REG_OPC, R_*, SFR, LIT, FP, OP, R, RS, RL, RSL, F,
  4797.     {R,F}{,L}{2,4}, M, SFR_OK, LIT_OK, FP_OK, REG_ALIGN, MEMOP, I_*):
  4798.     Macros deleted.
  4799.  
  4800.     * config/tc-i960.c (ARCH_JX): Define.
  4801.     (arch_tab): Include JX.
  4802.     (targ_has_sfr, targ_has_iclass): Handle JX.
  4803.     (tc_headers_hook): Set flags to F_I960JX for i960JX.
  4804.  
  4805. Fri Jul 15 15:36:51 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4806.  
  4807.     * subsegs.c (section_symbol): Had last change backwards.
  4808.  
  4809. Thu Jul 14 13:21:06 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4810.  
  4811.     * config/atof-ns32k.c: Deleted.
  4812.  
  4813.     * config/obj-aout.c (obj_aout_frob_symbol): Use
  4814.     bfd_ind_section_ptr and bfd_und_section_ptr.
  4815.  
  4816.     * subsegs.c (subseg_set_rest): Compare segT values directly,
  4817.     without casting to int first.
  4818.  
  4819.     * config/tc-ns32k.c (md_begin): Return value from hash_insert
  4820.     should be pointer to const.  Don't call exit explicitly after
  4821.     calling as_fatal; it won't return.
  4822.     (convert_iif): Make local variable j be pointer to bit_fixS, since
  4823.     that's how it's used.
  4824.     (encode_operand, case 'b'): Ignore sprintf return value.  Don't try
  4825.     converting freeptr to int and back.
  4826.  
  4827.     Merged in NS32K support update from Ian Dall (dall@hfrd.dsto.gov.au):
  4828.  
  4829.     * config/te-pc532mach.h: New file. pc532-mach target emulation.
  4830.  
  4831.     * config/te-netbsd532.h: New file. Netbsd532 target emulation.
  4832.  
  4833.     * config/tc-ns32k.h: Add definition of NOP_OPCODE.
  4834.  
  4835.     * config/tc-ns32k.h: Add prototype for fix_new_ns32k_exp.
  4836.  
  4837.     * config/tc-ns32k.h: Add BFD_ASSEMBLER support.
  4838.  
  4839.     * config/tc-ns32k.c (tc_gen_reloc): New function for BFD_ASSEMBLER.
  4840.  
  4841.     * config/tc-ns32k.c (fix_new_ns32k_exp): Get reloc type
  4842.     differently for BFD_ASSEMBLER.
  4843.  
  4844.     * config/tc-ns32k.c (md_estimate_size_before_relax): Get reloc
  4845.     type differently for BFD_ASSEMBLER.
  4846.  
  4847.     * config/tc-ns32k.c (md_create_long_jump): Size of opcode is one
  4848.     not 2.
  4849.  
  4850.     * config/tc-ns32k.c (md_convert_frag): Code for the BFD_ASSEMBLER
  4851.     case. Also use smart md_pcrel_adjust function.
  4852.  
  4853.     * config/tc-ns32k.c (md_apply_fix): Code for the BFD_ASSEMBLER
  4854.     case. Also use smart md_fix_pcrel_adjust function.
  4855.  
  4856.     * config/tc-ns32k.c (md_fix_pcrel_adjust): New function which can
  4857.     find offset from opcode to operand even if in another frag
  4858.     and in the presence of relaxing.
  4859.  
  4860.     * config/tc-ns32k.c (md_pcrel_adjust): New function which can
  4861.     find offset from opcode to operand even if in another frag
  4862.     and in the presence of relaxing.
  4863.  
  4864.     * config/tc-ns32k.c (md_number_to_disp): Check ranges properly.
  4865.  
  4866.     * config/tc-ns32k.c (md_atof): use atof_ieee instead of special
  4867.     atof_ns32k.
  4868.  
  4869.     * config/tc-ns32k.c (reloc): New (static) function for
  4870.     BFD_ASSEMBLER.
  4871.  
  4872.     * config/tc-ns32k.c (convert_iif): More correct pc relative code.
  4873.     md_relax must be able to find opcode address even if in another frag.
  4874.  
  4875.     * config/tc-ns32k.c: More extensive comments.
  4876.  
  4877.     * config/tc-ns32k.c (encode_operand): Support new operand classes I
  4878.     and Z. Drop Q.
  4879.  
  4880.     * config/tc-ns32k.c (fix_new_ns32k_exp): new function and
  4881.     corresponding prototype.
  4882.  
  4883.     * config/tc-ns32k.c: make 32532 default machine instead of 32032.
  4884.  
  4885.     * config/tc-ns32k.c: include opcode/ns32k.h after as.h
  4886.  
  4887.     * aout_gnu.h: r_disp needs to be 2 bits for TC_NS32K
  4888.  
  4889.     * write.h: fx_im_disp needs to be 2 bits big for TC_NS32K
  4890.  
  4891.     * write.c (relax_segment): Use TC_PCREL_ADJUST macro (if defined)
  4892.     instead of adding pcrel_adjust.
  4893.  
  4894.     * write.c (write_object_file): Adjust to_addr for the
  4895.     BROKEN_DOT_WORD feature for the BFD_ASSEMBLER case.
  4896.  
  4897.     * write.c (write_object_file): Use TC_CONS_FIX_NEW if it is defined.
  4898.  
  4899.     * write.c (write_contents): Add code (currently if
  4900.     BFD_FAST_SECTION_FILL is defined) to make large fills a lot faster.
  4901.  
  4902.     * configure.in: Remove ns32k from special FP list. All the ns32k
  4903.     series use ieee float.
  4904.  
  4905.     * configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd targets
  4906.  
  4907.     * as.h: include expr.h before targ-env.h. Some target dependent file
  4908.     want to use expr structures.
  4909.  
  4910. Wed Jul 13 14:49:05 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4911.  
  4912.     * config/tc-m68k.c (m68k_ip): Change rp to be a const pointer.
  4913.     (md_parse_option): Clear cpu field of current_architecture before
  4914.     setting a new cpu type.  Clear no_68881 for m68881 or m68882.
  4915.     Clear no_68851 for m68851.
  4916.  
  4917. Tue Jul 12 21:27:05 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  4918.  
  4919.     * config/ho-sysv.h (realloc): Declare.
  4920.  
  4921.     * symbols.c (symbol_create): New function, most of the guts of the
  4922.     old symbol_new function.
  4923.     (symbol_new): Now just checks symbol_table_frozen, calls
  4924.     symbol_create, and enters the symbol into the symbol table.
  4925.     * subsegs.c (section_symbol): If EMIT_SECTION_SYMBOLS is not true,
  4926.     and the symbol table is frozen, call symbol_create instead of
  4927.     symbol_new.
  4928.     * symbols.h (symbol_create, symbol_table_frozen): Declare.
  4929.  
  4930.     * symbols.c (symbol_clear_list_pointers): Always a function now.
  4931.     * struc-symbol.h (symbol_clear_list_pointers): Deleted macro
  4932.     version.
  4933.  
  4934.     * symbols.c (debug_verify_symchain): New macro, defined to be
  4935.     verify_symbol_chain or a cast to void, depending on DEBUG_SYMS.
  4936.     (many functions): Invoke debug_verify_symchain unconditionally.
  4937.  
  4938. Tue Jul 12 12:06:42 1994  Kung Hsu  (kung@x1.cygnus.com)
  4939.  
  4940.     * config/obj-ecoff.h: change calling interface of
  4941.     OBJ_GENERATE_ASM_LINE_STAB.
  4942.     * config/obj-elf.h: ditto.
  4943.     * read.c (read_a_source_file): ditto.
  4944.     * ecoff.h: change calling interface of
  4945.     ecoff_generate_asm_line_stab.
  4946.     * ecoff.c (add_file): record of filename to handle case of include
  4947.     files, also change default built-in type from int to void for
  4948.     asm file.
  4949.     * ecoff.c (ecoff_generate_asm_line_stab): handle case of include
  4950.     files.
  4951.  
  4952. Mon Jul 11 17:20:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  4953.  
  4954.     * config/tc-mips.c (macro): In case M_LA_AB, SVR4_PIC, large
  4955.     constant, and case ldd_std, set mips_optimize to 2 temporarily to
  4956.     avoid inserting an unexpected nop instruction.
  4957.  
  4958. Sat Jul  9 00:05:12 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  4959.  
  4960.     * ecoff.c (ecoff_build_lineno): Handle count correctly for last
  4961.     line number.
  4962.  
  4963. Fri Jul  8 15:22:07 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  4964.  
  4965.     * gasp.c (process_pseudo_op): Pass right args to do do_aif.
  4966.     (get_any_string): New arg 'pretend_quote'.
  4967.     (get_and_process, do_formals, macro_expand, do_sdata,
  4968.     process_pseudo_op): Use new arg.
  4969.  
  4970. Fri Jul  8 12:23:44 1994  Kung Hsu  (kung@mexican.cygnus.com)
  4971.  
  4972.     * config/obj-ecoff.h: define macro OBJ_GENERATE_ASM_LINE_STAB.
  4973.     * config/obj-elf.h: ditto.
  4974.     * read.c (read_a_source_file): generate line stabs for asm file.
  4975.     * read.h: add extern generate_asm_line_stab.
  4976.     * ecoff.h : add prototype for ecoff_generate_asm_line_stab().
  4977.     * ecoff.c (add_file): if there's no filename provided, set switch
  4978.     to generate line stabs for .s file.
  4979.     * ecoff.c (add_procedure): add stabs symbol for .ent directive.
  4980.     * ecoff.c (generate_ecoff_stab): creates an artificial stabs.
  4981.     * ecoff.c (generate_asm_line_stab): generate a artifitial label
  4982.     for each line and generate a stabn for the line.
  4983.  
  4984. Thu Jul  7 17:04:03 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  4985.  
  4986.     * gasp.c (get_any_string): Cope with getting a string with an
  4987.     alternate base specifier.
  4988.     (do_aif, do_aelse): Only enable output if expression is true and previous
  4989.     level was on.
  4990.     (chartype_init):  Add BASEBIT chartype.
  4991.     (process_pseudo_op):  Notice nesteed AIFs.
  4992.  
  4993. Thu Jul  7 12:30:22 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  4994.  
  4995.     * h8300.c (do_a_fix_imm): Code for 2 bit reloc type using in trapa
  4996.     insn.  (fix pr 5165, 5174)
  4997.  
  4998. Thu Jul  7 11:31:32 1994  Jeff Law  (law@snake.cs.utah.edu)
  4999.  
  5000.     * config/tc-hppa.c (R_DLT_REL): If it isn't defined, then define
  5001.     to an appropriate value to avoid losing on old hpux systems.
  5002.  
  5003.     * config/tc-hppa.c (hppa_fix_adjustable): Reject reductions for
  5004.     symbols in DLT relative relocs.
  5005.     (tc_gen_reloc): Zero out the addend field for DLT relative relocs.
  5006.  
  5007. Wed Jul  6 01:07:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5008.  
  5009.     * config/tc-ppc.c (ppc_tc): If not OBJ_COFF, force TOC entry to
  5010.     align to a four byte boundary.
  5011.  
  5012. Tue Jul  5 15:42:09 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5013.  
  5014.     * config/tc-alpha.c (load_expression): Handle 32-bit addends.
  5015.     (gpdisp_hi16_howto): Now points to const.
  5016.     (load_insn_table, alpha_ip): Fix uses of const.
  5017.  
  5018.     * doc/internals.texi: Updates to COFF description.  Added "@end
  5019.     defmac" as needed, and some extra heading and "@bye" so it'll
  5020.     format as a separate document.
  5021.  
  5022. Tue Jul  5 13:54:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  5023.  
  5024.     * config/obj-elf.h (S_GET_ALIGN, S_SET_ALIGN): Define.
  5025.     * config/obj-elf.c (obj_elf_common): Set alignment of common
  5026.     symbol.
  5027.     * config/tc-sparc.c (s_common): If OBJ_ELF, set alignment of
  5028.     common symbol.
  5029.  
  5030. Mon Jul  4 18:29:43 1994  Jeff Law  (law@snake.cs.utah.edu)
  5031.  
  5032.     * config/tc-hppa.c (is_complex): New macro.
  5033.     (cons_fix_new_hppa): "Handle" complex expressions.
  5034.  
  5035. Fri Jul  1 00:48:12 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5036.  
  5037.     * config/obj-coff.c (write_object_file): Set s_align field from
  5038.     section_alignment array.
  5039.  
  5040. Thu Jun 30 15:05:28 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5041.  
  5042.     * write.c (write_object_file): Use bfd_com_section_ptr.
  5043.     * as.h (absolute_section, undefined_section): Use new BFD macros
  5044.     bfd_abs_section_ptr and bfd_und_section_ptr.
  5045.  
  5046. Thu Jun 30 14:36:37 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  5047.  
  5048.     * config/tc-mips.c (macro): For M_LI_SS, decide how to handle it
  5049.     based on contents of imm_expr and offset_expr, rather than
  5050.     mips_pic.  For M_LI_DD, decide how to handle it based on segment
  5051.     name of offset_expr, rather than mips_pic.
  5052.     (mips_ip): If g_switch_value < 4, use immediate values for 'l'.
  5053.     If g_switch_value < 8, use .rdata rather than .lit for 'L'.
  5054.  
  5055. Wed Jun 29 17:30:46 1994  Stan Shebs  (shebs@andros.cygnus.com)
  5056.  
  5057.     * as.c (show_usage): Break long string into shorter ones.
  5058.     (parse_args): Add -v, prints version id and continues.
  5059.     * config/tc-mips.c (md_show_usage): Break long string.
  5060.  
  5061. Mon Jun 27 09:47:16 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
  5062.  
  5063.     *  config/tc-i386.c (md_parse_option): Handle "-V" and "-Q" if
  5064.     OBJ_ELF is defined.
  5065.  
  5066. Sun Jun 26 16:30:48 1994  Stan Shebs  (shebs@andros.cygnus.com)
  5067.  
  5068.     * as.c (main) [HOST_SPECIAL_INIT]: New hook, for host-specific
  5069.     initialization.
  5070.  
  5071. Wed Jun 22 00:24:55 1994  Jeff Law  (law@snake.cs.utah.edu)
  5072.  
  5073.     * config/tc-hppa.h (obj_frob_symbol): Define for OBJ_ELF.
  5074.     More gas/bfd lossage exposed by the new linker code.
  5075.  
  5076. Tue Jun 21 11:32:18 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  5077.  
  5078.     * subsegs.c (subseg_change): Clear seginfo after allocating it.
  5079.     (subseg_get): Pass actual size of seginfo to memset.
  5080.  
  5081.     * subsegs.c (abs_seg_info, und_seg_info): Define if BFD_ASSEMBLER.
  5082.     (subseg_change): Store seg_info for bfd_abs_section_ptr in
  5083.     abs_seg_info, and store seg_info for bfd_und_section_ptr in
  5084.     und_seg_info.
  5085.     (subseg_get): Likewise.  Also, don't set output_section if it is
  5086.     already set.
  5087.     (seg_info): Define as function.
  5088.     * subsegs.h (seg_info): Declare as function rather than defining
  5089.     as macro.
  5090.     * write.c (relax_and_size_seg): Call seg_info rather than
  5091.     bfd_get_section_userdata.
  5092.  
  5093. Mon Jun 20 16:30:54 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5094.  
  5095.     * configure.in (ppc-*-elf*): New target, like -sysv4*.
  5096.  
  5097.     * expr.c (operand): If "0f" is followed by '\0', don't do eol
  5098.     checks.
  5099.  
  5100. Mon Jun 20 15:17:43 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
  5101.  
  5102.     * ecoff.c (ecoff_build_aux): Call swap_tir_out and swap_rndx_out
  5103.     via backend pointer, not directly.
  5104.  
  5105. Fri Jun 17 18:05:06 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5106.  
  5107.     * Makefile.in (config-stamp): Make sure there is at least one
  5108.     element in the for loop.
  5109.  
  5110. Fri Jun 17 11:01:04 1994  Jeff Law  (law@snake.cs.utah.edu)
  5111.  
  5112.     * config/tc-hppa.c: Misc trivial changes to make gcc -Wall happy.
  5113.  
  5114.     * config/tc-hppa.h (elf_hppa_final_processing): Declare.
  5115.  
  5116. Wed Jun 15 20:44:46 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5117.  
  5118.     * as.c (parse_args): Cast xmalloc return value.
  5119.  
  5120.     * Makefile.in (config-stamp): If $(defs) contains multiple words,
  5121.     emit a #define line for each.
  5122.     * configure.in: For sparc64 target, use sparc cpu files and add
  5123.     sparcv9 to extra_defs.  No longer treat sparc64-*-aout* specially.
  5124.  
  5125.     * config/tc-sparc.c (membar_masks): Now static and const.
  5126.     (md_show_usage) [!NO_V9]: Add -Av9 to usage message.
  5127.     (current_architecture) [sparcv9]: Initialize to v9.
  5128.     (md_begin) [sparcv9]: Don't bother changing it unconditionally
  5129.     here.
  5130.     (s_reserve): Don't pass unexpected argument to as_bad with
  5131.     bad-segment message.
  5132.  
  5133.     * as.h (bfd_alloc_by_size_t) [BFD_ASSEMBLER]: Declare.
  5134.  
  5135.     * config/atof-ieee.c (int_to_gen): Commented out unused routine.
  5136.  
  5137.     * config/tc-vax.c (md_assemble): Removed check of operand section.
  5138.  
  5139.     Fri Jun  3 17:25:08 1994  Pat Rankin  (rankin@eql.caltech.edu)
  5140.  
  5141.     * config/obj-vms.h (DBG_S_C_COMPLX4, DBG_S_C_COMPLX8): define
  5142.     these new VMS symbol-type macros for `complex float' and
  5143.     `complex double' support.  Their values come from the existing
  5144.     DSC$K_DTYPE_FC and DSC$K_DTYPE_DC macros in <descrip.h>.
  5145.     (DBG_S_C_REAL8_G, DBG_S_C_COMPLX8_G): G_float versions of
  5146.     REAL8 and COMPLX8; not used yet, because gcc outputs the same
  5147.     .stabs for `double' regardless of whether `-mg' is used.
  5148.     * config/obj-vms.c (VMS_typedef_parse) [case 'r']: add entries
  5149.     for gcc2's predefined types "complex float", "complex double",
  5150.     and "complex long double" (identical to complex double).
  5151.  
  5152. Wed Jun 15 12:32:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5153.  
  5154.     * config/obj-coff.c (coff_frob_symbol): Use C_STAT for the .text
  5155.     section symbol, not C_LABEL.
  5156.  
  5157.     * config/tc-mips.c (mips_ip): Permit a modifier in 'o' case, and
  5158.     permit non constant expressions in 'u' case.  Lets ``lui
  5159.     $8,%hi(foo); lw $8,%lo(foo)($8)'' work correctly.
  5160.  
  5161. Mon Jun 13 12:08:52 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5162.  
  5163.     * config/obj-aout.c (obj_aout_frob_symbol): Warn about an attempt
  5164.     to put a common symbol in a set.
  5165.  
  5166. Sat Jun 11 16:41:21 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5167.  
  5168.     Add weak symbols as an extension to a.out.
  5169.     * read.c (pseudo_set): Only preserve external bit for OBJ_AOUT and
  5170.     OBJ_BOUT if not BFD_ASSEMBLER.
  5171.     * config/aout_gnu.h (N_WEAKU, N_WEAKA, N_WEAKT, N_WEAKD, N_WEAKB):
  5172.     Define as in ../include/aout/aout64.h.
  5173.     * config/obj-aout.h (OBJ_SYMFIELD_TYPE): If not BFD_ASSEMBLER,
  5174.     define as char.
  5175.     (S_GET_WEAK, S_SET_WEAK): Define if not BFD_ASSEMBLER.
  5176.     * config/obj-aout.c (obj_pseudo_table): Add "weak".
  5177.     (obj_emit_symbols): Adjust type of weak symbols.
  5178.     (obj_aout_weak): New static function.
  5179.  
  5180. Fri Jun 10 13:48:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5181.  
  5182.     * config/obj-elf.c (obj_elf_section): Don't set any flags based on
  5183.     the type of a special section.
  5184.  
  5185.     * config/ho-sunos.h: Include <stdlib.h>.  Don't declare malloc,
  5186.     realloc, free, or atol.
  5187.  
  5188. Wed Jun  8 06:28:37 1994  Bill Cox  (bill@cygnus.com)
  5189.  
  5190.     * Makefile.in (check): Delete as.new dependency, so that
  5191.     regression test doesn't trigger an assembler build.
  5192.  
  5193. Tue Jun  7 13:33:18 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5194.  
  5195.     * Makefile.in (mostlyclean, realclean): New targets.
  5196.     * doc/Makefile.in, testsuite/Makefile.in: Likewise.
  5197.  
  5198. Mon Jun  6 13:10:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5199.  
  5200.     * config/tc-mips.c (RDATA_SECTION_NAME): Define.
  5201.     (macro): Correct M_LI_SS SVR4_PIC/EMBEDDED_PIC case.  After M_LI_D
  5202.     or M_L_DOB or label dob, force a new frag to avoid getting
  5203.     confused in tc_gen_reloc.
  5204.     (mips_ip): Use RDATA_SECTION_NAME, not .rdata.
  5205.     (s_change_sec): Likewise.
  5206.  
  5207. Fri Jun  3 23:35:36 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5208.  
  5209.     * read.c (emit_expr): Use memset to zero out memory, rather than
  5210.     going through md_number_to_chars.  This permits handling symbolic
  5211.     arguments when the size is larger than sizeof (valueT), if
  5212.     TC_CONS_FIX_NEW is prepared to handle the case (as it is on MIPS).
  5213.  
  5214. Fri Jun  3 12:50:13 1994  David J. MacKenzie  (djm@rtl.cygnus.com)
  5215.  
  5216.     * as.c (show_usage), config/tc-alpha.c (md_show_usage),
  5217.     config/tc-mips.c (md_show_usage): Fix up messages.
  5218.  
  5219.     * as.h: Replace flagseen with separate variables.
  5220.     * as.c (parse_args): Set them.  Don't accept -1 option, or -v
  5221.     explicitly (it's a synonym for --version).
  5222.     * as.c, input-scrub.c, messages.c, read.c, symbols.c, write.c,
  5223.     config/obj-aout.c, config/obj-aout.h, config/obj-bout.c,
  5224.     config/obj-bout.h, config/obj-coff.c, config/obj-coff.h,
  5225.     config/obj-vms.c, config/tc-hppa.c, config/tc-i386.c,
  5226.     config/tc-i960.c, config/tc-m68k.c, config/tc-mips.c,
  5227.     config/tc-vax.c: Use the new flag variables instead of flagseen.
  5228.     * config/tc-vax.c [OBJ_VMS]: Recognize -+, -1, -v, and document in
  5229.     usage.
  5230.  
  5231.     * as.c (show_usage): Remove target specific messages;
  5232.     instead, call md_show_usage.
  5233.     (parse_args): Use getopt_long_only.  Take pointers to argc and
  5234.     argv.
  5235.     (main): Pass parse_args pointers.
  5236.     * as.h: Remove 3 variables that are redundant with flagseen.
  5237.     * as.c, messages.c: Change their users to use flagseen.
  5238.     Define getopt stuff.
  5239.     * tc.h: Update md_parse_option decl.  Add md_show_usage decl.
  5240.     * config/tc-*.c: Add md_shortopts, md_longopts,
  5241.     md_longopts_size, md_show_usage.  Change calling convention for
  5242.     md_parse_option.  Remove md_parse_long_option.
  5243.     * config/tc-ns32k.c: Rename `struct option' to `struct ns32k_option'.
  5244.     * config/tc-i386.h: Don't define md_parse_option.
  5245.  
  5246. Thu Jun  2 13:54:46 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
  5247.  
  5248.     * as.c (show_usage): New function.
  5249.     (parse_args): Code moved from main.
  5250.     Recognize --help and --version.
  5251.     * config/tc-ns32k.h: Define TC_NS32K.
  5252.     * doc/as.texinfo: Document all of the target-independent command
  5253.     line options.
  5254.  
  5255. Thu Jun  2 12:07:25 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5256.  
  5257.     * gasp.c (hash_new_table): Clear newly allocated table.
  5258.  
  5259.     * config/tc-m68k.c (enum _register): Add 68060 control registers
  5260.     BUSCR and PCR.
  5261.     (last_movec_reg): New macro.
  5262.     (m68000_control_regs, m68010_control_regs, m68020_control_regs,
  5263.     m68040_control_regs, m68060_control_regs): New arrays.
  5264.     (control_regs): New pointer.
  5265.     (m68k_ip): Use control_regs instead of testing CPU every time.
  5266.     Use last_movec_reg too.  In error messages, handle 68060, and
  5267.     print 68060 for mfloat, too.
  5268.     (m68k_init_after_args): Handle "68060".  Use m68040up for making
  5269.     m68851 choice.  Set control_regs.
  5270.     (md_parse_option): Handle "68060".
  5271.     * configure.in: Setting cpu_type, recognize m68060 too.
  5272.  
  5273.     * config/obj-coff.c (fixup_segment) [!BFD_ASSEMBLER]
  5274.     [DIFF_EXPR_OK]: Do conversion to pc-relative for difference, even
  5275.     if pcrel is already set.
  5276.  
  5277.     * read.c (potable): Add this_gcc_requires_the_gnu_assembler in all
  5278.     lower-case, in case we're ignoring case of opcodes in the input
  5279.     file.
  5280.  
  5281.     * doc/as.texinfo (.section): Document as unavailable for a.out
  5282.     type formats.
  5283.  
  5284.     * config/tc-alpha.c (machine): New variable.
  5285.     (load_insn): New macro.
  5286.     (load_insn_table): New function.
  5287.     (md_begin): Call load_insn_table, once for basic instructions and
  5288.     once for appropriate PAL instruction table.
  5289.     (md_parse_option): Set `machine' based on -m##### arguments.
  5290.     * config/alpha-opcode.h (alpha_pal21064_opcodes): Split out from
  5291.     alpha_opcodes.
  5292.     (alpha_pal21164_opcodes): New table.
  5293.     (NUM21064OPCODES, NUM21164OPCODES): New macros.
  5294.  
  5295.     * configure.in (target i386-*-netbsd0.8): Use 386bsd emulation.
  5296.  
  5297.     * doc/Makefile.in (install-info-gasp): Use $$dir when installing
  5298.     file.
  5299.  
  5300. Wed Jun  1 10:48:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5301.  
  5302.     * config/tc-mips.c (mips_ip): Force floating point values to be
  5303.     aligned correctly.
  5304.  
  5305. Fri May 27 10:05:53 1994  Ken Raeburn  (raeburn@cygnus.com)
  5306.  
  5307.     Merged in changes from gas-2.3 net release:
  5308.  
  5309.     * Makefile.in (VERSION): Updated to cygnus-2.3.1.
  5310.  
  5311.     * config/obj-vms.c: Replaced unchecked uses of malloc with
  5312.     xmalloc.
  5313.  
  5314.     * listing.c (list_symbol_table): Only test BFD64, not
  5315.     BFD_ASSEMBLER too.
  5316.  
  5317.     * config/obj-coff.c (fixup_segment) [BFD_ASSEMBLER]
  5318.     [DIFF_EXPR_OK]: Don't check pcrel, just convert it.
  5319.  
  5320.     * config/obj-vms.c: Removed lots of extra semicolons after
  5321.     compound statements.
  5322.     (strchr): Don't declare here.
  5323.  
  5324.     * config/ho-vax.h (realloc): Declare.
  5325.  
  5326.     * config/ho-vms.h (strchr, strdup): Declare.
  5327.  
  5328.     * config/tc-sparc.c (md_parse_option) [OBJ_ELF]: Accept and ignore
  5329.     option `-q'.
  5330.  
  5331.     Wed May 18 20:50:35 1994  Pat Rankin  (rankin@eql.caltech.edu)
  5332.  
  5333.     * config/obj-vms.h (DBG_S_C_SQUAD, DBG_S_C_UQUAD): define these
  5334.     new VMS symbol-type macros; signed and unsigned quadword integers,
  5335.     for `long long' support.  Their values come from the existing
  5336.     DSC$K_DTYPE_QU and DSC$K_DTYPE_Q macros in <descrip.h>.  The
  5337.     VMS debugger now recognizes `long long' variables correctly.
  5338.     * config/obj-vms.c (VMS_typedef_parse) [case 'r']: add entries
  5339.     for gcc2's predefined types "long double" (same as double, as
  5340.     per gcc's current state), "long long int", "long long unsigned
  5341.     int", and final `otherwise' case (to avoid uninitialized type
  5342.     and size fields).  [caveat:  predefined types "complex int",
  5343.     "complex float", "complex double", and "complex long double" are
  5344.     still missing.]
  5345.  
  5346.     * config/ho-vms.h (EXIT_FAILURE): define as 0x10000002 instead
  5347.     of 0, because the latter indicates success rather than failure
  5348.     when passed to `exit' or return from `main' compiled by gcc2.
  5349.  
  5350.     * config/obj-vms.c (array_suffix, generate_suffix): replace two
  5351.     hardcoded `0xa3's with macro DBG_S_C_ADVANCED_TYPE from obj-vms.h.
  5352.     (VMS_typedef_parse): eliminate redundant if-then-else when
  5353.     allocating new symbol entry and linking it to VMS_Symbol_type_list.
  5354.  
  5355.     Tue May 17 20:47:31 1994  Pat Rankin  (rankin@eql.caltech.edu)
  5356.  
  5357.     * config/obj-vms.c (Write_VMS_MHD_Records): don't try to interpret
  5358.     the contents of the GAS_VERSION string when falling back to it for
  5359.     language processor identification.
  5360.  
  5361.     * make-gas.com, vmsconf.sh (ENVIRON): fix misspelling of
  5362.     `psect_attr' in linker options.
  5363.  
  5364.     Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
  5365.  
  5366.     * configure.bat: update to latest makefile.in
  5367.     * config/te-go32.h: [new] go32's environment
  5368.  
  5369. Fri May 20 17:59:34 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5370.  
  5371.     * as.h: Don't declare parameters for strstr.
  5372.  
  5373. Thu May 19 15:40:13 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5374.  
  5375.     * config/tc-sparc.c (md_section_align): Don't change the size if
  5376.     OBJ_ELF.
  5377.  
  5378. Wed May 18 13:08:07 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5379.  
  5380.     * Makefile.in (install): Redirect ln output to /dev/null.  If ln
  5381.     fails on gasp, install gasp.new, not gasp.
  5382.  
  5383. Wed May 18 09:16:36 1994  Jeff Law  (law@snake.cs.utah.edu)
  5384.  
  5385.     * config/tc-hppa.c (pa_ip): Use R_HPPA_ABS_CALL, not R_HPPA for
  5386.     absolute calls.
  5387.  
  5388. Tue May 17 12:50:46 1994  Jeff Law  (law@snake.cs.utah.edu)
  5389.  
  5390.     * config/tc-hppa.c (pa_parse_fp_cmp_cond): Report an error
  5391.     on a partial completer match.
  5392.  
  5393. Mon May 16 12:03:49 1994  Jeff Law  (law@snake.cs.utah.edu)
  5394.  
  5395.     * config/tc-hppa.c: Change .hppa_unwind to .PARISC.unwind
  5396.     throughout code.
  5397.     (is_complex): Delete definition and support for complex relocation
  5398.     types.
  5399.     (tc_gen_reloc): Delete special unwind crud for ELF.  Simplify and
  5400.     rewrite ELF code based on 94-02-02 PA ELF draft spec.
  5401.     (pa_build_unwind_subspace): Use standard PARISC_DIR32 relocs for
  5402.     the unwind descriptors.
  5403.  
  5404. Fri May  6 14:13:15 1994  Steve Chamberlain  (sac@cygnus.com)
  5405.  
  5406.     * config/go32.mh: New makefile fragment for go32 crossing.
  5407.     * configure.in (host==go32): Use new fragment.
  5408.  
  5409. Fri May  6 14:35:58 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5410.  
  5411.     * gasp.c: Include libiberty.h.
  5412.     (main): Remove unused variable i.
  5413.  
  5414.     * config/tc-ppc.c (md_begin): When using -many, permit comparison
  5415.     instructions to appear multiple times in the opcode table.
  5416.  
  5417. Thu May  5 19:14:43 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5418.  
  5419.     * Makefile.in (VERSION): Update to 2.2.90.
  5420.  
  5421.     * symbols.c (symbol_new) [BFD_ASSEMBLER]: Don't permit additions
  5422.     to the symbol table if it's already been set in the output bfd.
  5423.     (symbol_begin) [! EMIT_SECTION_SYMBOLS] [RELOC_REQUIRES_SYMBOL]:
  5424.     Don't use bfd_abs_section.symbol for gas absolute symbol.
  5425.  
  5426.     * doc/Makefile.in (distclean, clean-dvi, clean-info): Delete gasp
  5427.     files too.
  5428.  
  5429. Thu May  5 18:12:51 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5430.  
  5431.     * config/tc-mips.c (mips_emit_delays): Make call to
  5432.     mips_no_prev_insn unconditional.
  5433.  
  5434. Thu May  5 17:25:38 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5435.  
  5436.     * config/obj-coff*.*: Merged coffbfd versions into coff versions,
  5437.     with a single "#ifdef BFD_ASSEMBLER" controlling most of it for
  5438.     now.  Deleted obj-coffbfd.* files.
  5439.     * configure.in: Always use obj-coff.* for COFF targets.
  5440.  
  5441. Wed May  4 13:34:11 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5442.  
  5443.     * config/te-dpx2.h (TARGET_FORMAT, REGISTER_PREFIX_OPTIONAL):
  5444.     Define.
  5445.     * configure.in (m68k-bull-sysv3*): Enable.
  5446.  
  5447.     * config/coff_gnu.h: Deleted.
  5448.  
  5449. Wed May  4 11:29:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5450.  
  5451.     * config/tc-m68k.h (TARGET_FORMAT): If not TE_SUN3, define as
  5452.     "a.out-zero.big".
  5453.  
  5454.     * config/obj-coffbfd.c (fixup_segment): Make common symbol and PC
  5455.     relative adjustments when TE_LYNX is defined as well as when
  5456.     TC_I386 is defined.
  5457.  
  5458. Wed May  4 02:29:21 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  5459.  
  5460.     * as.h (strstr): Restore declaration.
  5461.     (subseg_get) [BFD_ASSEMBLER]: Declare.
  5462.  
  5463.     * write.c (write_object_file): If obj_adjust_symtab is defined,
  5464.     invoke it.  Then call set_symtab, and finally invoke *_frob_file
  5465.     hooks.
  5466.     * config/obj-coff.c (coff_adjust_symtab): Renamed from
  5467.     coff_frob_file.
  5468.     * config/obj-coff.h (coff_adjust_symtab): Changed declaration
  5469.     accordingly.
  5470.     (obj_adjust_symtab): Macro also changed.
  5471.  
  5472.     * configure.in (i386-*-gnu*): New target, handled like i386-mach.
  5473.  
  5474. Tue May  3 21:04:16 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5475.  
  5476.     * config/obj-coff.h (TARGET_FORMAT) [TC_I960]: Select little
  5477.     endian version.
  5478.  
  5479.     * config/obj-coffbfd.h (TARGET_FORMAT) [TC_I960]: Ditto.
  5480.  
  5481.     * config/obj-coff.c (coff_frob_section): Round up the size of
  5482.     every section to a multiple of the alignment, so that BFD doesn't
  5483.     surprise us.
  5484.  
  5485.     Eliminate many simple differences between the two COFF back ends:
  5486.  
  5487.     * config/obj-coffbfd.c: Removed all uses of DEFUN and DEFUN_VOID.
  5488.     Made minor stylistic changes, deleted some register declarations.
  5489.     (stack_top): Deleted.
  5490.     (symbol_to_chars): Use absolute_section and reg_section instead of
  5491.     the corresponding SEG_* symbols.
  5492.     (obj_coff_endef, tag_find_or_make, fixup_segment): Likewise.
  5493.     (stack typedef, stack_init, stack_delete, stack_push, stack_pop):
  5494.     Moved to just after pseudo-op table.  All functions now static.
  5495.     (stack_delete): Removed declaration.
  5496.     (tag_init, tag_insert, tag_find_or_make, tag_find): Moved to just
  5497.     after stack functions.
  5498.     * config/obj-coffbfd.h: Reordered some declarations and macros.
  5499.     (stack_init, stack_delete, stack_push, stack_pop): Don't declare.
  5500.     (stack typedef): Deleted.
  5501.     (SYMBOLS_NEED_BACKPOINTERS): Always undef then define; don't test.
  5502.     (SYM_AUXENT): New macro.
  5503.     (SA_GET_*, SA_SET_*): Define in terms of SYM_AUXENT when feasible.
  5504.     (SF_GET_*, SF_SET_*): Define in terms of SF_GET when feasible.
  5505.     (SA_GET_SYM_TAGNDX, SA_GET_SYM_ENDNDX, SA_SET_SYM_TAGNDX,
  5506.     SA_SET_SYM_ENDNDX, object_headers typedef, data_section_header,
  5507.     text_section_header): Delete non-BFD_HEADERS versions, since we
  5508.     always define that symbol now.
  5509.  
  5510.     * config/obj-coff.c (stack_top): Deleted.
  5511.     (obj_coff_endef, obj_coff_dim, obj_coff_line, obj_coff_size,
  5512.     obj_coff_scl, obj_coff_tag, obj_coff_type, obj_coff_val): Change
  5513.     argument name from "ignored" to "ignore".
  5514.     (obj_coff_val): Use frag_now_fix.
  5515.     (obj_pseudo_table): Removed IGNORE_DEBUG version, since it doesn't
  5516.     get used.
  5517.     (stack typedef, stack_init, stack_delete, stack_push, stack_pop):
  5518.     Moved to just after pseudo-op table.  All functions now static.
  5519.     (tag_init, tag_insert, tag_find_or_make, tag_find): Moved to just
  5520.     after stack functions.
  5521.     * config/obj-coff.h: Reordered some declarations and macros.
  5522.     Protected against multiple inclusions.
  5523.     (stack_init, stack_delete, stack_push, stack_pop): Don't declare.
  5524.     (stack typedef): Deleted.
  5525.     (SYMBOLS_NEED_BACKPOINTERS): Always undef then define; don't test.
  5526.     (stdoutput): Deleted declaration.
  5527.     (TARGET_FORMAT) [TC_I386]: Don't define if already defined.
  5528.  
  5529. Mon May  2 17:09:24 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5530.  
  5531.     * subsegs.h (segment_info_type): Use fix_tail field even if
  5532.     BFD_ASSEMBLER.
  5533.     * subsegs.c (subseg_change): Initialize fix_tail field.
  5534.     (subseg_get): Likewise.
  5535.     * write.c (frags_chained): New static variable.
  5536.     (fix_new_internal): If frags_chained is set, use fix_root and
  5537.     fix_tail from seg_info (now_seg), rather than frchain_now.
  5538.     (chain_frchains_together_1): Set fix_tail field.
  5539.     (chain_frchains_together): Set frags_chained.
  5540.  
  5541. Thu Apr 28 01:39:15 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  5542.  
  5543.     * config/tc-mips.c (s_option): Only refer to g_switch_* variables
  5544.     if GPOPT is defined.
  5545.     (s_abicalls): Ditto.
  5546.     (md_apply_fix): Cast char* to unsigned char* to avoid pointer
  5547.     mismatch.
  5548.  
  5549. Wed Apr 27 11:06:32 1994  Steve Chamberlain  (sac@cygnus.com)
  5550.  
  5551.     * configure.in (i386-*-go32): Uses coff now.
  5552.     * gasp.c (main): Now takes -D on command line.
  5553.     (show_usage): Describe new options.
  5554.  
  5555. Tue Apr 26 17:10:30 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5556.  
  5557.     * listing.c (list_symbol_table): Print "NO DEFINED SYMBOLS" and
  5558.     "NO UNDEFINED SYMBOLS" if there aren't any, instead of displaying
  5559.     the header with an empty list.
  5560.  
  5561.     * config/obj-coffbfd.c (fill_section): Check COFF_NOLOAD_PROBLEM
  5562.     also before setting STYP_NOLOAD for .bss section.
  5563.  
  5564.     * config/tc-m68k.c (flag_reg_prefix_optional): New variable.
  5565.     Initialized to value of REGISTER_PREFIX_OPTIONAL, if defined, or
  5566.     zero.
  5567.     (m68k_reg_parse): If flag_reg_prefix_optional is set, permit
  5568.     register prefix to be absent.
  5569.     (m68k_ip_op): Accept `&' also for immediate constants.
  5570.     (insert_reg): Don't bother with (two!?) sanity checks of the
  5571.     symbol table when inserting each register.
  5572.     (m68k_parse_long_option): New function.  Set
  5573.     flag_reg_prefix_optional if "register-prefix-optional" is passed.
  5574.     * config/tc-m68k.h (REGISTER_PREFIX): Always define if not already
  5575.     defined.
  5576.     (OPTIONAL_REGISTER_PREFIX): Don't define.
  5577.     (REGISTER_PREFIX_OPTIONAL): If not already defined, define as zero
  5578.     or one depending on M68KCOFF.
  5579.  
  5580.     Some changes to help Apollo support, from troy@cbme.unsw.edu.au:
  5581.     * config/tc-m68k.c (DATA, ADDR, SP, FPREG, COPNUM, BAD, BAC):
  5582.     Define as macros instead of enumerators, since the Apollo compiler
  5583.     can't handle "enumVal1, enumVal2 = enumVal1" when defining an enum
  5584.     type.
  5585.     (make_pcrel_absolute) [NO_PCREL_RELOCS]: New function.
  5586.     (tc_coff_fix2rtype) [NO_PCREL_RELOCS]: Generate only R_RELBYTE,
  5587.     R_DIR16, and R_DIR32 relocs.
  5588.     * config/tc-m68k.h [TE_APOLLO] (COFF_MAGIC, COFF_AOUTHDR_MAGIC):
  5589.     Use Apollo versions.
  5590.     [TE_APOLLO] (OBJ_COFF_OMIT_OPTIONAL_HEADER): Undefine.  That is,
  5591.     do include the optional header for Apollo target.
  5592.     (COFF_MAGIC): Don't define as MC68MAGIC if it's already defined.
  5593.  
  5594.     * config/tc-m68k.h [TE_DELTA] (LEX_PCT): Define as 1, so that `%'
  5595.     can be used within a label name.
  5596.  
  5597.     * config/tc-m68k.h (m68k_init_after_args): Declare.
  5598.     (tc_init_after_args): Define as m68k_init_after_args.
  5599.     * config/tc-m68k.c (m68k_init_after_args): New function,
  5600.     containing one-shot code from md_assemble.  Added warning for
  5601.     combination of 68040 and 68851.
  5602.     (md_assemble): Startup-time code deleted.
  5603.  
  5604. Mon Apr 25 16:19:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5605.  
  5606.     * doc/Makefile.in (clean, distclean): Remove asconfig.texi.
  5607.  
  5608. Sun Apr 24 00:13:08 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  5609.  
  5610.     * config/tc-hppa.c (pa_ip): 13 bit immediate constant (for break
  5611.     instruction) is unsigned.
  5612.  
  5613. Fri Apr 22 17:58:22 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5614.  
  5615.     * config/obj-ecoff.c (ecoff_frob_file): Use bfd_ecoff_set_gp_value
  5616.     and bfd_ecoff_set_regmasks to set the GP value and the register
  5617.     masks, rather than using the now obsolete fake .reginfo section.
  5618.  
  5619. Fri Apr 22 15:17:06 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5620.  
  5621.     * listing.c (list_symbol_table): Don't print register symbols as
  5622.     undefined.
  5623.  
  5624.     * config/obj-coff.c (obj_symbol_new_hook): Don't need to strip
  5625.     underscores, since symbol_new will already have done it.
  5626.     * config/obj-coffbfd.c (obj_symbol_new_hook): Ditto.
  5627.  
  5628.     * as.c (main): If tc_init_after_args is defined, invoke it after
  5629.     all arguments have been processed.
  5630.  
  5631.     Some changes to help Apollo support, from troy@cbme.unsw.edu.au:
  5632.     * as.c (perform_an_assembly_pass) [TE_APOLLO]: Create .wtext
  5633.     section instead of .text.  Call create_target_segments.
  5634.     * read.c (demand_copy_string): No longer static.
  5635.  
  5636. Thu Apr 21 15:50:04 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5637.  
  5638.     * config/tc-mips.c (append_insn): Permit branches to be switched
  5639.     with the preceding instruction even if .set nobopt has been seen.
  5640.     .set nobopt actually controls whether to bring up an instruction
  5641.     from the branch target, which gas does not currently support.
  5642.  
  5643. Wed Apr 20 18:46:14 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5644.  
  5645.     * config/obj-coff.h, config/obj-coff.c: Deleted all code used only
  5646.     when BFD_ASSEMBLER is not defined, and all conditionals relating
  5647.     to such code.  No such targets remain.
  5648.  
  5649.     Fixes for stabs-in-coff:
  5650.     * config/obj-coff.c: Include subsegs.h.
  5651.     (coff_frob_section): New function.
  5652.     (obj_coff_init_stab_section): New function.
  5653.     * config/obj-coff.h (obj_coff_init_stab_section,
  5654.     coff_frob_section): Declare.
  5655.     (obj_frob_section): New macro; uses coff_frob_section.
  5656.     (INIT_STAB_SECTION): New macro; uses obj_coff_init_stab_section.
  5657.  
  5658.     * config/tc-sparc.c (md_section_align): Always round up to
  5659.     multiple of alignment power specified in bfd target vector.
  5660.  
  5661.     * gasp.c: Include ctype.h.
  5662.  
  5663. Mon Apr 18 21:08:01 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5664.  
  5665.     * doc/Makefile.in, doc/as.texinfo: Renamed asdoc-config.texi to
  5666.     asconfig.texi.
  5667.  
  5668.     * doc/Makefile.in (install-info-as, install-info-gasp): Get file
  5669.     names from source directory without pathname.
  5670.  
  5671.     * config/obj-vms.c (VMS_write_object_file): While looking for
  5672.     register mask, skip empty fill frags caused by enabling listing
  5673.     output.
  5674.  
  5675.     * config/ho-sysv.h: Include string.h.
  5676.  
  5677.     * doc/internals.texi: New (well, recently added) file.  Just added
  5678.     info on as_warn and friends.
  5679.  
  5680. Mon Apr 18 14:28:22 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  5681.  
  5682.     * config/tc-hppa.c (pa_parse_space_stmt): Use the built-in
  5683.     defaults for defined, private, and spnum fields for the
  5684.     $TEXT$ and $PRIVATE$ spaces.  Do not clobber spnum.  Do
  5685.     not reset the segment if just updating a space.
  5686.     (pa_spaces_begin): Set BFD section flags for all built-in
  5687.     subspaces.
  5688.  
  5689. Fri Apr 15 10:51:51 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5690.  
  5691.     * ecoff.c (first_proc_ptr): New static variable.
  5692.     (add_procedure): Set first_proc_ptr if it hasn't been set.
  5693.     (ecoff_build_lineno): If the first procedure does not start at
  5694.     address zero, insert a dummy line to compensate.
  5695.  
  5696.     * Makefile.in (bootstrap, bootstrap2, bootstrap3): Make gasp.new
  5697.     as well as as.new.
  5698.  
  5699. Thu Apr 14 15:12:36 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5700.  
  5701.     * expr.c (operand): Try to parse "0f" and "0b" sequences as
  5702.     floating point and binary numbers respectively; if it doesn't
  5703.     work, treat them as local labels.
  5704.  
  5705.     * Makefile.in: Make $(OBJS) depend on $(ALL_OBJ_DEPS).
  5706.     * configure.in: Set ALL_OBJ_DEPS in output Makefile.
  5707.  
  5708.     Based on suggestions from <BAILEY@hmivax.humgen.upenn.edu>
  5709.     (Charles Bailey):
  5710.     * vmsconf.sh: In generated file, get ".obj" suffix right, build
  5711.     source files from other directories into objects in the current
  5712.     directory, and specify PSECT attributes explicitly to linker.
  5713.     Also added missing label.
  5714.     * Makefile.in (stamp-mk.com): Reference new variable
  5715.     VMS_OTHER_OBJS for list of non-local object files, instead of
  5716.     listing them here.
  5717.     (VMS_OTHER_OBJS): New variable, added more libiberty files.
  5718.     * make-gas.com: Regenerated.
  5719.  
  5720.     * config/ho-vms.h (unlink): Define as delete.
  5721.  
  5722.     * config-gas.com: Fix quoting on TARGET_CANONICAL definition.
  5723.     Delete files before creating them.
  5724.  
  5725. Thu Apr 14 13:34:24 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5726.  
  5727.     * Makefile.in (de-stage1, de-stage2, de-stage3): Use rm -f.
  5728.  
  5729.     * config/tc-mips.h (DIFF_EXPR_OK): Define.
  5730.     * config/tc-mips.c (macro_build): Permit BFD_RELOC_PCREL_LO16 for
  5731.     certain cases of 'i', 'j' and 'o'.  Change 'u' to take an
  5732.     argument, the reloc type.
  5733.     (load_register): Pass reloc type to macro_build for 'u'.
  5734.     (macro): Likewise.  For M_LA_AB permit a difference expression
  5735.     when generating embedded PIC code between an arbitrary symbol and
  5736.     a symbol in the .text section.
  5737.     (mips_force_relocation): Force BFD_RELOC_PCREL_HI16_S and
  5738.     BFD_RELOC_PCREL_LO16 to be emitted.
  5739.     (md_apply_fix): Check that most relocs are not PC relative.
  5740.     Handle BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16.
  5741.     (tc_gen_reloc): Change #error to as_fatal.  Handle
  5742.     BFD_RELOC_PCREL_LO16 and BFD_RELOC_PCREL_HI16_S.
  5743.  
  5744. Tue Apr 12 18:25:13 1994  Stan Shebs  (shebs@andros.cygnus.com)
  5745.  
  5746.     * subsegs.c (subsegs_begin): Call memset with args in the correct
  5747.     order.
  5748.     (subseg_get): Clear newly allocated seginfo, set its pointer slots
  5749.     to NULL instead of 0.
  5750.  
  5751. Mon Apr 11 09:00:57 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  5752.  
  5753.     * config/tc-hppa.c (pa_procend): Handle case where label was
  5754.     defined after the .proc directive.
  5755.  
  5756.     * config/tc-hppa.c (pa_procend): Give an error if we encounter a
  5757.     procend for a procedure without a name.
  5758.  
  5759. Thu Apr  7 14:28:30 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5760.  
  5761.     * config/tc-mips.c (macro): Pass NULL for expression argument to
  5762.     macro_build for nori case.
  5763.     (SWITCH_TABLE): Define.
  5764.     (mips_force_relocation): Force a relocation for a switch table
  5765.     entry.
  5766.     (md_apply_fix): Write switch table entry value into file.
  5767.     (tc_gen_reloc): Use BFD_RELOC_GPREL32 for a switch table entry,
  5768.     and set the addend to the difference between the reloc address and
  5769.     the subtrahend.
  5770.  
  5771. Thu Apr  7 10:38:18 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  5772.  
  5773.     * config/tc-hppa.h (elf_tc_symbol): Delete.  No longer used.
  5774.     (elf_tc_make_sections): Likewise.
  5775.     (hppa_tc_make_sections, hppa_tc_symbol): Delete extern decls.
  5776.  
  5777.     * config/tc-hppa.c (hppa_tc_make_sections): Delete function.
  5778.     (hppa_tc_symbol): Likewise.
  5779.  
  5780.     * config/obj-elf.c (elf_frob_file): Delete elf_tc_symbol and
  5781.     elf_tc_make_sections stuff.  It was there to support PA braindamage
  5782.     which has been fixed, and in the case of elf_tc_make_sections is
  5783.     redundant with elf_tc_final_processing.
  5784.  
  5785. Wed Apr  6 20:48:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  5786.  
  5787.     * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the
  5788.     manufacturer.
  5789.  
  5790. Tue Apr  5 15:48:03 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5791.  
  5792.     * config/tc-mips.c (mips_ip): For case 'o', when generating
  5793.     embedded PIC code, accept the difference between two local symbols
  5794.     as being constant.
  5795.     (mips_force_relocation): Only force a reloc to be generated for a
  5796.     PC relative fixup.
  5797.     (md_apply_fix): For BFD_RELOC_32 and BFD_RELOC_LO16, put the fixup
  5798.     value into the file if the fixup will not generate a reloc.
  5799.  
  5800. Tue Apr  5 11:14:14 1994  Ken Raeburn  (raeburn@rtl.cygnus.com)
  5801.  
  5802.     * config/tc-sparc.c (s_reserve): If section passed isn't bss,
  5803.     don't spew remainder of input file in error message.
  5804.     (tc_gen_reloc): If bfd_reloc_type_lookup returns null, print error
  5805.     message with reloc type and try to process remainder of file.
  5806.  
  5807.     * doc/Makefile.in (install-info-as, install-info-gasp): New
  5808.     targets, now explicitly checking $(srcdir) for info files.
  5809.     (install-info): Depend on both of them; do nothing more.
  5810.  
  5811. Mon Apr  4 17:06:04 1994  Jeffrey A. Law  (law@cygnus.com)
  5812.  
  5813.     * config/tc-hppa.c (tc_gen_reloc): Fix thinko in ELF version.
  5814.  
  5815. Mon Apr  4 12:39:23 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5816.  
  5817.     * config/tc-ppc.c (ppc_insert_operand): Check PPC_OPERAND_SIGNED
  5818.     flag rather than signedp field.  Only permit extended range if
  5819.     PPC_OPERAND_SIGNOPT flag is set and assembling in 32 bit mode.
  5820.     Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
  5821.  
  5822.     * config/tc-ppc.c (ppc_size): New static variable.
  5823.     (ppc_arch): Check for PPC_OPCODE_PPC before PPC_OPCODE_POWER.
  5824.     (md_begin): If an instruction has a size specific flag set, only
  5825.     add it if we are assembling that size.
  5826.  
  5827. Thu Mar 31 16:51:16 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5828.  
  5829.     * config/tc-sparc.c (tc_gen_reloc): Add a gruesome hack to get
  5830.     cross section PC relative relocs right for COFF and ELF.
  5831.  
  5832. Mon Mar 28 14:38:23 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5833.  
  5834.     * config/obj-coff.h (SEPARATE_STAB_SECTIONS): Always define.
  5835.     (OBJ_PROCESS_STAB): Don't define.
  5836.  
  5837. Mon Mar 28 12:40:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5838.  
  5839.     * config/obj-aout.c (obj_aout_frob_symbols): Don't let BFD clobber
  5840.     the type of symbol set symbols which happen to be in the absolute
  5841.     or undefined section.
  5842.  
  5843. Mon Mar 28 12:35:00 1994  David Edelsohn  (edelsohn@npac.syr.edu)
  5844.  
  5845.     * config/tc-ppc.c (md_parse_option): Add -mpwrx (POWER/2 aka
  5846.     RIOS2), -mpwr (POWER aka RIOS1), -mppc (PowerPC aka MPC603/604),
  5847.     and -many (all architectures).
  5848.  
  5849. Sun Mar 27 14:04:19 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  5850.  
  5851.     * config/tc-hppa.c (tc_gen_reloc): Set addend for relocation
  5852.     involving a function symbol which is not a plabel to zero.
  5853.     (md_apply_fix): Never pass a function symbol to field_adjust.
  5854.  
  5855. Fri Mar 25 17:35:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5856.  
  5857.     * config/obj-aout.c (obj_aout_frob_symbol): If N_EXT is set for an
  5858.     N_INDR symbol, set BSF_EXPORT and clear BSF_LOCAL.
  5859.  
  5860.     * config/tc-mips.c (append_insn): If EMBEDDED_PIC, don't swap a
  5861.     branch with an instruction that uses $at, in case the branch is
  5862.     later expanded.
  5863.     (macro): If EMBEDDED_PIC, case M_JAL_A may use $at.
  5864.     (md_pcrel_from): If not OBJ_AOUT, return 4 for an undefined symbol
  5865.     to make it pcrel_offset.
  5866.     (tc_gen_reloc): If not OBJ_AOUT, set the reloc addend to
  5867.     reloc->address; another gruesome hack to get gas reloc handling to
  5868.     do the right thing.
  5869.  
  5870. Thu Mar 24 21:29:29 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5871.  
  5872.     * config/tc-alpha.c (alpha_ip): Only set GP prolog size if using
  5873.     PV register.
  5874.     (T12): New macro.
  5875.     (emit_insn): New function.
  5876.     (md_assemble): Call it.
  5877.     (alpha_force_relocation): Handle BFD_RELOC_26, for call_pal
  5878.     instructions.
  5879.     (lituse_pending): New variable.  Set by anything that generates a
  5880.     LITERAL reloc, cleared by anything that generates a LITUSE reloc,
  5881.     tested by code that might want to emit a LITUSE reloc.
  5882.     (emit_unaligned_io): New function.  Currently calls md_assemble,
  5883.     but it should eventually be converted to generate the insn itself
  5884.     and call emit_insn directly.
  5885.     (emit_load_unal, emit_store_unal, emit_byte_manip_r,
  5886.     emit_extract_r, emit_insert_r, emit_mask_r, emit_sign_extend,
  5887.     emit_bis_r): Likewise.
  5888.     (alpha_ip, case 'I'): Handle with BFD_RELOC_23.
  5889.     (alpha_ip, label get_macro): Don't emit the final instruction if
  5890.     the opcode is zero.
  5891.     (alpha_ip, case 'B', subcase 'd'): New case, for subword and
  5892.     unaligned memory access macros.
  5893.     (md_apply_fix): Handle BFD_RELOC_26.  Generate an error message if
  5894.     the value can't be resolved.
  5895.  
  5896. Wed Mar 23 16:06:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5897.  
  5898.     * config/tc-mips.c (md_parse_option): For -membedded-pic, force
  5899.     the -G value to 0x7fffffff.  For SVR4 PIC options, don't call
  5900.     bfd_set_gp_size here, it's done in md_begin.  Don't permit -G with
  5901.     -membedded-pic.
  5902.     (mips_force_relocation): New function.
  5903.     (md_apply_fix): Set fixP->fx_done appropriately.
  5904.     (s_change_sec): For EMBEDDED_PIC, change .data and .rdata to
  5905.     .sdata.
  5906.     * config/tc-mips.h (TC_FORCE_RELOCATION): Define.
  5907.     (mips_force_relocation): Declare.
  5908.     (TC_HANDLE_FX_DONE): Define.
  5909.  
  5910. Tue Mar 22 13:58:37 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  5911.  
  5912.     * config/tc-mips.c (enum mips_pic_level): New enum.
  5913.     (mips_pic): Change from int to enum mips_pic_level.  Change all
  5914.     uses (0 becomes NO_PIC, 2 becomes SVR4_PIC).
  5915.     (load_address): Handle EMBEDDED_PIC.
  5916.     (macro): Handle EMBEDDED_PIC in all PIC cases.
  5917.     (md_parse_option): Accept -membedded-pic to use EMBEDDED_PIC.  If
  5918.     OBJ_ELF, accept -KPIC and -call_shared to use SVR4_PIC and accept
  5919.     -non_shared to use NO_PIC (this is how the Irix 5 assembler
  5920.     works).  Do not permit -G with SVR4_PIC.
  5921.     (s_abicalls): Warn if -G was used, and force -G 0.
  5922.     (tc_gen_reloc): Set reloc->addend to 0 for a PC relative reloc for
  5923.     anything but a.out, not just for ELF.  For ECOFF, don't generate a
  5924.     BFD_RELOC_16_PCREL_S2 reloc unless using EMBEDDED_PIC.
  5925.  
  5926.     * config/obj-ecoff.h (obj_sec_sym_ok_for_reloc): Define to be 1.
  5927.  
  5928. Sun Mar 20 16:31:55 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  5929.  
  5930.     * config/tc-hppa.c (create_new_space): Use ints, not chars as
  5931.     parameters to avoid losing when compiling with HP CC.
  5932.     (create_new_subspace, update_subspace, fix_new_hppa): Likewise.
  5933.  
  5934. Sun Mar 20 14:43:14 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5935.  
  5936.     * Makefile.in (config-stamp): If `defs' is defined, emit a
  5937.     preprocessor directive to create a macro named by this value into
  5938.     config.new; don't explicitly go for BFD_ASSEMBLER.
  5939.     * configure.in: Define `defs', not `BFDDEF'.  Set it to
  5940.     MANY_SEGMENTS for any obj-coffbfd target.
  5941.     * config/obj-coffbfd.h (BFD_HEADERS, BFD): Define.
  5942.     * config/i386coff.mt (TDEFINES): Don't define BFD, MANY_SEGMENTS,
  5943.     or BFD_HEADERS.
  5944.     (LOCAL_LOADLIBES): Deleted.
  5945.     * config/m68kcoff.mt (TDEFINES): Don't define those macros.
  5946.     * config/m88kcoff.mt (TDEFINES): Ditto.
  5947.     * config/ebmon29k.mt: Deleted.
  5948.     * config/h8300hds.mt: Deleted.
  5949.     * config/ic960coff.mt: Deleted.
  5950.     * config/sparc.mt: Deleted.
  5951.     * config/h8300.mt (LOCAL_LOADLIBES, TDEFINES): Deleted.
  5952.     * config/h8500.mt (LOCAL_LOADLIBES, TDEFINES): Deleted.
  5953.     * config/sh.mt (LOCAL_LOADLIBES, TDEFINES): Deleted.
  5954.     * config/z8k.mt (LOCAL_LOADLIBES): Deleted.
  5955.     (TDEFINES): Don't define the coffbfd macros.
  5956.  
  5957.     * Makefile.in: Insert makefile fragments before OBJS definition.
  5958.     (OBJS): Add $(TE_OBJS).
  5959.  
  5960.     * config/obj-coff.c (obj_pseudo_table): Supply "section"
  5961.     unconditionally.
  5962.  
  5963.     * write.c (set_symtab): Define only if BFD_ASSEMBLER.
  5964.  
  5965. Sun Mar 20 12:06:05 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  5966.  
  5967.     * Makefile.in (STAGESTUFF): Add gasp.new.
  5968.  
  5969. Fri Mar 18 20:09:16 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  5970.  
  5971.     * write.c (symbol_table_frozen): New variable, to be set after
  5972.     bfd_set_symtab is called.
  5973.     (dump_section_relocs): Note whether a symbol is a section symbol
  5974.     or not.
  5975.     (adjust_reloc_syms): For now, always supply an absolute symbol for
  5976.     fixups without symbols but not yet `done'.  Use section_symbol to
  5977.     get the symbol, instead of going directly for abs_symbol.
  5978.     (write_relocs) [DEBUG4]: Abort if any symbol referred to by a
  5979.     reloc is not a section symbol and is not in the symbol table.
  5980.     (set_symtab): New function, broken out from write_object_file.
  5981.     Counts symbol table instead of relying on an earlier count.
  5982.     (write_object_file): Call set_symtab, but do it after potentially
  5983.     invoking the *_frob_file macros.  Don't bother counting symbols.
  5984.     Call symbol_remove, instead of expanding it in place.  Moved the
  5985.     conditionalized `object_file_size' declaration down to
  5986.     conditionalized block where it's used.  When using the absolute
  5987.     symbol for a fixup without a symbol, set sy_used_in_reloc.
  5988.     (write_object_file) [BFD_ASSEMBLER]: Call section_symbol to get
  5989.     the correct symbol for the absolute section.
  5990.  
  5991.     * subsegs.c (section_symbol): Use symbol_new instead of
  5992.     symbol_make, since we may want it to go into the symbol table.
  5993.     Make the new symbol have internal linkage.  If
  5994.     obj_sec_sym_ok_for_reloc says it's okay, use the BFD section
  5995.     symbol with the newly created GAS symbol.
  5996.     (obj_sec_sym_ok_for_reloc): Default to always returning 0.
  5997.     * config/obj-aout.h (obj_sec_sym_ok_for_reloc) [BFD_ASSEMBLER]:
  5998.     New macro.
  5999.     * config/obj-elf.h (obj_sec_sym_ok_for_reloc): New macro.
  6000.  
  6001.     * config/tc-sparc.c: Include subsegs.h.
  6002.     (in_signed_range): New function.
  6003.     (sparc_ip): Use it.
  6004.     (sparc_ip, case 'i'): Use BFD_RELOC_SPARC13, not _BASE13.
  6005.     (sparc_ip, label "immediate"): Reject constants for pcrel
  6006.     instructions only if the relocation type indicates a "call"
  6007.     instruction and the offset is within range of a "jmpl %g0".  If
  6008.     it's not in range, use the absolute section symbol plus an offset.
  6009.     (md_apply_fix): Use in_signed_range.  Combined _SPARC13 and
  6010.     _BASE13 cases.
  6011.     (tc_gen_reloc): Permit BFD_RELOC_SPARC13.
  6012.  
  6013.     * config/ic960coff.mt (TDEFINES): Fixed typo (MANY_SECTIONS, not
  6014.     MANY_SEGMENTS).
  6015.  
  6016.     * configure.in: Eliminated all targets using obj-coff but not
  6017.     defining BFD_ASSEMBLER; I think all such targets that are
  6018.     supported will be matched by real CPU-OS combinations earlier in
  6019.     the case statement.
  6020.     (targets *-*-coff*, *-sysv*, *-*-sco*, *-*-sysv32): Deleted.  Made
  6021.     some comments about the dpx2 configuration, but left it disabled,
  6022.     since it couldn't be reached before.
  6023.     (target a29k-amd-ebmonold): Deleted.
  6024.  
  6025. Thu Mar 17 13:36:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6026.  
  6027.     * config/tc-hppa.c (pa_import): Correctly handle importing of an
  6028.     already defined symbol.
  6029.  
  6030. Wed Mar 16 17:11:37 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6031.  
  6032.     * config/tc-mips.c (mips_ip): Only accept overly large values for
  6033.     the 'j' operand if there are no further alternatives for this
  6034.     instruction.
  6035.  
  6036.     * config/obj-coffbfd.c (adjust_stab_section): Initialize
  6037.     stabstrseg to SEG_UNKNOWN, not -1.  After loop, check whether it
  6038.     is not SEG_UNKNOWN rather than checking whether it is >= 0.
  6039.  
  6040.     * config/tc-mips.c (mips_align): Take new argument, label, and use
  6041.     it instead of global insn_label.
  6042.     (s_align, s_cons, s_float_cons, s_gpword): Save insn_label before
  6043.     call to mips_emit_delay and pass it to mips_align.
  6044.  
  6045. Wed Mar 16 11:54:12 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6046.  
  6047.     * config/tc-hppa.c (pa_equ): Handle both .reg and .equ correctly.
  6048.  
  6049.     * config/tc-hppa.c (pa_callinfo): Accept "millicode" as an
  6050.     argument to a .callinfo directive.  Don't loop forever on errors.
  6051.  
  6052.     * config/tc-hppa.c (pa_equ): Use pa_parse_number so that we can
  6053.     use pre-defined registers as arguments.
  6054.  
  6055. Mon Mar 14 14:29:45 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6056.  
  6057.     * write.c (write_object_file): Check both S_IS_LOCAL and
  6058.     S_IS_EXTERNAL when deciding whether to discard a symbol.
  6059.  
  6060.     * config-gas.com: Scan Makefile.in, not version.c, for current
  6061.     version number.  Delete all versions of temp files when finished
  6062.     with them.  Create config.h.
  6063.  
  6064.     * config/obj-vms.c (VMS_Initialized_Data_Size): Cache symbol
  6065.     values to reduce number of lookups with S_GET_VALUE.  Skip debug
  6066.     symbols to avoid "a really nasty bug".  (From Holger Teutsch,
  6067.     holger@botbso.rhein-main.de.)
  6068.     (VMS_write_object_file): For "__vt.*" symbols, set S_GET_OTHER
  6069.     field.  (Also from Holger Teutsch.)  Watch for a would-be register
  6070.     mask that spans frags.
  6071.  
  6072.     * config/obj-coffbfd.c (obj_coff_line): Set symbol lnno field with
  6073.     this_base, not line_base.  (Patch from Andreas Arens,
  6074.     ari@obelix.av.rwth-aachen.de.)
  6075.  
  6076.     * config/obj-aout.c (obj_crawl_symbol_chain): Retain symbols that
  6077.     look local if they're exported or undefined.  Used to be done for
  6078.     i960 only.
  6079.  
  6080.     * read.c (s_lcomm, s_comm): Print symbol name being redefined.
  6081.     Get it from the looked-up symbol, instead of using the string from
  6082.     the input stream, which is no longer null-terminated.
  6083.     (LEX_PCT): New macro, defaults to 0.
  6084.     (lex_type): Use it for `%'.
  6085.  
  6086.     * config/tc-vax.c (md_parse_option): Handle `-h#' option for VMS.
  6087.     (vip_op): Now static, and returns void.  Callers changed.  Added
  6088.     forward decl.
  6089.     (vip): Ditto.  Call as_fatal directly if a program bug is
  6090.     detected.
  6091.     (op_hash): Let default initialization suffice.
  6092.  
  6093.     * Makefile.in (literal.o): Provide dependencies.
  6094.  
  6095.     * configure.in: Set new makefile variable OPCODES_LIB.
  6096.     * Makefile.in (LIBS): Use it.
  6097.  
  6098.     * Makefile.in (make-gas.com, stamp-mk.com): New targets.
  6099.     * vmsconf.sh: New file.
  6100.     * make-gas.com: Regenerated from new script.
  6101.  
  6102.     * configure.in (sparc*-*-lynxos*): Handle any version number
  6103.     suffix after "lynxos".  Set emulation to lynx.
  6104.  
  6105. Mon Mar 14 11:30:49 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  6106.  
  6107.     * config/obj-coff.c (obj_coff_section): Delete declaration.
  6108.  
  6109. Fri Mar 11 22:25:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6110.  
  6111.     * config/tc-ppc.c (md_pcrel_from): Return 0 for undefined ELF
  6112.     symbols.
  6113.     (ppc_is_toc_sym): Change .toc to .got.
  6114.     (md_apply_fix): Change handling of ELF relocs.
  6115.     (tc_gen_reloc): Likewise.
  6116.  
  6117. Fri Mar 11 17:42:20 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6118.  
  6119.     * config/obj-vms.c (Close_VMS_Object_File): Add comment pointing
  6120.     out some code that doesn't belong in this file.
  6121.  
  6122.     * config/obj-vms.h: Include aout/stab_gnu.h.
  6123.     (N_GSYM, ..., N_LENG): Deleted.
  6124.     (NO_RELOC): Undefine before defining as part of enum reloc_type.
  6125.  
  6126.     * config/tc-alpha.c: Add comment questioning need for all the
  6127.     characters in FLT_CHARS.
  6128.  
  6129.     * as.c (main) [OBJ_VMS]: Don't call output_file_close.
  6130.  
  6131.     * config/obj-ecoff.c (ecoff_frob_file): Set strict order for
  6132.     sections with recognized names, before computing VMA values.
  6133.  
  6134. Fri Mar 11 17:56:23 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6135.  
  6136.     * config/tc-mips.c (mips_ip): Accept numbers between 0x8000 and
  6137.     0xffff for 'j' to be compatible with MIPS assembler.  These
  6138.     numbers are actually treated as negative.
  6139.  
  6140. Thu Mar 10 13:36:29 1994  Doug Evans  (dje@canuck.cygnus.com)
  6141.  
  6142.     * config/tc-sparc.h (LOCAL_LABEL): Local labels are .Lfoo.
  6143.  
  6144. Tue Mar  8 21:17:12 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6145.  
  6146.     * config/obj-coff.c: Minor formatting/stylistic changes, plus:
  6147.     (obj_coff_section): Declare.
  6148.     (obj_pseudo_table): Make it available only if MANY_SECTIONS.
  6149.     (obj_symbol_to_chars) [CROSS_COMPILE]: Some attemps to make this
  6150.     work.  It still doesn't.  It now fails to compile, instead of
  6151.     silently compiling to do nothing.
  6152.     * config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define only if
  6153.     MANY_SECTIONS.
  6154.     (OBJ_PROCESS_STAB) [! MANY_SECTIONS]: New macro, just emits
  6155.     warning.
  6156.  
  6157.     Handle Alpha load-immediate-FP pseudo-instructions:
  6158.     * config/alpha-opcode.h (ldif, ldig, ldis, ldit): New patterns.
  6159.     * config/tc-alpha.c (lit8_sec, lit4_sec, lit8_sym, lit4_sym): New
  6160.     variables.
  6161.     (create_literal_section): New function.
  6162.     (create_lita_section): Now a macro.
  6163.     (get_lit8_offset, get_lit4_offset): New functions.
  6164.     (maybe_set_gp): New function.
  6165.     (select_gp_value): Call it.
  6166.     (load_expression): Preserve addend if symbol is a section symbol.
  6167.     (alpha_ip): Handle new operand type `F' for floating-point
  6168.     constants; store them in .lit{4,8} sections.
  6169.     (alpha_ip, case 'G'): Emit LITUSE relocations for symbol exprs.
  6170.  
  6171.     * config/tc-i386.c (smallest_imm_type): Never return Imm1.
  6172.  
  6173. Tue Mar  8 14:18:15 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  6174.  
  6175.     * config/obj-coffbfd.c (w_strings): Only copy strings out if
  6176.     their symbols are going to be written.
  6177.  
  6178. Tue Mar  8 11:49:27 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6179.  
  6180.     * messages.c (as_perror): Declare arguments const.
  6181.     * as.h (as_perror): Change declaration.
  6182.  
  6183. Mon Mar  7 16:08:25 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6184.  
  6185.     * config/tc-mips.c (load_address): When calling frag_grow, allow
  6186.     for the (up to) two nops which may be inserted by append_insn if
  6187.     mips_optimize is 0.
  6188.     (macro): Likewise.
  6189.  
  6190. Thu Mar  3 11:37:55 1994  Doug Evans  (dje@canuck.cygnus.com)
  6191.  
  6192.     * config/atof-ieee.c (make_invalid_floating_point_number):
  6193.     Add cast to avoid warning from gcc.
  6194.  
  6195. Wed Mar  2 10:31:01 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6196.  
  6197.     * config/tc-hppa.c: Add a few casts to make HP C compiler happy.
  6198.  
  6199.     * config/obj-som.c (obj_som_version, obj_som_copyright): Be
  6200.     prepared
  6201.     to handle an error from bfd_som_attach_aux_hdr.
  6202.  
  6203.     * config/tc-hppa.h: Wrap ELF specific decls inside an ifdef.
  6204.  
  6205. Mon Feb 28 15:03:26 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6206.  
  6207.     * config/tc-alpha.c (md_atof): Omit warning about FP values.
  6208.     (line_comment_chars): Add ! to list.
  6209.     (md_apply_fix): Do process 32- and 64-bit relocations.
  6210.  
  6211.     * config/obj-coffbfd.c (obj_coff_lcomm): Put "#if 0" around the
  6212.     unused parts (most of the function).
  6213.     (obj_coff_init_stab_section): Cast alloca result.
  6214.  
  6215.     * configure.in (i960-*-coff, i960-*-vxworks5.*): Use coffbfd, and
  6216.     gas_target ic960coff.
  6217.     * config/ic960coff.mt: New file.
  6218.     * config/obj-coffbfd.h [TC_I960]: Include coff/i960.h.
  6219.     (TARGET_FORMAT) [TC_I960]: Use coff-Intel-little.
  6220.     * config/te-ic960.h (CROSS_COMPILE): Don't undef this.  We'll
  6221.     always build little-endian object files.
  6222.     * config/tc-i960.c (md_reloc_size): Don't define at all if BFD or
  6223.     BFD_ASSEMBLER is defined.
  6224.     (mem_fmt): Since COFF doesn't handle callx relocations yet, treat
  6225.     them like normal 32-bit relocations.
  6226.     (md_apply_fix): For callx relocations, store zero.
  6227.     (tc_bout_fix_to_chars): Store symbol index for all callx
  6228.     relocations, regardless of link-relax setting.
  6229.     (tc_coff_fix2rtype, tc_coff_sizemachdep): New functions.
  6230.     (i960_handle_align) [! OBJ_BOUT]: If link-relax option is
  6231.     selected, print an error message and clear it.
  6232.     * config/tc-i960.h (BFD_ARCH, COFF_FLAGS, COFF_MAGIC,
  6233.     TC_COUNT_RELOC, TC_COFF_FIX2RTYPE, TC_COFF_SIZEMACHDEP,
  6234.     tc_fix_adjustable): New macros.
  6235.     (tc_coff_fix2rtype, tc_coff_sizemachdep): Declare.
  6236.  
  6237. Fri Feb 25 20:56:57 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6238.  
  6239.     * config/tc-hppa.c (hppa_tc_symbol): Call PA ELF BFD version.
  6240.     (hppa_tc_make_sections): Likewise.
  6241.     (pa_build_symextn_section): Delete unused function.
  6242.     (hppa_tc_make_symextn_section): Likewise.
  6243.     (pa_export): Delete call to pa_build_symextn_section.
  6244.  
  6245.     * config/tc-hppa.h (hppa_tc_symbol): Add extern decl.
  6246.     (elf_hppa_final_processing): Delete extern decl.
  6247.     (hppa_tc_symbol): Delete extern decl.
  6248.  
  6249. Fri Feb 25 13:15:31 1994  Ian Lance Taylor  (ian@cygnus.com)
  6250.  
  6251.     * config/obj-coffbfd.c (fill_section): Correct test for whether to
  6252.     fill a section (from Minh Tran-Le <TRANLE@intellicorp.com>).
  6253.  
  6254. Thu Feb 24 11:30:26 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6255.  
  6256.     * configure.in: Don't require version number for i386-*-mach.
  6257.  
  6258.     * read.c (potable): Added ".this_GCC_requires_the_GNU_assembler",
  6259.     which is ignored by gas, but will cause other assemblers to choke.
  6260.     Intended for use by gcc ports that require gas instead of native
  6261.     assemblers.
  6262.  
  6263. Thu Feb 24 07:10:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6264.  
  6265.     * config/ho-hppaosf.h: Fix braino in test for ANSI-C.
  6266.  
  6267. Wed Feb 23 16:51:43 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6268.  
  6269.     * write.c (write_contents): Give the user a reasonable error
  6270.     message rather than "assertion failed" if bfd_set_section_contents
  6271.     fails.
  6272.  
  6273. Tue Feb 22 10:07:32 1994  Ken Raeburn  (raeburn@rtl.cygnus.com)
  6274.  
  6275.     * config/ho-mach3.h: New file.
  6276.  
  6277. Mon Feb 21 11:41:18 1994  Ian Lance Taylor  (ian@cygnus.com)
  6278.  
  6279.     * ecoff.c (ecoff_build_debug): Don't set hdr->magic here.  It is
  6280.     now set in bfd/ecofflink.c:ecoff_write_symhdr.
  6281.  
  6282.     * config/obj-coffbfd.c (write_object_file): use bfd_get_error (),
  6283.     not bfd_error.
  6284.     * config/obj-elf.c (elf_frob_file): Likewise.
  6285.  
  6286.     * read.c (s_lcomm): Use an alignment power of 3 for 8 byte .lcomm
  6287.     variables.
  6288.  
  6289.     * config/ho-hpux.h (BROKEN_ASSERT): Define if not __GNUC__.
  6290.  
  6291.     * read.c (read_a_source_file): Use correct arguments to memcpy
  6292.     (broken 19 Jul 1993).  From kjd@pescadero.stanford.edu (Kenneth
  6293.     Duda).
  6294.  
  6295. Sun Feb 20 18:01:54 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
  6296.  
  6297.     * config/obj-coff.h (obj_coff_section): Declare.
  6298.     * config/obj-coff.c (obj_pseudo_table): For "section", use
  6299.     obj_coff_section.
  6300.     (obj_coff_section): Rewrite.
  6301.  
  6302. Fri Feb 18 14:16:32 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6303.  
  6304.     * configure.in (i386-*-mach3*): New target; uses BFD.
  6305.     * config/te-mach.h: New file.
  6306.     * config/obj-aout.c (obj_aout_frob_file): New function.
  6307.     * config/obj-aout.h (obj_aout_frob_file): Declare it.
  6308.     (frob_file): New macro.
  6309.     * config/tc-i386.c (md_apply_fix_1) [TE_Mach]: Don't adjust
  6310.     pcrel32 relocations.
  6311.     * config/tc-i386.h (TARGET_FORMAT) [TE_Mach]: Use a.out-mach3.
  6312.  
  6313.     * write.c (write_object_file): Removed register declarations.
  6314.  
  6315. Thu Feb 17 16:25:18 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6316.  
  6317.     Some support for PowerPC ELF.
  6318.     * configure.in: If cpu is powerpc*, use ppc.
  6319.     (ppc-*-sysv4*): Use object format elf.
  6320.     * config/tc-ppc.h: Only declare a number of things if OBJ_COFF is
  6321.     defined.
  6322.     (TARGET_ARCH): Make it call ppc_arch.
  6323.     (ppc_arch): Declare.
  6324.     (TARGET_FORMAT): Set based on OBJ_COFF or OBJ_ELF.
  6325.     (NO_STRING_ESCAPES): Define.
  6326.     (LOCAL_LABEL, FAKE_LABEL_NAME): Define for OBJ_ELF.
  6327.     * config/tc-ppc.c: Only define a number of functions of OBJ_COFF
  6328.     is defined.
  6329.     (md_pseudo_table): Most pseudo-ops are OBJ_COFF specific.  Added
  6330.     OBJ_COFF specific "bi" and "ei".
  6331.     (md_parse_option): Fix handling of -u.  Make -m601 set
  6332.     PPC_OPCODE_601.  If OBJ_ELF, accept -V and -Q.
  6333.     (ppc_set_cpu): New function.
  6334.     (ppc_arch): New function.
  6335.     (md_begin): Call ppc_set_cpu.
  6336.     (ppc_insert_operand): For a signed operand accept an unsigned
  6337.     value, for IBM compatibility.
  6338.     (ppc_byte): Don't call stringer for strings; instead, treat two
  6339.     double quotes as a single double quote.
  6340.     (ppc_comm): Set sy_tc.output for a .lcomm symbol.
  6341.     (ppc_biei): New function.
  6342.     (ppc_tc): If not OBJ_COFF, ignore first argument.
  6343.     (ppc_fix_adjustable): Call as_bad_where, not as_bad.
  6344.     (ppc_is_toc_sym): New function.
  6345.     (md_apply_fix): Use ppc_is_toc_sym.  Handle BFD_RELOC_16 and
  6346.     BFD_RELOC_8.
  6347.  
  6348. Thu Feb 17 09:29:37 1994  David J. Mackenzie  (djm@thepub.cygnus.com)
  6349.  
  6350.     * messages.c (as_perror) [BFD_ASSEMBLER]: Use bfd_get_error and
  6351.     bfd_set_error and new error names.
  6352.  
  6353. Tue Feb 15 20:23:20 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6354.  
  6355.     * configure.in: Support i960-vxworks versions > 5.0 as coff.
  6356.     Default is still bout if no version is specified.
  6357.  
  6358.     * atof-generic.c (atof_generic): Use switch and strcasecmp instead
  6359.     of large number of compares when looking for inf/nan values.
  6360.  
  6361. Fri Feb 11 13:13:27 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6362.  
  6363.     * config/tc-mips.c (macro): Do unaligned loads and stores
  6364.     correctly when big endian, and give errors on overflow rather than
  6365.     generating incorrect code.
  6366.  
  6367. Thu Feb 10 11:24:20 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6368.  
  6369.     * as.c: Include libiberty.h.
  6370.  
  6371.     * read.c (do_align): Don't define label just_record_alignment
  6372.     unless it might be used.
  6373.  
  6374.     * as.c (main): If md_parse_long_option is defined, call it with a
  6375.     long option.
  6376.     * config/tc-mips.h (md_parse_long_option): Define.
  6377.     * config/tc-mips.c (mips_trap): New static variable.
  6378.     (md_begin): Report an error if mips_trap is set at ISA level 1.
  6379.     (macro): If mips_trap, use trap instructions instead of break
  6380.     instructions for overflow and divide by zero detection.
  6381.     (mips_parse_long_option): New function.  Support --trap,
  6382.     --no-break, --break and --no-trap.
  6383.     * doc/as.texinfo: Document new options.
  6384.  
  6385.     * read.c (potable): Add "zero".
  6386.     * config/tc-i386.c (md_pseudo_table): Remove "zero".
  6387.     * config/tc-m88k.c (md_pseudo_table): Likewise.
  6388.  
  6389. Thu Feb 10 01:24:27 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6390.  
  6391.     * config/tc-sparc.c (sparc_ip): Reject integer values for
  6392.     pc-relative operand fields.  This forces "call 0" to become "jmpl
  6393.     %g0,%o7" with no relocations needed.
  6394.  
  6395. Wed Feb  9 13:08:32 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6396.  
  6397.     * as.h (xmalloc, xrealloc): Declare using PTR rather than char *.
  6398.     * xmalloc.c (xmalloc, xrealloc): Use PTR rather than char *.
  6399.  
  6400.     * app.c (do_scrub_next_char): If NO_STRING_ESCAPES is defined,
  6401.     don't treat backslash specially inside strings.
  6402.     * read.c (next_char_of_string): Likewise.
  6403.  
  6404. Wed Feb  9 09:42:45 1994  Stan Shebs  (shebs@andros.cygnus.com)
  6405.  
  6406.     * config/obj-coffbfd.c (obj_coff_init_stab_section): Use memset
  6407.     instead of memcpy to zero the initial stab symbol, duh.
  6408.     * config/obj-elf.c (obj_elf_init_stab_section): Ditto.
  6409.     * config/obj-som.c (obj_som_init_stab_section): Ditto.
  6410.  
  6411. Tue Feb  8 17:25:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6412.  
  6413.     * write.c (fixup_segment): Use as_bad_where, not as_bad.
  6414.  
  6415.     * subsegs.c (subseg_set_rest): Call memset with the arguments in
  6416.     the right order.  Explicitly clear fix_root and fix_tail fields.
  6417.  
  6418. Tue Feb  8 16:00:25 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6419.  
  6420.     * config/obj-coff.c (coff_frob_symbol): For abs_symbol, set *punt
  6421.     and do nothing else.
  6422.  
  6423.     * symbols.c (symbol_begin): Initialize value of abs_symbol
  6424.     properly.
  6425.  
  6426.     * write.c (adjust_reloc_syms): Use abs_symbol instead of calling
  6427.     section_symbol.
  6428.  
  6429.     * ecoff.c (ecoff_build_debug): Fix "/*" in comment to silence
  6430.     complaint from "gcc -Wall".
  6431.  
  6432.     * configure.in (alpha-*-netware*): New target, like alpha-*-osf*.
  6433.  
  6434.     * config/tc-alpha.c (GP_ADJUSTMENT): Move definition to start of
  6435.     file.
  6436.     (tc_gen_reloc): Remove uninitialized variable `code', and code
  6437.     that tried to use it (incorrectly).  For LITERAL reloc, set addend
  6438.     to negative of GP value.
  6439.     (load_symbol_address): Don't adjust return value by GP_ADJUSTMENT.
  6440.  
  6441.     * write.c (write_relocs): Print some sensible error message if
  6442.     bfd_perform_relocation returns bfd_reloc_overflow.
  6443.  
  6444. Mon Feb  7 15:49:24 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6445.  
  6446.     * configure.in (hppa*-*elf*): New configuration for PA ELF.
  6447.     (hppa*-*-osf*): Default object format is SOM.
  6448.  
  6449. Mon Feb  7 16:07:35 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6450.  
  6451.     * config/tc-alpha.c (md_atof): Warn that floating-point values
  6452.     might not assemble properly.
  6453.  
  6454.     * configure.in (target alpha-*-osf*): Don't set "dev=yes" any
  6455.     more.
  6456.  
  6457.     * config/tc-alpha.c (load_expression): Parenthesize operations in
  6458.     range checking, to avoid precedence questions.
  6459.  
  6460.     * config/tc-alpha.c (addr32): New static variable.
  6461.     (md_parse_option): Set it for "-32addr".
  6462.     (load_symbol_address): If addr32 is set, use ldl instead of ldq.
  6463.  
  6464.     * atof-generic.c (atof_generic): Calculate maximum_useful_digits
  6465.     and more_than_enough_bits_for_digits in integer arithmetic, to
  6466.     eliminate the only sources of dependence on floating point
  6467.     support, which doesn't work yet on the Alpha.
  6468.  
  6469. Mon Feb  7 03:56:05 1994  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  6470.  
  6471.     * ecoff.c (ecoff_build_debug) [TC_ALPHA]: Specify version stamp as
  6472.     0x30b for Alpha for now, until ".verstamp" is handled.
  6473.  
  6474.     * literal.c (add_to_literal_pool): Use seginfo->frchainP, which
  6475.     actually refers to the literal pool section, rather than
  6476.     frchain_now, which refers to whatever section the assembler was
  6477.     in.
  6478.  
  6479.     * write.c (fixup_segment): Only do range checking if size of fixup
  6480.     is smaller than word size.  Otherwise, we always wind up with
  6481.     zeros.
  6482.  
  6483.     * config/tc-alpha.c (md_section_align): Change second argument and
  6484.     return type to valueT, to agree with tc.h.
  6485.     (alpha_do_align): Local static array nop_pattern is now unsigned
  6486.     char, to avoid overflow warnings.
  6487.     * config/tc-alpha.h (md_section_align): Delete declaration.
  6488.  
  6489.     * config/obj-ecoff.c (ecoff_frob_file): Ensure that ecoff_data for
  6490.     output bfd is non-null before indirecting through it.
  6491.  
  6492.     * config/tc-alpha.c (alpha_frob_ecoff_data): Renamed from
  6493.     alpha_frob_file.
  6494.     * config/tc-alpha.h (tc_frob_file): Macro deleted.
  6495.     * config/obj-ecoff.c (ecoff_frob_file) [TC_ALPHA]: Call
  6496.     alpha_frob_ecoff_data, then fill in optional-header info with gp
  6497.     value and register masks.
  6498.  
  6499. Sun Feb  6 16:13:47 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6500.  
  6501.     * configure.in (hiux): Fixes from m-kasahr@sramhc.sra.co.JP.
  6502.  
  6503.     * config/obj-som.c (obj_som_init_stab_section): Same change
  6504.     as coffbfd and elf below.  Zero the initial stab symbol after
  6505.     allocating it.
  6506.  
  6507. Sat Feb  5 12:30:32 1994  Stan Shebs  (shebs@andros.cygnus.com)
  6508.  
  6509.     * config/obj-coffbfd.c (obj_coff_init_stab_section): Zero the
  6510.     initial stab symbol after allocating it.
  6511.     * config/obj-elf.c (obj_elf_init_stab_section): Ditto.
  6512.  
  6513. Sat Feb  5 11:53:31 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6514.  
  6515.     * config/tc-hppa.c (pa_ip): addb[tf] should only accept
  6516.     non-negated condition completers.  Add support for addb pseudo-op
  6517.     which accepts both negated and non-negated completers.
  6518.  
  6519. Sat Feb  5 00:15:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6520.  
  6521.     * configure.in (rs6000*): Use cpu_type ppc.
  6522.     (ppc-*-aix*): New target; use coff and force bfd_gas.
  6523.     * config/tc-ppc.h, config/tc-ppc.c: New files for PowerPC/POWER
  6524.     (RS/6000) support.  At the moment, only XCOFF is supported.
  6525.  
  6526.     * config/obj-coff.c (SA_SET_SYM_ENDNDX): Made non-static.
  6527.     (S_SET_DATA_TYPE): Likewise.
  6528.     (coff_last_function): Renamed from local static last_functionP in
  6529.     coff_frob_symbol and made externally visible.
  6530.     (coff_frob_symbol): New local static set_end; use it to try to
  6531.     avoid calling SA_SET_SYM_ENDNDX on a symbol that will be punted.
  6532.     * config/obj-coff.h (S_SET_DATA_TYPE): Declare.
  6533.     (SA_SET_SYM_ENDNDX): Declare.
  6534.     (coff_last_function): Declare.
  6535.  
  6536.     * expr.c (operand): If DOLLAR_DOT is defined, accept `$' as
  6537.     equivalent to `.' to mean the current location.
  6538.  
  6539.     * read.c (LEX_BR): If not defined, define as 0.
  6540.     (lex_type): Use LEX_BR as the type of `{',`}',`[',`]'.
  6541.  
  6542.     * symbols.c (symbol_new): If tc_canonicalize_symbol_name is
  6543.     defined, call it with preserved_copy_of_name.  If
  6544.     tc_symbol_new_hook is defined, call it on the new symbol.
  6545.     (symbol_find_base): If tc_canonicalize_symbol_name is defined,
  6546.     call it on a copy of the name argument.
  6547.  
  6548.     * write.c (write_object_file): Simplified usage of obj_frob_symbol
  6549.     and tc_frob_symbol.  Always call both if the symbol is going to be
  6550.     output.
  6551.  
  6552.     * write.c (relax_segment): Use %ld rather than %d when printing
  6553.     fragP->fr_var, and cast it to long.
  6554.  
  6555.     Changed relocs to be based on subsegments (when BFD_ASSEMBLER).
  6556.     * subsegs.h (struct frchain): If BFD_ASSEMBLER, added new fields
  6557.     fix_root and fix_tail.
  6558.     (segment_info_type): If BFD_ASSEMBLER, don't define fix_tail
  6559.     field.
  6560.     * write.c (fix_new_internal): If BFD_ASSEMBLER, set fix_rootP and
  6561.     fix_tailP based on frchain_now, not seg_info (now_seg).
  6562.     (chain_frchains_together_1): Chain the subsegment relocs together.
  6563.     * subsegs.c (subseg_change): Don't clear fix_tail field.
  6564.     (subseg_get): Likewise.
  6565.     * literal.c (add_to_literal_pool): Look through the relocs via
  6566.     frchain_now, not seginfo.
  6567.  
  6568. Thu Feb  3 23:07:30 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6569.  
  6570.     * config/obj-ecoff.h (TARGET_SYMBOL_FIELDS): Changed
  6571.     ecoff_undefined to ecoff_extern_size.
  6572.     * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Likewise.
  6573.     * config/tc-mips.c (s_extern): Set ecoff_extern_size to the
  6574.     external symbol size, rathern than setting the symbol value.
  6575.     (md_estimate_size_before_relax): Check both ecoff_extern_size and
  6576.     symbol value to see if GP referencing can be used.
  6577.     * ecoff.c (ecoff_symbol_new_hook): Clear ecoff_extern_size, not
  6578.     ecoff_undefined.
  6579.     (ecoff_frob_symbol): Don't check ecoff_undefined.
  6580.     (ecoff_build_symbols): Get size of an undefined symbol from
  6581.     sym->ecoff_extern_size, not S_GET_VALUE (sym).
  6582.  
  6583. Wed Feb  2 13:55:08 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6584.  
  6585.     * Makefile.in:  Avoid bug in losing hpux sed.
  6586.  
  6587. Wed Feb  2 11:40:11 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6588.  
  6589.     * config/tc-mips.c (file_mips_isa): New static variable.
  6590.     (md_begin): Set it.
  6591.     (s_mipsset): Add support for .set mipN to set the ISA level.
  6592.  
  6593.     * gasp.c (kinfo): Fully bracket initializer.
  6594.  
  6595. Tue Feb  1 19:28:12 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6596.  
  6597.     * gasp.c (malloc): Don't declare, since host.h or system header
  6598.     files may declare it differently.
  6599.  
  6600.     * config/atof-ieee.c (int_to_gen): Now static.
  6601.  
  6602.     * config/ho-i386aix.h: Include sys/types.h and stdlib.h, not
  6603.     ho-sysv.h.  Based loosely on a patch from Minh Tran-Le.
  6604.  
  6605. Tue Feb  1 10:50:17 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  6606.  
  6607.     * gasp.c: Include host.h.
  6608.  
  6609. Tue Feb  1 12:13:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6610.  
  6611.     * config/tc-mips.c (mips_ip): Make an unsupported instruction a
  6612.     warning, not an error.
  6613.  
  6614.     * config/obj-coff.c (dot_text_symbol, dot_data_symbol,
  6615.     dot_bss_symbol): Don't define if BFD_ASSEMBLER.
  6616.     (obj_symbol_to_chars): bfd_coff_swap_aux_out now takes more
  6617.     arguments.
  6618.     (coff_line_base): Renamed from line_base.  Changed all uses.
  6619.     (coff_add_linesym): Renamed from add_line_sym.  Made non-static.
  6620.     Changed all uses.
  6621.     * config/obj-coff.h: If TC_PPC, include coff/rs6000.h.
  6622.     (S_SET_STORAGE_CLASS, S_GET_STORAGE_CLASS): Declare if
  6623.     BFD_ASSEMBLER.
  6624.     (coff_line_base): Declare.
  6625.     (coff_add_linesym): Declare if BFD_ASSEMBLER.
  6626.     * config/obj-coffbfd.c (symbol_to_chars): bfd_coff_swap_aux_out
  6627.     now takes more arguments.
  6628.  
  6629. Mon Jan 31 17:55:14 1994  Stan Shebs  (shebs@andros.cygnus.com)
  6630.  
  6631.     * as.c (statistics_flag): Renamed from quiet_flag.
  6632.     (main): Get statistics with --statistics instead of -noquiet.
  6633.  
  6634. Mon Jan 31 07:19:30 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  6635.  
  6636.     * Makefile.in: Support for Gnu ASsembler Preprocessor.
  6637.     * gasp.c: New file.
  6638.     * read.c (s_lcomm): Align lcomm data.
  6639.     * config/tc-z8k.c (tc_reloc_mangle): Don't allow subtraction
  6640.     from different sections.
  6641.  
  6642. Sun Jan 30 14:58:26 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6643.  
  6644.     * write.c (write_object_file): If tc_frob_file is defined, call it
  6645.     just before calling obj_frob_file.
  6646.     * config/tc-alpha.c (alpha_gp_value): Renamed from gp_value
  6647.     (references changed), and made non-static.
  6648.     (getExpression): Return void.
  6649.     (select_gp_value): Abort if gp_value is non-zero.  Delete call to
  6650.     non-existent bfd_set_gp_value.
  6651.     (alpha_validate_fix): Function deleted.
  6652.     (alpha_frob_symbol): Function deleted.
  6653.     (alpha_local_label): Function deleted.
  6654.     (alpha_frob_file): Renamed from alpha_end.
  6655.     * config/tc-alpha.h (alpha_frob_symbol, alpha_validate_fix,
  6656.     alpha_local_label, alpha_end): Declarations deleted.
  6657.     (alpha_gp_value, alpha_frob_file): Declare.
  6658.     (tc_frob_symbol, TC_VALIDATE_FIX, md_end): Macros deleted.
  6659.     (LOCAL_LABEL): Move code here from tc-alpha.c:alpha_local_label.
  6660.     (md_convert_frag): Simplified slightly.
  6661.     (tc_frob_file): New macro.
  6662.  
  6663.     * read.c (do_align): New function, most of guts of s_align_*
  6664.     functions.  Look for md_do_align macro, give it a chance to bypass
  6665.     all but recording of section alignment.
  6666.     (s_align_bytes, s_align_ptwo): Call do_align.
  6667.     (s_lcomm) [TC_ALPHA]: Align object to largest power of two that
  6668.     divides object size.
  6669.  
  6670.     * frags.c (frag_align_pattern): New function.
  6671.     (frag_align): Rewrite for clarity.
  6672.  
  6673.     * config/tc-vax.c (md_assemble): Handle O_constant expression.
  6674.     (vip_begin): Returns pointer to const char.  Cast hash_insert arg
  6675.     to PTR to avoid compiler complaints about const.
  6676.     (md_begin): Local variable errtxt must point to const.
  6677.  
  6678.     * configure.in: Handle host vax-*-ultrix* like vax-*-bsd*.  Don't
  6679.     bother with *-*-ultrix or *-*-sysv*, except *-*-sysv, since only
  6680.     the last has an existing host support file.  Do handle vax-bsd and
  6681.     vax-ultrix targets.
  6682.  
  6683. Fri Jan 28 11:26:40 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6684.  
  6685.     * config/obj-coff.c (obj_coff_section_header_append): Do not
  6686.     declare if BFD_ASSEMBLER.
  6687.     (stack_pop): Correct test for stack underflow.
  6688.     (obj_coff_endef, obj_coff_dim, obj_coff_line, obj_coff_size,
  6689.     obj_coff_scl, obj_coff_tag, obj_coff_type, obj_coff_val): Declare
  6690.     type of ignored argument to avoid gcc warning.
  6691.     (align): Removed unused function.
  6692.  
  6693. Thu Jan 27 18:14:19 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6694.  
  6695.     * config/tc-alpha.c, config/tc-alpha.h, config/alpha-opcode.h: New
  6696.     files, based on port of gas-1.38 contributed by CMU, using a.out
  6697.     variant.  Updated for gas-2.x and ECOFF.  Floating-point constants
  6698.     are still broken, bootstrap testing incomplete.
  6699.  
  6700.     * literal.c: Comment changes.
  6701.  
  6702.     * listing.c (listing_source_file): Check for null listing_tail
  6703.     before indirecting through it.
  6704.  
  6705.     * expr.h (struct expressionS): Added struct tag.
  6706.  
  6707.     * as.h: If __GNUC__ and inline are both undefined, define inline
  6708.     away.
  6709.  
  6710.     * write.c (cvt_frag_to_fill): Don't assume that fr_var for
  6711.     rs_align or rs_org frags will be 1.
  6712.     (relax_segment): For rs_align, if fr_var is not 1, complain if
  6713.     required padding is not a multiple of the size of the pad pattern.
  6714.     (fixup_segment): Leave gp-relative relocations alone.  For pcrel
  6715.     relocations referring to the same segment, clear fx_pcrel when
  6716.     clearing fx_addsy.
  6717.     * as.h: Adjust comments on rs_align.
  6718.  
  6719.     * atof-generic.c: Some reformatting.
  6720.     (atof_generic): Be careful when mixing signed/unsigned values of
  6721.     different sizes.
  6722.  
  6723.     * write.c, config/obj-{aout,bout,coff*}.c, config/tc-sparc.c:
  6724.     Query the fx_done field instead of fx_addsy to see if the fixup
  6725.     still needs to be applied.  Set fx_done and clear fx_addsy both,
  6726.     for now.  If TC_HANDLES_FX_DONE isn't defined, assume md_apply_fix
  6727.     will only clear fx_addsy, and set fx_done accordingly after
  6728.     returning.
  6729.     * config/tc-sparc.h (TC_HANDLES_FX_DONE): Define.
  6730.     * config/tc-sparc.c (md_apply_fix): Set fx_done for non-pcrel fix
  6731.     with no fx_addsy.
  6732.  
  6733.     * symbols.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol):
  6734.     Deleted.
  6735.     (symbol_begin): Moved to end of file, so function inlining can
  6736.     work better.
  6737.     (fb_label_count, fb_label_max): Default C static initializers are
  6738.     sufficient.
  6739.     * symbols.h (dot_text_symbol, dot_data_symbol, dot_bss_symbol):
  6740.     Declarations deleted.
  6741.     * config/obj-coff.c (dot_text_symbol, dot_data_symbol,
  6742.     dot_bss_symbol): Defined here, static.
  6743.  
  6744.     * config/obj-aout.c [BFD_ASSEMBLER]: Undef NO_RELOC before
  6745.     including aout/aout64.h.
  6746.  
  6747.     * write.c (write_object_file): If EMIT_SECTION_SYMBOLS is false,
  6748.     don't write out a section symbol even if it's used in a
  6749.     relocation; assume relocations will handle section numbers
  6750.     somehow.  Rename "punt_it" label to "punt_it_if_unused" to reflect
  6751.     it's true use.
  6752.     (EMIT_SECTION_SYMBOLS): Default to 1.
  6753.     (adjust_reloc_syms): Don't create a new symbol for an absolute
  6754.     reference; just use the absolute section symbol.
  6755.     (write_relocs): Make printout of reloc values dependent on flag
  6756.     DEBUG3, not DEBUG2.
  6757.     * config/obj-aout.h (EMIT_SECTION_SYMBOLS): Define as 0.
  6758.     * config/obj-ecoff.h (EMIT_SECTION_SYMBOLS): Ditto.
  6759.  
  6760. Thu Jan 27 16:43:51 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6761.  
  6762.     * read.c (lex_type): No longer make '{' a valid character for
  6763.     symbol names.
  6764.  
  6765.     * as.c (main): Print long values using %ld.
  6766.  
  6767.     * messages.c (as_warn_internal): New static function.
  6768.     (as_warn, 3 versions): Use as_warn_internal.
  6769.     (as_warn_where, 3 versions): New function.
  6770.     * as.h (as_warn_where): Declare.
  6771.  
  6772. Tue Jan 25 18:30:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
  6773.  
  6774.     * as.c (quiet_flag): New flag.
  6775.     (main): If -noquiet given, display execution time and memory used.
  6776.  
  6777. Tue Jan 25 15:53:11 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6778.  
  6779.     * doc/{all.texi,as.texinfo}: Add documentation for HPPA port.
  6780.  
  6781. Mon Jan 24 19:18:23 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6782.  
  6783.     * ecoff.c (ecoff_frob_symbol): New function.  Put undefined
  6784.     symbols of known size in the undefined section.  Put small common
  6785.     symbols in a .scommon section.
  6786.     * ecoff.h (ecoff_frob_symbol): Declare.
  6787.     * config/obj-ecoff.h (obj_frob_symbol): Define.
  6788.     * config/obj-elf.c (obj_elf_write_symbol_p, obj_elf_write_symbol,
  6789.     obj_elf_frob_symbol): Removed unused functions.
  6790.     * config/obj-elf.h (obj_frob_symbol, obj_write_symbol): Removed
  6791.     unused macros.
  6792.     (obj_elf_frob_symbol, obj_elf_write_symbol): Removed declarations
  6793.     of unused functions.
  6794.     (obj_frob_symbol): Define if ECOFF_DEBUGGING.
  6795.  
  6796.     * tc-mips.c (g_switch_seen): New static variable.
  6797.     (md_parse_option): Set g_switch_seen for -G option.
  6798.     (s_option): If creating PIC code, force the GP size to be 0.  Warn
  6799.     if -G switch used with a non-zero value.
  6800.  
  6801.     * symbols.c (S_IS_COMMON): Use bfd_is_com_section rather than
  6802.     comparing against bfd_com_section.
  6803.  
  6804. Mon Jan 24 14:12:25 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6805.  
  6806.     * read.c (s_lcomm): Treat Alpha like MIPS in handling of .sbss
  6807.     section.
  6808.  
  6809. Thu Jan 20 13:17:58 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6810.  
  6811.     * expr.c (operand): For floating point operand with unusual fp
  6812.     char from FLT_CHARS, preserve the character.  Patch from Lisa
  6813.     Repka.
  6814.  
  6815. Wed Jan 19 23:15:24 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6816.  
  6817.     * config/tc-mips.c (md_pseudo_table): Add all data allocation
  6818.     pseudo-ops: .hword, .int, .long, .octa, .quad, .short, .single.
  6819.  
  6820. Tue Jan 18 15:51:59 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
  6821.  
  6822.     * config/obj-coffbfd.c (obj_coff_endef): For C_EFCN, C_BLOCK and
  6823.     C_FCN assume .val has been set to .
  6824.  
  6825. Tue Jan 18 16:19:58 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6826.  
  6827.     * config/tc-hppa.c: Disable multiple $CODE$ subspace code.  It
  6828.     confuses GDB for some unknown reason.
  6829.     * cofnig/obj-som.c: Likewise.
  6830.  
  6831. Tue Jan 18 19:05:32 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6832.  
  6833.     * literal.c (add_to_literal_pool): Handle duplicates of values
  6834.     already written to literal pool.
  6835.  
  6836. Tue Jan 18 17:23:52 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6837.  
  6838.     * config/obj-aout.c (obj_aout_frob_symbol): Try to get symbols
  6839.     with explicitly marked stabs through BFD: if a symbol marked
  6840.     N_UNDF | N_EXT is in the absolute section, move it to the
  6841.     undefined section; move a symbol marked N_INDR into
  6842.     bfd_ind_section and set the BSF_INDIRECT flag; set the
  6843.     BSF_WARNING flag for a symbol makred N_WARNING.
  6844.  
  6845. Mon Jan 17 15:40:23 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6846.  
  6847.     * ecoff.h (ecoff_set_gp_prolog_size): Declare.
  6848.     * ecoff.c (ecoff_set_gp_prolog_size): Return type is void.
  6849.  
  6850. Mon Jan 17 00:18:55 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6851.  
  6852.     * config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
  6853.     and 'f' template operand.
  6854.  
  6855.     * config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u',
  6856.     and '2' in copr and sfu instruction templates.
  6857.  
  6858. Sun Jan 16 16:44:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6859.  
  6860.     * as.h (subseg_force_new): Add prototype.
  6861.  
  6862. Sat Jan 15 09:20:55 1994  Doug Evans  (dje@canuck.cygnus.com)
  6863.  
  6864.     * app.c (do_scrub_next_char): Allow lines like " foolab :".
  6865.  
  6866.     * read.c (emit_expr): Fix computation of mask.
  6867.     * config/obj-elf.c (obj_elf_section): Fix loop termination test.
  6868.  
  6869. Thu Jan 13 16:15:15 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  6870.  
  6871.     * ecoff.c (ecoff_set_gp_prolog_size): New function.
  6872.     (current_file_idx): New static variable.
  6873.     (add_file): Use and increment current_file_idx instead of indx
  6874.     parameter.
  6875.  
  6876.     * struc-symbol.h (struct symbol): Make all bitfields unsigned.
  6877.  
  6878.     * config/tc-i960.c (i960_validate_fix): Added argument
  6879.     add_symbolPP.  Indirect through it to get "add_symbolP".
  6880.     * config/tc-i960.h (i960_validate_fix): Supply prototype.
  6881.     (TC_VALIDATE_FIX): Pass address of add_symbolP.
  6882.  
  6883.     * configure.in (i386-*-netbsd*): New target, using te-netbsd.h.
  6884.     (i386-*-netbsd0.8): New target, like 386bsd.
  6885.  
  6886.     * configure.in: Set BFDDEF in Makefile to "define" or "undef".
  6887.     * Makefile.in (config.h): Protect against multiple inclusions.
  6888.     Define or undef BFD_ASSEMBLER as specified by $(BFDDEF).
  6889.     (ALL_CFLAGS): Omit $(BFDDEF).
  6890.     * as.h: Include config.h.
  6891.     (struct symbol): Added forward declaration.
  6892.     (add_to_literal_pool): Fix declaration.
  6893.     * as.c: Don't include config.h.
  6894.  
  6895.     * literal.c (add_to_literal_pool): Take symbol and addend as
  6896.     arguments, instead of expression, for now.  Fix calculation of
  6897.     offset to return.
  6898.  
  6899.     * subsegs.h (segment_info_type) [NEED_LITERAL_POOL]: Add field
  6900.     literal_pool_size.
  6901.  
  6902. Thu Jan 13 12:14:21 1994  Jeffrey A. Law  (law@snake.cs.utah.edu
  6903.  
  6904.     * subsegs.c (subseg_get): Accept new argument "force_new".  If
  6905.     set then a new segment is always created.  All callers changed.
  6906.     (subseg_force_new): New function.  Similar to subseg_new, but
  6907.     always force a new segment to be created.
  6908.  
  6909.     * config/obj-som.c (som_frob_file): Call adjust_code_sections
  6910.     for each section.
  6911.     (adjust_code_sections): New function.  Adjusts the VMA for all the
  6912.     $CODE$ subspaces.
  6913.  
  6914.     * config/tc-hppa.c (md_assemble): Also handle creating a fixup
  6915.     for the unwind descriptors if a function's label follows the
  6916.     .PROC and .ENTRY directives.
  6917.     (pa_entry): Don't set BSF_FUNCTION for the label symbol here; it
  6918.     is done elsewhere.  Don't create a fixup for the unwind
  6919.     descriptors if the function's label has not been defined yet.
  6920.     (pa_proc): For SOM, place each procedure within a new $CODE$
  6921.     subspace.  Adjust the segment and frag for the associated
  6922.     function label if it exists.
  6923.  
  6924. Wed Jan 12 22:05:33 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6925.  
  6926.     * config/tc-hppa.c (hppa_fix_struct): Add new "segment" field.
  6927.     (hppa_fix_new): Initialize segment field.
  6928.     (md_apply_fix): Do nothing for pc-relative fixup which involves
  6929.     crossing a segment boundary.
  6930.     (pa_procend): Undefine the current label after handling .PROC
  6931.     and .PROCEND directives.
  6932.     (dummy_symbol): Make type "symbolS *".  Change references as
  6933.     appropriate.
  6934.  
  6935. Wed Jan 12 13:29:31 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6936.  
  6937.     * read.c (read_a_source_file): Cast array argument to unsigned
  6938.     char.
  6939.     * write.c (adjust_reloc_syms): Remove unused variable symseginfo.
  6940.     (write_object_file): Don't define punt_it if it won't be used.
  6941.     (fixup_segment): Don't define skip if it won't be used.
  6942.  
  6943.     * config/tc-mips.h (TARGET_FORMAT): Define as mips_target_format.
  6944.     (mips_target_format): Declare.
  6945.     * config/tc-mips.c (mips_target_format): Define with appropriate
  6946.     default definition.
  6947.     (md_parse_option): If -EL or -EB is used, change byte_order and
  6948.     mips_target_format as appropriate.
  6949.  
  6950. Tue Jan 11 21:52:36 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6951.  
  6952.     * app.c (do_scrub_next_char): Another attempt to fix bugs
  6953.     dealing with labels without colons (for HPPA and MRI).
  6954.  
  6955. Tue Jan 11 17:01:06 1994  Doug Evans  (dje@canuck.cygnus.com)
  6956.  
  6957.     * config/tc-sparc.c (sparc_ip): Truncate args to %hi/%lo to 32 bits.
  6958.  
  6959.     * expr.c (integer_constant): Fix computation of too_many_digits.
  6960.     Variable digit_2 renamed to start.  Fix check for whether number
  6961.     will fit in 32 bits.
  6962.     * read.c (emit_expr): Use valueT instead of long.
  6963.  
  6964. Tue Jan 11 13:01:20 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  6965.  
  6966.     * config/obj-elf.c: If TC_MIPS, include elf/mips.h.
  6967.     (special_sections): Define.
  6968.     (obj_elf_special_section): Get default types and attributes from
  6969.     list of special sections.
  6970.     * config/tc-mips.c (ELF_TC_SPECIAL_SECTIONS): Define.
  6971.  
  6972.     * config/obj-ecoff.c (ecoff_frob_file): Force .sdata and .sbss
  6973.     sections to be close together.
  6974.  
  6975.     * config/tc-mips.c (macro): Corrected $at warnings in a couple of
  6976.     spots.
  6977.  
  6978.     * listing.c (listing_prev_line): New function.
  6979.     * listing.c: Include subsegs.h.
  6980.     (listing_prev_line): New function.
  6981.     (calc_hex): Reset byte_in_frag to zero for each new frag.
  6982.     * config/tc-mips.c (append_insn): Call listing_prev_line after
  6983.     emitting nop instructions.
  6984.     * Makefile.in (listing.o): Depends upon subsegs.h.
  6985.  
  6986. Mon Jan 10 09:52:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
  6987.  
  6988.     * config/tc-hppa.c (pa_ip): Put check for missing label on .PROC
  6989.     here.  Handle case where label may be defined after the .PROC.
  6990.     (pa_proc): It is not an error if the procedure's label isn't
  6991.     defined before the .PROC directive.
  6992.  
  6993. Sun Jan  9 04:43:30 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  6994.  
  6995.     * config/te-netbsd.h: New file.
  6996.     * config/tc-i386.h (TARGET_FORMAT) [TE_NetBSD]: Use bfd target
  6997.     a.out-netbsd-386 for this configuration.
  6998.  
  6999. Fri Jan  7 17:38:28 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7000.  
  7001.     * ecoff.c (ecoff_stab): Don't clobber the ECOFF symbol information
  7002.     with the associated stabs information.
  7003.     (ecoff_build_symbols): Never set the type of stabs symbols to
  7004.     st_Global.  Don't update the symbol index or ifd if the gas symbol
  7005.     is not the same as the ECOFF symbol (which is now the case for
  7006.     stabs symbols).
  7007.  
  7008. Fri Jan  7 11:14:07 1994  Stan Shebs  (shebs@andros.cygnus.com)
  7009.  
  7010.     * config/tc-mips.c (macro): Add a LOSING_COMPILER ifdef that
  7011.     splits the function.
  7012.     (macro2): New function, if LOSING_COMPILER defined.
  7013.  
  7014. Fri Jan  7 09:38:25 1994  Steve Chamberlain  (sac@cygnus.com)
  7015.  
  7016.     * config/obj-coffbfd.c (fill_section):  Don't ever fill past the
  7017.     end of a section. (write_object_file): Temporary fix - setup
  7018.     stdoutput.
  7019.  
  7020. Thu Jan  6 18:05:21 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  7021.  
  7022.     * config/tc-sparc.c (tc_gen_reloc): Fix handling of addends in
  7023.     non-pcrel_offset relocations.
  7024.  
  7025. Thu Jan  6 01:06:40 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7026.  
  7027.     * config/tc-mips.c (mips_ip): Warn about using $1 as well as $at
  7028.     without .set noat.
  7029.  
  7030. Wed Jan  5 14:22:22 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
  7031.  
  7032.     * literal.c: New file.
  7033.     * Makefile.in (REAL_SOURCES, OBJS): List it.
  7034.  
  7035.     * as.h (DEBUG): Don't define.
  7036.     (struct expressionS, struct fix): Declare in case they're used in
  7037.     prototypes.
  7038.     (add_to_literal_pool) [BFD_ASSEMBLER]: Declare.
  7039.  
  7040.     * config/tc-mips.h (TARGET_FORMAT) [OBJ_AOUT]: Fix for new names
  7041.     in bfd.
  7042.  
  7043.     * subsegs.c (subseg_get): New function.  Creates segment if
  7044.     needed, returns pointer, but doesn't change current segment.
  7045.     (subseg_new): Use it.
  7046.  
  7047. Tue Jan  4 15:12:43 1994  Stan Shebs  (shebs@andros.cygnus.com)
  7048.  
  7049.     * Makefile.in (INCLUDES): Add $(srcdir)/.. to places to search.
  7050.     * config/obj-ecoff.c: Include files as "bfd/" instead of "../bfd/".
  7051.     * app.c, flonum.h, hex-value.c (const): Change #if to be more
  7052.     portable.
  7053.  
  7054. Tue Jan  4 22:11:34 1994  Rob Savoye  (rob@darkstar.cygnus.com)
  7055.  
  7056.     * config/ho-vsta.h, configure.in, .Sanitize: Add support for VSTa
  7057.     micro-kernel.
  7058.  
  7059. Thu Dec 30 15:27:16 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7060.  
  7061.     * write.c (write_relocs): bfd_perform_relocation now takes an
  7062.     additional argument, to return an error string (which we ignore).
  7063.  
  7064. Wed Dec 29 14:37:26 1993  Ken Raeburn  (raeburn@cujo.cygnus.com)
  7065.  
  7066.     * write.h (struct fix): Field tc_fix_data should be type PTR, not
  7067.     void*, for compatibility with non-ANSI compilers.  Added
  7068.     single-bit field "fx_done".
  7069.  
  7070. Sun Dec 26 14:31:47 1993  Torbjorn Granlund  (tege@adder.cygnus.com)
  7071.  
  7072.     * tc-hppa.c (pre_defined_registers): Convert to lower case.
  7073.     Delete spurious register names "%r4L", etc.
  7074.     (selector_table): Sort and convert to lower case.
  7075.     (cons_fix_new_hppa): `reloc_type' => `rel_type'.
  7076.     (pa_ip): Always use strcmp for non-text and strcasecmp for text.
  7077.     (reg_name_search): Rewrite to call strcasecmp only once per
  7078.     iteration.
  7079.     (pa_chk_field_selector): Rewrite to use binary search.
  7080.     (pa_parse_neg_add_cmpltr): Use strcasecmp for completer comparisons.
  7081.     (pa_parse_space_stmt): $TEXT$ and $PRIVATE$ are symbols; use case
  7082.     sensitive comparisons.
  7083.     (pa_parse_space_stmt): Canonicalize strncasecmp arg to lower case.
  7084.     (pa_space): "$text$" => "$TEXT$"; "$private$" => "$PRIVATE$".  Use
  7085.     case sensitive comparison for all symbolic names.
  7086.     (pa_subspace): Canonicalize strncasecmp arg to lower case.
  7087.     (pa_subspace_start): Use case sensitive comparison for symbolic names.
  7088.  
  7089. Mon Dec 20 10:37:48 1993  Ken Raeburn  (raeburn@cujo.cygnus.com)
  7090.  
  7091.     * write.c (adjust_reloc_syms) [RELOC_REQUIRES_SYMBOL]: If no
  7092.     symbol is present (i.e., relocation against absolute), create a
  7093.     phony local symbol, and use it in the reloc.
  7094.     (fixup_segment): When adjusting a reloc with an absolute symbol,
  7095.     have TC_FORCE_RELOCATION control clearing add_symbolP too.
  7096.     * config/tc-sparc.h (RELOC_REQUIRES_SYMBOL): Define, for OBJ_COFF.
  7097.  
  7098.     * symbols.c (S_IS_EXTERNAL, S_IS_LOCAL): Don't use both BSF_EXPORT
  7099.     and BSF_GLOBAL, since they're the same.
  7100.  
  7101.     * as.c (main): Only invoke md_end if it's defined as a macro.
  7102.     * tc.h (md_end): Don't declare it.
  7103.     * config/tc-*.[ch] (md_end): Deleted, in cases where it doesn't do
  7104.     anything.
  7105.     * config/tc-vax.c (vip_end): Deleted null function.
  7106.     * config/tc-mips.c (md_mips_end): Renamed from md_end.
  7107.     * config/tc-mips.h (md_mips_end): Declare.
  7108.     (md_end): New macro, calls md_mips_end.
  7109.  
  7110.     * write.c (write_object_file): Don't close output file.
  7111.     * as.c (main): Close output file (if needed) after calling
  7112.     listing_print, which should be after calling write_object_file,
  7113.     which sets the frag addresses.
  7114.  
  7115.     * config/obj-coff.c (obj_coff_dim, obj_coff_endef, obj_coff_line,
  7116.     obj_coff_scl, obj_coff_size, obj_coff_tag, obj_coff_type,
  7117.     obj_coff_val): Add unused int argument to satisfy prototypes; goes
  7118.     with Ian's 10 Sep changes.
  7119.     (S_GET_DATA_TYPE, S_SET_DATA_TYPE, S_GET_STORAGE_CLASS,
  7120.     S_SET_STORAGE_CLASS): Now function instead of macros.
  7121.     (obj_emit_lineno) [BFD_ASSEMBLER]: Deleted.
  7122.     (tag_insert): Local var ERROR_STRING is const.  Use "const" not
  7123.     "CONST" for argument NAME.  Fixed prototype.
  7124.     (coff_frob_symbol): Removed explicit "#if 1" directive.  If
  7125.     S_IS_EXTERNAL, set storage class to C_EXT.
  7126.     (s_get_name): Use "const" not "CONST".
  7127.     * config/obj-coff.h (S_GET_DATA_TYPE, S_SET_DATA_TYPE,
  7128.     S_GET_STORAGE_CLASS, S_SET_STORAGE_CLASS): Deleted.
  7129.     (obj_emit_lineno): Declare only for non-BFD_ASSEMBLER.  For
  7130.     BFD_ASSEMBLER, define as macro that aborts.
  7131.     (obj_extra_stuff, tc_headers_hook): Declare only for
  7132.     non-BFD_ASSEMBLER.
  7133.     (coff_frob_symbol): Fix prototype.
  7134.  
  7135. Sun Dec 19 00:37:20 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  7136.  
  7137.     * config/tc-sparc.c (tc_gen_reloc): Test of pcrel_offset had sense
  7138.     reversed.
  7139.  
  7140. Thu Dec 16 21:13:11 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7141.  
  7142.     * config/tc-hppa.c (md_begin): Initialize "dummy_label".
  7143.     (tc_gen_reloc, SOM version): For relocations which have no symbol,
  7144.     set sym_ptr_ptr to dummy_label.  Avoids lossage in generic BFD code.
  7145.  
  7146. Thu Dec 16 16:07:56 1993  Ken Raeburn  (raeburn@cujo.cygnus.com)
  7147.  
  7148.     * read.c (lex_type): No longer make '[' a valid character for
  7149.     symbol names.
  7150.  
  7151.     * config/tc-vax.c (tc_aout_fix_to_chars): Local variable
  7152.     NBYTES_R_LENGTH now const.
  7153.  
  7154.     * config/obj-*.c, config/tc-*.c: Omit superfluous "return"
  7155.     statements at ends of functions.  Don't check for null return from
  7156.     hash_new, since it won't return at all if there's no memory
  7157.     available.  Also, check for null return from hash_insert, rather
  7158.     than zero-length string, as success indicator.
  7159.  
  7160.     * subsegs.c (section_symbol): New function.
  7161.     * subsegs.h (section_symbol): Declare.
  7162.     * write.c (adjust_reloc_syms): Use it.
  7163.  
  7164. Wed Dec 15 15:39:53 1993  Ken Raeburn  (raeburn@cujo.cygnus.com)
  7165.  
  7166.     * Makefile.in (RUNTEST): New variable.
  7167.     (CHECKFLAGS): Pass it down.
  7168.  
  7169.     * ecoff.c (ecoff_directive_frame): Permit extra trailing operands;
  7170.     unused for now, but supplied by Alpha OSF1 compiler.
  7171.  
  7172.     * as.h: Protect against multiple inclusions.
  7173.     (int_to_gen): Don't declare.
  7174.  
  7175.     * config/atof-vax.c (atof_vax): NULL is not a valid character
  7176.     constant.
  7177.  
  7178. Tue Dec 14 21:38:25 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7179.  
  7180.     * configure.in (hppa*-*-osf*): Do not consider this a developmental
  7181.     configuration.
  7182.  
  7183.     * config/tc-hppa.c (md_apply_fix): Handle cases where no
  7184.     relocation will be emitted for 32bit formats.
  7185.  
  7186. Mon Dec 13 23:33:40 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7187.  
  7188.     * config/tc-hppa.c (md_apply_fix): Do not call hppa_field_adjust
  7189.     for any of the 'T' field selectors.
  7190.  
  7191. Sat Dec 11 11:23:12 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
  7192.  
  7193.     * config/tc-h8500.c (build_bytes): Get reloc type right for a
  7194.     %page operation. (md_assemble): Don't modify input_line_pointer.
  7195.     (mdcoff_sizemachdep): New function.
  7196.     * config/tc-h8500.h (TC_COFF_SIZEMACHDEP): New macro.
  7197.     * config/tc-z8k.c (get_operand): Delete bogus check.
  7198.  
  7199. Wed Dec  8 16:31:51 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
  7200.  
  7201.     * write.c (number_to_chars_*): Delete bogus range check.
  7202.  
  7203.     * output-file.c (TARGET_ARCH): No default.
  7204.  
  7205. Tue Dec  7 16:02:53 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
  7206.  
  7207.     * config/tc-sh.c (md_convert_frag): Truncate disps before calling
  7208.     md_number_to_chars.  (md_assemble): Don't modify
  7209.     input_line_pointer.
  7210.  
  7211. Mon Dec  6 11:49:03 1993  Doug Evans  (dje@canuck.cygnus.com)
  7212.  
  7213.     * config/tc-h8300.c (md_assemble): Don't update input_line_pointer.
  7214.  
  7215. Mon Dec  6 11:20:02 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7216.  
  7217.     * config/obj-som.[ch] (obj_read_begin_hook): Remove last change.
  7218.     Breaks with the HP compilers.
  7219.  
  7220.     * config/tc-hppa.c (struct call_info): Remove fields which were
  7221.     set but never used.  Remove all code which sets those fields.
  7222.     (struct subspace_dictionary_chain): Likewise.
  7223.     (struct space_dictionary_chain): Likewise.
  7224.     (pa_desc): Delete useless function.  Delete all references.
  7225.     (hppa_tc_make_sections): No need to count the number of symbols for
  7226.     the symbol extension section.
  7227.  
  7228. Sun Dec  5 17:05:29 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7229.  
  7230.     * config/obj-som.c (obj_som_version): Pass version string to
  7231.     SOM BFD backend.
  7232.     (obj_som_copyright): New function.  Much like obj_som_version.
  7233.  
  7234.     * config/tc-hppa.c (obj_copyright): Define as appropriate for
  7235.     SOM and ELF.
  7236.     (pa_copyright): Just a stub now.
  7237.  
  7238.     * config/obj-som.c (obj_read_begin_hook): Delete unused function.
  7239.     * config/obj-som.h (obj_read_begin_hook): Provide dummy definition.
  7240.     (TARGET_SYMBOL_FIELDS): Delete.  SOM isn't making use of them.
  7241.  
  7242.     * config/tc-hppa.c (tc_gen_reloc, SOM version): Handle relocation
  7243.     expansion due to rounding mode selectors.  Handle R_[RDSN]_MODE
  7244.     relocations for selecting the current rounding mode.
  7245.  
  7246.     * config/tc-hppa.c (evaluate_absolute): Support e_rrsel and
  7247.     e_rlsel field selectors.
  7248.  
  7249. Fri Dec  3 18:33:24 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7250.  
  7251.     * config/obj-elf.h: If ECOFF_DEBUGGING, undef
  7252.     SEPARATE_STAB_SECTIONS and INIT_STAB_SECTION, and define
  7253.     OBJ_PROCESS_STAB to call ecoff_stab.
  7254.     * config/obj-elf.c: Don't compile obj_elf_init_stab_section if
  7255.     INIT_STAB_SECTION is not defined.
  7256.  
  7257. Fri Dec  3 10:56:40 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7258.  
  7259.     * config/tc-hppa.c (md_apply_fix): Delete old wrapper function.
  7260.     (md_apply_fix_1): Rename to md_apply_fix.  Fix argument decls.
  7261.     Fix comments in various places.  Always return a value.
  7262.     Avoid dereferencing a NULL fx_addsy.
  7263.     (hppa_force_relocation): Avoid dereferencing a NULL fx_addsy.
  7264.  
  7265.     Fri Dec  3 09:47:30 1993  Pete Hoogenboom  (hoogen@cs.utah.edu)
  7266.  
  7267.     * tc-hppa.c: (tc_gen_reloc): Addend for a plabel relocation should
  7268.     be either 0 or 2 (no static link or static link required).  Always
  7269.     assume no static link.
  7270.  
  7271. Thu Dec  2 11:52:21 1993  Ken Raeburn  (raeburn@cygnus.com)
  7272.  
  7273.     * config/tc-sparc.c (tc_gen_reloc): Make adjustment to addend be
  7274.     dependent on howto fields, not on format flavour.
  7275.  
  7276.     * struc-symbol.h (struct symbol): New fields sy_obj and sy_tc,
  7277.     defined as types OBJ_SYMFIELD_TYPE and TC_SYMFIELD_TYPE, if those
  7278.     macros are defined.
  7279.     * config/obj-coff.h (TC_SYMFIELD_TYPE, OBJ_SYMFIELD_TYPE): Define.
  7280.     (TARGET_SYMBOL_FIELDS, I960_SYM_FIELDS): Don't define.
  7281.     (sy_tc, sy_obj): Define so that the fields look like they used to,
  7282.     until all references get changed.
  7283.  
  7284.     * write.c (fixup_segment): Lots of variables no longer register.
  7285.     Reordered some code for easier reading.
  7286.     * config/obj-coff.c (obj_coff_dim): dim_index no longer register.
  7287.     Deleted superfluous return statement.
  7288.     (obj_coff_line, obj_coff_size, obj_coff_scl, obj_coff_type,
  7289.     obj_coff_val, tag_init, tag_insert): Deleted superfluous return
  7290.     statement.
  7291.     (align, obj_coff_section): Deleted debugging printfs.
  7292.     * config/tc-i386.c (md_assemble): Discard some register decls.
  7293.     Use assignment rather than memcpy to copy template.
  7294.     (op_hash, reg_hash, prefix_hash): Default C initialization of
  7295.     statics is sufficient.
  7296.     * config/tc-sparc.c (print_insn): Array Reloc is now const, and
  7297.     points to const.
  7298.  
  7299.     * config/obj-coff.h (TARGET_FORMAT): Only use coff-sparc-lynx if
  7300.     TE_LYNX; use coff-sparc otherwise.
  7301.     [USE_NATIVE_HEADERS]: Delete this code; it isn't used.
  7302.  
  7303.     * write.c (fixup_segment): Call TC_VALIDATE_FIX, if defined,
  7304.     before processing a fixup.  Call TC_ADJUST_RELOC_COUNT just before
  7305.     returning.  Remove some i960-coff-specific code.
  7306.     (TC_ADJUST_RELOC_COUNT): Default to doing nothing.
  7307.     * config/tc-i960.h (TC_ADJUST_RELOC_COUNT) [OBJ_COFF]: Define.
  7308.     (i960_validate_fix): Declare.
  7309.     (TC_VALIDATE_FIX): Define.
  7310.     * config/tc-i960.c (i960_validate_fix): New function.
  7311.  
  7312.     * write.c (number_to_chars_littleendian): New function.  Write out
  7313.     bytes in little endian order, doing size and range checking.
  7314.     (number_to_chars_bigendian): New function, similar.
  7315.     * write.h: Declare them.
  7316.     * config/tc-*.c (md_number_to_chars): Use them.
  7317.     * config/tc-vax.c (md_apply_fix): Ditto.
  7318.     * config/tc-i386.c (md_apply_fix): Ditto.
  7319.  
  7320.     * config/obj-coff.c: Rearranged code for handling line number
  7321.     data.
  7322.     (line_fsym): Renamed from function_lineoff in BFD_ASSEMBLER case,
  7323.     since the usage is different from non-BFD_ASSEMBLER case.
  7324.     (in_function, clear_function, set_function): New macros, to
  7325.     combine some of the functionality implemented in differnet ways in
  7326.     BFD_ASSEMBLER and non-... code.  Used in other functions that used
  7327.     to check function_lineoff &c.
  7328.     (obj_emit_lineno): Split into two copies, one for BFD_ASSEMBLER,
  7329.     one for not.  Non-BFD_ASSEMBLER version now has temporary variable
  7330.     to contain char* pointer pointed to by char** argument.  Always
  7331.     follow CROSS_COMPILE code; easier to read that way.
  7332.     (obj_coff_ln): Don't call add_lineno or c_line_new if appline is
  7333.     set.
  7334.     (obj_coff_endef) [BFD_ASSEMBLER]: Don't do anything special for
  7335.     ".bf", it's been done elsewhere.
  7336.     (coff_frob_symbol): If ilne number data is pending, call
  7337.     add_linesym to flush it.
  7338.     (coff_frob_file): Don't do that here.
  7339.     * config/obj-coff.h (coff_frob_file): Declare.
  7340.     (obj_frob_file): Define, to call it.
  7341.  
  7342.     * config/tc-sparc.h (md_create_short_jump, md_create_long_jump,
  7343.     md_estimate_size_before_relax: Define them as macros calling
  7344.     as_fatal.
  7345.     * config/tc-sparc.c: Don't define them as functions.
  7346.  
  7347.     * configure.in: Handle target alpha-*-osf*.  (No cpu files yet.)
  7348.  
  7349. Wed Dec  1 23:37:14 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7350.  
  7351.     * Makefile (clean): Depend on clean-here.
  7352.  
  7353. Wed Dec  1 11:35:21 1993  Ken Raeburn  (raeburn@cujo.cygnus.com)
  7354.  
  7355.     * config/ho-go32.h: Include fopen-bin.h.
  7356.     * as.h: If FOPEN_WB isn't defined, include fopen-same.h.
  7357.     * output-file.c (output_file_create): Use FOPEN_WB instead of "w".
  7358.     * input-file.c (input_file_open): Use FOPEN_RT instead of "r".
  7359.     * listing.c (file_info): Use FOPEN_RB instead of "rb".
  7360.     * read.c (s_include): Use FOPEN_RT instead of "r".
  7361.  
  7362.     * stabs.c: Include obstack.h.
  7363.  
  7364.     * tc.h (md_create_long_jump): Don't declare if it's already
  7365.     defined as a macro.
  7366.     (md_create_short_jump, md_estimate_size_before_relax): Ditto.
  7367.  
  7368.     * messages.c (as_perror) [BFD_ASSEMBLER]: Use bfd_errmsg instead
  7369.     of strerror.  Clear bfd_error.
  7370.  
  7371.     * config/te-lynx.h (LOCAL_LABELS_FB): Define, if not already
  7372.     defined.
  7373.  
  7374. Wed Dec  1 10:41:56 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7375.  
  7376.     * config/tc-hppa.c (hppa_elf_mark_end_of_function): New function.
  7377.     (pa_process_exit, pa_procend): Call it for ELF objects.
  7378.  
  7379. Wed Dec  1 12:10:41 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7380.  
  7381.     * config/tc-mips.c (macro): Subtract 8 from offset in non PIC l.d
  7382.     case.  See comment.  From wilson@cygnus.com: for M_L_DAB, set
  7383.     coproc before doing goto ld.
  7384.  
  7385. Tue Nov 30 13:40:30 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7386.  
  7387.     * write.c (TC_FORCE_RELOCATION): Provide a default definition.
  7388.     (fixup_segment): Allow the target machine to specify that a
  7389.     relocation must be generated for a particular fixup.  Remove
  7390.     #ifndef TC_HPPA hack.
  7391.  
  7392.     * config/tc-hppa.h (TC_FORCE_RELOCATION): Define.
  7393.  
  7394.     * config/tc-hppa.c (md_apply_fix_1): Never change fx_addsy to
  7395.     be NULL.  Only fixup_segment is supposed to do that.
  7396.     (hppa_force_relocation): New function.
  7397.  
  7398. Tue Nov 30 11:21:41 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7399.  
  7400.     * Makefile.in (stabs.o): Added dependencies.
  7401.  
  7402.     * config/obj-ecoff.c (ecoff_frob_file): Don't call bfd_set_symtab.
  7403.  
  7404. Sun Nov 28 12:11:40 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7405.  
  7406.     * app.c (do_scrub_next_char): Output a TAB before any
  7407.     .app* directive.
  7408.  
  7409.     * config/tc-hppa.c (fix_new_hppa): Make sure a sub_symbol
  7410.     exists before trying to peek at its name.
  7411.     (pa_space): Do not call pa_align_subseg.  See hppa/unsorted/align3.s
  7412.     for testcase.
  7413.     (pa_align_subseg): Delete unused/unwanted function.
  7414.  
  7415. Sat Nov 27 22:49:07 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7416.  
  7417.     * read.c (read_a_source_file): Fix test for when to stick a colon
  7418.     on the end of a label.  Make code conditional on either MRI or
  7419.     LABELS_WITHOUT_COLONS.
  7420.  
  7421.     * app.c (do_scrub_next_char): If a line begins with whitespace, leave
  7422.     the single whitespace character alone.  Eat all others.
  7423.  
  7424.     * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define.
  7425.  
  7426. Wed Nov 24 01:22:54 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7427.  
  7428.     * config/tc-hppa.c (pa_procend): Do not call process_exit.
  7429.     (exit_processing_complete): Delete unwanted variable and all
  7430.     references.
  7431.  
  7432. Wed Nov 24 02:31:38 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7433.  
  7434.     * ecoff.c (ecoff_setup_ext): Renamed from ecoff_build_ext.
  7435.     Changed to not actually build the external symbol information, as
  7436.     that is now done by the ECOFF back end.
  7437.     (ecoff_build_debug): Changed accordingly.
  7438.     * ecoff.h (obj_ecoff_set_ext): Declare.   obj-format.c function
  7439.     called by ecoff_setup_ext.
  7440.     * config/obj-ecoff.c (ecoff_frob_file): If debug_info count is 0,
  7441.     set corresponding pointer to NULL.  Don't set raw_size and
  7442.     raw_syments.
  7443.     (obj_ecoff_set_sym_index): Removed.
  7444.     (obj_ecoff_set_ext): New function.
  7445.     * config/obj-ecoff.h (obj_set_sym_index): Don't define.
  7446.     (obj_ecoff_set_sym_index): Don't declare.
  7447.     * config/obj-elf.c (obj_ecoff_set_ext, elf_get_extr,
  7448.     elf_set_index): New functions used for ECOFF_DEBUGGING.
  7449.     (elf_frob_file): Reworked ECOFF debug generation to use
  7450.     new functions in bfd/ecofflink.c.
  7451.  
  7452. Sun Nov 21 23:54:52 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7453.  
  7454.     * config/tc-hppa.c (pa_def_subspaces): Only create the unwind
  7455.     subspace for ELF.  In the SOM world, the linker is responsible
  7456.     for creating the unwind subspaces.
  7457.  
  7458. Fri Nov 19 16:25:09 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7459.  
  7460.     * config/obj-coffbfd.c: Use PARAMS rather than EXFUN.
  7461.     (yank_symbols): Don't call S_SET_EXTERNAL if the storage class is
  7462.     already set.  Fixes .def var; .val external_var; .scl 3; .endef.
  7463.     (adjust_stab_section): Make static.  Declare return type.  Remove
  7464.     unused variables.
  7465.  
  7466.     * config/tc-i386.h: Declare tc_coff_fix2rtype and
  7467.     tc_coff_sizemachdep.
  7468.  
  7469. Fri Nov 19 04:33:59 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  7470.  
  7471.     * write.c (write_object_file): Disable obj_check_file_symbols
  7472.     hook; only back end using it wasn't using it correctly.
  7473.     (write_object_file): Always call obj_frob_symbol and
  7474.     tc_frob_symbol; always retain symbol if it's used by a relocation,
  7475.     regardless of what these routines indicate.
  7476.     * config/obj-coff.c (coff_frob_symbol): Renamed from
  7477.     coff_check_file_symbols.
  7478.     * config/obj-coff.h (obj_check_file_symbols): Deleted.
  7479.     (coff_frob_symbol): Declare.
  7480.     (obj_frob_symbol): Call it.
  7481.  
  7482.     * config/obj-coff.c (obj_crawl_symbol_chain, obj_emit_strings,
  7483.     obj_pre_write_hook): Don't define for BFD_ASSEMBLER.
  7484.     (c_section_header): Ditto.  Delete superfluous return at end of
  7485.     function.
  7486.  
  7487.     * config/obj-coff.h [TC_SPARC]: Include coff/sparc.h, and specify
  7488.     coff-sparc-lynx.
  7489.     (SA_GET_SYM_TAGNDX): Use BFD_HEADERS version for BFD_ASSEMBLER
  7490.     too.
  7491.     (c_section_header): Rewrite prototype so that it contains no
  7492.     preprocessing directives.  Don't declare it at all if
  7493.     BFD_ASSEMBLER.
  7494.  
  7495.     * configure.in (sparc*-*-lynxos): New target, using coff and
  7496.     BFD_ASSEMBLER.
  7497.  
  7498.     * stabs.c: New file.
  7499.     * Makefile.in (REAL_SOURCES, OBJS): List it.
  7500.     * read.c (STAB_SECTION_NAME, STAB_STRING_SECTION_NAME,
  7501.     get_stab_string_offset, s_stab_generic, s_stab, s_xstab, s_desc):
  7502.     Moved to new file.
  7503.  
  7504.     * config/tc-sparc.c (tc_gen_reloc): Handle coff files like elf
  7505.     files.
  7506.  
  7507. Wed Nov 17 17:23:53 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7508.  
  7509.     * configure.in (mips-*-irix5*): New target.  Use elf and mips-big.
  7510.     * config/obj-elf.c: If ECOFF_DEBUGGING, include ecoff.h.
  7511.     (obj_pseudo_table): If ECOFF_DEBUGGING, define ECOFF
  7512.     pseudo-ops.
  7513.     (obj_read_begin_hook): If ECOFF_DEBUGGING, call
  7514.     ecoff_read_begin_hook.
  7515.     (obj_symbol_new_hook): If ECOFF_DEBUGGING, call
  7516.     ecoff_symbol_new_hook.
  7517.     (obj_elf_init_stab_section): Cast alloca result.
  7518.     (elf_frob_file): If ECOFF_DEBUGGING, finish up ECOFF debugging
  7519.     information and write it out into .mdebug section.
  7520.     * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): New macro.
  7521.     (TARGET_SYMBOL_FIELDS): Use ELF_TARGET_SYMBOL_FIELDS.
  7522.     (ECOFF_DEBUGGING): Define if TC_MIPS.
  7523.     (TARGET_SYMBOL_FIELDS): If ECOFF_DEBUGGING, override to add
  7524.     fields required by ECOFF.
  7525.     * config/tc-mips.c: Check ECOFF_DEBUGGING rather than
  7526.     OBJ_ECOFF in many cases.
  7527.     (mips_any_noreorder): New variable.
  7528.     (mips_cprestore_offset): Initialize to -1.
  7529.     (mips_frame_reg): New variable.
  7530.     (RELAX_ENCODE, RELAX_OLD, RELAX_NEW, RELAX_RELOC1,
  7531.     RELAX_RELOC2, RELAX_RELOC3, RELAX_WARN): New macros.
  7532.     (md_pseudo_table): Handle "gpword" and "cpadd".
  7533.     (md_begin): Initialize ok to false.  If OBJ_ELF, set alignment
  7534.     of text, data and bss sections to 4.  Set alignment of
  7535.     .reginfo section to 2.  If ECOFF_DEBUGGING, create .mdebug
  7536.     section.
  7537.     (ALIGN_ERR, ALIGN_ERR2): Removed unused and useless alignment
  7538.     check.
  7539.     (append_insn, macro_build, macro_build_lui): Take place
  7540.     argument.  Changed all callers.
  7541.     (append_insn): If appending a nop, don't emit one.
  7542.     (macro_build): Changed assertion for 'i', 'j', 'o' case.
  7543.     (gp_reference): Removed.
  7544.     (load_address): New function.
  7545.     (macro): If mips_noreorder is used, set mips_any_noreorder.
  7546.     Extensive changes to handle GP and PIC symbols differently.
  7547.     Build both possible code choices using a variant frag, and
  7548.     make a final decision at the end of assembly when all
  7549.     information is known.  Added PIC support for all symbol
  7550.     references.
  7551.     (mips_ip): Don't permit anything but a number after $ for a
  7552.     coprocessor register.  Don't use .lit4 or .lit8 sections when
  7553.     generating PIC code.  If OBJ_ELF, set alignment of .lit4 or
  7554.     .lit8 section to 4.
  7555.     (md_apply_fix): Accept and ignore GOT16 and GPREL32 relocs.
  7556.     (s_change_sec): Set alignment of ELF .rodata or .sdata section
  7557.     to 4.
  7558.     (s_mipsset): If .set noreorder, set mips_any_noreorder.
  7559.     (s_cpload): Ignore .cpload if not generating PIC code.  Warn
  7560.     if .cpload is not in noreorder section.
  7561.     (s_cprestore): Ignore .cprestore if not generating PIC code.
  7562.     (s_gpword, s_cpadd): New functions.
  7563.     (tc_get_register): Added frame argument; if true, set
  7564.     mips_frame_reg to return value.  Changed all callers.
  7565.     (md_estimate_size_before_relax): Don't error out, but instead
  7566.     determine how much a frag should grow.
  7567.     (tc_gen_reloc): Return multiple relocs if appropriate, as
  7568.     determined by md_estimate_size_before_relax.
  7569.     (md_convert_frag): New function.
  7570.     (mips_elf_final_processing): Set ELF header flags based on
  7571.     mips_any_noreorder and mips_pic.
  7572.     * config/tc-mips.h (RELOC_EXPANSION_POSSIBLE): Define.
  7573.     (MAX_RELOC_EXPANSION): Define to be 3.
  7574.     (md_relax_frag): Define to be 0.
  7575.     (md_convert_frag): Don't define.
  7576.     (tc_get_register): Changed declaration.
  7577.  
  7578.     * ecoff.h, ecoff.c: New files pulled out of config/obj-ecoff.c to
  7579.     support generating ECOFF debugging information for MIPS ELF
  7580.     targets.  Compiled only if ECOFF_DEBUGGING is defined.  Changed
  7581.     handling of external symbols: it now always generates exactly
  7582.     those external symbols that are defined in the global symbol list.
  7583.     * Makefile.in (REAL_SOURCES): Added ecoff.c.
  7584.     (REAL_HEADERS): Added ecoff.h.
  7585.     (OBJS): Added ecoff.o.
  7586.     (ecoff.o): New target.
  7587.     * config/obj-ecoff.c: Almost entirely moved into ecoff.c.
  7588.     Remaining code mostly just calls ecoff.c code.
  7589.     * config/obj-ecoff.h: Define ECOFF_DEBUGGING.
  7590.     (TARGET_SYMBOL_FIELDS): Make ecoff_symbol a pointer to a
  7591.     struct localsym.
  7592.     (obj_read_begin_hook, obj_symbol_new_hook): Define to call
  7593.     functions in ecoff.c.
  7594.     (ecoff_stab): Don't declare (now declared in ecoff.h).
  7595.     (obj_set_sym_index): Define.
  7596.     (obj_ecoff_set_sym_index): Declare.
  7597.  
  7598.     * frags.h (frag_grow): Declare.
  7599.     * frags.c (frag_grow): Made non-static.
  7600.  
  7601.     * write.c (is_dnrange): Do not define if md_relax_frag is defined.
  7602.     (relax_segment): If md_relax_frag is defined, use it to handle a
  7603.     frag of type rs_machine_dependent rather than looking through
  7604.     md_relax_table.
  7605.  
  7606.     * read.c (read_a_source_file): If we find a bad pseudo-op,
  7607.     do a continue to go on to the next line rather than a break.
  7608.     Removed duplicate bad pseudo-op code which was never executed.
  7609.  
  7610.     * read.c (s_lcomm): Do not require a comma after the name.
  7611.  
  7612.     * subsegs.h (segment_info_type): Changed hadone field to bitfield.
  7613.     Added bss bitfield.
  7614.     * as.c (perform_an_assembly_pass): Set bss flag for bss_section.
  7615.     * read.c (s_lcomm): Set bss flag for .sbss section if used.
  7616.     * write.c (relax_and_size_seg): Don't set SEC_HAS_CONTENTS for a
  7617.     bss section.  Set SEC_RELOC if there are any relocations, even for
  7618.     a zero size section.
  7619.  
  7620.     * write.c (write_relocs): In RELOC_EXPANSION_POSSIBLE case, base
  7621.     data offset on reloc[0]->address rather than reloc[j]->address, so
  7622.     that multiple relocs can affect different memory locations.
  7623.  
  7624.     * write.c (chain_frchains_together, relax_and_size_seg,
  7625.     adjust_reloc_syms, write_relocs): Make third argument PTR, not
  7626.     char *, to match definition of bfd_map_over_sections.
  7627.  
  7628.     * app.c (do_scrub_next_char): Don't interpret a comment character
  7629.     as starting a CPP line directive unless it is a '#' and is the
  7630.     very first characters on the line (i.e., do not permit leading
  7631.     whitespace).
  7632.  
  7633.     * messages.c (identify): Make file argument non-const, to match
  7634.     callers.
  7635.  
  7636. Tue Nov 16 20:38:21 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7637.  
  7638.     * config/tc-hppa.c (pa_ip): Fix thinko in 21bit range check.
  7639.  
  7640. Sat Nov 13 18:22:48 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
  7641.  
  7642.     * config/tc-sh.c (md_apply_fix): Cope with IMM16 type too.
  7643.     * config/tc-z8k.c (build_bytes, md_apply_fix): Understand nDISP7
  7644.     relocs.
  7645.  
  7646. Fri Nov 12 16:51:47 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7647.  
  7648.     * config/tc-hppa.[ch]: Fix assorted trivial indention problems.
  7649.     * config/obj-som.c (obj_som_version): Add missing ';'.
  7650.     (som_frob_file): Delete whitespace at EOL.
  7651.  
  7652. Fri Nov 12 15:26:21 1993  Ken Raeburn  (raeburn@cygnus.com)
  7653.  
  7654.     * Makefile.in (VERSION): Updated following 2.2 release.
  7655.  
  7656. Fri Nov 12 14:52:17 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7657.  
  7658.     * config/tc-hppa.c (hppa_fix_struct): Use a real type for the
  7659.     field selector, rather than an int.  All uses of field selectors
  7660.     fixed.
  7661.     (tc_gen_reloc): For SOM PLABELs, always set addend to zero for now.
  7662.     (md_apply_fix_1): Do not call hppa_field_adjust for any PLABEL
  7663.     field.
  7664.  
  7665.     Thu Nov 11 15:49:08 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7666.  
  7667.     * config/tc-hppa.c (pa_type_args): For .import statements,
  7668.     silently ignore attempt to change the symbol type for a function
  7669.     from ST_ENTRY to ST_CODE on .import.
  7670.  
  7671. Wed Nov 10 16:19:13 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7672.  
  7673.     * write.h (fixS): Rename fx_callj field to fx_tcbit.
  7674.     * write.c, config/obj-coff.c, config/obj-coffbfd.c,
  7675.     config/tc-i960.c: Corresponding changes.
  7676.  
  7677. Tue Nov  9 00:49:01 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7678.  
  7679.     * Makefile.in (distclean): Delete config-stamp and config.h
  7680.  
  7681.     * config/tc-hppa.c (evaluate_absolute): Avoid relying on
  7682.     ANSI-C features.
  7683.  
  7684.     * config/tc-hppa.c (pa_type_args): Renamed from pa_export_args.
  7685.     Accept new argument "is_export".  All callers changed.  When
  7686.     processing a .export directive for a function, do not allow
  7687.     the user to set the type to "CODE", instead warn and set the
  7688.     type to "ENTRY".
  7689.  
  7690. Mon Nov  8 12:05:07 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7691.  
  7692.     * config/tc-mips.c (mips_ip, printInsn): Handle 'k' (from Ted
  7693.     Lemon <mellon@pepper.ncd.com>).
  7694.     (mips_ip): Permit odd numbered floating point registers if -mips3.
  7695.     (macro): Use BFD_RELOC_MIPS_LITERAL relocation for M_LI_SS.
  7696.  
  7697. Mon Nov  8 07:45:01 1993  Doug Evans  (dje@canuck.cygnus.com)
  7698.  
  7699.     * configure.in: Remove h8300h, we have multilib now.
  7700.  
  7701. Mon Nov  8 06:09:18 1993  D. V. Henkel-Wallace  (gumby@cirdan.cygnus.com)
  7702.  
  7703.     * configure.in: Support generic netware as being ELF format.
  7704.             Recognise unixware if the user supplies it.
  7705.  
  7706. Sun Nov  7 01:02:08 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7707.  
  7708.     * First cut at cleaning up PA instruction parsing.
  7709.     * config/tc-hppa.c (pa_get_absolute_expression): Accept pointer to
  7710.     insn structure as an argument, and a pointer to a string.  All
  7711.     callers changed.  Always read any field selector here.  Call
  7712.     evaluate absolute to get a return value.
  7713.     (evaluate_absolute): Addept pointer to insn structure as its
  7714.     argument.  All callers changed.
  7715.     (INSERT_FIELD_AND_CONTINUE): New macro for inserting a bitfield
  7716.     into an instruction and continuing the main pa_ip loop.
  7717.     (CHECK_FIELD): New macro for simple range checking of fields.
  7718.     (pa_ip): Delete unused variables.  Use INSERT_FIELD_AND_CONTINUE
  7719.     and CHECK_FIELD.  All immediate fields now pass through
  7720.     pa_get_absolute_expression which will also handle field selectors.
  7721.     Delete dead code.  Simplify.
  7722.     (md_apply_fix_1): Use CHECK_FIELD to verify any fixes that are
  7723.     applied are in range.  Use bfd_put_32 rather than inserting each
  7724.     byte of the fixed instrution into the buffer ourselves.
  7725.  
  7726.     * write.c (fixup_segment): Delete {SEG,GLOBAL}_DIFF_ALLOWED code,
  7727.     it was PA specific and is no longer needed (it's now handled
  7728.     within the PA backend).
  7729.     * config/tc-hppa.h (SEG_DIFF_ALLOWED): Delete definition.
  7730.     * config/tc-hppa.c (fix_new_hppa): If the subtract symbol for
  7731.     a fixup is $global$ change it to NULL as $global$ is really only
  7732.     needed long enough to determine the base type of relocation to use.
  7733.  
  7734.     * config/tc-hppa.c (create_new_subspace): Initialize subspace_defined.
  7735.  
  7736.     * config/tc-hppa.c (pa-ip, case 'z'): Make field selectors work
  7737.     for 'z' operands (target of ble branch).
  7738.  
  7739. Sat Nov  6 22:41:57 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7740.  
  7741.     * config/tc-hppa.c: (update_subspace): Fix type and name of last
  7742.     parameter.  All callers fixed.
  7743.     (md_begin, pa_chk_field_selector, pa_entry): Lint.
  7744.  
  7745.     * config/tc-hppa.c (cons_fix_new_hppa): Reset field selector
  7746.     to default state after it's been used.
  7747.  
  7748. Fri Nov  5 12:08:21 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7749.  
  7750.     * config/obj-som.c (obj_som_init_stab_section): Change
  7751.     space/subspace sort keys for the stab sections so as to avoid
  7752.     bugs in the hp linker and pxdb.
  7753.  
  7754. Thu Nov  4 17:00:05 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7755.  
  7756.     * write.c (chain_frchains_together): Update pointer to last
  7757.     frag for a segment in the seginfo structure.
  7758.  
  7759. Thu Nov 04 09:09:35 1993  Jeffrey Wheat  (cassidy@cygnus.com)
  7760.  
  7761.     *  Makefile.in: Changed RUNTESTFLAGS to RUNTEST_FLAGS
  7762.  
  7763. Wed Nov  3 12:16:27 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
  7764.  
  7765.     * write.c (fixup_segment): Handle conversion of subtraction to
  7766.     pc-relative addressing even if pc-relative flag is already set.
  7767.  
  7768.     * config/tc-m68k.c (m68k_ip_op): Use strchr, not index.  Don't
  7769.     declare either.
  7770.  
  7771.     * doc/Makefile.in (distclean): Delete intermediate files from dvi
  7772.     build, but not the dvi or info files.
  7773.     * Makefile.in (clean-here): New target; cleans up current
  7774.     directory only.
  7775.     (distclean): Use it instead of clean.
  7776.  
  7777.     * read.c (s_xstab): Don't use alloca.
  7778.  
  7779.     * messages.c (identify): New routine; print message identifying
  7780.     following messages as coming from assembler.
  7781.     (as_show_where, as_bad_internal, as_bad_where): Call it.
  7782.     (as_fatal): Don't need to identify program any more.
  7783.  
  7784. Tue Nov  2 18:04:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7785.  
  7786.     * config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
  7787.  
  7788.     * read.c (s_lcomm): Put small objects in .sbss for MIPS ELF as
  7789.     well as MIPS ECOFF.
  7790.     (get_stab_string_offset): Remove unused variable aligned.
  7791.  
  7792. Tue Nov  2 15:07:07 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7793.  
  7794.     * tc-hppa.c: Add %dp and %rp as synonyms for %r27 and %r2 in the
  7795.     predefined register table.
  7796.     (pa_parse_number): Handle %rp in common register shortcut code.
  7797.     Consistently set return value to -1 for an error.  Clean up error
  7798.     messages and only print them when "print_errors" is true.  Handle
  7799.     empty string case like the HP assembler -- assume a value of
  7800.     zero.
  7801.  
  7802.     * config/ho-hpux.h: Do not include ho-sysv.h.  Instead include
  7803.     standard hpux include files to pick up various function decls.
  7804.  
  7805.     * config/ho-hppaosf.h: Delete _IO* macros.  They are defined in
  7806.     stdio.h.  Delete bogus declaration of free.  Get path to
  7807.     alloca-conf.h right.
  7808.  
  7809. Tue Nov  2 13:57:30 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
  7810.  
  7811.     * expr.c (operand): Fix checks for characters following "0b" or
  7812.     "0f".
  7813.  
  7814. Mon Nov  1 21:37:04 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7815.  
  7816.     * config/obj-som.h (obj_attach_unwind_info): Define as a hook
  7817.     so GAS can attach unwind descriptor information to a BFD symbol.
  7818.     * config/tc-hppa.c (fix_new_hppa): If necessary attach unwind
  7819.     descriptor information to the BFD symbol.
  7820.     (md_apply_fix): R_HPPA_ENTRY and R_HPPA_EXIT can never be "applied",
  7821.     they are simply markers.  Make R_HPPA_UNWIND_* handling OBJ_ELF
  7822.     dependent.
  7823.     (pa_build_unwind_subspace): Whole function is OBJ_ELF dependent.
  7824.     (pa_entry): Build a R_HPPA_ENTRY relocation when configured for SOM.
  7825.     (pa_exit): Likewise, but built a R_HPPA_EXIT relocation.  Do not
  7826.     build "end-of-function" symbols for SOM, they are not needed.
  7827.  
  7828.     * config/tc-hppa.c (process_exit): Create temporary symbols with
  7829.     correct prefixes so they can be eliminated later.
  7830.  
  7831.     * config/tc-hppa.c (call_info struct): Delete unused "frame" field.
  7832.     (pa_callinfo): Insert framesize into the unwind information as
  7833.     soon as it's available.
  7834.     (pa_build_unwind_subspace): Do not insert framesize into the unwind
  7835.     information here.
  7836.  
  7837.     * Add support for marker type relocations.  These mark areas
  7838.     of interest to the linker.  ENTRY/EXIT relocations for SOM are
  7839.     an example of marker relocations.
  7840.     * write.c (write_relocs): Instead of assuming size of a relocation
  7841.     is 4 bytes, pick up the size from relocation itself.
  7842.     (fixup_segment): Do not complain that a value is too small for
  7843.     marker relocations.
  7844.  
  7845.     * struc-symbol.h: Add new "sy_used" field to the symbol structure.
  7846.     * expr.c (operand): Set sy_used for any symbol used as an operand.
  7847.     (expr): Likewise for any symbol used in an expression.
  7848.     * config/tc-hppa.h (tc_frob_symbol): Define.  Punt imported
  7849.     symbols which are never used and absolute symbols which local scope.
  7850.  
  7851.     * config/obj-som.h (obj_frob_file): Define.
  7852.     * config/obj-som.c (obj_som_init_stab_section): Set alignment
  7853.     of stab sections.  Make space for the special stab entry.
  7854.     (adjust_stab_sections): Adjust the special entry in the
  7855.     stabs section.
  7856.     (som_frob_file): New function.  Simply calls adjust_stab_sections
  7857.     for each section.
  7858.  
  7859. Mon Nov  1 17:54:29 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  7860.  
  7861.     * config/tc-mips.c (PIC_CALL_REG, SP, FP): Define.
  7862.     (mips_pic, mips_cprestore_offset): New static variables.
  7863.     (md_pseudo_table): Handle .abicalls, .cpload, and .cprestore.
  7864.     Ignore .bgnb and .endb.
  7865.     (gp_reference): _gp_disp is never addressed off GP.
  7866.     (macro_build): Ignore macros while searching for insn.  For cases
  7867.     i, j, and o, accept the reloc type as an argument rather than
  7868.     assuming BFD_RELOC_LO16.  Don't try to convert BFD_RELOC_LO16 to
  7869.     BFD_RELOC_MIPS_GPREL.  Added new case a.
  7870.     (set_at, load_register, macro): Changed calls to macro_build to
  7871.     pass new argument for i, j and o cases.
  7872.     (macro): Handle M_JAL_1, M_JAL_2 and M_JAL_A.  These require
  7873.     special handling when generating SVR4 PIC code.
  7874.     (mips_ip, tc_get_register, s_frame): Use macros FP, SP, GP and AT
  7875.     rather than hard coded constants.
  7876.     (md_apply_fix): Handle BFD_RELOC_MIPS_LITERAL and
  7877.     BFD_RELOC_MIPS_CALL16.
  7878.     (s_option): Set mips_pic based on .option picN.
  7879.     (s_abicalls): New function; set mips_pic to 2.
  7880.     (s_cpload): New function; handle .cpload.
  7881.     (s_cprestore): New function; handle .cprestore.
  7882.  
  7883.     * config/obj-ecoff.c (obj_pseudo_table): Add entries for .bgnb,
  7884.     .endb and .verstamp, setting them to s_ignore.
  7885.  
  7886. Sun Oct 31 00:36:40 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7887.  
  7888.     * config/tc-hppa.c (subspace_dictionary_chain): Add new ssd_defined
  7889.     field.  Define SUBSPACE_DEFINED accessor macro.
  7890.     (pa_subspace): Allow user to override subspace attributes for
  7891.     built-in subspaces.  Set ssd_defined at the end of fcn -- that
  7892.     way the attributes can only be changed once.  Pass newly allocated
  7893.     name to is_defined_subspace, not a pointer to the input line.
  7894.     Fix typo in space/subspace rework.
  7895.     (is_defined_subspace): Delete unused 2nd arg.  All callers changed.
  7896.  
  7897.     * config/tc-hppa.c (pa_import): If currently in the text segment
  7898.     and a symbol is imported without type information, set BSF_FUNCTION
  7899.     for the symbol.
  7900.     * write.c (relax_and_size_seg): Correct test to determine if
  7901.     the section's size was rounded up.
  7902.  
  7903.     * config/obj-som.h (obj_set_symbol_type): Define a hook so GAS
  7904.     can properly set all the SOM symbol types.
  7905.     * config/tc-hppa.c (pa_symbol_type): New enum to represent the
  7906.     symbol types which can be set from an IMPORT/EXPORT statement.
  7907.     (pa_export_args): Set the pa_symbol_type type based on arguments.
  7908.     If defined, call obj_set_symbol_type to pass this information on
  7909.     to the BFD backend.
  7910.  
  7911.     * read.c (get_stab_string_offset): Set SEC_DEBUGGING for any
  7912.     stab section we make.
  7913.     (s_stab_generic): Likewise.
  7914.  
  7915. Sat Oct 30 14:26:20 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7916.  
  7917.     * Allow backends to override the value of the fake label.
  7918.     * write.h (LOCAL_LABEL): Delete DOT_LABEL_PREFIX code.  Instead
  7919.     assume backends will define LOCAL_LABEL if anything other than
  7920.     'L' is used to denote a local label.
  7921.     (FAKE_LABEL_NAME): New macro.  Defines the default name used for
  7922.     the "fake" label.
  7923.     * expr.c (make_expr_symbol): Delete DOT_LABEL_PREFIX code
  7924.     and instead simply use the string defined by FAKE_LABEL_NAME.
  7925.     (operand): Likewise.
  7926.     * read.c (s_stab_generic): Likewise.
  7927.     * config/tc-hppa.h (FAKE_LABEL_NAME): Define as L$0\001 so it's
  7928.     known to be a local label.
  7929.     * config/tc-i386.h (DOT_LABEL_PREFIX): Delete.
  7930.     (LOCAL_LABEL, FAKE_LABEL_NAME): Define.
  7931.     * config/tc-m68k.h (DOT_LABEL_PREFIX): Delete.
  7932.     (LOCAL_LABEL, FAKE_LABEL_NAME): Define.
  7933.     * config/te-sco386.h (DOT_LABEL_PREFIX): Delete.
  7934.     (LOCAL_LABEL, FAKE_LABEL_NAME): Define.
  7935.  
  7936.     Rework space/subspace handling in PA code to fully support
  7937.     SOM spaces/subspaces.
  7938.     * config/tc-hppa.c (USE_ALIASES): New object-format dependent define
  7939.     to control the use of space/subspace name aliases.
  7940.     (update_subspace): Accept space chain entry for containing space
  7941.     as a new parameter.  All callers changed.
  7942.     (pa_get_label): Use current_space rather than pa_segment_to_space.
  7943.     (pa_define_label): Likewise.
  7944.     (pa_undefine_label): Likewise.
  7945.     (md_begin): Change into the (possibly modified) text_section.
  7946.     (pa_parse_space_stmt): Create a new segment/space if create_flag
  7947.     is true, and the space name is not one of the two predefined spaces.
  7948.     (pa_subspace): Use current_space rather than a lookup via
  7949.     pa_segment_to_space.  Reset BFD section flags as required by
  7950.     the .subspace directive.  Likewise for the section alignment.
  7951.     Pass the current space to update_subspace and create_new_subspace.
  7952.     (pa_spaces_begin): Only use space/subspace aliases if USE_ALIASES
  7953.     is true.  When not using aliases, create a BFD section for each
  7954.     subspace encountered.  When not using aliases replace the default
  7955.     text, data, and bss segments with new ones.
  7956.     (create_new_subspace): When not using aliases each subspace has a
  7957.     section/segment and subsegments are not needed, so set the subsegment
  7958.     to zero.
  7959.  
  7960.     * config/tc-hppa.c (pa_parse_space_stmt): If needed, call
  7961.     obj_set_section_attributes to pass space attributes to the
  7962.     BFD backend.
  7963.     (create_new_space): Likewise.
  7964.     (create_new_subspace): Likewise for subspace attributes using
  7965.     obj_set_subsection_attributes.
  7966.     (update_subspace): Likewise for subspace attributes using
  7967.     obj_set_subsection_attributes.
  7968.  
  7969.     * config/tc-hppa.c (pa_parse_space_stmt): Get segment and sort key
  7970.     for $TEXT$ and $PRIVATE$ from the default space structure.
  7971.  
  7972.     * config/tc-hppa.c (pa_export_args): Always set BSF_FUNCTION
  7973.     as appropriate for the given type.
  7974.  
  7975.     * config/tc-hppa.c (tc_gen_reloc): Preliminary stab at handling
  7976.     SOM relocations.
  7977.  
  7978.     * config/tc-hppa.c (pa_comm): Delete incorrect check for symbol
  7979.     redefinition.
  7980.  
  7981.     * config/obj-som.[ch]: New files for SOM support.  Note SOM
  7982.     support is not yet complete in GAS or BFD.
  7983.  
  7984.     * config/ho-hppabsd.h:  Delete IO* macros, they are defined in
  7985.     stdio.h.  Delete declaration of free.  Include stdlib.h, unistd.h,
  7986.     and string.h.
  7987.  
  7988. Fri Oct 29 13:26:12 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  7989.  
  7990.     * Allow backends to override the section names used for embedded
  7991.     stabs support.  Needed for SOM.
  7992.     * read.c (STAB_SECTION_NAME): Default the name of the stab section
  7993.     to ".stab".
  7994.     (STAB_STRING_SECTION_NAME): Likewise for the stab strings section.
  7995.     (get_stab_string_offset): Is now passed the full name for the
  7996.     stab string section rather than a name prefix.  All references
  7997.     changed.
  7998.     (s_stab_generic): New argument for the stab string section name.
  7999.     all references changed.
  8000.     (s_xstab): Append "str" to the stab section name to get the
  8001.     stab string section name.
  8002.     * config/obj-coffbfd.c (obj_coff_init_stab_section): Append "str"
  8003.     to stab section name to get the stab string section name.  Pass
  8004.     the full name of the stab string section to get_stab_string_offset.
  8005.     * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
  8006.  
  8007.     * config/tc-hppa.c (md_begin): Disable "-R" option to fold
  8008.     textand data segments.  Warn user "-R" is unsupported on the
  8009.     PA.
  8010.  
  8011. Thu Oct 28 12:36:13 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
  8012.  
  8013.     * config/tc-hppa.c (md_pseudo_table): Default alignment is 8 for
  8014.     .align and .ALIGN directives.
  8015.  
  8016.     * config/tc-hppa.c (pa_space): Do not report an error for a .space
  8017.     directive which does not define a "well-known" space and does
  8018.     not include a space number as an argument.
  8019.  
  8020.     * config/tc-hppa.c (pa_def_subspaces): Correct initialization of the
  8021.     "defined", "loadable", "code_only" and "space_index" fields.
  8022.     (pa_def_spaces): Correct initialization of the "spnum", "defined",
  8023.     and "private" fields.
  8024.  
  8025.     * write.h (struct fix): Add new tc_fix_data field for the various
  8026.     backends to attach machine dependent fixup information to.
  8027.     * write.c (fix_new_internal): Initialize new tc_fix_data field.
  8028.     * config/tc-hppa.c (hppa_fix_struct): Delete unnecessary fix_fixP and
  8029.     fx_next fields.
  8030.     (hppa_find_hppa_fix): Delete unnecessary function.  Fix all
  8031.     callers to get HPPA fixup information from the tc_fix_data field
  8032.     in the GAS fixup.
  8033.     (hppa_fix_root): Delete unnecessary variable.
  8034.     (fix_new_hppa): Attach HPPA fixup data to the GAS fixup.
  8035.  
  8036.     * config/tc-hppa.c (pa_set_start_symbol); Delete unwanted
  8037.     function.  Fix all callers.
  8038.     (subspace_dictionary_chain): Delete unused ssd_start_sym field.
  8039.  
  8040.     * config/tc-hppa.c (hppa_fix_adjustable): New function to determine
  8041.     if a particular fixup is adjustable.
  8042.     * config/tc-hppa.h (tc_fix_adjustable): Call hppa_fix_adjustable to
  8043.     perform the real work.
  8044.  
  8045.     * config/tc-hppa.h (RELOC_EXPANSION_POSSIBLE): Move definition out
  8046.     of OBJ_XXX conditionals.
  8047.     (MAX_RELOC_EXPANSION): Likewise.
  8048.  
  8049.     * config/tc-hppa.c (log2): Renamed from is_power_of_2.  Fix all
  8050.     callers. Now returns log2 (N) for positive N which are an exact
  8051.     power of two or -1 for an error.
  8052.  
  8053.     * config/tc-hppa.c (pa_callinfo): Range check values provided for
  8054.     ENTRY_GR, ENTRY_FR and ENTRY_SR.  Properly adjust vaues before
  8055.     inserting them into the unwind table.
  8056.  
  8057.     * config/tc-hppa.c (NEEDS_FIXUP): Delete definition and all references.
  8058.     (hppa_gen_reloc_type): New object format dependent macro.
  8059.     (pa_ip): Delete tons of code which was either OBJ_SOM or OBJ_ELF
  8060.     conditional.  The code can (and will) be shared between SOM & ELF
  8061.     formats in the near future.
  8062.     (cons_fix_new_hppa, md_apply_fix_1): Likewise.
  8063.     (pa_build_unwind_subspace, process_exit, pa_exit): Likewise.
  8064.     (tc_gen_reloc): Use hppa_gen_reloc rather than an object format
  8065.     specific call.
  8066.  
  8067.     * config/tc-hppa.c (pa_comm): Set the segment for a common symbol
  8068.     to bfd_und_section.
  8069.  
  8070.     * config/obj-elf.h (obj_elf_version): Add extern prototype.
  8071.  
  8072.     * configure.in (hppa-*-bsd*): New configuration.
  8073.     BFD is always used for GAS generating SOM objects.
  8074.  
  8075.     * write.c (adjust_reloc_syms): Set sy_used_in_reloc if an
  8076.     adjustment is rejected by the target machine.
  8077.  
  8078.     * config/tc-hppa.c (pa_big_cons): Delete function and its
  8079.     declaration.  All callers changed to use pa_cons.
  8080.  
  8081.     * write.c (fixup_segment): Fix indention and open/close brace
  8082.     problem.
  8083.  
  8084.     From Pete Hoogenboom:
  8085.     * config/tc-hppa.c (md_atof): Return a NULL on success rather than
  8086.     an empty string.
  8087.  
  8088.     * config/tc-hppa.c (pa_parse_space_stmt): Advance
  8089.     input_line_poitner when an invalid argument is encountered.
  8090.  
  8091. Thu Oct 28 13:09:26 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8092.  
  8093.     * config/tc-a29k.c (md_begin): When opcodes are mashed together in
  8094.     the table, require that the one without bit 0x1000000 set come
  8095.     first.  Require further that it be case 'b' or 'P'.  The a29k
  8096.     opcode table already meets these constraints.
  8097.     (machine_ip): When handling case 'i' or 'A', make sure that the
  8098.     appropriate opcode really exists by looking at the next entry in
  8099.     the opcode table.
  8100.  
  8101. Wed Oct 27 11:48:56 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8102.  
  8103.     * config/tc-m68k.c (m68k_ip): Adjust offsets for PC relative
  8104.     fixups.  Add 6 for long 7.3 case, 2 for short 7.2 case.
  8105.  
  8106.     * config/obj-ecoff.c (obj_ecoff_ent): Ignore an optional number
  8107.     after a .ent directive.
  8108.  
  8109.     * config/tc-mips.c (mips_ip): Handle '>' case (shift amount
  8110.     between 32 and 63 for double shift instruction).  Do & 0x1f rather
  8111.     than % 32.
  8112.     (printInsn): Handle '>'.
  8113.  
  8114. Tue Oct 26 16:58:36 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8115.  
  8116.     * config/tc-ns32k.c (tc_aout_fix_to_chars): Output the symbol
  8117.     number in the right place.  Untested.  Probably does not work for
  8118.     cross assembly.  From cagney@cs.adelaide.edu.au (Andrew Cagney).
  8119.  
  8120.     * config/tc-m68k.c (md_apply_fix_2): Error if a short branch uses
  8121.     an illegal offset of 0 or -1.
  8122.  
  8123.     * config/obj-elf.c (obj_elf_init_stab_section): Align .stab
  8124.     section to a longword boundary.
  8125.  
  8126. Tue Oct 26 10:24:31 1993  Ken Raeburn  (raeburn@cygnus.com)
  8127.  
  8128.     * Makefile.in (CHECKFLAGS): Pass down RUNTESTFLAGS.
  8129.  
  8130.     From Jeff Law:
  8131.     * config/tc-hppa.c (tc_gen_reloc): ELF32_HPPA_R_ADDEND ->
  8132.     HPPA_R_ADDEND.
  8133.  
  8134. Mon Oct 25 14:06:17 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8135.  
  8136.     * config/tc-sparc.c (sparc_ip): Fix up membar argument handling.
  8137.  
  8138. Mon Oct 25 11:17:58 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
  8139.  
  8140.     * config/tc-sh.c (build_Mbytes): Write the relocs to the correct
  8141.     address. (md_assemble): Make error handling a bit more graceful.
  8142.     (md_apply_fix):  Don't warn on non aligned displacement.
  8143.  
  8144.     * config/tc-z8k.c (get_specific, built_bytes):  Understand all the
  8145.     aspects of lda.
  8146.  
  8147. Mon Oct 25 10:20:31 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
  8148.  
  8149.     * doc/Makefile.in (install-info): Use "$<*" so VPATH will find
  8150.     as.info* even if they're in $(srcdir) (e.g., for FSF
  8151.     distributions).
  8152.  
  8153.     * write.c (write_relocs): For relocs that are pc_relative and
  8154.     pcrel_offset and not partial_inplace, adjust reloc->addend to
  8155.     compensate for a bfd_perform_relocation bug.
  8156.  
  8157.     * config/tc-sparc.h: Removed remaining non-BFD_ASSEMBLER code.
  8158.     * config/tc-sparc.c: Ditto.
  8159.     (tc_gen_reloc): Include fx_offset for pcrel fixups.
  8160.  
  8161. Sun Oct 24 16:49:00 1993  Jim Wilson  (wilson@x1.cygnus.com)
  8162.  
  8163.     * tc-mips.c (md_pseudo_table): Add dword pseudo op.
  8164.  
  8165. Fri Oct 22 20:40:56 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  8166.  
  8167.     * messages.c: replaced all variables called Format with 'format',
  8168.       for consistency throughout
  8169.  
  8170.     * configure.in: handle mips*- instead of mips, mips*el for little
  8171.     endian configurations
  8172.  
  8173. Fri Oct 22 14:45:49 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8174.  
  8175.     * input-scrub.c (physical_input_file, logical_input_file,
  8176.     physical_input_line, logical_input_line): Made static.
  8177.     (as_where): Return current file name and line number, don't print
  8178.     them out.
  8179.     * messages.c (as_show_where): New static function.  Other
  8180.     functions use it instead of as_where.
  8181.     (as_bad_internal): New static function.
  8182.     (as_bad): Use as_bad_internal.
  8183.     (as_bad_where): New function, like as_bad but taking a file name
  8184.     and line number.
  8185.     * as.h (as_bad_where): Declare.
  8186.     (as_where): Change prototype for new arguments.
  8187.     * write.h (fixS): Added fields fx_file and fx_line.
  8188.     * write.c (fix_new_internal): Save file and line number in fix.
  8189.     (fixup_segment): Use as_bad_where, not as_bad.
  8190.     * input-file.c (f_in, file_name): Made static.
  8191.     * cond.c (struct file_line): Just use file and line fields.
  8192.     (s_else): Use as_where and as_bad_where, not get_file_line and
  8193.     set_file_line.
  8194.     (get_file_line, set_file_line): Removed.
  8195.     * listing.c (listing_newline): Use as_where.
  8196.     * config/obj-coffbfd.c (obj_coff_init_stab_section): Use as_where.
  8197.     * config/obj-ecoff.c (add_file): Use as_where.
  8198.     * config/obj-elf.c (obj_elf_init_stab_section): Use as_where.
  8199.     * config/tc-m68k.c (md_apply_fix_2): Use as_bad_where.
  8200.     * config/tc-mips.c (tc_gen_reloc): Use as_bad_where, not assert.
  8201.  
  8202. Thu Oct 21 12:52:01 1993  Ken Raeburn  (raeburn@cygnus.com)
  8203.  
  8204.     * config/tc-m68k.h: Don't define REGISTER_PREFIX or
  8205.     OPTIONAL_REGISTER_PREFIX if either is already defined.
  8206.  
  8207.     * config/tc-m68k.c (m68k_ip): Delete some code in "#if 0".
  8208.  
  8209.     * configure.in: Set bfd_gas for all sparc targets.  Added facility
  8210.     for keeping or rejecting configurations still under development;
  8211.     default is to assume production environment, and reject configs
  8212.     still being worked on.  Mark Elf configurations (except sparc and
  8213.     i386) as developmental.  Deleted cases matching some generic names
  8214.     in favor of more specific names.  (E.g., when we get Alpha
  8215.     support, we'll still only support VMS for Vax.)
  8216.  
  8217.     * config/tc-sparc.h (md_end): New macro.
  8218.     * config/tc-sparc.c (md_end): Function deleted.
  8219.     (BFD_RELOC_*): Delete macros that used to help keep the non-bfd
  8220.     version compiling.  All sparc targets will use bfd now.
  8221.     * tc.h (md_end): Don't declare if it's defined as a macro.
  8222.  
  8223.     Changes from Jeff Law and Peter Hoogenboom:
  8224.  
  8225.     * read.c (next_char_of_string): Limit octal character constants to
  8226.     three digits.
  8227.  
  8228.     * config/tc-hppa.h: Major cleanup.  Use GNU-style comments.  Warn
  8229.     against placing additional object-file dependent code here.  Warn
  8230.     against contaminating all of GAS with the internals of tc-hppa.c
  8231.     through inclusion of tc-hppa.h.  Delete all forward declarations
  8232.     for functions only used within tc-hppa.c, likewise for structures,
  8233.     variables, and #defines.  Try to group OBJ_ELF and OBJ_SOM
  8234.     conditional code in a few small places.
  8235.  
  8236.     * config/tc-hppa.c: Major cleanup.  Use GNU-style comments.  Group
  8237.     structures, global variables, forward declarations together.
  8238.     Reduce (or in some cases eliminate) OBJ_ELF and OBJ_SOM
  8239.     conditional code -- try to group conditional code together
  8240.     into a few places.   Make all functions and variables which
  8241.     are only used within tc-hppa.c static.  PARAMize all functions.
  8242.     Add comments to functions.  Delete unused functions, variables,
  8243.     #defines, etc.  Delete unused members within structures.  Delete
  8244.     ldil;ble hacks -- it is believed they were installed to work
  8245.     around old gas bugs.   Avoid using mixed case for local
  8246.     functions, variables, and structures.  Fix formatting problems
  8247.     not found by GNU-indent.  Add FIXME notices for things which
  8248.     should be worked on the near future.  Delete lots of old
  8249.     useless (1.36 PA-SOM) code.
  8250.  
  8251.     * config/tc-hppa.c: (fix_new_hppa): Initialize the fx_r_type
  8252.     field of the fixS structure.  Needed to build unwind
  8253.     descriptors correctly.
  8254.  
  8255.     * write.c: (fixup_segment): Allow expressions such as
  8256.     sym1-sym2+const as long as sym2 is $global$.
  8257.  
  8258.     * write.c (adjust_reloc_syms): Provide a hook so that a target
  8259.     cpu configuration can reject certain relocation reductions.
  8260.     * tc-hppa.h (tc_fix_adjustable): New macro.  Only accept relocations
  8261.     which do not involve function symbols.
  8262.  
  8263.     * config/tc-hppa.h: Reindent with GNU-indent.  Delete references
  8264.     to OBJ_OSFROSE.  Fix typos (OBJ_SOME -> OBJ_SOM).  Delete unused
  8265.     STAB_FIXUP macro.
  8266.     * config/tc-hppa.c: Likewise.
  8267.  
  8268.     * config/tc-hppa.c (md_apply_fix_1): Use elf_symbol_type, instead
  8269.     of elf32_symbol_type.
  8270.     (pa_export_args): Likewise.
  8271.     (elf_hppa_final_processing): Likewise.
  8272.     (pa_desc): Do not call obj_elf_desc.  (Is pa_desc even needed
  8273.     anymore?)
  8274.     (hppa_tc_make_sections): Do not declare elf_get_symtab_map any
  8275.     ore.
  8276.  
  8277.     * config/tc-hppa.c: (md_section_align): Align all sections to
  8278.     a multiple of the section alignment rather than always a
  8279.     multiple of 8.
  8280.  
  8281.     * config/tc-hppa.c (hppa_tc_symbol): If the argument relocation
  8282.     bits are zero (eg they specify no relocations), then do not even
  8283.     bother adding their entries to thesymextn section.
  8284.  
  8285. Thu Oct 21 15:44:55 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8286.  
  8287.     * config/tc-sparc.c (md_parse_option): Accept and ignore -sparc
  8288.     option, which is used by the SunOS make default .s.o rule.
  8289.  
  8290. Wed Oct 20 12:26:33 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
  8291.  
  8292.     * config/tc-sparc.c (sparc_ip, label "immediate"): Convert relocs
  8293.     operating on upper 32 bits of immediate constants to lower-half
  8294.     relocs with adjusted constants.
  8295.  
  8296. Tue Oct 19 18:13:26 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8297.  
  8298.     * config/tc-m68k.h (AOUT_MACHTYPE): Define to be external variable
  8299.     m68k_aout_machtype.
  8300.     * config/tc-m68k.c (omagic): Remove obsolete and unused variable.
  8301.     (m68k_aout_machtype): New variable, if OBJ_AOUT.
  8302.     (md_assemble): Initialize m68k_aout_machtype based on
  8303.     current_architecture, if OBJ_AOUT.
  8304.     (md_parse_option): Remove obsolete reference to omagic.
  8305.  
  8306. Thu Oct 14 16:51:00 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8307.  
  8308.     * config/tc-mips.c (md_pseudo_table): Ignore .livereg pseudo-op.
  8309.     (s_option): Ignore .option O* and .option pic*.
  8310.     (s_ent): Skip whitespace between symbol and optional digit.
  8311.     (my_getSmallExpression): Handle ($xx) correctly: assume 0($xx).
  8312.  
  8313.     * app.c (do_scrub_next_char): Always accept 'x' and 'X' as escape
  8314.     characters in state 6.
  8315.     * read.c (next_char_of_string): Accept \Xh* and \xh* where h* are
  8316.     hexidecimal digits.
  8317.  
  8318.     * config/tc-i386.c (md_apply_fix_1): Make cross segment calls work
  8319.     for ELF by hacking around bizarre bfd_perform_relocation behaviour
  8320.     that I don't dare change.
  8321.  
  8322. Thu Oct 14 11:33:25 1993  Michael Meissner  (meissner@osf.org)
  8323.  
  8324.     * config/tc-i386.c: (md_begin): Do not zero static arrays.  Don't
  8325.     call strchr for each character to see if it is a special char,
  8326.     instead add a second loop over special_chars.  Set alignment
  8327.     of text, data and bss sections to 4.
  8328.     (pi, te, pt, pe, ps): Add declarations so that DEBUG386 can be
  8329.     used again.
  8330.     (reloc): Don't return 8 and 16 bit non-PC relative relocations on
  8331.     ELF, since the ELF object format does not have these type of
  8332.     relocations.  Change the abort into as as_bad and return
  8333.     BFD_RELOC_NONE to silence compiler warnings.
  8334.     (md_assemble): Keep track of the instruction size.  Allow white
  8335.     space between the $ and the constant for compatibility with older
  8336.     gases and other assemblers.
  8337.     (i386_operand): Skip spaces between $ and expression.
  8338.     (tc_gen_reloc): Don't allow anything but 32 bit relocations on
  8339.     ELF.  Convert abort into an as_bad and assert into as_fatal.
  8340.  
  8341. Wed Oct 13 16:50:55 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  8342.  
  8343.     * config/obj-coffbfd.c (fixup_segment) [DIFF_EXPR_OK]: If
  8344.     sub_symbolP is in the current segment, convert to a PC-relative
  8345.     fixup and discard the symbol.
  8346.  
  8347. Wed Oct 13 14:00:02 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8348.  
  8349.     * config/obj-ecoff.c (ecoff_build_symbols): Handle st_End symbol
  8350.     for st_StaticProc just like st_Proc.
  8351.  
  8352.     * write.c (relax_and_size_all_segments): Moved #endif for OBJ_BOUT
  8353.     so that OBJ_BOUT doesn't forget to adjust all the fragments in the
  8354.     .bss section.
  8355.  
  8356. Tue Oct 12 17:26:15 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8357.  
  8358.     * config/tc-mips.c: If OBJ_ELF, include elf/mips.h.
  8359.     (mips_regmask_frag): New static variable, if OBJ_ELF.
  8360.     (md_begin): If OBJ_ELF, create .reginfo section and set
  8361.     mips_regmask_frag to a frag.
  8362.     (mips_elf_final_processing): New function, if OBJ_ELF.  Set
  8363.     mips_regmask_frag to register mask information.
  8364.     * config/tc-mips.h (elf_tc_final_processing): New macro, defined
  8365.     if OBJ_ELF.
  8366.  
  8367. Tue Oct 12 03:33:26 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  8368.  
  8369.     * messages.c (as_fatal): Use myname when printing messages.
  8370.  
  8371.     * config/tc-i960.c (md_begin): Use null pointer, not empty string,
  8372.     as initial "return" value in case hashing isn't needed.
  8373.  
  8374.     * config/tc-a29k.c (md_atof): Return null, not empty string, on
  8375.     success.
  8376.     * config/tc-h8300.c (md_atof), config/tc-h8500.c (md_atof),
  8377.     config/tc-hppa.c (md_atof), config/tc-i860.c (md_atof),
  8378.     config/tc-i960.c (md_atof), config/tc-m88k.c (md_atof),
  8379.     config/tc-ns32k.c (md_atof), config/tc-sh.c (md_atof): Ditto.
  8380.  
  8381. Mon Oct 11 16:46:31 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
  8382.  
  8383.     fix for pr 3571
  8384.     * config/tc-h8300.c (get_specific): Special action if 8 bit
  8385.     address seen. (check_operand): Don't complain if truncating top
  8386.     bits of an 8 bit address.  (build_bytes): Allow an immediate and
  8387.     an absolute in the same insn.
  8388.  
  8389. Mon Oct 11 17:18:51 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8390.  
  8391.     * write.c (write_contents): Don't crash if seginfo is NULL.
  8392.  
  8393.     * config/obj-ecoff.c (ecoff_frob_file): Write out register masks
  8394.     by modifying .reginfo section, not by directly modifying BFD
  8395.     backend data.
  8396.  
  8397. Mon Oct 11 14:11:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  8398.  
  8399.     * config/ho-sunos.h: remove extern time declaration
  8400.  
  8401. Mon Oct 11 16:14:43 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  8402.  
  8403.     * messages.c (as_fatal): Do mention that it's the assembler that
  8404.     got the fatal error.
  8405.  
  8406. Fri Oct  8 14:09:35 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8407.  
  8408.     * config/tc-mips.c (mips_gprmask, mips_cprmask): New variables to
  8409.     hold register masks.
  8410.     (md_begin): Initialize them to zero.
  8411.     (append_insn): Update mips_gprmask and mips_cprmask.  Also add
  8412.     register variables pinfo and prev_pinfo.
  8413.     * config/tc-mips.h (mips_gprmask, mips_cprmask): Declare.
  8414.     * config/obj-ecoff.c (ecoff_frob_file): If TC_MIPS, set gprmask
  8415.     and cprmask from mips_gprmask and mips_cprmask.
  8416.  
  8417.     * config/tc-mips.h: Define TARGET_FORMAT if OBJ_ELF.
  8418.     * config/tc-mips.c (GPOPT): Define if OBJ_ECOFF or OBJ_ELF.
  8419.     (various): Change all references to GP references to apply if
  8420.     GPOPT, not if OBJ_ECOFF.
  8421.     (s_change_sec): Rearrange somewhat.  If OBJ_ELF, use .rodata
  8422.     instead of .rdata.  If OBJ_ELF, set section flags for .rodata and
  8423.     .sdata sections.
  8424.     (s_frame, s_loc, s_mask): Comment out entire functions, rather
  8425.     than just body.  They're not used anyhow.
  8426.     * configure.in: Set cpu_type to mips for mips*.  Accept
  8427.     mips-*-elfl* and mips-*-elf*.
  8428.  
  8429. Thu Oct  7 18:36:29 1993  Michael Meissner  (meissner@osf.org)
  8430.  
  8431.     * config/obj-elf.c (obj_elf_common): Allow the alignment field to
  8432.     not be specified.
  8433.  
  8434. Wed Oct  6 13:01:34 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8435.  
  8436.     * config/tc-mips.c (cons_fix_new_mips): New function.  Turn
  8437.     BFD_RELOC_64 into BFD_RELOC_32.
  8438.     * config/tc-mips.h (TC_CONS_FIX_NEW): Define.
  8439.     (cons_fix_new_mips): Declare.
  8440.  
  8441.     Changes to let cons handle bignums like general expressions.
  8442.     * expr.h (expressionS): New field X_unsigned.
  8443.     * expr.c (operand): Initialize X_unsigned to 1.  Set it to 0 for
  8444.     unary minus case.
  8445.     (expr) Fix typo resultP to right if missing operand.  Set
  8446.     X_unsigned to 1 when building new expression.
  8447.     * read.c (potable): Make "octa" and "quad" call cons, not
  8448.     big_cons.
  8449.     (cons): Handle bignums.  If given an O_constant (small integer) to
  8450.     fill a big space, turn it into a bignum.
  8451.     (parse_bitfield_cons): Set X_unsigned field.
  8452.     (bignum_low, bignum_limit, bignum_high, grow_bignum, big_cons):
  8453.     Removed.
  8454.     * read.h (big_cons): Remove prototype.
  8455.     * symbols.c (resolve_symbol_value): Don't give a warning if a
  8456.     symbol in expr_section can not be resolved.
  8457.     (S_SET_VALUE): Clear X_unsigned.
  8458.     * write.c (write_object_file): If resolve_symbol_value failed on a
  8459.     symbol we are writing out, give a warning.
  8460.     * config/tc-h8500.c (parse_reglist): Set X_unsigned.
  8461.     * config/tc-hppa.c (md_pseudo_table): Change "octa" and "quad" to
  8462.     call pa_cons, not pa_big_cons.
  8463.     (pa_big_cons): Remove.
  8464.     * config/tc-hppa.h (pa_big_cons): Remove declaration.
  8465.     * config/tc-i960.c (md_pseudo_table): Change "quad" to call cons,
  8466.     not big_cons.
  8467.  
  8468. Tue Oct  5 10:53:36 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  8469.  
  8470.     * doc/as.texinfo (Copying): new node, to handle the recent changes
  8471.     in the texinfo/gpl.texinfo file
  8472.  
  8473. Mon Oct  4 17:10:15 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8474.  
  8475.     * read.c (big_cons): Handle "0" correctly.
  8476.  
  8477.     * config/tc-mips.c (md_begin): Set target_big_endian correctly.
  8478.  
  8479. Mon Oct  4 15:37:57 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  8480.  
  8481.     * config/tc-m68k.c (m68k_ip): Mode 7.3 operand using PC should
  8482.     have pc-relative fixup.
  8483.     (md_parse_option): Move "-k" case down near "-pic" case.
  8484.  
  8485.     * configure.in: Alphabetize list of cpu type alternatives.  Enable
  8486.     OS values of "linux*elf*" and "linux*coff*" to select those
  8487.     formats, with linux emulation.  Don't bother checking for upper-
  8488.     or mixed-case versions of "ose".
  8489.  
  8490. Thu Sep 30 11:05:35 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
  8491.  
  8492.     * config/z8k.c (md_pseudo_table): add "unseg".
  8493.  
  8494. Wed Sep 29 16:15:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
  8495.  
  8496.     * config/m88k-opcode.h (m88k_opcodes): correct a few mistakes
  8497.       found while extending the dissassembler.
  8498.  
  8499. Tue Sep 28 12:02:04 1993  Stan Shebs  (shebs@rtl.cygnus.com)
  8500.  
  8501.     * configure.in: Split i386 LynxOS out from other coff targets,
  8502.     add a specific Lynx emulation.
  8503.     Add m68k LynxOS target.
  8504.     * config/tc-i386.c: Define specific Lynx target format.
  8505.     * config/tc-m68k.c: Define specific Lynx target format.
  8506.     * config/te-lynx.h: New file.
  8507.  
  8508.     * config/obj-coffbfd.h: Don't set TARGET_FORMAT to be
  8509.     "coff-{i386,m68k}" if TARGET_FORMAT already defined.
  8510.     (INIT_STAB_SECTION): Define.
  8511.     * config/obj-coffbfd.c: Include <time.h>.
  8512.     (write_object_file): Look for .stab sections and call
  8513.     adjust_stab_section.
  8514.     (adjust_stab_section): New function, fills in the first symbol
  8515.     of a stab section with number of symbols and string table size.
  8516.     (obj_coff_init_stab_section): New function, creates the initial
  8517.     symbol for a stab section.
  8518.  
  8519. Mon Sep 27 15:21:55 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  8520.  
  8521.     * config/atof-vax.c (md_atof): Return null on success instead of
  8522.     empty string.
  8523.     * config/atof-tahoe.c (md_atof): Ditto.
  8524.     * read.c (float_cons): Expect a null pointer for success, not an
  8525.     empty string.
  8526.  
  8527.     * hash.c (hash_insert, hash_jam, hash_grow): Return null pointer
  8528.     on success, instead of empty string.  All callers changed.
  8529.  
  8530.     * config/tc-vax.c: Use PARAMS in declarations.
  8531.     (vip_op): Use NULL instead of empty string for success in error
  8532.     and warning fields.
  8533.  
  8534. Sun Sep 26 23:45:29 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  8535.  
  8536.     * expr.c (expr) [DIFF_EXPR_OK]: Permit subtraction of two symbols
  8537.     in different defined segments.
  8538.  
  8539.     * write.c (relax_segment): Localize "aim" variable.  If
  8540.     DIFF_EXPR_OK, don't impose checks on symbol segment types.
  8541.     (fixup_segment) [DIFF_EXPR_OK]: If sub_symbolP is in the current
  8542.     segment, convert to a PC-relative fixup and discard the symbol.
  8543.  
  8544.     * config/tc-m68k.c (flag_want_pic): New variable, mostly ignored.
  8545.     (md_parse_option) [TE_SUN3]: Set it for "-k".
  8546.     (m68k_ip): Generate proper fixup for mode 7.3.
  8547.     * config/tc-m68k.h (DIFF_EXPR_OK): Define.
  8548.  
  8549. Sat Sep 25 05:08:19 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  8550.  
  8551.     * config/tc-m68k.c (struct m68k_incant, getone, gettwo): Moved
  8552.     earlier in the file.
  8553.     (insop, add_exp): Now defined as functions, for readability.
  8554.     (insop): Now takes two arguments; callers changed.
  8555.  
  8556. Fri Sep 24 12:37:59 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
  8557.  
  8558.     * config/tc-m88k.c (get_o6): new function.
  8559.       (get_bf, get_cmp, get_cnd, get_cr, get_fcr, get_imm16, get_reg,
  8560.       get_vec9, getval, get_pcr, calcop, match_name): make static and
  8561.       prototype.
  8562.       (s_file): remove extraneous forward decl.
  8563.       (md_begin): add const to retval decl.
  8564.       (calcop): cope with instructions without arguments.  Handle 'o'
  8565.       type argument, the o6 field of the prot insn.
  8566.       (md_estimate_size_before_relax): return a dummy value.
  8567.  
  8568.     * config/m88k-opcode.h (m88k_opcodes): comment change; o6 field is
  8569.       in bits 10 through 7.  flt.[dxs]s requires an r register in the
  8570.       second argument.  New instruction lda.x.  New instruction muls
  8571.       (alias for mul).
  8572.  
  8573. Fri Sep 24 13:43:30 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8574.  
  8575.     * Makefile.in (distclean): Recurse like clean.
  8576.     * doc/Makefile.in (distclean): New target.
  8577.  
  8578.     * config/tc-mips.c (md_begin): Set BFD architecture and machine
  8579.     based on MIPS ISA level.
  8580.  
  8581. Thu Sep 23 17:58:58 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8582.  
  8583.     * as.c (main): "exhausted", not "exhuasted".
  8584.  
  8585.     * struc-symbol.h (struct symbol): Add sy_used_in_reloc field.
  8586.     * write.c (adjust_reloc_syms): Set sy_used_in_reloc.
  8587.     (write_object_file): Never strip symbols with sy_used_in_reloc
  8588.     set.
  8589.  
  8590.     * config/obj-elf.c (obj_elf_section): Rewrote to handle both
  8591.     Solaris and SVR4 style .section pseudo-ops.
  8592.     (obj_elf_ident): Set SEC_READONLY for .comment section.
  8593.     * config/tc-sparc.c (md_apply_fix): If this is ELF, and we're
  8594.     generating a reloc, don't apply a fix.
  8595.  
  8596. Thu Sep 23 13:16:58 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  8597.  
  8598.     * config/obj-coffbfd.c (relax_align): Now static.
  8599.  
  8600. Mon Sep 20 19:23:35 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8601.  
  8602.     * read.c (get_stab_string_offset): Make non-static.  Make
  8603.     arguments const.  Don't align strings to 4 byte boundaries.
  8604.     * read.h: Declare get_stab_string_offset.
  8605.     * config/obj-elf.c (obj_elf_section): Set SEC_ALLOC as well as
  8606.     SEC_LOAD for progbits section.
  8607.     (obj_elf_init_stab_section): New function.
  8608.     (adjust_stab_sections): Add casts to avoid warnings.
  8609.     * config/obj-elf.h (INIT_STAB_SECTION): Call
  8610.     obj_elf_init_stab_section.
  8611.     (OBJ_PROCESS_STAB): Removed definition.
  8612.  
  8613. Fri Sep 17 18:12:34 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8614.  
  8615.     * config/obj-elf.h (S_GET_SIZE): Define.
  8616.     (obj_frob_forward_symbol): Define.
  8617.     * config/tc-i386.c (line_comment_chars): Initialize in all cases.
  8618.  
  8619. Thu Sep 16 14:23:08 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8620.  
  8621.     * tc.h: Declare tc_gen_reloc differently depending upon
  8622.     RELOC_EXPANSION_POSSIBLE.
  8623.     * config/obj-elf.c (obj_elf_section): Only set flags when first
  8624.     creating the section.
  8625.  
  8626. Wed Sep 15 12:15:53 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8627.  
  8628.     * config/tc-mips.c (append_insn): Don't swap a trap instruction
  8629.     with a branch.
  8630.  
  8631. Tue Sep 14 13:31:04 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8632.  
  8633.     * config/obj-elf.c (obj_elf_data, obj_elf_text): New functions;
  8634.     set previous_section and previous_subsection and then call s_data
  8635.     and s_text, respectively.
  8636.     (obj_pseudo_table): Add data and text.
  8637.     (obj_elf_section): Add SEC_LOAD to default initialization of
  8638.     flags.  Treat .rodata1 like .rodata.  Set SEC_LOAD as well as
  8639.     SEC_ALLOC for "alloc" string.  Don't bother trying to find the
  8640.     section; just use subseg_new.
  8641.  
  8642.     * read.c (change_to_section): Removed.  This is now done by
  8643.     subseg_new.
  8644.     (get_stab_string_offset): Rearranged somewhat.  Create the section
  8645.     using subseg_new.  Store the string index in seg_info, rather than
  8646.     in a static variable.  Force the first string to be empty.  Use
  8647.     frag_more rather than FRAG_APPEND_1_CHAR.
  8648.     (s_stab_generic): Rewrote.
  8649.     * subsegs.h (segment_info_type): Added stabu union.
  8650.     * subsegs.c (subseg_new): Initialize stab_string_size to 0.
  8651.     * config/obj-aout.c: Don't include aout/stab_gnu.h.
  8652.     (obj_aout_stab, obj_aout_desc): Removed.
  8653.     (obj_pseudo_table): Removed desc and stabX entries.
  8654.     * config/obj-bout.c: Same changes as config/obj-aout.c.
  8655.     * config/obj-bout.h (S_SET_TYPE): Define.
  8656.     (tc_bout_fix_to_chars): Declare.
  8657.     * config/obj-coff.c (obj_coff_stab): Removed.
  8658.     (obj_pseudo_table): Removed desc and stabX entries.
  8659.     * config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define.
  8660.     * config/obj-coffbfd.c (current_stab_symbol): Removed.
  8661.     * config/obj-coffbfd.h (obj_symbol_type): Removed n_strx, n_type,
  8662.     n_other, n_desc and n_value fields.
  8663.     (S_{S,G}ET_{OFFSET,OTHER,TYPE,DESC}): Removed.
  8664.     (MAKE_STAB_SYMBOL): Removed.
  8665.     * config/obj-ecoff.c (obj_ecoff_stab): Renamed to ecoff_stab.
  8666.     Changed arguments and removed parsing code.
  8667.     (obj_pseudo_table): Removed stabX entries.
  8668.     * config/obj-ecoff.h (ecoff_stab): Declare.
  8669.     (OBJ_PROCESS_STAB): Define.
  8670.     * config/obj-elf.c: Don't include aout/stab_gnu.h.
  8671.     (obj_elf_stab, obj_elf_xstab, obj_elf_desc,
  8672.     elf_stab_symbol_string, elf_stab_symbol, obj_elf_stab_generic):
  8673.     Removed.
  8674.     (obj_pseudo_table): Removed desc, stabX and xstabs entries.
  8675.     (obj_elf_version): Use subseg_new, not bfd_make_section.  Don't
  8676.     set SEC_LOAD for .note section.
  8677.     (adjust_stab_sections): Get frag pointer from seg_info, rather
  8678.     than looking through frags.
  8679.     * config/obj-elf.h (S_{S,G}ET_{OTHER,TYPE,DESC}): Removed.
  8680.     (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
  8681.     Define.
  8682.     * config/obj-vms.c (obj_aout_stab): Removed.
  8683.     (obj_pseudo_table): Removed stabX entries.
  8684.     * config/obj-vms.h (S_SET_TYPE): Define.
  8685.  
  8686.     * as.h: Declare listing.
  8687.     * read.c: Don't declare listing.
  8688.     (emit_expr): Cast fix_new_exp argument.
  8689.     (parse_bitfield_cons): Correct printf format.
  8690.     * symbols.c (symbol_new): Add cast to avoid warning.
  8691.     * write.h: Declare text_last_frag and data_last_frag.
  8692.     * config/obj-bout.c (obj_bout_line): Added dummy argument.
  8693.     * config/obj-coffbfd.c: Add some casts to avoid warnings.
  8694.     * config/tc-a29k.c: Likewise.
  8695.     * config/tc-i960.c: Likewise.  Also fully bracket structure
  8696.     initializations, fix printf formats, and remove unused variables.
  8697.  
  8698. Mon Sep 13 16:48:38 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8699.  
  8700.     * read.c (s_desc): Only compile and use if S_SET_DESC is defined.
  8701.     * struc-symbol.h: Declare verify_symbol_chain and
  8702.     verify_symbol_chain_2 even if not SYMBOLS_NEED_BACKPOINTERS.
  8703.     * symbols.c (verify_symbol_chain): Removed useless expression.
  8704.     * write.c (headers, the_object_file): Only use if not
  8705.     BFD_ASSEMBLER and not BFD.
  8706.     (fixup_segment, cvs_frag_to_fill): Only use if BFD_ASSEMBLER or
  8707.     not BFD.
  8708.     (merge_data_into_text): Only use if BFD_ASSEMBLER or (not BFD and
  8709.     not OBJ_AOUT).
  8710.     * write.h: Declare relax_segment.
  8711.     * config/obj-coffbfd.c (stack_pop, stack_push, stack_init): Made
  8712.     static.
  8713.     (stack_top): Commented out, since it's not used.
  8714.     Fixed up pseudo-op functions to take an ignored int argument.
  8715.     (size_section): Added default BAD_CASE to switch.
  8716.     Changed bzero calls to memset.
  8717.     * config/obj-coffbfd.h (S_IS_LOCAL): Call strchr on S_GET_NAME
  8718.     (s), not on s itself.
  8719.     * config/tc-a29k.c (s_use): Take ignored int argument.  Only
  8720.     define if OBJ_COFF is not defined.
  8721.     * config/tc-i386.c: (fits_in_signed_byte, smallest_imm_type): Make
  8722.     argument signed again.
  8723.     * config/tc-m68k.c (s_bss, s_even, s_proc): Take ignored int
  8724.     argument.
  8725.     (m68k_ip): Fully bracket initialization of archs.
  8726.     Correct several formats for __LINE__ to be %d rather than %s.
  8727.     (init_table): Fully bracket initialization.
  8728.     Cast values larger than 0x7f assigned to fr_opcode to char.
  8729.  
  8730.     * subsegs.c: Renamed non-BFD_ASSEMBLER subseg_new to subseg_set.
  8731.     Wrote non-BFD_ASSEMBLER subseg_new.  Now subseg_new always takes a
  8732.     section name, and subseg_set always takes a segT.  Changed all
  8733.     callers as appropriate.
  8734.     * config/obj-coffbfd.c  (change_to_section): Renamed to
  8735.     obj_coff_add_segment.  Corrected.  Made callers use subseg_new.
  8736.     * config/obj-coffbfd.h (obj_segment_name, obj_add_segment):
  8737.     Define.
  8738.  
  8739. Mon Sep 13 13:15:03 1993  Doug Evans  (dje@canuck.cygnus.com)
  8740.  
  8741.     * config/tc-sparc.h (LOCAL_LABEL): Remove test for name[0] == 'L'.
  8742.  
  8743. Fri Sep 10 11:22:08 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8744.  
  8745.     * config/obj-elf.h (S_SET_SIZE): Actually set the size.
  8746.  
  8747.     Gcc lint.
  8748.     * Added a number of casts to function calls.
  8749.     * app.c (do_scrub_begin), as.c (main), expr.c (integer_constant,
  8750.     operand, expr), read.c (read_begin, HANDLE_CONDITIONAL_ASSEMBLY,
  8751.     read_a_source_file, s_align_bytes, demand_empty_rest_of_line,
  8752.     ignore_rest_of_line, big_cons, is_it_end_of_statement, s_ignore),
  8753.     read.h (is_name_beginner, is_part_of_name), config/obj-elf.c
  8754.     (obj_elf_section), config/tc-i386.c (parse_register),
  8755.     config/tc-sparc.c (isoctal, s_proc): Cast char
  8756.     array indices to unsigned char.
  8757.     * app.c (process_escape): Make static.  Add prototype.  Change
  8758.     argument from char to int.
  8759.     * as.c: Include output-file.h for prototypes.  Comment out unused
  8760.     function got_sig.
  8761.     * Makefile.in (as.o): Depend on output-file.h.
  8762.     * as.h (BAD_CASE): Cast val argument to long, and use %ld.
  8763.     (pseudo_typeS): Add prototype to poc_handler field.
  8764.     (print_version_id): Add prototype.
  8765.     (xmalloc, xrealloc): Change size arguments to unsigned long.
  8766.     (do_scrub_next_char): Add prototypes for function arguments.
  8767.     (had_errors, had_warnings, scrub_from_file): Remove duplicate
  8768.     declarations.
  8769.     * atof-generic.c (atof_generic): Make size variables unsigned.
  8770.     * cond.c (ignore_input): Removed unused local variable ptr.
  8771.     * expr.c (floating_constant, integer_constant): Make static.  Add
  8772.     prototypes.
  8773.     * flonum-copy.c (flonum_copy): Make size variables unsigned.
  8774.     * frags.h: Add prototype for frag_init.
  8775.     * hash.h, hash.c: Change hash values from char * to PTR, make hash
  8776.     strings const, make returned error strings const char *.  Added
  8777.     prototypes for functions.
  8778.     * input-file.h, input-file.c (input_file_buffer_size): Return
  8779.     unsigned int.
  8780.     * input-scrub.c (buffer_length): Make unsigned.
  8781.     (input_scrub_push, input_scrub_pop): Make static.
  8782.     * listing.c (list_symbol_table): Cast sprintf argument to unsigned
  8783.     long and use %lx.  Print name of segment rather than address of
  8784.     structure.
  8785.     (listing_list, listing_title): Change argument to int.
  8786.     (listing_eject, listing_flags, listing_psize): Add int argument.
  8787.     * listing.h: Corresponding declaration changes.
  8788.     * obj.h (obj_emit_symbols): Rename prototype argument to avoid
  8789.     shadowing.
  8790.     * read.h: Change get_absolute_expression prototype to return
  8791.     offsetT.  Add prototype for next_char_of_string.  Various
  8792.     prototype changes.
  8793.     * read.c: Remove prototype for next_char_of_string.
  8794.     (pobegin): Make errtxt const.  Make new_length, tmp_len and num
  8795.     unsigned.
  8796.     (s_abort, s_align_ptwo, s_comm, s_data, s_app_line, s_fill,
  8797.     s_globl, s_lsym, s_org, s_set, s_text, s_desc): Add int argument.
  8798.     Change all callers.
  8799.     (s_comm): Change temp from valueT to offsetT.  Cast to long when
  8800.     printing and use %ld (only for error messages anyhow).
  8801.     (s_long, s_int): Remove unused functions.
  8802.     (cons): Change argument to int.
  8803.     (emit_expr): Use %lx when printing longs.
  8804.     (get_absolute_expression): Return offsetT, not long.
  8805.     (get_stab_string_offset): Comment out unless
  8806.     SEPARATE_STAB_SECTIONS.
  8807.     (s_stab_generic): Remove unused offset.  Define seg_is_new only
  8808.     if SEPARATE_STAB_SECTIONS.  Use toP only in local block.
  8809.     * struc-symbol.h (verify_symbol_chain_2): Add prototype.
  8810.     * symbols.c: Remove nested comment.
  8811.     (symbol_new): Rename value to valu.
  8812.     (colon): Use %ld and cast to long in error message.
  8813.     * symbols.h: Remove duplicate verify_symbol_chain declaration.
  8814.     * tc.h: Remove unused md_emit_relocations declaration.
  8815.     (tc_gen_reloc): Add declaration.
  8816.     * write.c (cvt_frag_to_fill): Change first argument name depending
  8817.     on BFD_ASSEMBLER.
  8818.     (write_relocs): Remove unused offset, frags.  Remove tc_gen_reloc
  8819.     declarations.  Make n unsigned.
  8820.     (write_contents): Remove unused i, n, relocs, fixp.  Rename frags
  8821.     to f to avoid shadowing.
  8822.     (write_object_file): Define fragP only if not BFD_ASSEMBLER or not
  8823.     WORKING_DOT_WORD.  Remove unused keep.  Only declare punt and
  8824.     punt_it if they will be used.  Make i and n unsigned.
  8825.     (fixup_segment): Cast to long and use %ld in error message.
  8826.     * xmalloc.c (xmalloc, xrealloc): Make size argument unsigned.
  8827.     * config/obj-aout.h: Remove nested comment.  Add prototype for
  8828.     obj_aout_frob_symbol.
  8829.     (obj_aout_line, obj_aout_desc): Add int argument.
  8830.     * config/obj-ecoff.c: Changed build routines to use an unsigned
  8831.     offset.
  8832.     (add_string): Make len unsigned long.
  8833.     (obj_ecoff_stab): Use %lu in error message.
  8834.     * config/obj-elf.c (obj_elf_common): Comment out unused label
  8835.     allocate_bss.
  8836.     (obj_elf_frob_symbol): Return 0 (currently broken).
  8837.     (obj_elf_desc, obj_elf_version, obj_elf_size, obj_elf_type,
  8838.     obj_elf_ident, obj_elf_weak, obj_elf_local, obj_elf_common,
  8839.     obj_elf_line, obj_elf_previous): Add int argument.
  8840.     (obj_elf_write_symbol_p): Make static.
  8841.     * config/obj-elf.h (obj_elf_write_symbol): Add prototype.
  8842.     * config/tc-hppa.h: Remove declarations of functions declared in
  8843.     read.h.
  8844.     * config/tc-i386.c (ENCODE_RELAX_STATE): Cast to relax_substateT.
  8845.     (s_bss): Add int argument.
  8846.     (fits_in_signed_byte, smallest_imm_type): Make argument unsigned.
  8847.     (dummy): Remove unused function.
  8848.     (md_assemble): Rename local o to op to avoid shadowing.
  8849.     (tc_gen_reloc): Rename local reloc to rel to avoid shadowing.
  8850.     * config/tc-m68k.c (s_data1, s_data2): Add int argument.
  8851.     * config/tc-mips.c (mips_ip, md_apply_fix): Cast to long and use
  8852.     %ld in error messages.
  8853.     * config/tc-sparc.c: Remove duplicate declarations.
  8854.     (getExpression): Rewrite condition to avoid empty conditional
  8855.     body.
  8856.     (s_reg, s_proc, s_reserve, s_common, s_seg, s_xword): Add int
  8857.     argument.
  8858.  
  8859. Thu Sep  9 17:10:00 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  8860.  
  8861.     Changes from Jeff Law:
  8862.  
  8863.     * config/tc-hppa.c (md_assemble): Fix typo.
  8864.     (pa_ip): Delete unused variables and labels.  Do not check for
  8865.     unsigned values being < 0, it can't happen.
  8866.     (is_same_frag): Return a value in recursive call case.
  8867.     (pa_callinfo): Delete unused variables and labels.
  8868.     (pa_comm): Likewise.
  8869.     (pa_copyright): Likewise.
  8870.     (pa_export): Likewise.
  8871.     (pa_import): Likewise.
  8872.     (pa_param): Likewise.
  8873.     (pa_space): Likewise.
  8874.     (pa_subspace): Likewise.
  8875.  
  8876. Thu Sep  9 15:05:34 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8877.  
  8878.     * read.c (get_stab_string_offset, s_stab_generic): If
  8879.     BFD_ASSEMBLER, call subseg_set rather than subseg_new.
  8880.  
  8881. Wed Sep  8 15:09:17 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8882.  
  8883.     * config/obj-elf.c (obj_elf_section): Set SEC_LOAD when using
  8884.     default flag values.
  8885.  
  8886. Tue Sep  7 10:22:52 1993  Stan Shebs  (shebs@rtl.cygnus.com)
  8887.  
  8888.     * read.c: (change_to_section): Don't include body if not MANY_SECTIONS.
  8889.  
  8890.     * read.c: (s_stab, s_xstab, s_desc): New functions to parse
  8891.     various stab-related directives.
  8892.     * read.h: (s_stab, s_xstab, s_desc): New function prototypes.
  8893.     * write.c: (merge_data_into_text): Fix ifdef tangle.
  8894.     * config/obj-coffbfd.c (current_stab_symbol): Fake symbol
  8895.     for stab reader to use.
  8896.     * config/obj-coffbfdh.h (obj_symbol_type): Added fields for
  8897.     stab reader, macros to access.
  8898.  
  8899. Fri Sep  3 16:44:03 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  8900.  
  8901.     * config/obj-elf.h (elf_symbol): No longer special-cased on
  8902.     sparcv9, since elf_symbol_type is now independent of size.
  8903.  
  8904.     * config/obj-elf.h (elf_symbol): Fixed name of elf_symbol_type.
  8905.  
  8906.     * config/tc-hppa.h (struct default_subspace_dict, struct
  8907.     default_space_dict): Field "sort" is now unsigned char.
  8908.  
  8909.     * config/tc-hppa.c (pa_def_subspaces, pa_def_spaces): Align
  8910.     columns for easier reading.
  8911.     (bcmp, index): Deleted USG-specific definitions.  Should be dealt
  8912.     with in ho-*.h, or in libiberty.  Changed mention of index to
  8913.     strchr.
  8914.     (label_symbolP, label_symbol_defined, callinfo_found,
  8915.     within_entry_exit, exit_processing_complete, within_procedure,
  8916.     pa_def_subspaces, pa_def_spaces, pa_pseudo_op_moves_pc,
  8917.     label_symbols_rootP, pa_get_label, pa_label_is_defined,
  8918.     pa_undefine_label): Now static.
  8919.     (movers): Now const, in addition to pointing to const data.
  8920.     * config/tc-hppa.h (label_symbolS_rootP, pa_get_label,
  8921.     pa_label_is_defined, pa_undefine_label, pa_pseudo_op_moves_pc):
  8922.     Delete declarations.
  8923.  
  8924.     Merged more changes from Jeff Law and Pete Hoogenboom:
  8925.  
  8926.     * config/tc-hppa.c (pa_def_subspaces, pa_def_subspaces): Remove
  8927.     entries for .stab and .stabstr.
  8928.  
  8929.     * config/obj-elf.c: (elf_stab_symbol_string):  Set the
  8930.     SEC_LOAD attribute for the .stabstr section.
  8931.     (obj_elf_stab_generic):  Set the SEC_LOAD attribute for the
  8932.     .stab section.
  8933.     (obj_elf_stab_generic):  Change '#if 1' to '#if 0'.
  8934.     (obj_elf_stab_generic):  Incorrect byte count on call to
  8935.     md_number_to_chars function.
  8936.  
  8937.     * config/tc-hppa.c (hppa_tc_symbol): Static functions need
  8938.     argument relocation bits too.
  8939.  
  8940.     * config/tc-hppa.c (pa_stringer): Correctly handle escaping
  8941.     characters which should appear unaltered in the output string (for
  8942.     example an escaped double-quote).
  8943.  
  8944.     * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Always
  8945.     initialize name.
  8946.     (pa_parse_neg_cmpsub_cmpltr): Likewise.
  8947.     (pa_parse_nonneg_add_cmpltr): Likewise.
  8948.     (pa_parse_neg_add_cmpltr): Likewise.
  8949.  
  8950.     * config/tc-hppa.h (parse_cons_expression_hppa): Remove prototype
  8951.     for now.
  8952.     (cons_fix_new_hppa): Likewise.
  8953.     * config/tc-hppa.c (md_apply_fix): Fix type of valp to match
  8954.     prototype.
  8955.  
  8956.     * config/tc-hppa.c: Include libhppa.h.
  8957.  
  8958.     * config/tc-hppa.h: Delete extern declarations of functions
  8959.     found in libhppa.h.
  8960.  
  8961.     * config/tc-hppa.c (pa_space): Rework to avoid unwanted #ifdef
  8962.     OBJ_ELF conditionals.
  8963.     * config/tc-hppa.h (LOCAL_LABEL): Correctly identify local labels
  8964.     on the PA.
  8965.  
  8966. Thu Sep  2 10:43:57 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8967.  
  8968.     * config/tc-mips.c (macro_build): Accept 'z', and ignore it.
  8969.     (macro): Use "z,s,t" for div instructions to match corresponding
  8970.     change in opcode table.
  8971.     (mips_ip): Added 'z'--must be zero register.
  8972.  
  8973. Wed Sep  1 15:56:42 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  8974.  
  8975.     * write.c (write_relocs) [RELOC_EXPANSION_POSSIBLE]: Declare
  8976.     tc_gen_reloc correctly.
  8977.  
  8978.     * configure.in: Use "case" instead of "if" when possible.  Rewrote
  8979.     Makefile editing to reduce work done.  Treat "hppa*" as "hppa".
  8980.  
  8981. Wed Sep  1 12:19:07 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
  8982.  
  8983.     * config/obj-coffbfd.c (obj_coff_section): add 'd' as an alias for
  8984.       section type of data.  'd' seems to be used for m88k.
  8985.  
  8986. Wed Aug 25 22:33:22 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  8987.  
  8988.     * config/tc-mips.c (mips_align, s_stringer, s_cons, s_float_cons,
  8989.     s_mips_space): Set insn_label to NULL to avoid changing it at the
  8990.     next .align statement.
  8991.     (append_insn): Don't swap jal with instruction that sets the
  8992.     register that jal sets.
  8993.  
  8994. Wed Aug 25 16:15:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
  8995.  
  8996.     * configure.in: recognize m88110.
  8997.  
  8998. Wed Aug 25 13:37:46 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  8999.  
  9000.     Merged changes from Pete Hoogenboom and Jeff Law at Utah:
  9001.     * config/tc-hppa.c (pa_build_unwind_subspace): SEC_ALLOC should
  9002.     not be on for .hppa_unwind.
  9003.     (md_pseudo_table): .PARAM and .param are valid pseudo-ops for GAS.
  9004.     (pa_param): New function to handle .PARAM directives.
  9005.     (pa_ip): Pass "isbranch" argument down to pa_parse_*_compltr
  9006.     functions.  Handle '|' for movb; allow movb,n.
  9007.     (pa_parse_nonneg_cmpsub_cmpltr): Delete old useless
  9008.     version.  Handle cases where no completer exists for
  9009.     comb,n or addb,n.
  9010.     (pa_parse_neg_cmpsub_cmpltr): Handle cases where no
  9011.     completer exists for comb,n or addb,n.  Make logic
  9012.     mirror that of pa_parse_nonneg_cmpsub_cmpltr.
  9013.     (pa_parse_nonneg_add_cmpltr): Likewise.
  9014.     (pa_parse_neg_add_cmpltr): Likewise.
  9015.     * tc-hppa.h (pa_param): Declare.
  9016.  
  9017. Tue Aug 24 15:41:35 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9018.  
  9019.     * config/tc-hppa.c (hppa_tc_make_symextn_section): Now static.
  9020.     Added forward declaration.
  9021.  
  9022.     Merged changes from Pete Hoogenboom and Jeff Law at Utah:
  9023.  
  9024.     * config/obj-elf.c (elf_frob_file): Arguments were incorrect on
  9025.     call to elf_tc_make_sections.
  9026.     (obj_elf_version): A .note section shouldn't have the SEC_ALLOC
  9027.     attribute.
  9028.  
  9029.     * config/tc-hppa.c (hppa_tc_make_sections): Add some processing to
  9030.     handle symbol extension sections.
  9031.  
  9032.     * config/tc-hppa.c (pa_build_symextn_section): New function to
  9033.     create a symbol extension section.
  9034.     (pa_export_args): Make call to pa_build_symextn_section.
  9035.     (hppa_tc_symbol, hppa_tc_make_sections,
  9036.     hppa_tc_make_symextn_section): New functions.
  9037.     * config/tc-hppa.h: Update elf_tc_symbol and elf_tc_make_sections
  9038.     macros.
  9039.  
  9040.     * read.c (emit_expr): Place check for TC_CONS_FIX_NEW in the
  9041.     BFD_ASSEMBLER branch as well.
  9042.  
  9043.     * config/tc-hppa.h: If ELF is the target object format, define
  9044.     some ELF- and hppa-specific types and constants.
  9045.  
  9046.     * config/tc-hppa.c (getExpression): Fix a typo.
  9047.  
  9048.     * read.c (read_a_source_file): Use TC_EQUAL_IN_INSN to determine
  9049.     if a `=' is part of an instruction.
  9050.     (read_a_source_file): Handle case where end-of-line markers are
  9051.     also used within instructions.
  9052.     * config/tc-hppa.h (TC_EQUAL_IN_INSN, TC_EOL_IN_INSN): Define.
  9053.  
  9054.     * config/tc-hppa.c (md_apply_fix_1): Keep relocations for
  9055.     out-of-range branches/'calls using "bl" or calls which may need
  9056.     argument relocation stubs.  Do not need/keep relocations for
  9057.     conditional branches.
  9058.     (elf_hppa_final_processing): Fix calculation of function size.
  9059.  
  9060.     * config/obj-elf.c (obj_elf_version): Mark .note section as
  9061.     READONLY.
  9062.  
  9063.     * config/tc-hppa.c (parse_cons_expression_hppa): Pass exp, not the
  9064.     address of exp, to expression.
  9065.     (pa_build_unwind_subspace): Turn SEC_HAS_CONTENTS flag on.
  9066.     (md_apply_fix_1): Delete unwanted comments.
  9067.     (process_exit): Symbols marking the end of a function are always
  9068.     BSF_LOCAL.
  9069.  
  9070.     * config/tc-hppa.c: Include elf32-hppa.h from BFD tree.
  9071.     (pa_space): Declare and initialize gdb_section.
  9072.  
  9073.     * config/obj-elf.c (elf_frob_file): Change
  9074.     elf_tc_final_processing_hook to elf_tc_final_processing.
  9075.  
  9076.     * config/tc-hppa.c (fix_new_hppa): Fix argument list to match
  9077.     argument type declarations.
  9078.     (getExpression): Fix typo.
  9079.     (pa_export_args): Change elf_symbol_type to elf32_symbol_type.
  9080.     (elf_hppa_final_processing): Likewise.  Name changed from
  9081.     elf_hppa_final_processing_hook.
  9082.     (start_symbol_root, start_symbol_last): Deleted.
  9083.  
  9084.     * config/tc-hppa.h (TC_PARSE_CONS_EXPRESSION): Fix typo.
  9085.  
  9086.     * config/tc-hppa.h: Replace "symbolS" with "struct symbol" to
  9087.     avoid changing include ordering.
  9088.  
  9089.     * config/tc-hppa.c (pa_ip, case 'y'): Handle just like 't'.
  9090.  
  9091. Mon Aug 23 12:47:58 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9092.  
  9093.     * config/tc-mips.c (set_at): Added unsignedp argument.  Use
  9094.     load_register.
  9095.     (set_at_unsigned): Removed; changed callers to use set_at.
  9096.     (load_register): Removed unused ip argument.  Changed callers.
  9097.     (append_insn): Don't swap branch and branch likely.
  9098.     (macro_build): Handle 'u'.
  9099.     (load_register): Handle 64 bit constants.
  9100.     (macro): Added M_DABS, removed M_ABSU.  Numerous changes to
  9101.     support 64 bit constants.
  9102.     (mips_ip): Use hex constants in range checks for clarity.
  9103.     (md_number_to_chars): Support 8 byte values.
  9104.  
  9105. Fri Aug 20 16:50:59 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
  9106.  
  9107.     * config/tc-m88k.h: updated copyrights.
  9108.       (TC_CONS_RELOC): declare to be RELOC_32.
  9109.  
  9110. Fri Aug 20 11:16:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9111.  
  9112.     * config/tc-mips.c (mips_isa): New static variable.
  9113.     (md_begin): Initialize mips_isa based on TARGET_CPU.  Don't sanity
  9114.     check macros.  Set text alignment and GP size here.
  9115.     (md_assemble): Don't set text alignment and GP size here.
  9116.     (append_insn): Don't insert NOPs for load delays if mips_isa >= 2.
  9117.     Use the right mask and shift for WRITE_FPR_T and WRITE_FPR_S.  Add
  9118.     a NOP after a branch likely.
  9119.     (mips_emit_delays): Don't insert NOPS for load delays if mips_isa
  9120.     >= 2.
  9121.     (macro): Support r6000 and r4000 macros.
  9122.     (mips_ip): Check insn ISA level against mips_isa before using it.
  9123.     Added 'x' case for ignored register.
  9124.     (md_parse_option): Handle -mipsN and -mcpu=XX.
  9125.  
  9126. Fri Aug 20 01:26:52 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9127.  
  9128.     * config/tc-i386.c (md_pseudo_table) [OBJ_ELF]: Handle ".zero".
  9129.  
  9130. Thu Aug 19 12:15:18 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9131.  
  9132.     * config/tc-sparc.c (s_local): Function moved and renamed...
  9133.     * config/obj-elf.c (obj_elf_local): ...to here.
  9134.     * config/tc-sparc.c (md_pseudo_table), config/obj-elf.c
  9135.     (obj_pseudo_table): Move handling of ".local".
  9136.  
  9137.     * tc.h (md_parse_option): Don't declare if defined as a macro.
  9138.  
  9139.     * config/tc-i386.h (NO_RELOC) [BFD_ASSEMBLER]: Define as
  9140.     BFD_RELOC_NONE.
  9141.     (md_parse_option): New macro, converted from function.
  9142.     * config/tc-i386.c (md_parse_option): Function deleted.
  9143.     (comment_chars) [OBJ_ELF]: Include "/".
  9144.     (line_comment_chars) [OBJ_ELF || TE_I386AIX]: Don't include "/".
  9145.     (md_assemble): Cast 0xe9 to char explicitly, to avoid compiler
  9146.     warning.
  9147.     (md_assemble, md_estimate_size_before_relax, md_create_long_jump):
  9148.     Call reloc for fix_new type, or use correct enumerator, instead of
  9149.     always using NO_RELOC.
  9150.     (i386_operand): Change "ifndef I386COFF" to "ifdef OBJ_AOUT" for
  9151.     tests for valid section.
  9152.     (md_convert_frag) [BFD_ASSEMBLER]: Compensate for frag start
  9153.     address.
  9154.     (md_apply_fix_1) [BFD_ASSEMBLER]: For pc-relative reloc with
  9155.     symbol, compensate for location of reloc.
  9156.     (reloc, BFD_RELOC_32, BFD_RELOC_32_PCREL) [!BFD_ASSEMBLER]: Define
  9157.     to return zero.
  9158.  
  9159. Wed Aug 18 16:51:29 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9160.  
  9161.     * config/obj-elf.c: Undef NO_RELOC before including aout/aout64.h.
  9162.     (obj_elf_weak): New function.
  9163.     (obj_pseudo_table): Handle ".weak".
  9164.     (obj_elf_section): If section directive includes a string, ignore
  9165.     it for now.  Accept "progbits" flag.
  9166.     (obj_elf_type): Accept `@' before flag name.
  9167.  
  9168.     * write.c (relax_and_size_seg) [BFD_ASSEMBLER]: Get rid of `if(1)'
  9169.     condition.
  9170.     (fixup_segment) [BFD_ASSEMBLER]: Use bfd_is_com_section, rather
  9171.     than checking for bfd_com_section directly.
  9172.     (fixup_segment): Simplify range check.
  9173.     (fixup_segment) [OBJ_COFF && TC_I960]: Simplify cpp condition
  9174.     test.
  9175.  
  9176.     * symbols.h (S_SET_WEAK): Declare.
  9177.     * symbols.c (S_SET_WEAK): New function.
  9178.     (S_SET_EXTERNAL, S_CLEAR_EXTERNAL): Don't bother with BSF_EXPORT,
  9179.     it's not a separate flag any more.  Clear BSF_WEAK.
  9180.  
  9181.     * read.c (potable): Treat "string" like "asciz".
  9182.  
  9183. Wed Aug 18 15:30:29 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9184.  
  9185.     * config/tc-mips.c (append_insn): Don't swap branch instructions
  9186.     if .set nobopt or .set volatile.
  9187.     (gp_reference): .lit8 and .lit4 are accessed via the GP register.
  9188.     (macro): Added cases M_LI_S, M_LI_SS.  Fixed M_LI_D and M_LI_DD.
  9189.     (mips_ip): Added cases 'F', 'L', 'f', 'l' for floating point.
  9190.     * config/obj-ecoff.c: Renamed some variables to avoid shadow
  9191.     warnings.
  9192.  
  9193. Mon Aug 16 14:16:02 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  9194.  
  9195.     * config/obj-coff.h (S_IS_COMMON): add missing backslash
  9196.  
  9197.     * configure.in (z8k-*-{coff,sim}): use coffbfd for this target
  9198.  
  9199. Thu Aug 12 11:47:58 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9200.  
  9201.     * config/tc-mips.c (mips_ip): Suggested by
  9202.     davidj@ICSI.Berkeley.EDU (David Johnson): Don't accept symbolic
  9203.     names for 'E' and 'G' argument types (coprocessor registers) and
  9204.     don't warn if $1 is used on the coprocessor.
  9205.     (macro): Handle M_{L,S}WC{0,2,3}_AB correctly.
  9206.  
  9207. Mon Aug  9 12:09:14 1993  Doug Evans  (dje@canuck.cygnus.com)
  9208.  
  9209.     * read.c (emit_expr): Use BFD_RELOC_16 for 2-byte values.
  9210.     * config/tc-sparc.c (md_apply_fix, tc_gen_reloc): Handle
  9211.     BFD_RELOC_16.
  9212.     * config/tc-sparc.h (WORKING_DOT_WORD): Define.
  9213.  
  9214. Mon Aug  9 13:36:22 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9215.  
  9216.     * write.c (merge_data_into_text): Define only if BFD_ASSEMBLER is
  9217.     defined or BFD is not.
  9218.     (relax_and_size_all_segments): Declare local variable fragP.
  9219.  
  9220. Fri Aug  6 15:22:53 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9221.  
  9222.     * config/tc-sparc.c (md_apply_fix, case BFD_RELOC_32): Fill in
  9223.     bytes with real values, not zeros.
  9224.  
  9225. Fri Aug  6 10:57:59 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9226.  
  9227.     * configure.in (mips-*-riscos*, mips-*-sysv*): New (untested)
  9228.     targets, using ecoff and mips-big.
  9229.  
  9230.     * config/tc-mips.c (mips_ip): From davidj@ICSI.Berkeley.EDU (David
  9231.     Johnson): Added case for 'C' for coprocessor instruction codes.
  9232.  
  9233. Thu Aug  5 13:08:56 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9234.  
  9235.     * config/tc-sparc.c (md_apply_fix, case BFD_RELOC_64): Fill in
  9236.     bytes with real values, not zeros.
  9237.     (md_pseudo_table): Call cons for .uaxword.
  9238.  
  9239.     * config/obj-elf.c (obj_pseudo_table): Handle ".8byte".
  9240.  
  9241.     * read.c (emit_expr): Use BFD_RELOC_64 for 8-byte expressions.
  9242.  
  9243.     * write.c (write_object_file): Test DEBUG_SYMS instead of DEBUG
  9244.     for verifying symbol chain.
  9245.     (merge_data_into_text, relax_and_size_all_segments): New
  9246.     functions, split out from write_object_file.
  9247.  
  9248. Tue Aug  3 15:43:55 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9249.  
  9250.     * config/obj-elf.c (obj_elf_stab_generic, in disabled code): If
  9251.     debug section is new, allocate an extra 12 bytes at its start.  If
  9252.     ".stabs" type is N_SO, fill in filename symbol field of that first
  9253.     entry.  Return early if "goof", to simplify later code slightly.
  9254.     (adjust_stab_sections): New function.
  9255.     (elf_frob_file): Apply adjust_stab_sections to each section.
  9256.  
  9257.     * config/obj-elf.c (obj_elf_section, obj_elf_previous): No longer
  9258.     static.
  9259.     * config/obj-elf.h (obj_elf_section, obj_elf_previous): Declare.
  9260.     * config/tc-sparc.c (md_pseudo_table): Call them for "pushsection"
  9261.     and "popsection", and call cons for "uaword" and "uahalf".
  9262.  
  9263.     * config/obj-elf.c (obj_elf_version): Use English in error
  9264.     messages.
  9265.  
  9266. Tue Aug  3 11:29:06 1993  Ian Lance Taylor  (ian@cygnus.com)
  9267.  
  9268.     * config/obj-ecoff.c: Updated for BFD ECOFF changes.  Now gets the
  9269.     swapping routines and external structure sizes via the
  9270.     ecoff_backend information.  No longer includes coff/mips.h.
  9271.  
  9272. Mon Aug  2 17:35:48 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9273.  
  9274.     * config/obj-ecoff.c (get_tag): Save tag name in permanent memory
  9275.     and in hash_ptr->string.
  9276.  
  9277.     * app.c (do_scrub_next_char): Reset state to 0 after .appline if
  9278.     file name is not seen.
  9279.  
  9280. Mon Aug  2 11:51:41 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9281.  
  9282.     * config/tc-sparc.c (md_apply_fix, case BFD_RELOC_64): New case,
  9283.     parallel to BFD_RELOC_32.
  9284.     (tc_gen_reloc): Accept BFD_RELOC_64.
  9285.  
  9286. Thu Jul 29 22:21:28 1993  Ian Lance Taylor  (ian@cygnus.com)
  9287.  
  9288.     * write.c: Don't use short int in a prototype.
  9289.  
  9290.     * expr.c (operand): Make return value simply depend on contents of
  9291.     returned expression.
  9292.  
  9293. Thu Jul 29 18:38:37 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  9294.  
  9295.     * configure.in: sparc*-aout and sparc*-vxworks are BFD assemblers
  9296.  
  9297. Thu Jul 29 18:38:37 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  9298.  
  9299.     * config/ho-sunos.h: remove some old function decls that conflict
  9300.     w/ ANSI, and which weren't needed anyway
  9301.  
  9302. Wed Jul 28 16:34:55 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9303.  
  9304.     * config/obj-elf.h (obj_frob_symbol): Renamed from tc_frob_symbol,
  9305.     and disabled since it breaks Ian's new symbol-value code.
  9306.  
  9307.     * expr.c (integer_constant): Accept more digits if BFD64.
  9308.  
  9309. Wed Jul 28 11:30:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9310.  
  9311.     * config/tc-m68k.c (m68k_ip): If we have a normal constant when we
  9312.     expect a bignum, turn it into a bignum.  Output extra zeroes
  9313.     before a short bignum, rather than after.
  9314.  
  9315. Tue Jul 27 15:54:27 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9316.  
  9317.     * symbols.c (symbol_new): Conditionalize verify_symbol_chain call
  9318.     on DEBUG_SYMS, not DEBUG.
  9319.     (symbol_remove): Likewise.
  9320.     (symbol_insert): Likewise.
  9321.  
  9322. Tue Jul 27 08:45:05 1993  Ian Lance Taylor  (ian@cygnus.com)
  9323.  
  9324.     * config/tc-mips.c (mips_optimize): New static variable.
  9325.     (append_insn): If mips_optimize == 0, always insert NOP
  9326.     instructions.  If mips_optimize < 2, don't swap branches.
  9327.     (md_parse_option): If -Ox or -gx, set mips_optimize accordingly.
  9328.  
  9329. Mon Jul 26 18:02:43 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
  9330.  
  9331.     * Makefile.in (clean): if testsuite does not exist, then skip it.
  9332.  
  9333. Fri Jul 23 14:13:25 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9334.  
  9335.     * config/tc-mips.c (prev_insn_unreordered,
  9336.     prev_prev_insn_unreordered): New static variables.
  9337.     (append_insn): Don't swap branch instruction if
  9338.     prev_prev_insn_unreordered (see comment).
  9339.     (mips_no_prev_insn): Clear the unreordered variables.
  9340.     (s_mipsset): When turning on reordering, set the unreordered
  9341.     variables.
  9342.  
  9343. Fri Jul 23 13:09:44 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9344.  
  9345.     * config/obj-elf.c (obj_elf_section): Sections ".init" and ".fini"
  9346.     are also magic, and have special default flag settings.
  9347.     (obj_elf_frob_symbol): Since the return value from this function
  9348.     isn't used, don't bother calling obj_elf_write_symbol_p, since it
  9349.     doesn't accomplish anything else.
  9350.  
  9351.     * config/tc-sparc.c (md_section_align): Round up section size only
  9352.     for a.out format.
  9353.  
  9354.     * symbols.c: Don't define DEBUG by default.
  9355.  
  9356. Thu Jul 22 12:09:41 1993  Ian Lance Taylor  (ian@cygnus.com)
  9357.  
  9358.     * write.c (fix_new_exp): Handle a O_uminus expression.
  9359.  
  9360.     * expr.c (expr): Don't let absolute_section override
  9361.     undefined_section for the return value.
  9362.  
  9363.     * read.c (read_a_source_file): In NO_PSEUDO_DOT case, if we find a
  9364.     pseudo-op with a poc_handler field of NULL, ignore it and treat it
  9365.     as an instruction instead.
  9366.     * config/tc-m88k.c (md_pseudo_table): Add "set" with a NULL
  9367.     poc_handler field.
  9368.  
  9369.     * config/tc-h8500.c (md_begin): Use a local variable when
  9370.     initializing md_relax_table to avoid warnings about modifying a
  9371.     supposedly const data structure.
  9372.  
  9373. Thu Jul 22 10:58:51 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
  9374.  
  9375.     * config/obj-aout.c: Only include aout/aout64.h if BFD_ASSEMBLER
  9376.     is defined.
  9377.  
  9378. Wed Jul 21 17:32:02 1993  Fred Fish  (fnf@deneb.cygnus.com)
  9379.  
  9380.     * configure.in (case ${host}):  Map *-*-sysv4* to gas_host=sysv.
  9381.     * configure.in (case ${generic_target}):  Add i[34]86-*-sysv4*
  9382.     case to set obj_format=elf.  Must go before i386-*-sysv* case that
  9383.     sets obj_format=coffbsd.  Add *-*-sysv4* to *-*-elf and
  9384.     *-*-solaris case, and move to before *-sysv* case that wants to
  9385.     set obj_format to coff.
  9386.     * config/tc-i386.c (i386_operand): Change all 'exp.X_op' to
  9387.     'exp->X_op'.
  9388.     * config/tc-i386.c (md_apply_fix):  Fix valp to be 'valueT *' for
  9389.     BFD_ASSEMBLER case.
  9390.  
  9391. Wed Jul 21 12:47:51 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9392.  
  9393.     * config/obj-aout.c: Include aout/aout64.h.
  9394.     (obj_aout_frob_symbol): Set BSF_DEBUGGING for a constructor
  9395.     symbol, so that BFD doesn't tamper with the type.
  9396.  
  9397.     * read.c (read_a_source_file): If NO_PSEUDO_DOT is defined, look
  9398.     up opcodes as pseudo-ops even if they don't start with '.'.
  9399.     * config/tc-m88k.h (NO_PSEUDO_DOT): Define.
  9400.     * config/tc-m88k.c (md_assemble): Removed special pseudo-op
  9401.     handling.
  9402.     (md_apply_fix): Set fx_offset to the upper 16 bits of the reloc.
  9403.     Output the low 16 bits for RELOC_HI16, not the high 16 bits.
  9404.     * config/obj-coffbfd.c (do_relocs_for): If TC_M88K, set the
  9405.     r_offset field of the reloc to the fixup offset.
  9406.     (fixup_segments): If TC_M88K, don't warn about fixup overflows.
  9407.     * doc/as.texinfo: Minor updates.
  9408.  
  9409. Tue Jul 20 19:28:56 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9410.  
  9411.     * Extensive changes to permit symbols to contain any expression
  9412.     type and to delay the computation of the expression until the
  9413.     value is actually needed.  This permits setting symbols to values
  9414.     calculated based on object code size.  Expressions were changed to
  9415.     no longer be in a section, to stop the overloading of segment and
  9416.     expression type that previously occurred.
  9417.  
  9418.     * as.c (big_section, pass1_section, diff_section, absent_section):
  9419.     Removed.
  9420.     (expr_section): Added (used for dummy symbols which hold
  9421.     intermediate expression values).
  9422.     (perform_an_assembly_pass): Create expr_section, do not create the
  9423.     sections now removed.
  9424.     * as.h (segT): Removed SEG_ABSENT, SEG_PASS1, SEG_BIG, and
  9425.     SEG_DIFFERENCE.  Added SEG_EXPR.
  9426.     (SEG_NORMAL): Corresponding changes.
  9427.     * subsegs.c (seg_name, subsegs_begin): Changed accordingly.
  9428.     * write.c (write_object_file): Ditto.
  9429.     * config/obj-aout.c (seg_N_TYPE): Ditto.
  9430.     * config/obj-bout.c (seg_N_TYPE): Ditto.
  9431.     * config/obj-coff.c (seg_N_TYPE): Ditto.
  9432.     * config/obj-coffbfd.c (seg_N_TYPE): Ditto.
  9433.     * config/obj-vms.c (seg_N_TYPE): Ditto.
  9434.  
  9435.     * expr.h (operatorT): Moved in from expr.c, added some values.
  9436.     (expressionS): Added X_op field, removed X_seg field; renamed
  9437.     X_subtract_symbol to X_op_symbol.
  9438.     * expr.c: Extensive changes to assign expression types rather than
  9439.     sections and to simplify the parsing.
  9440.     * write.c (fix_new_internal): New static function.
  9441.     (fix_new): Removed sub_symbol argument.
  9442.     (fix_new_exp): New function, takes expression argument.
  9443.     * write.h: Prototype changes for fix_new and fix_new_exp.
  9444.     * cond.c (s_if): Changed accordingly.
  9445.     * read.c (s_lsym, pseudo_set, emit_expr, parse_bitfield_cons,
  9446.     parse_repeat_cons, get_segmented_expression,
  9447.     get_known_segmented_expression, get_absolute_expression): Ditto.
  9448.     * symbols.c (resolve_symbol_value, S_GET_VALUE, S_SET_VALUE):
  9449.     Ditto.
  9450.     * write.c (write_object_file): Ditto.
  9451.     * config/obj-coff.c (obj_coff_def, obj_coff_val): Ditto.
  9452.     * config/obj-coffbfd.c (obj_coff_def, obj_coff_val,
  9453.     obj_coff_endef, yank_symbols): Ditto.
  9454.     * config/obj-elf.c (obj_elf_stab_generic, obj_elf_size): Ditto.
  9455.     * config/tc-a29k.c (md_assemble, parse_operand, machine_ip,
  9456.     print_insn, md_operand): Ditto.
  9457.     * config/tc-h8300.c (parse_exp, colonmod24, check_operand,
  9458.     do_a_fix_imm, build_bytes): Ditto.
  9459.     * config/tc-h8500.c (parse_exp, skip_colonthing, parse_reglist,
  9460.     get_specific, check, insert, md_convert_frag): Ditto.
  9461.     * config/tc-hppa.c (the_insn, fix_new_hppa, cons_fix_new_hppa,
  9462.     md_assemble, pa_ip, getExpression, getAbsoluteExpression,
  9463.     evaluateAbsolute, pa_build_unwind_subspace, pa_entry,
  9464.     process_exit): Ditto.
  9465.     * config/tc-hppa.h (STAB_FIXUP, is_DP_relative, is_PC_relative,
  9466.     is_complex): Ditto.
  9467.     * config/tc-i386.c (pe, md_assemble, i386_operand,
  9468.     md_estimate_size_before_relax, md_create_long_jump): Ditto.
  9469.     * config/tc-i860.c (md_assemble, getExpression, print_insn):
  9470.     Ditto.
  9471.     * config/tc-i960.c (parse_expr, subs, segs, md_convert_frag,
  9472.     get_cdisp, mem_fmt, parse_ldconst, relax_cobr, s_sysproc,
  9473.     i960_handle_align): Ditto.
  9474.     * config/tc-m68k.c (struct m68k_exp, struct m68k_it, seg, op,
  9475.     subs, add_fix, isvar, m68k_ip, md_assemble, md_convert_frag_1,
  9476.     md_estimate_size_before_relax, md_create_long_jump, get_num):
  9477.     Ditto.
  9478.     * config/tc-m88k.c (md_assemble, get_imm16, get_pcr,
  9479.     md_create_short_jump, md_create_long_jump): Ditto.
  9480.     * config/tc-mips.c (md_assemble, append_insn, gp_reference,
  9481.     macro_build, macro, my_getExpression): Ditto.  Also removed
  9482.     get_optional_absolute_expression; just use get_absolute_expression
  9483.     instead.
  9484.     * config/tc-ns32k.c (get_addr_mode, evaluate_expr, convert_iif,
  9485.     fix_new_ns32k, fix_new_ns32k_exp, cons_fix_new_ns32k): Ditto.
  9486.     * config/tc-ns32k.h (fix_new_ns32k prototype): Ditto.
  9487.     * config/tc-sh.c (parse_exp, check, insert, md_convert_frag):
  9488.     Ditto.
  9489.     * config/tc-sparc.c (md_assemble, sparc_ip, getExpression,
  9490.     print_insn): Ditto.
  9491.     * config/tc-tahoe.c (struct top, md_estimate_size_before_relax,
  9492.     tip_op, md_assemble): Ditto.
  9493.     * config/tc-vax.c (seg_of_operand, md_assemble,
  9494.     md_estimate_size_before_relax, md_create_long_jump): Ditto.
  9495.     * config/tc-z8k.c (parse_exp, check_operand, newfix): Ditto.
  9496.  
  9497. Tue Jul 20 12:17:16 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  9498.  
  9499.     * configure.in: i386-lynx is the same as i386-coff
  9500.  
  9501. Mon Jul 19 15:21:20 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
  9502.  
  9503.     * config/obj-elf.c (obj_elf_previous): New function.
  9504.     (previous_section, previous_subsection): New vars.
  9505.     (obj_elf_section): Save current place in case DWARF code wants us
  9506.     to pop back to it.  Handle unquoted section name as well as quoted
  9507.     section name.  Don't crash on invalid strings.
  9508.     (obj_pseudo_table): Handle new pseudos "previous", "2byte", and
  9509.     "4byte".
  9510.  
  9511.     * config/obj-elf.h: Don't include struc-symbol.h.
  9512.     (obj_elf_frob_symbol): Declare arg as struct symbol *.
  9513.  
  9514.     * tc-sparc.h (LOCAL_LABEL) [OBJ_ELF]: Local labels can start with
  9515.     "L" or "_.L_".
  9516.  
  9517.     * write.c (write_relocs): New function, split off from
  9518.     write_contents.  Use memset instead of bzero.
  9519.     (write_object_file): Apply write_relocs to each section before
  9520.     applying write_contents.
  9521.  
  9522.     * read.c (read_begin): Call obstack_begin with values closer to 1K
  9523.     multiples.
  9524.     (read_a_source_file, big_cons, float_cons): Use memcpy instead of
  9525.     bcopy.
  9526.  
  9527. Mon Jul 19 14:30:00 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9528.  
  9529.     * config/tc-m68k.c (m68k_ip_op): Don't decrement strend when
  9530.     calculating opP->isiz; this permits the expression size to be
  9531.     determined as well, later on.
  9532.  
  9533.     * expr.c (clean_up_expression): Don't cancel the subtraction of
  9534.     undefined symbols.
  9535.  
  9536.     * read.c (s_data), config/obj-coffbfd.c (obj_coff_data): If -R,
  9537.     switch to text section rather than data section.
  9538.  
  9539. Mon Jul 19 12:35:39 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9540.  
  9541.     * config/tc-m68k.c (m68k_ip, case AINDX): Add 6 to operand
  9542.     expression (to take the pc-rel instruction itself into account)
  9543.     before using the expression, instead of after.
  9544.  
  9545. Fri Jul 16 08:56:04 1993  Ian Lance Taylor  (ian@cygnus.com)
  9546.  
  9547.     * read.c (float_cons): Simplified parsing logic.  If
  9548.     REPEAT_CONS_EXPRESSIONS is defined, accept a repeat count.
  9549.  
  9550.     * symbols.c (colon): Rather than a special case for TC_HPPA,
  9551.     use new macro tc_frob_label.
  9552.     * config/tc-hppa.h (tc_frob_label): Define.
  9553.  
  9554.     * config/tc-mips.c: Many changes to support simple assembler
  9555.     optimization.
  9556.     (insn_label, prev_insn, prev_prev_insn, dummy_opcode,
  9557.     prev_insn_valid, prev_insn_frag, prev_insn_where,
  9558.     prev_insn_fixp, prev_insn_is_delay_slot): New static
  9559.     variables.
  9560.     (insn_uses_reg, mips_no_prev_insn, mips_emit_delays,
  9561.     mips_align, s_stringer, s_mips_space): New static functions.
  9562.     (mips_define_label): New global function.
  9563.     (md_pseudo_table): For "ascii", "asciz", "asciiz", call
  9564.     s_stringer.  Changed argument to float_cons from 0 or 1 to 'f'
  9565.     or 'd'.  For "space" call s_mips_space.
  9566.     (md_begin): Call mips_no_prev_insn.
  9567.     (append_insn): Only insert necessary NOP instructions.
  9568.     (macro): Call mips_emit_delays before setting mips_noreorder.
  9569.     Increment and decrement mips_noreorder rather than using
  9570.     save_reorder_condition.  Don't bother to use noreorder in
  9571.     M_L_DOB and M_L_DAB, since append_insn will not insert a NOP.
  9572.     (md_atof): Handle floating point numbers correctly for both
  9573.     big and little endian targets.
  9574.     (s_align, s_cons): Call mips_align rather than frag_align.
  9575.     (s_change_seg, s_cons): Call mips_emit_delays.
  9576.     (s_float_cons): Let float_cons do the work.
  9577.     (s_mipsset): Call mips_emit_delays when setting noreorder.
  9578.     * config/tc-mips.h (tc_frob_label): Define to be
  9579.     mips_define_label.
  9580.  
  9581.     * config/obj-ecoff.c (ecoff_build_symbols, ecoff_build_procs,
  9582.     ecoff_frob_files): Consistently use S_GET_VALUE rather than
  9583.     bfd_asymbol_value.  Warn if taking difference of symbols in
  9584.     different segments.
  9585.  
  9586. Thu Jul 15 11:51:03 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9587.  
  9588.     * config/obj-ecoff.c (ecoff_frob_file): Discard all open scopes,
  9589.     with a warning.
  9590.  
  9591.     * config/obj-coffbfd.c (fixup_segment): If TC_M88K, don't adjust
  9592.     by md_pcrel_from if we are relocating against a symbol (we still
  9593.     need md_pcrel_from for a PC relative relocation within the same
  9594.     file).
  9595.     * config/tc-m88k.c (md_pcrel_from): Corrected return value.
  9596.     (omagic): Removed unused variable.
  9597.  
  9598.     * Preliminary support for m88k-coff.
  9599.     * configure.in (m88k-*-coff*): New target.  Use coffbfd and
  9600.     m88kcoff.
  9601.     * config/m88kcoff.mt: New file.
  9602.     * read.c (lex_type): New macro LEX_AT to set lex type of '@'.
  9603.     (pseudo_set): Handle difference of symbols in different fragments
  9604.     by saving the entire expression as the value of the symbol.
  9605.     * symbols.c (resolve_symbol_value): Resolve difference
  9606.     expressions.
  9607.     * config/obj-coffbfd.c (obj_pseudo_table): If TC_M88K, accept
  9608.     "sdef" as a synonym for "def".
  9609.     * config/obj-coffbfd.h: If TC_M88K, include coff/m88k.h and set
  9610.     TARGET_FORMAT.
  9611.     (S_IS_LOCAL): Any symbol which includes \001 in the name is local.
  9612.     * config/tc-m88k.c, config/tc-m88k.h: Numerous changes to bring
  9613.     m88k port up to date, and to add COFF support.
  9614.  
  9615. Wed Jul 14 15:09:32 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
  9616.  
  9617.     * Removed sy_forward and replaced it with an undefined expression
  9618.     as the value of a symbol.
  9619.     * struc-symbol.h (struct symbol): Removed sy_forward field.  Added
  9620.     sy_resolved and sy_resolving single bit fields.
  9621.     * symbols.c (symbol_new): Don't initialize sy_forward field.
  9622.     (resolve_symbol_value): New function to adjust symbol value by
  9623.     fragment address, using recursion to resolve forward symbols.
  9624.     * symbols.h: Added prototype for new function.
  9625.     * read.c (pseudo_set): Set symbolP->sy_value to an undefined
  9626.     expression rather than setting symbolP->sy_forward.
  9627.     * write.c (write_object_file): Use resolve_symbol_value on
  9628.     symbols, keeping the common case (the old behaviour) inline.
  9629.     * config/obj-aout.c (obj_aout_frob_symbol): Removed sy_forward
  9630.     handling (subsumed by write.c change).
  9631.     * config/obj-coff.c, config/obj-coffbfd.c (obj_coff_val): Set
  9632.     sy_value rather than sy_forward.
  9633.     * config/obj-coffbfd.c (obj_coff_endef, yank_symbols): Check
  9634.     expression segment rather than sy_forward.
  9635.     (yank_symbols): Use resolve_symbol_value.
  9636.     (crawl_symbols): Removed extra pass over symbols.
  9637.     * config/obj-aout.c, config/obj-bout.c, config/obj-coff.c,
  9638.     config/obj-vms.c (obj_crawl_symbol_chain): Removed extra pass over
  9639.     symbols which handled sy_forward; use resolve_symbol_value
  9640.     instead.
  9641.     * config/obj-coff.h, config/obj-coffbfd.h (obj_frob_forward_symbol):
  9642.     Define.
  9643.     * config/obj-elf.c (obj_elf_stab_generic): Check expression
  9644.     segment rather than sy_forward.
  9645.     * config/obj-vms.c (VMS_Check_For_Main): Don't initialize
  9646.     sy_forward; do initialize sy_resolved and sy_resolving.
  9647.     * config/tc-hppa.h (STAB_FIXUP): Use sy_value, not sy_forward.
  9648.  
  9649.     * Changes to keep a full expression as the value of a symbol, not
  9650.     just a longword:
  9651.     * struc-symbol.h: New field sy_value.
  9652.     * as.h: Include expr.h before struc-symbol.h.
  9653.     * expr.h: Use struct symbol rather than symbolS.
  9654.     * symbols.c (S_GET_VALUE, S_SET_VALUE): Rewrote to retrieve value
  9655.     of sy_value field; compile unconditionally, not just if
  9656.     BFD_ASSEMBLER.
  9657.     * symbols.h: Compile S_{SG}ET_VALUE prototypes unconditionally.
  9658.     * write.c (write_object_file): Set BFD symbol value to gas symbol
  9659.     value.
  9660.     * config/obj-aout.h, config/obj-bout.h, config/obj-coff.h,
  9661.     config/obj-coffbfd.h, config/obj-generic.h, config/obj-vms.h
  9662.     (S_GET_VALUE, S_SET_VALUE): Removed macro definitions.
  9663.     * config/obj-ieee.c (S_GET_VALUE, S_SET_VALUE): Removed.
  9664.     * config/obj-coff.h, obj-coffbfd.h: Rewrote several macros to use
  9665.     S_GET_VALUE rather than ost_entry.n_value.
  9666.     * config/obj-aout.c (obj_symbol_to_chars), config/obj-bout.c
  9667.     (obj_symbol_to_chars), config/obj-coff.c (obj_symbol_to_chars),
  9668.     config/obj-coffbfd.c (symbol_to_chars): Get value to write out
  9669.     using S_GET_VALUE--don't assume it is already set.
  9670.     * config/obj-ieee.c (do_symbols): Set BFD symbol value to gas
  9671.     symbol value.
  9672.     * config/obj-vms.c (various): Don't assign directly to
  9673.     S_GET_VALUE; use S_SET_VALUE instead.
  9674.  
  9675. Wed Jul 14 09:35:23 1993  Doug Evans  (dje@canuck.cygnus.com)
  9676.  
  9677.     * configure.in: Make sparc64-*-aout* use bfd gas.
  9678.  
  9679.     * configure.in: Recognize h8300h.
  9680.  
  9681. Tue Jul 13 12:09:44 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
  9682.  
  9683.     * config/tc-h8500.c (line_comment_chars): Add hash.
  9684.     (parse_exp, skip_colonthing, build_bytes): Add support for
  9685.     R_H8500_HIGH16 relocation type.
  9686.  
  9687. Mon Jul 12 11:15:34 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
  9688.  
  9689.     * config/obj-elf.c (obj_elf_section): Allow `@' to introduce an
  9690.     attribute name.  Handle `execinstr' attribute.
  9691.  
  9692. Mon Jul 12 07:22:28 1993  Ian Lance Taylor  (ian@cygnus.com)
  9693.  
  9694.     * config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if
  9695.     there is another alternative for the instruction.
  9696.  
  9697. Fri Jul  9 17:31:34 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
  9698.  
  9699.     * doc/as.texinfo: updates for H8/300H
  9700.  
  9701. Thu Jul  8 14:41:43 1993  Mark Eichin  (eichin@cygnus.com)
  9702.  
  9703.     * config/tc-i960.c (md_create_short_jump, md_create_long_jump,
  9704.     md_number_to_chars, md_section_align): Adjusted to use valueT,
  9705.     addressT, to match tc.h.
  9706.  
  9707. Thu Jul  8 14:15:05 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9708.  
  9709.     * config/tc-sparc.c (s_common): Revamp to handle both syntaxes,
  9710.     independent of format.
  9711.  
  9712. Thu Jul  8 07:25:25 1993  Doug Evans  (dje@canuck.cygnus.com)
  9713.  
  9714.     * config/tc-h8300.h (TC_CONS_RELOC): Use R_RELLONG if h8/300h.
  9715.  
  9716. Wed Jul  7 18:11:07 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
  9717.  
  9718.     * configure.in: define CROSS=-DCROSS_COMPILE if it is a cross
  9719.     build; also recognize h8300-*-coff
  9720.  
  9721. Wed Jul  7 10:21:24 1993  Ian Lance Taylor  (ian@cygnus.com)
  9722.  
  9723.     * symbols.c (fb_label_instance, fb_label_instance_inc): Don't dump
  9724.     core just because somebody uses a label before it is defined.
  9725.  
  9726.     * config/mips-opcode.h: Moved to opcode/mips.h.
  9727.     * config/tc-mips.c: Include opcode/mips.h rather than
  9728.     mips-opcode.h.
  9729.     (append_insn): An extra NOP is only needed after instructions
  9730.     which set HI or LO, not after instructions which read it.
  9731.     (macro_build, mips_ip): Support new 'E', 'G' and 'B' arguments.
  9732.     (macro): cfc1 and ctc1 now take "t,G" rather than "t,d".
  9733.     * config/tc-mips.h (struct mips_opcode): Don't define.
  9734.     * config/mips-big.mt, config/mips-lit.mt (TARG_CPU_DEPENDENTS):
  9735.     Set to $(srcdir)/../include/opcode/mips.h.
  9736.  
  9737.     Get the MIPS assembler up to speed with other gas changes:
  9738.  
  9739.     * config/obj-ecoff.c (ecoff_set_vma, ecoff_frob_symbol):
  9740.     Removed; don't change the symbol value.
  9741.     (ecoff_build_symbols, ecoff_build_procs, ecoff_frob_file): Use
  9742.     bfd_asymbol_value rather than S_GET_VALUE to include section
  9743.     vma in symbol value.
  9744.     (ecoff_frob_file): Ignore BSF_SECTION_SYM symbols, since ECOFF
  9745.     doesn't output them.  Set the vma of sections.
  9746.     * config/obj-ecoff.h: Don't define obj_frob_symbol.
  9747.     * config/tc-mips.c (tc_gen_reloc): Adjustment by section vma is no
  9748.     longer necessary.
  9749.     (various): use valueT rather than long.
  9750.  
  9751. Wed Jul  7 08:33:30 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9752.  
  9753.     * config/tc-sparc.h (ENV64): Define for v9.
  9754.  
  9755.     * config/tc-sparc.c (s_xword): For numbers, call big_cons.
  9756.     (sparc_ip, md_apply_fix, tc_gen_reloc): Handle some sparc64
  9757.     relocation types.
  9758.     (md_number_to_chars): Handle 8-byte value.
  9759.  
  9760.     * config/obj-elf.h (elf_symbol): For v9, use 64-bit symbol type.
  9761.  
  9762.     * as.h (valueT): Typedef moved here.
  9763.     * struc-symbol.h (valueT): ...from here.
  9764.     * write.c (write_object_file): Locals from_addr, to_addr,
  9765.     table_addr are now addressT.  Supply prototype for bfd_alloc for
  9766.     now.
  9767.     (fixup_segment): Local add_number is now valueT.  Correct some
  9768.     range-checking bugs.
  9769.     (relax_align): Type `int' should be sufficient for the exponent.
  9770.     (fix_new): Argument offset is type offsetT.  Locals size and
  9771.     newsize are type valueT.
  9772.     * write.h (struct fix): Fields fx_offset and fx_addnumber are now
  9773.     type valueT.
  9774.     (fix_new): Fix prototype.
  9775.     * symbols.c (symbol_new): Symbol value is type valueT.
  9776.     (S_SET_VALUE, S_GET_VALUE): Likewise.
  9777.     (S_IS_*): Specify int return type explicitly.
  9778.     * symbols.h (symbol_new, S_GET_VALUE, S_SET_VALUE): Fixed
  9779.     prototypes.
  9780.     * read.c (s_comm): Values read are type valueT.
  9781.     * expr.h (expressionS): Field X_add_number is an offsetT.
  9782.     * tc.h (md_create_long_jump, md_create_short_jump,
  9783.     md_section_align): Addresses are now type addressT.
  9784.     (md_number_to_chars, md_apply_fix): Pass value as valueT.
  9785.     * config/tc-i386.c (md_create_short_jump, md_create_long_jump,
  9786.     md_number_to_chars, md_section_align): Adjusted.
  9787.     * config/tc-sparc.c (sparc_ip): Initialize `len' variable to make
  9788.     gcc shut up.
  9789.     (md_create_short_jump, md_create_long_jump, md_number_to_chars,
  9790.     md_section_align): Adjusted.
  9791.  
  9792.     * config/tc-sparc.c (s_reserve): Permit use for other than a.out
  9793.     format.
  9794.     (s_common): Handle Solaris-2 version.
  9795.  
  9796.     * config/ho-generic.h (free): Returns void if __STDC__.
  9797.  
  9798.     * config/obj-elf.h (obj_elf_frob_symbol, elf_frob_file,
  9799.     elf_file_symbol): Declare.
  9800.  
  9801.     * expr.c (floating_constant, integer_constant): Now return void.
  9802.  
  9803. Thu Jul  1 12:13:43 1993  Ian Lance Taylor  (ian@cygnus.com)
  9804.  
  9805.     * configure.in: Match on sparc*-fujitsu-none rather than
  9806.     sparclite*-fujitsu-none.
  9807.  
  9808. Wed Jun 30 11:12:02 1993  Ian Lance Taylor  (ian@cygnus.com)
  9809.  
  9810.     * read.c (cons): Conditionalize parsing of expression.  Move
  9811.     putting value into object file into separate function.  Separate
  9812.     out MRI and WANT_BITFIELDS cases into separate functions.
  9813.     (emit_expr): New function to write data into object file.
  9814.     Conditionalize on TC_CONS_FIX_NEW and TC_CONS_RELOC rather than on
  9815.     processor types.
  9816.     (parse_bitfield_cons): New function to parse bitfield expressions
  9817.     as used by i960 assemblers.  Only compiled if
  9818.     BITFIELD_CONS_EXPRESSIONS is defined.
  9819.     (parse_mri_cons): New function to parse MRI style strings.  Only
  9820.     compiled if MRI is defined.
  9821.     (parse_repeat_cons): New function to parse repeat counts.  Only
  9822.     compiled if REPEAT_CONS_EXPRESSIONS is defined.
  9823.     * read.h (emit_expr): Added declaration of new function.
  9824.     * config/tc-a29k.h (TC_CONS_RELOC): Define to be RELOC_32.
  9825.     * config/tc-h8300.h (TC_CONS_RELOC): Define to be R_RELWORD.
  9826.     * config/tc-hppa.c (parse_cons_expression_hppa): New function to
  9827.     parse a HPPA expression, rather than special case in cons
  9828.     function.
  9829.     (cons_fix_new_hppa): New function to emit an HPPA fixup, rather
  9830.     than special case in emit_expr function.
  9831.     * config/tc-hppa.h (TC_PARSE_CONS_EXPRESSION, TC_CONS_FIX_NEW):
  9832.     Define to use new functions from tc-hppa.c.
  9833.     * config/tc-i960.h (BITFIELD_CONS_EXPRESSIONS): Define.
  9834.     (WANT_BITFIELDS): Removed; now obsolete.
  9835.     * config/tc-mips.h (REPEAT_CONS_EXPRESSIONS): Define.
  9836.     * config/tc-ns32k.c (cons_fix_new_ns32k): New function to emit an
  9837.     NS32K fixup, rather than special case in emit_expr function.
  9838.     * config/tc-ns32k.h (TC_CONS_FIX_NEW): Define to be
  9839.     cons_fix_new_ns32k.  Also use PARAMS rather than checking
  9840.     __STDC__.
  9841.     * config/tc-sparc.h (TC_CONS_RELOC): Define to RELOC_32.
  9842.  
  9843.     * write.c (relax_and_size_seg, adjust_reloc_syms, write_contents):
  9844.     Don't core dump if gas has no information about a section.
  9845.  
  9846. Wed Jun 30 06:21:27 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9847.  
  9848.     * config/tc-sparc.c (md_begin): If sparcv9 is defined, reset
  9849.     current_architecture to v9 automatically.
  9850.  
  9851.     * config/tc-sparc.h (TARGET_FORMAT): Use elf64-sparc for v9.
  9852.  
  9853.     * config/tc-sparc64.h, config/tc-sparc64.c: New files.
  9854.     * configure.in: Use sparc64 cpu files for v9, and default to elf
  9855.     format.
  9856.  
  9857.     * write.c (relax_and_size_seg): Always fully process a section.
  9858.     Section size is last frag's (vm)address plus its size.  If no
  9859.     relocations are present, force SEC_RELOC flag clear.
  9860.     (dump_section_relocs): New debugging routine.
  9861.     (adjust_reloc_syms): New routine, broken out from write_contents.
  9862.     Don't adjust relocs that are already relative to section symbol.
  9863.     Look for obj_fix_adjustable macro to know what else to skip,
  9864.     instead of obj_write_symbol.  Look for section symbol stored in
  9865.     section information.
  9866.     (write_object_file): Map adjust_reloc_syms over all sections.
  9867.     (write_contents): Clear SEC_RELOC flag if no relocations are
  9868.     found.
  9869.  
  9870.     * as.h (__PTR_TO_INT, __INT_TO_PTR): New versions for Saber, to
  9871.     keep it quiet.
  9872.  
  9873.     * write.c (remove_subsegs): Don't define for BFD_ASSEMBLER.
  9874.  
  9875. Fri Jun 25 14:42:53 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
  9876.  
  9877.     * Makefile.in (all, dvi, info, install-info, clean-info): do not
  9878.       echo recursion lines.
  9879.       (install-info, clean-info): collapse into the dvi and info rule.
  9880.  
  9881. Fri Jun 25 10:47:24 1993  Doug Evans  (dje@canuck.cygnus.com)
  9882.  
  9883.     * config/tc-sparc.c (sparc_ip): Remove support for %d/%q fp regs.
  9884.     All fp regs are now specified as %f.
  9885.     (priv_reg_table): fpq -> fq.
  9886.  
  9887. Fri Jun 25 03:43:06 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
  9888.  
  9889.     * as.h (strstr): Disable declaration for now.
  9890.     (fprint_value, sprint_value): Declare.
  9891.  
  9892.     * subsegs.c (subseg_new_rest): Use memset to clear new frag.
  9893.     (subseg_new) [BFD_ASSEMBLER]: Initialize all seginfo fields.
  9894.  
  9895.     * expr.c (expr_part): Made sanity checks a.out-specific.
  9896.     (expr): Disabled sanity checks.
  9897.  
  9898.     * subsegs.h (segment_info_type) [BFD_ASSEMBLER]: Add field for
  9899.     section symbol.
  9900.     * subsegs.c (subseg_change): Initialize section symbol pointer
  9901.     when setting up a new section.
  9902.  
  9903.     * symbols.c (symbol_new) [BFD_ASSEMBLER]: Point BFD symbol's udata
  9904.     field back at gas symbol structure.
  9905.  
  9906.     * symbols.c (colon): Cast obstack_next_free value to char* before
  9907.     doing arithmetic on it.
  9908.     * subsegs.c (subseg_new_rest): Likewise.
  9909.     * as.h (frag_now_fix): Likewise.
  9910.  
  9911.     * config/obj-elf.c (elf_file_symbol): Use subseg_new instead of
  9912.     calling bfd_make_section_old_way directly, and call subseg_set
  9913.     instead of subseg_change.  Now returns void.
  9914.     (obj_elf_write_symbol): Only check local symbols for now.
  9915.     (elf_stab_symbol): Now static and void, and disabled until it
  9916.     works completely.
  9917.     (obj_elf_size): For expression values, fail silently for now.
  9918.     (obj_symbol_new_hook): Do nothing.
  9919.  
  9920.     * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP22
  9921.     relocation.
  9922.     (s_local) [OBJ_ELF]: New function.
  9923.     (md_pseudo_table) [OBJ_ELF]: Call it for "local".
  9924.     (s_common): Rearrange to handle Solaris .common pseudo, which may
  9925.     sometimes use bss space instead of common.
  9926.     * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Add new `local' field.
  9927.  
  9928. Thu Jun 24 16:33:53 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  9929.  
  9930.     * configure.in: set host config to hpux for hppa*-hp-hpux
  9931.  
  9932. Thu Jun 24 13:35:06 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
  9933.  
  9934.     * app.c (app_pop, app_push): Fix bug reported by Chris Arthur.
  9935.  
  9936. Tue Jun 22 01:04:23 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
  9937.  
  9938.     * subsegs.c (subseg_new): Don't special-case a.out -R flag here.
  9939.     * config/obj-aout.c (s_sect): Do it here.
  9940.  
  9941.     * as.h (BAD_CASE): Don't make some lame compilers think we want
  9942.     substitution inside strings.
  9943.  
  9944.     * as.c (print_version_id): New function, split off from main.
  9945.     (main): Call it.
  9946.     * config/tc-sparc.c (md_parse_option) [OBJ_ELF]: Print version id
  9947.     for -V.  Ignore -Q and -s options for now.
  9948.  
  9949. Mon Jun 21 17:37:59 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  9950.  
  9951.     * Makefile.in: make installation & builds work again for crosses
  9952.  
  9953. Sun Jun 20 18:18:26 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
  9954.  
  9955.     * listing.c (list_symbol_table): Rewrite to print wide (>32 bits)
  9956.     symbol values correctly.
  9957.  
  9958.     * write.c (write_object_file): Deleted unused variables.
  9959.     (fixup_segment): Use sprint_value.
  9960.  
  9961.     * messages.c (sprint_value, fprint_value): New routines.
  9962.  
  9963.     * config/obj-elf.c (elf_stab_symbol): Now returns void.
  9964.     (obj_elf_stab_generic): Fix typo in logic.
  9965.  
  9966.     * Makefile.in (INCLUDES): Look in ../bfd for bfd.h.
  9967.  
  9968.     * as.h (addressT, offsetT): New types, using BFD types if
  9969.     available.
  9970.     (relax_addressT, struct frag): Use them.
  9971.     * struc-symbol.h (valueT, struct broken_word): Likewise.
  9972.  
  9973.     * as.h (subseg_new) [BFD_ASSEMBLER]: Name argument is const.
  9974.     * subsegs.c (subseg_new) [BFD_ASSEMBLER]: Name argument is const.
  9975.  
  9976. Thu Jun 17 16:53:56 1993  david d `zoo' zuhn (zoo@cygnus.com)
  9977.  
  9978.     * Makefile.in: canonicalize install.sh; for use within
  9979.     this directory (and subdirs)
  9980.  
  9981. Sun Jun 20 02:34:04 1993  Ashley Saulsbury (ans@sics.se)
  9982.  
  9983.     * m88k-opcode.h : fixed tiny tiny mistake - xcr was incorrectly
  9984.     specified, should have both S1 and S2 fields identical
  9985.     If only finding the problem was as fast as fixing the bug !!!!
  9986.  
  9987. Tue Jun 15 16:01:57 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  9988.  
  9989.     * write.c (write_contents): Do write out non-loadable sections.
  9990.     Debug sections can fall in this category.
  9991.  
  9992.     * read.c (s_app_file): Call elf_file_symbol for ELF files.
  9993.     * config/obj-elf.c (elf_file_symbol): New function.
  9994.  
  9995.     * config/obj-elf.c (elf_stab_symbol_string): Renamed from pa_...,
  9996.     added argument to specify section base name.
  9997.     (obj_elf_stab_generic): Renamed from ..._stab.  New argument
  9998.     specifies section base name.
  9999.     (obj_elf_stab): New function, calls obj_elf_stab_generic with
  10000.     ".stab" as section base name.
  10001.     (obj_elf_xstab): New function, calls obj_elf_stab_generic.
  10002.     (obj_elf_type): Handle "object".  Use bitwise-or to merge in
  10003.     symbol flags rather than simply replacing, so global/local flags
  10004.     are preserved.
  10005.     (obj_elf_ident): Rewrite.
  10006.  
  10007. Tue Jun 15 17:03:25 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  10008.  
  10009.     * Makefile.in: remove parentdir support; use INSTALL_XFORM
  10010.  
  10011. Wed Jun  9 11:26:07 1993  Ian Lance Taylor  (ian@cygnus.com)
  10012.  
  10013.     * config/tc-i386.c (md_pseudo_table): .align uses a power of two
  10014.     for any a.out target, not just Linux and 386BSD.
  10015.     * config/tc-i386.h (DOT_LABEL_PREFIX): Do not define for any a.out
  10016.     target.
  10017.  
  10018. Mon Jun  7 13:33:19 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10019.  
  10020.     * config/tc-m88k.c: Don't include flonum.h, md.h, m88k.h.  They
  10021.     don't exist or duplicate other inclusions.
  10022.  
  10023.     * config/tc-vax.h (NO_RELOC): Define.
  10024.  
  10025. Mon Jun  7 09:55:03 1993  Doug Evans  (dje@canuck.cygnus.com)
  10026.  
  10027.     * config/tc-sparc.c (sparc_ip): Fix parsing of asi number.
  10028.     Fix error message.
  10029.  
  10030. Sat Jun  5 19:32:52 1993  Torbjorn Granlund  (tege@nada.kth.se)
  10031.  
  10032.     * gas/config/m88k-opcode.h (m88k_opcodes): Add 88110 instructions.
  10033.     * gas/config/tc-m88k.c (get_reg): New arg reg_prefix.  Compare first
  10034.     char to reg_prefix instead of to 'r'.
  10035.     (calcop): Change calls to get_reg.
  10036.     (calcop): Handle new case 'x' to set reg_prefix.
  10037.     (calcop): Set reg_prefix to 'r' after each call to get_reg.
  10038.     (cmpslot): Add 88110 conditions.
  10039.  
  10040.     * gas/config/m88k-opcode.h: Swap cases for "rot" for consistency.
  10041.  
  10042.     * gas/config/tc-m88k.c (get_bf): Always restore input_line_pointer
  10043.     before returning.
  10044.  
  10045.     * gas/config/m88k-opcode.h (m88k_opcodes): Make equal mnemonics
  10046.     adjacent; mov.s and mov.d swapped.
  10047.     (m88k_opcodes): Fix typo `r2' -> `2'.
  10048.  
  10049. Fri Jun  4 15:59:31 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
  10050.  
  10051.     * config/h8300.c: Support for H8/300-H opcodes.
  10052.  
  10053.     * config/obj-coffbfd.c (w_strings): String table length is 4
  10054.     bytes, no matter what the host int size is.
  10055.  
  10056.     * configure.in (alpha-*-osf*): New.
  10057.  
  10058. Fri Jun  4 07:51:18 1993  Ian Lance Taylor  (ian@cygnus.com)
  10059.  
  10060.     * configure.in (mips-*-ecoffl*): New target; use ecoff and
  10061.     mips-lit.
  10062.     (mips-*-ecoff*): Added trailing '*'.
  10063.  
  10064.     * config/obj-ecoff.c (ecoff_build_procs): Force the adr of the
  10065.     first FDR in a file to be zero.
  10066.  
  10067. Thu Jun  3 14:09:59 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10068.  
  10069.     * Makefile.in (VERSION): Jump to 2.1.4.
  10070.  
  10071.     * config/ho-hppabsd.h: New file, from Peter Hoogenboom.
  10072.  
  10073.     * config/tc-mips.c (md_assemble): Call bfd_set_gp_size only for
  10074.     ECOFF format.
  10075.  
  10076. Tue Jun  1 15:21:57 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10077.  
  10078.     * config/tc-m68k.c (md_assemble): The 68040 cpu doesn't want a
  10079.     separate '851 mmu.
  10080.  
  10081.     * config/obj-elf.c, config/obj-elf.h: Update for new type, macro,
  10082.     and routine names.  Assuming 32 bits for now.
  10083.  
  10084.     * config/obj-elf.c (elf_frob_file): Look for macro
  10085.     elf_tc_final_processing_hook, instead of assuming a function
  10086.     always exists.
  10087.     * config/tc-hppa.c (elf_hppa_final_processing_hook): Renamed from
  10088.     tc_final_processing_hook.
  10089.     * config/tc-hppa.h (elf_tc_final_processing_hook): Use it.
  10090.  
  10091.     * config/tc-hppa.h (elf_tc_symbol, elf_tc_make_sections): Macros
  10092.     moved here from obj-elf.h.
  10093.     * config/obj-elf.h: Don't include CPU-specific header files.
  10094.  
  10095. Sun May 30 16:49:37 1993  Peter Hoogenboom  (hoogen@fast.cs.utah.edu)
  10096.  
  10097.     * configure.in: configurations should match on 'hppa*' not 'hppa'.
  10098.  
  10099.     * read.c: Add support for HPPA assembly language syntax (denoted
  10100.     with '#ifdef TC_HPPA').
  10101.  
  10102.     * symbols.c: Add support for HPPA assembly language syntax (denoted
  10103.     with '#ifdef TC_HPPA').
  10104.  
  10105.     * write.c (write_contents):  Add support for HPPA-style
  10106.     relocations.
  10107.  
  10108.     * config/obj-elf.c: Stab symbols weren't written properly.
  10109.     (obj_elf_version):
  10110.     (obj_elf_desc):
  10111.     (obj_elf_write_symbol):
  10112.     (obj_elf_write_symbol_p):
  10113.     (obj_elf_frob_symbol):
  10114.     (elf_stab_symbol):
  10115.     (elf_frob_file):
  10116.  
  10117.     * config/tc-hppa.c: Support for HPPA symbol extension sections.
  10118.     Remove some unused code.  Support for HPPA assembly language
  10119.     syntax.
  10120.  
  10121.     * app.c:
  10122.  
  10123.     * symbols.c:
  10124.  
  10125.     * config/obj-elf.h:
  10126.     (obj_write_symbol):
  10127.     (obj_frob_file):
  10128.     (elf_tc_symbol):
  10129.     (elf_tc_make_sections):
  10130.  
  10131.     * config/tc-hppa.h:
  10132.  
  10133. Sun May 30 21:44:45 1993  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  10134.  
  10135.     * config/obj-ecoff.c (obj_read_begin_hook, add_file): Assume
  10136.     hash_new will have succeeded if it returns.
  10137.     * config/tc-a29k.c (md_begin): Likewise.
  10138.  
  10139.     * config/tc-i386.c (tc_aout_fix_to_chars): Now nbytes_r_length is
  10140.     const.
  10141.     (mode_from_disp_size, opcode_suffic_to_type): Now inline under
  10142.     gcc.
  10143.     (fits_in_{signed,unsigned}_{byte,word}): Likewise.
  10144.  
  10145.     * expr.c: Delete register declarations; gcc ignores them anyways.
  10146.  
  10147. Fri May 28 19:03:32 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10148.  
  10149.     * hash.c (hash_new): Use xmalloc, since many callers don't check
  10150.     for failure.
  10151.  
  10152. Thu May 27 13:02:15 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10153.  
  10154.     * frags.c (zero_address_frag, bss_address_frag): These are
  10155.     external.
  10156.  
  10157.     * tc.h (md_reloc_size): This is const.
  10158.     * config/tc-{a29k,h8300,h8500,i386,i860,i960,m68k,ns32k,z8k}.c
  10159.     (md_reloc_size): Now const.
  10160.  
  10161.     * config/aout_gnu.h (enum machine_type, enum reloc_type): Delete
  10162.     trailing commas.
  10163.     * as.h (enum _segT): Ditto.
  10164.  
  10165.     * struc-symbol.h (N_TYPE_seg): This should be const.
  10166.  
  10167. Thu May 27 11:43:59 1993  Michael Meissner  (meissner@osf.org)
  10168.  
  10169.     * config/obj-ecoff.c (add_file): Cast file_name to char * in
  10170.     listing_source_file call.
  10171.  
  10172.     * config/obj-elf.c (elf_stab_symbol_string): Cast first argument
  10173.     of subseg_new call to eliminate const attribute.
  10174.     (obj_elf_stab): Ditto.
  10175.     (obj_symbol_new_hook): Cast first argument of bzero call to char *.
  10176.  
  10177.     * read.c (s_align_bytes): Properly record alignment.
  10178.  
  10179.     * expr.c (__): Undefine __ macro before use, since OSF/1 uses it
  10180.     for the prototype/no prototype macro.
  10181.  
  10182.     * as.c (got_sig): Don't do return ((SIGTY) 0), SIGTY might well be
  10183.     void.
  10184.  
  10185.     * as.h (relax_stateT enum): Delete trailing comma.
  10186.  
  10187. Thu May 27 11:07:50 1993  Ian Lance Taylor  (ian@cygnus.com)
  10188.  
  10189.     * app.c (do_scrub_begin): Let line_comment_chars override
  10190.     comment_chars.
  10191.     (do_scrub_next_char): If a line comment character is not at the
  10192.     start of a line, treat it as a comment character if it is one.
  10193.     For a CPP line comment use pseudo-op .appline rather than .line.
  10194.     * input-scrub.c (logical_input_line): Make int rather than
  10195.     unsigned.
  10196.     (input_scrub_push, input_scrub_begin): Initialize
  10197.     logical_input_line to -1 rather than 0.
  10198.     (bump_line_counters): Increment logical_input_line.
  10199.     (new_logical_line): If line_number is -2, decrement
  10200.     logical_input_line.
  10201.     (as_where): Use logical_input_line even if it is 0.
  10202.     * read.h (s_app_file prototype): Now takes an int argument.
  10203.     * read.c (potable): Make .appfile call s_app_file with 1.  New
  10204.     .appline pseudo-op calls s_app_line.
  10205.     (s_app_file): If .appfile, call new_logical_line with -2 to
  10206.     account for newline inserted by do_scrub_next_char.  If listing,
  10207.     call listing_source_file.
  10208.     (s_app_line): New function to handle fake pseudo-op .appline.
  10209.     * config/obj-coff.c (obj_pseudo_table): Make .appline call
  10210.     obj_coff_ln.
  10211.     (obj_coff_ln): Added argument to indicate whether .appline.
  10212.     * config/obj-coffbfd.c (obj_pseudo_table): Make .appline call
  10213.     obj_coff_ln.
  10214.     (obj_coff_ln): Added argument to indicate whether .appline.
  10215.     * config/tc-mips.c (s_file): Pass argument to s_app_file.
  10216.  
  10217. Tue May 25 11:59:07 1993  Ian Lance Taylor  (ian@cygnus.com)
  10218.  
  10219.     * config/obj-bout.h (S_GET_VALUE): Removed unnecessary cast.
  10220.  
  10221. Thu May 20 19:14:24 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10222.  
  10223.     * config/tc-m68k.c (md_apply_fix_2): Straighten out check for
  10224.     invalid values.
  10225.  
  10226. Wed May 19 07:33:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
  10227.  
  10228.     * config/tc-h5000.c (build_bytes): Understand @rd mode and build
  10229.     relocations correctly.
  10230.  
  10231. Mon May 17 15:06:26 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
  10232.  
  10233.     * Makefile.in (FLAGS_TO_PASS): Leave out TEXI2DVI for now, because
  10234.     it's wrong.
  10235.  
  10236.     * config/tc-m68k.c (md_apply_fix_2): Apply range checks and warn
  10237.     if value is out of range.
  10238.  
  10239.     Patch from Minh Tran-Le:
  10240.     * config/tc-i386.c (i386_operand): For in/out port register used
  10241.     as base reg, include InOutPortReg in operand type.
  10242.     (MATCH): Accept overlap value of InOutPortReg.
  10243.  
  10244. Mon May 17 09:29:34 1993  Ian Lance Taylor  (ian@cygnus.com)
  10245.  
  10246.     * config/obj-ecoff.c (add_file, obj_ecoff_loc, obj_ecoff_stab):
  10247.     Add calls to listing routines to produce combined source/assembler
  10248.     listings.
  10249.     (obj_ecoff_stab): Create a file pointer if none used yet.
  10250.     (ecoff_frob_file): Set symcount to correct value.
  10251.  
  10252. Fri May 14 06:53:33 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
  10253.  
  10254.     * Makefile.in (VERSION): Bump to version 2.1, in preparation for
  10255.     release.
  10256.  
  10257.     * config/obj-aout.h (H_GET_HEADER_SIZE, H_SET_SYMBOL_TABLE_SIZE):
  10258.     Define in terms of constants, not C structure sizes.
  10259.  
  10260.     * config/tc-rs6000.c, config/tc-rs6000.h: Delete empty files.
  10261.  
  10262. Thu May 13 17:01:55 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10263.  
  10264.     * config/obj-aout.c (obj_header_append): Don't define if it's
  10265.     defined as a macro.
  10266.     * config/obj-hp300.h (obj_header_append): Define it as a macro.
  10267.     * config/obj-hp300.c (hp300_header_append): New function.
  10268.  
  10269.     * Makefile.in (distclean): Don't bother cleaning up doc files;
  10270.     they aren't going to be in this directory.
  10271.  
  10272. Thu May 13 07:51:35 1993  Ian Lance Taylor  (ian@cygnus.com)
  10273.  
  10274.     * config/obj-ecoff.c (ecoff_build_symbols): Handle absolute
  10275.     symbols.
  10276.  
  10277.     * tc.h (TC_COFF_SIZEMACHDEP): Don't define here.
  10278.     * config/tc-sh.h (TC_COFF_SIZEMACHDEP): Define here instead.
  10279.  
  10280. Mon May 10 06:01:12 1993  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  10281.  
  10282.     * config/obj-vms.c (VMS_Symbol_type_list): Don't bother with
  10283.     initialization.
  10284.  
  10285.     * configure.in (targets): Treat m68*-*-sysv* like m68k-*-coff.
  10286.  
  10287. Wed May  5 14:00:49 1993  Ian Lance Taylor  (ian@cygnus.com)
  10288.  
  10289.     * config/tc-mips.c (macro): Correct floating point double word
  10290.     loads and stores for big endian target.
  10291.  
  10292. Wed May  5 08:39:21 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
  10293.  
  10294.     * config/tc-i386.c: Replace SEG_* with *_section, fix up subseg_*
  10295.     calls.  Deleted some unused code.
  10296.     * config/obj-coff.c: Likewise.
  10297.  
  10298.     ELF support, mostly contributed by Utah:
  10299.     * config/obj-elf.c (obj_elf_section, obj_elf_stab, obj_elf_line,
  10300.     obj_elf_type): Rewrite.
  10301.     (obj_elf_frob_symbol, elf_stab_symbol_string, elf_stab_symbol,
  10302.     obj_elf_desc, obj_elf_version, obj_symbol_new_hook, obj_elf_size):
  10303.     New functions.
  10304.     (obj_elf_ident): Dummy.
  10305.     * config/obj-elf.h (FALSE, TRUE, S_*, tc_frob_symbol,
  10306.     TARGET_SYMBOL_FIELDS): New macros.
  10307.     (gdb_section): New variable decl.
  10308.  
  10309.     * config/tc-i386.c (md_atof): Return zero, not empty string, on
  10310.     success.
  10311.  
  10312.     BFD_ASSEMBLER conditional changes:
  10313.     * config/obj-coff.c (lineno_rootP, seg_N_TYPE, *_section_header):
  10314.     Don't define these.
  10315.     (SA_SET_SYM_ENDNDX, SA_SET_SYM_TAGNDX): New functions.
  10316.     (fetch_coff_debug_section): Ditto.
  10317.     (obj_coff_endef): Call fetch_coff_debug_section.
  10318.     (struct line_no): New type.
  10319.     (c_symbol_merge): New way for copying aux fields.
  10320.     (c_dot_file_symbol): Put symbol in absolute section, and set flag
  10321.     BSF_DEBUGGING.
  10322.     (function_lineoff): New symbol.
  10323.     (function_lineoff, text_lineno_number, our_lineno_number,
  10324.     lineno_lastP): Don't define.
  10325.     (c_line_new): Don't define.
  10326.     (obj_emit_lineno, obj_coff_endef): Use abort calls as, uh,
  10327.     placeholders, until
  10328.     line-number recording gets implemented.
  10329.     (obj_new_symbol_hook): New code for handling aux fields.
  10330.     (add_lineno, add_linesym): New functions.
  10331.     (obj_coff_ln): Call add_lineno, not c_line_new.
  10332.     (obj_coff_endef): New code for handling symbol names.  New lineno
  10333.     code.  Look for section name "*DEBUG*" for debugging section.
  10334.     (align, coff_check_file_symbols, obj_coff_section,
  10335.     coff_frob_file): New functions.
  10336.     * config/obj-coff.h: Reordered some includes.
  10337.     (BYTE_ORDERING, FILE_HEADER_MAGIC, seg_N_TYPE, N_TYPE_seg,
  10338.     DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE, AOUTHDR, AOUTHDRSIZE): Don't
  10339.     define these.
  10340.     (TARGET_SYMBOL_FIELDS, I960_SYM_FIELDS): New macros.
  10341.     (SYM_AUXENT): New macro (for non-BFD_ASSEMBLER too) for accessing
  10342.     aux entries.  Most SA_* macros now use it unconditionally.
  10343.     (S_*): Use `bsym' field, and access BFD private data.
  10344.     (SF_*): Use `sy_flags' symbol field for most of these.
  10345.     (H_*, object_headers, lineno, lineno_*P, OBJ_EMIT_LINENO): Don't
  10346.     define.
  10347.     (*_section_header): Don't define.
  10348.     * config/tc-i386.c (md_convert_frag, md_apply_fix): Changed
  10349.     interface.
  10350.     (tc_gen_reloc) [I386COFF]: New function.
  10351.     (tc_aout_fix_to_chars, tc_coff_fix2rtype): Don't define.
  10352.     * config/tc-i386.h (TARGET_ARCH, TARGET_BYTES_BIG_ENDIAN): New
  10353.     macros.
  10354.  
  10355.     * config/obj-coff.c (stack_init): Don't do assignments inside
  10356.     conditions.
  10357.     (obj_coff_def): Simplified handling of symbol name a bit.
  10358.     (tag_insert): Name argument is now pointer to CONST.
  10359.     (obj_crawl_symbol_chain): Commented out.
  10360.  
  10361.     * config/obj-coff.h: Use PARAMS macro in prototypes.
  10362.  
  10363.     * write.c (relax_and_size_seg) [BFD_ASSEMBLER]: Don't indirect
  10364.     through frchainP pointer if it is null.
  10365.  
  10366.     * configure.in: Warn if BFD mode is explicitly turned off but is
  10367.     required by specified target.
  10368.     (mips ecoff targets): Don't need to set bfd_gas here; it gets
  10369.     taken care of later.
  10370.  
  10371.     * config/obj-coffbfd.c (crawl_symbols): Don't clear sy_forward
  10372.     field.
  10373.     (yank_symbols): Merge symbols only if sy_forward is null.
  10374.  
  10375.     * config/tc-m68k.h (AOUT_MACHTYPE): Don't define if already
  10376.     defined.
  10377.  
  10378.     * tc.h (md_convert_frag) [BFD_ASSEMBLER]: Section arg is not
  10379.     pointer.
  10380.     * config/tc-m68k.c (md_convert_frag) [BFD_ASSEMBLER]: Ditto.
  10381.  
  10382.     * config/tc-sparc.h (LOCAL_LABEL) [OBJ_ELF]: Anything starting
  10383.     with "." is a local label.
  10384.  
  10385.     * config/te-hppa.h, config/tc-hppa.h, config/tc-hppa.c: New config
  10386.     files.
  10387.  
  10388.     * config/te-linux.h, config/te-386bsd.h: New config files.
  10389.     * configure.in (i386-*-linux, i386-*-bsd): Use them.
  10390.     * config/tc-i386.h (TARGET_FORMAT): Select format based on target
  10391.     environment.
  10392.     (DOT_LABEL_PREFIX): Don't define for 386bsd or Linux.
  10393.  
  10394. Wed May  5 13:14:01 1993  Ian Lance Taylor  (ian@cygnus.com)
  10395.  
  10396.     * config/obj-ecoff.c (init_file): Set fMerge to 0 since dbx seems
  10397.     to want it that way.
  10398.     (ecoff_build_symbols): Turn local st_Proc symbols into
  10399.     st_StaticProc symbols.  Set index field of external st_Proc and
  10400.     st_staticProc symbols correctly.
  10401.     * config/tc-mips.h (NO_LISTING): Don't define.  People might want
  10402.     listings.
  10403.  
  10404. Tue May  4 21:22:54 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10405.  
  10406.     * config/obj-hp300.h, config/obj-hp300.c, config/te-hp300.h: New
  10407.     files.
  10408.     * configure.in (m68k-*-hpux): Use them.
  10409.  
  10410.     * config/obj-aout.c (obj_pre_write_hook): Use AOUT_VERSION if
  10411.     defined, otherwise zero.
  10412.  
  10413.     * config/aout_gnu.h (OMAGIC): Don't define if already defined.
  10414.  
  10415. Mon May  3 15:59:32 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
  10416.  
  10417.     * config/tc-sparc.c (sparc_ip): Allow any abs expression as an
  10418.     address space number.
  10419.  
  10420. Wed Apr 28 19:11:22 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
  10421.  
  10422.     * config/obj-aout.h (TARGET_DEFAULT): Don't default this at all.
  10423.  
  10424.     * config/tc-a29k.c: Include ctype.h.
  10425.     (define_some_regs): Added special-purpose registers for 29050.
  10426.  
  10427.     * config/tc-i386.c (comment_chars) [TE_I386AIX]: Include "/".
  10428.  
  10429.     * config/obj-coffbfd.c (fill_section): Don't set STYP_REG here.
  10430.     (change_to_section): Set it here instead.
  10431.  
  10432. Wed Apr 28 13:40:29 1993  Ian Lance Taylor  (ian@rtl.cygnus.com)
  10433.  
  10434.     * config/obj-ecoff.c (obj_symbol_new_hook): Make up a .file if one
  10435.     hasn't been seen yet.
  10436.     (add_ecoff_symbol): Don't refer to cur_file_ptr if it is NULL.
  10437.  
  10438. Mon Apr 26 18:29:05 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
  10439.  
  10440.     * config/tc-sh.ch, config/tc-sh.h: New files supporting Hitachi
  10441.     SH.
  10442.  
  10443. Mon Apr 26 12:28:27 1993  Ian Lance Taylor  (ian@cygnus.com)
  10444.  
  10445.     * expr.c (operand): Fix unary plus operator (previously was the
  10446.     same as '~' operator!).
  10447.  
  10448. Wed Apr 21 00:20:11 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10449.  
  10450.     * write.c (cvt_frag_to_fill): Define even if BFD is defined.
  10451.     (write_object_file): Do define if BFD_ASSEMBLER.  Invoke
  10452.     obj_check_file_symbols if defined.  Call verify_symbol_chain_2
  10453.     instead of open-coding it.  Fix some bugs in patching up symbol
  10454.     chain.
  10455.     (relax_segment): Make some code we "ought to be able to" use for
  10456.     all targets no longer conditionalized on ns32k target; instead, do
  10457.     it always, and if the appropriate conditions fail, abort.
  10458.  
  10459.     * symbols.c (DEBUG): Enabled.
  10460.     (symbol_new): Make sure bfd_make_empty_symbol works.
  10461.     (verify_symbol_chain_2): New function; takes one symbol as
  10462.     argument, anywhere in the chain.
  10463.     (dollar_label*): Use default initializers.
  10464.  
  10465.     * as.c (perform_an_assembly_pass): Call md_begin here...
  10466.     (main): ...and not here.
  10467.  
  10468.     * config/tc-m68k.h (TARGET_FORMAT): Use a.out-sunos-big for a.out.
  10469.     (tc_frob_symbol): New macro: Get rid of symbols in reg_section.
  10470.  
  10471.     * config/tc-m68k.c (omagic): Don't define for BFD_ASSEMBLER.
  10472.     (add_fix, add_frag): Now functions instead of macros.
  10473.     (m68k_reg_parse, m68k_ip, md_estimate_size_before_relax, get_num,
  10474.     s_data1, s_data2, s_bss): Use new *_section names, for
  10475.     compatibility with BFD_ASSEMBLER mode; rewrite switch statements
  10476.     to handle non-integral segT.
  10477.     (tc_coff_fix2rtype, tc_aout_fix_to_chars,
  10478.     tc_coff_symbol_emit_hook): Don't define for BFD_ASSEMBLER.
  10479.     (tc_gen_reloc): New routine for BFD_ASSEMBLER.
  10480.     (md_apply_fix, md_apply_fix_2): Renamed old md_apply_fix to
  10481.     md_apply_fix_2; new md_apply_fix definition varies interface
  10482.     depending on BFD_ASSEMBLER.
  10483.     (md_convert_frag, md_convert_frag_1): Likewise.  Use new *_section
  10484.     names.
  10485.  
  10486.     * config/obj-vms.c: Include config.h.
  10487.     (version_string): Delete declaration.
  10488.     (Write_VMS_MHD_Records): Use GAS_VERSION instead.
  10489.     (vms_resolve_symbol_redef): New function, taken from VMS code in
  10490.     symbols.c.
  10491.     (_doprnt): Deleted.
  10492.     (VMS_Store_Struct, VMS_Def_Struct, VMS_Set_Struct,
  10493.     VMS_TBT_Block_End, get_VMS_time_on_unix, generate_suffix,
  10494.     VMS_Psect_Spec): Fixed to compile under traditional C.
  10495.     * config/obj-vms.h: Use PARAMS macro.
  10496.     (vms_resolve_symbol_redef): Declare.
  10497.     (RESOLVE_SYMBOL_REDEFINITION): New macro.
  10498.     * symbols.c (colon): Remove some VMS-specific code, look for
  10499.     RESOLVE_SYMBOL_REDEFINITION macro instead.
  10500.  
  10501.     * config/tc-m68k.c (m68k_ip): Don't try expanding DBcc
  10502.     instructions.
  10503.  
  10504.     * config/tc-i386.c: Reordered some functions so inlining might
  10505.     work.  Use PARAMS in function declarations.
  10506.     (reloc): New routine.
  10507.     (md_assemble): Rearrange switch statements to work with
  10508.     non-integral segT.
  10509.  
  10510.     * struc-symbol.h [BFD_ASSEMBLER]: Undefine
  10511.     SYMBOLS_NEED_BACKPOINTERS before defining it.
  10512.  
  10513.     * subsegs.c (subseg_new_rest): Now static.
  10514.  
  10515.     * read.c (pseudo_set): Better error message for difference of
  10516.     symbols in different frags.
  10517.  
  10518.     * Makefile.in (check): Pass down some new variables, indicating
  10519.     pathname or program name for cc, nm, objdump.
  10520.  
  10521.     * as.h (OUTPUT_FLAVOR): New macro.
  10522.     * config/tc-sparc.c (tc_gen_reloc): Use OUTPUT_FLAVOR.
  10523.  
  10524.     * configure.in: Initialize bfd_gas properly.  Warn that ELF
  10525.     support is incomplete.
  10526.  
  10527. Thu Apr 15 22:39:05 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10528.  
  10529.     * read.c (float_cons): Accept null pointer return from md_atof.
  10530.     * config/tc-m68k.c (md_atof): Return null for success.
  10531.     * config/tc-sparc.c (md_atof): Ditto.
  10532.  
  10533. Thu Apr 15 16:04:39 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
  10534.  
  10535.     * doc/as.texinfo: formatting and comment cleanups; show SPARC
  10536.     alternative options in same style as other machines; simplify some
  10537.     conditional use; include GPL as separate file (from texinfo dir)
  10538.  
  10539.     * doc/Makefile.in: (as.info) include directory containing GPL in
  10540.     makeinfo search path
  10541.  
  10542.     * doc/h8.texi: new file; conditional settings for GAS manual
  10543.     on Hitachi chips
  10544.  
  10545. Tue Apr 13 15:31:40 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
  10546.  
  10547.     * doc/as.texinfo: mention SPARC architecture options.
  10548.  
  10549. Fri Apr  9 17:43:11 1993  Ken Raeburn  (raeburn@cygnus.com)
  10550.  
  10551.     * configure.in: Rearranged whitespace in per-host/per-target
  10552.     sections.  Added hooks for dropping in HPPA support (not included
  10553.     yet).  Separate out overrides of variables based on target format
  10554.     and bfd-gas selection from actual target-specific commands.  Add
  10555.     error message for recognized but unsupported format name.
  10556.  
  10557. Fri Apr  9 09:05:47 1993  Ian Lance Taylor  (ian@cygnus.com)
  10558.  
  10559.     * config/obj-ecoff.h (ecoff_build_lineno): Make ilineMax in
  10560.     symbolic header match cline in FDR; the native linker seems to
  10561.     want that.
  10562.  
  10563. Thu Apr  8 15:51:28 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  10564.  
  10565.     * doc/Makefile.in: as.texinfo is in $(srcdir).  Use
  10566.     $(srcdir)/as.texinfo explicitly in several places
  10567.  
  10568. Thu Apr  8 15:15:02 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
  10569.  
  10570.     * doc/Makefile.in: update dvi, clean targets for new source
  10571.                file structure
  10572.  
  10573. Thu Apr  8 12:52:46 1993  Ian Lance Taylor  (ian@cygnus.com)
  10574.  
  10575.     * config/ho-decstatn.h: Define BROKEN_ASSERT if not __GNUC__,
  10576.     rather than undefining know.
  10577.     * configure.in: Match ultrix*, not just ultrix.
  10578.  
  10579. Wed Apr  7 20:18:10 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
  10580.  
  10581.     * doc/as.texinfo: converted conditional markup to use new
  10582.     Texinfo facilities, avoiding m4.
  10583.  
  10584.     * doc/as-all.texinfo, all.m4, pretex.m4: deleted.
  10585.  
  10586.     * doc/Makefile.in: recast doc configuration to use a link to an
  10587.     included texinfo file.
  10588.  
  10589.     * doc/all.texi: settings for generic form of documentation.
  10590.  
  10591. Tue Apr  6 11:56:21 1993  Ian Lance Taylor  (ian@cygnus.com)
  10592.  
  10593.     * read.c (cons): Zero out frag when creating reloc.
  10594.  
  10595. Mon Apr  5 09:41:58 1993  Ian Lance Taylor  (ian@cygnus.com)
  10596.  
  10597.     * config/tc-mips.c (gp_reference): Certain magic symbols can never
  10598.     be referenced off the GP register.
  10599.  
  10600.     * app.c (do_scrub_next_char): Handle states 9 and 10 correctly
  10601.     when dealing with characters of type LEX_IS_TWOCHAR_COMMENT_1ST,
  10602.     LEX_IS_STRINGQUOTE, and LEX_IS_ONECHAR_QUOTE.
  10603.  
  10604.     * config/te-irix.h: New file; irix needs a different LOCAL_LABEL
  10605.     definition from other MIPS targets.
  10606.     * configure.in (mips-*-irix): Use emulation irix.
  10607.  
  10608. Sun Apr  4 15:21:09 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
  10609.  
  10610.     * config/tc-h8500.c: Get relax size of branch instructions right,
  10611.     (get_operand): Parse @sp+ correctly.
  10612.  
  10613. Fri Apr  2 15:59:49 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10614.  
  10615.     * subsegs.h (segment_info_type) [BFD_ASSEMBLER]: Don't include
  10616.     COFF section header field.
  10617.  
  10618.     * configure.in: Print error message if host or target is not
  10619.     supported.
  10620.  
  10621.     * configure.in: If with-bfd-assembler, use obj-coff instead of
  10622.     obj-coffbfd.
  10623.  
  10624.     * config/ho-generic.h: Include string.h.
  10625.  
  10626. Fri Apr  2 08:54:57 1993  Ian Lance Taylor  (ian@cygnus.com)
  10627.  
  10628.     * config/tc-mips.h (LOCAL_LABEL): Treat any label starting with
  10629.     '$' as local, for any object file format.
  10630.  
  10631.     * config/tc-mips.c (macro): Optimizations to branching code and a
  10632.     couple of bug fixes from ralphc@pyrps5.eng.pyramid.com (Ralph
  10633.     Campbell).
  10634.  
  10635.     * config/ho-irix.h: New file; if not gcc, define BROKEN_ASSERT.
  10636.     * configure.in (mips-sgi-irix*): Set gas_host to irix.
  10637.  
  10638. Wed Mar 31 17:53:54 1993  Ian Lance Taylor  (ian@cygnus.com)
  10639.  
  10640.     * subsegs.c (subseg_new): Set output_section of new section.
  10641.     * as.c (perform_an_assemly_pass): Don't set output_section here.
  10642.     * expr.c (expr_part, expr): Turn off section assertions for ECOFF,
  10643.     since it has additional sections.
  10644.     * read.c (s_lcomm): For MIPS ECOFF, put small objects in .sbss,
  10645.     not bss_section.
  10646.     * config/obj-ecoff.h (TARGET_SYMBOL_FIELDS): Added
  10647.     ecoff_undefined field.
  10648.     * config/obj-ecoff.c (obj_symbol_new_hook): Initialize
  10649.     ecoff_undefined field.
  10650.     (add_file): If using stabs, just output a stabs symbol rather than
  10651.     creating a new fdr.
  10652.     (obj_ecoff_begin, obj_ecoff_bend): Ignore line number by reading
  10653.     it with get_absolute_expression, rather than skipping it by hand.
  10654.     (obj_ecoff_loc): If using stabs, just output a stabs symbol rather
  10655.     than ECOFF line number information.
  10656.     (obj_ecoff_stab): Accept non-zero values for stabs line number.
  10657.     (ecoff_build_symbols): Set ifilesym correctly.  Set storage class
  10658.     to small, undefined and/or readonly sections if appropriate.
  10659.     Don't output symbol names containing \001 characters.
  10660.     (ecoff_frob_file): Make sure at least one fdr is output.
  10661.     * config/tc-mips.h: Define TC_MIPS.
  10662.     * config/tc-mips.c (g_switch_value): New static variable.
  10663.     (md_assemble): Set gp size of output BFD.
  10664.     (gp_reference): New function; returns 1 if expression can be
  10665.     accesssed via gp.  Always returns 0 if not using ECOFF.
  10666.     (macro_build): Convert BFD_RELOC_LO16 to BFD_RELOC_MIPS_GPREL if
  10667.     possible.
  10668.     (macro): Generate sequences using gp if possible.
  10669.     (md_parse_option): Ignore -EL and -EB.  Parse -G.
  10670.     (md_apply_fix): Added BFD_RELOC_MIPS_GPREL to ignored case.
  10671.     (s_change_sec): Handle .rdata and .sdata for ECOFF.
  10672.     (s_extern): Mark symbol as external.  Set ecoff_undefined field.
  10673.  
  10674. Tue Mar 30 10:11:41 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10675.  
  10676.     * output-file.c (output_file_create): Don't call as_perror for
  10677.     filename rejected by application.
  10678.  
  10679.     * as.c (main) [BFD_ASSEMBLER]: If errors occur, close and unlink
  10680.     the output file.
  10681.  
  10682.     * doc/as.texinfo: Don't use @value in node names for the moment;
  10683.     references don't appear to work right.
  10684.  
  10685.     * as.h (const, volatile): Put these definitions back, and use
  10686.     them.
  10687.  
  10688.     * doc/as.texinfo: First pass at using new texinfo features --
  10689.     variables, conditional tests.  Far from complete.
  10690.  
  10691. Mon Mar 29 16:05:40 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10692.  
  10693.     * read.c: Temporary hack to handle some 64-bit constants.  This
  10694.     should be redone later.
  10695.     (target_big_endian): Declare.
  10696.     (big_cons): If it's set, reverse order of bytes being copied.
  10697.     * config/tc-sparc.c (md_begin): Set target_big_endian.
  10698.  
  10699.     * read.c (s_ignore): Delete declaration of is_end_of_line.
  10700.  
  10701.     * config/obj-coffbfd.c (yank_symbols): Build list of file symbol
  10702.     forward pointers properly.
  10703.  
  10704. Mon Mar 29 13:47:33 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
  10705.  
  10706.     * config/obj-coffbfd.c (do_relocs_for): Fix bug where nrelocs
  10707.     wasn't being stored into scnhdr.
  10708.     * config/obj-coffbfd.h: Add prototype of s_get_segment.
  10709.     * read.c (TC_START_LABEL): Default definition.
  10710.     (read_a_source_file): Use TC_START_LABEL macro to work out
  10711.     if a label has been seen.
  10712.  
  10713. Mon Mar 29 12:56:56 1993  Ian Lance Taylor  (ian@cygnus.com)
  10714.  
  10715.     * configure.in: Set BFDDEF and BFDLIB at the top of Makefile, not
  10716.     the bottom (make expands variables in dependencies when the
  10717.     dependencies are read, not when they are used).
  10718.  
  10719.     * config/obj-coffbfd.c (fill_section): Don't set NOLOAD bit for
  10720.     a29k .bss section; the mondfe program doesn't like it.
  10721.  
  10722. Sun Mar 28 08:12:53 1993  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  10723.  
  10724.     * config/tc-m68k.c: Use PARAMS macro, and use CONST instead of
  10725.     const.
  10726.     (current_architecture): Don't need initializer.
  10727.  
  10728. Fri Mar 26 08:12:48 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10729.  
  10730.     * doc/none.m4: Define Z8000.
  10731.     * doc/Makefile.in (as-*.texinfo): Refer to $(srcdir).  Remove the
  10732.     texinfo file before recreating it.
  10733.     (TEXI2DVI): Need to set TEXINPUTS if "make as.dvi" is to work in
  10734.     this directory.
  10735.     (srcdir): Delete second, bogus definition.
  10736.     (as.info): Look for as-*.texinfo in current directory rather than
  10737.     in $(srcdir).
  10738.     (as.dvi): Ditto.
  10739.     (dvi): New rule.
  10740.     * doc/configure.in: Create links to all as-*.texinfo files in the
  10741.     source directory, if that's not the current directory.
  10742.  
  10743.     * configure.in (per-host):  Accept MIPS host with BSD version
  10744.     number.
  10745.     (per-target): Classify i486 as i386.  Use generic cpu_type instead
  10746.     of target_cpu in selecting format etc.
  10747.  
  10748.     * app.c (do_scrub_next_char): Use .appfile, not .app-file.
  10749.     * read.c (potable): Change .app-file to .appfile.
  10750.  
  10751.     * config/ho-decstatn.h: Renamed from ho-decstation.h.
  10752.     * configure.in: Adjusted.
  10753.  
  10754.     * config/obj-bfd-sunos.*: Unused; deleted.
  10755.  
  10756.     * Makefile.in (version.c, vers-stamp): Deleted.
  10757.     (config.h): Define GAS_VERSION.
  10758.     * as.c (version_string): Deleted declaration.
  10759.     (main): Look for GAS_VERSION instead.
  10760.  
  10761.     * doc/as.texinfo: Updated description of -a* (listing) options,
  10762.     and describe how to pass them through from gcc.
  10763.  
  10764.     * config/obj-coffbfd.c (do_relocs_for): Don't allocate storage or
  10765.     process relocs if there aren't any relocs to process.  Avoids
  10766.     malloc/free bug on SCO too.
  10767.  
  10768.     * as.h: Move local include files below system include files, to
  10769.     avoid some redefinition complaints on some systems.
  10770.     (const, volatile): Don't need these conditionally defined if we
  10771.     use CONST and VOLATILE from ansidecl.h.
  10772.     (seg_name): Use CONST, not const.
  10773.  
  10774. Fri Mar 26 10:22:04 1993  Ian Lance Taylor  (ian@cygnus.com)
  10775.  
  10776.     * config/tc-mips.c: Reindented to GNU standards.
  10777.  
  10778. Thu Mar 25 08:59:14 1993  Ian Lance Taylor  (ian@cygnus.com)
  10779.  
  10780.     * config/obj-coffbfd.c (do_relocs_for): Remove a29k special case.
  10781.     (fixup_segment): Add a29k special case; the linker is not prepared
  10782.     to see a segment offset here.
  10783.  
  10784.     * app.c (do_scrub_next_char): Added new state, 10, modifying state
  10785.     9 to only keep a space in between identifier characters.
  10786.  
  10787. Wed Mar 24 02:16:22 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
  10788.  
  10789.     * Makefile.in: add dvi target; as-$(config).texinfo might live in
  10790.     srcdir, might be in objdir.
  10791.  
  10792.     * doc/Makefile.in: dvi depends on as.dvi
  10793.  
  10794. Mon Mar 22 23:59:13 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  10795.  
  10796.     * Makefile.in: add installcheck target
  10797.  
  10798. Mon Mar 22 16:25:57 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
  10799.  
  10800.     * config/tc-sparc.c (sparc_ip): Add support for membar mask names.
  10801.     Add missing colons in prefetch error messages.  Add support for
  10802.     ASI names.
  10803.  
  10804. Mon Mar 22 10:19:00 1993  Ian Lance Taylor  (ian@cygnus.com)
  10805.  
  10806.     * config/tc-mips.c (macro): Use $AT for any floating point load.
  10807.  
  10808. Sat Mar 20 12:50:51 1993  Ken Raeburn  (raeburn@urth.cygnus.com)
  10809.  
  10810.     * config/tc-m68k.c (m68k_ip): For operand type 'M', reject
  10811.     bignums, but don't emit error message.
  10812.  
  10813. Fri Mar 19 21:02:19 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
  10814.  
  10815.     * Makefile.in (targ-cpu.o): Depend on config.h.
  10816.  
  10817. Wed Mar 17 16:44:06 1993  Ian Lance Taylor  (ian@cygnus.com)
  10818.  
  10819.     * app.c (do_scrub_next_char): Added new state, 9, to avoid
  10820.     dropping a space immediately following an identifier.
  10821.     * expr.c, write.c: Rewrote assert expressions to not use multiple
  10822.     lines; I don't think that can be done portably.
  10823.     * config/tc-mips.c (macro): Use $AT if target register is zero in
  10824.     load instruction, which it can be for a floating point load.
  10825.  
  10826. Mon Mar 15 12:17:28 1993  Ian Lance Taylor  (ian@cygnus.com)
  10827.  
  10828.     * write.c (write_contents): Compute the relocs before writing out
  10829.     the section contents.
  10830.     * config/obj-ecoff.h, config/obj-ecoff.c: Numerous changes to get
  10831.     symbol table and values right.
  10832.     * config/tc-mips.h (LOCAL_LABEL): If OBJ_ECOFF, any label starting
  10833.     with $L is local.
  10834.     * config/tc-mips.c (tc_gen_reloc): If OBJ_ECOFF, adjust the addend
  10835.     by the section vma.
  10836.  
  10837.     * config/z8k.mt (TARG_CPU_DEPENDENTS): The relevant file is
  10838.     z8k-opc.h, not z8k.h.
  10839.  
  10840.     * config/obj-coffbfd.c (obj_coff_endef): Correct test for .bf
  10841.     symbol.
  10842.  
  10843. Fri Mar 12 18:33:36 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  10844.  
  10845.     * configure.in: recognize sparc-sun-solaris2* instead of -solaris2
  10846.  
  10847. Fri Mar 12 12:00:07 1993  Ian Lance Taylor  (ian@cygnus.com)
  10848.  
  10849.     * expr.c, write.c: Ultrix native 4.2 cc requires assert condition
  10850.     to be on a single line.
  10851.  
  10852. Thu Mar 11 17:56:22 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10853.  
  10854.     * Makefile.in (config.h): Create file, writing out definitions of
  10855.     target cpu, alias, and canonical name.
  10856.     (ALL_CFLAGS): No longer define TARGET_CPU.
  10857.  
  10858.     * Makefile.in (check): Print a message, instead of quitting
  10859.     silently.
  10860.  
  10861.     * as.c (main): Don't catch any signals, for now.
  10862.  
  10863.     * version.c: Deleted.
  10864.     * Makefile.in: Generate it, putting in only the version number
  10865.     itself.
  10866.     (VERSION): New variable.
  10867.     * as.c: Include config.h.
  10868.     (main): Reformatted version string.  Include target alias.  Don't
  10869.     print if not requested (i.e., unknown -v argument).
  10870.  
  10871.     * as.c (stralloc): Deleted.
  10872.     (main): Call strdup instead.
  10873.  
  10874.     * configure.in: Handle all 68300 series chips.
  10875.     * config/tc-m68k.c: Include config.h.
  10876.     (md_assemble): Assume TARGET_CPU is defined.  Accept some 68300
  10877.     series cpus as defaults.
  10878.     (md_parse_option): Accept some m68300 series CPUs as defaults.
  10879.  
  10880. Wed Mar 10 17:41:16 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10881.  
  10882.     * as.c (EXIT_SUCCESS, EXIT_FAILURE): Define to normal values if
  10883.     not already defined.
  10884.     (main, got_sig): Use them.
  10885.     * config/ho-vms.h (EXIT_SUCCESS, EXIT_FAILURE): Reverse default
  10886.     values.
  10887.  
  10888. Tue Mar  9 07:40:06 1993  Ian Lance Taylor  (ian@cygnus.com)
  10889.  
  10890.     * config/obj-ecoff.c, config/obj-ecoff.h: Preliminary ECOFF
  10891.     support.
  10892.  
  10893.     * config/tc-mips.h (TARGET_FORMAT): Define based on OBJ_AOUT vs.
  10894.     OBJ_ECOFF as well as TARGET_BYTES_*_ENDIAN.
  10895.     (struct loc, struct proc, struct file): Moved to tc-mips.c within
  10896.     #ifndef OBJ_ECOFF block, since ECOFF uses different versions.
  10897.     * config/tc-mips.c: Rearranged for ECOFF support.  Added
  10898.     prototypes for all static functions.  Moved existing minimal
  10899.     debugging format support info #ifndef OBJ_ECOFF blocks.
  10900.     (macro_build_lui): Eliminated sign_extend argument, because ECOFF
  10901.     does not support a non sign extended high 16 bits reloc.  Adjusted
  10902.     all callers accordingly.
  10903.     (tc_get_register): Renamed from get_register, and made non-static.
  10904.  
  10905.     * config/mips-big.mt, config/mips-lit.mt: New files.  Define
  10906.     TARGET_BYTES_BIG_ENDIAN and TARGET_BYTES_LITTLE_ENDIAN,
  10907.     respectively.
  10908.     * configure.in (mips-*-bsd*): Use gas_target mips-lit.
  10909.     (mips-*-ultrix*, mips-*-irix*, mips-*-ecoff): New targets, using
  10910.     obj_format ecoff and gas_target mips-lit or mips-big.
  10911.  
  10912. Tue Mar  9 07:43:01 1993  Ken Raeburn  (raeburn@cygnus.com)
  10913.  
  10914.     * version.c: Bump to version 2.0.1.
  10915.  
  10916. Tue Mar  9 07:40:06 1993  Ian Lance Taylor  (ian@cygnus.com)
  10917.  
  10918.     * write.c (chain_frchains_together): Check that seg_info (section)
  10919.     is not NULL.
  10920.     (write_object_file): Call obj_frob_file after setting the symbols,
  10921.     not before.
  10922.  
  10923. Tue Mar  9 00:00:00 1993  Ken Raeburn  (raeburn@cygnus.com)
  10924.  
  10925.     * Version 2.0 released.
  10926.  
  10927. Mon Mar  8 14:57:10 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10928.  
  10929.     * config/tc-i386.h (TC_COUNT_RELOC): Look for fx_addsy only.
  10930.  
  10931. Fri Mar  5 09:05:55 1993  Ian Lance Taylor  (ian@cygnus.com)
  10932.  
  10933.     * read.h: Define stringer here.
  10934.     read.c, config/obj-ieee.c, config/obj-tcm88k.c: Not any of these
  10935.     places.
  10936.  
  10937. Thu Mar  4 11:52:23 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
  10938.  
  10939.     * read.c (s_space): Multiply repeat count by mult, not fill.
  10940.  
  10941. Thu Mar  4 05:20:42 1993  Ken Raeburn  (raeburn@cygnus.com)
  10942.  
  10943.     * read.c: Include ctype.h.
  10944.  
  10945. Wed Mar  3 10:41:46 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  10946.  
  10947.     Patches from Eric Youngdale:
  10948.     * make-gas.com: Find obstack.obj if it's not in the current
  10949.     directory.
  10950.     * read.c (s_ignore): Don't declare is_end_of_line.  It's
  10951.     redundant, and triggers a VMS gcc compiler bug.
  10952.  
  10953.     * write.c (write_object_file): Macro SUB_SEGMENT_ALIGN now takes
  10954.     current segment as an argument.  (Ignored in all cases but VMS.)
  10955.     All callers and definitions changed.
  10956.  
  10957. Tue Mar  2 11:56:19 1993  Ian Lance Taylor  (ian@cygnus.com)
  10958.  
  10959.     * listing.c: Cleaned up a bit, added prototypes, made NO_LISTING
  10960.     case compile again.
  10961.  
  10962. Tue Mar  2 08:53:34 1993  Ken Raeburn  (raeburn@cygnus.com)
  10963.  
  10964.     * config/tc-m68k.c (isbyte): Accept all values from -255 to +255,
  10965.     so "~0x80" won't be rejected.
  10966.  
  10967.     * config/obj-elf.c: No longer include elf/reloc.h.
  10968.     (obj_elf_section): Set SEC_READONLY and SEC_CODE for text section.
  10969.     (obj_elf_stab, obj_elf_desc): Deleted do-nothing and commented-out
  10970.     routines.
  10971.     (obj_elf_xstab): New routine.
  10972.     (obj_elf_set_size): Call as_warn, not fprintf.  Pass desired
  10973.     argument to s_ignore.  Put "#if 0" around unused code.
  10974.     (obj_pseudo_table): Use s_ignore instead of do-nothing routines.
  10975.     Call elf_xstabs for .stabs and .xstabs operators.
  10976.  
  10977.     * config/tc-sparc.h (TARGET_FORMAT) [OBJ_ELF]: Now "elf32-sparc".
  10978.  
  10979.     * write.c (relax_and_size_seg): Set SEC_RELOC only if fixups are
  10980.     present.
  10981.  
  10982.     * configure.in: mips-bsd configuration was missing format spec.
  10983.     Should use aout.
  10984.  
  10985.     * Makefile.in (Makefile): Depends on configure.in.
  10986.  
  10987.     * config/tc-mips.c (append_insn): Don't check for alignment of
  10988.     frag in memory; alignment of instructions in section is a separate
  10989.     matter.
  10990.  
  10991.     * config/tc-mips.c (macro_build_lui): Fix some assumptions of ANSI
  10992.     C availability.
  10993.  
  10994.     * listing.h: Always provide function declarations, not macros, so
  10995.     pcc won't lose.
  10996.  
  10997. Tue Mar  2 00:50:43 1993  John Gilmore  (gnu@cygnus.com)
  10998.  
  10999.     * CONTRIBUTORS:  Update Gilmore entry.
  11000.  
  11001. Mon Mar  1 12:03:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
  11002.  
  11003.     * config/tc-sparc.c (sparc_ip):  Correctly assemble prefetch
  11004.     instructions.  Accept integer prefetch function numbers.
  11005.  
  11006. Wed Feb 24 14:58:19 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11007.  
  11008.     * config/tc-sparc.c (s_xword): Now call big_cons, so large
  11009.     constants are accepted, but symbolic values are not.  GCC will not
  11010.     generate the latter currently.
  11011.  
  11012.     * frags.c (frag_init): New function.
  11013.     (zero_address_frag, bss_address_frag): Now initialized at run
  11014.     time.
  11015.     * as.c (main): Call frag_init.
  11016.  
  11017. Wed Feb 24 10:32:42 1993  Ian Lance Taylor  (ian@cygnus.com)
  11018.  
  11019.     * app.c (do_scrub_next_char): In LEX_IS_LINE_COMMENT_START case:
  11020.     Don't unget ch2 if we didn't get it.
  11021.  
  11022. Wed Feb 24 04:14:07 1993  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  11023.  
  11024.     * doc/Makefile.in (TEXIDIR): Updated for new layout.
  11025.  
  11026.     * config/tc-sparc.c (s_common): Add support for ELF version.
  11027.     (tc_gen_reloc) [BFD_ASSEMBLER]: New function.
  11028.     * config/tc-sparc.h (TARGET_ARCH, TARGET_FORMAT) [BFD_ASSEMBLER]:
  11029.     New macros.
  11030.     (md_convert_frag): New macro.
  11031.  
  11032.     * config/tc-m68k.c (m68k_ip): For PC-relative addressing of a
  11033.     symbol, fix the offset so "+2" isn't required.
  11034.  
  11035.     * config/tc-i960.c (line_comment_chars, line_separator_chars):
  11036.     Define as common/bss.
  11037.     (op_hash, reg_hash, areg_hash, iclasses_seen, br_cnt): Default C
  11038.     initializers are sufficient.
  11039.  
  11040.     * config/obj-aout.h [BFD_ASSEMBLER]: Include libaout.h from bfd.
  11041.     (TARGET_FORMAT) [BFD_ASSEMBLER]: Default to "a.out".
  11042.     (S_SET_*, S_GET_*, obj_frob_symbol) [BFD_ASSEMBLER]: New macros.
  11043.     (S_SET_TYPE) [!BFD_ASSEMBLER]: New macro.
  11044.     * config/obj-aout.c: Use PARAMS macro for declarations.  Remove
  11045.     "IGNORE_DEBUG" conditional, since both branches are identical.
  11046.     Use S_SET_TYPE, S_GET_TYPE, and S_GET_DESC instead of directly
  11047.     referencing symbol structure members.
  11048.     (obj_aout_frob_symbol) [BFD_ASSEMBLER]: New function.
  11049.  
  11050.     * as.h (struct frag): Reordered a couple of fields for better
  11051.     packing.
  11052.  
  11053.     * write.c (record_alignment) [BFD_ASSEMBLER]: Record it in the
  11054.     section info.
  11055.     (write_contents) [BFD_ASSEMBLER]: New function.
  11056.     (write_object_file) [BFD_ASSEMBLER]: Always handle -R here.  Call
  11057.     fix_new with BFD_RELOC_NONE instead of 0 or NO_RELOC.  Call
  11058.     obj_frob_file, obj_frob_symbol, tc_frob_symbol if defined.
  11059.     (fixup_segment): Make sure common-section symbols get treated the
  11060.     same as undefined symbols.
  11061.     (fix_new) [BFD_ASSEMBLER]: Argument r_type is of type
  11062.     bfd_reloc_code_real_type.  Use seg_fix_{root,tail}P derived from
  11063.     section info.
  11064.     * write.h (fix_new): Update prototype.
  11065.  
  11066.     * tc.h (md_operand, md_convert_frag, tc_headers_hook,
  11067.     md_section_align, md_undefined_symbol): Don't provide prototypes
  11068.     if these are defined as macros.
  11069.     (md_convert_frag) [BFD_ASSEMBLER]: BFD version needs bfd and
  11070.     section passed.
  11071.  
  11072.     * symbols.c (symbol_new): Argument NAME is now pointer to const.
  11073.     Simplified STRIP_UNDERSCORE code.  Remove assumptions about null
  11074.     pointers in freshly allocated storage.  [BFD_ASSEMBLER]: Get new
  11075.     BFD symbol.
  11076.     (colon): Display other/desc fields of redefined symbol only if
  11077.     S_GET_OTHER and S_GET_DESC are defined.
  11078.     (symbol_make): Argument NAME is now pointer to const.
  11079.     (symbol_find, symbol_find_base): Likewise.
  11080.     (S_IS_*, S_GET_*, S_SET_*) [BFD_ASSEMBLER]: New functions.
  11081.     * symbols.h: Fix prototypes for new const arguments.  Add
  11082.     prototypes for BFD_ASSEMBLER S_* functions.
  11083.  
  11084.     * subsegs.c (subseg_change) [BFD_ASSEMBLER]: BFD version of code
  11085.     for changing to an existing section.
  11086.     (subseg_new_rest) [BFD_ASSEMBLER]: Split off from subseg_new,
  11087.     called by subseg_new and subseg_set.
  11088.     (subseg_new) [BFD_ASSEMBLER]: Rewritten to change to new section,
  11089.     given section name and subseg number.
  11090.     (subseg_set) [BFD_ASSEMBLER]: New function; change to a possibly
  11091.     new section/subsection.
  11092.  
  11093.     * read.c: Don't include ctype.h.
  11094.     (cons) [BFD_ASSEMBLER]: For undefined symbols, use BFD_RELOC_32
  11095.     for now; should be machine-dependent.
  11096.  
  11097.     * configure.in: Accept *-*-elf and *-*-solaris* as ELF format
  11098.     targets, forcing BFD use.
  11099.  
  11100. Wed Feb 17 18:59:03 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11101.  
  11102.     * config/tc-sparc.c: Use PARAMS macro for static function
  11103.     declarations.  Use BFD_RELOC_ macros everywhere, with
  11104.     compatibility macros declared for non-BFD mode.
  11105.     (struct sparc_it) [BFD_ASSEMBLER]: Use bfd_reloc_code_real_type
  11106.     instead of enum reloc_type.
  11107.     (emit_sparc_reloc): Commented-out function deleted.
  11108.     (md_convert_frag): Deleted.
  11109.     (tc_aout_pre_write_hook): Don't define for BFD_ASSEMBLER.
  11110.     (md_apply_fix): Changed calling sequence (conditionally) for BFD
  11111.     version.
  11112.     * config/tc-sparc.h (md_convert_frag): New macro.
  11113.  
  11114.     * config/obj-aout.c (obj_aout_stab): Refer to undefined_section,
  11115.     not SEG_UNKNOWN.  Use S_SET_TYPE, S_GET_TYPE, S_GET_DESC instead
  11116.     of referencing fields directly.
  11117.  
  11118.     * write.c (cvt_frag_to_fill): New function; extracted from
  11119.     write_object_file.
  11120.     (write_object_file) [! BFD_ASSEMBLER]: Call it.
  11121.     (relax_and_size_seg) [BFD_ASSEMBLER]: New function; relax section
  11122.     and set its size and flags.
  11123.  
  11124.     * struc-symbol.h (struct symbol) [BFD_ASSEMBLER]: Replace some
  11125.     fields with BFD equivalents.  Turn on back-pointers, and add
  11126.     target-specific fields at end.
  11127.  
  11128. Thu Feb 11 09:20:37 1993  Ian Lance Taylor  (ian@cygnus.com)
  11129.  
  11130.     * config/obj-coffbfd.c (fill_section): Don't set vaddr here.
  11131.     (write_object_file): Set it here instead, so that fixup_segment
  11132.     can see the correct value.
  11133.  
  11134. Mon Feb  8 13:56:17 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11135.  
  11136.     * write.c (write_object_file): Check for errors and warnings and
  11137.     bail out before processing contents.
  11138.     (chain_frchains_together_1): New function, does most of the work
  11139.     of remove_subsegs.
  11140.     (chain_frchains_together) [BFD_ASSEMBLER]: New function.
  11141.     (remove_subsegs) [! BFD]: Call it.
  11142.     (write_object_file) [BFD_ASSEMBLER]: Converted to use BFD
  11143.     structures and routines.
  11144.  
  11145.     * config/obj-elf.*: New files.
  11146.  
  11147.     * config/mips.mt, config/rs6000.mt: Deleted.
  11148.  
  11149.     * config/h8300.mt: Don't specify compiler here.
  11150.  
  11151.     * config/z8k.mt: The z8k code depends on the z8k opcode table,
  11152.     not the h8300 one.
  11153.     * config/tc-z8k.h: Comment fix.
  11154.  
  11155.     * write.c: Reordered some functions for better inlining.
  11156.     (fixup_segment): Linkrelax code is no longer conditional on
  11157.     TC_I960.
  11158.  
  11159. Thu Feb  4 12:45:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
  11160.  
  11161.     * config/{h8500.mt, tc-h8500.c, tc-h8500.h, obj-coffbfd.c,
  11162.     obj-coffbfd.h}: support for the H8/500
  11163.  
  11164. Wed Feb  3 19:28:18 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11165.  
  11166.     * config/obj-vms.h (SUB_SEGMENT_ALIGN): Define VMS version here.
  11167.     * write.c (write_object_file): Not here.
  11168.     (fix_new): Initialize fx_addnumber.
  11169.  
  11170.     * listing.c: Don't include target-cpu.h explicitly, since as.h
  11171.     includes it.
  11172.  
  11173. Thu Jan 28 00:35:40 1993  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  11174.  
  11175.     * write.h [BFD_ASSEMBLER]: Don't declare next_object_file_charP,
  11176.     *_fix_root, *_fix_tail, seg_fix_rootP, seg_fix_tailP.
  11177.     (struct fix): Reordered fields for compactness and efficiency.
  11178.     Converted some logical fields to 1-bit fields.
  11179.  
  11180.     * config/obj-aout.h: Use PARAMS.
  11181.     [BFD_ASSEMBLER]: Don't define/declare AOUT_MACHTYPE, seg_N_TYPE,
  11182.     N_TYPE_seg, DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE.
  11183.  
  11184.     * read.c: Don't include listing.h; as.h includes it.  Removed
  11185.     DONTDEF code.
  11186.     [BFD_ASSEMBLER]: Include subsegs.h.
  11187.     (old_buffer, new_broken_words): Default initialization is
  11188.     sufficient.
  11189.  
  11190.     * output-file.c [BFD_ASSEMBLER]: Include bfd.h, default TARGET_MACH
  11191.     to 0, define stdoutput.
  11192.     (output_file_create) [BFD_ASSEMBLER]: Call bfd_perror on failure.
  11193.     Call bfd_set_arch_mach.
  11194.     (output_file_close) [BFD_ASSEMBLER]: Call bfd_close, not
  11195.     bfd_close_all_done.  Call bfd_perror on failure.
  11196.     (output_file_append) [BFD_ASSEMBLER]: Don't define.
  11197.  
  11198.     * config/m68kcoff.mt (LOCAL_LOADLIBES): Delete definition.
  11199.  
  11200.     * subsegs.h (segment_info_type): Always define.  Omit field scnhdr
  11201.     if not MANY_SEGMENTS.  Define new field bfd_section if
  11202.     BFD_ASSEMBLER.
  11203.     (seg_info): New macro.
  11204.  
  11205.     * expr.c, input-scrub.c: Use PARAMS macro.  Deleted unused
  11206.     variables, and some irrelevant comments.
  11207.  
  11208.     * Makefile.in (ALL_CFLAGS): Include $(BFDDEF).
  11209.     (LIBS): Include $(BFDLIB).  Don't bother with $(CLIB).
  11210.     * configure.in:  Permit --with-bfd-assembler now, with a warning.
  11211.     Variable need_bfd is now a boolean, as is new variable bfd_gas.
  11212.     Set BFDDEF and BFDLIB in Makefile when appropriate.
  11213.  
  11214.     * as.c: Removed "#ifdef DONTDEF" and "#ifdef comment" code.
  11215.     (main): Refer to flag_always_generate_output instead of
  11216.     flagseen['Z'].
  11217.  
  11218.     * as.c (main) [BFD_ASSEMBLER]: Open output bfd.
  11219.     (*_section) [BFD_ASSEMBLER]: Define them.
  11220.     (perform_an_assembly_pass) [BFD_ASSEMBLER]: Initialize them, and
  11221.     set section flags when appropriate.
  11222.     * as.h (SEG_NORMAL) [BFD_ASSEMBLER]: Require that the specified
  11223.     section is not absolute, undefined, or an assembler internal one.
  11224.     (absolute_section, undefined_section): Always define.
  11225.     * expr.c, read.c, symbols.c: Refer to *_section, not SEG_*; break
  11226.     switch statements into if-else trees.
  11227.     * symbols.c [MANY_SEGMENTS]: Deleted redundant definitions of
  11228.     SEG_BSS and SEG_DATA.
  11229.  
  11230.     * as.h (frag_now_fix): New macro.
  11231.     * symbols.c (colon): Use it.
  11232.  
  11233. Wed Jan 27 21:43:53 PST 1993  Ralph Campbell  (ralphc@pyramid.com)
  11234.  
  11235.     * config/tc-mips.c:  Added mips support for mips-dec-bsd.
  11236.     * config/tc-mips.h:  Added mips support for mips-dec-bsd.
  11237.     * config/ho-mipsbsd.h:  Added mips support for mips-dec-bsd.
  11238.     * config/mips-opcode.h:  Added mips support for mips-dec-bsd.
  11239.     * configure.in:  Added mips support for mips-dec-bsd.
  11240.     * atof-generic.c:  Define TRUE and FALSE if not defined.
  11241.  
  11242. Thu Jan 21 12:48:19 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11243.  
  11244.     * version.c: Bumped version number to 1.93.05.
  11245.  
  11246. Wed Jan 20 17:11:53 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11247.  
  11248.     * config/obj-coff.c (obj_emit_relocations): Don't use #elif.
  11249.     (obj_emit_lineno): Don't need return at end of void function.
  11250.     (obj_symbol_new_hook): Ditto.
  11251.  
  11252.     * config/tc-m68k.c: Removed some unused code.
  11253.     (tc_aout_fix_to_chars): Array nbytes_r_length is now const.
  11254.  
  11255.     * config/tc-m68k.h (TC_COUNT_RELOC): Don't emit reloc if only
  11256.     offset field is set.
  11257.  
  11258. Fri Jan  8 05:44:49 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11259.  
  11260.     * config/tc-sparc.c (sparc_ip): For %uhi and %ulo, if not
  11261.     ENV64, emit no reloc.
  11262.     (md_pseudo_table): For ".xword", call s_xword.
  11263.     (s_xword): New function.
  11264.  
  11265.     * config/tc-sparc.c (architecture_requested, warn_on_bump,
  11266.     md_relax_table): Use default zero initialization.
  11267.     (s_reserve): Since SEG_E2 is equivalent to SEG_BSS, just use the
  11268.     latter, instead of selecting with preprocessor conditionals.
  11269.  
  11270. Thu Jan  7 08:58:21 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  11271.  
  11272.     * configure.in: recognise all sparclite variants
  11273.  
  11274. Thu Jan  7 05:25:25 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11275.  
  11276.     * read.c (s_data) [!BFD_ASSEMBLER]: Fix typo in 4 Jan change --
  11277.     accidentally changed to use subseg_change where it should have
  11278.     been subseg_new.
  11279.  
  11280. Tue Jan  5 08:42:16 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11281.  
  11282.     * expr.c (operand): If character other than comma or newline is a
  11283.     logical end-of-line character, use the newline case.
  11284.     From Eric Youngdale:
  11285.     (operand): Set X_add_number field for floating-point numbers.
  11286.     (operand): Treat zero byte as end-of-operand.
  11287.  
  11288.     * configure.in (per-target): Look for with_bfd_assembler option.
  11289.     For now, only accept "no", until the merge is done.
  11290.  
  11291.     Merged changes from Eric Youngdale (youngdale@v6550c.nrl.navy.mil):
  11292.     * as.c, flonum-konst.c, hex-value.c, input-file.c, version.c,
  11293.       config/obj-aout.h, config/obj-vms.c: VMS -> HO_VMS.
  11294.     * read.c: Finish conversion to S_* macros in the VMS only
  11295.       parts of the program. Add "const" modifier to hex_value.
  11296.     * as.c, read.c, symbols.c, write.c: Change "ifdef VMS" to
  11297.       "ifdef OBJ_VMS".
  11298.     * expr.c: Add "const" modifier to hex_value.
  11299.     * symbols.c: Finish conversion to S_* macros in the VMS only
  11300.       parts of the program.  Add "const" modifier to
  11301.       md_[long,short]_jump_size. Remove declaration of const_flag
  11302.       (which will be declared in obj-vms.h).
  11303.     * write.c: Add "const" modifier to md_[long,short]_jump_size.
  11304.       Fix arguments to VMS_write_object_file.
  11305.     * config-gas.com: New file.  Script for VMS systems to set up the
  11306.       configuration to build gas for VMS, and create config.status.
  11307.     * make-gas.com: Redone to work with new scheme.
  11308.     * obj-vms.c: Patch to fix bug where we were not correctly parsing the
  11309.       stabs directives.
  11310.     * obj-vms.c:  Define macros COPY_LONG and COPY_SHORT which
  11311.       will swap bytes if needed on a big endian system.  Use throughout
  11312.       as needed.
  11313.     * obj-vms.c (obj_aout_stab):  Add code to generate listing file.
  11314.     * obj-vms.c (VMS_typedef_parse): Add alias to correctly handle certain
  11315.       types of malformed stabs.  Change parsing algorithm so that we are
  11316.       more certain of having all of the information that we need on hand.
  11317.     * obj-vms.c (final_forward_reference):  New function, used to help
  11318.       resolve the data types of as many struct elements as possible
  11319.       when some part of the struct is not fully defined by the compiler.
  11320.     * obj-vms.c (VMS_LSYM_Parse):  Correctly handle case of continuation
  11321.       stabs directives.
  11322.     * obj-vms.c (VMS_write_object_file): Define all vtable psects
  11323.       as symbols as well in the object file.  Look for external functions
  11324.       that start with "__vt.", and turn them into variables, since the
  11325.       g++ compiler is incapable of doing this.
  11326.     * tc-vax.c: Add '1' option for backward compatibility with older GCC
  11327.       versions.
  11328.     * bignum-copy.c (bignum_copy): Fix bug where we pad with zeroes.
  11329.     * input-scrub.c (as_where): Fix bug where as would crash if we did not
  11330.       have the name of the source file yet.
  11331.     * config/ho-vms.h: define HO_VMS, not HO_VAX.
  11332.  
  11333. Mon Jan  4 05:17:26 1993  Ken Raeburn  (raeburn@cygnus.com)
  11334.  
  11335.     * read.c (s_data): Always use "data_section", since it'll map to
  11336.     SEG_DATA or SEG_E1 if needed.
  11337.     (s_lcomm): Likewise with bss_section.
  11338.     (s_fill): Use memset, not bzero.
  11339.  
  11340. Thu Dec 31 04:29:27 1992  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  11341.  
  11342.     * read.c: Deleted some code under "#ifdef DONTDEF" that was for
  11343.     handling GDB symbol table data.
  11344.  
  11345.     * config/obj-aout.h (segment_name): Delete definition.
  11346.     (seg_name): Delete declaration.
  11347.     * config/obj-bout.h (segment_name, seg_name): Ditto.
  11348.     * config/obj-vms.h (segment_name, seg_name): Ditto.
  11349.     * config/obj-coff.h (segment_name): Ditto.
  11350.     * config/obj-coffbfd.h (segment_name): Ditto.
  11351.  
  11352.     * Changes for BFD_ASSEMBLER:
  11353.     * obj.h (obj_crawl_symbol_chain): Declare only if not
  11354.     BFD_ASSEMBLER.
  11355.     (obj_header_append, obj_pre_write_hook): Ditto.
  11356.     * as.h (stdoutput): New var, defined only if BFD_ASSEMBLER.
  11357.     (segT) [BFD_ASSEMBLER]: New typedef for "asection *".
  11358.     (segment_name) If BFD_ASSEMBLER, look up BFD section name;
  11359.     otherwise, use seg_name array.
  11360.     (seg_name): Declare only if not BFD_ASSEMBLER.
  11361.     (section_alignment): Declare only if not BFD_ASSEMBLER.
  11362.     (big_section, reg_section, pass1_section, diff_section,
  11363.     absent_section, text_section, data_section, bss_section): If
  11364.     BFD_ASSEMBLER, declare as variables; otherwise, declare as macros,
  11365.     mapping to segT enum values.
  11366.     (tc_aout_fix_to_chars, next_object_file_charP): Force parse errors
  11367.     if these are used or defined, if BFD_ASSEMBLER.
  11368.     (subseg_set, subseg_new) [BFD_ASSEMBLER]: Functionality of old
  11369.     subseg_new split into two functions.
  11370.     (SEG_NORMAL): For BFD_ASSEMBLER, always return true, for now.
  11371.  
  11372.     * as.h (volatile): Don't define if already defined.
  11373.     (had_errors, had_warnings): Provide prototypes for ANSI C even if
  11374.     NO_STDARG.
  11375.     (as_bad, as_fatal, as_tsktsk, as_warn): For GNU C version 2,
  11376.     declare with format attribute for -Wformat checking.
  11377.  
  11378. Wed Dec 30 10:18:57 1992  Ian Lance Taylor  (ian@cygnus.com)
  11379.  
  11380.     * app.c, config/tc-*.c: Don't include read.h, since it is already
  11381.     included by as.h.
  11382.  
  11383.     * These are based on patches from Minh Tran-le
  11384.     <mtranle@paris.intellicorp.com>.
  11385.     * configure.in (i[34]86-ibm-aix*): Accept i486 for host.  Use
  11386.     obj_format coffbfd and gas_target i386coff for target.
  11387.     (i[34]86-*-isc*): New host (uses sysv).
  11388.     * config/i386aix.mt: Removed (no longer used).
  11389.     * config/mh-i386aix (RANLIB): Use true rather than /bin/true.
  11390.     (MINUS_G): Removed.
  11391.     (LDFLAGS): Added, defined as -shlib.
  11392.     * config/te-i386aix.h (REVERSE_SORT_RELOCS): Undefine.
  11393.     * config/te-sco386.h (LOCAL_LABEL): Don't define.
  11394.     (DOT_LABEL_PREFIX): Define.
  11395.     * expr.c (operand): If DOT_LABEL_PREFIX, use .L0\001 as a label
  11396.     name rather than L0\001.
  11397.     * read.c (s_lcomm): Make a frag in SEG_BSS rather than using
  11398.     local_bss_counter.
  11399.     * symbols.c, symbols.h (local_bss_counter): Removed.
  11400.     * write.c (write_object_file): bss no longer uses
  11401.     local_bss_counter.  Pass correct data and bss size to
  11402.     VMS_write_object_file.
  11403.     * config/obj-vms.c (VMS_write_object_file): Accept bss size as
  11404.     argument, rather than using local_bss_counter.
  11405.     * config/tc-m88k.c (s_bss): Don't use local_bss_counter.
  11406.     * config/tc-sparc.c (s_reserve): Don't use local_bss_counter.
  11407.     * config/obj-coffbfd.c (had_lineno, had_reloc): Removed.
  11408.     (size_section): Restored sanity check.
  11409.     (do_relocs_for): Base section address on s_paddr rather than
  11410.     computing it.  Adjust a29k R_IHIHALF special case to account for
  11411.     section paddr (used to require paddr to be zero).  If there are no
  11412.     reclos, set s_relptr to 0.  Set relocation size in object_headers.
  11413.     (fill_section): Always set s_vaddr here, removing
  11414.     ZERO_BASED_SEGMENTS case.  Force s_scnptr for bss to 0.  Don't set
  11415.     NOLOAD for i386 .bss, because it confuses the SVR3 native linker.
  11416.     Set STYP_INFO for .comment.
  11417.     (coff_header_append): Use object headers and H_{SET,GET}_* macros.
  11418.     Make aouthdr writing depend on OBJ_COFF_OMIT_OPTIONAL_HEADER.
  11419.     (crawl_symbols): Handle 8 character section name correctly.  Use
  11420.     H_{SET,GET}_* macros.
  11421.     (do_linenos_for): Set lineno size in object_headers.
  11422.     (write_object_file): Use H_{SET,GET}_* macros.  Don't bother to
  11423.     set s_vaddr here.  If string_byte_count remains 4, set it back to
  11424.     0, and only write strings out if there are some.  Call
  11425.     fill_section before do_relocs_for and do_linenos_for.
  11426.     (obj_coff_section): Handle optional quoted second argument giving
  11427.     section characteristics.
  11428.     (obj_coff_bss): Added to handle .bss.
  11429.     (obj_coff_ident): Added to handle .ident (puts string in .comment
  11430.     section).
  11431.     (obj_coff_lcomm): Put common symbols in .bss, not .data.
  11432.     (fixup_mdeps): Change to segment.  Call frag_wane after
  11433.     md_convert_frag.
  11434.     (fixup_segment): Explicitly check S_IS_COMMON before making 386
  11435.     adjustment (already happened only for common symbols, but this is
  11436.     clearer).
  11437.     * config/obj-coffbfd.h (OBJ_COFF_OMIT_OPTIONAL_HEADER): Define.
  11438.     * config/tc-i386.c (s_bss): Don't use if I386COFF.
  11439.     (md_pseudo_table): Ignore .optim and .noopt.
  11440.     (tc_coff_sizemachdep): New function.
  11441.     * config/tc-i386.h (REVERSE_SORT_RELOCS): Undef, for SVR3
  11442.     compatibility.
  11443.     (LOCAL_LABEL): Removed definition.
  11444.     (DOT_LABEL_PREFIX): Defined.
  11445.  
  11446. Mon Dec 28 10:32:05 1992  Ken Raeburn  (raeburn@cygnus.com)
  11447.  
  11448.     * app.c (app_push): Use memcpy, not bcopy.
  11449.     (do_scrub_next_char): For \", return " not '.
  11450.     (symbol_chars): Now const.
  11451.  
  11452.     * expr.c (operand): If not LOCAL_LABELS_FB, don't look for "0f"
  11453.     and "0b".  If LOCAL_LABELS_DOLLAR, check for "0$".
  11454.  
  11455.     * config/obj-coff.h: Don't use #elif.
  11456.  
  11457.     * config/ho-sunos.h: Don't include sys/stdtypes.h; 4.0.3 doesn't
  11458.     have it.  (Reported by Noah Friedman, friedman@gnu.ai.mit.edu.)
  11459.  
  11460. Wed Dec 16 12:12:33 1992  Ian Lance Taylor  (ian@cygnus.com)
  11461.  
  11462.     * write.c, obj-ieee.c: don't define SUB_SEGMENT_ALIGN if it is
  11463.     already defined.
  11464.  
  11465. Tue Dec 15 12:40:11 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  11466.  
  11467.     * app.c (do_scrub_begin): allow single quote strings if so
  11468.     configured.
  11469.  
  11470.     * config/*z8k*: checkpoint
  11471.  
  11472. Sun Dec 13 00:04:38 1992  Ian Lance Taylor  (ian@cygnus.com)
  11473.  
  11474.     * read.c (read_a_source_file): avoid calling xmalloc (0).
  11475.  
  11476. Sat Dec 12 15:26:34 1992  Ian Lance Taylor  (ian@cygnus.com)
  11477.  
  11478.     * listing.c: Call xmalloc, not malloc; don't declare malloc.
  11479.  
  11480.     * Changes to support SCO 3.2v4:
  11481.     * read.c (s_align_bytes, s_align_ptwo): If not SEG_DATA or
  11482.     SEG_BSS, fill with NOP_OPCODE.
  11483.     * config/i386coff.mt: Add opcode/i386.h to TARG_CPU_DEPENDENTS.
  11484.     * config/obj-coffbfd.c (do_relocs_for): Increment addr even if not
  11485.     using ZERO_BASED_SEGMENTS.
  11486.     (fill_section): If ZERO_BASED_SEGMENTS, set segment addresses, but
  11487.     never set segment address for SEG_E2 (.bss) and don't write out
  11488.     SEG_E2 contents.  Set .init and .fini sections to STYP_TEXT.
  11489.     (obj_coff_endef): Don't merge labels or symbols awaiting forward
  11490.     definitions, and don't merge tags with non-tags.  Check for .bf
  11491.     rather than just checking whether the second character is b and
  11492.     the third character is f.
  11493.     (obj_coff_val): gcc can generate values which we don't handle
  11494.     correctly; discard information for now, since it only affects the
  11495.     debugging information.
  11496.     (tag_find_or_name): Don't insert tags in the symbol table.
  11497.     (yank_symbols): Don't merge labels.
  11498.     (write_object_file): Don't define SUB_SEGMENT_ALIGN if it is
  11499.     already defined.  Fill subsegments with NOP_OPCODE, not 0.  Don't
  11500.     set segment address if ZERO_BASED_SEGMENTS.
  11501.     (obj_coff_section): Accept and ignore a trailing quoted string, as
  11502.     used in AT&T i386 syntax.
  11503.     (fixup_segment): Take segment as argument.  On the i386, adjust PC
  11504.     relative addends by the segment vaddr.
  11505.     * tc-i386.h: Define SUB_SEGMENT_ALIGN.
  11506.     * tc-a29k.h: Define ZERO_BASED_SEGMENTS.
  11507.     * tc-i386.c: (i386_operand): If I386COFF, accept any segment type.
  11508.  
  11509. Tue Dec  8 00:06:48 1992  Ken Raeburn  (raeburn@rtl.cygnus.com)
  11510.  
  11511.     * config/obj-coffbfd.c: Include libcoff.h.
  11512.  
  11513.     * version.c: Now version 1.93.
  11514.  
  11515. Mon Dec  7 00:39:09 1992  Ken Raeburn  (raeburn@cygnus.com)
  11516.  
  11517.     * config/tc-i386.c (md_pseudo_table): For 386bsd and linux, do
  11518.     power-of-two alignment for .align.
  11519.  
  11520.     * as.h: If BROKEN_ASSERT, just redefine `assert' to be trivial,
  11521.     and leave everything else alone.
  11522.  
  11523. Fri Dec  4 16:58:42 1992  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11524.  
  11525.     * Makefile.in (as.new): Don't bother saving as.old.
  11526.  
  11527.     * write.c: Conditionalize on OBJ_VMS, not VMS.
  11528.     (magic_number_for_object_file): Don't define if OBJ_VMS.
  11529.  
  11530.     * config/obj-vms.c: Changes for traditional C.
  11531.  
  11532. Thu Dec  3 01:24:07 1992  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
  11533.  
  11534.     * config/ho-generic.h (malloc, realloc): Declare.
  11535.  
  11536.     * Lots of comment/whitespace changes.
  11537.  
  11538.     * write.h (struct fix): Some fields reordered, narrowed.
  11539.  
  11540.     * read.c (MASK_CHAR): Define using C types, not magic number.
  11541.  
  11542.     * as.c, input-file.c: Deleted some unused code.
  11543.  
  11544.     * app.c, as.h: Doc fix.
  11545.  
  11546.     * flonum-konst.c, flonum-mult.c: Include ansidecl.h.
  11547.  
  11548.     * as.h (xmalloc): Argument is long.
  11549.  
  11550.     * xmalloc.c (error): Remove declaration; as.h takes care of it.
  11551.  
  11552.     * doc/as.texinfo: Regrouped documentation of some command-line
  11553.     options.  Updated options documentation for m68k.  Some minor
  11554.     wording/punctuation changes.
  11555.  
  11556. Mon Nov 30 11:42:11 1992  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11557.  
  11558.     * configure.in: Accept target OS "vms".
  11559.  
  11560.     * symbols.c:  Merged ANSI and non-ANSI function decls, using
  11561.     PARAMS macro.
  11562.  
  11563.     * xmalloc.c: Just include as.h, don't bother trying to figure out
  11564.     other header files.
  11565.  
  11566.     * strstr.c, strerror.c: Deleted.
  11567.     * Makefile.in: Deleted references.
  11568.  
  11569.     * config/tc-ns32k.c: Don't include header file for string
  11570.     declarations; leave that to ho-*.h.
  11571.  
  11572. Fri Nov 27 04:11:36 1992  Ken Raeburn  (raeburn at cambridge-laptop.cygnus.com)
  11573.  
  11574.     * config/coff_gnu.h [TC_I860]: Guesses for reloc type values,
  11575.     imported from FSF sources.
  11576.  
  11577.     * messages.c (strerror): Declare unconditionally.
  11578.  
  11579.     * as.h: Delete alloca and register definitions.
  11580.  
  11581.     * config/atof-ieee.c (mask): Now const.
  11582.  
  11583.     * obstack.c, obstack.h: Deleted.
  11584.  
  11585.     * as.h (flag_readonly_data_in_text): New flag.
  11586.     * as.c (main): Set it for -R.
  11587.  
  11588.     * as.h (flag_suppress_warnings): New flag.
  11589.     * as.c (main): Set it for -W.
  11590.     * messages.c (as_warn): Check it instead of flagseen['W'].
  11591.  
  11592.     * as.h (flag_always_generate_output): New flag.
  11593.     * as.c (main): Set it for -Z.
  11594.  
  11595.     * config/tc-sparc.h: Define NEED_FX_R_TYPE.
  11596.     * config/tc-a29k.h: Ditto.
  11597.     * write.h (struct fix): Don't conditionalize fx_r_type field on TC
  11598.     macros.
  11599.  
  11600.     * as.h: Merged ANSI and non-ANSI function decls, using PARAMS
  11601.     macro.
  11602.     * bignum.h, expr.h, flonum.h, frags.h, input-file.h, listing.h,
  11603.     obj.h, output-file.h, read.h, struc-symbol.h, symbols.h, tc.h,
  11604.     write.h: Likewise.
  11605.     * read.c: Likewise.
  11606.  
  11607.     * xmalloc.c: Conditionalize on HAVE_MALLOC_H, not USG.  Fold in
  11608.     xrealloc from xrealloc.c.
  11609.     * xrealloc.c: Deleted.
  11610.     * Makefile.in (REAL_SOURCES, OBJS): Adjusted.
  11611.  
  11612.     * configure.in: For host CPU a29k, rs6000, vax, consider using bsd
  11613.     or vms ho- files.
  11614.  
  11615.     * config/ho-sysv.h (setbuffer, HO_USG): Deleted.
  11616.  
  11617.     * config/atof-ieee.c (atof_ieee): Exponent field isn't a pointer;
  11618.     don't initialize it with NULL.
  11619.  
  11620.     * config/ho-vax.h (M_VAX): Deleted; was unused.
  11621.  
  11622.     * README-vms, config/ho-vms.h, config/obj-vms.c, config/obj-vms.h:
  11623.     New files imported from FSF version, contributed by Eric Youngdale.
  11624.     * README-vms-dbg, config/vms: Deleted.
  11625.  
  11626.     * ChangeLog, config/ChangeLog: Merged.
  11627.  
  11628.     * config/*tahoe*, configure.in: Tahoe support brought in from FSF
  11629.     version.
  11630.  
  11631.     * input-file.c (input_file_open): Eliminate call to setvbuf.
  11632.     [USG] (setbuffer): Deleted macro.
  11633.  
  11634. Mon Nov 23 11:00:16 1992  Ken Raeburn  (raeburn@cygnus.com)
  11635.  
  11636.     * all files: Whitespace changes for GNU indentation style, done by
  11637.     GNU `indent'.  Some cleanup still needed, especially of comments.
  11638.  
  11639.     * configure.in: No te-386bsd.h file exists; don't try to use it.
  11640.  
  11641.     * obj-coff.c (obj_coff_endef): Use as_warn, not fprintf.
  11642.  
  11643.     * tc-m68k.c (md_assemble): Don't complain about 68000 with 68881;
  11644.     could be doing emulation.
  11645.  
  11646. Thu Nov 19 11:47:19 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  11647.  
  11648.     z8000 documentation
  11649.     * doc/Makefile.in, doc/all.m4, doc/as-all.texinfo, doc/as.texinfo:
  11650.     all modified.
  11651.  
  11652. Tue Nov 10 09:49:24 1992  Ian Lance Taylor  (ian@cygnus.com)
  11653.  
  11654.     * Makefile.in (as.o, obj-format.o): added dependency on subsegs.h.
  11655.  
  11656.     * subsegs.h: add extern to segment_info declaration.
  11657.  
  11658.     * read.h: added extern declarations for comment_chars,
  11659.     line_comment_chars, and line_separator_chars.
  11660.     read.c, app.c: removed definitions of comment_chars,
  11661.     line_comment_chars, and line_separator_chars.
  11662.  
  11663.     * tc-m68k.c (m68k_reg_parse): If REGISTER_PREFIX isn't defined,
  11664.     still accept (but don't require) OPTIONAL_REGISTER_PREFIX before
  11665.     the register name.
  11666.     (insert_reg): put REGISTER_PREFIX before register names before
  11667.     putting them in the symbol table.
  11668.     * tc-m68k.h (OPTIONAL_REGISTER_PREFIX): Define to be "%", if not
  11669.     M68KCOFF.
  11670.  
  11671.     * obj-coffbfd.c (fill_section): set STYP_NOLOAD bit for .bss
  11672.     section.
  11673.  
  11674.     * atof-ieee.c, atof-ns32k.c, tc-*.c: made EXP_CHARS, FLT_CHARS,
  11675.     comment_chars, line_comment_chars and line_seperator_chars
  11676.     consistently const, and always initialized them.  Included read.h.
  11677.  
  11678. Thu Nov  5 17:55:41 1992  Jim Wilson  (wilson@sphagnum.cygnus.com)
  11679.  
  11680.     * tc-sparc.c (sparc_ip): Add code to flag error if an absolute
  11681.     constant will not fit in an immediate field.
  11682.     (md_apply_fix, RELOC_BASE13 case): Check for relocation overflow.
  11683.  
  11684. Wed Nov  4 07:50:46 1992  Ken Raeburn  (raeburn@cygnus.com)
  11685.  
  11686.     * obj-coff.c (callj_table): Delete global variable.
  11687.     (obj_emit_relocations): Define it locally here, and only if
  11688.     TC_I960 is defined.
  11689.  
  11690.     * tc-m68k.c (m68k_reg_parse): Underscore is part of a symbol name.
  11691.     (m68k_ip): Don't warn about bignum used as float bit-pattern.
  11692.  
  11693.     * obj-coff.c: Replaced ANSI and non-ANSI function declarations
  11694.     with a single set using PARAMS macro.
  11695.  
  11696.     * tc-i960.c (tc_bout_fix_to_chars): Bit-field fixups want a length
  11697.     of 2.
  11698.  
  11699.     * tc-i960.c: Missed a couple of 0->NO_RELOC conversions.
  11700.  
  11701.     * tc-i960.h (N_BALNAME, N_CALLNAME): Define as char-type values,
  11702.     so widening works consistently.
  11703.  
  11704. Wed Oct 28 08:52:34 1992  Ken Raeburn  (raeburn@cygnus.com)
  11705.  
  11706.     * version.c: Put conditional "const" before version_string, not
  11707.     before dummy function for VMS.  Now version 1.91.03.
  11708.  
  11709.     * app.c (do_scrub_next_char): Need double-\ before `000' to show
  11710.     printed rep of null character.
  11711.  
  11712. Fri Oct 23 14:40:38 1992  Ian Lance Taylor  (ian@cygnus.com)
  11713.  
  11714.     * obj-coffbfd.c (write_object_file): check return value of
  11715.     bfd_close_all_done.
  11716.  
  11717. Tue Oct 20 12:18:08 1992  Ian Lance Taylor  (ian@cygnus.com)
  11718.  
  11719.     * Support for i386-sysv.
  11720.     obj-coffbfd.c (do_relocs_for, write_object_file): set segment
  11721.     addresses to reasonable sizes.  New define ZERO_BASED_SEGMENTS can
  11722.     be used to set them all to zero as was done before.
  11723.     (fill_section): segment addresses now set in write_object_file.
  11724.     (fill_section): Don't set STYP_NOLOAD for .bss section.
  11725.     (fixup_segment): 386 uses strange common symbol format.
  11726.     tc-i386.c (tc_coff_fix2rtype): use R_DIR32, not R_RELLONG, for
  11727.     compatibility with SVR3.2 linker.
  11728.     * configure.in: i386-sysv and i386-sco use coffbfd.
  11729.  
  11730.     * app.c (do_scrub_next_char): discard whitespace after a label.
  11731.  
  11732. Sat Oct 10 12:33:45 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  11733.  
  11734.     * configure.in: differentiate between SunOS 4 and Solaris2 for Sun4
  11735.     hosts, use the sysv configuration for solaris2
  11736.  
  11737. Mon Oct  5 09:28:57 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  11738.  
  11739.      fix i960+non-bfd coff bit rot.
  11740.     * obj-coff.c (c_dot_file_symbol, obj_coff_ln, obj_coff_line):
  11741.     support for C source listings. (obj_coff_endef): look in the right
  11742.     part of the symbol for the symbol name
  11743.  
  11744.     * tc-m68k.c (get_num): make it work for all segments, not just the
  11745.     first three.
  11746.  
  11747. Mon Oct  5 03:30:36 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
  11748.  
  11749.     * configure.in: recognize i386-*-bsd emulation.
  11750.  
  11751. Thu Oct  1 23:05:12 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
  11752.  
  11753.     * configure.in: use the cpu-vendor-os triple for host and target
  11754.  
  11755. Tue Sep 29 12:22:52 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  11756.  
  11757.     * obj-coffbfd.c (write_object_file): don't fixup for the z8k
  11758.     * tc-z8k.c: lots of bug fixes
  11759.  
  11760. Tue Sep 29 10:51:55 1992  Ian Lance Taylor  (ian@cygnus.com)
  11761.  
  11762.     * tc-i960.h, tc-i960.c: avoid the ANSI preprocessor addition
  11763.     #elif, since it is not supported by old compilers.
  11764.     ho-rs6000.h, tc-m68k.c: the native RS/6000 compiler miscompiles a
  11765.     couple of expressions in tc-m68k.c.
  11766.  
  11767. Mon Sep 28 21:18:24 1992  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11768.  
  11769.     * read.c (cons): If NO_RELOC is defined, use it.
  11770.  
  11771.     * tc-i960.c (get_cdisp): Use NO_RELOC, not 0, in call to fix_new.
  11772.  
  11773. Fri Sep 25 18:18:52 1992  Ian Lance Taylor  (ian@cygnus.com)
  11774.  
  11775.     * tc-m68k.h: if M68KCOFF, define DOT_LABEL_PREFIX (to require
  11776.     local labels to start with a .) and set REGISTER_PREFIX to %.
  11777.     tc-m68k.c (m68k_reg_parse): accept REGISTER_PREFIX if defined.
  11778.  
  11779. Fri Sep 25 17:53:43 1992  John Gilmore  (gnu@cygnus.com)
  11780.  
  11781.     * messages.c:  Comment changes.
  11782.  
  11783. Fri Sep 25 14:12:58 1992  Ken Raeburn  (raeburn@kyriath.cygnus.com)
  11784.  
  11785.     * as.h: Test if __STDC__ is defined only, don't test its value.
  11786.     * messages.c: If __STDC__ is not defined, define NO_STDARG.
  11787.  
  11788. Thu Sep 24 12:42:32 1992  Brendan Kehoe  (brendan@rtl.cygnus.com)
  11789.  
  11790.     * listing.c (debugging_pseudo): Add stabs and stabn as things to
  11791.     ignore.
  11792.  
  11793. Tue Sep 22 13:02:07 1992  Sean Eric Fagan  (sef@cygnus.com)
  11794.  
  11795.     * obj-coffbfd.c (do_relocs_for,fill_section): now allocate all
  11796.     sections starting from zero, rather than making them consecutive.
  11797.     This makes subsequent reloc calculations easier, esp if the object
  11798.     format doesn't understand addends. (obj_coff_lcomm): (maybe temporarily)
  11799.     allocate lcomm in .data rather than in .bss.  It seems that some
  11800.     tools can't cope with a non-zero sized bss before linkage.
  11801.  
  11802. Tue Sep 22 15:10:51 1992  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11803.  
  11804.     * tc-m68k.c: Replace "enum m68k_architecture" with "int"
  11805.     throughout.  That enum no longer means what we thought it meant.
  11806.  
  11807.     * tc-m68k.c (md_assemble, md_parse_option): Handle new
  11808.     "-mno-688[58]1" options.
  11809.  
  11810.     * tc-m68k.c: Added CPU32 support.
  11811.  
  11812. Fri Sep 18 08:02:18 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  11813.  
  11814.     * tc-m68k.c (m68k_ip): An(disp) is not pc relative.
  11815.  
  11816. Tue Sep 15 17:25:05 1992  Jim Wilson  (wilson@sphagnum.cygnus.com)
  11817.  
  11818.     * Makefile.in (as.new): Remove dependence on LOCAL_LOADLIBES.
  11819.     Change LIBDEPS dependence to LIBS.
  11820.  
  11821. Tue Sep 15 15:32:02 1992  Ian Lance Taylor  (ian@cygnus.com)
  11822.  
  11823.     * Makefile.in (install): if $(tooldir) exists, install as in
  11824.     $(tooldir)/bin.
  11825.  
  11826. Sun Sep 13 20:30:10 1992  Ian Lance Taylor  (ian@cygnus.com)
  11827.  
  11828.     * Added WARN_SIGNED_OVERFLOW_WORD define to give an error if any
  11829.     .word is < -32768 or > 32767.  The -J flag causes the error to be
  11830.     ignored.  This is to catch over-sized switches generated by gcc on
  11831.     systems which don't support the broken .word hack.
  11832.     as.c (main): permit -J if WARN_SIGNED_OVERFLOW_WORD.
  11833.     write.c (fixup_segment): check for signed .word overflow if
  11834.     WARN_SIGNED_OVERFLOW_WORD.
  11835.  
  11836.     * write.c (fixup_segment): fixed missing parens in expression
  11837.     checking for byte or word overflow.
  11838.  
  11839.     * obj-coffbfd.h: define WARN_SIGNED_OVERFLOW_WORD.
  11840.     obj-coffbfd.c (fixup_segment): check for signed .word overflow if
  11841.     WARN_SIGNED_OVERFLOW_WORD.
  11842.  
  11843.     * obj-coffbfd.c (fixup_segment): fixed missing parens in
  11844.     expression checking for byte or word overflow.
  11845.  
  11846. Fri Sep 11 10:21:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  11847.  
  11848.     Support for i386 coff
  11849.     * obj-coffbfd.h : added stuff
  11850.     * tc-i386.c (tc_coff_fix2rtype): new function
  11851.     * tc-i386.h : new coff defines
  11852.  
  11853. Thu Sep 10 09:23:15 1992  Ian Lance Taylor  (ian@cygnus.com)
  11854.  
  11855.     * input-scrub.c (input_scrub_push): call input_file_begin, not
  11856.     input_scrub_begin.
  11857.     messages.c (as_perror): print ": " between the passed in error and
  11858.     the strerror, like perror does.
  11859.  
  11860. Wed Sep  9 11:06:25 1992  Ian Lance Taylor  (ian@cygnus.com)
  11861.  
  11862.     * Makefile.in: use gas_target instead of modifying target_cpu.
  11863.     From Steve Chamberlain:
  11864.     Makefile.in: Handle m68*-*-coff*.
  11865.     read.c, read.h: add mult argument to s_space
  11866.  
  11867.     * tc-m68k.c (m68k_ip, m68k_ip_op, get_num, try_moto_index): merge
  11868.      Motorola and MIT syntax; gas can now assemble either type of
  11869.      file.
  11870.     tc-m68kmote.c, tc-m68kmote.h: removed now superfluous files.
  11871.     From Steve Chamberlain:
  11872.     m68kcoff.mt: for m68k COFF.
  11873.     obj-coffbfd.c: (fixup_mdeps) added
  11874.      (size_section) removed bad sanity check
  11875.      (fill_section) added rs_machine_dependent case
  11876.      (write_object_file) call fixup_mdeps
  11877.      (fixup_segment) set fx_subsy to 0.
  11878.     obj-coffbfd.h: define WORKING_DOT_WORD (too hard to support) and
  11879.      handle m68k.
  11880.     tc-m68k.c, config/tc-m68k.h: added m68k COFF support and Motorala
  11881.      pseudo ops.
  11882.  
  11883. Tue Sep  8 17:10:58 1992  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11884.  
  11885.     * Makefile.in (LIBS): Include opcode library.
  11886.  
  11887. Fri Sep  4 18:20:56 1992  Ken Raeburn  (raeburn@cygnus.com)
  11888.  
  11889.     * config/tc-m68k.c (get_num, case SEG_BIG): If only small integers
  11890.     including zero are accepted, pass +0.0.
  11891.  
  11892. Sun Aug 30 21:24:46 1992  Ian Lance Taylor  (ian@cygnus.com)
  11893.  
  11894.     * Makefile.in: map "as" through program_transform_name when
  11895.     installing.
  11896.  
  11897.     * doc/Makefile.in: map "as" through program_transform_name when
  11898.     installing.
  11899.  
  11900. Sat Aug 29 12:11:12 1992  Jim Wilson  (wilson@sphagnum.cygnus.com)
  11901.  
  11902.     * Makefile.in (as.new): Depend on LOCAL_LOADLIBES.
  11903.  
  11904. Fri Aug 28 16:25:22 1992  Ian Lance Taylor  (ian@cygnus.com)
  11905.  
  11906.     * obj-bout.h, obj-bout.c (obj_header_append, obj_symbol_to_chars),
  11907.     tc-i960.c (md_ri_to_chars): Always output bout object file in
  11908.     little endian byte order (used to use endianness of host).
  11909.  
  11910. Tue Aug 25 15:50:48 1992  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11911.  
  11912.     * config/tc-m68k.c (init_table): Now const.  Always include 68851
  11913.     data, so that "bc" is available to 68040 cache instructions.
  11914.     Added "tt0", "tt1", and 68ec030 variants.
  11915.     (md_assemble): Complain if 68000 (only) and 68881 are specified.
  11916.     (enum _register): Added TT0, TT1.
  11917.     (m68k_ip, cases '3' and 't'): Handle new operand type codes.  Pass
  11918.     line number correctly in "internal error" messages.  Don't print
  11919.     architecture-mismatch message for operand errors.
  11920.  
  11921.     From Colin Smith (colin@wrs.com):
  11922.     * config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather
  11923.     than install_operand.
  11924.  
  11925. Tue Aug 25 15:13:48 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  11926.  
  11927.     * listing.c (buffer_line): rewind to the start of include
  11928.     files, they might be included twice.
  11929.  
  11930.     * z8k.c, z8k.h, z8k.mt: z8000 support stuff
  11931.  
  11932. Mon Aug 24 12:45:43 1992  Ian Lance Taylor  (ian@cygnus.com)
  11933.  
  11934.     * Makefile.in: defined TARGET_CPU for C code so that it can choose
  11935.     one element of a family.
  11936.  
  11937.     * tc-m68k.c: use TARGET_CPU to choose default cpu type.
  11938.  
  11939.     * te-generic.h: default to LOCAL_LABELS_DOLLAR and LOCAL_LABELS_FB
  11940.     so that we can assemble hand-written libgcc code.
  11941.  
  11942. Fri Aug 21 14:38:44 1992  Ken Raeburn  (raeburn@cambridge.cygnus.com)
  11943.  
  11944.     * messages.c (as_warn): Use fputs, not fprintf, with a buffer that
  11945.     has already been formatted (but may still contain %-characters).
  11946.     (as_bad): Likewise.
  11947.  
  11948. Wed Aug 19 11:20:59 1992  Ian Lance Taylor  (ian@cygnus.com)
  11949.  
  11950.     * tc-m68k.c, tc-m68kmote.c: the cas2 instruction is supposed to be
  11951.     written with indirection on the last two operands, which can be
  11952.     either data or address registers.  Added a new operand type 'r'
  11953.     which accepts either register type.  Added '(' to notend stuff in
  11954.     tc-m68kmote.c to accept (a0):(a2) in cas2 instruction.
  11955.  
  11956. Wed Aug 19 09:25:09 1992  Ken Raeburn  (raeburn@cygnus.com)
  11957.  
  11958.     * as.h (enum _relax_state): Start off at one, not zero, to better
  11959.     catch uninitialized-variable errors.
  11960.     (linkrelax): Declare new variable.
  11961.  
  11962.     * messages.c (warning_count, error_count): Default initializer is
  11963.     sufficient.
  11964.  
  11965.     * write.c: Merged some declarations, using PARMS macro.
  11966.     (text_frag_root, data_frag_root, bss_frag_root, text_last_frag,
  11967.     data_last_frag): No longer static.
  11968.     (write_object_file, case rs_align or rs_org): If HANDLE_ALIGN is
  11969.     defined, call it.  Change segments before calling fixup_segment.
  11970.     (relax_align): If linkrelax, provide extra padding.
  11971.  
  11972.     * obj-bout.c (obj_emit_relocations): Emit alignment relocs despite
  11973.     their not having symbols associated.
  11974.  
  11975.     * tc-i960.c (norelax, instrument_branches): Default initializer is
  11976.     sufficient.
  11977.     (linkrelax): Delete variable definition.
  11978.     (mem_fmt): Call fix_new with NO_RELOC.
  11979.     (tc_bout_fix_to_chars): Handle alignment relocs.
  11980.     (i960_handle_align): New function.
  11981.     * tc-i960.h (linkrelax): Delete declaration.
  11982.     (HANDLE_ALIGN): New macro; calls i960_handle_align.
  11983.     (NEED_FX_R_TYPE, NO_RELOC): New macros.
  11984.  
  11985. Tue Aug 18 14:59:21 1992  Ken Raeburn  (raeburn@cygnus.com)
  11986.  
  11987.     * config/sparc.mt: New file.  Grab sparc opcode table from bfd
  11988.     library.
  11989.  
  11990. Tue Aug 18 14:16:38 1992  Ian Lance Taylor  (ian@cygnus.com)
  11991.  
  11992.     * Makefile.in: always create installation directories.  Removed
  11993.     MINUS_G, set CFLAGS to default to -g, added FLAGS_TO_PASS, passed
  11994.     FLAGS_TO_PASS to recursive makes.
  11995.  
  11996.     * doc/Makefile.in: always create installation directories.
  11997.  
  11998. Mon Aug 17 15:09:56 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  11999.  
  12000.     * input-scrub.c (input_scrub_pop, input_scrub_push): memcpy was
  12001.     being used with args swapped, causing occasional lossage when
  12002.     refilling buffers after an include file.
  12003.  
  12004. Mon Aug 17 13:18:51 1992  Ken Raeburn  (raeburn@cygnus.com)
  12005.  
  12006.     * messages.c (as_tsktsk): Use correct ANSI form for stdarg
  12007.     version.  Discard bogus DONTDEF version.
  12008.     (as_warn, as_bad, as_fatal): Likewise.
  12009.  
  12010. Fri Aug 14 18:31:14 1992  Ken Raeburn  (raeburn@cygnus.com)
  12011.  
  12012.     * config/tc-m68k.c (m68k_ip): If instruction is invalid for the
  12013.     selected architecture, print a message saying so and listing what
  12014.     processors support it, rather than saying "operands mismatch".
  12015.  
  12016. Thu Aug 13 13:53:19 1992  Ken Raeburn  (raeburn@cygnus.com)
  12017.  
  12018.     * as.h [BROKEN_ASSERT]: If defined, turn off all assertion checks.
  12019.  
  12020.     * config/ho-rs6000.h (M_RS6000): Don't define it.
  12021.     (free): Declare it.
  12022.     (BROKEN_ASSERT): Define it if not __STDC__.
  12023.  
  12024. Tue Aug 11 12:58:14 1992  Ken Raeburn  (raeburn@cygnus.com)
  12025.  
  12026.     * sparc.mt: New file.
  12027.  
  12028. Mon Aug 10 14:37:08 1992  Per Bothner  (bothner@cygnus.com)
  12029.  
  12030.     * tc-m68k.c: ".align N" means align to N-byte boundary *only*
  12031.     if TN_SUN3; otherwise align to 2**N-byte bounary.
  12032.  
  12033. Thu Aug  6 12:10:39 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  12034.  
  12035.     * read.c (s_fill): make the .fill size clamped error a warn and
  12036.     fix bug where 0's were always placed.
  12037.  
  12038.     * config/tc-h8300.c: if a :8 is seen after an operand, fill top
  12039.     two bytes of any constant with 0xff:
  12040.  
  12041. Wed Aug  5 12:02:40 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  12042.  
  12043.     * config/tc-m68k.c (md_pseudo_table): fix the .align thing
  12044.     the right way; for just the 68k. Sun 3 .align is nbytes, not ptwo.
  12045.  
  12046. Wed Aug  5 01:54:34 1992  John Gilmore  (gnu at cygnus.com)
  12047.  
  12048.     * tc-m68k.c (try_index):  Error if index scaling specified and
  12049.     assembling for an older CPU than a 68020.
  12050.  
  12051. Sat Aug  1 19:10:13 1992  Ken Raeburn  (raeburn@cygnus.com)
  12052.  
  12053.     * config/tc-sparc.c (tc_aout_fix_to_chars): If pc-relative, take
  12054.     fx_offset into account.
  12055.  
  12056. Fri Jul 31 21:53:28 1992  Ken Raeburn  (raeburn@cygnus.com)
  12057.  
  12058.     * configure.in (mips host): Accept "ultrix" with version number.
  12059.  
  12060.     * expr.c (floating_constant): Separate "=-" to avoid confusing
  12061.     ancient or broken compilers.
  12062.  
  12063.     * config/tc-m68k.c (m68k_ip): Mismatch error could also indicate
  12064.     processor/opcode mismatch, so reword the error message.
  12065.     (md_assemble): If no CPU has been set (even if FPU/PMMU
  12066.     characteristics have been), default to 68020.  Don't need extra
  12067.     quotes around error string.
  12068.  
  12069. Fri Jul 31 12:26:34 1992  Jim Wilson  (wilson@sphagnum.cygnus.com)
  12070.  
  12071.     * read.c (potable): Revert sac's incorrect change made Jul 13.
  12072.     Align really is supposed to be ptwo not nbytes.
  12073.  
  12074. Mon Jul 20 02:51:59 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
  12075.  
  12076.     * Makefile.in: _Do_ include libiberty.  (from sef)
  12077.  
  12078. Fri Jul 17 15:15:28 1992  Ken Raeburn  (raeburn@cygnus.com)
  12079.  
  12080.     * expr.c (integer_constant): Handle "0f" and "0b" label references
  12081.     properly.
  12082.  
  12083. Thu Jul 16 08:20:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  12084.  
  12085.     * write.c (fixup_segment): if relaxing, don't do anything.
  12086.     * config/obj-bout.[ch] : maintain the a_relaxable file header info
  12087.     * config/tc-i960.c: new option -linkrelax
  12088.  
  12089. Mon Jul 13 14:11:36 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  12090.  
  12091.     * expr.c (expr): allow SEG_BSS in expressions
  12092.     * read.c (potable): align should be nbytes, not ptwo!
  12093.     * write.c (write_object_file): extra glue for new bss attributes
  12094.     (relax_segment): SEG_BSS is ok now
  12095.     * config/tc-m68k.c (m68k_ip_op): can now parse more @( modes
  12096.  
  12097. Mon Jul  6 17:09:32 1992  Steve Chamberlain  (sac@cygnus.com)
  12098.  
  12099.     * obj-coffbfd.c (fill_section): mark .lit sections as STYP_LIT
  12100.  
  12101. Mon Jun  1 16:20:22 1992  Michael Tiemann  (tiemann@cygnus.com)
  12102.  
  12103.     * configure.in: recognize m680x0 as having sun3 emulation mode for
  12104.     vxworks environment.
  12105.  
  12106.  
  12107. Tue Jun 30 20:25:54 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
  12108.  
  12109.     * Makefile.in: Add program_suffix (parallel to program_prefix)
  12110.  
  12111. Wed Jun 24 10:57:54 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  12112.  
  12113.     * app.c (process_escape): new function to handle escapes the right
  12114.     way, (do_scrub_next_char): use new function
  12115.     * cond.c (s_ifdef): do ifdef/ifndef right
  12116.     * read.c (s_fill): make the , expressions optional like the doc
  12117.     says
  12118.     * config/tc-h8300.[ch]: better warnings
  12119.  
  12120. Tue Jun  9 07:54:54 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  12121.  
  12122.     * subsegs.c (subsegs_begin): create bss0_frchainP in the same was
  12123.     as data0_frchainP
  12124.  
  12125.     * write.c (write_object_file): various changes to handle data in
  12126.     the BSS segment in much the same was as stuff in the DATA segment.
  12127.  
  12128.     * tc-m68k.c (m68kip): Fix typo so that only arch's >=68020 do
  12129.     pcrel data stuff. (md_estimate_size_before_relax): when relaxing a
  12130.     68010 bxx into a bra+6 jmpxx, put the bytes of the jmp opcode into
  12131.     the right place. (s_bss): Don't put .bss stuff into SEG_DATA, put
  12132.     it into SEG_BSS
  12133.  
  12134. Thu Jun  4 11:59:13 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  12135.  
  12136.     * expr.c(expr): allow SEG_REGISTER in expressions.
  12137.     * read.c(pseudo_set): register expressions can be the source of a
  12138.     set.
  12139.     * subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
  12140.     goto SEG_TEXT (if a.out)
  12141.     * write.c (write_object_file): If a.out don't use the old way for
  12142.     -R.
  12143.     * config/obj-a.out (s_sect): complain if the user tries to use a
  12144.     subsegment with a value which might interfere with out -R hackery.
  12145.     * config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
  12146.     rather than use ugly if tree. (init_regtable): insert register
  12147.     names into symbol table.
  12148.  
  12149. Tue Jun  2 16:47:09 1992  Steve Chamberlain (sac@cygnus.com)
  12150.  
  12151.     * write.c (write_object_file): keep the fix_tail clean, which
  12152.     fixes a bug in -R where relocations were being lost.
  12153.  
  12154. Mon Jun  1 16:20:22 1992  Michael Tiemann  (tiemann@cygnus.com)
  12155.  
  12156.     * configure.in: recognize m680x0 as having sun3 emulation mode for
  12157.     vxworks environment.
  12158.  
  12159. Sun May 31 05:33:00 1992  david d `zoo' zuhn (zoo@cygnus.com)
  12160.  
  12161.     * configure.in: recognize m680x0 as an m68k
  12162.  
  12163. Thu May 28 11:22:02 1992  Jim Wilson  (wilson@sphagnum.cygnus.com)
  12164.  
  12165.     * configure.in: Recognize sparclite as a sparc variant.
  12166.  
  12167.     * tc-sparc.c: Use new ARCHITECTURES_CONFLICT_P macro.  Mention new
  12168.     -Asparclite flag.
  12169.  
  12170. Tue May 26 16:47:56 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  12171.  
  12172.     * config/tc-a29k.c: lint
  12173.     * listing.c, expr.c: patches from Andrew Smith
  12174.  
  12175. Thu May 14 17:22:48 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
  12176.  
  12177.     * doc/Makefile.in: use m4 rather than gm4.
  12178.  
  12179. Mon May  4 18:56:19 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  12180.  
  12181.     * obj-coffbfd.c: use is a synonym for section, (do_relocs_for):
  12182.     calc the base of relocs correctly.
  12183.     * tc-a29k.c (parse_operand): allow expressions to be in any section.
  12184.  
  12185. Mon Apr 27 13:13:31 1992  K. Richard Pixley  (rich@cygnus.com)
  12186.  
  12187.     * as.c, write.c: use -K rather than -k for the broken word warning
  12188.       option.
  12189.  
  12190. Tue Apr 21 13:35:30 1992  K. Richard Pixley  (rich@cygnus.com)
  12191.  
  12192.     * Makefile.in: do not print recursion lines.
  12193.  
  12194. Wed Apr 15 21:19:31 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
  12195.  
  12196.     * Makefile.in: the tooldir copy of gas goes directly in tooldir.
  12197.  
  12198. Tue Apr 14 14:50:22 1992  Ken Raeburn  (Raeburn@Cygnus.COM)
  12199.  
  12200.     * write.c (write_object_file): For b.out format, round up section
  12201.     start addresses to match required alignment.
  12202.  
  12203. Thu Apr  9 05:45:29 1992  Ken Raeburn  (Raeburn@Cygnus.COM)
  12204.  
  12205.     * Makefile.in (install): Install into $(tooldir)/bin, since that's
  12206.     where gcc looks for it.
  12207.  
  12208. Tue Apr  7 15:12:15 1992  Sean Eric Fagan  (sef@cygnus.com)
  12209.  
  12210.     * Makefile.in:  Changed some lines to be less confusing for some
  12211.     makes.
  12212.  
  12213.     * input-file.c:  Conditionalize on _IOFBF, not VMS.
  12214.  
  12215.     * read.c, write.c:  Change a series of ifdef/elif to
  12216.     ifdef/else/ifdef etc.
  12217.  
  12218. Fri Mar 27 12:21:16 1992  K. Richard Pixley  (rich@cygnus.com)
  12219.  
  12220.     * symbols.c (fb_label_init): fix sizeof to memset.
  12221.  
  12222. Fri Mar 13 15:45:44 1992  K. Richard Pixley  (rich@cygnus.com)
  12223.  
  12224.     * Makefile.in: install the man page.
  12225.  
  12226.     * Makefile.in: pass down MAKEINFO explicitly on info.
  12227.  
  12228.     * doc/Makefile.in: use $(MAKEINFO) not makeinfo.
  12229.  
  12230. Fri Mar 13 08:03:03 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
  12231.  
  12232.     * flonum-const.c: renamed flonum-konst.c to stop dos name
  12233.     conflict.
  12234.  
  12235. Thu Mar 12 04:42:38 1992  K. Richard Pixley  (rich@cygnus.com)
  12236.  
  12237.     * tc-m68k.h, te-sun3.h: moved LOCAL_LABELS_FB definition from
  12238.       tc-m68k.h to te-sun3.h.
  12239.  
  12240. Wed Mar 11 23:32:42 1992  K. Richard Pixley  (rich@cygnus.com)
  12241.  
  12242.     * configure.in: vxworks68 gets te-sun3.h.
  12243.  
  12244.     * expr.c: remove limitation that local_labels_dollar or
  12245.       local_labels_fb must be < 10.
  12246.  
  12247.     * symbols.c: remove local_labels_dollar, replace with a function
  12248.       interface for a sparse array.  All users adjusted.
  12249.  
  12250.     * te-sun3.h: add LOCAL_LABELS_DOLLAR.
  12251.  
  12252. Sat Mar  7 00:06:25 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
  12253.  
  12254.     * doc/Makefile.in: commented out line for building as-all.texinfo.
  12255.       This is temporary.
  12256.  
  12257.     * doc/as.texinfo, doc/as-all.texinfo: added menu item hooks.
  12258.  
  12259. Fri Mar  6 21:57:18 1992  K. Richard Pixley  (rich@cygnus.com)
  12260.  
  12261.     * Makefile.in: added check target.
  12262.  
  12263. Tue Mar  3 15:45:56 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
  12264.  
  12265.     * Makefile.in: added tooldir and program_prefix.
  12266.  
  12267. Sun Mar  1 04:43:19 1992  Michael Tiemann  (tiemann@cygnus.com)
  12268.  
  12269.     * write.{c,h} (fix_new): Make these declarations consistent.
  12270.  
  12271. Sat Feb 29 13:59:10 1992  Michael Tiemann  (tiemann@cygnus.com)
  12272.  
  12273.     * Makefile.in (strerror.o): Add rule so that broken Sun make can
  12274.     work in subdirs.
  12275.  
  12276. Wed Feb 26 19:26:28 1992  Steve Chamberlain  (sac at thepub.cygnus.com)
  12277.  
  12278.     * read.c, obj-coffbfd.c : fix h8300 specific bit rot
  12279.  
  12280.     * expr.c (operand): if can't work out what sort of operand it is,
  12281.     then look through FLT_CHARS for a hint.
  12282.  
  12283. Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
  12284.  
  12285.     * Makefile.in, configure.in: removed traces of namesubdir,
  12286.       -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
  12287.       copyrights to '92, changed some from Cygnus to FSF.
  12288.  
  12289.     * doc/Makefile.in, doc/configure.in: removed traces of namesubdir,
  12290.       -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
  12291.       copyrights to '92, changed some from Cygnus to FSF.
  12292.  
  12293. Tue Feb 25 14:17:15 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
  12294.  
  12295.     * expr.c: If an expression is single comma, then return with
  12296.     SEG_ABSENT rather than an error - since the sparc front end does
  12297.     really strange things with things like fbge,a
  12298.  
  12299.     * as.h: include bfd.h if using many sections
  12300.     * expr.c: LOCAL_LABELS_FB had been changed to lower case - so
  12301.     local labels didn't work.
  12302.     * listing.c (list_symbol_table): don't core dump when there's no
  12303.     symbol there.
  12304.     * write.c, write.h: call fix_new with the right number of args on
  12305.     the H8.
  12306.     * config/tc-h8300.[ch] : fix bugs reported by HMSI, and make
  12307.     errors nices
  12308.  
  12309. Sat Feb 22 12:26:28 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
  12310.  
  12311.     * app.c: MRI compatibility - allow single quote to start a string.
  12312.     * as.c: fix typo recently introduced.
  12313.     * as.h : Don't include aout/reloc.h - it's not right for COFF!
  12314.     * expr.c: Much rewriting, to accomodate MRI syntax for
  12315.     expressions. Also easier to read now.
  12316.     * listing.c: Put back defuns
  12317.     * read.c: modified to accept MRI syntax, put back listing pseudo
  12318.     ops so that an assembler built with NO_LISTING ignores list ops
  12319.     rather than pukes.
  12320.     * write.c, write.h: fixs - only keep a reloc type in a fix if the target
  12321.     machine is a SPARC or a 29K.
  12322.     * config/obj-aout.c: added s_sect pseudo op
  12323.     * config/obj-coffbfd.c: lints, set the filehdr flags right and
  12324.     fill in the timestamp.
  12325.     * config/obj-coffbfd.h: Since we don't include aout/reloc.h
  12326.     anymore, define all the relocs which the tc-<x> bit will use so we
  12327.     can translate from them to the coff types.
  12328.     * config/tc-a29k.c: reloc_type isn't ane enum any more
  12329.     * config/tc-m68k.c: Added NO_RELOC definition.
  12330.  
  12331. Fri Feb 21 06:21:07 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
  12332.  
  12333.     * Makefile.in: put header files before C source for TAGS; remove
  12334.       references to non-existent syscalls.h.
  12335.  
  12336.     * read.c, write.c subsegs.c: back out the .bss changes.
  12337.  
  12338.     * obj-aout.c: do not include stab.gnu.h if NO_LISTING.
  12339.  
  12340.     * tc-i860.c, a.out.gnu.h: move i860 relocs to a proper place.
  12341.  
  12342.     * a.out.h: removed.
  12343.  
  12344. Fri Feb 21 01:08:48 1992  Minh Tran-Le (TRANLE@INTELLICORP.COM)
  12345.  
  12346.     * symbols.c (local_label_name): symbols now start with ^A.
  12347.  
  12348.     * read.c, subsegs.c, write.c obj-coff.c: added handling of
  12349.       `.bss` pseudo op for unitialized data. The new gcc (1.37.9x)
  12350.       generate these sections.  .align: will use NOP_OPCODE or 0
  12351.       for padding. This is just for being nice to the
  12352.       disassembler.
  12353.  
  12354.     * expr.c (operand): changed to generate local label "\001L0"
  12355.       starting with a ^A so that it is recognized as a local label.
  12356.  
  12357.     * as.c (perform_an_assembly_pass): zero bss_fix_root, too.
  12358.  
  12359.     * tc-i386.c: tc-i386.c: added handling of the following opcodes:
  12360.       i/o opcodes - inb, inw, outb and outw.  string manipulation with
  12361.       att syntax - scmp, slod, smov, ssca, ssto.
  12362.  
  12363.     * obj-coff.c: (for aix386) Moved the symbols .text, .data and .bss
  12364.       to just after .file .
  12365.  
  12366.       In obj_crawl_symbol_chain() where it tries to put the external
  12367.       symbols apart, with the condition:
  12368.         (!S_IS_DEFINED(symbolP) &&
  12369.          !S_IS_DEBUG(symbolP) &&
  12370.          !SF_GET_STATICS(symbolP))
  12371.       it was moving too many symbols out. So I switch it back to the
  12372.       condition:
  12373.         (S_GET_STORAGE_CLASS(symbolP) == C_EXT && !SF_GET_FUNCTION(symbolP))
  12374.  
  12375.       In obj_emit_relocations() added the conditional on KEEP_RELOC_INFO
  12376.       so that we don't use the F_RELFLG which make the linker complain
  12377.       that somebody has stripped the relocation info.
  12378.  
  12379.       Also, the AIX ld program require that the relocation table
  12380.       is sorted by r_vaddr like the standard ATT assembler does.
  12381.  
  12382.       [he also changed the sizeof(struct ...)'s into the coff
  12383.       style FOOSZ macros.  I'm not sure this is right, but I can't
  12384.       remember why.  xoxorich.]
  12385.  
  12386. Fri Feb 21 01:08:48 1992  K. Richard Pixley  (rich@cygnus.com)
  12387.  
  12388.     * Makefile.in, configure.in, doc: use the doc.  Build it, install
  12389.       it, clean it, etc.
  12390.  
  12391. Tue Feb 18 02:21:25 1992  K. Richard Pixley  (rich at cygnus.com)
  12392.  
  12393.     * read.c: white space and comments only.
  12394.  
  12395.     * configure.in: use the new atof-ns32.c for ns32k.
  12396.  
  12397.     * write.c: comment change only.
  12398.  
  12399.     * tc-m88k.[hc]: pulled in from hack's unfinished work.  These
  12400.       aren't yet integrated.
  12401.  
  12402.     * tc-i860.[hc]: blew off the dust.  Something must still be done
  12403.       about conflicting relocation types.
  12404.  
  12405.     * tc-ns32k.c: Replaced previous tc_aout_fix_to_chars stub with the
  12406.       real thing.
  12407.  
  12408.     * tc-i960.c, tc-sparc.c: white space and comments only.
  12409.  
  12410.     * tc-a29k.h: delete duplicate macro definition.
  12411.  
  12412.     * new file atof-ns32k.c copied from hack's last unreleased gas.
  12413.  
  12414. Mon Feb 17 07:51:06 1992  K. Richard Pixley  (rich at cygnus.com)
  12415.  
  12416.     * config/tc-ns32k.c: actually make tc_aout_fix_to_chars work
  12417.       rather than abort.
  12418.  
  12419.     * nearly everything.  flush ChangeLog, package as gas-1.92.1.
  12420.       ChangeLog's prior to this are sketchy at best.  I have logs.
  12421.       They just aren't ChangeLogs.
  12422.