]> git.proxmox.com Git - efi-boot-shim.git/commitdiff
vendor_cert_size's size in the binary should be 4, not -4.
authorPeter Jones <pjones@redhat.com>
Wed, 20 Mar 2013 17:16:08 +0000 (13:16 -0400)
committerPeter Jones <pjones@redhat.com>
Mon, 10 Jun 2013 21:35:33 +0000 (17:35 -0400)
The thing about subtraction is that the minuend needs to be before the
subtrahend in the text.

Signed-off-by: Peter Jones <pjones@redhat.com>
cert.S
dbx.S

diff --git a/cert.S b/cert.S
index 7f89029e8203316d89467480ba1c1d28ce2ce470..70b9c3f2ae903b2003a7982276d1bac12c0f2a7a 100644 (file)
--- a/cert.S
+++ b/cert.S
@@ -10,7 +10,7 @@ vendor_cert_size:
        .data
        .align  1
        .type   vendor_cert, @object
-       .size   vendor_cert_size, vendor_cert_size-vendor_cert
+       .size   vendor_cert, .L0-vendor_cert
 vendor_cert:
 .incbin VENDOR_CERT_FILE
 .L0:
diff --git a/dbx.S b/dbx.S
index a26fc3874333640f2c6496e614157aaa67386e0b..03db1aeec76e8196a20ca367c561ec1af030a90e 100644 (file)
--- a/dbx.S
+++ b/dbx.S
@@ -10,7 +10,7 @@ vendor_dbx_size:
        .data
        .align  1
        .type   vendor_dbx, @object
-       .size   vendor_dbx_size, vendor_dbx_size-vendor_dbx
+       .size   vendor_dbx, .L0-vendor_dbx
 vendor_dbx:
 .incbin VENDOR_DBX_FILE
 .L0: