Replace .global with .globl to solve compatibility issues.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1786 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2006-10-18 03:48:37 +00:00
parent a753ec90e8
commit 1cb5cfc184
6 changed files with 36 additions and 36 deletions

View File

@ -26,7 +26,7 @@
// //
// Exports // Exports
// //
.global GetEsalEntryPoint .globl GetEsalEntryPoint
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

View File

@ -11,11 +11,11 @@
#* #*
#****************************************************************************** #******************************************************************************
.global _OrigVector .globl _OrigVector
.global _InterruptEntryStub .globl _InterruptEntryStub
.global _StubSize .globl _StubSize
.global _CommonIdtEntry .globl _CommonIdtEntry
.global _FxStorSupport .globl _FxStorSupport
_AppEsp: .long 0x11111111 # ? _AppEsp: .long 0x11111111 # ?
_DebugEsp: .long 0x22222222 # ? _DebugEsp: .long 0x22222222 # ?
@ -25,7 +25,7 @@ _Eflags: .long 0x55555555 # ?
_OrigVector: .long 0x66666666 # ? _OrigVector: .long 0x66666666 # ?
_StubSize: .long _InterruptEntryStubEnd - _InterruptEntryStub _StubSize: .long _InterruptEntryStubEnd - _InterruptEntryStub
.global _FxStorSupport .globl _FxStorSupport
_FxStorSupport: _FxStorSupport:
push %ebx push %ebx
mov $0x1,%eax mov $0x1,%eax
@ -36,7 +36,7 @@ _FxStorSupport:
pop %ebx pop %ebx
ret ret
.global _GetIdtr .globl _GetIdtr
_GetIdtr: _GetIdtr:
push %ebp push %ebp
mov %esp,%ebp mov %esp,%ebp
@ -46,7 +46,7 @@ _GetIdtr:
leave leave
ret ret
.global _WriteInterruptFlag .globl _WriteInterruptFlag
_WriteInterruptFlag: _WriteInterruptFlag:
push %ebp push %ebp
mov %esp,%ebp mov %esp,%ebp
@ -63,7 +63,7 @@ _WriteInterruptFlag:
leave leave
ret ret
.global _Vect2Desc .globl _Vect2Desc
_Vect2Desc: _Vect2Desc:
push %ebp push %ebp
mov %esp,%ebp mov %esp,%ebp
@ -77,16 +77,16 @@ _Vect2Desc:
leave leave
ret ret
.global _InterruptEntryStub .globl _InterruptEntryStub
_InterruptEntryStub: _InterruptEntryStub:
mov %esp,0x0 mov %esp,0x0
mov $0x0,%esp mov $0x0,%esp
push $0x0 push $0x0
jmp _CommonIdtEntry jmp _CommonIdtEntry
.global _InterruptEntryStubEnd .globl _InterruptEntryStubEnd
_InterruptEntryStubEnd: _InterruptEntryStubEnd:
.global _CommonIdtEntry .globl _CommonIdtEntry
_CommonIdtEntry: _CommonIdtEntry:
pusha pusha
pushf pushf

View File

@ -24,10 +24,10 @@
#include "common.i" #include "common.i"
#include "Ds64Macros.i" #include "Ds64Macros.i"
.global PatchSaveBuffer .globl PatchSaveBuffer
.global IpfContextBuf .globl IpfContextBuf
.global CommonHandler .globl CommonHandler
.global ExternalInterruptCount .globl ExternalInterruptCount
///////////////////////////////////////////// /////////////////////////////////////////////
@ -38,7 +38,7 @@
// Description: // Description:
// Flushes instruction cache for specified number of bytes // Flushes instruction cache for specified number of bytes
// //
.global InstructionCacheFlush .globl InstructionCacheFlush
.proc InstructionCacheFlush .proc InstructionCacheFlush
.align 32 .align 32
InstructionCacheFlush:: InstructionCacheFlush::
@ -166,7 +166,7 @@ LoopBack: // $L143:
// Notes: // Notes:
// //
// //
.global ChainHandler .globl ChainHandler
.proc ChainHandler .proc ChainHandler
ChainHandler: ChainHandler:
@ -240,7 +240,7 @@ ChainHandlerDone:
// Notes: // Notes:
// //
// //
.global UnchainHandler .globl UnchainHandler
.proc UnchainHandler .proc UnchainHandler
UnchainHandler: UnchainHandler:
@ -673,7 +673,7 @@ SetSlotDone:
// Returns: // Returns:
// Current value if IVA // Current value if IVA
.global GetIva .globl GetIva
.proc GetIva .proc GetIva
GetIva: GetIva:
mov r8=cr2;; mov r8=cr2;;
@ -693,7 +693,7 @@ GetIva:
// Returns: // Returns:
// Previous state of psr.ic // Previous state of psr.ic
// //
.global ProgramInterruptFlags .globl ProgramInterruptFlags
.proc ProgramInterruptFlags .proc ProgramInterruptFlags
ProgramInterruptFlags: ProgramInterruptFlags:
alloc loc0=1,2,0,0;; alloc loc0=1,2,0,0;;
@ -1279,7 +1279,7 @@ EndHookHandler:
// Saves IVT index to SCRATCH_REG1 (immediate value is fixed up when code is copied // Saves IVT index to SCRATCH_REG1 (immediate value is fixed up when code is copied
// to the IVT entry. // to the IVT entry.
.global HookStub .globl HookStub
.proc HookStub .proc HookStub
HookStub: HookStub:

