riscv-non-isa/riscv-toolchain-conventions

New assembler options, -mbig-endian and -mlittle-endian, used to choose the endian.

Nelson1225 opened this issue · 2 comments

Hi Guys,

I opened the same issue to the wrong place in the riscv-c-api-doc. So I open a new one here.

We get the GNU binutils patches from Marcus Comstedt recently, to support RISCV big endian targets [1]. In the patches, we need to add new assembler options, -mbig-endian and -mlittle-endian, to choose the endian in assembler. I have raised another issue to discuss the new target triplet in the psabi, riscv-non-isa/riscv-elf-psabi-doc#167. Once we all agree with these changes, we will need to add the new assembler options, -mbig-endian and -mlittle-endian, into the c-api-doc, too.

Thanks
Nelson

[1] https://sourceware.org/pipermail/binutils/2020-December/114632.html

I am in favor of accepting the new assembler options.

LGTM. Feel free to PR it: that would be the first PR to this repo, and the first commit in > 3 years :)