Skip to content

Commit

Permalink
liblink: support ADUFFZERO in opbra
Browse files Browse the repository at this point in the history
Fixes golang#25

Change-Id: I91d97af1c896e378b3739f9188eae5b3b8e588ef
  • Loading branch information
4ad committed Jan 7, 2015
1 parent 609c056 commit e1e688b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/liblink/asm7.c
Original file line number Diff line number Diff line change
Expand Up @@ -3226,6 +3226,7 @@ opbra(Link *ctxt, int a)
return OPBcc(0xc);
case ABLE:
return OPBcc(0xd); /* imm19<<5 | cond */
case ADUFFZERO:
case AB:
return 0 << 31 | 5 << 26; /* imm26 */
case ABL:
Expand Down

0 comments on commit e1e688b

Please sign in to comment.