| #
1.14 |
|
17-Dec-2025 |
riastradh |
tests/lib/csu, tests/libexec/ld.elf_so: Apply CTFMERGE=: workaround.
The workaround for
PR toolchain/59364: ctf tools needs update
required an update after fixing
PR toolchain/57241: mips64el--netbsd-install core dumps randomly
by splitting the recipes for ${PROG} and ${PROG}.debug into an intermediate ${PROG}.link to avoid overwriting ${PROG} inside the recipe for ${PROG}.debug.
This is kludgey (writing the `.link' suffix into a Makefile isn't great) but I see only two cases of it so this'll do for now.
|
| #
1.13 |
|
17-Dec-2025 |
riastradh |
tests/lib/csu/Makefile: Use PROGS_CXX, not PROG_CXX.
There are multiple programs here.
Should fix:
nbmake: /home/riastradh/netbsd/current/src/share/mk/bsd.prog.mk:624: warning: Invalid character " " in variable name "OBJS.h_initfini1 h_initfini2 h_initfini3"
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| #
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
|
|
Revision tags: netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118
|
| #
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.
|
|
Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315
|
| #
1.6 |
|
09-Mar-2018 |
joerg |
branches: 1.6.2; Add ifunc support for statically linked applications on x86, ppc, sparc and ARM.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| #
1.5 |
|
04-Apr-2016 |
joerg |
branches: 1.5.14; Replace LDADD with LDSTATIC.
|
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
| #
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.13 |
|
17-Dec-2025 |
riastradh |
tests/lib/csu/Makefile: Use PROGS_CXX, not PROG_CXX.
There are multiple programs here.
Should fix:
nbmake: /home/riastradh/netbsd/current/src/share/mk/bsd.prog.mk:624: warning: Invalid character " " in variable name "OBJS.h_initfini1 h_initfini2 h_initfini3"
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| #
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
|
|
Revision tags: netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118
|
| #
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.
|
|
Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315
|
| #
1.6 |
|
09-Mar-2018 |
joerg |
branches: 1.6.2; Add ifunc support for statically linked applications on x86, ppc, sparc and ARM.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| #
1.5 |
|
04-Apr-2016 |
joerg |
branches: 1.5.14; Replace LDADD with LDSTATIC.
|
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
| #
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.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| #
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
|
|
Revision tags: netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118
|
| #
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.
|
|
Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315
|
| #
1.6 |
|
09-Mar-2018 |
joerg |
branches: 1.6.2; Add ifunc support for statically linked applications on x86, ppc, sparc and ARM.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| #
1.5 |
|
04-Apr-2016 |
joerg |
branches: 1.5.14; Replace LDADD with LDSTATIC.
|
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
| #
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.
|