Russell King wrote:
>
> On Sat, May 11, 2002 at 10:37:39AM -0700, Linus Torvalds wrote:
> > On Sat, 11 May 2002, george anzinger wrote:
> > >
> > > So, what to do? For ARM and MIPS we could go back to solution 1:
> >
> > Why not just put that knowledge in the ARM/MIPS architecture makefile?
> >
> > ARM already has multiple linker scripts, and it already selects on them
> > based on CONFIG options, so I'd much rather just do that straightforward
> > kind of thing than play any clever games.
>
> So would I - there will be a config option, so we can just use sed on the
> relevant linker script to do the right thing.
>
> --
> Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
> http://www.arm.linux.org.uk/personal/aboutme.html
Ok, here is the change to move ARM to little endian (apply after take 2):
diff -urP -I \$Id:.*Exp \$ -X /usr/src/patch.exclude linux-2.5.15-kb2/arch/arm/vmlinux-armo.lds.in linux/arch/arm/vmlinux-armo.lds.in
--- linux-2.5.15-kb2/arch/arm/vmlinux-armo.lds.in Sun May 12 00:54:48 2002
+++ linux/arch/arm/vmlinux-armo.lds.in Sun May 12 00:57:01 2002
@@ -4,7 +4,7 @@
*/
OUTPUT_ARCH(arm)
ENTRY(stext)
-jiffies = jiffies_64 + 4;
+jiffies = jiffies_64;
SECTIONS
{
. = TEXTADDR;
diff -urP -I \$Id:.*Exp \$ -X /usr/src/patch.exclude linux-2.5.15-kb2/arch/arm/vmlinux-armv.lds.in linux/arch/arm/vmlinux-armv.lds.in
--- linux-2.5.15-kb2/arch/arm/vmlinux-armv.lds.in Sun May 12 00:54:48 2002
+++ linux/arch/arm/vmlinux-armv.lds.in Sun May 12 00:57:16 2002
@@ -4,7 +4,7 @@
*/
OUTPUT_ARCH(arm)
ENTRY(stext)
-jiffies = jiffies_64 + 4;
+jiffies = jiffies_64;
SECTIONS
{
. = TEXTADDR;
-- George Anzinger george@mvista.com High-res-timers: http://sourceforge.net/projects/high-res-timers/ Real time sched: http://sourceforge.net/projects/rtsched/ Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:17 EST