From d626f355f6d3eb158968945b64d08411b259153b Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 12 Sep 2019 18:31:29 -0700 Subject: preproc: correct handling of %ifdef for aliases Correctly handling %ifdef when operating on aliases; we had an infinite loop going... Signed-off-by: H. Peter Anvin (Intel) --- asm/preproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asm/preproc.c b/asm/preproc.c index 2f1f767f..42cb969e 100644 --- a/asm/preproc.c +++ b/asm/preproc.c @@ -1875,7 +1875,7 @@ restart: (m->greedy && nparam >= m->nparam-1))) { if (m->alias && !find_alias) { if (do_aliases) { - name = m->name; + name = m->expansion->text; goto restart; } else { continue; -- cgit