From d0fa1f0df3c8c269df083e2c8a10dfad09dffcf3 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Mon, 10 Feb 2014 12:26:45 +0400 Subject: target-xtensa: add overridable test_init macro Some test suites, like MMU, need per-test initialization. Don't make them redefine test macro, add test_init for that purpose. Signed-off-by: Max Filippov --- tests/tcg/xtensa/macros.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/tcg/xtensa/macros.inc') diff --git a/tests/tcg/xtensa/macros.inc b/tests/tcg/xtensa/macros.inc index c9be1ce516..ead8528aef 100644 --- a/tests/tcg/xtensa/macros.inc +++ b/tests/tcg/xtensa/macros.inc @@ -43,8 +43,12 @@ main: simcall .endm +.macro test_init +.endm + .macro test name //print test_\name + test_init test_\name: .global test_\name .endm -- cgit v1.2.3