Permalink
Browse files

Fix data alignment on vendor_cert so we don't wind up with padding.

  • Loading branch information...
1 parent 07c21a1 commit bcd0a4e8df98f26b726fa9a18ad37b4bca16a285 @vathpela vathpela committed Sep 6, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 cert.S
View
@@ -1,19 +1,19 @@
#if defined(VENDOR_CERT_FILE)
+ .globl vendor_cert_size
+ .data
+ .align 1
+ .type vendor_cert_size, @object
+ .size vendor_cert_size, 4
+vendor_cert_size:
+ .long .L0 - vendor_cert
.globl vendor_cert
.data
- .align 16
+ .align 1
.type vendor_cert, @object
.size vendor_cert_size, vendor_cert_size-vendor_cert
vendor_cert:
.incbin VENDOR_CERT_FILE
-
- .globl vendor_cert_size
- .data
- .align 16
- .type vendor_cert_size, @object
- .size vendor_cert_size, 4
-vendor_cert_size:
- .long vendor_cert_size - vendor_cert
+.L0:
#else
.globl vendor_cert
.bss

0 comments on commit bcd0a4e

Please sign in to comment.