Skip to content

Commit

Permalink
Merge pull request #1749 from WalterBright/fixcod1
Browse files Browse the repository at this point in the history
Fix or'ing flags to wrong instruction in cod1.c
  • Loading branch information
yebblies authored and WalterBright committed Mar 15, 2013
1 parent 43bbb3d commit 0d36f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/cod1.c
Expand Up @@ -2994,7 +2994,7 @@ STATIC code * funccall(elem *e,unsigned numpara,unsigned numalign,regm_t *pretre
}
#endif
ce = gencs(ce,farfunc ? 0x9A : 0xE8,0,fl,s); // CALL extern
ce->Iflags |= farfunc ? (CFseg | CFoff) : (CFselfrel | CFoff);
code_orflag(ce, farfunc ? (CFseg | CFoff) : (CFselfrel | CFoff));
#if TARGET_LINUX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_SOLARIS
if (s == tls_get_addr_sym)
{
Expand Down

0 comments on commit 0d36f13

Please sign in to comment.