⛏️ index : buildtools.git

author David Karoly <karolyd577@gmail.com> 2021-12-12 21:42:39.0 +01:00:00
committer Fredrik Holmqvist <fredrik.holmqvist@gmail.com> 2021-12-12 21:06:08.0 +00:00:00
commit
55771191ca0b8382e3e1b05c8758c08c1a398eda [patch]
tree
7fdb103396ac666e943e01dc1fd1e5e3676aac8b
parent
1e3a9f67308b33452fe46304801a8e2372fe4222
download
55771191ca0b8382e3e1b05c8758c08c1a398eda.tar.gz

gcc/config/arm: fix LINK_SPEC

Change-Id: I03f5dfc0fa4f0427de5256d9d8683e85602e4c44
Reviewed-on: https://review.haiku-os.org/c/buildtools/+/4779
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Diff

 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 65d5ee3..e0e56cd 100644
--- a/gcc/gcc/config/arm/haiku.h
+++ a/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"