X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gold%2Faarch64.cc;h=a72e2c31b2afec6ec833143f9a3beeab7af1c3a3;hb=73b9be8b5301c4ac056e10c38a47414867ee892a;hp=b207dcdc3da31edd71d62e48d6b6cb818897e3bf;hpb=98461510d3a8cefa6603980294bfc647cddcab97;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/aarch64.cc b/gold/aarch64.cc index b207dcdc3d..a72e2c31b2 100644 --- a/gold/aarch64.cc +++ b/gold/aarch64.cc @@ -110,6 +110,10 @@ public: is_adrp(const Insntype insn) { return (insn & 0x9F000000) == 0x90000000; } + static bool + is_mrs_tpidr_el0(const Insntype insn) + { return (insn & 0xFFFFFFE0) == 0xd53bd040; } + static unsigned int aarch64_rm(const Insntype insn) { return aarch64_bits(insn, 16, 5); } @@ -266,7 +270,7 @@ public: uint32_t v = 0; uint32_t opc_v = 0; - /* Bail out quickly if INSN doesn't fall into the the load-store + /* Bail out quickly if INSN doesn't fall into the load-store encoding space. */ if (!aarch64_ldst (insn)) return false; @@ -784,8 +788,14 @@ Stub_template_repertoire::Stub_template_repertoire() 0x14000000, /* b