This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: shared strings in archive string tables?


On Tue, Jul 2, 2019 at 2:14 PM Nick Clifton <nickc@redhat.com> wrote:
>
> Hi Mikael,
>
> > So this seems to work with the GNU binutils' 'ar'.  My question is if
> > this is something any 'ar' should handle or not?
>
> My feeling would be "not".  The reason being that if you start creating
> archives like this, it will cause problems for other versions of the ar
> tool from other operating systems.  In particular if you attempt to remove
> an entity from an archive where the name is shared with others, then extra
> care must be taken when updating the name table.  Other versions of the
> ar tool are unlikely to do this.

That makes sense, thanks.

/Mikael


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