libpayload: Turn on thumb interworking in libpayload.
Things work better with it turned on, and the overhead should be negligable. Built and booted into depthcharge on Snow. Verified that calling between various bits of thumb and ARM code worked correctly. Change-Id: I08d1006e113d2cca08634bf19240aca138a449d9 Signed-off-by: Gabe Black <gabeblack@google.com> Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-on: http://review.coreboot.org/2567 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
9907c6edeb
commit
c8e4284acb
|
@ -109,11 +109,9 @@ detect_special_flags() {
|
|||
arm )
|
||||
# testcc "$CC" "$CFLAGS -mcpu=cortex-a9" &&
|
||||
# CFLAGS="$CFLAGS -mcpu=cortex-a9"
|
||||
testcc "$CC" "\
|
||||
$CFLAGS -ffixed-r8 -msoft-float -marm -mabi=aapcs-linux \
|
||||
-mno-thumb-interwork -march=armv7 -mno-thumb-interwork" && CFLAGS="\
|
||||
$CFLAGS -ffixed-r8 -msoft-float -marm -mabi=aapcs-linux \
|
||||
-mno-thumb-interwork -march=armv7 -mno-thumb-interwork"
|
||||
testcc "$CC" \
|
||||
"$CFLAGS -ffixed-r8 -msoft-float -marm -mabi=aapcs-linux -march=armv7" &&
|
||||
CFLAGS="$CFLAGS -ffixed-r8 -msoft-float -marm -mabi=aapcs-linux -march=armv7"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue