#
58dce699 |
| 16-Jun-2023 |
Callum Farmer <gmbr3@opensuse.org> |
riscv64: fix image
- Make it actually work - Split text/data/reloc/rodata sections - Move hash sections to past end of image (un-needed in PE) - Correct section & file alignment - Correct image si
riscv64: fix image
- Make it actually work - Split text/data/reloc/rodata sections - Move hash sections to past end of image (un-needed in PE) - Correct section & file alignment - Correct image size
Builds correctly but untested
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
show more ...
|
#
64027ee9 |
| 07-Jun-2023 |
Callum Farmer <gmbr3@opensuse.org> |
Mark _start as function
Currently marked as NOTYPE
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
|
#
039ca9d9 |
| 31-May-2023 |
Callum Farmer <gmbr3@opensuse.org> |
Add full Data Directories table
Microsoft dumpbin doesn't like the binary if the full table doesn't exist
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
|
#
a1ffc0d4 |
| 22-May-2023 |
b'Nigel Croxon <allura@localhost> |
Merge /u/gmbr3/gnu-efi/ branch ia32 into master
https://sourceforge.net/p/gnu-efi/code/merge-requests/53/
|
#
d96b34e0 |
| 20-May-2023 |
Callum Farmer <gmbr3@opensuse.org> |
riscv: Use new ctors _entry func as entry point
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
|
#
1e0f0df5 |
| 20-May-2023 |
Callum Farmer <gmbr3@opensuse.org> |
riscv: Avoid TEXTREL
Use expression instead of variable for _data_size
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
|
#
9e6cb215 |
| 20-May-2023 |
Callum Farmer <gmbr3@opensuse.org> |
Avoid processor dependent sizes in assembly
.word -> .2byte .short -> .2byte .long -> .4byte .quad -> .8byte
Reference: https://github.com/rhboot/gnu-efi/commit/b83f0845b556506265d25d6a839a23c77b03
Avoid processor dependent sizes in assembly
.word -> .2byte .short -> .2byte .long -> .4byte .quad -> .8byte
Reference: https://github.com/rhboot/gnu-efi/commit/b83f0845b556506265d25d6a839a23c77b037ae4 Fixes: https://sourceforge.net/p/gnu-efi/bugs/37/
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
show more ...
|
#
0f9c15fe |
| 08-Mar-2023 |
bmeng@tinylab.org <bmeng@tinylab.org> |
riscv: Update SPDX license identifiers
The whole gnu-efi project is licensed under BSD license, see [1]. However some of the RISC-V codes have conflict license identifiers:
- Some mention GPL-2.0+
riscv: Update SPDX license identifiers
The whole gnu-efi project is licensed under BSD license, see [1]. However some of the RISC-V codes have conflict license identifiers:
- Some mention GPL-2.0+ in the SPDX license part, but the long license header indicates it's actually BSD and GPL-2.0+ dual-licensed - Some mention GPL-2.0+ in the SPDX license part only - Some do not have any license indication
To have a matching license with the whole project, this commit updates all RISC-V codes to have the correct SPDX license identifiers (GPL-2.0+ or BSD dual-license).
Link: https://sourceforge.net/p/gnu-efi/ [1] Signed-off-by: Bin Meng <bmeng@tinylab.org> Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
show more ...
|
#
803b49c4 |
| 06-Aug-2022 |
Sergei Trofimovich <slyich@gmail.com> |
*/*.S: add non-executable GNU stack marking on ELF-linux
binutils-2.39 enabed a few warning by default (https://sourceware.org/pipermail/binutils/2022-August/122246.html):
> The ELF linker will now
*/*.S: add non-executable GNU stack marking on ELF-linux
binutils-2.39 enabed a few warning by default (https://sourceware.org/pipermail/binutils/2022-August/122246.html):
> The ELF linker will now generate a warning message if the stack is made executable.
Let's suppress the warnings in assembly files by adding non-executables stack markings. This fixes at least systemd build which uses '-Wl,--fatal-warnings':
https://github.com/systemd/systemd/issues/24226
show more ...
|
#
31a6aab4 |
| 28-Jul-2021 |
Alfonso Sánchez-Beato <alfonso.sanchez-beato@canonical.com> |
Set NumberOfSymbols to zero
Acoording to what the spec says about the number of sybols [1]:
"This value should be zero for an image because COFF debugging information is deprecated."
Changing as i
Set NumberOfSymbols to zero
Acoording to what the spec says about the number of sybols [1]:
"This value should be zero for an image because COFF debugging information is deprecated."
Changing as if not zero it causes problems to llvm-objcopy. This affects only the architectures where COFF is not supported by objcopy and where we build the PE header via assembly code.
[1] https://docs.microsoft.com/en-us/windows/win32/debug/pe-format
show more ...
|
#
3676bc35 |
| 05-Apr-2021 |
b'Nigel Croxon <allura@localhost> |
Merge /u/xypron/gnu-efi/ branch riscv64 into master
https://sourceforge.net/p/gnu-efi/code/merge-requests/17/
|
#
b95f138f |
| 19-Mar-2021 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
Initial support for RISCV64
Add the RISCV64 architecture
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|