ar P support
authorAlan Modra <amodra@gmail.com>
Mon, 21 Oct 2019 02:24:06 +0000 (12:54 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 21 Oct 2019 05:43:39 +0000 (16:13 +1030)
commit95cc7c169c4bbb6f10e630184f527b20b83fc5c3
tree926d50d0829027a0804a62450fcbf6396c85da72
parent54d83b8d3920eea4a0d545f1ff7ac2923d938e6c
ar P support

This patch extends "ar P" to allow creation of normal (as distinct
from thin) archives with full path names.

PR 452
PR 25104
bfd/
* archive.c (normalize): Return file unchanged when
BFD_ARCHIVE_FULL_PATH.
(_bfd_construct_extended_name_table): Pass abfd, the output
bfd, to normalize.
(_bfd_archive_bsd44_construct_extended_name_table): Likewise.
* bfd.c (struct bfd): Make flags a full flagword.
(BFD_ARCHIVE_FULL_PATH): Define.
* bfd-in2.h: Regenerate.
binutils/
* ar.c (write_archive): Set BFD_ARCHIVE_FULL_PATH.
* doc/binutils.texi (extract from archive): Mention
restrictions when extracting from archives with full paths.
(ar P): Update to current P support.
(ar -X32_64): Fix spelling.
bfd/ChangeLog
bfd/archive.c
bfd/bfd-in2.h
bfd/bfd.c
binutils/ChangeLog
binutils/ar.c
binutils/doc/binutils.texi
This page took 0.026033 seconds and 4 git commands to generate.