summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/UPT/Object/POM/ModuleObject.py
diff options
context:
space:
mode:
authorDhaval <dhaval@rivosinc.com>2024-12-06 14:14:21 +0530
committerLiming Gao <gaoliming@byosoft.com.cn>2024-12-11 08:43:53 +0800
commitaca75d3c08674dfa85f00100edf85c67476e333d (patch)
treec45bde06ded4350708d65fdfb2e2d79c1dfc6366 /BaseTools/Source/Python/UPT/Object/POM/ModuleObject.py
parent1bb10a479fd67b693b3c9fd9c925f7ea1dcc923e (diff)
downloadedk2-aca75d3c08674dfa85f00100edf85c67476e333d.tar.gz
BaseTools: Update alignment for entry seg for Clang
It does 3 things: 1. Use separate linker file for clang vs GCC for RISCV64. 2. Use common page size instead of max page to ensure -z option align values are properly applied. 3. Enforce alignment for .entry segment as per -z option. When we want to have -z option aligned images, clang while alignes .text and .data segments correctly, .entry segment is by default not aligned unless explicitly specified. This patch makes it explicit to clang that entry seg should also be aligned to requirements. Somehow GCC does not require such explicit entry. Hence detachiong both ld files. Signed-off-by: Dhaval Sharma <dhaval@rivosinc.com>
Diffstat (limited to 'BaseTools/Source/Python/UPT/Object/POM/ModuleObject.py')
0 files changed, 0 insertions, 0 deletions