mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
(top_check): Force hook value into register.
This commit is contained in:
parent
57ec644207
commit
acdf23097f
@ -235,7 +235,7 @@ top_check()
|
||||
return -1;
|
||||
}
|
||||
/* Call the `morecore' hook if necessary. */
|
||||
void (*hook) (void) = __after_morecore_hook;
|
||||
void (*hook) (void) = force_reg (__after_morecore_hook);
|
||||
if (hook)
|
||||
(*hook) ();
|
||||
main_arena.system_mem = (new_brk - mp_.sbrk_base) + sbrk_size;
|
||||
|
Loading…
Reference in New Issue
Block a user