Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!news.snarked.org!newsfeed.news.ucla.edu!usenet.stanford.edu!not-for-mail From: blp@cs.stanford.edu (Ben Pfaff) Newsgroups: comp.programming Subject: Re: ELF Date: Wed, 25 May 2011 15:07:38 -0700 Lines: 12 Message-ID: <87fwo277th.fsf@blp.benpfaff.org> References: <4ddd7bc3$0$1973$bbae4d71@news.suddenlink.net> Reply-To: blp@cs.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet.stanford.edu 1306361254 2649 127.0.0.1 (25 May 2011 22:07:34 GMT) X-Complaints-To: action@cs.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:cJjMNObE82v4xzvf9/s9yxlaDgo= Xref: x330-a1.tempe.blueboxinc.net comp.programming:358 "Bill Cunningham" writes: > I would like to put some information in the .note section header of an > ELF file. I have the elf.h header file but no information on how to code > using this header. I can't find any tutorials online either. There is a type > called SH_NOTE. That's really all I know. Does anyone know anything about > ELF? At a guess, perhaps you could use "objcopy --add-section". -- "Let others praise ancient times; I am glad I was born in these." --Ovid (43 BC-18 AD)