diff options
author | Fangrui Song <i@maskray.me> | 2019-10-30 10:50:23 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-10-30 10:50:23 +0000 |
commit | 197245e341aeb1b5da8ee5fbe5d6c49de650fb89 (patch) | |
tree | 046f13d6fd30949d79ec6c7eb88b1d39834c0824 /binutils/NEWS | |
parent | a961a1e1749443516d8fe6e0570cf808a09e8f89 (diff) | |
download | gdb-197245e341aeb1b5da8ee5fbe5d6c49de650fb89.zip gdb-197245e341aeb1b5da8ee5fbe5d6c49de650fb89.tar.gz gdb-197245e341aeb1b5da8ee5fbe5d6c49de650fb89.tar.bz2 |
Add a --output=<DIR> option to ar to allow the specifying of an output directory.
* ar.c (emum long option numbers): Declare. Use to provide
numerical values for long options.
(long_options): Add --output option.
(usage): Mention the --output option.
(open_output_file): New function. Create a filepath for an output
file and open it.
(extract_file): Use open_output_file().
(open_output_file):
* testsuite/binutils-all/ar.exp: Add a test of the new feature.
* doc/binutils.texi: Document the new feature.
* NEWS: Mention the new feature.
Diffstat (limited to 'binutils/NEWS')
-rw-r--r-- | binutils/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/NEWS b/binutils/NEWS index e6afc4b..fd14d71 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -1,5 +1,8 @@ -*- text -*- +* Add --output option to the "ar" program. This option can be used to specify + the output directory when extracting members from an archive. + Changes in 2.33: * Add --source-comment[=<txt>] option to objdump which if present, |