diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-04-28 23:17:13 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-04-28 23:17:13 +0400 |
commit | 97ec06a16a0871330d8f4544de9cd95fc88d31df (patch) | |
tree | 18015d161bafecd6aa68a5a101bee404c13cd668 /output | |
parent | a20b668add234cb388e1802e217ef48257fa9e12 (diff) | |
download | nasm-97ec06a16a0871330d8f4544de9cd95fc88d31df.tar.gz nasm-97ec06a16a0871330d8f4544de9cd95fc88d31df.tar.bz2 nasm-97ec06a16a0871330d8f4544de9cd95fc88d31df.zip |
MachO: Fix misprinted macho_sectalign
macho_sectalign was occasionally misprinted
with macho_setcalign, fix it. No change on functionality.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'output')
-rw-r--r-- | output/outmacho32.c | 4 | ||||
-rw-r--r-- | output/outmacho64.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/output/outmacho32.c b/output/outmacho32.c index fb9f398..a13e0d9 100644 --- a/output/outmacho32.c +++ b/output/outmacho32.c @@ -664,7 +664,7 @@ static void macho_symdef(char *name, int32_t section, int64_t offset, ++nsyms; } -static void macho_setcalign(int32_t seg, unsigned int value) +static void macho_sectalign(int32_t seg, unsigned int value) { struct section *s; @@ -1305,7 +1305,7 @@ struct ofmt of_macho32 = { macho_output, macho_symdef, macho_section, - macho_setcalign, + macho_sectalign, macho_segbase, null_directive, macho_filename, diff --git a/output/outmacho64.c b/output/outmacho64.c index 3aa9468..0fdb25b 100644 --- a/output/outmacho64.c +++ b/output/outmacho64.c @@ -813,7 +813,7 @@ static void macho_symdef(char *name, int32_t section, int64_t offset, ++nsyms; } -static void macho_setcalign(int32_t seg, unsigned int value) +static void macho_sectalign(int32_t seg, unsigned int value) { struct section *s; @@ -1476,7 +1476,7 @@ struct ofmt of_macho64 = { macho_output, macho_symdef, macho_section, - macho_setcalign, + macho_sectalign, macho_segbase, null_directive, macho_filename, |