/usr/include/diet/dietref.h is in dietlibc-dev 0.33~cvs20120325-6+deb8u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | /* diet includes this file to create linker dependencies on the diet
* libc, so trying to link an object file compiled with diet against
* glibc will fail. */
#ifndef NODIETREF
#ifdef __ASSEMBLER__
#include <endian.h>
.section .note
.long 4
.long 2f-1f
.long 0
.ascii "diet"
1:
#if (__WORDSIZE == 64)
.quad __you_tried_to_link_a_dietlibc_object_against_glibc
#else
.long __you_tried_to_link_a_dietlibc_object_against_glibc
#endif
2:
.previous
#else
#include <dietrefdef.h>
__dietref("__you_tried_to_link_a_dietlibc_object_against_glibc");
#endif
#endif
|