diff options
author | Gabe Black <gabeblack@google.com> | 2012-09-27 17:39:41 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-11-07 18:30:56 +0100 |
commit | c324794cb09d0c6495992c9f6cece6e4c67f8c9f (patch) | |
tree | 19bd0320d0e71b3edc095b09278d6dfb5fbbf7b0 /payloads/libpayload/arch | |
parent | 5ab20054d3c6e637fbcde46a08d2a3c0891bf658 (diff) | |
download | coreboot-c324794cb09d0c6495992c9f6cece6e4c67f8c9f.tar.xz |
libpayload: Make the symbols in memory.c weak so they can be overridden.
The implementations for various stdlib functions in libc/memory.c are very
generic and should work under just about any circumstances. They are
unfortunately also very slow. This change makes them weak symbols so that
faster versions can be defined on a per architecture basis which will
automatically take the place of the slow versions.
Change-Id: Ia1ac90d9dcd45962b2a15f61ecc74b0a4676048d
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/1725
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads/libpayload/arch')
0 files changed, 0 insertions, 0 deletions