Skip to content

proposal: debug/elf: add riscv attributes SHT and PH #72843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mengzhuo opened this issue Mar 13, 2025 · 1 comment
Closed

proposal: debug/elf: add riscv attributes SHT and PH #72843

mengzhuo opened this issue Mar 13, 2025 · 1 comment
Labels
arch-riscv Issues solely affecting the riscv64 architecture. LibraryProposal Issues describing a requested change to the Go standard library or x/ libraries, but not to a tool Proposal
Milestone

Comments

@mengzhuo
Copy link
Contributor

mengzhuo commented Mar 13, 2025

Proposal Details

Background

According to https://github.com/riscv-non-isa/riscv-elf-psabi-doc

RISCV ELF ABI introduced:

  • Section type: SHT_RISCV_ATTRIBUTES
  • Program Header: PT_RISCV_ATTRIBUTES

This is used by coreutils and other debugger like GDB to identified vector/compress intrinsic.

cc @golang/riscv64

@gopherbot gopherbot added this to the Proposal milestone Mar 13, 2025
@mengzhuo mengzhuo added the arch-riscv Issues solely affecting the riscv64 architecture. label Mar 13, 2025
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/657515 mentions this issue: debug/elf: add riscv attributes definitions

@gabyhelp gabyhelp added the LibraryProposal Issues describing a requested change to the Go standard library or x/ libraries, but not to a tool label Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-riscv Issues solely affecting the riscv64 architecture. LibraryProposal Issues describing a requested change to the Go standard library or x/ libraries, but not to a tool Proposal
Projects
None yet
Development

No branches or pull requests

3 participants