mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 06:29:25 +01:00
Add missing .note.netbsd.ident section
git-svn-id: trunk@20651 -
This commit is contained in:
parent
4f752004c3
commit
422c618109
@ -329,6 +329,18 @@ _rtld_setup:
|
||||
.comm operatingsystem_parameter_argc,4,4
|
||||
.comm operatingsystem_parameter_argv,4,4
|
||||
.weak _DYNAMIC
|
||||
# This section is needed for NetBSD to recognize a NetBSD binary as such.
|
||||
# otherwise it will be startup in Linux emulation mode.
|
||||
|
||||
.section ".note.netbsd.ident","a"
|
||||
.p2align 2
|
||||
|
||||
.long 7
|
||||
.long 4
|
||||
# ELF NOTE TYPE NETBSD TAG
|
||||
.long 1
|
||||
.ascii "NetBSD\0\0"
|
||||
.long 199905
|
||||
.section .debug_frame,"",@progbits
|
||||
.Lframe0:
|
||||
.long .LECIE0-.LSCIE0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user