<feed xmlns='http://www.w3.org/2005/Atom'>
<title>netbsd/libexec, branch trunk</title>
<subtitle>NetBSD fork for lockdoc analysis</subtitle>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/'/>
<entry>
<title>add a note about how to setup http -&gt; https redirection.</title>
<updated>2023-06-07T20:22:22+00:00</updated>
<author>
<name>mrg</name>
<email>mrg@NetBSD.org</email>
</author>
<published>2023-06-07T20:22:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=2205894264bc2b985d2e769413e0b2a203723170'/>
<id>2205894264bc2b985d2e769413e0b2a203723170</id>
<content type='text'>
bump documented version.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bump documented version.</pre>
</div>
</content>
</entry>
<entry>
<title>serve .iso as "application/octet-stream".  bump version &amp; copyright.</title>
<updated>2023-06-07T20:12:31+00:00</updated>
<author>
<name>mrg</name>
<email>mrg@NetBSD.org</email>
</author>
<published>2023-06-07T20:12:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=2e2c54d9a9420d731cc03e481de623257db93ced'/>
<id>2e2c54d9a9420d731cc03e481de623257db93ced</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TLS variant I archs need to fudge the offset by the size of the TCB.</title>
<updated>2023-06-07T13:50:04+00:00</updated>
<author>
<name>joerg</name>
<email>joerg@NetBSD.org</email>
</author>
<published>2023-06-07T13:50:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=966df52ed42efe8fcfe198c8dd483159179d15d5'/>
<id>966df52ed42efe8fcfe198c8dd483159179d15d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ld.elf_so: Sprinkle more debug messages on dlopen and error.</title>
<updated>2023-06-04T23:42:38+00:00</updated>
<author>
<name>riastradh</name>
<email>riastradh@NetBSD.org</email>
</author>
<published>2023-06-04T23:42:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=dcbe31f9e1c6199905ff3a3e3835f164a71149a7'/>
<id>dcbe31f9e1c6199905ff3a3e3835f164a71149a7</id>
<content type='text'>
PR pkg/57445</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR pkg/57445</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid using uninitialized variable "symnum" when building with DEBUG</title>
<updated>2023-06-04T20:02:29+00:00</updated>
<author>
<name>martin</name>
<email>martin@NetBSD.org</email>
</author>
<published>2023-06-04T20:02:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=db82ad683130e72e65b39b6df6869dab1b3fb3b4'/>
<id>db82ad683130e72e65b39b6df6869dab1b3fb3b4</id>
<content type='text'>
enabled by borrowing the rdbg_symname() macro from arch/x86_64.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
enabled by borrowing the rdbg_symname() macro from arch/x86_64.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix interactions of initial-exec TLS model and dlopen</title>
<updated>2023-06-04T01:24:56+00:00</updated>
<author>
<name>joerg</name>
<email>joerg@NetBSD.org</email>
</author>
<published>2023-06-04T01:24:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=733909a2c44a633308136597959f415f4d31c404'/>
<id>733909a2c44a633308136597959f415f4d31c404</id>
<content type='text'>
(1) If an initial-exec relocation was used for a non-local symbol
(i.e. the definition of the symbol is in a different DSO), the
computation of the static TLS offset used the wrong DSO.
This would effectively mean the wrong address was computed
(PR toolchain/50277, PR pkg/57445).

Fix this by forcing the computation of the correct DSO (the one defining
the symbol).

This code uses __UNCONST to avoid the vast interface changes for this
special case.

(2) If symbols from a DSO loaded via dlopen are used with both
global-dynamic/local-dynamic and initial-exec relocations AND
a initial-exec relocation was resolved first in a thread, a split brain
situation could exist where the dynamic relocations would use one memory
block (separate allocation) and the initial-exec relocations the static
per-thread TLS space.

(3) If the initial-exec relocation in (2) is seen after any thread has
already used a GD/LD allocation, bail out. Since IE relocations are used
only in the GOT, this will prevent the dlopen. This is a bit more
aggressive than necessary, but a full blown reference counting doesn't
seem to be justified.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(1) If an initial-exec relocation was used for a non-local symbol
(i.e. the definition of the symbol is in a different DSO), the
computation of the static TLS offset used the wrong DSO.
This would effectively mean the wrong address was computed
(PR toolchain/50277, PR pkg/57445).

Fix this by forcing the computation of the correct DSO (the one defining
the symbol).

This code uses __UNCONST to avoid the vast interface changes for this
special case.

(2) If symbols from a DSO loaded via dlopen are used with both
global-dynamic/local-dynamic and initial-exec relocations AND
a initial-exec relocation was resolved first in a thread, a split brain
situation could exist where the dynamic relocations would use one memory
block (separate allocation) and the initial-exec relocations the static
per-thread TLS space.

(3) If the initial-exec relocation in (2) is seen after any thread has
already used a GD/LD allocation, bail out. Since IE relocations are used
only in the GOT, this will prevent the dlopen. This is a bit more
aggressive than necessary, but a full blown reference counting doesn't
seem to be justified.</pre>
</div>
</content>
</entry>
<entry>
<title>bsd.own.mk: rename GCC_NO_* to CC_WNO_*</title>
<updated>2023-06-03T09:09:01+00:00</updated>
<author>
<name>lukem</name>
<email>lukem@NetBSD.org</email>
</author>
<published>2023-06-03T09:09:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=ff6601a6cc5f10bccaf009e4e2b72c75774d7a4d'/>
<id>ff6601a6cc5f10bccaf009e4e2b72c75774d7a4d</id>
<content type='text'>
Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.</pre>
</div>
</content>
</entry>
<entry>
<title>bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER</title>
<updated>2023-06-03T08:52:53+00:00</updated>
<author>
<name>lukem</name>
<email>lukem@NetBSD.org</email>
</author>
<published>2023-06-03T08:52:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=abaa8cb87058c08ad0688c849a28f4e007c07bbb'/>
<id>abaa8cb87058c08ad0688c849a28f4e007c07bbb</id>
<content type='text'>
Provide a single variable
	CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
	CLANG_NO_ADDR_OF_PACKED_MEMBER
	CC_NO_ADDR_OF_PACKED_MEMBER
	GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide a single variable
	CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
	CLANG_NO_ADDR_OF_PACKED_MEMBER
	CC_NO_ADDR_OF_PACKED_MEMBER
	GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.</pre>
</div>
</content>
</entry>
<entry>
<title>follow the steps of Andrew Doran (ad) commit and fix more s/loose/lose/ typos.</title>
<updated>2023-06-02T08:51:46+00:00</updated>
<author>
<name>andvar</name>
<email>andvar@NetBSD.org</email>
</author>
<published>2023-06-02T08:51:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=7d0e1a6857dcbf5ffd8fcd0e112124619dda2c69'/>
<id>7d0e1a6857dcbf5ffd8fcd0e112124619dda2c69</id>
<content type='text'>
also s/beyound/beyond/ and few others along the way, mainly in comments.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
also s/beyound/beyond/ and few others along the way, mainly in comments.</pre>
</div>
</content>
</entry>
<entry>
<title>ld.elf_so: Make tls alloc debug messages more detailed and greppable.</title>
<updated>2023-06-01T08:20:10+00:00</updated>
<author>
<name>riastradh</name>
<email>riastradh@NetBSD.org</email>
</author>
<published>2023-06-01T08:20:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=0632fad62882d4e7c08faa9800260bfbe40126ce'/>
<id>0632fad62882d4e7c08faa9800260bfbe40126ce</id>
<content type='text'>
XXX pullup-10</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
XXX pullup-10</pre>
</div>
</content>
</entry>
</feed>
