Leif,
I didn’t realized tool supports a global NULL library class usage. I now found 
this https://bugzilla.tianocore.org/show_bug.cgi?id=645.

Thanks for the education😊

Thanks,
Ray


From: Leif Lindholm <[email protected]>
Sent: Thursday, March 12, 2020 9:54 PM
To: Ni, Ray <[email protected]>
Cc: [email protected]; [email protected]; Abner Chang 
<[email protected]>; Gilbert Chen <[email protected]>; Bi, Dandan 
<[email protected]>; Dong, Eric <[email protected]>
Subject: Re: [EXTERNAL] RE: [edk2-devel] [PATCH v2 3/3] MdeModulePkg: Use 
CopyMem instead of GUID assignment

Hi Ray,

On Thu, Mar 12, 2020 at 12:21 PM Ni, Ray 
<[email protected]<mailto:[email protected]>> wrote:
> Does CompilerIntrinsicsLib exist because GCC doesn't support to disable 
> intrinsic?

It is not possible to disable all intrinsics on 32-bit ARM, and it's not 
necessarily desirable to do so for AArch64 (so I don't think it's implemented).

Note that this is somewhat true for x86 too - leading to things like DivU64x32 
in BaseLib.

> How does the linker find the CompilerInstrinsicsLib in linking phase?

For example:
https://github.com/tianocore/edk2/blob/master/MdeModulePkg/MdeModulePkg.dsc#L172

Regards,

Leif


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#56052): https://edk2.groups.io/g/devel/message/56052
Mute This Topic: https://groups.io/mt/71902327/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to