mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 14:19:31 +02:00
* applied all the OpenBSD startup code patches from the OpenBSD ports tree
git-svn-id: trunk@41645 -
This commit is contained in:
parent
7b00c732b8
commit
85981b0a32
@ -6,6 +6,14 @@
|
||||
.ascii "OpenBSD\0"
|
||||
.long 0
|
||||
.previous
|
||||
.section ".note.openbsd.ident", "a"
|
||||
.p2align 2
|
||||
.long 8
|
||||
.long 4
|
||||
.long 1
|
||||
.ascii "OpenBSD\0"
|
||||
.long 0
|
||||
.previous
|
||||
.file "crt0.c"
|
||||
gcc2_compiled.:
|
||||
.data
|
||||
@ -108,7 +116,7 @@ ___start:
|
||||
movb $0,(%edx)
|
||||
movl $__progname_storage,__progname
|
||||
.L3:
|
||||
call __init
|
||||
# call __init
|
||||
subl $16,%esp
|
||||
pushl %eax
|
||||
movl 8(%ebp),%eax
|
||||
|
@ -6,6 +6,14 @@
|
||||
.ascii "OpenBSD\0"
|
||||
.long 0
|
||||
.previous
|
||||
.section ".note.openbsd.ident", "a"
|
||||
.p2align 2
|
||||
.long 8
|
||||
.long 4
|
||||
.long 1
|
||||
.ascii "OpenBSD\0"
|
||||
.long 0
|
||||
.previous
|
||||
.file "crt0.c"
|
||||
gcc2_compiled.:
|
||||
.data
|
||||
|
@ -6,6 +6,14 @@
|
||||
.ascii "OpenBSD\0"
|
||||
.long 0
|
||||
.previous
|
||||
.section ".note.openbsd.ident", "a"
|
||||
.p2align 2
|
||||
.long 8
|
||||
.long 4
|
||||
.long 1
|
||||
.ascii "OpenBSD\0"
|
||||
.long 0
|
||||
.previous
|
||||
.file "crt0.c"
|
||||
.globl __progname
|
||||
.section .rodata
|
||||
|
@ -1,3 +1,11 @@
|
||||
.section ".note.openbsd.ident", "a"
|
||||
.p2align 2
|
||||
.long 8
|
||||
.long 4
|
||||
.long 1
|
||||
.ascii "OpenBSD\0"
|
||||
.long 0
|
||||
.previous
|
||||
.file "crt0.c"
|
||||
.globl __progname
|
||||
.section .rodata
|
||||
|
@ -6,6 +6,14 @@
|
||||
.ascii "OpenBSD\0"
|
||||
.long 0
|
||||
.previous
|
||||
.section ".note.openbsd.ident", "a"
|
||||
.p2align 2
|
||||
.long 8
|
||||
.long 4
|
||||
.long 1
|
||||
.ascii "OpenBSD\0"
|
||||
.long 0
|
||||
.previous
|
||||
.file "crt0.c"
|
||||
.globl __progname
|
||||
.section .rodata
|
||||
|
Loading…
Reference in New Issue
Block a user