fix regression in access to optopt object

commit b9410061e2 inadvertently omitted
optopt from the "dynamic list", causing it to be split into separate
objects that don't share their value if the main program contains a
copy relocation for it (for non-PIE executables that access it, and
some PIE ones, depending on arch and toolchain versions/options).
This commit is contained in:
Rich Felker 2018-11-19 13:11:56 -05:00
parent 122d67f846
commit 39ef612aa1
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ __signgam;
optarg;
optind;
opterr;
optopt;
optreset;
__optreset;