summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-08-11 20:13:31 +0200
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-08-12 09:05:01 +0200
commit82df618711c596d3b6164e790572c795b7ea4dcc (patch)
tree1b1cb8623ab9dee14fca1c9941db7b92c2e90717 /ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c
parentd977ba44066e49e466f0505b010cfffaf6d38b12 (diff)
downloadedk2-platforms-82df618711c596d3b6164e790572c795b7ea4dcc.tar.xz
MdePkg RVCT: add definition of UNREACHABLE
The RVCT compiler in --gnu mode appears to simply strip of the __builtin prefix when it encounters calls to __builtin_xxx() functions, and so the __builtin_unreachable() we emit for GCC results in linker errors regarding undefined references against 'unreachable()'. So define UNREACHABLE() to a NOP instead. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c')
0 files changed, 0 insertions, 0 deletions