audk/MdePkg/Library/BaseMemoryLibOptDxe/Arm
Ard Biesheuvel decaac5d0d MdePkg/BaseMemoryLibOptDxe ARM: add missing function annotations
ARM uses the low order bit of a branch target address to decide in
which execution mode (ARM or Thumb) a function needs to be called.
In order for this to work across object files, ELF function symbols
will have the low bit set if they were emitted in Thumb mode and
cleared otherwise. This annotation is only emitted if the ELF symbols
are annotated as function, since taking the address of some data
symbol (e.g., a literal) should not produce a value with the low bit
set, even if it appears in an object file containing Thumb code.

This means that all functions coded in assembler must have this
function annotation, or they may end up getting called in the
wrong mode, crashing the program.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-12-13 12:45:49 +01:00
..
CompareGuid.S MdePkg/BaseMemoryLibOptDxe ARM: add missing function annotations 2018-12-13 12:45:49 +01:00
CompareGuid.asm MdePkg/BaseMemoryLibOptDxe ARM|AARCH64: implement accelerated GUID functions 2016-09-21 08:43:17 +01:00
CompareMem.S MdePkg/BaseMemoryLibOptDxe ARM: add missing function annotations 2018-12-13 12:45:49 +01:00
CompareMem.asm
CopyMem.S MdePkg/BaseMemoryLibOptDxe ARM: add missing function annotations 2018-12-13 12:45:49 +01:00
CopyMem.asm
MemLibGuid.c MdePkg BaseMemoryLibOptDxe: Add function comment for InternalMemCompareGuid 2016-10-25 11:54:08 +08:00
ScanMem.S MdePkg/BaseMemoryLibOptDxe: replace deprecated uses of IT blocks 2016-09-27 09:12:14 -07:00
ScanMem.asm
ScanMemGeneric.c
SetMem.S MdePkg/BaseMemoryLibOptDxe ARM: add missing function annotations 2018-12-13 12:45:49 +01:00
SetMem.asm MdePkg/BaseMemoryLibOptDxe ARM AARCH64: fix thinko in SetMem## 2016-09-23 11:50:51 +01:00