syntacore / snippy

Other
40 stars 4 forks source link

General purpose RW section is required even when no memory instructions were specified #19

Open cesarus777 opened 6 months ago

cesarus777 commented 6 months ago

Reproduced on 1.0

layout.yaml:

options:
  march: riscv64

sections:
  - name: text
    VMA: 0x1000
    LMA: 0x1000
    SIZE: 0x1000
    ACCESS: rx

histogram:
  - [ADD, 1]

Command:

llvm-snippy layout.yaml

Output:

error: LLVM ERROR: Incorrect list of sections: there are no general purpose RW sections