Hi Guys,
The first thing that jumps out at me is that you're calculating the length wrong:
section .data
msg1 db "Jump successful",0x0a
msg2 db "No jump occured",0x0a
len1 equ $-msg1
len2 equ $-msg2
"len1" gets the length of both messages... and therefore prints both messages. I suspect that's all that's wrong with your program. Put "len1" right after "msg1" and I think it'll work.
Also, you've got 32 bit code there and you're assembling it as 64 bit code. That will "probably" work. If you want 64 bit code, you probably want 64 bit system call numbers, put the parameters in 64 bit registers (rdi, rsi, rdx), and use "syscall" instead of "int 0x80". I'm still running a 32 bit system, so I can't help you much there...
Best,
Frank