(openlog_internal): Use SOCK_CLOEXEC if possible.
[glibc/history.git] / csu / defs.awk
blob7ca5a33646d7b79200bdd1c7963b0bdf7a68b4c5
1 /^[ ]*\.endp/ { need_endp = 1 }
2 /^[ ]*\.end/ { need_end = 1 }
3 /^[ ]*\.align/ { if($2 > max) max = $2; }
5 END {
6 if(need_endp)
8 print "#define END_INIT .endp _init";
9 print "#define END_FINI .endp _fini";
10 } else if(need_end)
12 print "#define END_INIT .end _init";
13 print "#define END_FINI .end _fini";
15 else
17 print "#define END_INIT";
18 print "#define END_FINI";
20 if(max)
21 print "#define ALIGN .align", max;
22 else
23 print "#define ALIGN";
25 print "#include <libc-symbols.h>";
26 print "weak_extern (__gmon_start__)";