Changeset 1973 for binutils/trunk/gas/config/tc-xc16x.c
- Timestamp:
- Feb 6, 2017, 1:00:00 PM (8 years ago)
- Location:
- binutils/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binutils/trunk ¶
-
Property svn:mergeinfo
set to
/binutils/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
TabularUnified binutils/trunk/gas/config/tc-xc16x.c ¶
r970 r1973 1 1 /* tc-xc16x.c -- Assembler for the Infineon XC16X. 2 Copyright (C) 2006-201 4Free Software Foundation, Inc.3 Contributed by KPIT Cummins Infosystems 2 Copyright (C) 2006-2016 Free Software Foundation, Inc. 3 Contributed by KPIT Cummins Infosystems 4 4 5 5 This file is part of GAS, the GNU Assembler. … … 221 221 int 222 222 md_parse_option (int c ATTRIBUTE_UNUSED, 223 c har *arg ATTRIBUTE_UNUSED)223 const char *arg ATTRIBUTE_UNUSED) 224 224 { 225 225 return 0; 226 226 } 227 227 228 c har *228 const char * 229 229 md_atof (int type, char *litP, int *sizeP) 230 230 { … … 236 236 { 237 237 int align = bfd_get_section_alignment (stdoutput, segment); 238 return ((size + (1 << align) - 1) & (-1 << align));238 return ((size + (1 << align) - 1) & -(1 << align)); 239 239 } 240 240 … … 295 295 } 296 296 297 rel = xmalloc (sizeof (arelent));298 rel->sym_ptr_ptr = xmalloc (sizeof (asymbol *));297 rel = XNEW (arelent); 298 rel->sym_ptr_ptr = XNEW (asymbol *); 299 299 *rel->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); 300 300 rel->address = fixp->fx_frag->fr_address + fixp->fx_where; … … 335 335 } 336 336 } 337 337 338 338 gas_cgen_md_apply_fix (fixP, valP, seg); 339 339 return;
Note:
See TracChangeset
for help on using the changeset viewer.