+2017-08-13 Florian Weimer <fweimer@redhat.com>
+
+ * elf/dl-addr.c (_dl_addr): Remove internal_function.
+ * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
+ (_dl_catch_error, _dl_receive_error): Likewise.
+ * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
+ * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
+ (_dl_deallocate_tls): Likewise.
+ * include/dlfcn.h (_dl_addr): Likewise.
+ * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
+ (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
+ (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
+ Likewise.
+
2017-08-13 Florian Weimer <fweimer@redhat.com>
* include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
libc_hidden_def (_dl_signal_exception)
void
-internal_function
_dl_signal_error (int errcode, const char *objname, const char *occation,
const char *errstring)
{
}
void
-internal_function
_dl_signal_cerror (int errcode, const char *objname, const char *occation,
const char *errstring)
{
libc_hidden_def (_dl_catch_exception)
int
-internal_function
_dl_catch_error (const char **objname, const char **errstring,
bool *mallocedp, void (*operate) (void *), void *args)
{
#if DL_ERROR_BOOTSTRAP
void
-internal_function
_dl_receive_error (receiver_fct fct, void (*operate) (void *), void *args)
{
struct catch *old_catch = catch_hook;
/* Like _dl_signal_exception, but creates the exception first. */
extern void _dl_signal_error (int errcode, const char *object,
const char *occasion, const char *errstring)
- internal_function __attribute__ ((__noreturn__));
+ __attribute__ ((__noreturn__));
libc_hidden_proto (_dl_signal_error)
/* Like _dl_signal_exception, but may return when called in the
#if IS_IN (rtld)
extern void _dl_signal_cerror (int errcode, const char *object,
const char *occasion, const char *errstring)
- internal_function attribute_hidden;
+ attribute_hidden;
#else
__attribute__ ((always_inline))
static inline void
function returns.
ARGS is passed as argument to OPERATE. */
extern void _dl_receive_error (receiver_fct fct, void (*operate) (void *),
- void *args)
- internal_function attribute_hidden;
+ void *args) attribute_hidden;
/* Call OPERATE, catching errors from `_dl_signal_error' and related
functions. If there is no error, *ERRSTRING is set to null. If
the returned string is allocated using the libc's malloc. */
extern int _dl_catch_error (const char **objname, const char **errstring,
bool *mallocedp, void (*operate) (void *),
- void *args)
- internal_function;
+ void *args);
libc_hidden_proto (_dl_catch_error)
/* Call OPERATE (ARGS). If no error occurs, set *EXCEPTION to zero.
#endif
/* Allocate memory for static TLS block (unless MEM is nonzero) and dtv. */
-extern void *_dl_allocate_tls (void *mem) internal_function;
+extern void *_dl_allocate_tls (void *mem);
rtld_hidden_proto (_dl_allocate_tls)
/* Get size and alignment requirements of the static TLS block. */
only used within rtld.c itself at startup time. */
extern void *_dl_allocate_tls_storage (void)
internal_function attribute_hidden;
-extern void *_dl_allocate_tls_init (void *) internal_function;
+extern void *_dl_allocate_tls_init (void *);
rtld_hidden_proto (_dl_allocate_tls_init)
/* Deallocate memory allocated with _dl_allocate_tls. */
-extern void _dl_deallocate_tls (void *tcb, bool dealloc_tcb) internal_function;
+extern void _dl_deallocate_tls (void *tcb, bool dealloc_tcb);
rtld_hidden_proto (_dl_deallocate_tls)
extern void _dl_nothread_init_static_tls (struct link_map *) attribute_hidden;
extern void _dl_show_scope (struct link_map *new, int from)
attribute_hidden;
-extern struct link_map *_dl_find_dso_for_object (const ElfW(Addr) addr)
- internal_function;
+extern struct link_map *_dl_find_dso_for_object (const ElfW(Addr) addr);
rtld_hidden_proto (_dl_find_dso_for_object)
/* Initialization which is normally done by the dynamic linker. */