Changeset 1973 for binutils/trunk/gas/config/tc-d10v.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-d10v.c ¶
r970 r1973 1 1 /* tc-d10v.c -- Assembler code for the Mitsubishi D10V 2 Copyright (C) 1996-201 4Free Software Foundation, Inc.2 Copyright (C) 1996-2016 Free Software Foundation, Inc. 3 3 4 4 This file is part of GAS, the GNU Assembler. … … 223 223 224 224 int 225 md_parse_option (int c, c har *arg ATTRIBUTE_UNUSED)225 md_parse_option (int c, const char *arg ATTRIBUTE_UNUSED) 226 226 { 227 227 switch (c) … … 252 252 } 253 253 254 c har *254 const char * 255 255 md_atof (int type, char *litP, int *sizeP) 256 256 { … … 270 270 { 271 271 int align = bfd_get_section_alignment (stdoutput, seg); 272 return ((addr + (1 << align) - 1) & (-1 << align));272 return ((addr + (1 << align) - 1) & -(1 << align)); 273 273 } 274 274 … … 276 276 md_begin (void) 277 277 { 278 c har *prev_name = "";278 const char *prev_name = ""; 279 279 struct d10v_opcode *opcode; 280 280 d10v_hash = hash_new (); … … 1227 1227 found_symbol = FALSE; 1228 1228 1229 current_position = 1230 obstack_next_free (&frchain_now->frch_obstack) 1231 - frag_now->fr_literal; 1229 current_position = frag_now_fix_octets (); 1232 1230 symbol_position = S_GET_VALUE (myops[opnum].X_add_symbol); 1233 1231 … … 1454 1452 { 1455 1453 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 *); 1458 1456 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); 1459 1457 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
Note:
See TracChangeset
for help on using the changeset viewer.