This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: questions regarding m68k/ColdFire dynamic/shared code


Peter Barada <pbarada@mail.wm.sps.mot.com> writes:

> The linked code looks like:
> 
> 0000309c <_dl_start>:
>     309c:	4e56 fe40      	linkw %fp,#-448
>     30a0:	4fef ffe4      	lea %sp@(-28),%sp
>     30a4:	48d7 3c1c      	moveml %d2-%d4/%a2-%a5,%sp@
>     30a8:	2a7c 0001 2d0a 	moveal #77066,%a5
>     30ae:	4bfb d8fa      	lea %pc@(30aa <_dl_start+0xe>,%a5:l),%a5
>     30b2:	4280           	clrl %d0
>     30b4:	41ee fe72      	lea %fp@(-398),%a0
>     30b8:	4298           	clrl %a0@+
>     30ba:	5280           	addql #1,%d0
>     30bc:	7234           	moveq #52,%d1
>     30be:	b280           	cmpl %d0,%d1
>     30c0:	64f6           	bccs 30b8 <_dl_start+0x1c>
>     30c2:	41fa ffd8      	lea %pc@(309c <_dl_start>),%a0
>     30c6:	91ed 0010      	subal %a5@(16),%a0
>     30ca:	2d48 fe5a      	movel %a0,%fp@(-422)
>     30ce:	d1d5           	addal %a5@,%a0
>     30d0:	2d48 fe62      	movel %a0,%fp@(-414)
>     30d4:	260e           	movel %fp,%d3
>     30d6:	0683 ffff fe5a 	addil #-422,%d3
>     30dc:	2f03           	movel %d3,%sp@-
>     30de:	204e           	moveal %fp,%a0
>     30e0:	203c 0000 0018 	movel #24,%d0
>     30e6:	2275 0800      	moveal %a5@(00000000,%d0:l),%a1
>     30ea:	4e91           	jsr %a1@
> 
> At the point that the jsr %a1@ at 0x400030ea is executed, %a1 contains
> the value:

The function call should not be there in the first place.  You'll
probably need to increase the inline limit like I did for m68k in
current CVS.

Andreas.


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