Displaying 1 result from an estimated 1 matches for "4000b1".
Did you mean:
40001
2019 Apr 04
3
question about --emit-relocs with lld
...= 1,
};
}
$ llvm-build/x86/bin/clang -c minimal.c
$ /usr/bin/ld.bfd --emit-relocs minimal.o -o minimal.bfd
$ llvm-build/x86/bin/ld.lld --emit-relocs minimal.o -o minimal.lld
$ objdump -Sdr minimal.bfd
...
00000000004000b0 <_start>:
4000b0: 55 push %rbp
4000b1: 48 89 e5 mov %rsp,%rbp
4000b4: 48 8b 04 25 d0 00 40 mov 0x4000d0,%rax
4000bb: 00
4000b8: R_X86_64_32S .rodata
4000bc: 48 89 45 f0 mov %rax,-0x10(%rbp)
4000c0: 48 8b 04 25 d8 00 40 mov 0x40...