Messages in this thread | | | Subject | Re: [RFC PATCH 0/3] Mark literal strings in __init / __exit code | From | Joe Perches <> | Date | Tue, 24 Jun 2014 13:57:20 -0700 |
| |
On Tue, 2014-06-24 at 22:41 +0200, Mathias Krause wrote: > there is more to optimize > if one is patient enough ;)
Ever thus.
> And all of those strings should be in the .rodata section, now. But > why you're asking?
Because now they will be duplicated in .rodata and the __init section no?
> Yes. My vanilla vmlinux build has quite a lot of copies of "off" in > it. But I doubt any linker would merge those. Does LTO do so?
I would expect that duplicated strings in separate sections would not be merged.
| |