freebsd-dev/lib/csu/common
John Baldwin 99282790b7 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
..
crtbegin.c Run __cxa_finalize in shared objects in the destructor path. 2018-11-13 15:28:27 +00:00
crtbrand.S Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00
crtend.c csu: Fix dynamiclib/init_test:jcr_test on !HAVE_CTORS archs 2019-11-08 14:28:39 +00:00
ignore_init_note.S Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00
ignore_init.c Remove the sed hack for ABI tag notes. 2020-06-15 19:38:48 +00:00
notes.h csu: use BSD-1-clause license on csu files 2018-11-20 21:04:20 +00:00