hanchenye-llvm-project/lld/test/elf/Inputs/consecutive-weak-defs.o.yaml

67 lines
2.0 KiB
YAML

---
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
OSABI: ELFOSABI_GNU
Type: ET_REL
Machine: EM_X86_64
Sections:
- Name: .text
Type: SHT_PROGBITS
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
AddressAlign: 0x0000000000000004
Content: 554889E5E8000000005DC3554889E5B8640000005DC3
- Name: .rela.text
Type: SHT_RELA
Link: .symtab
AddressAlign: 0x0000000000000008
Info: .text
Relocations:
- Offset: 0x0000000000000005
Symbol: my_weak_func
Type: R_X86_64_PC32
Addend: -4
- Name: .data
Type: SHT_PROGBITS
Flags: [ SHF_WRITE, SHF_ALLOC ]
AddressAlign: 0x0000000000000004
Content: ''
- Name: .bss
Type: SHT_NOBITS
Flags: [ SHF_WRITE, SHF_ALLOC ]
AddressAlign: 0x0000000000000004
Content: ''
Symbols:
Local:
- Name: .text
Type: STT_SECTION
Section: .text
- Name: .data
Type: STT_SECTION
Section: .data
- Name: .bss
Type: STT_SECTION
Section: .bss
Global:
- Name: my_func
Type: STT_FUNC
Section: .text
Size: 0x000000000000000B
Weak:
- Name: my_weak_func
Type: STT_FUNC
Section: .text
Value: 0x000000000000000B
Size: 0x000000000000000B
- Name: my_weak_func2
Type: STT_FUNC
Section: .text
Value: 0x000000000000000B
Size: 0x000000000000000B
- Name: my_weak_func3
Type: STT_FUNC
Section: .text
Value: 0x000000000000000B
Size: 0x000000000000000B
...