summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgthumb2was.c2
1 files changed, 1 insertions, 1 deletions
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");
}