aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-riscv-elf/attr-phdr.d
blob: 43f2ea5077c08233f5d86dd28285b8c38b71c8ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#name: PT_RISCV_ATTRIBUTES check
#source: attr-phdr.s
#as: -march=rv32ic
#ld: -m[riscv_choose_ilp32_emul]
#readelf: -l

Elf file type is EXEC \(Executable file\)
Entry point .*
There are .* program headers, starting at offset .*

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  RISCV_ATTRIBUT .*
  LOAD           .*

 Section to Segment mapping:
  Segment Sections...
   00     .riscv.attributes 
   01     .text