Skip to content

RISC-V is not default architecture by default #18

@cesarus777

Description

@cesarus777

Reproduced on 1.0

I can't understand why default architecture is host even if it isn't supported. Can you please implement that default architecture is host if host architecture is supported, otherwise it's one of supported architecture?

Reproduction:

layout.yaml:

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

histogram:
  - [ADD, 1]

Command:

llvm-snippy layout.yaml

Output:

'+relax' is not a recognized feature for this target (ignoring feature)
no snippy target for x86_64-unknown-linux-gnu
LLVM ERROR: sorry, target is not implemented

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions