diff options
author | Doug Evans <dje@google.com> | 1998-04-16 18:51:58 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-04-16 18:51:58 +0000 |
commit | 40f3c6f84f6f8ddcfb513da9833601affc2f087c (patch) | |
tree | 695e8d1e1d384a8a0f881e27b197e460361b5ad8 | |
parent | cd53a9d95a3076987725846338c6f73518f518a8 (diff) | |
download | gdb-40f3c6f84f6f8ddcfb513da9833601affc2f087c.zip gdb-40f3c6f84f6f8ddcfb513da9833601affc2f087c.tar.gz gdb-40f3c6f84f6f8ddcfb513da9833601affc2f087c.tar.bz2 |
* config/tc-dvp.c (unpackloc_sym): Delete. All uses deleted.
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-dvp.c | 44 |
2 files changed, 10 insertions, 40 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 8a565ef..e667e59 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +start-sanitize-sky +Thu Apr 16 11:48:18 1998 Doug Evans <devans@canuck.cygnus.com> + + * config/tc-dvp.c (unpackloc_sym): Delete. All uses deleted. + +end-sanitize-sky Wed Apr 15 15:17:27 1998 Richard Henderson <rth@cygnus.com> * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol diff --git a/gas/config/tc-dvp.c b/gas/config/tc-dvp.c index 380dbca..9474733 100644 --- a/gas/config/tc-dvp.c +++ b/gas/config/tc-dvp.c @@ -154,8 +154,6 @@ static symbolS *vif_data_end; /* Special symbol $.mpgloc. The value is in bytes. */ static symbolS *mpgloc_sym; -/* Special symbol $.unpackloc. */ -static symbolS *unpackloc_sym; /* GIF insn support. */ /* Type of insn. */ @@ -291,7 +289,6 @@ md_begin () /* Create special symbols. */ mpgloc_sym = expr_build_uconstant (0); - unpackloc_sym = expr_build_uconstant (0); } /* We need to keep a list of fixups. We can't simply generate them as @@ -696,20 +693,10 @@ assemble_vif (str) insn_frag = frag_now; /* Put a symbol at the start of data. $.unpackloc calculations use it. */ + /* ??? $.unpackloc is gone. Is this also used for data length + verification? */ vif_data_start = create_colon_label (STO_DVP_VIF, LOCAL_LABEL_PREFIX, unique_name ("unpack")); - - /* Get the value of unpackloc. If it wasn't '*' update - $.unpackloc. */ - { - int unpackloc = vif_get_unpackloc (); - if (unpackloc != -1) - { - unpackloc_sym->sy_value.X_op = O_constant; - unpackloc_sym->sy_value.X_add_number = unpackloc; - unpackloc_sym->sy_value.X_unsigned = 1; - } - } } else { @@ -1438,19 +1425,6 @@ md_operand (expressionP) /* Advance over the '*'. */ ++input_line_pointer; } - /* Check if this is a '*' for unpackloc. */ - else if (cur_opcode - && (cur_opcode->flags & VIF_OPCODE_UNPACK) != 0 - && (cur_operand->flags & DVP_OPERAND_UNPACK_ADDRESS) != 0 - && *input_line_pointer == '*') - { - expressionP->X_op = O_symbol; - expressionP->X_add_symbol = unpackloc_sym; - expressionP->X_add_number = 0; - - /* Advance over the '*'. */ - ++input_line_pointer; - } } valueT @@ -2831,23 +2805,13 @@ s_endunpack (internal_p) } /* Record in the end data symbol the current location. */ + /* ??? $.unpackloc is gone. Is this also used for data length + verification? */ if (now_seg != S_GET_SEGMENT (vif_data_end)) as_bad (".endunpack in different section"); vif_data_end->sy_frag = frag_now; S_SET_VALUE (vif_data_end, (valueT) frag_now_fix ()); - /* Update $.UnpackLoc. */ - { - symbolS *s; - s = expr_build_binary (O_subtract, vif_data_end, vif_data_start); - /* Round up to next quadword boundary. */ - /* FIXME: This isn't correct, the size of the input data is not the - size of the output data. Someone else can fix this. */ - s = expr_build_binary (O_add, s, expr_build_uconstant (15)); - s = expr_build_binary (O_divide, s, expr_build_uconstant (16)); - unpackloc_sym = expr_build_binary (O_add, unpackloc_sym, s); - } - /* Round up to next word boundary. */ frag_align (2, 0, 0); |