summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2016-05-09 11:36:55 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2016-05-09 11:36:55 -0700
commit3d72e45a137dcf5ff014856ea631811200341ad3 (patch)
tree0b8d1f57e6ce3ffc7632e14592f5634a236236b2
parent3c27bdcaee1c05f97049ed660826c3b02a87a28b (diff)
downloadnasm-3d72e45a137dcf5ff014856ea631811200341ad3.tar.gz
outmacho: Fix missing brace
Fix a missing brace introduced in checkin 84f6860ed53492976c9d79e9a8a0bdc60da78bc6. This was a transcription error of mine; Zenith432's original patch was correct. Cc: Zenith432 <zenith432@users.sourceforge.net> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--output/outmacho.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outmacho.c b/output/outmacho.c
index 70936ecb..6887d8f5 100644
--- a/output/outmacho.c
+++ b/output/outmacho.c
@@ -1323,7 +1323,7 @@ static void macho_write_section (void)
l += sectstab[r->snum]->addr;
if (r->pcrel)
l -= s->addr;
- } else if (r->pcrel && r->type == GENERIC_RELOC_VANILLA)
+ } else if (r->pcrel && r->type == GENERIC_RELOC_VANILLA) {
l -= s->addr;
}