xref: /openbsd-src/regress/libexec/ld.so/randomdata/libaa/aa.c (revision 75795c7bb7900317a5c55bdb22c0c5a0ef978a42)
1*75795c7bSderaadt /*	$OpenBSD: aa.c,v 1.3 2017/08/01 13:05:55 deraadt Exp $	*/
2b3669013Smatthew #include <sys/types.h>
3b3669013Smatthew 
4*75795c7bSderaadt int64_t aavalue __attribute__((section(".openbsd.randomdata")));
5b3669013Smatthew 
6b3669013Smatthew int64_t
getaavalue()7b3669013Smatthew getaavalue()
8b3669013Smatthew {
9b3669013Smatthew 	return (aavalue);
10b3669013Smatthew }
11