coreboot-kgpe-d16/payloads/libpayload/arch/armv7
Gabe Black 001056f560 ARM: Tell the linker memset and memcpy are functions.
The memset and memcpy functions are assembled as ARM code, likely because
that's the default of the assembler. Without special annotation, the assembler
and linker don't know that those symbols are functions which need special
handling so that ARM/thumb issues are handled properly. This change adds that
annotation which gets those functions working in Coreboot which is compiled as
thumb. Libpayload and depthcharge are compiled as ARM so they don't *need* the
annotation since it just works out in ARM mode, but it's the safe thing to do
in case we change that in the future.

We should explicitly select ARM vs. thumb when assembling assembly files to be
consistent across builds and toolchains.

Change-Id: I814b137064cf46ae9e2744ff6c223b695dc1ef01
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/3672
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2013-07-10 21:49:45 +02:00
..
Config.in libpayload: Fix license headers 2013-02-20 02:41:24 +01:00
Makefile.inc armv7: import new cache maintenance API from coreboot 2013-03-30 19:48:42 +01:00
assembler.h libpayload: Initial ARMv7 port 2012-12-14 22:29:48 +01:00
cache.c armv7: import updated cache/MMU stuff from coreboot 2013-03-30 19:48:52 +01:00
coreboot.c libpayload: Add comments on virtual pointers in lib_sysinfo 2013-03-22 16:20:08 +01:00
exception.c libpayload: Don't declare the loop counter within the for loop 2013-03-14 01:42:52 +01:00
exception_asm.S libpayload: Catch exceptions and print out an error message. 2013-03-04 22:39:09 +01:00
head.S libpayload: Move over to the payload's stack during startup 2013-03-13 23:41:23 +01:00
libpayload.ldscript libpayload: add a ldscript for arm 2013-02-15 01:13:11 +01:00
main.c libpayload: Catch exceptions and print out an error message. 2013-03-04 22:39:09 +01:00
memcpy.S ARM: Tell the linker memset and memcpy are functions. 2013-07-10 21:49:45 +02:00
memset.S ARM: Tell the linker memset and memcpy are functions. 2013-07-10 21:49:45 +02:00
sysinfo.c libpayload: Initial ARMv7 port 2012-12-14 22:29:48 +01:00
timer.c libpayload: Generalize and redistribute timekeeping code 2013-03-14 04:53:33 +01:00
util.S libpayload: Mark "halt" as a function. 2013-03-01 16:49:41 +01:00
virtual.c libpayload: Initial ARMv7 port 2012-12-14 22:29:48 +01:00