mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-27 21:20:18 +00:00
dfe4c900cb
(gmon_initializer): New function. (.init prologue): If HAVE_INITFINI_ARRAY is true, don't call __gmon_start__ here. Call it from gmon_initializer() instead. 2002-03-12 H.J. Lu <hjl@gnu.org> * elf/Makefile [$(have-initfini-array) = yes] (tests): Add tst-array1, tst-array2, and tst-array3. [$(have-initfini-array) = yes] (tests-static): Add tst-array3. [$(have-initfini-array) = yes] (modules-names): Add tst-array2dep. ($(objpfx)tst-array1.out): New target. ($(objpfx)tst-array2): Likewise. ($(objpfx)tst-array2.out): Likewise. ($(objpfx)tst-array3.out): Likewise. * elf/tst-array1.c: New file. * elf/tst-array1.exp: Likewise. * elf/tst-array2.c: Likewise. * elf/tst-array2dep.c: Likewise. * elf/tst-array2.exp: Likewise. * elf/tst-array3.c: Likewise.
12 lines
136 B
Plaintext
12 lines
136 B
Plaintext
preinit array 0
|
|
preinit array 1
|
|
preinit array 2
|
|
init
|
|
init array 0
|
|
init array 1
|
|
init array 2
|
|
fini array 2
|
|
fini array 1
|
|
fini array 0
|
|
fini
|