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

« back to all changes in this revision

Viewing changes to gas/config/tc-pj.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-pj.c -- Assemble code for Pico Java
2
 
   Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2007
 
2
   Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2007, 2009
3
3
   Free Software Foundation, Inc.
4
4
 
5
5
   This file is part of GAS, the GNU Assembler.
183
183
   can have another name.  */
184
184
 
185
185
static void
186
 
alias (const char *new, const char *old)
 
186
alias (const char *new_name, const char *old)
187
187
{
188
 
  hash_insert (opcode_hash_control, new,
 
188
  hash_insert (opcode_hash_control, new_name,
189
189
               (char *) hash_find (opcode_hash_control, old));
190
190
}
191
191
 
261
261
      return;
262
262
    }
263
263
 
 
264
  dwarf2_emit_insn (0);
264
265
  if (opcode->opcode == -1)
265
266
    {
266
267
      /* It's a fake opcode.  Dig out the args and pretend that was
285
286
            op_end++;
286
287
 
287
288
          if (*op_end == 0)
288
 
            as_bad ("expected expresssion");
 
289
            as_bad (_("expected expresssion"));
289
290
 
290
291
          op_end = parse_exp_save_ilp (op_end, &arg);
291
292
 
304
305
        op_end++;
305
306
 
306
307
      if (*op_end != 0)
307
 
        as_warn ("extra stuff on line ignored");
 
308
        as_warn (_("extra stuff on line ignored"));
308
309
 
309
310
    }
310
311
 
311
312
  if (pending_reloc)
312
 
    as_bad ("Something forgot to clean up\n");
313
 
 
 
313
    as_bad (_("Something forgot to clean up\n"));
314
314
}
315
315
 
316
316
char *