]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/elf/Inputs/main-with-global-def.o.yaml
Vendor import of lld trunk r233088:
[FreeBSD/FreeBSD.git] / test / elf / Inputs / main-with-global-def.o.yaml
1 ---
2 FileHeader:      
3   Class:           ELFCLASS64
4   Data:            ELFDATA2LSB
5   OSABI:           ELFOSABI_GNU
6   Type:            ET_REL
7   Machine:         EM_X86_64
8 Sections:        
9   - Name:            .text
10     Type:            SHT_PROGBITS
11     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
12     AddressAlign:    0x0000000000000004
13     Content:         554889E5B8C80000005DC3554889E54883EC10C745FC00000000B000E8000000004883C4105DC3
14   - Name:            .rela.text
15     Type:            SHT_RELA
16     Link:            .symtab
17     AddressAlign:    0x0000000000000008
18     Info:            .text
19     Relocations:     
20       - Offset:          0x000000000000001D
21         Symbol:          my_func
22         Type:            R_X86_64_PC32
23         Addend:          -4
24   - Name:            .data
25     Type:            SHT_PROGBITS
26     Flags:           [ SHF_WRITE, SHF_ALLOC ]
27     AddressAlign:    0x0000000000000004
28     Content:         ''
29   - Name:            .bss
30     Type:            SHT_NOBITS
31     Flags:           [ SHF_WRITE, SHF_ALLOC ]
32     AddressAlign:    0x0000000000000004
33     Content:         ''
34 Symbols:         
35   Local:           
36     - Name:            .text
37       Type:            STT_SECTION
38       Section:         .text
39     - Name:            .data
40       Type:            STT_SECTION
41       Section:         .data
42     - Name:            .bss
43       Type:            STT_SECTION
44       Section:         .bss
45   Global:          
46     - Name:            main
47       Type:            STT_FUNC
48       Section:         .text
49       Value:           0x000000000000000B
50       Size:            0x000000000000001C
51     - Name:            my_weak_func2
52       Type:            STT_FUNC
53       Section:         .text
54       Size:            0x000000000000000B
55     - Name:            my_func
56 ...