This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Object files know where they're built?!?
- From: Bruce Korb <bkorb at veritas dot com>
- To: Nathanael Nerode <neroden at twcny dot rr dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Sun, 02 Mar 2003 13:36:21 -0800
- Subject: RE: Object files know where they're built?!?
- Organization: Home
Hi Nathanael,
Try messing with libelf. It makes it pretty trivial to
extract certain sections (e.g. "text" and "data"), and
ignore others (that may have date stamps, source file
names, etc.)
Cheers,
Bruce