[all-commits] [llvm/llvm-project] ea6dec: [XCOFF] support the overflow section (only relocat...
Esme via All-commits
all-commits at lists.llvm.org
Mon Jan 9 23:39:37 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea6dec1b3a5671d2b7f41300b5c2b29a77520147
https://github.com/llvm/llvm-project/commit/ea6dec1b3a5671d2b7f41300b5c2b29a77520147
Author: esmeyi <esme.yi at ibm.com>
Date: 2023-01-10 (Tue, 10 Jan 2023)
Changed paths:
M llvm/lib/MC/XCOFFObjectWriter.cpp
M llvm/test/CodeGen/PowerPC/aix-xcoff-huge-relocs.ll
Log Message:
-----------
[XCOFF] support the overflow section (only relocation overflow is handled).
Summary: This patch handles relocation field overflows in an XCOFF32 file. (XCOFF64 files may not have overflow section headers.) If a section has more than 65,534 relocation entries or line number entries, both of these fields are set to a value of 65535. In this case, an overflow section header with the s_flags field equal to STYP_OVRFLO is used to contain the relocation and line-number count information. Since line number is not supported, this patch only handles the relocation overflow.
Reviewed By: shchenz
Differential Revision: https://reviews.llvm.org/D137819
More information about the All-commits
mailing list