145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgcall    _foo
245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# r_type=X86_64_RELOC_BRANCH, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo
345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# E8 00 00 00 00
445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org
545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgcall    _foo+4
645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# r_type=X86_64_RELOC_BRANCH, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo
745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# E8 04 00 00 00
845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org
945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmovq _foo@GOTPCREL(%rip), %rax
1045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# r_type=X86_64_RELOC_GOT_LOAD, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo
1145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# 48 8B 05 00 00 00 00
1245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org
1345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgpushq _foo@GOTPCREL(%rip)
1445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# r_type=X86_64_RELOC_GOT, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo
1545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# FF 35 00 00 00 00
1645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org
1745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmovl _foo(%rip), %eax
1845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# r_type=X86_64_RELOC_SIGNED, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo
1945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# 8B 05 00 00 00 00
2045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org
2145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmovl _foo+4(%rip), %eax
2245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# r_type=X86_64_RELOC_SIGNED, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo
2345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# 8B 05 04 00 00 00
2445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org
2545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmovb  $0x12, _foo(%rip)
2645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# r_type=X86_64_RELOC_SIGNED, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo
2745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# C6 05 FF FF FF FF 12
2845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org
2945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgmovl  $0x12345678, _foo(%rip)
3045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# r_type=X86_64_RELOC_SIGNED, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo
3145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# C7 05 FC FF FF FF 78 56 34 12
3245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org
33