mirror of
https://github.com/limine-bootloader/limine
synced 2024-11-26 10:29:54 +03:00
misc/build: Update limine-efi commit and fixes for linker portability
This commit is contained in:
parent
1e85ce85fd
commit
3a51368db6
@ -13,7 +13,7 @@ cd "$srcdir"
|
|||||||
FREESTANDING_TOOLCHAIN_COMMIT_HASH=18a5e52483344e117d45738c9afb2b34792cbced
|
FREESTANDING_TOOLCHAIN_COMMIT_HASH=18a5e52483344e117d45738c9afb2b34792cbced
|
||||||
FREESTANDING_HEADERS_COMMIT_HASH=dd3abd2d7147efc4170dff478d3b7730bed14147
|
FREESTANDING_HEADERS_COMMIT_HASH=dd3abd2d7147efc4170dff478d3b7730bed14147
|
||||||
CC_RUNTIME_COMMIT_HASH=38942e9a0d11af77c5d9fb45794850f7a1565d2b
|
CC_RUNTIME_COMMIT_HASH=38942e9a0d11af77c5d9fb45794850f7a1565d2b
|
||||||
LIMINE_EFI_COMMIT_HASH=0559deafcbfe62f291ca1e1f359c282e86bd99d6
|
LIMINE_EFI_COMMIT_HASH=c6ae0cb1dfaad810a1406b096fa107f83b4d84be
|
||||||
TINF_COMMIT_HASH=57ffa1f1d5e3dde19011b2127bd26d01689b694b
|
TINF_COMMIT_HASH=57ffa1f1d5e3dde19011b2127bd26d01689b694b
|
||||||
FLANTERM_COMMIT_HASH=347d9cf1e3fced64aa20ab278e2fdcc834086035
|
FLANTERM_COMMIT_HASH=347d9cf1e3fced64aa20ab278e2fdcc834086035
|
||||||
STB_COMMIT_HASH=f4a71b13373436a2866c5d68f8f80ac6f0bc1ffe
|
STB_COMMIT_HASH=f4a71b13373436a2866c5d68f8f80ac6f0bc1ffe
|
||||||
|
@ -166,27 +166,21 @@ endif
|
|||||||
ifeq ($(TARGET),uefi-x86-64)
|
ifeq ($(TARGET),uefi-x86-64)
|
||||||
override LDFLAGS_FOR_TARGET += \
|
override LDFLAGS_FOR_TARGET += \
|
||||||
-m elf_x86_64 \
|
-m elf_x86_64 \
|
||||||
-static \
|
|
||||||
-pie \
|
-pie \
|
||||||
--no-dynamic-linker \
|
|
||||||
-z text
|
-z text
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET),uefi-ia32)
|
ifeq ($(TARGET),uefi-ia32)
|
||||||
override LDFLAGS_FOR_TARGET += \
|
override LDFLAGS_FOR_TARGET += \
|
||||||
-m elf_i386 \
|
-m elf_i386 \
|
||||||
-static \
|
|
||||||
-pie \
|
-pie \
|
||||||
--no-dynamic-linker \
|
|
||||||
-z text
|
-z text
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET),uefi-aarch64)
|
ifeq ($(TARGET),uefi-aarch64)
|
||||||
override LDFLAGS_FOR_TARGET += \
|
override LDFLAGS_FOR_TARGET += \
|
||||||
-m aarch64elf \
|
-m aarch64elf \
|
||||||
-static \
|
|
||||||
-pie \
|
-pie \
|
||||||
--no-dynamic-linker \
|
|
||||||
-z text
|
-z text
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -194,9 +188,7 @@ ifeq ($(TARGET),uefi-riscv64)
|
|||||||
override LDFLAGS_FOR_TARGET += \
|
override LDFLAGS_FOR_TARGET += \
|
||||||
-m elf64lriscv \
|
-m elf64lriscv \
|
||||||
--no-relax \
|
--no-relax \
|
||||||
-static \
|
|
||||||
-pie \
|
-pie \
|
||||||
--no-dynamic-linker \
|
|
||||||
-z text
|
-z text
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -75,5 +75,6 @@ SECTIONS
|
|||||||
/DISCARD/ : {
|
/DISCARD/ : {
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
*(.note .note.*)
|
*(.note .note.*)
|
||||||
|
*(.interp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,5 +75,6 @@ SECTIONS
|
|||||||
/DISCARD/ : {
|
/DISCARD/ : {
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
*(.note .note.*)
|
*(.note .note.*)
|
||||||
|
*(.interp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -77,5 +77,6 @@ SECTIONS
|
|||||||
/DISCARD/ : {
|
/DISCARD/ : {
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
*(.note .note.*)
|
*(.note .note.*)
|
||||||
|
*(.interp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,5 +75,6 @@ SECTIONS
|
|||||||
/DISCARD/ : {
|
/DISCARD/ : {
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
*(.note .note.*)
|
*(.note .note.*)
|
||||||
|
*(.interp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,9 +29,7 @@ override LDFLAGS += \
|
|||||||
-Tlinker.ld \
|
-Tlinker.ld \
|
||||||
-nostdlib \
|
-nostdlib \
|
||||||
-zmax-page-size=0x1000 \
|
-zmax-page-size=0x1000 \
|
||||||
-static \
|
|
||||||
-pie \
|
-pie \
|
||||||
--no-dynamic-linker \
|
|
||||||
-ztext
|
-ztext
|
||||||
|
|
||||||
override LDFLAGS_MB2 := \
|
override LDFLAGS_MB2 := \
|
||||||
|
Loading…
Reference in New Issue
Block a user