[lld][ARM][NFCI][1/3]Big Endian support - Removing assumptions
authorSimi Pallipurath <simi.pallipurath@arm.com>
Wed, 15 Feb 2023 11:06:04 +0000 (11:06 +0000)
committerSimi Pallipurath <simi.pallipurath@arm.com>
Wed, 15 Feb 2023 11:42:49 +0000 (11:42 +0000)
commit674f094d852b773d35e9face1b504ab68473dc86
treefde6c66db2c43e41583887141ea0b9aa8fd39a9c
parent5bb8ead4e9dc4a03bddae1f7d3419e97eac37426
[lld][ARM][NFCI][1/3]Big Endian support - Removing assumptions

Change:
 - Replacing the memcpy that assume little endian with the endian-aware write.

Shouldn't affect the output for now, just a prerequisite for the next patches.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D140201
lld/ELF/Arch/ARM.cpp
lld/ELF/Thunks.cpp