This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: elfutils buglet ...
- From: Linas Vepstas <linasvepstas at gmail dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 20 May 2011 10:47:57 -0500
- Subject: Re: elfutils buglet ...
On 20 May 2011 03:35, Mark Wielaard <mjw@redhat.com> wrote:
> Hi Linas,
>
>> On 19 May 2011 06:11, Mark Wielaard <mjw@redhat.com> wrote:
>> > On Wed, 2011-05-18 at 12:53 -0500, Linas Vepstas wrote:
>> >
>> > Using "=" for assigning symbols is normal gas usage.
>>
>> Its gas. The core problem is that the instruction set itself uses
>> equals signs liberally to do register-register and register-memory
>> assignments. An example snippet (generated by gcc) below -- as
>> should be clear, differentiating between different uses of equals
>> signs would be ... unpleasant.
>>
>> I'd provide a patch; it would have to be to configure.ac, etc. but
>> Ulrich's comments suggest that it might not be worth the effort :-/
>> Suggestions?
>
> I get the feeling I am missing some background.
> Which architecture is this?
Hexagon
> Are the ports already upstream in binutils/gas/gcc?
No. Working on it. Out-of-tree source can be found on
codeaurora.org
> Do you also have a new elfutils ebl backend for it?
No. Just started fiddling on that yesterday.
> After your changes, how well does the testsuite work?
glibc works great, almost everything passes. elfutils, no clue.
Really, the goal here was to get perf working on the kernel.
> I am a little afraid the configure logic might become somewhat
> fragile.
:-)
> Ulrich's suggestion to just use a different syntax for
> your instruction set does make sense to me.
I'll give it a shot. The fear was that the blizzard of
equals signs already being used to mean something
completely different made the consistent use of
dot-directives rather appealing.
--linas