mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-09-22 10:43:39 -04:00
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>
This commit is contained in:
@@ -664,7 +664,7 @@ static void macho_symdef(char *name, int32_t section, int64_t offset,
|
|||||||
++nsyms;
|
++nsyms;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void macho_setcalign(int32_t seg, unsigned int value)
|
static void macho_sectalign(int32_t seg, unsigned int value)
|
||||||
{
|
{
|
||||||
struct section *s;
|
struct section *s;
|
||||||
|
|
||||||
@@ -1305,7 +1305,7 @@ struct ofmt of_macho32 = {
|
|||||||
macho_output,
|
macho_output,
|
||||||
macho_symdef,
|
macho_symdef,
|
||||||
macho_section,
|
macho_section,
|
||||||
macho_setcalign,
|
macho_sectalign,
|
||||||
macho_segbase,
|
macho_segbase,
|
||||||
null_directive,
|
null_directive,
|
||||||
macho_filename,
|
macho_filename,
|
||||||
|
@@ -813,7 +813,7 @@ static void macho_symdef(char *name, int32_t section, int64_t offset,
|
|||||||
++nsyms;
|
++nsyms;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void macho_setcalign(int32_t seg, unsigned int value)
|
static void macho_sectalign(int32_t seg, unsigned int value)
|
||||||
{
|
{
|
||||||
struct section *s;
|
struct section *s;
|
||||||
|
|
||||||
@@ -1476,7 +1476,7 @@ struct ofmt of_macho64 = {
|
|||||||
macho_output,
|
macho_output,
|
||||||
macho_symdef,
|
macho_symdef,
|
||||||
macho_section,
|
macho_section,
|
||||||
macho_setcalign,
|
macho_sectalign,
|
||||||
macho_segbase,
|
macho_segbase,
|
||||||
null_directive,
|
null_directive,
|
||||||
macho_filename,
|
macho_filename,
|
||||||
|
Reference in New Issue
Block a user