lkml.org 
[lkml]   [2000]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.3.40: <linux/linkage.h> generates incorrect cache alignments
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/

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