There is a --push-state section which ends with an odd sentence: "Undoes the effect of --push-state, restores the previous values of the flags governing input file handling." It looks like a description for --pop-state. Probably, this should be in a separate section named --pop-state?
The master branch has been updated by Nick Clifton <nickc@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=67cecaba5f70e540ad2f4bde21c323c0bde0f2d9 commit 67cecaba5f70e540ad2f4bde21c323c0bde0f2d9 Author: Nick Clifton <nickc@redhat.com> Date: Fri Feb 17 16:31:09 2017 +0000 Fix documentation of the linker's --pop-state command line option. PR ld/20825 * ld.texinfo (Options): Add missing @item entry for --pop-state.
Hi Anton, Thanks for reporting this bug, and sorry for taking so long to fix it. The problem was simple - a missing "@item --pop-state" line in the documentation. I have checked in a patch to fix this. Cheers Nick