[v3,0/2] RISC-V: The series to supporting mapping symbols.

Message ID 20210713100939.645-1-nelson.chu@sifive.com
Headers show
Series
  • RISC-V: The series to supporting mapping symbols.
Related show

Message

Nelson Chu July 13, 2021, 10:09 a.m.
Hi Guys,

According to the following discussions,
https://github.com/riscv/riscv-elf-psabi-doc/pull/196

Compared to v2 patches,

* Removed the data mapping symbols with data size.

* Removed the alignment mapping symbols, $a and $a1.

* If the alignment have odd bytes spaces and relaxation
  is disable, we usually remain an odd byte 0x00 at the
  start of alignment, and then fill nops for the remianing
  spaces.  Therefore, add a $d mapping symbol for the odd
  byte, and then add a $x at $d + 0x1.  This behavior is
  same as Arm and Aarch64.

* The patch, [PATCH v2 1/3] RISC-V: Enable elf attributes ...,
  have been commited to mainline, so remove it from the mapping
  symbol series.
  
* I still keep the patch, [PATCH v2 3/3] RISC-V: Extend .insn
  directive ..., in this series, since it is still related to
  mapping symbols.
  
Thanks
Nelson