From 077db52a1e4dfe0318f459f04b3730c5b7e4faef Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 15 Jul 1999 01:49:48 +0000 Subject: [PATCH] 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. --- gas/config/tc-hppa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index f7f1fa9f88b..82e07d3535c 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; -- 2.30.2