* config/tc-a29k.h (WORKING_DOT_WORD): Define.
authorIan Lance Taylor <ian@airs.com>
Fri, 29 May 1998 22:25:56 +0000 (22:25 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 29 May 1998 22:25:56 +0000 (22:25 +0000)
* config/tc-alpha.h (WORKING_DOT_WORD): Define.
* config/tc-arm.h (WORKING_DOT_WORD): Define.
* config/tc-h8300.h (WORKING_DOT_WORD): Define.
* config/tc-h8500.h (WORKING_DOT_WORD): Define.
* config/tc-hppa.h (WORKING_DOT_WORD): Define.
* config/tc-i860.h (WORKING_DOT_WORD): Define.
* config/tc-i960.h (WORKING_DOT_WORD): Define.
* config/tc-tic30.h (WORKING_DOT_WORD): Define.
* config/tc-w65.h (WORKING_DOT_WORD): Define.
* config/tc-z8k.h (WORKING_DOT_WORD): Define.
* config/tc-a29k.c: Don't define md_short_jump_size,
  md_long_jump_size, md_create_short_jump or md_create_long_jump.
* config/tc-alpha.c: Likewise.
* config/tc-alpha.h: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-h8500.c: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i860.c: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.

gas/ChangeLog
gas/config/tc-a29k.c
gas/config/tc-a29k.h
gas/config/tc-alpha.c
gas/config/tc-h8500.c
gas/config/tc-h8500.h
gas/config/tc-w65.c
gas/config/tc-w65.h

index b722108ef3a9dee52572b92b509ce641bfa7fa28..87f21ed4736b12d22b366555a6e686f4ab489793 100644 (file)
@@ -1,3 +1,33 @@
+Fri May 29 18:13:12 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-a29k.h (WORKING_DOT_WORD): Define.
+       * config/tc-alpha.h (WORKING_DOT_WORD): Define.
+       * config/tc-arm.h (WORKING_DOT_WORD): Define.
+       * config/tc-h8300.h (WORKING_DOT_WORD): Define.
+       * config/tc-h8500.h (WORKING_DOT_WORD): Define.
+       * config/tc-hppa.h (WORKING_DOT_WORD): Define.
+       * config/tc-i860.h (WORKING_DOT_WORD): Define.
+       * config/tc-i960.h (WORKING_DOT_WORD): Define.
+       * config/tc-tic30.h (WORKING_DOT_WORD): Define.
+       * config/tc-w65.h (WORKING_DOT_WORD): Define.
+       * config/tc-z8k.h (WORKING_DOT_WORD): Define.
+       * config/tc-a29k.c: Don't define md_short_jump_size,
+       md_long_jump_size, md_create_short_jump or md_create_long_jump.
+       * config/tc-alpha.c: Likewise.
+       * config/tc-alpha.h: Likewise.
+       * config/tc-arm.c: Likewise.
+       * config/tc-h8300.c: Likewise.
+       * config/tc-h8500.c: Likewise.
+       * config/tc-hppa.c: Likewise.
+       * config/tc-i860.c: Likewise.
+       * config/tc-i960.c: Likewise.
+       * config/tc-ppc.c: Likewise.
+       * config/tc-sh.c: Likewise.
+       * config/tc-sparc.h: Likewise.
+       * config/tc-tic30.c: Likewise.
+       * config/tc-w65.c: Likewise.
+       * config/tc-z8k.c: Likewise.
+
 Fri May 29 16:03:26 1998  Pat Rankin  <rankin@eql.caltech.edu>
 
        * config/tc-vax.c (_): Delete this macro used for placeholder
index 8debcf083f7fcd357c518634834b3a922a3e663a..600fec58857cbf2c0c1d0bb00823cb6c24ab3266 100644 (file)
@@ -1,5 +1,6 @@
 /* tc-a29k.c -- Assemble for the AMD 29000.
-   Copyright (C) 1989, 1990, 1991, 1992, 1993, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1989, 90, 91, 92, 93, 94, 95, 1998
+   Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -14,8 +15,9 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with GAS; see the file COPYING.  If not, write to
-   the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   along with GAS; see the file COPYING.  If not, write to the Free
+   Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+   02111-1307, USA.  */
 
 /* John Gilmore has reorganized this module somewhat, to make it easier
    to convert it to new machines' assemblers as desired.  There was too
@@ -77,8 +79,6 @@ md_pseudo_table[] =
   {NULL, 0, 0},
 };
 
-int md_short_jump_size = 4;
-int md_long_jump_size = 4;
 #if defined(BFD_HEADERS)
 #ifdef RELSZ
 const int md_reloc_size = RELSZ;       /* Coff headers */
@@ -922,17 +922,6 @@ tc_coff_fix2rtype (fixP)
 
 #endif /* OBJ_COFF */
 
-/* should never be called for 29k */
-void
-md_create_short_jump (ptr, from_addr, to_addr, frag, to_symbol)
-     char *ptr;
-     addressT from_addr, to_addr;
-     fragS *frag;
-     symbolS *to_symbol;
-{
-  as_fatal (_("a29k_create_short_jmp\n"));
-}
-
 /* should never be called for 29k */
 void
 md_convert_frag (headers, seg, fragP)
@@ -943,18 +932,6 @@ md_convert_frag (headers, seg, fragP)
   as_fatal (_("a29k_convert_frag\n"));
 }
 
