Browse Source

* prt0 for x86_64

marcoonthegit 3 years ago
parent
commit
4118173e1d
1 changed files with 9 additions and 4 deletions
  1. 9 4
      rtl/freebsd/x86_64/prt0.as

+ 9 - 4
rtl/freebsd/x86_64/prt0.as

@@ -2,16 +2,21 @@
 #APP
 #APP
 	.ident	"$FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4 2003/10/17 15:43:13 peter Exp $"
 	.ident	"$FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4 2003/10/17 15:43:13 peter Exp $"
 #NO_APP
 #NO_APP
-	.section	.note.ABI-tag,"a",@progbits
-	.p2align 2
+	.section	.note.tag,"a",@note
+	.align 4
 	.type	abitag, @object
 	.type	abitag, @object
-	.size	abitag, 24
+	.size	abitag, 48
 abitag:
 abitag:
 	.long	8
 	.long	8
 	.long	4
 	.long	4
 	.long	1
 	.long	1
 	.string	"FreeBSD"
 	.string	"FreeBSD"
-	.long	900044
+	.long	1201000
+        .long   8
+        .long   4
+        .long   1
+	.string	"FreeBSD"
+        .long   0
 
 
 	.section	.rodata
 	.section	.rodata
 .LC0:
 .LC0: