PR24499, ignore --add-gnu-debuglink for archives
authorAlan Modra <amodra@gmail.com>
Tue, 19 Nov 2019 10:49:24 +0000 (21:19 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 19 Nov 2019 11:02:42 +0000 (21:32 +1030)
commitf2032b672ac5f0c570f3a6d263ce6b764e7dca93
tree5b0de2d9768e92ee1b934188380efe06a4ed45a5
parent6765ee1825d92d25d9b3f6260de3f8a2a27e4998
PR24499, ignore --add-gnu-debuglink for archives

objcopy --add-gnu-debuglink=foo.a.dbg foo.a just doesn't make any
sense.  Who puts executables in archives?

PR 24499
* objcopy.c (copy_file): Ignore --add-gnu-debuglink for archives.
binutils/ChangeLog
binutils/objcopy.c