coreboot/src
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
..
arch ARM: Tell the linker memset and memcpy are functions. 2013-07-10 21:49:45 +02:00
console ARM: Separate the early console (romstage) from the bootblock console. 2013-07-10 21:47:52 +02:00
cpu ARM: Separate the early console (romstage) from the bootblock console. 2013-07-10 21:47:52 +02:00
device device: Fix spelling 2013-07-10 20:17:25 +02:00
drivers drivers: Fix spelling 2013-07-10 20:18:15 +02:00
ec ec: Reserve correct ioport regions for Chrome OS EC to use 2013-07-10 21:45:11 +02:00
include ARM: Separate the early console (romstage) from the bootblock console. 2013-07-10 21:47:52 +02:00
lib Drop ELF remains from boot code 2013-07-10 21:43:55 +02:00
mainboard ARM: Separate the early console (romstage) from the bootblock console. 2013-07-10 21:47:52 +02:00
northbridge Rename hardwaremain() to main() 2013-07-10 02:40:30 +02:00
southbridge Drop some duplicates of PCI-e config functions 2013-07-10 01:24:42 +02:00
superio w83627hf/acpi: Fix endianess error in floppy drive enumeration code 2013-07-10 02:54:01 +02:00
vendorcode amd/agesa/f15/Lib/amdlib.c: Add missing breaks to switch statement 2013-06-28 01:35:20 +02:00
Kconfig Yabel : Add tracing option needed by i915tool. 2013-06-04 22:57:26 +02:00