summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/post.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/post.c b/src/arch/post.c
index babe6a9..9973dd3 100644
--- a/src/arch/post.c
+++ b/src/arch/post.c
@@ -84,11 +84,11 @@ void post_process_target_resolution(GArchInstruction *instr, GArchProcessor *pro
switch (type)
{
case STP_ROUTINE:
- snprintf(name, sizeof(name), "loc_%s", loc + 2);
+ snprintf(name, sizeof(name), "sub_%s", loc + 2);
break;
case STP_CODE_LABEL:
- snprintf(name, sizeof(name), "sub_%s", loc + 2);
+ snprintf(name, sizeof(name), "loc_%s", loc + 2);
break;
default: