crypto: LLVMLinux: aligned-attribute.patch
authorMark Charlebois <charlebm@gmail.com>
Tue, 20 Nov 2012 20:18:16 +0000 (21:18 +0100)
committerBehan Webster <behanw@converseincode.com>
Sat, 7 Jun 2014 18:44:39 +0000 (11:44 -0700)
__attribute__((aligned)) applies the default alignment for the largest scalar
type for the target ABI. gcc allows it to be applied inline to a defined type.
Clang only allows it to be applied to a type definition (PR11071).

Making it into 2 lines makes it more readable and works with both compilers.

Author: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Behan Webster <behanw@converseincode.com>
crypto/shash.c

diff --cc crypto/shash.c
Simple merge