diff options
author | Jay Foad <jay.foad@amd.com> | 2023-11-28 17:06:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-28 17:06:11 +0000 |
commit | a1b3b78c55be7e95042e22d83a7f183ae6cc865a (patch) | |
tree | 42e79e73293044f80ff7bc94b8e8be02d5dd2f18 /clang/lib/Frontend/FrontendAction.cpp | |
parent | 202dda8e5c3fb45e6a96691a40a66cd5877a9a9b (diff) | |
download | llvm-a1b3b78c55be7e95042e22d83a7f183ae6cc865a.zip llvm-a1b3b78c55be7e95042e22d83a7f183ae6cc865a.tar.gz llvm-a1b3b78c55be7e95042e22d83a7f183ae6cc865a.tar.bz2 |
[AMDGPU] Clarify description of _HI relocation types (#73663)
Clarify how the addend is used in _HI relocation types like
R_AMDGPU_ABS32_HI based on the current behaviour of the Mesa and AMDPAL
ELF loaders.
This affects Mesa and AMDPAL because they use REL relocation records, so
the addend for these types is the 32-bit literal value from the
instruction being relocated. AMDHSA is not affected because it uses RELA
relocation records which have a 64-bit addend.
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
0 files changed, 0 insertions, 0 deletions