diff options
author | Camil Staps | 2016-11-07 22:15:59 +0000 |
---|---|---|
committer | Camil Staps | 2016-11-07 22:15:59 +0000 |
commit | e47367cf33bf4869f29e1bab53c7e80da1a11be5 (patch) | |
tree | d6a59d6320662e88abc3332c337eac1b6469b9bc | |
parent | Align data before node entry properly; fix one more case of pushing PC to the... (diff) |
Also exported labels need to be aligned & thumb-funced
-rw-r--r-- | cgthumb2was.c | 2 |
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"); } |