~ubuntu-branches/debian/squeeze/binutils/squeeze

« back to all changes in this revision

Viewing changes to gas/config/tc-alpha.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-09-10 17:05:30 UTC
  • mfrom: (1.4.5 upstream) (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090910170530-wa6gpju9pq5c56on
Tags: 2.19.91.20090910-1
* Snapshot, taken from the 2.20 release branch 20090910, corresponding
  to the 2.19.90 upstream snapshot.
* Fix Thumb-2 shared libraries (Daniel Jacobowitz), patch taken
  from the trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* tc-alpha.c - Processor-specific code for the DEC Alpha AXP CPU.
2
2
   Copyright 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
3
 
   2001, 2002, 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
3
   2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009
 
4
   Free Software Foundation, Inc.
4
5
   Contributed by Carnegie Mellon University, 1993.
5
6
   Written by Alessandro Forin, based on earlier gas-1.38 target CPU files.
6
7
   Modified by Ken Raeburn for gas-2.x and ECOFF support.
593
594
      strcpy (info->string, buffer);
594
595
      errmsg = hash_insert (alpha_literal_hash, info->string, (void *) info);
595
596
      if (errmsg)
596
 
        as_fatal (errmsg);
 
597
        as_fatal ("%s", errmsg);
597
598
#ifdef OBJ_EVAX
598
599
      info->sym = 0;
599
600
      info->psym = 0;
1985
1986
 
1986
1987
      insn = (*operand->insert) (insn, val, &errmsg);
1987
1988
      if (errmsg)
1988
 
        as_warn (errmsg);
 
1989
        as_warn ("%s", errmsg);
1989
1990
    }
1990
1991
  else
1991
1992
    insn |= ((val & ((1 << operand->bits) - 1)) << operand->shift);
3602
3603
  if (S_GET_VALUE (symbolP))
3603
3604
    {
3604
3605
      if (S_GET_VALUE (symbolP) != (valueT) size)
3605
 
        as_bad ("Length of .comm \"%s\" is already %ld. Not changed to %ld.",
 
3606
        as_bad (_("Length of .comm \"%s\" is already %ld. Not changed to %ld."),
3606
3607
                S_GET_NAME (symbolP),
3607
3608
                (long) S_GET_VALUE (symbolP),
3608
3609
                (long) size);
5120
5121
        alpha_target_name = p->name, alpha_target = p->flags;
5121
5122
        goto found;
5122
5123
      }
5123
 
  as_warn ("Unknown CPU identifier `%s'", name);
 
5124
  as_warn (_("Unknown CPU identifier `%s'"), name);
5124
5125
 
5125
5126
found:
5126
5127
  *input_line_pointer = ch;