systemc: Use the new M5_WEAK macro to hide [[gnu::weak]].
authorGabe Black <gabeblack@google.com>
Tue, 13 Oct 2020 11:01:00 +0000 (04:01 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 14 Oct 2020 00:46:16 +0000 (00:46 +0000)
commitab65f6acc5ccb64299d34ddf5e1ca731d55201f5
tree7a3a23beb63f666c8ae75f4a919f9515d8572f33
parent1e0bc0df25caa03e18291614d8f8c88e7dc8070c
systemc: Use the new M5_WEAK macro to hide [[gnu::weak]].

Other compilers may need to support that macro in other ways.

Change-Id: If6ee05ce69c1bfd24108cf0785fac2d7bc259f0a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35940
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/sc_main_fiber.cc