freebsd-skq/lib/csu
jhb b1808a1ecf Remove the sed hack for ABI tag notes.
The ELF notes compiled in C were placed in a section with the wrong type
(SHT_PROGBITS instead of SHT_NOTE).  Previously, sed was used on the
generated assembly to rewrite the section type.  Instead, write the notes
in assembly which permits setting the correct section type directly.

While here, move inline assembly entry points out of C and into assembly
for aarch64, arm, and riscv.

Reviewed by:	kib
Tested on:	amd64 (cirrus-ci), riscv64
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D25211
2020-06-15 19:38:48 +00:00
..
aarch64 Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00
amd64 Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00
arm Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00
common Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00
i386 Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00
mips Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00
powerpc Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00
powerpc64 Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00
riscv Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00
tests Revert r353140: Re-add ALLOW_MIPS_SHARED_TEXTREL, sprinkle it around 2020-01-14 17:50:13 +00:00
Makefile Build the csu tests on all architectures. 2018-10-30 14:44:12 +00:00
Makefile.inc Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00