Re: List of all-zero .data variables in linux-2.4.3 available

Ulrich Drepper (drepper@redhat.com)
12 Apr 2001 12:14:56 -0700


"Adam J. Richter" <adam@yggdrasil.com> writes:

> >Shouldn't a compiler be able to deal with this instead?
>
> Yes.

No. gcc must not do this. There are situations where you must place
a zero-initialized variable in .data. It is a programmer problem.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-
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/