You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
301 B

#include <unistd.h>
extern int dep1 (void);
extern int dep2 (void);
extern int dep4 (void);
static void
__attribute__ ((constructor))
init (void)
{
write (1, "3", 1);
}
static void
__attribute__ ((destructor))
fini (void)
{
write (1, "6", 1);
}
int
dep1 (void)
{
return dep4 () - dep2 ();
}