View File

@ -10,7 +10,7 @@
#* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#* #*
#**************************************************************************** #****************************************************************************
.global _EbcLLCALLEXNative .globl _EbcLLCALLEXNative
_EbcLLCALLEXNative: _EbcLLCALLEXNative:
push %ebp push %ebp
mov %esp,%ebp mov %esp,%ebp
@ -23,16 +23,16 @@ _EbcLLCALLEXNative:
pop %ebp pop %ebp
ret ret
.global _EbcLLGetEbcEntryPoint .globl _EbcLLGetEbcEntryPoint
_EbcLLGetEbcEntryPoint: _EbcLLGetEbcEntryPoint:
ret ret
.global _EbcLLGetStackPointer .globl _EbcLLGetStackPointer
_EbcLLGetStackPointer: _EbcLLGetStackPointer:
mov %esp,%eax mov %esp,%eax
add $0x4,%eax add $0x4,%eax
ret ret
.global _EbcLLGetReturnValue .globl _EbcLLGetReturnValue
_EbcLLGetReturnValue: _EbcLLGetReturnValue:
ret ret

View File

@ -18,7 +18,7 @@
# Generic math routines for EBC interpreter running on IA32 processor # Generic math routines for EBC interpreter running on IA32 processor
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
.global _LeftShiftU64 .globl _LeftShiftU64
_LeftShiftU64: _LeftShiftU64:
push %ebp push %ebp
mov %esp,%ebp mov %esp,%ebp
@ -43,7 +43,7 @@ _LeftShiftU64:
leave leave
ret ret
.global _RightShiftU64 .globl _RightShiftU64
_RightShiftU64: _RightShiftU64:
push %ebp push %ebp
mov %esp,%ebp mov %esp,%ebp
@ -68,7 +68,7 @@ _RightShiftU64:
leave leave
ret ret
.global _ARightShift64 .globl _ARightShift64
_ARightShift64: _ARightShift64:
push %ebp push %ebp
mov %esp,%ebp mov %esp,%ebp
@ -98,7 +98,7 @@ _ARightShift64:
leave leave
ret ret
.global _MulU64x64 .globl _MulU64x64
_MulU64x64: _MulU64x64:
push %ebp push %ebp
mov %esp,%ebp mov %esp,%ebp
@ -134,7 +134,7 @@ _MulU64x64:
leave leave
ret ret
.global _MulS64x64 .globl _MulS64x64
_MulS64x64: _MulS64x64:
push %ebp push %ebp
mov %esp,%ebp mov %esp,%ebp
@ -186,7 +186,7 @@ _MulS64x64:
leave leave
ret ret
.global _DivU64x64 .globl _DivU64x64
_DivU64x64: _DivU64x64:
push %ebp push %ebp
mov %esp,%ebp mov %esp,%ebp
@ -233,7 +233,7 @@ _DivU64x64:
leave leave
ret ret
.global _DivS64x64 .globl _DivS64x64
_DivS64x64: _DivS64x64:
push %ebp push %ebp
mov %esp,%ebp mov %esp,%ebp

View File

@ -24,7 +24,7 @@
.proc MulS64x64# .proc MulS64x64#
.align 32 .align 32
.global MulS64x64# .globl MulS64x64#
.align 32 .align 32
///*++ ///*++
@ -84,7 +84,7 @@ MulS64x64:
.proc MulU64x64# .proc MulU64x64#
.align 32 .align 32
.global MulU64x64# .globl MulU64x64#
.align 32 .align 32