From 55771191ca0b8382e3e1b05c8758c08c1a398eda Mon Sep 17 00:00:00 2001 From: David Karoly Date: Sun, 12 Dec 2021 21:42:39 +0100 Subject: [PATCH] gcc/config/arm: fix LINK_SPEC Change-Id: I03f5dfc0fa4f0427de5256d9d8683e85602e4c44 Reviewed-on: https://review.haiku-os.org/c/buildtools/+/4779 Reviewed-by: Fredrik Holmqvist --- gcc/gcc/config/arm/haiku.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/gcc/config/arm/haiku.h b/gcc/gcc/config/arm/haiku.h index 65d5ee3f75..e0e56cd2df 100644 --- a/gcc/gcc/config/arm/haiku.h +++ b/gcc/gcc/config/arm/haiku.h @@ -68,6 +68,6 @@ /* If ELF is the default format, we should not use /lib/elf. */ #undef LINK_SPEC -#define LINK_SPEC "%{!o*:-o %b} -m armelf_haiku %{!r:-shared} %{nostart:-e 0} %{shared:-e 0} %{!shared: %{!nostart: -no-undefined}}\ +#define LINK_SPEC "-m armelf_haiku %{!r:-shared} %{nostart:-e 0} %{shared:-e 0} %{!shared: %{!nostart: -no-undefined}}\ %{mbig-endian:-EB} %{mlittle-endian:-EL} -X"