Fix linking problems for programs using C lib

git-svn-id: trunk@19443 -
This commit is contained in:
pierre 2011-10-09 23:16:41 +00:00
parent 6e23565edf
commit 6bf90dfc7d

View File

@ -108,7 +108,7 @@ ___start:
# pushl 8(%ebp)
finit
fwait
fldcw __fpucw
fldcw ___fpucw
xorl %ebp,%ebp
call main
pushl %eax
@ -119,7 +119,7 @@ ___start:
.type _haltproc,@function
_haltproc:
mov $1,%eax
mov $1,%eax
movzwl operatingsystem_result,%ebx
pushl %ebx
call .Lactualsyscall
@ -168,3 +168,7 @@ _strrchr:
.size _strrchr , . - _strrchr
.comm environ,4,4
.comm __progname_storage,256,32
.comm operatingsystem_parameter_envp,4,4
.comm operatingsystem_parameter_argc,4,4
.comm operatingsystem_parameter_argv,4,4