armv7: mark EABI compatibility symbols as used
commitd96541f3fc934fa27b800a07ccf0597bd5a80dd5
authorStefan Reinauer <reinauer@chromium.org>
Tue, 10 Sep 2013 18:02:58 +0000 (10 11:02 -0700)
committerIsaac Christensen <isaac.christensen@se-eng.com>
Thu, 14 Aug 2014 21:40:40 +0000 (14 23:40 +0200)
tree640a99f30fa110e37bbbadcd345b85f607e2487d
parent509c37e7507c6d68019abb096df0374858f541f5
armv7: mark EABI compatibility symbols as used

These symbols are not used anywhere in our C code, so
when using GCC's link time optimization feature they
will be dropped even though they're needed by libgcc.
Hence we need to mark them as used so GCC does not stumble
and fall over its own guts.

Change-Id: Ib2e9ea2610b57ab8244d5b699dd56025a4f08a01
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: https://chromium-review.googlesource.com/168773
(cherry picked from commit 416ffc880bcf4122b5430fbd9d9547c83886af2f)
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6640
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
src/arch/armv7/eabi_compat.c