]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR31941 objcopy --globalize-symbol
authorAlan Modra <amodra@gmail.com>
Sun, 30 Jun 2024 23:32:10 +0000 (09:02 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 1 Jul 2024 01:34:31 +0000 (11:04 +0930)
commit79674bfc369e793b0b53cc0dc09a3fcfdbdf158a
treed44d0fe812743144adba95274f43bfa926d76c95
parentd65111ff0a4bf2a7bcc37c4580089bf4ff161b0c
PR31941 objcopy --globalize-symbol

I think FILE symbols are special, and I can't see why anyone would
want them to be made global.  The fact that no one has reported this
bug since commit 7b4a0685e80a in 2005 supports that claim.

PR 31941
* objcopy.c (filter_symbols): Don't allow BSF_FILE symbols to
be made global.
binutils/objcopy.c