-/* should never be called for 29k */
-void
-md_create_long_jump (ptr, from_addr, to_addr, frag, to_symbol)
-     char *ptr;
-     addressT from_addr;
-     addressT to_addr;
-     fragS *frag;
-     symbolS *to_symbol;
-{
-  as_fatal (_("a29k_create_long_jump\n"));
-}
-
 /* should never be called for a29k */
 int
 md_estimate_size_before_relax (fragP, segtype)
index a63864f30137a0893ffe55600c741e1567c19ff3..b60f605825731f181902c861af19153ff501bc17 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-a29k.h -- Assemble for the AMD 29000.
-   Copyright (C) 1989, 1990, 1991 Free Software Foundation, Inc.
+   Copyright (C) 1989, 90, 91, 92, 93, 95, 1998 Free Software Foundation, Inc.
 
 This file is part of GAS, the GNU Assembler.
 
@@ -14,13 +14,16 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
-along with GAS; see the file COPYING.  If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+along with GAS; see the file COPYING.  If not, write to the Free
+Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.  */
 
 #define TC_A29K
 
 #define TARGET_BYTES_BIG_ENDIAN        1
 
+#define WORKING_DOT_WORD
+
 #define LEX_DOLLAR 1
 
 #define tc_unrecognized_line(c) a29k_unrecognized_line (c)
index 9533cbaa9cea9101b871ff38d7a43c92c8162252..89b4f1aee1b7e15e7b0a07b1f37a05874ded1957 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-alpha.c - Processor-specific code for the DEC Alpha AXP CPU.
-   Copyright (C) 1989, 93, 94, 95, 96, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1989, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
    Contributed by Carnegie Mellon University, 1993.
    Written by Alessandro Forin, based on earlier gas-1.38 target CPU files.
    Modified by Ken Raeburn for gas-2.x and ECOFF support.
@@ -203,8 +203,6 @@ static void s_alpha_text PARAMS ((int));
 static void s_alpha_data PARAMS ((int));
 #ifndef OBJ_ELF
 static void s_alpha_comm PARAMS ((int));
-#endif
-#if defined (OBJ_ECOFF) || defined (OBJ_EVAX)
 static void s_alpha_rdata PARAMS ((int));
 #endif
 #ifdef OBJ_ECOFF
@@ -212,6 +210,7 @@ static void s_alpha_sdata PARAMS ((int));
 #endif
 #ifdef OBJ_ELF
 static void s_alpha_section PARAMS ((int));
+static void s_alpha_prologue PARAMS ((int));
 #endif
 #ifdef OBJ_EVAX
 static void s_alpha_section PARAMS ((int));
@@ -235,11 +234,6 @@ static void alpha_align PARAMS ((int, char *, symbolS *, int));
 /* Generic assembler global variables which must be defined by all
    targets.  */
 
-/* These are exported to relaxing code, even though we don't do any
-   relaxing on this processor currently.  */
-int md_short_jump_size = 4;
-int md_long_jump_size = 4;
-
 /* Characters which always start a comment.  */
 const char comment_chars[] = "#";
 
@@ -3486,6 +3480,36 @@ s_alpha_section (ignore)
   alpha_current_align = 0;
 }
 
+static void
+s_alpha_prologue (ignore)
+     int ignore;
+{
+  symbolS *sym;
+  int arg;
+
+  arg = get_absolute_expression ();
+  demand_empty_rest_of_line ();
+
+  sym = ecoff_get_cur_proc_sym ();
+  know (sym != NULL);
+
+  switch (arg)
+    {
+      case 0: /* No PV required.  */
+       S_SET_OTHER (sym, STO_ALPHA_NOPV);
+       break;
+      case 1: /* Std GP load.  */
+       S_SET_OTHER (sym, STO_ALPHA_STD_GPLOAD);
+       break;
+      case 2: /* Non-std use of PV.  */
+       break;
+
+      default:
+       as_bad (_("Invalid argument %d to .prologue."), arg);
+       break;
+    }  
+}
+
 #endif
 
 #ifdef OBJ_EVAX
@@ -3516,18 +3540,6 @@ s_alpha_section (secid)
 }
 
 
-/* .prologue */
-
-static void
-s_alpha_prologue (ignore)
-     int ignore;
-{
-  demand_empty_rest_of_line ();
-
-  return;
-}
-
-
 /* Parse .ent directives.  */
 
 static void
@@ -4345,6 +4357,11 @@ const pseudo_typeS md_pseudo_table[] =
   { "link", s_alpha_section, 3},
   { "ctors", s_alpha_section, 4},
   { "dtors", s_alpha_section, 5},
+#endif
+#ifdef OBJ_ELF
+  {"prologue", s_alpha_prologue, 0},
+#else
+  {"prologue", s_ignore, 0},
 #endif
   {"gprel32", s_alpha_gprel32, 0},
   {"t_floating", s_alpha_float_cons, 'd'},
