mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 10:07:54 +02:00
Change prt0.as and cprt0.as to allow to generate FreeBSD aarch64 13.2 executables
This commit is contained in:
parent
3e2b0ac8b9
commit
231bb3df8d
@ -8,16 +8,28 @@
|
|||||||
#APP
|
#APP
|
||||||
.ident "FreePascal 2.6.x/2.7.x series dynlinked to libc"
|
.ident "FreePascal 2.6.x/2.7.x series dynlinked to libc"
|
||||||
#NO_APP
|
#NO_APP
|
||||||
.section .note.ABI-tag,"a",@progbits
|
.section .note.tag,"a",%note
|
||||||
.p2align 2
|
.p2align 2
|
||||||
.type abitag, @object
|
.type abitag, @object
|
||||||
.size abitag, 24
|
.size abitag, 24
|
||||||
abitag:
|
abitag:
|
||||||
.long 8
|
.4byte 8
|
||||||
.long 4
|
.4byte 4
|
||||||
.long 1
|
.4byte 1 /* NT_FREEBSD_ABI_TAG */
|
||||||
.string "FreeBSD"
|
.string "FreeBSD"
|
||||||
.long 120000
|
.p2align 2
|
||||||
|
.4byte 1302001
|
||||||
|
|
||||||
|
.section .note.tag,"a",%note
|
||||||
|
.p2align 2
|
||||||
|
.4byte .L_2-.L_1
|
||||||
|
.4byte .L_4-.L_3
|
||||||
|
.4byte 4 /* NT_FREEBSD_FEATURE_CTL */
|
||||||
|
.L_1: .asciz "FreeBSD" /* NOTE_FREEBSD_VENDOR */
|
||||||
|
.L_2: .p2align 2
|
||||||
|
.L_3: .4byte 0
|
||||||
|
.L_4:
|
||||||
|
|
||||||
.globl __progname
|
.globl __progname
|
||||||
.section .rodata
|
.section .rodata
|
||||||
|
|
||||||
|
@ -9,17 +9,29 @@
|
|||||||
#APP
|
#APP
|
||||||
.ident "FreeBSD"
|
.ident "FreeBSD"
|
||||||
#NO_APP
|
#NO_APP
|
||||||
.section .note.ABI-tag,"a",@progbits
|
.section .note.tag,"a",%note
|
||||||
.p2align 2
|
.p2align 2
|
||||||
.type abitag, @object
|
.type abitag, @object
|
||||||
.size abitag, 24
|
.size abitag, 24
|
||||||
abitag:
|
abitag:
|
||||||
.long 8
|
.4byte 8
|
||||||
.long 4
|
.4byte 4
|
||||||
.long 1
|
.4byte 1 /* NT_FREEBSD_ABI_TAG */
|
||||||
.string "FreeBSD"
|
.string "FreeBSD"
|
||||||
.long 120000
|
.p2align 2
|
||||||
|
.4byte 1302001
|
||||||
|
|
||||||
|
.section .note.tag,"a",%note
|
||||||
|
.p2align 2
|
||||||
|
.4byte .L_2-.L_1
|
||||||
|
.4byte .L_4-.L_3
|
||||||
|
.4byte 4 /* NT_FREEBSD_FEATURE_CTL */
|
||||||
|
.L_1: .asciz "FreeBSD" /* NOTE_FREEBSD_VENDOR */
|
||||||
|
.L_2: .p2align 2
|
||||||
|
.L_3: .4byte 0
|
||||||
|
.L_4:
|
||||||
|
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
.section .rodata
|
.section .rodata
|
||||||
.LC0:
|
.LC0:
|
||||||
.string ""
|
.string ""
|
||||||
|
Loading…
Reference in New Issue
Block a user