| #
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 ...
|
| #
6ee34bca
|
| 27-Jan-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
crtbegin: accurately check for the end of .dtors
not relying only on the end section marker, but also checking for the section size when iterating.
Reported by: kargl Analyzed by: dim Reviewed by:
crtbegin: accurately check for the end of .dtors
not relying only on the end section marker, but also checking for the section size when iterating.
Reported by: kargl Analyzed by: dim Reviewed by: andrew, dim Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D48700
show more ...
|
| #
a2f733ab
|
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
lib: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remov
lib: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
show more ...
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
6149ed01
|
| 14-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340368 through r340426.
|
| #
b7305f91
|
| 13-Nov-2018 |
Andrew Turner <andrew@FreeBSD.org> |
Run __cxa_finalize in shared objects in the destructor path.
When we have .dtors call them before .dtor handling, otherwise call from a destructor.
PR: 233056 MFC with: r339738 Sponsored by: DARPA
Run __cxa_finalize in shared objects in the destructor path.
When we have .dtors call them before .dtor handling, otherwise call from a destructor.
PR: 233056 MFC with: r339738 Sponsored by: DARPA, AFRL
show more ...
|
| #
2a22df74
|
| 04-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339813 through r340125.
|
| #
57706376
|
| 31-Oct-2018 |
Ed Maste <emaste@FreeBSD.org> |
Add __used to __CTOR_LIST__ and __DTOR_LIST__
Enabling BSD_CRTBEGIN on amd64 resulted in error: unused variable '__CTOR_LIST__'.
__CTOR_LIST__ is indeed unused in crtbegin.c; it marks the beginning
Add __used to __CTOR_LIST__ and __DTOR_LIST__
Enabling BSD_CRTBEGIN on amd64 resulted in error: unused variable '__CTOR_LIST__'.
__CTOR_LIST__ is indeed unused in crtbegin.c; it marks the beginning of the .ctors array and is used in crtend.c. Annotate __DTOR_LIST__ as well for consistency.
Discussed with: andrew MFC with: r339738 Sponsored by: The FreeBSD Foundation
show more ...
|
| #
fb7128c2
|
| 29-Oct-2018 |
Andrew Turner <andrew@FreeBSD.org> |
Make the .ctors, .dtors, and .jcr markers as static. They shouldn't be accessible from out of the files they are defined in.
MFC with: r339738 Sponsored by: DARPA, AFRL
|
| #
fda9adaf
|
| 27-Oct-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339670 through r339812.
|
| #
fd8767bb
|
| 26-Oct-2018 |
Andrew Turner <andrew@FreeBSD.org> |
Add __dso_handle to the BSD crtbegin. This is used to identify shared objects.
MFC with: r339738 Sponsored by: DARPA, AFRL
|
| #
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 ...
|
| #
6ee34bca
|
| 27-Jan-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
crtbegin: accurately check for the end of .dtors
not relying only on the end section marker, but also checking for the section size when iterating.
Reported by: kargl Analyzed by: dim Reviewed by:
crtbegin: accurately check for the end of .dtors
not relying only on the end section marker, but also checking for the section size when iterating.
Reported by: kargl Analyzed by: dim Reviewed by: andrew, dim Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D48700
show more ...
|
| #
a2f733ab
|
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
lib: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remov
lib: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
show more ...
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
6149ed01
|
| 14-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340368 through r340426.
|
| #
b7305f91
|
| 13-Nov-2018 |
Andrew Turner <andrew@FreeBSD.org> |
Run __cxa_finalize in shared objects in the destructor path.
When we have .dtors call them before .dtor handling, otherwise call from a destructor.
PR: 233056 MFC with: r339738 Sponsored by: DARPA
Run __cxa_finalize in shared objects in the destructor path.
When we have .dtors call them before .dtor handling, otherwise call from a destructor.
PR: 233056 MFC with: r339738 Sponsored by: DARPA, AFRL
show more ...
|
| #
2a22df74
|
| 04-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339813 through r340125.
|
| #
57706376
|
| 31-Oct-2018 |
Ed Maste <emaste@FreeBSD.org> |
Add __used to __CTOR_LIST__ and __DTOR_LIST__
Enabling BSD_CRTBEGIN on amd64 resulted in error: unused variable '__CTOR_LIST__'.
__CTOR_LIST__ is indeed unused in crtbegin.c; it marks the beginning
Add __used to __CTOR_LIST__ and __DTOR_LIST__
Enabling BSD_CRTBEGIN on amd64 resulted in error: unused variable '__CTOR_LIST__'.
__CTOR_LIST__ is indeed unused in crtbegin.c; it marks the beginning of the .ctors array and is used in crtend.c. Annotate __DTOR_LIST__ as well for consistency.
Discussed with: andrew MFC with: r339738 Sponsored by: The FreeBSD Foundation
show more ...
|
| #
fb7128c2
|
| 29-Oct-2018 |
Andrew Turner <andrew@FreeBSD.org> |
Make the .ctors, .dtors, and .jcr markers as static. They shouldn't be accessible from out of the files they are defined in.
MFC with: r339738 Sponsored by: DARPA, AFRL
|
| #
fda9adaf
|
| 27-Oct-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339670 through r339812.
|
| #
fd8767bb
|
| 26-Oct-2018 |
Andrew Turner <andrew@FreeBSD.org> |
Add __dso_handle to the BSD crtbegin. This is used to identify shared objects.
MFC with: r339738 Sponsored by: DARPA, AFRL
|
| #
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 ...
|
| #
2040953a
|
| 28-Jan-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
GC code that moved to crtbrand.c.
|