From dcdac4225b12c6938fe299bf817948178b93a87d Mon Sep 17 00:00:00 2001 From: kettenis Date: Sat, 15 May 2021 14:20:11 +0000 Subject: [PATCH] Remove OUTPUT_FORMAT and OUTPUT_ARCH from linker script. These are no-ops for ld.lld. ok deraadt@ --- sys/arch/arm64/stand/efiboot/ldscript.arm64 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/arch/arm64/stand/efiboot/ldscript.arm64 b/sys/arch/arm64/stand/efiboot/ldscript.arm64 index b408f10b269..d422bfafc9b 100644 --- a/sys/arch/arm64/stand/efiboot/ldscript.arm64 +++ b/sys/arch/arm64/stand/efiboot/ldscript.arm64 @@ -1,8 +1,5 @@ -/* $OpenBSD: ldscript.arm64,v 1.2 2018/08/30 14:39:46 patrick Exp $ */ -/* -OUTPUT_FORMAT("elf64-aarch64-freebsd", "elf64-aarch64-freebsd", "elf64-aarch64-freebsd") -*/ -OUTPUT_ARCH(aarch64) +/* $OpenBSD: ldscript.arm64,v 1.3 2021/05/15 14:20:11 kettenis Exp $ */ + ENTRY(_start) SECTIONS { -- 2.20.1