Commit [d002d5] Maximize Restore History

ARM: mark direct_syscall as a FUNC

direct_syscall is ARM state assembler. If libhugetlbfs is compiled for
the Thumb state it does not currently change execution states when it
calls direct_syscall, leading to unpredictable behaviour.

This patch marks direct_syscall as a FUNC, which enables the ARM/Thumb
state interworking; resulting in a BLX to direct_syscall where
necessary.

Signed-off-by: Steve Capper <steve.capper@linaro.org>
Signed-off-by: Eric B Munson <emunson@mgebm.net>

Steve Capper Steve Capper 2014-02-20

Eric B Munson Eric B Munson 2014-02-23

changed sys-armelf_linux_eabi.S
sys-armelf_linux_eabi.S Diff Switch to side-by-side view
Loading...