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-xc16x.c

    r970 r1973  
    11/* tc-xc16x.c -- Assembler for the Infineon XC16X.
    2    Copyright (C) 2006-2014 Free Software Foundation, Inc.
    3    Contributed by KPIT Cummins Infosystems 
     2   Copyright (C) 2006-2016 Free Software Foundation, Inc.
     3   Contributed by KPIT Cummins Infosystems
    44
    55   This file is part of GAS, the GNU Assembler.
     
    221221int
    222222md_parse_option (int c ATTRIBUTE_UNUSED,
    223                  char *arg ATTRIBUTE_UNUSED)
     223                 const char *arg ATTRIBUTE_UNUSED)
    224224{
    225225  return 0;
    226226}
    227227
    228 char *
     228const char *
    229229md_atof (int type, char *litP, int *sizeP)
    230230{
     
    236236{
    237237  int align = bfd_get_section_alignment (stdoutput, segment);
    238   return ((size + (1 << align) - 1) & (-1 << align));
     238  return ((size + (1 << align) - 1) & -(1 << align));
    239239}
    240240
     
    295295    }
    296296
    297   rel = xmalloc (sizeof (arelent));
    298   rel->sym_ptr_ptr = xmalloc (sizeof (asymbol *));
     297  rel = XNEW (arelent);
     298  rel->sym_ptr_ptr = XNEW (asymbol *);
    299299  *rel->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
    300300  rel->address = fixp->fx_frag->fr_address + fixp->fx_where;
     
    335335        }
    336336    }
    337  
     337
    338338  gas_cgen_md_apply_fix (fixP, valP, seg);
    339339  return;
Note: See TracChangeset for help on using the changeset viewer.