@@ -4360,7 +4377,6 @@ const pseudo_typeS md_pseudo_table[] =
   {"livereg", s_ignore, 0},
   {"base", s_alpha_base, 0},           /*??*/
   {"option", s_ignore, 0},
-  {"prologue", s_ignore, 0},
   {"aent", s_ignore, 0},
   {"ugen", s_ignore, 0},
   {"eflag", s_ignore, 0},
index 68e775717d558b9026f16e08396685a1075beaa5..9dec3e2e6a21ded70221df8086b226799821e3a6 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-h8500.c -- Assemble code for the Hitachi H8/500
-   Copyright (C) 1993, 1998 Free Software Foundation.
+   Copyright (C) 1993, 94, 95, 1998 Free Software Foundation.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -14,8 +14,9 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with GAS; see the file COPYING.  If not, write to
-   the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   along with GAS; see the file COPYING.  If not, write to the Free
+   Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+   02111-1307, USA.  */
 
 /*
   Written By Steve Chamberlain
@@ -1253,8 +1254,6 @@ md_show_usage (stream)
 {
 }
 \f
-int md_short_jump_size;
-
 void
 tc_aout_fix_to_chars ()
 {
@@ -1262,27 +1261,6 @@ tc_aout_fix_to_chars ()
   abort ();
 }
 
-void
-md_create_short_jump (ptr, from_addr, to_addr, frag, to_symbol)
-     char *ptr;
-     addressT from_addr;
-     addressT to_addr;
-     fragS *frag;
-     symbolS *to_symbol;
-{
-  as_fatal (_("failed sanity check."));
-}
-
-void
-md_create_long_jump (ptr, from_addr, to_addr, frag, to_symbol)
-     char *ptr;
-     addressT from_addr, to_addr;
-     fragS *frag;
-     symbolS *to_symbol;
-{
-  as_fatal (_("failed sanity check."));
-}
-
 static
 void
 wordify_scb (buffer, disp_size, inst_size)
@@ -1480,8 +1458,6 @@ md_apply_fix (fixP, val)
     }
 }
 
-int md_long_jump_size;
-
 /*
 called just before address relaxation, return the length
 by which a fragment must grow to reach it's destination
index 95a393c35709d92a5ff2cf56bb0d66cd5a6f4bd4..d5c2ffe54169196d81b69b99c5255c3a27f67789 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is tc-h8500.h
-   Copyright (C) 1993, 95, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1993, 95, 97, 1998 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -23,6 +23,8 @@
 
 #define TARGET_BYTES_BIG_ENDIAN 1
 
+#define WORKING_DOT_WORD
+
 /* This macro translates between an internal fix and an coff reloc type */
 #define TC_COFF_FIX2RTYPE(fixP) tc_coff_fix2rtype(fixP)
 
index f291d89c1521017beee890773c6212d6229d8148..72201e7b7607f8a8409ca851fb995cd8a17cefd4 100644 (file)
@@ -1,5 +1,4 @@
 /* tc-w65.c -- Assemble code for the W65816
-
    Copyright (C) 1995, 1998 Free Software Foundation.
 
    This file is part of GAS, the GNU Assembler.
@@ -15,8 +14,9 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with GAS; see the file COPYING.  If not, write to
-   the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   along with GAS; see the file COPYING.  If not, write to the Free
+   Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+   02111-1307, USA.  */
 
 /*
    Written By Steve Chamberlain
@@ -877,8 +877,6 @@ md_parse_option (c,a)
   return 1;
 }
 
-int md_short_jump_size;
-
 void
 tc_Nout_fix_to_chars ()
 {
@@ -886,28 +884,6 @@ tc_Nout_fix_to_chars ()
   abort ();
 }
 
-void
-md_create_short_jump (ptr, from_Nddr, to_Nddr, frag, to_symbol)
-     char *ptr;
-     addressT from_Nddr;
-     addressT to_Nddr;
-     fragS *frag;
-     symbolS *to_symbol;
-{
-  as_fatal (_("failed sanity check."));
-}
-
-void
-md_create_long_jump (ptr, from_Nddr, to_Nddr, frag, to_symbol)
-     char *ptr;
-     addressT from_Nddr, to_Nddr;
-     fragS *frag;
-     symbolS *to_symbol;
-{
-  as_fatal (_("failed sanity check."));
-}
-
-
 /*
 called after relaxing, change the frags so they know how big they are
 */
@@ -1084,8 +1060,6 @@ md_apply_fix (fixP, val)
     }
 }
 
-int md_long_jump_size;
-
 /* Put number into target byte order */
 
 void
index 6e25713334225cbe8c7eb8168e0da77b0ac871b9..632137602267a1bd89b7f5b673162db260c8c4e2 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is tc-w65.h
-   Copyright (C) 1995, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -23,6 +23,8 @@
 
 #define TARGET_BYTES_BIG_ENDIAN 0
 
+#define WORKING_DOT_WORD
+
 /* This macro translates between an internal fix and an coff reloc type */
 #define TC_COFF_FIX2RTYPE(fixP) tc_coff_fix2rtype(fixP)
 
This page took 0.034635 seconds and 4 git commands to generate.