This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Adding library info to elf shared object


Ian Lance Taylor wrote:
erik.rull@rdsoftware.de writes:

I'm searching for a possibility to add a (length limited) text comment to a
shared object file so that a program is able to read them out and display
them to the user. I need just something additional to the filename and
soname that describes the shared object.

See objcopy --add-section.


Ian

Hi Ian,


thanks a lot! Are there any possibilities to do that operation with gcc / ld directly during linkage process? Would make life easier :-)
An option like the adding of the .so - name to the shared library content.


Best regards,

Erik


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]