Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: b03a21a63e3bd001f52c527e5a57feddb53a690b
      
https://github.com/tianocore/edk2/commit/b03a21a63e3bd001f52c527e5a57feddb53a690b
  Author: Chao Li <[email protected]>
  Date:   2026-05-08 (Fri, 08 May 2026)

  Changed paths:
    M UefiCpuPkg/CpuDxe/LoongArch64/Exception.c
    M 
UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/LoongArch64/ExceptionHandlerAsm.S

  Log Message:
  -----------
  UefiCpuPkg: Remove the absolute address jump in LoongArch exception handler

In LoongArch, the last ABS reloaction is located in the exception
vector. Use four placeholder instructions and patch the addresses in
these four instructions after copying vector code.

It have no ABS relocation since this patch, which is good for other
compilers(such as clang).

Signed-off-by: Chao Li <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Cc: Zhiguang Liu <[email protected]>
Cc: Dun Tan <[email protected]>
Cc: Arun Subramanian Baskaran <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Star Zeng <[email protected]>
Cc: Eduardo Cuevas Farfan <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to