mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-05 16:51:27 +08:00
outmac: default to bits 32 for macho32 output format
Default to 32 bits for macho32; default to 64 bits for macho64. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
09b56b421a
commit
7dcd1a1549
@ -653,9 +653,9 @@ static int32_t macho_section(char *name, int pass, int *bits)
|
||||
|
||||
(void)pass;
|
||||
|
||||
/* Default to 64 bits. */
|
||||
/* Default to the appropriate number of bits. */
|
||||
if (!name) {
|
||||
*bits = 64;
|
||||
*bits = fmt->ptrsize << 3;
|
||||
name = ".text";
|
||||
sectionAttributes = NULL;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user