forked from aws/aws-lc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the clang-6 bcm-delocated.S directive behavior for start/end sym…
…bols dynamic (aws#1456) * Revert "Fix Clang-6 FIPS static build issue (aws#1424)" This reverts commit f618701. * Make start/end BCM symbol directives optional via delocator flag * CMake compiler detection for Clang ASM is silly
- Loading branch information
Showing
20 changed files
with
164 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
util/fipstools/delocate/testdata/generic-FileDirectives-no-start-end/in.s
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.file 10 "some/path/file.c" "file.c" | ||
.file 1000 "some/path/file2.c" "file2.c" | ||
.file 1001 "some/path/file_with_md5.c" "other_name.c" md5 0x5eba7844df6449a7f2fff1556fe7ba8d239f8e2f | ||
|
||
# An instruction is needed to satisfy the architecture auto-detection. | ||
movq %rax, %rbx |
51 changes: 51 additions & 0 deletions
51
util/fipstools/delocate/testdata/generic-FileDirectives-no-start-end/out.s
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
.text | ||
BORINGSSL_bcm_text_start: | ||
.file 10 "some/path/file.c" "file.c" | ||
.file 1000 "some/path/file2.c" "file2.c" | ||
.file 1001 "some/path/file_with_md5.c" "other_name.c" md5 0x5eba7844df6449a7f2fff1556fe7ba8d239f8e2f | ||
|
||
# An instruction is needed to satisfy the architecture auto-detection. | ||
movq %rax, %rbx | ||
.text | ||
BORINGSSL_bcm_text_end: | ||
.type OPENSSL_ia32cap_get, @function | ||
.globl OPENSSL_ia32cap_get | ||
.LOPENSSL_ia32cap_get_local_target: | ||
OPENSSL_ia32cap_get: | ||
leaq OPENSSL_ia32cap_P(%rip), %rax | ||
ret | ||
.type BORINGSSL_bcm_text_hash, @object | ||
.size BORINGSSL_bcm_text_hash, 32 | ||
BORINGSSL_bcm_text_hash: | ||
.byte 0xae | ||
.byte 0x2c | ||
.byte 0xea | ||
.byte 0x2a | ||
.byte 0xbd | ||
.byte 0xa6 | ||
.byte 0xf3 | ||
.byte 0xec | ||
.byte 0x97 | ||
.byte 0x7f | ||
.byte 0x9b | ||
.byte 0xf6 | ||
.byte 0x94 | ||
.byte 0x9a | ||
.byte 0xfc | ||
.byte 0x83 | ||
.byte 0x68 | ||
.byte 0x27 | ||
.byte 0xcb | ||
.byte 0xa0 | ||
.byte 0xa0 | ||
.byte 0x9f | ||
.byte 0x6b | ||
.byte 0x6f | ||
.byte 0xde | ||
.byte 0x52 | ||
.byte 0xcd | ||
.byte 0xe2 | ||
.byte 0xcd | ||
.byte 0xff | ||
.byte 0x31 | ||
.byte 0x80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.