From e47367cf33bf4869f29e1bab53c7e80da1a11be5 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 7 Nov 2016 22:15:59 +0000 Subject: Also exported labels need to be aligned & thumb-funced --- cgthumb2was.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgthumb2was.c b/cgthumb2was.c index ebe4e2c..b243fa5 100644 --- a/cgthumb2was.c +++ b/cgthumb2was.c @@ -393,7 +393,7 @@ static void w_as_define_code_label (LABEL *label) w_as_newline(); } - if (label->label_flags & NODE_ENTRY_LABEL) { + if (label->label_flags & (EXPORT_LABEL | NODE_ENTRY_LABEL)) { w_as_instruction_without_parameters (".align"); w_as_instruction_without_parameters (".thumb_func"); } -- cgit v1.2.3