mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 18:49:16 +02:00
* .size stuff for GOT
git-svn-id: trunk@2290 -
This commit is contained in:
parent
1d48e6ce78
commit
762e335da1
@ -32,15 +32,18 @@ abitag:
|
|||||||
.section .rodata.str1.1,"aMS",@progbits,1
|
.section .rodata.str1.1,"aMS",@progbits,1
|
||||||
.LC0:
|
.LC0:
|
||||||
.string ""
|
.string ""
|
||||||
.globl __progname
|
|
||||||
.data
|
.data
|
||||||
.p2align 2
|
.p2align 2
|
||||||
|
.globl __progname
|
||||||
.type __progname,@object
|
.type __progname,@object
|
||||||
.size __progname,4
|
.size __progname,4
|
||||||
__progname:
|
__progname:
|
||||||
.long .LC0
|
.long .LC0
|
||||||
.text
|
.text
|
||||||
.p2align 2,,3
|
.p2align 2,,3
|
||||||
|
.type __fpucw,@object
|
||||||
|
.size __fpucw,4
|
||||||
|
.global __fpucw
|
||||||
___fpucw:
|
___fpucw:
|
||||||
.long 0x1332
|
.long 0x1332
|
||||||
.globl ___fpc_brk_addr /* heap management */
|
.globl ___fpc_brk_addr /* heap management */
|
||||||
@ -165,8 +168,25 @@ get_rtld_cleanup:
|
|||||||
|
|
||||||
.weak _DYNAMIC
|
.weak _DYNAMIC
|
||||||
.ident "GCC: (GNU) 3.4.2 - FPC: 2.0.2"
|
.ident "GCC: (GNU) 3.4.2 - FPC: 2.0.2"
|
||||||
|
|
||||||
.bss
|
.bss
|
||||||
.comm operatingsystem_parameter_envp,4
|
.type __stkptr,@object
|
||||||
.comm operatingsystem_parameter_argc,4
|
.size __stkptr,4
|
||||||
.comm operatingsystem_parameter_argv,4
|
.global __stkptr
|
||||||
|
__stkptr:
|
||||||
|
.skip 4
|
||||||
|
|
||||||
|
.type operatingsystem_parameters,@object
|
||||||
|
.size operatingsystem_parameters,12
|
||||||
|
operatingsystem_parameters:
|
||||||
|
.skip 3*4
|
||||||
|
|
||||||
|
.global operatingsystem_parameter_envp
|
||||||
|
.global operatingsystem_parameter_argc
|
||||||
|
.global operatingsystem_parameter_argv
|
||||||
|
.set operatingsystem_parameter_envp,operatingsystem_parameters+0
|
||||||
|
.set operatingsystem_parameter_argc,operatingsystem_parameters+4
|
||||||
|
.set operatingsystem_parameter_argv,operatingsystem_parameters+8
|
||||||
|
|
||||||
|
//.section .threadvar,"aw",@nobits
|
||||||
|
.comm ___fpc_threadvar_offset,4
|
||||||
|
@ -20,17 +20,20 @@
|
|||||||
.file "prt1.as"
|
.file "prt1.as"
|
||||||
.version "01.01"
|
.version "01.01"
|
||||||
gcc2_compiled.:
|
gcc2_compiled.:
|
||||||
.globl __progname
|
|
||||||
.section .rodata
|
.section .rodata
|
||||||
.LC0:
|
.LC0:
|
||||||
.ascii "\0"
|
.ascii "\0"
|
||||||
.data
|
.data
|
||||||
.p2align 2
|
.p2align 2
|
||||||
|
.globl __progname
|
||||||
.type __progname,@object
|
.type __progname,@object
|
||||||
.size __progname,4
|
.size __progname,4
|
||||||
__progname:
|
__progname:
|
||||||
.long .LC0
|
.long .LC0
|
||||||
.align 4
|
.align 4
|
||||||
|
.type __fpucw,@object
|
||||||
|
.size __fpucw,4
|
||||||
|
.global __fpucw
|
||||||
___fpucw:
|
___fpucw:
|
||||||
.long 0x1332
|
.long 0x1332
|
||||||
|
|
||||||
@ -40,7 +43,6 @@ ___fpucw:
|
|||||||
___fpc_brk_addr:
|
___fpc_brk_addr:
|
||||||
.long 0
|
.long 0
|
||||||
|
|
||||||
|
|
||||||
.text
|
.text
|
||||||
.p2align 2
|
.p2align 2
|
||||||
.globl _start
|
.globl _start
|
||||||
@ -123,8 +125,25 @@ _actualsyscall:
|
|||||||
.weak _DYNAMIC
|
.weak _DYNAMIC
|
||||||
.ident "GCC: (GNU) 2.7.2.1"
|
.ident "GCC: (GNU) 2.7.2.1"
|
||||||
|
|
||||||
|
|
||||||
.bss
|
.bss
|
||||||
.comm operatingsystem_parameter_envp,4
|
.type __stkptr,@object
|
||||||
.comm operatingsystem_parameter_argc,4
|
.size __stkptr,4
|
||||||
.comm operatingsystem_parameter_argv,4
|
.global __stkptr
|
||||||
|
__stkptr:
|
||||||
|
.skip 4
|
||||||
|
|
||||||
|
.type operatingsystem_parameters,@object
|
||||||
|
.size operatingsystem_parameters,12
|
||||||
|
operatingsystem_parameters:
|
||||||
|
.skip 3*4
|
||||||
|
|
||||||
|
.global operatingsystem_parameter_envp
|
||||||
|
.global operatingsystem_parameter_argc
|
||||||
|
.global operatingsystem_parameter_argv
|
||||||
|
.set operatingsystem_parameter_envp,operatingsystem_parameters+0
|
||||||
|
.set operatingsystem_parameter_argc,operatingsystem_parameters+4
|
||||||
|
.set operatingsystem_parameter_argv,operatingsystem_parameters+8
|
||||||
|
|
||||||
|
//.section .threadvar,"aw",@nobits
|
||||||
|
.comm ___fpc_threadvar_offset,4
|
||||||
|
Loading…
Reference in New Issue
Block a user