This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH ARC 3/8] GAS: new ARC port
- From: Nick Clifton <nickc at redhat dot com>
- To: Claudiu Zissulescu <claziss at gmail dot com>, binutils at sourceware dot org
- Cc: cmiranda at synopsys dot com, claziss at synopsys dot com, fbedard at synopsys dot com
- Date: Fri, 11 Sep 2015 10:54:13 +0100
- Subject: Re: [PATCH ARC 3/8] GAS: new ARC port
- Authentication-results: sourceware.org; auth=none
- References: <1441282813-24803-1-git-send-email-claziss at gmail dot com> <55E9B108 dot 1070909 at redhat dot com> <55F03F2F dot 80800 at gmail dot com>
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...
Cheers
Nick