aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-07-15 01:49:48 +0000
committerJeff Law <law@redhat.com>1999-07-15 01:49:48 +0000
commit077db52a1e4dfe0318f459f04b3730c5b7e4faef (patch)
tree757fac92f6fe039c3baac0ecea13df404da5c2fb /gas/config/tc-hppa.c
parent67f1cff00cf726966103728655625fcbdbf029ed (diff)
downloadgdb-077db52a1e4dfe0318f459f04b3730c5b7e4faef.zip
gdb-077db52a1e4dfe0318f459f04b3730c5b7e4faef.tar.gz
gdb-077db52a1e4dfe0318f459f04b3730c5b7e4faef.tar.bz2
d
* config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op. (cons_fix_new_hppa): Derive size of fixup from size of the object.
Diffstat (limited to 'gas/config/tc-hppa.c')
-rw-r--r--gas/config/tc-hppa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index f7f1fa9..82e07d3 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -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;