Subject: crt files
To: None <netbsd-help@NetBSD.org>
From: Madhvesh R S <madhvesh.s@ap.sony.com>
List: netbsd-help
Date: 05/18/2004 14:18:18
Hi,

I am referring to NetBSD-v1.6
In the files crtbegin.c and crtend.c under the path
/usr/src/lib/csu/common_elf, i am finding two static
declartions of __CTOR_LIST__. In the file crtbegin.c, 
this is set to -1, while in file crtend.c, it is set 
to zero. Why is it so?

Also i am seeing the array size as just 1 element. How
this code handles many constructors execution of application?

Thanks in advance
-MS