[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: as: multiple definitions is now error
From: |
Fabian Cenedese |
Subject: |
Re: as: multiple definitions is now error |
Date: |
Thu, 25 Jan 2007 08:48:57 +0100 |
At 14:38 24.01.2007 +0000, Nick Clifton wrote:
>Hi Fabian,
>
>>as.exe --defsym PPC603=1 ...
>>file:
>>.set PPC603, 1 # or PPC603 = 1
>
>>file:32: Error: symbol `PPC603' is already defined
>
>>The docs states:
>>"You may .set a symbol many times in the same assembly."
>>http://sourceware.org/binutils/docs-2.17/as/Set.html#Set
>
>Although the docs never promise that --defsym will behave in the same way as
>.set.
>
>>So know is that a bug?
>
>Not a bug as such, more of a mis-feature. Please could you try out the
>attached patch which I think will resolve the problem for you.
Thanks for the patch, I'll try it out. It just takes some time to compile
everything :)
bye Fabi