History log of /DragonStub/gnuefi/elf_riscv64_efi.lds (Results 1 – 21 of 21)
Revision Date Author Comments
# 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 ...


# 8abf159d 19-Jun-2023 Callum Farmer <gmbr3@opensuse.org>

Merge .plt into .text

ld writes .plt immediately after .text
which corrupts the alignment of .reloc

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>


# b3e80c38 13-Jun-2023 Callum Farmer <gmbr3@opensuse.org>

Split out rodata

rodata should be split for security

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>


# 20110935 13-Jun-2023 Callum Farmer <gmbr3@opensuse.org>

Clean up size symbols

Tells ld to define them after their markers

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/


# d8e6b531 20-May-2023 Callum Farmer <gmbr3@opensuse.org>

riscv64 lds: fix ctors/dtors

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>


# 9835e11e 16-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/51/


# 4c938fac 28-Apr-2023 Callum Farmer <gmbr3@opensuse.org>

Merge ctors/dtors rela sections

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>


# 7ad75d91 09-Mar-2023 Callum Farmer <gmbr3@opensuse.org>

Ensure objcopy sections are aligned

Ensure the main sections are page aligned:
- .text
- .reloc
- .dynamic
- .data
- .rel
- .rel.plt

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>


# 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 ...


# 1a10c661 07-Mar-2023 Callum Farmer <gmbr3@opensuse.org>

Un-merge .rel.plt section

Merging this section causes an incorrect RELASZ value


# 330c88aa 07-Mar-2023 b'Nigel Croxon <allura@localhost>

Merge /u/gmbr3/gnu-efi/ branch function-sections into master

https://sourceforge.net/p/gnu-efi/code/merge-requests/38/


# 02f96e8a 04-Mar-2023 Callum Farmer <gmbr3@opensuse.org>

*.efi.lds: Add .rel.dyn section

LLVM LLD always calls it .rel[a].dyn no matter what
so add this to the .rel[a] section

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>


# 15f10734 03-Mar-2023 Callum Farmer <gmbr3@opensuse.org>

Add some COMDAT sections

When using function/data sections option from
gcc, some additional un-packed sections get created
move these to there correct placement if not already
included

sections see

Add some COMDAT sections

When using function/data sections option from
gcc, some additional un-packed sections get created
move these to there correct placement if not already
included

sections seen on x86/x86_64/aarch64:
.gcc_except_table.efi_main
.bss.debugging

.gcc_except_table.* only appears on objcopy archs

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>

show more ...


# d78b78cb 22-Feb-2023 b'Nigel Croxon <allura@localhost>

Merge /u/gmbr3/gnu-efi/ branch merge-rela2 into master

https://sourceforge.net/p/gnu-efi/code/merge-requests/37/


# eea6d31a 21-Feb-2023 Callum Farmer <gmbr3@opensuse.org>

*.efi.lds: Merge all rela sections into one

Objcopy sometimes generates .rela.plt and .rela.data
sections for which their names are longer than the 8
characters limit of PE32

Signed-off-by: Callum

*.efi.lds: Merge all rela sections into one

Objcopy sometimes generates .rela.plt and .rela.data
sections for which their names are longer than the 8
characters limit of PE32

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>

show more ...


# f7b2e1ff 20-Jan-2023 b'Nigel Croxon <allura@localhost>

Merge /u/gmbr3/gnu-efi/ branch master into master

https://sourceforge.net/p/gnu-efi/code/merge-requests/34/


# 231c7632 29-Dec-2022 Callum Farmer <gmbr3@opensuse.org>

*.efi.lds: Use proper data segment placement

Use ld commands DATA_SEGMENT_ALIGN and DATA_SEGMENT_END

Fixes binutils 2.39 warning:
/usr/bin/ld: warning: efi/fwup.so has a LOAD segment with RWX
permi

*.efi.lds: Use proper data segment placement

Use ld commands DATA_SEGMENT_ALIGN and DATA_SEGMENT_END

Fixes binutils 2.39 warning:
/usr/bin/ld: warning: efi/fwup.so has a LOAD segment with RWX
permissions

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>

show more ...


# 98f12507 10-Oct-2022 Letu Ren <fantasquex@gmail.com>

riscv: Fix ld RWX warning

The current ld script places .dynamic section right after .text, which
results in that one LOAD segment contains both data and code. Binutils
2.39 and later will throw a wa

riscv: Fix ld RWX warning

The current ld script places .dynamic section right after .text, which
results in that one LOAD segment contains both data and code. Binutils
2.39 and later will throw a warning if RWX segments exist. Code and
data should be placed in different LOAD segments with different
permissions. This patch adds a gap between data and code sections which
is taken from the default ld script in riscv64.

Co-developed-by: Moody Liu <mooodyhunter@outlook.com>
Signed-off-by: Moody Liu <mooodyhunter@outlook.com>
Signed-off-by: Letu Ren <fantasquex@gmail.com>

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>