<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openslx-ng/ipxe.git/src/util, branch master</title>
<subtitle>Fork of ipxe; additional commands and features</subtitle>
<id>https://git.openslx.org/openslx-ng/ipxe.git/atom/src/util?h=master</id>
<link rel='self' href='https://git.openslx.org/openslx-ng/ipxe.git/atom/src/util?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/'/>
<updated>2019-01-21T11:58:02+00:00</updated>
<entry>
<title>[util] Add support for EFI ROM images</title>
<updated>2019-01-21T11:58:02+00:00</updated>
<author>
<name>Petr Borsodi</name>
</author>
<published>2019-01-16T16:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=de4565cbe76ea9f7913a01f331be3ee901bb6e17'/>
<id>urn:sha1:de4565cbe76ea9f7913a01f331be3ee901bb6e17</id>
<content type='text'>
The Option::ROM module recognizes and checks EFI header of image.  The
disrom.pl utility dumps this header if is present.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[util] Improve processing of ROM images in Option::ROM</title>
<updated>2019-01-21T11:56:35+00:00</updated>
<author>
<name>Petr Borsodi</name>
</author>
<published>2019-01-16T16:37:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=3f4c179a149c4feb3f0ea777aeddffa06bed0a27'/>
<id>urn:sha1:3f4c179a149c4feb3f0ea777aeddffa06bed0a27</id>
<content type='text'>
The Option::ROM module now compares the Code Type in the PCIR header
to 0x00 (PC-AT) in order to check the presence of other header types
(PnP, UNDI, iPXE, etc).  The validity of these headers are checked not
only by offset, but by range and signature checks also.  The image
checksum and initial size also depends on Code Type.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[zbin] Fix compiler warning with GCC 9</title>
<updated>2019-01-21T11:17:04+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2019-01-21T11:17:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=956f6a7227b62ce98d7840439af17bbca04f0c86'/>
<id>urn:sha1:956f6a7227b62ce98d7840439af17bbca04f0c86</id>
<content type='text'>
GCC 9 warns that abs() may truncate its signed long argument.  Fix by
using labs() instead.

Reported-by: Martin Liška &lt;mliska@suse.cz&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[pci] Correct invalid base-class/sub-class/prog-if order in PCIR</title>
<updated>2019-01-15T13:08:44+00:00</updated>
<author>
<name>Petr Borsodi</name>
</author>
<published>2019-01-15T13:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=ba0d5aa993df4bad28b2a6a36c10b43c7e5c33f2'/>
<id>urn:sha1:ba0d5aa993df4bad28b2a6a36c10b43c7e5c33f2</id>
<content type='text'>
PCI Configuration Space contains fields prog-if at the offset 0x09,
sub-class at the offset 0x0a and base-class at the offset 0x0b (it
respects little endian).  PCIR structure uses these fields in the same
order.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[build] Handle R_X86_64_PLT32 from binutils 2.31</title>
<updated>2018-09-17T11:24:18+00:00</updated>
<author>
<name>Christian Hesse</name>
</author>
<published>2018-08-25T11:53:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=133f4c47baef6002b2ccb4904a035cda2303c6e5'/>
<id>urn:sha1:133f4c47baef6002b2ccb4904a035cda2303c6e5</id>
<content type='text'>
Starting from binutils 2.31.0 (commit bd7ab16b) x86-64 assembler
generates R_X86_64_PLT32 instead of R_X86_64_PC32.

Acked-by: John Jolly &lt;jjolly@suse.com&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[efi] Add support for R_ARM_REL32 relocations</title>
<updated>2018-03-28T16:55:58+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2018-03-27T17:07:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=8c17ee115d140ceb509f97158b581cd7a19ee586'/>
<id>urn:sha1:8c17ee115d140ceb509f97158b581cd7a19ee586</id>
<content type='text'>
The relocation type R_ARM_REL32 is generated when building
bin-arm32-efi/snp.efi using gcc 6.3 and ld 2.28.

R_ARM_REL32 is a program counter (PC) relative 32 bit relocation so we
can ignore it like all other PC relative relocations.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[util] Support reversed sort ordering when generating NIC list</title>
<updated>2018-03-21T15:09:25+00:00</updated>
<author>
<name>Robin Smidsrød</name>
</author>
<published>2018-03-21T15:08:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=eda9f4db612401e3c7e700d00336cc293376ab56'/>
<id>urn:sha1:eda9f4db612401e3c7e700d00336cc293376ab56</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[efi] Allow for building with older versions of elf.h system header</title>
<updated>2017-09-24T18:26:58+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2017-09-24T18:26:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=1b67a0564657b6fcef18b1588ea6491ca1b1996d'/>
<id>urn:sha1:1b67a0564657b6fcef18b1588ea6491ca1b1996d</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[efi] Accept (and ignore) R_ARM_V4BX relocations</title>
<updated>2017-09-24T17:03:10+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2017-09-10T15:12:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=c4ce92599da7804268906fad2ba5d3564b1e9b83'/>
<id>urn:sha1:c4ce92599da7804268906fad2ba5d3564b1e9b83</id>
<content type='text'>
Relocation type R_ARM_V4BX requires no computation.  It marks the
location of an ARMv4 branch exchange instruction.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Modified-by: Michael Brown &lt;mcb30@ipxe.org&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[efi] Fix building elf2efi.c when -fpic is enabled by default</title>
<updated>2017-01-25T08:15:21+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2017-01-25T08:00:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=941c53a3bf0f0c1c276996e2a68b0fa6263ce410'/>
<id>urn:sha1:941c53a3bf0f0c1c276996e2a68b0fa6263ce410</id>
<content type='text'>
The x86_64 EDK2 headers include a #pragma to mark all subsequent
symbol declarations and references as hidden if position-independent
code is being generated.  Since libgen.h is currently included only
after the EDK2 headers, this results in __xpg_basename() being
erroneously marked as having hidden visibility (if the compiler
defaults to building position-independent code); this eventually
results in a failure to link the elf2efi binary.

Fix by including libgen.h prior to including the EDK2 headers.

Originally-fixed-by: Doug Goldstein &lt;cardoe@cardoe.com&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
</feed>
