about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-17 17:55:06 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-17 17:55:06 +0000
commitacdf23097fd9e273b337b1dbc395b09264db4c98 (patch)
treee546c049fd780b9d5d52532f6c1d67e51f37ca92 /malloc
parent57ec644207135b273fefcb8d0bb6c36373cfac24 (diff)
downloadglibc-acdf23097fd9e273b337b1dbc395b09264db4c98.tar.gz
glibc-acdf23097fd9e273b337b1dbc395b09264db4c98.tar.xz
glibc-acdf23097fd9e273b337b1dbc395b09264db4c98.zip
(top_check): Force hook value into register.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/hooks.c b/malloc/hooks.c
index 5360037a0d..622a815f32 100644
--- a/malloc/hooks.c
+++ b/malloc/hooks.c
@@ -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;