| Index: tools/relocation_packer/src/elf_traits.h
|
| diff --git a/tools/relocation_packer/src/elf_traits.h b/tools/relocation_packer/src/elf_traits.h
|
| index 1004767542b16db7392f35e3e577e1cdd2e76e56..f099bab60383ae3d70ca3d80b1ed898778719e39 100644
|
| --- a/tools/relocation_packer/src/elf_traits.h
|
| +++ b/tools/relocation_packer/src/elf_traits.h
|
| @@ -57,6 +57,7 @@ struct ELF {
|
| enum { kFileClass = ELFCLASS32 };
|
| enum { kRelativeRelocationCode = R_ARM_RELATIVE };
|
| enum { kNoRelocationCode = R_ARM_NONE };
|
| + enum { kGnuStackSegmentAlignment = 0 };
|
|
|
| static inline const char* Machine() { return "ARM"; }
|
|
|
| @@ -90,6 +91,7 @@ struct ELF {
|
| enum { kFileClass = ELFCLASS64 };
|
| enum { kRelativeRelocationCode = R_AARCH64_RELATIVE };
|
| enum { kNoRelocationCode = R_AARCH64_NONE };
|
| + enum { kGnuStackSegmentAlignment = 16 };
|
|
|
| static inline const char* Machine() { return "ARM64"; }
|
|
|
|
|