mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 09:29:19 +02:00
Fix linking problems for programs using C lib
git-svn-id: trunk@19443 -
This commit is contained in:
parent
6e23565edf
commit
6bf90dfc7d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user