This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH ARC 3/8] GAS: new ARC port

Hi Claudiu,

Please find attached a new amended ARC patch for gas/ folder. I have
added a NEWS entry also.

I get some compile time errors building with this patch:

  gas/frags.c: In function 'frag_align_code':
gas/frags.c:377:8: error: overflow in implicit constant conversion [-Werror=overflow]
   *p = NOP_OPCODE;

Which makes sense since p is a char* pointer and NOP_OPCODE is 0x000078E0.

  gas/config/tc-arc.c: In function 'md_assemble':
gas/config/tc-arc.c:2732:17: error: 'reloc' may be used uninitialized in this function [-Werror=maybe-uninitialized]
    fixup->reloc = reloc;
  gas/config/tc-arc.c:2576:37: note: 'reloc' was declared here
   extended_bfd_reloc_code_real_type reloc;
gas/config/tc-arc.c:2434:14: error: 't' may be used uninitialized in this function [-Werror=maybe-uninitialized]
         || (t->X_add_number != tok[tokidx].X_add_number))
  gas/config/tc-arc.c:2225:26: note: 't' was declared here
       const expressionS *t;

This is with gcc 5 running on Fedora 22...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]