mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
elf: Do not pass GLRO(dl_platform), GLRO(dl_platformlen) to _dl_important_hwcaps
In the current code, the function can easily obtain the information on its own. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@@ -1071,12 +1071,12 @@ extern void _dl_show_auxv (void) attribute_hidden;
|
||||
other. */
|
||||
extern char *_dl_next_ld_env_entry (char ***position) attribute_hidden;
|
||||
|
||||
/* Return an array with the names of the important hardware capabilities. */
|
||||
extern const struct r_strlenpair *_dl_important_hwcaps (const char *platform,
|
||||
size_t paltform_len,
|
||||
size_t *sz,
|
||||
size_t *max_capstrlen)
|
||||
attribute_hidden;
|
||||
/* Return an array with the names of the important hardware
|
||||
capabilities. The length of the array is written to *SZ, and the
|
||||
maximum of all strings length is written to *MAX_CAPSTRLEN. */
|
||||
const struct r_strlenpair *_dl_important_hwcaps (size_t *sz,
|
||||
size_t *max_capstrlen)
|
||||
attribute_hidden;
|
||||
|
||||
/* Look up NAME in ld.so.cache and return the file name stored there,
|
||||
or null if none is found. Caller must free returned string. */
|
||||
|
Reference in New Issue
Block a user