Update.
[glibc.git] / csu / defs.awk
bloba006c983e283b6d7fe8f14c8f1c4e57ffecf2f0e
1 /^[ ]*\.end/ { need_end = 1 }
2 /^[ ]*\.align/ { if($2 > max) max = $2; }
4 END {
5 if(need_end)
7 print "#define END_INIT .end _init";
8 print "#define END_FINI .end _fini";
10 else
12 print "#define END_INIT";
13 print "#define END_FINI";
15 if(max)
16 print "#define ALIGN .align", max;
17 else
18 print "#define ALIGN";
20 print "#include <libc-symbols.h>";
21 print "weak_extern (__gmon_start__)";