瀏覽代碼

* changed all version numbers to 900044 for freebsd 9. Expanded script to deal with
all its incarnations.

git-svn-id: trunk@22868 -

marco 12 年之前
父節點
當前提交
4d6b9540dd

+ 2 - 1
rtl/freebsd/i386/gprt0.as

@@ -30,7 +30,8 @@ abitag:
 	.long 4
 	.long 1
 	.byte	 0x46,0x72,0x65,0x65,0x42,0x53,0x44,0x0
-	.long 470000
+	.long	900044
+
 .globl __progname
 	.section	.rodata
 .LC0:

+ 5 - 0
rtl/freebsd/i386/identpatch.sh

@@ -5,3 +5,8 @@ rm elfversion
 echo Patching cprt0.as with version $IDVERSION
 
 sed -I.sav -es/900044/$IDVERSION/ cprt0.as
+sed -I.sav -es/900044/$IDVERSION/ dllprt0.as
+sed -I.sav -es/900044/$IDVERSION/ prt0.as
+sed -I.sav -es/900044/$IDVERSION/ si_c.inc
+sed -I.sav -es/900044/$IDVERSION/ si_prc.inc
+

+ 2 - 1
rtl/freebsd/i386/si_crt.inc

@@ -157,7 +157,8 @@ abitag:
         .long   4
         .long   1
         .string "FreeBSD"
-        .long   700055
+	.long	900044
+
 
 .LErrorcode:
          mov %eax,%ebx

+ 1 - 1
rtl/freebsd/x86_64/dllprt0.as

@@ -37,7 +37,7 @@ abitag:
 	.long	4
 	.long	1
 	.string	"FreeBSD"
-	.long	700055
+	.long	900044
 
 	.text
 #APP

+ 2 - 1
rtl/freebsd/x86_64/prt0.as

@@ -11,7 +11,8 @@ abitag:
 	.long	4
 	.long	1
 	.string	"FreeBSD"
-	.long	700055
+	.long	900044
+
 	.section	.rodata
 .LC0:
 	.string	""

+ 1 - 1
rtl/freebsd/x86_64/si_c.inc

@@ -76,7 +76,7 @@ begin
     .long  1
     .asciz "FreeBSD"
     .align 4
-    .long 700055
+    .long	900044
     .align 4
     .section	.note.GNU-stack,"",@progbits
   end;