diff options
Diffstat (limited to 'src/liblink/asm6.c')
-rw-r--r-- | src/liblink/asm6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblink/asm6.c b/src/liblink/asm6.c index 019ec0684..5ef00f849 100644 --- a/src/liblink/asm6.c +++ b/src/liblink/asm6.c @@ -1677,6 +1677,7 @@ span6(Link *ctxt, LSym *s) sysfatal("loop"); } } while(loop); + c += -c&(FuncAlign-1); s->size = c; if(0 /* debug['a'] > 1 */) { |