https://sourceware.org/bugzilla/show_bug.cgi?id=33314

--- Comment #5 from Sam James <sam at gentoo dot org> ---
All of the code differences from the diffoscope report are in startup files,
not from CPython (LHS is bfd (broken), RHS is mold (working)):

├── objdump --line-numbers --disassemble --demangle --reloc --no-show-raw-insn
--section=.init {}
│ @@ -1,10 +1,15 @@
│
│
│
│  Disassembly of section .init:
│
│ -00000260 <_init>:
│ +0001042c <_init>:
│  _init():
│       push    {r3, lr}
│ -     bl      298 <call_weak_fn>
│ +     bl      10470 <call_weak_fn>
│       pop     {r3, pc}
│ +     mrcle   14, 7, sp, cr15, cr15, {7}
│ +     add     r0, lr, r0
│ +     ldr     r1, [r0, #4]
│ +     msr     SP_hyp, r1, lsl pc
│ +     msr     CPSR_, #0


├── objdump --line-numbers --disassemble --demangle --reloc --no-show-raw-insn
--section=.text {}
│ @@ -1,86 +1,93 @@
│
│
│
│  Disassembly of section .text:
│
│ -00000298 <call_weak_fn>:
│ +00010470 <call_weak_fn>:
│  call_weak_fn():
│ -     ldr     r3, [pc, #20]   @ 2b4 <call_weak_fn+0x1c>
│ -     ldr     r2, [pc, #20]   @ 2b8 <call_weak_fn+0x20>
│ +     ldr     r3, [pc, #20]   @ 1048c <call_weak_fn+0x1c>
│ +     ldr     r2, [pc, #20]   @ 10490 <call_weak_fn+0x20>
│       add     r3, pc, r3
│       ldr     r2, [r3, r2]
│       cmp     r2, #0
│ -     bxeq    lr
│ -     b       28c <__gmon_start__@plt>
│ -     .word   0x00001d34
│ -     .word   0x0000001c
│ -     ldr     r0, [pc, #44]   @ 2f0 <call_weak_fn+0x58>
│ -     ldr     r3, [pc, #44]   @ 2f4 <call_weak_fn+0x5c>
│ +     msreq   SP_hyp, lr, lsl pc
│ +     b       10450 <__gmon_start__$pltgot>
│ +     .word   0x00010234
│ +     .word   0x00000004
[...]

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to