-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do you have the plan for draft UEFI Specification for LoongArch about relocation type in PE format(LoongArch specially)? #9
Comments
Did you mean this https://learn.microsoft.com/en-us/windows/win32/debug/pe-format that already supports LoongArch? |
Cc @yetist @kilaterlee who may know more details. |
Context (in Chinese): https://bbs.loongarch.org/d/443 I guess maybe the OP wants more complete relocs in PE, similar to the full set of I agree that the OP should provide more information regarding their motivation and background etc. so we don't have to guess as much. |
However,I need more loongarch-specific relocation constants such as IMAGE_REL_LOONGARCH_ABSOLUTE. |
There are two constants defined in .NET PAL, not documented in PE spec (not sure if they are .NET specific): IMAGE_REL_LOONGARCH64_PC https://github.com/dotnet/runtime/blob/a5cc707d976a14495462c9c492a921ff0927b8f5/src/coreclr/pal/inc/rt/ntimage.h#L1021 |
No, these are only used for .NET and only LoongArch64's AOT within .NET. |
So that's why draft UEFI specification for LoongArch about relocation type in PE format matters.I need a LoongArch64 relocation table for free pascal compiler.These .NET only constants are so disappointed for free pascal compiler users. |
From the code it looks like there is really only one relocation type supported in UEFI: IMAGE_REL_BASED_LOONGARCH64_MARK_LA. So if you need to target UEFI, this is the one you need to use. |
I have read the code in binutils for loongarch and it only provide three relocation constant.It is too few to use,I think.Do you have the plan for loongarch UEFI specification (for PE format in loongarch)?
The text was updated successfully, but these errors were encountered: