<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openslx-ng/ipxe.git/src/arch/i386/scripts/linux.lds, branch openslx</title>
<subtitle>Fork of ipxe; additional commands and features</subtitle>
<id>https://git.openslx.org/openslx-ng/ipxe.git/atom/src/arch/i386/scripts/linux.lds?h=openslx</id>
<link rel='self' href='https://git.openslx.org/openslx-ng/ipxe.git/atom/src/arch/i386/scripts/linux.lds?h=openslx'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/'/>
<updated>2023-01-22T12:38:03+00:00</updated>
<entry>
<title>[linux] Centralise the linker script for Linux binaries</title>
<updated>2023-01-22T12:38:03+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2023-01-22T12:05:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=475c0dfa8e5b841ff29d3fbf7d6828e3cdd05ad5'/>
<id>urn:sha1:475c0dfa8e5b841ff29d3fbf7d6828e3cdd05ad5</id>
<content type='text'>
Reduce duplication between i386 and x86_64 by providing a single
shared linker script that both architectures can include.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[efi] Include Secure Boot Advanced Targeting (SBAT) metadata</title>
<updated>2022-01-13T14:12:44+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2022-01-13T14:10:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=f4f9adf618cd85d330a896e1f721f3aa78d2409d'/>
<id>urn:sha1:f4f9adf618cd85d330a896e1f721f3aa78d2409d</id>
<content type='text'>
SBAT defines an encoding for security generation numbers stored as a
CSV file within a special ".sbat" section in the signed binary.  If a
Secure Boot exploit is discovered then the generation number will be
incremented alongside the corresponding fix.

Platforms may then record the minimum generation number required for
any given product.  This allows for an efficient revocation mechanism
that consumes minimal flash storage space (in contrast to the DBX
mechanism, which allows for only a single-digit number of revocation
events to ever take place across all possible signed binaries).

Add SBAT metadata to iPXE EFI binaries to support this mechanism.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[build] Fix %.licence build target</title>
<updated>2013-07-15T22:50:54+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2013-07-15T22:08:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=ca319873bf43d5d955cc3d8770b5b2415798907d'/>
<id>urn:sha1:ca319873bf43d5d955cc3d8770b5b2415798907d</id>
<content type='text'>
Our use of --gc-sections causes the linker to discard the symbols
defined by FILE_LICENCE(), meaning that the resulting licence
determination is incomplete.

We must use the KEEP() directive in the linker script to force the
linker to not discard the licence symbols.  Using KEEP(*(COMMON))
would be undesirable, since there are some symbols in COMMON which we
may wish to discard.

Fix by placing symbols defined by PROVIDE_SYMBOL() (which is used by
FILE_LICENCE()) into a special ".provided" section, which we then mark
with KEEP().  All such symbols are zero-length, so there is no cost in
terms of the final binary size.

Since the symbols are no longer in COMMON, the linker will reject
symbols with the same name coming from multiple objects.  We therefore
append the object name to the licence symbol, to ensure that it is
unique.

Reported-by: Marin Hannache &lt;git@mareo.fr&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[linux] Make malloc and linux_umalloc valgrindable</title>
<updated>2011-03-27T20:03:05+00:00</updated>
<author>
<name>Piotr Jaroszyński</name>
</author>
<published>2010-07-01T01:47:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=b604e8a388702df3cd4d3d64cf42dfc361b235c0'/>
<id>urn:sha1:b604e8a388702df3cd4d3d64cf42dfc361b235c0</id>
<content type='text'>
Make the allocators used by malloc and linux_umalloc valgrindable.
Include valgrind headers in the codebase to avoid a build dependency
on valgrind.

Signed-off-by: Piotr Jaroszyński &lt;p.jaroszynski@gmail.com&gt;
Modified-by: Michael Brown &lt;mcb30@ipxe.org&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[build] Use unique entry symbols for each prefix</title>
<updated>2011-02-23T21:12:56+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2011-02-23T21:12:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=030e5a064e5f7252b3b77a27c78169f4a5c974c5'/>
<id>urn:sha1:030e5a064e5f7252b3b77a27c78169f4a5c974c5</id>
<content type='text'>
Some binutils versions will drag in an object to satisfy the entry
symbol; some won't.  Try to cope with this exciting variety of
behaviour by ensuring that all entry symbols are unique.

Remove the explicit inclusion of the prefix object on the linker
command line, since the entry symbol now provides all the information
needed to identify the prefix.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[build] Eliminate unused sections at link-time</title>
<updated>2011-02-22T21:02:00+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2011-02-22T19:36:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=623469de5d307ee6d762ad30988ffbfbc53741b6'/>
<id>urn:sha1:623469de5d307ee6d762ad30988ffbfbc53741b6</id>
<content type='text'>
Use -ffunction-sections, -fdata-sections, and --gc-sections to
automatically prune out any unreferenced sections.

This saves around 744 bytes (uncompressed) from the rtl8139.rom build.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[linux] Add linux platform skeleton</title>
<updated>2010-08-19T11:25:06+00:00</updated>
<author>
<name>Piotr Jaroszyński</name>
</author>
<published>2010-04-07T23:25:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=e84db1121b206736eb2958322abd0830b068132d'/>
<id>urn:sha1:e84db1121b206736eb2958322abd0830b068132d</id>
<content type='text'>
Add makefiles, ld scripts and default config for linux platform for
both i386 and x86_64.

Signed-off-by: Piotr Jaroszyński &lt;p.jaroszynski@gmail.com&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
</feed>
