[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A7C1005.7010808@knaff.lu>
Date: Fri, 07 Aug 2009 13:29:09 +0200
From: Alain Knaff <alain@...ff.lu>
To: Albin Tonnerre <albin.tonnerre@...e-electrons.com>
CC: Russell King - ARM Linux <linux@....linux.org.uk>,
sam@...nborg.org, hpa@...or.com, linux-kernel@...r.kernel.org,
linux-embedded@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [PATCH 4/6] Add support for LZO-compressed kernels for ARM
On 08/07/09 12:21, Albin Tonnerre wrote:
> Indeed, they've not been applied. However, I'd rather try to understand why
> exactly this is an issue when compiling with -Os and not -O2 instead of working
> around it by removing the divisions.
>
> Regards,
Well, I for myself couldn't get it to compile _at_all_ for ARM as long as
there were any division operations in the code. My theory was that the ARM
processor doesn't have native division, and that this is being supplied by
some kind of run-time library, which is not linked with when building the
pre-boot environment. But if it works with some compilation flags but not
others, something more complex must be going on...
... or could it be that with some flags, the compiler generates "division
emulation" code, but not with others (such as when optimizing for size?)
Regards,
Alain
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists