diff options
Diffstat (limited to 'amd64')
| -rw-r--r-- | amd64/isel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/isel.c b/amd64/isel.c index 6041faf..7ff84e4 100644 --- a/amd64/isel.c +++ b/amd64/isel.c @@ -235,7 +235,7 @@ fuseaddr(union ref *r, struct block *blk, int *curi) if (r->t != RTMP) return 0; if (!aadd(&addr, *r)) return 0; - if (ccopt.pic || (ccopt.pie && isaddrcon(addr.base) && addr.index.bits)) { + if (isaddrcon(addr.base) && (ccopt.pic || (ccopt.pie && addr.index.bits))) { /* pic needs to load from GOT */ /* pie cannot encode RIP-relative address with index register */ /* first load symbol address into a temp register */ |