Permalink
Browse files

Merge pull request #1600 from braddr/cleanup

Isolate CFseg usage in common code
  • Loading branch information...
WalterBright committed Mar 21, 2013
2 parents 67bca98 + 329162b commit 585eb29c7a8bf60aa213de557cc6e547440cc763
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/backend/cgen.c
View
@@ -580,11 +580,13 @@ size_t addtofixlist(symbol *s,targ_size_t soffset,int seg,targ_size_t val,int fl
if (I64 && !(flags & CFoffset64))
numbytes = 4;
+#if TARGET_WINDOS
/* This can happen when generating CV8 data
*/
if (flags & CFseg)
numbytes += 2;
#endif
+#endif
#ifdef DEBUG
assert(numbytes <= sizeof(zeros));
#endif

0 comments on commit 585eb29

Please sign in to comment.