Use NULL for null-pointer argument.
This commit is contained in:
parent
35f406aafb
commit
653d825a9a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161798
@ -603,7 +603,7 @@ allocate_initial_tls(Obj_Entry *list)
|
||||
*/
|
||||
tls_static_space = tls_last_offset + tls_last_size + RTLD_STATIC_TLS_EXTRA;
|
||||
|
||||
tpval = allocate_tls(list, 0, TLS_TCB_SIZE, 16);
|
||||
tpval = allocate_tls(list, NULL, TLS_TCB_SIZE, 16);
|
||||
__asm __volatile("mov r13 = %0" :: "r"(tpval));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user