Erik Rull <erik.rull@xxxxxxxxxxxxx> writes: > Ian Lance Taylor wrote: >> erik.rull@xxxxxxxxxxxxx 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. See the .incbin assembler directive. Ian