summaryrefslogtreecommitdiffstats
path: root/lld/test/old-elf/linkerscript/Inputs/simple-pic.o.yaml
blob: f826034053c33bd5499397c523195a9742783fb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_REL
  Machine:         EM_X86_64

Sections:
  - Name:          .text
    Type:          SHT_PROGBITS
    Flags:         [ SHF_ALLOC, SHF_EXECINSTR ]
    AddressAlign:  4
    Size:          16

  - Name:          .data
    Type:          SHT_PROGBITS
    Flags:         [ SHF_WRITE, SHF_ALLOC ]
    AddressAlign:  4
    Size:          16

Symbols:
  Local:
    - Name:        .data
      Type:        STT_SECTION
      Section:     .data
    - Name:        .text
      Type:        STT_SECTION
      Section:     .text
  Global:
    - Name:        foo
      Type:        STT_FUNC
      Section:     .text
      Size:        16
OpenPOWER on IntegriCloud