Add -mstackrealign option to ix86 build
To support compilation with SSE instuctions(that are requires 16-alinging)
applying -mstackrealign is perfectly fine, the %ebp will be 16-aligned in the
function prologue.
According to definition on "Intel 386 and AMD x86-64 Options":
Realign the stack at entry. On the Intel x86, the -mstackrealign option
will generate an alternate prologue and epilogue that realigns the
runtime stack if necessary. This supports mixing legacy codes that keep
a 4-byte aligned stack with modern codes that keep a 16-byte stack for
SSE compatibility. See also the attribute force_align_arg_pointer,
applicable to individual functions.
Change-Id: Ifd4fdd397e7911148bbad6c3b53f993ccd14cc06
Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>