[uClibc] [PATCH] Compile __exec_alloc and __exec_free if the target has no MMU
Manuel Novoa III
mjn3 at mail.codepoet.org
Mon Jan 12 11:07:53 UTC 2004
Hello,
On Mon, Jan 12, 2004 at 12:00:12PM +0100, Patrick Aussems wrote:
> After a short investigation, it appears that when HAS_MMU = no, the
> EXEC_ALLOC is a define to __exec_alloc function. This function will only
> be compiled if exec.c is compiled with -DL___exec_alloc. In the Makefile
> this is done by appending __exec_alloc.o to MOBJ1. Unfortunately there
> is an error in the Makefile: __exec_alloc.o is only appended if HAS_MMU
> is set to 'y', which is not correct. The trivial patch attached to this
> email fixes this bad behaviour.
Oops. Sorry about that. I never build for the NOMMU case.
Should be fixed now in cvs.
Thanks.
Manuel
More information about the uClibc
mailing list