freebsd-skq/lib/csu
Dimitry Andric 28845ae1ab Use -fno-asynchronous-unwind-tables to compile lib/csu
Summary:
In r209294 kib added -fno-asynchronous-unwind-tables to the compile
flags for the GNU C startup components. This was done to work around a
BFD ld assertion, "no .eh_frame_hdr table will be created", which is
produced because of the layout of the startup objects.

Add the same flag to lib/csu too, for the same reason. And similarly to
r209294, also add -fno-omit-frame-pointer.

This is primarily meant to quickly MFC to stable/11, so it can end up in
the 11.4 release, as a fix for https://bugs.freebsd.org/246322.

PR:		246322
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D24797
2020-05-11 19:36:38 +00:00
..
aarch64 Implement a BSD licensed crtbegin/crtend 2018-10-25 17:39:41 +00:00
amd64 csu: use BSD-1-clause license on csu files 2018-11-20 21:04:20 +00:00
arm Remove -mlong-calls vhen building arm libraries and llvm. 2020-03-10 06:49:43 +00:00
common csu: Fix dynamiclib/init_test:jcr_test on !HAVE_CTORS archs 2019-11-08 14:28:39 +00:00
i386 csu: use BSD-1-clause license on csu files 2018-11-20 21:04:20 +00:00
mips mips !o32: fix csu build 2020-01-03 20:01:36 +00:00
powerpc [PowerPC] force applications linked with lib CSU to have .got 2019-10-12 20:53:40 +00:00
powerpc64 powerpc64/csu: Rename dummy asm file to force use of 'cc' 2020-01-29 04:32:06 +00:00
riscv csu: Add the riscv .init call sequence 2019-09-09 16:25:09 +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 Use -fno-asynchronous-unwind-tables to compile lib/csu 2020-05-11 19:36:38 +00:00