Update delocate tests

I broke the delocate tests with 27ffcc6e19 because that change
switched the integrity check hash function in the tested configuration
to SHA-256, but didn't update the expectation files.

Change-Id: I05f61eda795c833847981c5b21287fd0d2b33064
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/52405
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
fips-20220613
Adam Langley 3 years ago committed by Boringssl LUCI CQ
parent 8b988b8b8d
commit 9a836f7840
  1. 34
      util/fipstools/delocate/testdata/aarch64-Basic/out.s
  2. 34
      util/fipstools/delocate/testdata/generic-FileDirectives/out.s
  3. 34
      util/fipstools/delocate/testdata/ppc64le-GlobalEntry/out.s
  4. 34
      util/fipstools/delocate/testdata/ppc64le-LoadToR0/out.s
  5. 34
      util/fipstools/delocate/testdata/ppc64le-Sample/out.s
  6. 34
      util/fipstools/delocate/testdata/ppc64le-Sample2/out.s
  7. 34
      util/fipstools/delocate/testdata/ppc64le-TOCWithOffset/out.s
  8. 34
      util/fipstools/delocate/testdata/x86_64-BSS/out.s
  9. 34
      util/fipstools/delocate/testdata/x86_64-Basic/out.s
  10. 34
      util/fipstools/delocate/testdata/x86_64-GOTRewrite/out.s
  11. 34
      util/fipstools/delocate/testdata/x86_64-LabelRewrite/out.s
  12. 34
      util/fipstools/delocate/testdata/x86_64-LargeMemory/out.s
  13. 34
      util/fipstools/delocate/testdata/x86_64-Sections/out.s
  14. 34
      util/fipstools/delocate/testdata/x86_64-ThreeArg/out.s

@ -145,7 +145,7 @@ bss_symbol_bss_get:
.cfi_endproc .cfi_endproc
.size .LOPENSSL_armcap_P_addr, .-.LOPENSSL_armcap_P_addr .size .LOPENSSL_armcap_P_addr, .-.LOPENSSL_armcap_P_addr
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -179,35 +179,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -23,7 +23,7 @@ OPENSSL_ia32cap_get:
OPENSSL_ia32cap_addr_delta: OPENSSL_ia32cap_addr_delta:
.quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta .quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -57,35 +57,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -26,7 +26,7 @@ BORINGSSL_bcm_text_end:
.LBORINGSSL_external_toc: .LBORINGSSL_external_toc:
.quad .TOC.-.LBORINGSSL_external_toc .quad .TOC.-.LBORINGSSL_external_toc
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -60,35 +60,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -36,7 +36,7 @@ bcm_loadtoc_bar:
.LBORINGSSL_external_toc: .LBORINGSSL_external_toc:
.quad .TOC.-.LBORINGSSL_external_toc .quad .TOC.-.LBORINGSSL_external_toc
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -70,35 +70,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -516,7 +516,7 @@ bcm_loadtoc__dot_LkString_local_target:
.LBORINGSSL_external_toc: .LBORINGSSL_external_toc:
.quad .TOC.-.LBORINGSSL_external_toc .quad .TOC.-.LBORINGSSL_external_toc
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -550,35 +550,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -641,7 +641,7 @@ bcm_loadtoc__dot_Lfunction_local_target:
.LBORINGSSL_external_toc: .LBORINGSSL_external_toc:
.quad .TOC.-.LBORINGSSL_external_toc .quad .TOC.-.LBORINGSSL_external_toc
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -675,35 +675,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -142,7 +142,7 @@ bcm_loadtoc__dot_Lfoo_local_target__minus_10:
.LBORINGSSL_external_toc: .LBORINGSSL_external_toc:
.quad .TOC.-.LBORINGSSL_external_toc .quad .TOC.-.LBORINGSSL_external_toc
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -176,35 +176,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -77,7 +77,7 @@ OPENSSL_ia32cap_get:
OPENSSL_ia32cap_addr_delta: OPENSSL_ia32cap_addr_delta:
.quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta .quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -111,35 +111,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -71,7 +71,7 @@ OPENSSL_ia32cap_get:
OPENSSL_ia32cap_addr_delta: OPENSSL_ia32cap_addr_delta:
.quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta .quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -105,35 +105,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -303,7 +303,7 @@ OPENSSL_ia32cap_get:
OPENSSL_ia32cap_addr_delta: OPENSSL_ia32cap_addr_delta:
.quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta .quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -337,35 +337,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -113,7 +113,7 @@ OPENSSL_ia32cap_get:
OPENSSL_ia32cap_addr_delta: OPENSSL_ia32cap_addr_delta:
.quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta .quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -147,35 +147,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -59,7 +59,7 @@ OPENSSL_ia32cap_addr_delta:
.Lboringssl_gotoff__Z1gv: .Lboringssl_gotoff__Z1gv:
.quad _Z1gv@GOTOFF .quad _Z1gv@GOTOFF
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -93,35 +93,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -59,7 +59,7 @@ OPENSSL_ia32cap_get:
OPENSSL_ia32cap_addr_delta: OPENSSL_ia32cap_addr_delta:
.quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta .quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -93,35 +93,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

@ -46,7 +46,7 @@ OPENSSL_ia32cap_get:
OPENSSL_ia32cap_addr_delta: OPENSSL_ia32cap_addr_delta:
.quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta .quad OPENSSL_ia32cap_P-OPENSSL_ia32cap_addr_delta
.type BORINGSSL_bcm_text_hash, @object .type BORINGSSL_bcm_text_hash, @object
.size BORINGSSL_bcm_text_hash, 64 .size BORINGSSL_bcm_text_hash, 32
BORINGSSL_bcm_text_hash: BORINGSSL_bcm_text_hash:
.byte 0xae .byte 0xae
.byte 0x2c .byte 0x2c
@ -80,35 +80,3 @@ BORINGSSL_bcm_text_hash:
.byte 0xff .byte 0xff
.byte 0x31 .byte 0x31
.byte 0x80 .byte 0x80
.byte 0xa2
.byte 0xd4
.byte 0xc3
.byte 0x66
.byte 0xf
.byte 0xc2
.byte 0x6a
.byte 0x7b
.byte 0xf4
.byte 0xbe
.byte 0x39
.byte 0xa2
.byte 0xd7
.byte 0x25
.byte 0xdb
.byte 0x21
.byte 0x98
.byte 0xe9
.byte 0xd5
.byte 0x53
.byte 0xbf
.byte 0x5c
.byte 0x32
.byte 0x6
.byte 0x83
.byte 0x34
.byte 0xc
.byte 0x65
.byte 0x89
.byte 0x52
.byte 0xbd
.byte 0x1f

Loading…
Cancel
Save