Set machine architecture and type.
authorNick Clifton <nickc@redhat.com>
Mon, 25 Aug 1997 23:03:24 +0000 (23:03 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 25 Aug 1997 23:03:24 +0000 (23:03 +0000)
gas/ChangeLog
gas/config/tc-v850.c

index 91d143b01ab9f4a9ad1fab74979dbc610223791a..b36bddea37320f0643a68c87f31a10003bdfa416 100644 (file)
@@ -1,3 +1,11 @@
+start-sanitize-v850
+Mon Aug 25 16:04:14 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-v850.c (pre_defined_registers): Add 'hp' as alias for
+       r2.
+       (md_begin): Set up machine architecture and type.
+end-sanitize-v850
+
 Mon Aug 25 14:25:48 1997  Ian Lance Taylor  <ian@cygnus.com>
 
        * symbols.c (resolve_symbol_value): Store the value back into the
index aefb5a690ada2ce4491dd3907ec342fc0e4490c1..6662b9f82b1d76f96490126300a8fdfa130eb5a4 100644 (file)
@@ -137,6 +137,7 @@ static const struct reg_name pre_defined_registers[] =
 {
   { "ep", 30 },                        /* ep - element ptr */
   { "gp", 4 },                 /* gp - global ptr */
+  { "hp", 2 },                 /* hp - handler stack ptr */
   { "lp", 31 },                        /* lp - link ptr */
   { "r0", 0 },
   { "r1", 1 },
@@ -800,6 +801,17 @@ md_begin ()
        }
       op++;
     }
+  
+  bfd_set_arch_mach (stdoutput, TARGET_ARCH, 0);
+  fprintf (stderr, "set to %d\n", 0 );
+  /* start-sanitize-v850e */
+  bfd_set_arch_mach (stdoutput, TARGET_ARCH, bfd_mach_v850e);
+  fprintf (stderr, "set to %d\n", bfd_mach_v850e);
+  /* end-sanitize-v850e */
+  /* start-sanitize-v850eq */
+  bfd_set_arch_mach (stdoutput, TARGET_ARCH, bfd_mach_v850eq);
+  fprintf (stderr, "set to %d\n", bfd_mach_v850eq);
+  /* end-sanitize-v850eq */
 }
 
 static bfd_reloc_code_real_type
This page took 0.033253 seconds and 4 git commands to generate.