This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Porting glibc to Coldfire
- From: Richard Sandiford <richard at codesourcery dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-ports at sourceware dot org
- Date: Tue, 03 Oct 2006 10:50:29 +0100
- Subject: Re: Porting glibc to Coldfire
- References: <87bqqmrmne.fsf@talisman.home> <200608192030.17435.zippel@linux-m68k.org> <874pvtnx7x.fsf@talisman.home> <je8xknh9cs.fsf@sykes.suse.de> <874puuk530.fsf@talisman.home> <jeslibvf79.fsf@sykes.suse.de> <87hcyrkv7v.fsf@talisman.home> <jemz8itml0.fsf@sykes.suse.de>
Andreas Schwab <schwab@suse.de> writes:
> Richard Sandiford <richard@codesourcery.com> writes:
>> Gah! You're right of course. Is it OK with the move.w changed
>> into a move.l?
>
> Yes, please. Since the size is now a multiple of 4 bytes, this will work
> now.
>
>> If so, do you want me to refresh the patch, or would
>> it be easier for you to just edit it locally?
>
> Please prepare an incremental patch, I'll merge them.
OK, thanks, here's the patch. Hope I got it right this time.
I haven't included a changelog because it comes under the
change described in the original changelog.
Richard
--- glibc-head/ports/sysdeps/m68k/dl-trampoline.S 2006-10-03 02:43:59.180573000 -0700
+++ glibc-head/ports/sysdeps/m68k/dl-trampoline.S 2006-10-03 02:45:42.342370000 -0700
@@ -102,8 +102,9 @@
bne 1b
2:
#else
+ lsr.l #2,%d1
jra 2f
-1: move.w (%a1)+, (%a0)+
+1: move.l (%a1)+, (%a0)+
2: dbra %d1,1b
#endif
/*