OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gas/] [config/] [tc-tilepro.c] - Diff between revs 148 and 163

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 148 Rev 163
Line 558... Line 558...
              /* Now that we've changed the reloc, change ha16(x) into x,
              /* Now that we've changed the reloc, change ha16(x) into x,
                 etc.  */
                 etc.  */
 
 
              if (operand_exp->X_add_symbol->sy_value.X_md)
              if (operand_exp->X_add_symbol->sy_value.X_md)
                {
                {
                  if (require_symbol)
 
                    {
 
                      as_bad (_("Operator may only be applied to symbols."));
 
                    }
 
 
 
                  /* HACK: We used X_md to mark this symbol as a fake wrapper
                  /* HACK: We used X_md to mark this symbol as a fake wrapper
                     around a real expression. To unwrap it, we just grab its
                     around a real expression. To unwrap it, we just grab its
                     value here.  */
                     value here.  */
                  operand_exp = &operand_exp->X_add_symbol->sy_value;
                  operand_exp = &operand_exp->X_add_symbol->sy_value;
 
 
 
                  if (require_symbol)
 
                    {
 
                      /* Look at the expression, and reject it if it's not a
 
                         plain symbol.  */
 
                      if (operand_exp->X_op != O_symbol
 
                          || operand_exp->X_add_number != 0)
 
                        as_bad (_("Operator may only be applied to symbols."));
 
                    }
                }
                }
              else
              else
                {
                {
                  /* The value of this expression is an actual symbol, so
                  /* The value of this expression is an actual symbol, so
                     turn that into an expression.  */
                     turn that into an expression.  */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.