Specify section for whole .a static library
Jan Pohanka
xhpohanka@gmail.com
Wed Apr 6 09:27:00 GMT 2011
Hello,
I can use linker script capabilities to put the contents of any
sections from a file to another one using following syntax
SECTIONS {
.foo { file.o(.text) }
}
I'd like to do that for whole static library, but don't know if it is
possible. Decompressing the library is not a clean way. May be there
is a command to force compiler (c, cpp) to use specified sections?
regards
Jan
More information about the Binutils
mailing list