summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.nasm
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-10-17 14:54:24 +0800
committerHao Wu <hao.a.wu@intel.com>2016-10-18 20:12:39 +0800
commitbfa97024df7c0c4bd94157a1e9c3eb5e89cba656 (patch)
tree6026684fa12234966ed1fd50085578daecf231e4 /MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.nasm
parentd4a9b90fa7179f1c8c58c601160acf9ffc98f321 (diff)
downloadedk2-bfa97024df7c0c4bd94157a1e9c3eb5e89cba656.tar.gz
edk2-bfa97024df7c0c4bd94157a1e9c3eb5e89cba656.tar.bz2
edk2-bfa97024df7c0c4bd94157a1e9c3eb5e89cba656.zip
MdePkg/BaseLib: Remove the unnecessary '_' before library APIs in ASM/NASM
The leading underscore (i.e. '_') before the names of some BaseLib library API in ASM/NASM files is unnecessary. It will cause link error with GCC tool chains. Cc: Liming Gao <liming.gao@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.nasm')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.nasm6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.nasm b/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.nasm
index fb1dd2e47f..b8ae0f9cf0 100644
--- a/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.nasm
+++ b/MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.nasm
@@ -1,5 +1,5 @@
;------------------------------------------------------------------------------ ;
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
+; Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. The full text of the license may be found at
@@ -29,8 +29,8 @@
; VOID
; );
;------------------------------------------------------------------------------
-global ASM_PFX(_CpuBreakpoint)
-ASM_PFX(_CpuBreakpoint):
+global ASM_PFX(CpuBreakpoint)
+ASM_PFX(CpuBreakpoint):
int 3
ret