History log of /src/lib/csu/tests/init_test.c (Results 1 – 25 of 27)
Revision Date Author Comments
# a60615d5 18-Apr-2025 Brooks Davis <brooks@FreeBSD.org>

csu: drop support for GCJ

Remove .jcr sections and related infrastructure. This has no impact on
existing binaries and the toolchain remains capability of linking them,
but would require different

csu: drop support for GCJ

Remove .jcr sections and related infrastructure. This has no impact on
existing binaries and the toolchain remains capability of linking them,
but would require different (or additional) csu files.

GCC removed GCJ from trunk in on September 30, 2016. Our support came
in with D17587 for compatibility with old object files. It was roughly
contemporaneous with GCC 6.5, the last release with GCJ support. At
this point we don't even have a compiler port capable of producing GCJ
binaries so there is no need to carry this around any more.

For reference see:
https://en.wikipedia.org/wiki/GNU_Compiler_for_Java#History

Reviewed by: kib, emaste
Discussed with: imp
Sponsored by: SRI International
Differential Revision: https://reviews.freebsd.org/D49882

show more ...


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 2a22df74 04-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r339813 through r340125.


# ca34591f 30-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

Disable the .preinit_array test in DSOs, ld.bfd fails to link objects with
the section.

MFC with: r339738
Sponsored by: DARPA, AFRL


# bb966f87 30-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

Fix the location of the static keyword.

MFC with: r339738
Sponsored by: DARPA, AFRL


# 6ec0ee84 30-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

Run the csu tests on a DSO. This builds the tests into a shared library,
then runs these from the base test programs. With this we can check
crtbeginS.o and crtendS.o are working as expected.

MFC wi

Run the csu tests on a DSO. This builds the tests into a shared library,
then runs these from the base test programs. With this we can check
crtbeginS.o and crtendS.o are working as expected.

MFC with: r339738
Sponsored by: DARPA, AFRL

show more ...


# 9e26e65c 30-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

The jcr argument to _Jv_RegisterClasses is used, stop marking it otherwise.

MFC with: r339738
Sponsored by: DARPA, AFRL


# fda9adaf 27-Oct-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r339670 through r339812.


# 31d62a73 25-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

Implement a BSD licensed crtbegin/crtend

These are needed for .ctors/.dtors and .jcr handling. The former needs
all the function pointers to be called in the correct order from the
.init/.fini secti

Implement a BSD licensed crtbegin/crtend

These are needed for .ctors/.dtors and .jcr handling. The former needs
all the function pointers to be called in the correct order from the
.init/.fini section. The latter just needs to call a gcj specific function
if it exists with a pointer to the start of the .jcr section.

This is currently disabled until __dso_handle support is added.

Reviewed by: emaste
MFC after: 1 month
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D17587

show more ...


# a60615d5 18-Apr-2025 Brooks Davis <brooks@FreeBSD.org>

csu: drop support for GCJ

Remove .jcr sections and related infrastructure. This has no impact on
existing binaries and the toolchain remains capability of linking them,
but would require different

csu: drop support for GCJ

Remove .jcr sections and related infrastructure. This has no impact on
existing binaries and the toolchain remains capability of linking them,
but would require different (or additional) csu files.

GCC removed GCJ from trunk in on September 30, 2016. Our support came
in with D17587 for compatibility with old object files. It was roughly
contemporaneous with GCC 6.5, the last release with GCJ support. At
this point we don't even have a compiler port capable of producing GCJ
binaries so there is no need to carry this around any more.

For reference see:
https://en.wikipedia.org/wiki/GNU_Compiler_for_Java#History

Reviewed by: kib, emaste
Discussed with: imp
Sponsored by: SRI International
Differential Revision: https://reviews.freebsd.org/D49882

show more ...


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 2a22df74 04-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r339813 through r340125.


# ca34591f 30-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

Disable the .preinit_array test in DSOs, ld.bfd fails to link objects with
the section.

MFC with: r339738
Sponsored by: DARPA, AFRL


# bb966f87 30-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

Fix the location of the static keyword.

MFC with: r339738
Sponsored by: DARPA, AFRL


# 6ec0ee84 30-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

Run the csu tests on a DSO. This builds the tests into a shared library,
then runs these from the base test programs. With this we can check
crtbeginS.o and crtendS.o are working as expected.

MFC wi

Run the csu tests on a DSO. This builds the tests into a shared library,
then runs these from the base test programs. With this we can check
crtbeginS.o and crtendS.o are working as expected.

MFC with: r339738
Sponsored by: DARPA, AFRL

show more ...


# 9e26e65c 30-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

The jcr argument to _Jv_RegisterClasses is used, stop marking it otherwise.

MFC with: r339738
Sponsored by: DARPA, AFRL


# fda9adaf 27-Oct-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r339670 through r339812.


# 31d62a73 25-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

Implement a BSD licensed crtbegin/crtend

These are needed for .ctors/.dtors and .jcr handling. The former needs
all the function pointers to be called in the correct order from the
.init/.fini secti

Implement a BSD licensed crtbegin/crtend

These are needed for .ctors/.dtors and .jcr handling. The former needs
all the function pointers to be called in the correct order from the
.init/.fini section. The latter just needs to call a gcj specific function
if it exists with a pointer to the start of the .jcr section.

This is currently disabled until __dso_handle support is added.

Reviewed by: emaste
MFC after: 1 month
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D17587

show more ...


# a60615d5 18-Apr-2025 Brooks Davis <brooks@FreeBSD.org>

csu: drop support for GCJ

Remove .jcr sections and related infrastructure. This has no impact on
existing binaries and the toolchain remains capability of linking them,
but would require different

csu: drop support for GCJ

Remove .jcr sections and related infrastructure. This has no impact on
existing binaries and the toolchain remains capability of linking them,
but would require different (or additional) csu files.

GCC removed GCJ from trunk in on September 30, 2016. Our support came
in with D17587 for compatibility with old object files. It was roughly
contemporaneous with GCC 6.5, the last release with GCJ support. At
this point we don't even have a compiler port capable of producing GCJ
binaries so there is no need to carry this around any more.

For reference see:
https://en.wikipedia.org/wiki/GNU_Compiler_for_Java#History

Reviewed by: kib, emaste
Discussed with: imp
Sponsored by: SRI International
Differential Revision: https://reviews.freebsd.org/D49882

show more ...


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 2a22df74 04-Nov-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r339813 through r340125.


# ca34591f 30-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

Disable the .preinit_array test in DSOs, ld.bfd fails to link objects with
the section.

MFC with: r339738
Sponsored by: DARPA, AFRL


# bb966f87 30-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

Fix the location of the static keyword.

MFC with: r339738
Sponsored by: DARPA, AFRL


# 6ec0ee84 30-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

Run the csu tests on a DSO. This builds the tests into a shared library,
then runs these from the base test programs. With this we can check
crtbeginS.o and crtendS.o are working as expected.

MFC wi

Run the csu tests on a DSO. This builds the tests into a shared library,
then runs these from the base test programs. With this we can check
crtbeginS.o and crtendS.o are working as expected.

MFC with: r339738
Sponsored by: DARPA, AFRL

show more ...


# 9e26e65c 30-Oct-2018 Andrew Turner <andrew@FreeBSD.org>

The jcr argument to _Jv_RegisterClasses is used, stop marking it otherwise.

MFC with: r339738
Sponsored by: DARPA, AFRL


12