Ignore:
Timestamp:
Feb 6, 2017, 1:00:00 PM (8 years ago)
Author:
Silvan Scherrer
Message:

binutils: update trunk to version 2.27

Location:
binutils/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • binutils/trunk

  • TabularUnified binutils/trunk/gas/config/tc-d10v.c

    r970 r1973  
    11/* tc-d10v.c -- Assembler code for the Mitsubishi D10V
    2    Copyright (C) 1996-2014 Free Software Foundation, Inc.
     2   Copyright (C) 1996-2016 Free Software Foundation, Inc.
    33
    44   This file is part of GAS, the GNU Assembler.
     
    223223
    224224int
    225 md_parse_option (int c, char *arg ATTRIBUTE_UNUSED)
     225md_parse_option (int c, const char *arg ATTRIBUTE_UNUSED)
    226226{
    227227  switch (c)
     
    252252}
    253253
    254 char *
     254const char *
    255255md_atof (int type, char *litP, int *sizeP)
    256256{
     
    270270{
    271271  int align = bfd_get_section_alignment (stdoutput, seg);
    272   return ((addr + (1 << align) - 1) & (-1 << align));
     272  return ((addr + (1 << align) - 1) & -(1 << align));
    273273}
    274274
     
    276276md_begin (void)
    277277{
    278   char *prev_name = "";
     278  const char *prev_name = "";
    279279  struct d10v_opcode *opcode;
    280280  d10v_hash = hash_new ();
     
    12271227                  found_symbol = FALSE;
    12281228
    1229                   current_position =
    1230                     obstack_next_free (&frchain_now->frch_obstack)
    1231                     - frag_now->fr_literal;
     1229                  current_position = frag_now_fix_octets ();
    12321230                  symbol_position = S_GET_VALUE (myops[opnum].X_add_symbol);
    12331231
     
    14541452{
    14551453  arelent *reloc;
    1456   reloc = xmalloc (sizeof (arelent));
    1457   reloc->sym_ptr_ptr = xmalloc (sizeof (asymbol *));
     1454  reloc = XNEW (arelent);
     1455  reloc->sym_ptr_ptr = XNEW (asymbol *);
    14581456  *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
    14591457  reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
Note: See TracChangeset for help on using the changeset viewer.