http://sourceware.org/bugzilla/show_bug.cgi?id=12049
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-14 13:37:11 UTC --- This is due to relaxation between alignment directives and branch instructions. There is no easy way to fix all cases. I checked in a patch to support .d32 suffix to force 32bit displacement. You can do [...@gnu-6 pr12049]$ cat test3.s .fill 56, 1, 0x90 jne.d32 .LBB0_43 .fill 10, 1, 0x90 jne .LBB0_43 .fill 5, 1, 0x90 .align 16, 0x90 .fill 118, 1, 0x90 .LBB0_43: [...@gnu-6 pr12049]$ ./as -o test3.o test3.s [...@gnu-6 pr12049]$ objdump -dw test3.o test3.o: file format elf64-x86-64 Disassembly of section .text: 0000000000000000 <.text>: 0: 90 nop 1: 90 nop 2: 90 nop 3: 90 nop 4: 90 nop 5: 90 nop 6: 90 nop 7: 90 nop 8: 90 nop 9: 90 nop a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: 90 nop 26: 90 nop 27: 90 nop 28: 90 nop 29: 90 nop 2a: 90 nop 2b: 90 nop 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 90 nop 33: 90 nop 34: 90 nop 35: 90 nop 36: 90 nop 37: 90 nop 38: 0f 85 88 00 00 00 jne 0xc6 3e: 90 nop 3f: 90 nop 40: 90 nop 41: 90 nop 42: 90 nop 43: 90 nop 44: 90 nop 45: 90 nop 46: 90 nop 47: 90 nop 48: 75 7c jne 0xc6 4a: 90 nop 4b: 90 nop 4c: 90 nop 4d: 90 nop 4e: 90 nop 4f: 90 nop 50: 90 nop 51: 90 nop 52: 90 nop 53: 90 nop 54: 90 nop 55: 90 nop 56: 90 nop 57: 90 nop 58: 90 nop 59: 90 nop 5a: 90 nop 5b: 90 nop 5c: 90 nop 5d: 90 nop 5e: 90 nop 5f: 90 nop 60: 90 nop 61: 90 nop 62: 90 nop 63: 90 nop 64: 90 nop 65: 90 nop 66: 90 nop 67: 90 nop 68: 90 nop 69: 90 nop 6a: 90 nop 6b: 90 nop 6c: 90 nop 6d: 90 nop 6e: 90 nop 6f: 90 nop 70: 90 nop 71: 90 nop 72: 90 nop 73: 90 nop 74: 90 nop 75: 90 nop 76: 90 nop 77: 90 nop 78: 90 nop 79: 90 nop 7a: 90 nop 7b: 90 nop 7c: 90 nop 7d: 90 nop 7e: 90 nop 7f: 90 nop 80: 90 nop 81: 90 nop 82: 90 nop 83: 90 nop 84: 90 nop 85: 90 nop 86: 90 nop 87: 90 nop 88: 90 nop 89: 90 nop 8a: 90 nop 8b: 90 nop 8c: 90 nop 8d: 90 nop 8e: 90 nop 8f: 90 nop 90: 90 nop 91: 90 nop 92: 90 nop 93: 90 nop 94: 90 nop 95: 90 nop 96: 90 nop 97: 90 nop 98: 90 nop 99: 90 nop 9a: 90 nop 9b: 90 nop 9c: 90 nop 9d: 90 nop 9e: 90 nop 9f: 90 nop a0: 90 nop a1: 90 nop a2: 90 nop a3: 90 nop a4: 90 nop a5: 90 nop a6: 90 nop a7: 90 nop a8: 90 nop a9: 90 nop aa: 90 nop ab: 90 nop ac: 90 nop ad: 90 nop ae: 90 nop af: 90 nop b0: 90 nop b1: 90 nop b2: 90 nop b3: 90 nop b4: 90 nop b5: 90 nop b6: 90 nop b7: 90 nop b8: 90 nop b9: 90 nop ba: 90 nop bb: 90 nop bc: 90 nop bd: 90 nop be: 90 nop bf: 90 nop c0: 90 nop c1: 90 nop c2: 90 nop c3: 90 nop c4: 90 nop c5: 90 nop [...@gnu-6 pr12049]$ -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils