diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-04-14 23:58:41 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-04-14 23:58:41 +0200 |
commit | 03cc2041fc21889ca2256d0f1de76683bed4e94e (patch) | |
tree | b920151974fe12167124bdbbfec4aca992b6881a /librt | |
parent | efc26521e8c8cda6430efe9a8ed1b73896b655b5 (diff) |
librt: Add missing __dso_handle
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'librt')
-rw-r--r-- | librt/Makefile.in | 1 | ||||
-rw-r--r-- | librt/dso_handle.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/librt/Makefile.in b/librt/Makefile.in index 4e81764b8..1536a5cb9 100644 --- a/librt/Makefile.in +++ b/librt/Makefile.in @@ -42,6 +42,7 @@ librt_filter_SRC += $(if $(UCLIBC_HAS_ADVANCED_REALTIME),, \ spawn_faction_init.c) librt_filter_SRC += $(if $(UCLIBC_HAS_STUBS),,rt_stubs.c) +librt_filter_SRC += $(if $(HAS_NO_THREADS),dso_handle.c) librt_SRC := $(filter-out $(librt_filter_SRC),$(librt_SRC)) librt_OBJ := $(patsubst %.c,$(librt_OUT)/%.o,$(librt_SRC)) diff --git a/librt/dso_handle.c b/librt/dso_handle.c new file mode 100644 index 000000000..633907103 --- /dev/null +++ b/librt/dso_handle.c @@ -0,0 +1,5 @@ +/* Copyright (C) 2015 Bernhard Reutner-Fischer + * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. + */ + +const void *const __dso_handle attribute_hidden = &__dso_handle; |