diff options
author | Caslyn Tonelli <6718161+Caslyn@users.noreply.github.com> | 2025-08-05 10:51:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-05 10:51:28 -0700 |
commit | b5bf1000465c69d647c0eb0f0dc40d03dde17aea (patch) | |
tree | 3630ead528e38a927d66a898883909b9224eb23a | |
parent | f03345a07af808975caab2fcab24adf98857ffa0 (diff) | |
download | llvm-b5bf1000465c69d647c0eb0f0dc40d03dde17aea.zip llvm-b5bf1000465c69d647c0eb0f0dc40d03dde17aea.tar.gz llvm-b5bf1000465c69d647c0eb0f0dc40d03dde17aea.tar.bz2 |
[libc] Add RTLD_NEXT + RTLD_DEFAULT (#149909)
Related to #97920, this patch adds `dlsym` macros `RTLD_NEXT` AND
`RTLD_DEFAULT` to dlfcn.h.
-rw-r--r-- | libc/include/dlfcn.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/include/dlfcn.yaml b/libc/include/dlfcn.yaml index 28be34d..6afeb70 100644 --- a/libc/include/dlfcn.yaml +++ b/libc/include/dlfcn.yaml @@ -29,6 +29,14 @@ macros: standards: - gnu macro_value: "0x01000" + - macro_name: RTLD_NEXT + standards: + - gnu + macro_value: "((void *) -1l)" + - macro_name: RTLD_DEFAULT + standards: + - gnu + macro_value: "((void *) 0)" functions: - name: dlclose standards: |