Re: [PATCH] fix -mnop-mcount generate 5byte nop in 32bit.
Hello! > "-mnop-mcount" needs to make 5byte size "nop" instruction. > however recently gcc make only 4byte "nop" in 32bit. > I have test in gcc 5.4, 7.2. -fprintf (file, "1:\tnopl 0x00(%%eax,%%eax,1)\n"); /* 5 byte nop. */ +fprintf (file, "1:\tnopl 0x01(%%eax,%%eax,1)\n"); /* 5 byte nop.
[PATCH] fix -mnop-mcount generate 5byte nop in 32bit.
"-mnop-mcount" needs to make 5byte size "nop" instruction. however recently gcc make only 4byte "nop" in 32bit. I have test in gcc 5.4, 7.2. === bug result === 080485c5 : 80485c5: 0f 1f