HomeFreeBSD

crtbegin: accurately check for the end of .dtors

Description

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

Details

Provenance
kibAuthored on Mon, Jan 27, 7:21 PM
Reviewer
andrew
Differential Revision
D48700: Workaround for crtbegin.o or crtend.o not being included into the link
Parents
rGc64b3f32a570: umass: Add comment for ASC/ASCQ 24h/00h INVALID FIELD IN CDB
Branches
Unknown
Tags
Unknown