From 253075f929835d5b86b62840459e1b4f63e31aa1 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Mon, 15 Apr 2024 14:04:38 +0000 Subject: Rename `.data.bimg.rel.ro` to `.data.img.rel.ro`. Prepare for adding app image patches to the same section. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 38313278 Change-Id: Ib552f005b3a2859152d0de9fa6b2fcd48a0f3feb --- compiler/optimizing/code_generator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'compiler/optimizing/code_generator.h') diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index 94831cab9f..4a6a229098 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -735,15 +735,15 @@ class CodeGenerator : public DeletableArenaObject { protected: // Patch info used for recording locations of required linker patches and their targets, // i.e. target method, string, type or code identified by their dex file and index, - // or .data.bimg.rel.ro entries identified by the boot image offset. + // or boot image .data.img.rel.ro entries identified by the boot image offset. template struct PatchInfo { PatchInfo(const DexFile* dex_file, uint32_t off_or_idx) : target_dex_file(dex_file), offset_or_index(off_or_idx), label() { } - // Target dex file or null for .data.bmig.rel.ro patches. + // Target dex file or null for boot image .data.img.rel.ro patches. const DexFile* target_dex_file; - // Either the boot image offset (to write to .data.bmig.rel.ro) or string/type/method index. + // Either the boot image offset (to write to .data.img.rel.ro) or string/type/method index. uint32_t offset_or_index; // Label for the instruction to patch. LabelType label; -- cgit v1.2.3-59-g8ed1b