mirror of https://gitee.com/openkylin/glibc.git
check-unknown-symbols.diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Date: Thur, 10 Nov 2022 23:32:06 +0800 Subject: check-unknown-symbols
This commit is contained in:
parent
35d564211e
commit
52c4ef1d8e
|
@ -3515,8 +3515,20 @@ error while adding equivalent collating symbol"));
|
|||
}
|
||||
else if (arg != NULL)
|
||||
{
|
||||
void *ptr = NULL;
|
||||
symstr = arg->val.str.startmb;
|
||||
symlen = arg->val.str.lenmb;
|
||||
if (state != 5
|
||||
&& find_entry (&charmap->char_table, symstr, symlen, &ptr) != 0
|
||||
&& (repertoire == NULL ||
|
||||
find_entry (&repertoire->char_table, symstr, symlen, &ptr) != 0)
|
||||
&& find_entry (&collate->elem_table, symstr, symlen, &ptr) != 0
|
||||
&& find_entry (&collate->sym_table, symstr, symlen, &ptr) != 0)
|
||||
{
|
||||
if (verbose)
|
||||
lr_error (ldfile, _("%s: symbol `%.*s' not known"),
|
||||
"LC_COLLATE", (int) symlen, symstr);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue