<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/stand, branch release/12.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F12.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F12.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2019-10-15T06:19:33Z</updated>
<entry>
<title>loader.efi: efipart needs to use ioalign</title>
<updated>2019-10-15T06:19:33Z</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2019-10-15T06:19:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7f14d97e72d96b4cb23a666b4ea70737f23a1773'/>
<id>urn:sha1:7f14d97e72d96b4cb23a666b4ea70737f23a1773</id>
<content type='text'>
UEFI specification 2.7A, EFI_BLOCK_IO_PROTOCOL, page 566.

The ioalign property does define the alignment of data buffer.

If the alignment is required and our buffer is not aligned, or if
the data buffer is not multiple of Blocksize, we need to use bounce buffer
to perform the block IO. This is much like with BIOS version, except
there the INT13 needs buffer to be located in low memory.

MFS: r353501
MFC: r347195,350654-350656,351274,351630,351637,352421,352439,352443-352446,352451

Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>MFS r352754: Add WITH_PIE knob to build Position Independent Executables</title>
<updated>2019-09-26T18:37:58Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2019-09-26T18:37:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=349a1e572466e410130570a575ee09fef5903f11'/>
<id>urn:sha1:349a1e572466e410130570a575ee09fef5903f11</id>
<content type='text'>
MFC r344179: Add WITH_PIE knob to build Position Independent Executables

Building binaries as PIE allows the executable itself to be loaded at a
random address when ASLR is enabled (not just its shared libraries).

With this change PIE objects have a .pieo extension and INTERNALLIB
libraries libXXX_pie.a.

MK_PIE is disabled for some kerberos5 tools, Clang, and Subversion, as
they explicitly reference .a libraries in their Makefiles.  These can
be addressed on an individual basis later.  MK_PIE is also disabled for
rtld-elf because it is already position-independent using bespoke
Makefile rules.

Currently only dynamically linked binaries will be built as PIE.

MFC r344181: Fix Makefile conditional after r344179

MFC r344182: Use make's :tl instead of checking "no" and "NO"

MFC r344189: Fixup bsd.prog.mk after r344182

MFC r344211: wlandebug: disable PIE to fix build failure

libifconfig is built as a static-only PRIVATELIB (and there is no _pie.a
version) so disable PIE in libifconfig's consumer.

r345489: Fix GNU objdump build under WITH_PIE

Explicitly specified bare .a libraries need ${PIE_SUFFIX}.

r345490: Apply WITH_PIE changes to other binutils components

Followon to r345489, explicitly specified bare .a libraries need
${PIE_SUFFIX} (although these still built).

r345778: Fix gdb/kgdb build under WITH_PIE

Explicitly specified bare .a libraries need ${PIE_SUFFIX}.

Approved by:	re (gjb)
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r352194: lualoader: Revert to ASCII menu frame for serial console</title>
<updated>2019-09-15T02:48:15Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-09-15T02:48:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=23601245ba59be11e52227838b997ae61841f2ba'/>
<id>urn:sha1:23601245ba59be11e52227838b997ae61841f2ba</id>
<content type='text'>
The box drawing characters we use aren't necessarily safe with a serial
console; for instance, in the report by npn@, these were causing his xterm
to send back a sequence that lua picked up as input and halted the boot.
This is less than ideal.

Fallback to ASCII frames for console with 'comconsole' in it.  This is a
partial revert r338108 by imp@ -- instead of removing the menu entirely and
disabling color/cursor sequences, just reverting the default frame to ASCII
is enough to not break in this setup.
</content>
</entry>
<entry>
<title>MFC r351865, r351837:</title>
<updated>2019-09-12T06:26:22Z</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2019-09-12T06:26:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d3d2eab408d123bb641cf5e84ca423262a8f9737'/>
<id>urn:sha1:d3d2eab408d123bb641cf5e84ca423262a8f9737</id>
<content type='text'>
ficl: add xemit word
ficl: add uIsGreater word (needed for xemit)

We need xemit to support userboot.so loading images from CURRENT.
</content>
</entry>
<entry>
<title>MFC r343755:</title>
<updated>2019-09-05T23:27:59Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2019-09-05T23:27:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=835ddc360d2fc8faaa80993c4e2c9985c2c72145'/>
<id>urn:sha1:835ddc360d2fc8faaa80993c4e2c9985c2c72145</id>
<content type='text'>
  Regularize the Netflix copyright
