HomeFreeBSD

Implement a BSD licensed crtbegin/crtend

Description

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

Details

Provenance
andrewAuthored on
Reviewer
emaste
Differential Revision
D17587: Implement a BSD licensed crtbegin/crtend
Parents
rS339737: Remove a dead store.
Branches
Unknown
Tags
Unknown