On Fri, 2 Dec 2022, Jeremie Courreges-Anglas wrote: > clang emits this warning when compiling brk.S and sbrk.S on riscv64: > > /tmp/sbrk-06c40b.s:46:2: warning: sbrk changed binding to STB_WEAK > .weak sbrk > > Let's avoid this using the "ENTRY_NB" approach implemented by guenther@ > on other archs. Diff tailored to reduce the differences with > arm64/include/asm.h (that's why I swapped .p2align and .type). > > ok?
ok guenther@