Skip to content

Commit b5bf100

Browse files
authored
[libc] Add RTLD_NEXT + RTLD_DEFAULT (#149909)
Related to #97920, this patch adds `dlsym` macros `RTLD_NEXT` AND `RTLD_DEFAULT` to dlfcn.h.
1 parent f03345a commit b5bf100

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

libc/include/dlfcn.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ macros:
2929
standards:
3030
- gnu
3131
macro_value: "0x01000"
32+
- macro_name: RTLD_NEXT
33+
standards:
34+
- gnu
35+
macro_value: "((void *) -1l)"
36+
- macro_name: RTLD_DEFAULT
37+
standards:
38+
- gnu
39+
macro_value: "((void *) 0)"
3240
functions:
3341
- name: dlclose
3442
standards:

0 commit comments

Comments
 (0)