Home | History | Annotate | Download | only in csu
History log of /src/tests/lib/csu/Makefile
RevisionDateAuthorComments
 1.12  10-Jun-2025  christos centralize pack-relative-relocs handling
 1.11  08-Jun-2025  christos Fix the clang build which complains about pack-relative-relocs ignored.
 1.10  02-May-2025  riastradh lib/csu: Test a static PIE with RELR relocations.

PR bin/59360: ld.elf_so(8): missing RELR support
 1.9  27-Apr-2025  riastradh tests/lib/csu: Build h_hello.o with -fPIE, not -fpie.

Static libraries like libc may overflow the bounds assumed by -fpie.
Resolves:

h_hello.o: in function `main':
h_hello.c:(.text.startup+0x30): relocation truncated to fit: R_SPARC_GOT13 against symbol `__sF' defined in .data.rel section in /tmp/build/2025.04.27.10.22.23-sparc64/destdir/usr/lib/libc.a(findfp.o)

PR lib/59359: static pies are broken
 1.8  27-Apr-2025  riastradh lib/csu: Add tests of {static, dynamic} x {pie, non-pie}.

Main goal here is to test static pies, but let's take advantage of
this to test the same code several ways, since the csu logic has some
differences for static vs dynamic builds too like the ordering of
_libc_init calls.

PR lib/59359: static pies are broken
 1.7  27-Dec-2018  christos branches: 1.7.12;
Add an initfini_array test that does not depend on the linker putting it
there automatically.
 1.6  09-Mar-2018  joerg branches: 1.6.2;
Add ifunc support for statically linked applications on x86, ppc, sparc
and ARM.
 1.5  04-Apr-2016  joerg branches: 1.5.14;
Replace LDADD with LDSTATIC.
 1.4  02-Jan-2011  skrll Whitespace.
 1.3  30-Nov-2010  joerg Test alignment of constructor / destructor calls as well as the stack
of new threads. Currently implement for i386 and AMD64.
 1.2  28-Jul-2010  joerg Replace csu test case with a C++ based version. This makes the various
assembler routines obsolete. Be more exhaustive by testing dynamically
linked, statically linked and dynamically loaded.

XXX currently hard-codes /usr/tests due to limitations of bsd.test.mk
 1.1  17-Jul-2010  jmmv Convert the csu tests to atf.
Initial work from the GSoC 2008 project by Lukasz Strzygowski.
 1.5.14.2  18-Jan-2019  pgoyette Synch with HEAD
 1.5.14.1  15-Mar-2018  pgoyette Synch with HEAD
 1.6.2.1  10-Jun-2019  christos Sync with HEAD
 1.7.12.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed