Skip to content

Commit

Permalink
Musl generate
Browse files Browse the repository at this point in the history
Signed-off-by: Kemal Akkoyun <[email protected]>
  • Loading branch information
kakkoyun committed Feb 25, 2024
1 parent 52db8d1 commit 1ab4299
Show file tree
Hide file tree
Showing 13 changed files with 44 additions and 12 deletions.
4 changes: 3 additions & 1 deletion pkg/libc/musl/layout/amd64/1.1.11 - 1.1.15.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pthread_key_data: 8
pthread_key_data_size: 16
pthread_size: 336
pthread_tsd: 152
pthread_specific_1stblock: 152
4 changes: 3 additions & 1 deletion pkg/libc/musl/layout/amd64/1.1.16 - 1.1.19.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pthread_key_data: 8
pthread_key_data_size: 16
pthread_size: 280
pthread_tsd: 152
pthread_specific_1stblock: 152
4 changes: 3 additions & 1 deletion pkg/libc/musl/layout/amd64/1.1.22 - 1.1.24.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pthread_key_data: 8
pthread_key_data_size: 16
pthread_size: 224
pthread_tsd: 136
pthread_specific_1stblock: 136
4 changes: 3 additions & 1 deletion pkg/libc/musl/layout/amd64/1.2.2 - 1.2.4.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pthread_key_data: 8
pthread_key_data_size: 16
pthread_size: 200
pthread_tsd: 128
pthread_specific_1stblock: 128
4 changes: 3 additions & 1 deletion pkg/libc/musl/layout/amd64/= 1.1.20.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pthread_key_data: 8
pthread_key_data_size: 16
pthread_size: 240
pthread_tsd: 152
pthread_specific_1stblock: 152
4 changes: 3 additions & 1 deletion pkg/libc/musl/layout/amd64/= 1.1.4.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pthread_key_data: 8
pthread_key_data_size: 16
pthread_size: 288
pthread_tsd: 144
pthread_specific_1stblock: 144
4 changes: 3 additions & 1 deletion pkg/libc/musl/layout/amd64/= 1.1.5.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pthread_key_data: 8
pthread_key_data_size: 16
pthread_size: 296
pthread_tsd: 144
pthread_specific_1stblock: 144
4 changes: 3 additions & 1 deletion pkg/libc/musl/layout/arm64/1.1.16 - 1.1.19.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pthread_key_data: 8
pthread_key_data_size: 16
pthread_size: 280
pthread_tsd: 152
pthread_specific_1stblock: 152
4 changes: 3 additions & 1 deletion pkg/libc/musl/layout/arm64/1.1.22 - 1.1.24.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pthread_key_data: 8
pthread_key_data_size: 16
pthread_size: 224
pthread_tsd: 136
pthread_specific_1stblock: 136
4 changes: 3 additions & 1 deletion pkg/libc/musl/layout/arm64/1.2.2 - 1.2.4.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pthread_key_data: 8
pthread_key_data_size: 16
pthread_size: 200
pthread_tsd: 112
pthread_specific_1stblock: 112
4 changes: 3 additions & 1 deletion pkg/libc/musl/layout/arm64/= 1.1.15.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pthread_key_data: 8
pthread_key_data_size: 16
pthread_size: 336
pthread_tsd: 152
pthread_specific_1stblock: 152
4 changes: 3 additions & 1 deletion pkg/libc/musl/layout/arm64/= 1.1.20.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pthread_key_data: 8
pthread_key_data_size: 16
pthread_size: 240
pthread_tsd: 152
pthread_specific_1stblock: 152
8 changes: 8 additions & 0 deletions pkg/libc/musl/musl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ func Test_getLayoutForArch(t *testing.T) {
want: &libc.Layout{
PThreadSize: 200,
PThreadSpecific1stblock: 128,
PThreadKeyData: 8,
PThreadKeyDataSize: 16,
},
},
{
Expand All @@ -32,6 +34,8 @@ func Test_getLayoutForArch(t *testing.T) {
want: &libc.Layout{
PThreadSize: 200,
PThreadSpecific1stblock: 112,
PThreadKeyData: 8,
PThreadKeyDataSize: 16,
},
},
{
Expand All @@ -41,6 +45,8 @@ func Test_getLayoutForArch(t *testing.T) {
want: &libc.Layout{
PThreadSize: 280,
PThreadSpecific1stblock: 152,
PThreadKeyData: 8,
PThreadKeyDataSize: 16,
},
},
{
Expand All @@ -50,6 +56,8 @@ func Test_getLayoutForArch(t *testing.T) {
want: &libc.Layout{
PThreadSize: 280,
PThreadSpecific1stblock: 152,
PThreadKeyData: 8,
PThreadKeyDataSize: 16,
},
},
}
Expand Down

0 comments on commit 1ab4299

Please sign in to comment.