[PATCH] D152065: [ELF] Add PT_RISCV_ATTRIBUTES program header

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 22:09:50 PDT 2023


MaskRay added inline comments.


================
Comment at: lld/test/ELF/riscv-attributes.s:72
+# HDR-NEXT: GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW  0
+# HDR-NEXT: ATTRIBUTES     0x000158 0x0000000000000000 0x0000000000000000 0x00003e 0x00003e R   0x1{{$}}
+
----------------
GNU ld sets `p_memsz` to 0. I forgot to notice it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152065/new/

https://reviews.llvm.org/D152065



More information about the llvm-commits mailing list