Skip to content

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

@cesarus777

Description

@cesarus777

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions