musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018年11月19日 13:11:56 -0500
committerRich Felker <dalias@aerifal.cx>2018年11月19日 13:20:41 -0500
commit39ef612aa193cc6e954ac5a01574300ccd4b7ef9 (patch)
tree5719522da2b5633822f3725d8de929269362ed66
parent122d67f846cb0be2c9e1c3880db9eb9545bbe38c (diff)
downloadmusl-39ef612aa193cc6e954ac5a01574300ccd4b7ef9.tar.gz
fix regression in access to optopt object
commit b9410061e2ad6fe91bb3910c3adc7d4a315b7ce9 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).
Diffstat
-rw-r--r--dynamic.list 1
1 files changed, 1 insertions, 0 deletions
diff --git a/dynamic.list b/dynamic.list
index 686f8eb4..ee0d363b 100644
--- a/dynamic.list
+++ b/dynamic.list
@@ -28,6 +28,7 @@ __signgam;
optarg;
optind;
opterr;
+optopt;
optreset;
__optreset;
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月02日 13:30:11 +0000

AltStyle によって変換されたページ (->オリジナル) /