fork download
  1. $ objdump bin/a.o --reloc
  2.  
  3. bin/a.o: file format elf64-x86-64
  4.  
  5. RELOCATION RECORDS FOR [.text]:
  6. OFFSET TYPE VALUE
  7. 0000000000000007 R_X86_64_PC32 .rodata-0x0000000000000004
  8. 0000000000000011 R_X86_64_PLT32 printf-0x0000000000000004
  9.  
  10.  
  11. RELOCATION RECORDS FOR [.eh_frame]:
  12. OFFSET TYPE VALUE
  13. 0000000000000020 R_X86_64_PC32 .text
  14.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.asm:1: error: label or instruction expected at start of line
prog.asm:3: error: parser: instruction expected
prog.asm:5: error: parser: instruction expected
prog.asm:6: error: parser: instruction expected
prog.asm:7: error: label or instruction expected at start of line
prog.asm:8: error: label or instruction expected at start of line
prog.asm:11: error: symbol `RELOCATION' redefined
prog.asm:11: error: parser: instruction expected
prog.asm:12: error: symbol `OFFSET' redefined
prog.asm:12: error: parser: instruction expected
prog.asm:13: error: label or instruction expected at start of line
ld: cannot find prog.o: No such file or directory
stdout
Standard output is empty