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: Porting glibc to Coldfire


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
 	/*


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