summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2013-06-10 17:35:33 -0400
committerPeter Jones <pjones@redhat.com>2013-06-10 17:35:33 -0400
commit6b4255de1203320a5a71f27b08e8e782d04c461c (patch)
tree05966fd3080e92096a749692b98402c68f0aa358
parent1de10962e795d09981007a582fdaf1b859c368fe (diff)
downloadefi-boot-shim-6b4255de1203320a5a71f27b08e8e782d04c461c.tar.gz
efi-boot-shim-6b4255de1203320a5a71f27b08e8e782d04c461c.zip
vendor_cert_size's size in the binary should be 4, not -4.
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>
-rw-r--r--cert.S2
-rw-r--r--dbx.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/cert.S b/cert.S
index 7f89029e..70b9c3f2 100644
--- 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 a26fc387..03db1aee 100644
--- 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: