M efigop/build/build.sh => efigop/build/build.sh +1 -1
@@ 80,6 80,6 @@ clang -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../
clang -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include/amd64 -DEFIBOOT -DFWRANDOM -DNEEDS_HEAP_H -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/.. -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/boot -ffreestanding -std=gnu99 -fshort-wchar -fPIC -mno-red-zone -DSOFTRAID -D_STANDALONE -nostdinc -fno-builtin -Oz -Wall -Werror -ffreestanding -fno-stack-protector -DMDRANDOM -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include/amd64 -DEFIBOOT -DFWRANDOM -DNEEDS_HEAP_H -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/.. -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/boot -ffreestanding -std=gnu99 -fshort-wchar -fPIC -mno-red-zone -DSOFTRAID -D_STANDALONE -nostdinc -fno-builtin -MD -MP -Wno-pointer-sign -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../.. -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../libsa -I. -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64 -DSMALL -DSLOW -DNOBYFOUR -D__INTERNAL_LIBSA_CREAD -DHEAP_LIMIT=0xc00000 -DHIBERNATE -c /home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../libsa/elf64.c
clang -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include/amd64 -DEFIBOOT -DFWRANDOM -DNEEDS_HEAP_H -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/.. -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/boot -ffreestanding -std=gnu99 -fshort-wchar -fPIC -mno-red-zone -DSOFTRAID -D_STANDALONE -nostdinc -fno-builtin -Oz -Wall -Werror -ffreestanding -fno-stack-protector -DMDRANDOM -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include/amd64 -DEFIBOOT -DFWRANDOM -DNEEDS_HEAP_H -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/.. -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/boot -ffreestanding -std=gnu99 -fshort-wchar -fPIC -mno-red-zone -DSOFTRAID -D_STANDALONE -nostdinc -fno-builtin -MD -MP -Wno-pointer-sign -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../.. -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../libsa -I. -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64 -DSMALL -DSLOW -DNOBYFOUR -D__INTERNAL_LIBSA_CREAD -DHEAP_LIMIT=0xc00000 -DHIBERNATE -c /home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../libsa/elf32.c
clang -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include/amd64 -DEFIBOOT -DFWRANDOM -DNEEDS_HEAP_H -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/.. -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/boot -ffreestanding -std=gnu99 -fshort-wchar -fPIC -mno-red-zone -DSOFTRAID -D_STANDALONE -nostdinc -fno-builtin -Oz -Wall -Werror -ffreestanding -fno-stack-protector -DMDRANDOM -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include/amd64 -DEFIBOOT -DFWRANDOM -DNEEDS_HEAP_H -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/.. -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/efi/include -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../../stand/boot -ffreestanding -std=gnu99 -fshort-wchar -fPIC -mno-red-zone -DSOFTRAID -D_STANDALONE -nostdinc -fno-builtin -MD -MP -Wno-pointer-sign -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../../../.. -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../libsa -I. -I/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64 -DSMALL -DSLOW -DNOBYFOUR -D__INTERNAL_LIBSA_CREAD -DHEAP_LIMIT=0xc00000 -DHIBERNATE -c /home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../../libsa/softraid_amd64.c
-ld -nostdlib -T/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../ldscript.amd64 -Bsymbolic -shared --pack-dyn-relocs=none -o BOOTX64.so.tmp start_amd64.o run_i386.o mdrandom.o self_reloc.o efiboot.o efidev.o efipxe.o efirng.o conf.o dev_i386.o cmd_i386.o diskprobe.o exec_i386.o machdep.o memprobe.o boot.o bootarg.o cmd.o vars.o alloc.o ctime.o exit.o getchar.o hexdump.o memcmp.o memcpy.o memmove.o memset.o printf.o putchar.o snprintf.o strcmp.o strerror.o strlen.o strncmp.o strncpy.o strtol.o strtoll.o close.o closeall.o cons.o cread.o dev.o disklabel.o dkcksum.o fchmod.o fstat.o lseek.o open.o read.o readdir.o stat.o ufs.o ufs2.o cd9660.o aes_xts.o bcrypt_pbkdf.o blowfish.o explicit_bzero.o hmac_sha1.o pkcs5_pbkdf2.o rijndael.o sha1.o sha2.o softraid.o adler32.o crc32.o inflate.o inftrees.o ashldi3.o ashrdi3.o divdi3.o lshrdi3.o moddi3.o qdivrem.o strlcpy.o loadfile.o arc4.o elf64.o elf32.o softraid_amd64.o
+ld.lld -nostdlib -T/home/me/sandbox/obsdefi/sys/arch/amd64/stand/efiboot/bootx64/../ldscript.amd64 -Bsymbolic -shared --pack-dyn-relocs=none -o BOOTX64.so.tmp start_amd64.o run_i386.o mdrandom.o self_reloc.o efiboot.o efidev.o efipxe.o efirng.o conf.o dev_i386.o cmd_i386.o diskprobe.o exec_i386.o machdep.o memprobe.o boot.o bootarg.o cmd.o vars.o alloc.o ctime.o exit.o getchar.o hexdump.o memcmp.o memcpy.o memmove.o memset.o printf.o putchar.o snprintf.o strcmp.o strerror.o strlen.o strncmp.o strncpy.o strtol.o strtoll.o close.o closeall.o cons.o cread.o dev.o disklabel.o dkcksum.o fchmod.o fstat.o lseek.o open.o read.o readdir.o stat.o ufs.o ufs2.o cd9660.o aes_xts.o bcrypt_pbkdf.o blowfish.o explicit_bzero.o hmac_sha1.o pkcs5_pbkdf2.o rijndael.o sha1.o sha2.o softraid.o adler32.o crc32.o inflate.o inftrees.o ashldi3.o ashrdi3.o divdi3.o lshrdi3.o moddi3.o qdivrem.o strlcpy.o loadfile.o arc4.o elf64.o elf32.o softraid_amd64.o
mv BOOTX64.so.tmp BOOTX64.so
objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel -j .rel.dyn -j .rela -j .rela.dyn -j .reloc --target=efi-app-x86_64 BOOTX64.so BOOTX64.EFI