[Bug binutils/32462] objdump incorrectly disassembles PAUSE with REX.B prefix

2024-12-15 Thread michaeljclark at mac dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32462 --- Comment #2 from Michael Clark --- someone on LLVM discourse said on Intel, f3 90 is pause, independent of REX.B. On AMD, it is pause only if REX.B is clear. the behavior of rep xchg is unspecified. so it seems that QEMU code snippet is co

[Bug binutils/32462] objdump incorrectly disassembles PAUSE with REX.B prefix

2024-12-15 Thread michaeljclark at mac dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32462 --- Comment #1 from Michael Clark --- QEMU ignores REP prefix and treats REX.B PAUSE as 'xchg eax, r8d': /* If REX_B is set, then this is xchg eax, r8d, not a nop. */ if (REX_B(s)) { goto do_xchg_reg_eax; } if (prefix

[Bug binutils/32462] New: objdump incorrectly disassembles PAUSE with REX.B prefix

2024-12-15 Thread michaeljclark at mac dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32462 Bug ID: 32462 Summary: objdump incorrectly disassembles PAUSE with REX.B prefix Product: binutils Version: 2.42 Status: UNCONFIRMED Severity: normal

[Bug binutils/32461] ld: unrecognized option '--image-base=0x08148000'

2024-12-15 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=32461 --- Comment #4 from Stas Sergeev --- Why not to stay compatible with lld here? It seems to be doing the right thing, at least in my understanding. So while its definitely up to you, I really suspect that closing this ticket is sub-optimal. --

[Bug binutils/32461] ld: unrecognized option '--image-base=0x08148000'

2024-12-15 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=32461 --- Comment #3 from Stas Sergeev --- OK, thanks. But what to do? Use different opts on ld and lld? lld says using -Ttext-segment is invalid, and I also suspected the same, because when I read segments with `readelf -l`, I see that Type

[Bug binutils/32461] ld: unrecognized option '--image-base=0x08148000'

2024-12-15 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32461 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug binutils/32461] ld: unrecognized option '--image-base=0x08148000'

2024-12-15 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32461 --- Comment #1 from Andreas Schwab --- [This option is specific to the i386 PE targeted port of the linker] -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/32461] New: ld: unrecognized option '--image-base=0x08148000'

2024-12-15 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=32461 Bug ID: 32461 Summary: ld: unrecognized option '--image-base=0x08148000' Product: binutils Version: 2.43.1 Status: UNCONFIRMED Severity: normal Priority: P2 C

[Bug binutils/32460] New: section `.note.gnu.property' can't be allocated in segment 0

2024-12-15 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=32460 Bug ID: 32460 Summary: section `.note.gnu.property' can't be allocated in segment 0 Product: binutils Version: 2.43.1 Status: UNCONFIRMED Severity: normal