d
authorJeff Law <law@redhat.com>
Thu, 15 Jul 1999 01:49:48 +0000 (01:49 +0000)
committerJeff Law <law@redhat.com>
Thu, 15 Jul 1999 01:49:48 +0000 (01:49 +0000)
        * config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op.
        (cons_fix_new_hppa): Derive size of fixup from size of the object.

gas/config/tc-hppa.c

index f7f1fa9f88b2c7208d3e2558a5c32136d472924b..82e07d3535c09596b2c351a72c1002e011901471 100644 (file)
@@ -619,6 +619,7 @@ const pseudo_typeS md_pseudo_table[] =
   {"copyright", pa_copyright, 0},
   {"data", pa_data, 0},
   {"double", pa_float_cons, 'd'},
+  {"dword", pa_cons, 8},
   {"end", pa_end, 0},
   {"end_brtab", pa_brtab, 0},
   {"end_try", pa_try, 0},
@@ -1291,7 +1292,7 @@ cons_fix_new_hppa (frag, where, size, exp)
 
   fix_new_hppa (frag, where, size,
                (symbolS *) NULL, (offsetT) 0, exp, 0, rel_type,
-               hppa_field_selector, 32, 0, NULL);
+               hppa_field_selector, size * 8, 0, NULL);
 
   /* Reset field selector to its default state.  */
   hppa_field_selector = 0;
This page took 0.029864 seconds and 4 git commands to generate.