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

all its incarnations.

git-svn-id: trunk@22868 -
This commit is contained in:
marco 2012-10-28 20:02:00 +00:00
parent 3d0dd28350
commit 4d6b9540dd
6 changed files with 13 additions and 5 deletions

View File

@ -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:

View File

@ -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

View File

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

View File

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

View File

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

View File

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