2008/198: elfwrap - wrap data in an ELF file

Roland Mainz roland.mainz at nrubsig.org
Wed Mar 19 12:58:27 PDT 2008


Rod Evans wrote:
> Roland Mainz wrote:
> > Rod Evans wrote:
[snip]
> >>   SYNOPSIS
> >>       elfdump [-64] [-o relobj-file] [-z target=sparc | x86]
> >>       data-file...
> >
> > Shouldn't this be "elfwrap" instead of "elfdump" ? :-)
> 
> Yes.  Mr. Plocher already beat you to it.  Guess what man page template
> I used :-)

:-)

> >>   DESCRIPTION
> > [snip]
> >>       The basename(1) of each data file is used to create  various
> >>       pieces  of  ELF information.  For example, if the input data
> >>       file is  ISV/isv-data,  the  following  ELF  information  is
> >>       created within the relocatable object.
> >
> > What about adding an option to override "basename" with a different
> > string ?
> 
> Anything is possible.  Initially, I strived for simplicity.

Ok... but a "basename" option may be usefull to avoid "ugly" filenames
in the filesystem, e.g. mangled C++ names may not look "pretty" when
they appear in the filesystem (and for more complex C++ symbol names you
may hit the maximum filename length sooner or later...).

BTW: What about question about "read-only" in my previous email... does
this matter in this case ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)



More information about the opensolaris-arc mailing list