X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gold%2Faarch64.cc;h=a45d3fd6671985332d7b77ab02846e8761435684;hb=ed7e9d0bdaa0cbeb157e427c262e692a993e4432;hp=f38cd9a91ba507b28baba8104ad9002987e52bc9;hpb=5c3024d2c1d4c4f141d8364d487604f70678792a;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/aarch64.cc b/gold/aarch64.cc index f38cd9a91b..a45d3fd667 100644 --- a/gold/aarch64.cc +++ b/gold/aarch64.cc @@ -1,6 +1,6 @@ // aarch64.cc -- aarch64 target support for gold. -// Copyright (C) 2014-2016 Free Software Foundation, Inc. +// Copyright (C) 2014-2019 Free Software Foundation, Inc. // Written by Jing Yu and Han Shen . // This file is part of gold. @@ -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