This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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: [M68K] Fix relocation overflow on ColdFire


Richard Henderson <rth@twiddle.net> writes:

> On 08/25/2010 10:41 AM, Maxim Kuvyrkov wrote:
>>  #define SYSCALL_ERROR_LOAD_GOT(reg)					      \
>> -    move.l #_GLOBAL_OFFSET_TABLE_@GOTPC, reg;				      \
>> +    move.l ##_GLOBAL_OFFSET_TABLE_@GOTPC, reg;				      \
>
> Both of these are wrong.  # is a stringification operator, 
> and ## is a concatenation operator.

The m68k assembler supports & as an alternate immediate marker.  I've
pushed a change to that effect.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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