Update.
[glibc.git] / csu / defs.awk
blobac73e1a3ad20604fb1832dc5f150c0dc2f4e8a44
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__)";