lkml.org 
[lkml]   [2001]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: List of all-zero .data variables in linux-2.4.3 available
Date
Followup to:  <m38zl6rkun.fsf@otr.mynet.cygnus.com>
By author: Ulrich Drepper <drepper@redhat.com>
In newsgroup: linux.dev.kernel
>
> "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.
>

And this cannot be decorated with __attribute__((section(".data")))
why?

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.046 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site