Re: [PATCH] 2.3.40: <linux/linkage.h> generates incorrect cache alignments

From: Jamie Lokier (lkd@tantalophile.demon.co.uk)
Date: Fri Jan 28 2000 - 20:39:26 EST


Horst von Brand wrote:
> Better get the linker to recognize repeated strings and merge them? It
> doesn't do that right now (binutils-2.9.5.0.24), and not only the kernel
> would benefit.

The linker already does .linkonce sections which eliminate duplicates.
They're used for C++ templates.
Get the compiler to put each unique string in its own .linkonce section.

enjoy,
-- Jamie

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



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:23 EST