Re: [PATCH] frv: Remove duplicate output of .exit.data

From: Maciej W. Rozycki
Date: Mon Oct 15 2007 - 11:27:26 EST


On Sat, 13 Oct 2007, David Howells wrote:

> > When CONFIG_DEBUG_INFO is unset the input .exit.data sections are copied
> > twice to vmlinux. Remove the copy made to .init.text and keep one in
> > .data only.
>
> No, they aren't. I believe the linker only makes one copy of each section,
> and once a copy is inserted, all other attempts to make a copy of it are
> ignored.

Fair enough -- a quick test shows you are right. Wouldn't it deserve a
comment, though? I know hardly anybody dares looking into these scripts,
;-) but those who do, may not be sure this setup is intentional.

Maciej
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/