This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: section placement q


Andrew Morton wrote:
> There's nothing inherently bad about being to divert the section for
> strings.  You just need to know what you're doing, no?

That's the problem.  Not only can it be tricky -- do you think every
device driver author knows what __init etc. really mean?  But also even
when it's wrong, it will often appear to work.  A warning would be nice.
Perhaps this is out of GCC's scope though, along with lock checking.

-- Jamie

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]