Re: [PATCH 3/4] Add __global tag where needed.

From: Adrian Bunk
Date: Thu Aug 24 2006 - 17:28:03 EST


On Thu, Aug 24, 2006 at 04:26:52PM +0100, David Woodhouse wrote:

> This patch just adds the __global tag to functions and variables which
> are used from outside the directory in which they're provided, to
> prevent -fwhole-program from eating them.
>
> If we just define __global as a dummy for now, then there's no harm in
> applying this patch as-is -- but it's largely pointless without the
> Makefile changes.
>...

Applying this doesn't seem to make much sense until it's clear whether a
"build everything except for assembler files at once" approach (that
needs less globals) or your current "compile only multi-obj at once"
approach (that requires more globals).

> dwmw2

cu
Adrian

--

Gentoo kernels are 42 times more popular than SUSE kernels among
KLive users (a service by SUSE contractor Andrea Arcangeli that
gathers data about kernels from many users worldwide).

There are three kinds of lies: Lies, Damn Lies, and Statistics.
Benjamin Disraeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/