提交 e4d56bab 编写于 作者: U Ulf Möller

move constants for debug functions to end of file

上级 1435ccfb
......@@ -343,11 +343,9 @@ sub main'function_end
popl %ebx
popl %ebp
ret
$const
.${func}_end:
EOF
push(@out,$tmp);
$const="";
if ($main'cpp)
{ push(@out,"\tSIZE($func,.${func}_end-$func)\n"); }
......@@ -458,6 +456,12 @@ sub main'set_label
sub main'file_end
{
if ($const ne "")
{
push(@out,".section .rodata\n");
push(@out,$const);
$const="";
}
}
sub main'data_word
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册