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 <Claudiu dot Zissulescu at synopsys dot com>, Claudiu Zissulescu <claziss at gmail dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: "Cupertino dot Miranda at synopsys dot com" <Cupertino dot Miranda at synopsys dot com>, "Francois dot Bedard at synopsys dot com" <Francois dot Bedard at synopsys dot com>
- Date: Wed, 7 Oct 2015 14:28:58 +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> <55F2A4C5 dot 1090900 at redhat dot com> <560A9C99 dot 1080202 at gmail dot com> <560D33EA dot 8020900 at redhat dot com> <560ECB46 dot 1050907 at gmail dot com> <098ECE41A0A6114BB2A07F1EC238DE8966167969 at de02wembxa dot internal dot synopsys dot com>
Hi Claudiu,
I've made a patch for the gas' testsuite folder. It updates all the tests to the newest ARC ISA standard. Please remark that bic.d, extensions.d and warn.s are failing due to some missing features that are not in the proposed ARC port yet.
Thanks very much. With this patch in place I am now satisfied with the
submission over all and so I have checked it in.
There is one problem however. I am seeing several failures in the
binutils tests for the ARC target:
GAS REGRESSION: DWARF2 1
GAS REGRESSION: DWARF2 2
GAS REGRESSION: DWARF2 3
GAS REGRESSION: lns-duplicate
GAS REGRESSION: lns-common-1
LD REGRESSION: ld-discard/zero-range
LD REGRESSION: ld-discard/zero-rel
LD REGRESSION: ld-elf/linkonce1
BIN REGRESSION: objdump compress debug sections
BIN REGRESSION: objdump compress debug sections 3
BIN REGRESSION: objcopy compress debug sections in
BIN REGRESSION: objdump compress debug sections 3
BIN REGRESSION: objdump -W
BIN REGRESSION: objdump -WL
I think that these are all due to just one problem - the failure of the
assembler to generate properly formatted DWARF debugging information for
the ARC target. Looking at the first gas failure for example:
regexp_diff match failure
regexp "^ <3c> DW_AT_type : <0x4a>$"
line " <3c> DW_AT_type : <0x4a0000>"
FAIL: DWARF2 1
To me this looks like an endian issue. Ie it appears as if the ARC port
is using a big endian relocation to generate what should be a little
endian value.
Please could you investigate this problem, and if possible, fix it.
Cheers
Nick