d9275e2a | 17-Apr-2023 |
b'Nigel Croxon <allura@localhost> |
Merge /u/gmbr3/gnu-efi/ branch unsigned-char into master
https://sourceforge.net/p/gnu-efi/code/merge-requests/47/ |
362ef3db | 17-Apr-2023 |
b'Nigel Croxon <allura@localhost> |
Merge /u/gmbr3/gnu-efi/ branch nullptr into master
https://sourceforge.net/p/gnu-efi/code/merge-requests/46/ |
e0e1f53c | 17-Apr-2023 |
b'Nigel Croxon <allura@localhost> |
Merge /u/gmbr3/gnu-efi/ branch pkgconf2 into master
https://sourceforge.net/p/gnu-efi/code/merge-requests/45/ |
7219aba4 | 17-Apr-2023 |
b'Nigel Croxon <allura@localhost> |
Merge /u/yetist/gnu-efi/ branch dev-master into master
https://sourceforge.net/p/gnu-efi/code/merge-requests/33/ |
2a599ea1 | 15-Apr-2023 |
Callum Farmer <gmbr3@opensuse.org> |
Make TRUE/FALSE compatible with C23/C++
Signed-off-by: Callum Farmer <gmbr3@opensuse.org> |
056bdaa5 | 13-Apr-2023 |
Callum Farmer <gmbr3@opensuse.org> |
Make VOID a typedef
'void' is a type so VOID can be typedef instead of a '#define' to improve compiler output
Signed-off-by: Callum Farmer <gmbr3@opensuse.org> |
189200d0 | 08-Apr-2023 |
Callum Farmer <gmbr3@opensuse.org> |
Make WCHAR and CHAR16 identical
And actually use wchar_t gnu-efi already uses L string literals which are of type wchar_t
Signed-off-by: Callum Farmer <gmbr3@opensuse.org> |
e3987480 | 08-Apr-2023 |
Callum Farmer <gmbr3@opensuse.org> |
ISO-Latin-1 requires unsigned char
It has characters from 0 to 256 so this requires an unsigned 8 bit value
Signed-off-by: Callum Farmer <gmbr3@opensuse.org> |
d0900861 | 06-Apr-2023 |
Callum Farmer <gmbr3@opensuse.org> |
Make NULL compatible with C23/C++
Signed-off-by: Callum Farmer <gmbr3@opensuse.org> |
63a9a4d4 | 06-Apr-2023 |
Callum Farmer <gmbr3@opensuse.org> |
Add pkgconfig file
Also add EXEC_PREFIX and INCLUDEDIR variables
This was requested by fwupd-efi, to be able to retrieve the version number of gnu-efi so we can detect features
Signed-off-by: Call
Add pkgconfig file
Also add EXEC_PREFIX and INCLUDEDIR variables
This was requested by fwupd-efi, to be able to retrieve the version number of gnu-efi so we can detect features
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
show more ...
|
b6a64728 | 04-Apr-2023 |
b'Nigel Croxon <allura@localhost> |
Merge /u/gmbr3/gnu-efi/ branch boolean into master
https://sourceforge.net/p/gnu-efi/code/merge-requests/43/ |
7c89273d | 28-Mar-2023 |
Richard Hughes <richard@hughsie.com> |
make: Fix shell exit status handling
Right now whenever we have shell commands with loops, errors in the middle are accidentally ignored, and make continues to process commands.
This adds 'set -e'
make: Fix shell exit status handling
Right now whenever we have shell commands with loops, errors in the middle are accidentally ignored, and make continues to process commands.
This adds 'set -e' to all of those, so they'll propagate back up.
Signed-off-by: Peter Jones <pjones@redhat.com>
show more ...
|
98ef7f9f | 15-Jan-2020 |
Peter Jones <pjones@redhat.com> |
Use CFLAGS with "gcc -print-libgcc-file-name" to get the right one.
This makes us use CFLAGS when trying to find libgcc, so we don't get the one with the wrong endian or float ABI.
Signed-off-by: P
Use CFLAGS with "gcc -print-libgcc-file-name" to get the right one.
This makes us use CFLAGS when trying to find libgcc, so we don't get the one with the wrong endian or float ABI.
Signed-off-by: Peter Jones <pjones@redhat.com>
show more ...
|
4ee8cf56 | 25-Oct-2019 |
Peter Jones <pjones@redhat.com> |
Make: make "make DESTDIR=../foo install" work right.
This makes the normal DESTDIR= variable work on the command line, and makes relative paths always relative to the top-level directory.
Signed-of
Make: make "make DESTDIR=../foo install" work right.
This makes the normal DESTDIR= variable work on the command line, and makes relative paths always relative to the top-level directory.
Signed-off-by: Peter Jones <pjones@redhat.com>
show more ...
|
4b5db35e | 18-Nov-2019 |
Peter Jones <pjones@redhat.com> |
Implement Print(L"%p", ptr);
Signed-off-by: Peter Jones <pjones@redhat.com> |
8efd8cde | 04-Apr-2023 |
Callum Farmer <gmbr3@opensuse.org> |
Use C/C++ boolean when available
Signed-off-by: Callum Farmer <gmbr3@opensuse.org> |
4f8b339f | 28-Mar-2023 |
Peter Jones <pjones@redhat.com> |
Make ELF constructors and destructors work
This makes setup and teardown functions defined with __attribute__((__constructor__) and __attribute__((__destructor__)) work in normal circumstances in EF
Make ELF constructors and destructors work
This makes setup and teardown functions defined with __attribute__((__constructor__) and __attribute__((__destructor__)) work in normal circumstances in EFI binaries.
A couple of notes: - it implements both the old-style .ctors/.dtors methods and the newer style .init_array/.fini_array ELF constructor and destructor arrays, processed in the order: .init_array[] .ctors[] efi_main() .dtors[] .fini_array[] - Destructors will only be called if efi_main() exits using "return"; any call to Exit() will still longjmp() past them. - InitializeLib() has already been called before constructors run, so they don't need to call it (and neither does anything else.) For compatibility, it has been altered so calling it more than once is safe. - No attempt is made to handle any constructor or destructor with a prototype other than "void func(void);", but note that InitializeLib has been called, so LibImageHandle, ST, BS, and RT are set. - The init_array/ctor/dtor/fini_array lists aren't the using the GNU "CONSTRUCTOR" output section command, so they don't start with a size. - The lists are individually sorted during the link stage via SORT_BY_NAME() in the linker script. - The default (empty) init_array/ctor/dtor/fini_array lists are padded out to 8-byte alignment with ".p2align 3, 0", and each list always has at least one ".long 0" at the end of it (even if it's completely empty). As a result, they can have NULLs that need to be skipped. The sections they're in are mergeable, so the NULLs don't have to be exclusively at the end. - The ia64 and mips64el arches have not been tested.
Signed-off-by: Peter Jones <pjones@redhat.com>
show more ...
|
14899d89 | 27-Aug-2019 |
Peter Jones <pjones@redhat.com> |
Make CHAR8 and similar be defined the same way edk2 does it.
Signed-off-by: Peter Jones <pjones@redhat.com> |
b9c4b23d | 21-Jan-2020 |
Peter Jones <pjones@redhat.com> |
CFLAGS: add -Wno-pointer-sign
Signed-off-by: Peter Jones <pjones@redhat.com> |
f7bf4302 | 18-Nov-2019 |
Peter Jones <pjones@redhat.com> |
Semi-asciibetize _Print()'s formatters.
This is ascii order but with upper and lower case letters mixed, so things like 'X' and 'x' that use fallthrough still stay together.
Signed-off-by: Peter Jo
Semi-asciibetize _Print()'s formatters.
This is ascii order but with upper and lower case letters mixed, so things like 'X' and 'x' that use fallthrough still stay together.
Signed-off-by: Peter Jones <pjones@redhat.com>
show more ...
|
368cdf12 | 19-Nov-2019 |
Peter Jones <pjones@redhat.com> |
Switch to -fPIE
Signed-off-by: Peter Jones <pjones@redhat.com> |
cc4ef911 | 14-Nov-2019 |
Peter Jones <pjones@redhat.com> |
Remove the accidentally created lib/Makefile.orig
This was added in dae0b4b0b0d522caecf09123db2cf0250c37a169.
Signed-off-by: Peter Jones <pjones@redhat.com>
|
1b94cff1 | 11-Jun-2018 |
Peter Jones <pjones@redhat.com> |
Fix a minor coverity complaint in some apps
Coverity added a new kind of check, and it noticed some minor errors with some types in two of the apps here, both of the same form:
1. gnu-efi-3.0.6/app
Fix a minor coverity complaint in some apps
Coverity added a new kind of check, and it noticed some minor errors with some types in two of the apps here, both of the same form:
1. gnu-efi-3.0.6/apps/lfbgrid.c:91: overflow_before_widen: Potentially overflowing expression "info->VerticalResolution * info->PixelsPerScanLine" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "UINTN" (64 bits, unsigned).
1. gnu-efi-3.0.6/apps/bltgrid.c:67: overflow_before_widen: Potentially overflowing expression "info->VerticalResolution * info->HorizontalResolution" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "UINTN" (64 bits, unsigned).
This resolves both issues.
Signed-off-by: Peter Jones <pjones@redhat.com>
show more ...
|
3d82853f | 28-Mar-2023 |
Peter Jones <pjones@redhat.com> |
lfbgrid: Make pointer size testing not arch name dependent |
5e2444d1 | 23-Mar-2023 |
b'Nigel Croxon <allura@localhost> |
Merge /u/gmbr3/gnu-efi/ branch gc-sections into master
https://sourceforge.net/p/gnu-efi/code/merge-requests/42/ |