shared strings in archive string tables?
Mikael Pettersson
mikpelinux@gmail.com
Wed Jul 3 07:34:00 GMT 2019
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
More information about the Binutils
mailing list