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_HEADERS_COMMIT_HASH=dd3abd2d7147efc4170dff478d3b7730bed14147
|
||||
CC_RUNTIME_COMMIT_HASH=38942e9a0d11af77c5d9fb45794850f7a1565d2b
|
||||
LIMINE_EFI_COMMIT_HASH=0559deafcbfe62f291ca1e1f359c282e86bd99d6
|
||||
LIMINE_EFI_COMMIT_HASH=c6ae0cb1dfaad810a1406b096fa107f83b4d84be
|
||||
TINF_COMMIT_HASH=57ffa1f1d5e3dde19011b2127bd26d01689b694b
|
||||
FLANTERM_COMMIT_HASH=347d9cf1e3fced64aa20ab278e2fdcc834086035
|
||||
STB_COMMIT_HASH=f4a71b13373436a2866c5d68f8f80ac6f0bc1ffe
|
||||
|
@ -166,27 +166,21 @@ endif
|
||||
ifeq ($(TARGET),uefi-x86-64)
|
||||
override LDFLAGS_FOR_TARGET += \
|
||||
-m elf_x86_64 \
|
||||
-static \
|
||||
-pie \
|
||||
--no-dynamic-linker \
|
||||
-z text
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET),uefi-ia32)
|
||||
override LDFLAGS_FOR_TARGET += \
|
||||
-m elf_i386 \
|
||||
-static \
|
||||
-pie \
|
||||
--no-dynamic-linker \
|
||||
-z text
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET),uefi-aarch64)
|
||||
override LDFLAGS_FOR_TARGET += \
|
||||
-m aarch64elf \
|
||||
-static \
|
||||
-pie \
|
||||
--no-dynamic-linker \
|
||||
-z text
|
||||
endif
|
||||
|
||||
@ -194,9 +188,7 @@ ifeq ($(TARGET),uefi-riscv64)
|
||||
override LDFLAGS_FOR_TARGET += \
|
||||
-m elf64lriscv \
|
||||
--no-relax \
|
||||
-static \
|
||||
-pie \
|
||||
--no-dynamic-linker \
|
||||
-z text
|
||||
endif
|
||||
|
||||
|
@ -75,5 +75,6 @@ SECTIONS
|
||||
/DISCARD/ : {
|
||||
*(.eh_frame)
|
||||
*(.note .note.*)
|
||||
*(.interp)
|
||||
}
|
||||
}
|
||||
|
@ -75,5 +75,6 @@ SECTIONS
|
||||
/DISCARD/ : {
|
||||
*(.eh_frame)
|
||||
*(.note .note.*)
|
||||
*(.interp)
|
||||
}
|
||||
}
|
||||
|
@ -77,5 +77,6 @@ SECTIONS
|
||||
/DISCARD/ : {
|
||||
*(.eh_frame)
|
||||
*(.note .note.*)
|
||||
*(.interp)
|
||||
}
|
||||
}
|
||||
|
@ -75,5 +75,6 @@ SECTIONS
|
||||
/DISCARD/ : {
|
||||
*(.eh_frame)
|
||||
*(.note .note.*)
|
||||
*(.interp)
|
||||
}
|
||||
}
|
||||
|
@ -29,9 +29,7 @@ override LDFLAGS += \
|
||||
-Tlinker.ld \
|
||||
-nostdlib \
|
||||
-zmax-page-size=0x1000 \
|
||||
-static \
|
||||
-pie \
|
||||
--no-dynamic-linker \
|
||||
-ztext
|
||||
|
||||
override LDFLAGS_MB2 := \
|
||||
|
Loading…
Reference in New Issue
Block a user