</content>
</entry>
<entry>
<title>Revert r351902 ... it didn't properly exclude rack.c changes</title>
<updated>2019-09-05T23:24:43Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2019-09-05T23:24:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4f58e69b0dedaabe320f3701a6d018160f83b673'/>
<id>urn:sha1:4f58e69b0dedaabe320f3701a6d018160f83b673</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC r343755:</title>
<updated>2019-09-05T22:38:53Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2019-09-05T22:38:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c1b1efbe5b2cec80e45c20caf77ed519a87d4b4a'/>
<id>urn:sha1:c1b1efbe5b2cec80e45c20caf77ed519a87d4b4a</id>
<content type='text'>
  Regularize the Netflix copyright
</content>
</entry>
<entry>
<title>MFC r351408-r351410: reduce pollution from mips machine/regnum.h</title>
<updated>2019-09-03T20:19:43Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-09-03T20:19:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1bdb9589d444778137fbcee33a93b6213036f901'/>
<id>urn:sha1:1bdb9589d444778137fbcee33a93b6213036f901</id>
<content type='text'>
r351408:
libsa: mips: use _JB_* from machine/asm.h, remove regnum dep

This brings the libsa/mips _setjmp implementation closer to parity with the
libc version.

r351409:
mips: hide regnum definitions behind _KERNEL/_WANT_MIPS_REGNUM

machine/regnum.h ends up being included by sys/procfs.h and sys/ptrace.h via
machine/reg.h. Many of the regnum definitions are too short and too generic
to be exposing to any userland application including one of these two
headers. Moreover, these actively cause build failures in googletest
(template &lt;typename T1 ...&gt; expanding to template &lt;typename 9 ...&gt;).

Hide the definitions behind _KERNEL or _WANT_MIPS_REGNUM, and patch all of
the userland consumers to define as needed.

r351410:
libsa: mips: fix typo that had slipped into the diff on local machine
</content>
</entry>
<entry>
<title>MFC r351119, r351135-r351136, r351412: stand xtoolchain-llvm90 fixes</title>
<updated>2019-08-26T17:34:07Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-08-26T17:34:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=564cc9fd2d6f6a26a3c1a5503d576c2c7c1faf77'/>
<id>urn:sha1:564cc9fd2d6f6a26a3c1a5503d576c2c7c1faf77</id>
<content type='text'>
r351119:
stand: push LIBC_SRC up into defs.mk

Other parts of stand/ that don't use libsa will need to grab bits from libc
shortly. Push LIBC_SRC up to defs.mk in advance of this so that they can use
it, and rename it to LIBCSRC to match the convention of the rest of the *SRC
variables in this file.

r351135:
stand: boot2: fix build with xtoolchain-llvm90

ufsread.c grows a dependency on __ashldi3 with llvm90. Grab ashldi3.c out of
compiler-rt rather than trying to link against libsa (for now).
-Wno-missing-prototypes is necessary to compile ashldi3.c standalone.

r351136:
stand: gptboot: fix build with xtoolchain-llvm90

ufsread.c grows a dependency on __ashldi3 with llvm90. For gptboot, just
start pulling in ashldi3.c ashrdi3.c lshrdi3.c into libsa for all archs as
the number of archs requiring one or more of them keeps growing. qdivrem.c
and quad.h can be trivially kicked out of libsa if we start pulling these
from compiler-rt as qdivrem was only used to implement umoddi3, divdi3,
moddi3 (also in qdivrem.c).

r351412:
stand: boot2: fix amd64-xtoolchain-gcc build

-Wno-missing-declarations is the GCC equivalent of
-Wno-missing-prototypes... this was overlooked in r351135.
</content>
</entry>
<entry>
<title>loader: support com.delphix:removing</title>
<updated>2019-08-22T07:37:34Z</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2019-08-22T07:37:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5c7109a8dfe3bc54904cbd6791cc0abcd7f7bd65'/>
<id>urn:sha1:5c7109a8dfe3bc54904cbd6791cc0abcd7f7bd65</id>
<content type='text'>
MFC r348353: boot1.efi should also provide Calloc
MFC r350772: loader: support com.delphix:removing
MFC r350825: loader: add error check for vdev_indirect calls

As prerequisite, we need Calloc in boot1 so we would not conflict with libsa.

We should support removing vdev from boot pool. Update loader zfs reader
to support com.delphix:removing.

Relnotes:	yes
</content>
</entry>
</feed>
