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

Adrian Bunk
2006-08-24T21:30:49Z

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