Re: [PATCH] Fix BUG macro

From: Andreas Schwab (schwab@suse.de)
Date: Fri May 17 2002 - 07:02:20 EST


Hugh Dickins <hugh@veritas.com> writes:

|> On Fri, 17 May 2002, Rusty Russell wrote:
|> > In message <Pine.LNX.4.21.0205170839240.1369-100000@localhost.localdomain> you
|> > write:
|> > > On Fri, 17 May 2002, Rusty Russell wrote:
|> > > >
|> > > > Um, show me where sizeof(KBUILD_BASENAME) + sizeof(__FUNCTION__) >
|> > > > sizeof(__FILENAME__).
|> > >
|> > > If you're talking about kbuild2.5
|> >
|> > No. It's the include files, which makes up the majority of strings.
|>
|> If they do make up the majority of strings, that's partly because
|> you don't have Andrew's out_of_line_bug work in your tree, partly
|> because your linker isn't combining strings (mine neither, does any?),

Recent gcc and ld do.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
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/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:14 EST