diff --git a/util/fipstools/testdata/x86_64-GOTRewrite/in.s b/util/fipstools/testdata/x86_64-GOTRewrite/in.s index 3b7bbfbf4..9b4b201d1 100644 --- a/util/fipstools/testdata/x86_64-GOTRewrite/in.s +++ b/util/fipstools/testdata/x86_64-GOTRewrite/in.s @@ -26,6 +26,9 @@ foo: movsd foo@GOTPCREL(%rip), %xmm0 vmovsd foo@GOTPCREL(%rip), %xmm0 + # movsd without arguments should be left as-is. + movsd + # Synthesized symbols do not use the GOT. movq BORINGSSL_bcm_text_start@GOTPCREL(%rip), %r11 movq foobar_bss_get@GOTPCREL(%rip), %r11 diff --git a/util/fipstools/testdata/x86_64-GOTRewrite/out.s b/util/fipstools/testdata/x86_64-GOTRewrite/out.s index 68666237e..0e07721ed 100644 --- a/util/fipstools/testdata/x86_64-GOTRewrite/out.s +++ b/util/fipstools/testdata/x86_64-GOTRewrite/out.s @@ -113,6 +113,9 @@ foo: popq %rax leaq 128(%rsp), %rsp + # movsd without arguments should be left as-is. + movsd + # Synthesized symbols do not use the GOT. # WAS movq BORINGSSL_bcm_text_start@GOTPCREL(%rip), %r11 leaq BORINGSSL_bcm_text_start(%rip), %r11