Browse Source

--- Merging r23685 into '.':
U rtl/openbsd/i386/prt0.as
U rtl/openbsd/i386/cprt0.as
U rtl/openbsd/x86_64/cprt0.as
U rtl/openbsd/x86_64/prt0.as

# revisions: 23685
r23685 | pierre | 2013-03-03 22:18:20 +0100 (Sun, 03 Mar 2013) | 1 line
Changed paths:
M /trunk/rtl/openbsd/i386/cprt0.as
M /trunk/rtl/openbsd/i386/prt0.as
M /trunk/rtl/openbsd/x86_64/cprt0.as
M /trunk/rtl/openbsd/x86_64/prt0.as

+ Add .note.openbsd.ident section, contributed by Pascal Stumpf

git-svn-id: branches/fixes_2_6@23687 -

marco 12 years ago
parent
commit
be4495613a

+ 8 - 0
rtl/openbsd/i386/cprt0.as

@@ -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"
 	.file	"crt0.c"
 gcc2_compiled.:
 gcc2_compiled.:
 .data
 .data

+ 8 - 0
rtl/openbsd/i386/prt0.as

@@ -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"
 	.file	"crt0.c"
 gcc2_compiled.:
 gcc2_compiled.:
 .data
 .data

+ 8 - 0
rtl/openbsd/x86_64/cprt0.as

@@ -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"
 	.file	"crt0.c"
 	.globl	__progname
 	.globl	__progname
 	.section	.rodata
 	.section	.rodata

+ 8 - 0
rtl/openbsd/x86_64/prt0.as

@@ -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"
 	.file	"crt0.c"
 	.globl	__progname
 	.globl	__progname
 	.section	.rodata
 	.section	.rodata