mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
nptl: Rename nptl_version to __nptl_version
This prepares it for exporting as a dynamic symbol. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
d22705e7de
commit
b369cc4e9c
@ -73,7 +73,7 @@ DB_STRUCT (td_eventbuf_t)
|
|||||||
DB_STRUCT_FIELD (td_eventbuf_t, eventnum)
|
DB_STRUCT_FIELD (td_eventbuf_t, eventnum)
|
||||||
DB_STRUCT_FIELD (td_eventbuf_t, eventdata)
|
DB_STRUCT_FIELD (td_eventbuf_t, eventdata)
|
||||||
|
|
||||||
DB_SYMBOL (nptl_version)
|
DB_SYMBOL (__nptl_version)
|
||||||
DB_SYMBOL (__nptl_create_event)
|
DB_SYMBOL (__nptl_create_event)
|
||||||
DB_SYMBOL (__nptl_death_event)
|
DB_SYMBOL (__nptl_death_event)
|
||||||
DB_SYMBOL (__nptl_threads_events)
|
DB_SYMBOL (__nptl_threads_events)
|
||||||
|
@ -39,7 +39,7 @@ td_ta_new (struct ps_prochandle *ps, td_thragent_t **ta)
|
|||||||
LOG ("td_ta_new");
|
LOG ("td_ta_new");
|
||||||
|
|
||||||
/* Check whether the versions match. */
|
/* Check whether the versions match. */
|
||||||
if (td_lookup (ps, SYM_nptl_version, &versaddr) != PS_OK)
|
if (td_lookup (ps, SYM___nptl_version, &versaddr) != PS_OK)
|
||||||
return TD_NOLIBTHREAD;
|
return TD_NOLIBTHREAD;
|
||||||
if (ps_pdread (ps, versaddr, versbuf, sizeof (versbuf)) != PS_OK)
|
if (ps_pdread (ps, versaddr, versbuf, sizeof (versbuf)) != PS_OK)
|
||||||
return TD_ERR;
|
return TD_ERR;
|
||||||
|
Loading…
Reference in New Issue
Block a user