Skip to content

Commit 1a7b7f5

Browse files
committed
Adjust expected test result
1 parent d15dde3 commit 1a7b7f5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/db/formats/elf/reloc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -390,25 +390,25 @@ pi 15
390390
px 0x26
391391
EOF
392392
EXPECT=<<EOF
393-
call reloc.target.__fentry
393+
call reloc.__fentry
394394
push ebp
395395
mov ebp, esp
396-
push reloc.target..rodata.str1.1
397-
call reloc.target.printk
396+
push 0
397+
call reloc.printk
398398
xor eax, eax
399399
leave
400400
ret
401401
push ebp
402402
mov ebp, esp
403-
push str.Ulu_mulu
404-
call reloc.target.printk
403+
push 0xf
404+
call reloc.printk.800009b
405405
pop eax
406406
leave
407407
ret
408408
- offset - 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456789ABCDEF
409-
0x0800007c e8d7 c802 0055 89e5 68a2 0000 08e8 cec8 .....U..h.......
410-
0x0800008c 0200 31c0 c9c3 5589 e568 b100 0008 e8bd ..1...U..h......
411-
0x0800009c c802 0058 c9c3 ...X..
409+
0x0800007c e8fc ffff ff55 89e5 6800 0000 00e8 fcff .....U..h.......
410+
0x0800008c ffff 31c0 c9c3 5589 e568 0f00 0000 e8fc ..1...U..h......
411+
0x0800009c ffff ff58 c9c3 ...X..
412412
EOF
413413
RUN
414414

0 commit comments

Comments
 (0)