<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/csu/common, branch master</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=master</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2020-11-10T19:04:54Z</updated>
<entry>
<title>Rename __JCR_LIST__ to __JCR_END__ in crtend.c.</title>
<updated>2020-11-10T19:04:54Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-11-10T19:04:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ecad1d050ce550cff0a4726190b8374dcdbaa25b'/>
<id>urn:sha1:ecad1d050ce550cff0a4726190b8374dcdbaa25b</id>
<content type='text'>
This is more consistent with the names used for .ctor and .dtor
symbols and better reflects __JCR_END__'s role.

Reviewed by:	andrew
Obtained from:	CheriBSD
MFC after:	2 weeks
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D27125
</content>
</entry>
<entry>
<title>Include ABI note tag in shared libraries.</title>
<updated>2020-07-16T21:58:43Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-07-16T21:58:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0bfad4329818423960a75ed0a305005098e237ac'/>
<id>urn:sha1:0bfad4329818423960a75ed0a305005098e237ac</id>
<content type='text'>
Split the ELF feature note into a separate file that is linked into
*crt1.o the same as crtbrand.S was before.  crtbrand.o is now linked
into crti.o on all platforms in addition to *crt1.o.

Reviewed by:	kib
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D25304
</content>
</entry>
<entry>
<title>Remove the sed hack for ABI tag notes.</title>
<updated>2020-06-15T19:38:48Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-06-15T19:38:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=99282790b7d01ec3c4072621d46a0d7302517ad4'/>
<id>urn:sha1:99282790b7d01ec3c4072621d46a0d7302517ad4</id>
<content type='text'>
The ELF notes compiled in C were placed in a section with the wrong type
(SHT_PROGBITS instead of SHT_NOTE).  Previously, sed was used on the
generated assembly to rewrite the section type.  Instead, write the notes
in assembly which permits setting the correct section type directly.

While here, move inline assembly entry points out of C and into assembly
for aarch64, arm, and riscv.

Reviewed by:	kib
Tested on:	amd64 (cirrus-ci), riscv64
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D25211
</content>
</entry>
<entry>
<title>csu: Fix dynamiclib/init_test:jcr_test on !HAVE_CTORS archs</title>
<updated>2019-11-08T14:28:39Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-11-08T14:28:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=20cb0deaa2db72f198b0574dc22401a548d6c56b'/>
<id>urn:sha1:20cb0deaa2db72f198b0574dc22401a548d6c56b</id>
<content type='text'>
.jcr still needs a 0-entry added in crtend, even on !HAVE_CTORS archs, as
we're still getting .jcr sections added -- presumably due to the reference
in crtbegin. Without this terminal, the .jcr section (without data) overlaps
with the next section and register_classes in crtbegin will be examining the
wrong item.

PR:		241439
Reviewed by:	andrew
Differential Revision:	https://reviews.freebsd.org/D22132
</content>
</entry>
<entry>
<title>Add the missing 0 at the end of the .jcr section.</title>
<updated>2018-11-24T18:23:53Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2018-11-24T18:23:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e5c0fd4be642b924743fbfaefcdfa2d656a5a112'/>
<id>urn:sha1:e5c0fd4be642b924743fbfaefcdfa2d656a5a112</id>
<content type='text'>
Without this the dynamic library test was failing as it was calling
_Jv_RegisterClasses multiple times.
</content>
</entry>
<entry>
<title>csu: use BSD-1-clause license on csu files</title>
<updated>2018-11-20T21:04:20Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-11-20T21:04:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b18e62b6da0140aa06c4da854929a3febeb4e4b9'/>
<id>urn:sha1:b18e62b6da0140aa06c4da854929a3febeb4e4b9</id>
<content type='text'>
Copyright on these files is held by kib@ and/or the Foundation, and both
agree to this change.

Approved by:	kib
</content>
</entry>
<entry>
<title>Add NT_FREEBSD_FEATURE_CTL ELF note to csu</title>
<updated>2018-11-20T20:59:49Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-11-20T20:59:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bbce18b8d1f572012c40e77c9d0a6dfd28cd25f3'/>
<id>urn:sha1:bbce18b8d1f572012c40e77c9d0a6dfd28cd25f3</id>
<content type='text'>
This note will be used to allow binaries to opt out of, or in to,
upcoming vulnerability mitigation and other features.  It is not yet
connected but being added now to facilitate testing and ensure
compatibility with existing kernels and tools.

Reviewed by:	brooks, jhb, kib, markj
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D17438
</content>
</entry>
<entry>
<title>Run __cxa_finalize in shared objects in the destructor path.</title>
<updated>2018-11-13T15:28:27Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2018-11-13T15:28:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b7305f91e4c0e84158d7d220321cd08874a56e67'/>
<id>urn:sha1:b7305f91e4c0e84158d7d220321cd08874a56e67</id>
<content type='text'>
When we have .dtors call them before .dtor handling, otherwise call from
a destructor.

PR:		233056
MFC with:	r339738
Sponsored by:	DARPA, AFRL
</content>
</entry>
<entry>
<title>Add __used to __CTOR_LIST__ and __DTOR_LIST__</title>
<updated>2018-10-31T14:19:58Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-10-31T14:19:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=57706376c63d433935dbadcbee514c6eb7a395cd'/>
<id>urn:sha1:57706376c63d433935dbadcbee514c6eb7a395cd</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Make the .ctors, .dtors, and .jcr markers as static. They shouldn't be</title>
<updated>2018-10-29T17:55:26Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2018-10-29T17:55:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fb7128c25e50fd4e98721397c0e7ff4dbf8a4af8'/>
<id>urn:sha1:fb7128c25e50fd4e98721397c0e7ff4dbf8a4af8</id>
<content type='text'>
accessible from out of the files they are defined in.

MFC with:	r339738
Sponsored by:	DARPA, AFRL
</content>
</entry>
</feed>
