Regression caused by checkin.
Khem Raj
kraj@mvista.com
Tue Oct 25 00:35:00 GMT 2005
Paul Brook wrote:
>On Friday 21 October 2005 20:51, Khem Raj wrote:
>
>
>>Hi Nick
>>
>>While building glibc with latest binutils from CVS, gas reported an
>>error which was not there before. It is caused by this checkin
>>
>>http://sourceware.org/ml/binutils-cvs/2005-10/msg00047.html
>>
>>Here is a short test case from glibc to demonstrate the problem. This
>>assembles fine with assembler before this check in.
>>
>>
>>.globl foo
>> foo:
>> .long 0
>>.weak foo
>>foo = foo
>>
>>
>
>This has been fixed in recent glibc on most targets.
>Daniel Jacobowitz has patches for Arm.
>
>
I believe he has not posted the patches yet.
The gcc 3.4 generated
.text
.Ltext0:
.weak mcount
mcount = _mcount
......
b mcount
for
extern __typeof (_mcount) mcount __attribute__ ((weak, alias ("_mcount")));
and assembler gave this error
Error: Local symbol `mcount' can't be equated to undefined symbol `_mcount'
This might be related to another patch from H. J. Lu.
>Paul
>
>
--
Khem Raj <kraj@mvista.com>
MontaVista Software, Inc.
www.mvista.com
More information about the Binutils
mailing list