arch-arm: clang compilation fixes
authorMatteo Andreozzi <Matteo.Andreozzi@arm.com>
Mon, 26 Feb 2018 16:40:12 +0000 (10:40 -0600)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 28 Nov 2018 11:45:52 +0000 (11:45 +0000)
commitc918d1435c243f2c74969b35793a87e10796c1a6
treed41668f983a76ef9bca2512ba574dae67045107f
parent54c4c8a3c957f3ab3a486328aac50acc442168af
arch-arm: clang compilation fixes

Fix 1: std::pair constructor is not a constexpr in clang implementation
Fix 2: static const templates need to be defined in their
       translation unit

Change-Id: I3d9b9b47e1d148e44555f40e2e2aeff06707ff8f
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/14617
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
src/arch/arm/semihosting.hh