btrev43151 adds 1 changeset to branch 'master'
old head: 56d94c3a719296abace2ace7ad80aa45a95bd86a
new head: 86f02e2a45ee46f45e674f56e6147e4245172662
overview:
https://git.haiku-os.org/buildtools/log/?qt=range&q=86f02e2a45ee+%5E56d94c3a7192
----------------------------------------------------------------------------
86f02e2a45ee: gcc: Use correct linker emulation on arm
Among other things this ensures the TARGET2_TYPE linker option is set
correctly, preventing "unresolvable R_ARM_REL32 relocation" errors at
link time.
Fixes #15122.
Change-Id: Id4c6e97cc1739ecfac0f7cd0ec93927750f1b313
Reviewed-on: https://review.haiku-os.org/c/1702
Reviewed-by: Rene Gollent <rene@xxxxxxxxxxx>
Reviewed-by: waddlesplash <waddlesplash@xxxxxxxxx>
[ Simon South <simon@xxxxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: btrev43151
Commit: 86f02e2a45ee46f45e674f56e6147e4245172662
URL: https://git.haiku-os.org/buildtools/commit/?id=86f02e2a45ee
Author: Simon South <simon@xxxxxxxxxxxxxx>
Date: Sun Aug 11 16:57:10 2019 UTC
Committer: waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Sun Aug 11 19:01:15 2019 UTC
Ticket: https://dev.haiku-os.org/ticket/15122
----------------------------------------------------------------------------
1 file changed, 1 insertion(+), 1 deletion(-)
gcc/gcc/config/arm/haiku.h | 2 +-
----------------------------------------------------------------------------
diff --git a/gcc/gcc/config/arm/haiku.h b/gcc/gcc/config/arm/haiku.h
index d5a4c0d0dd..65d5ee3f75 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 %{!r:-shared} %{nostart:-e 0}
%{shared:-e 0} %{!shared: %{!nostart: -no-undefined}}\
+#define LINK_SPEC "%{!o*:-o %b} -m armelf_haiku %{!r:-shared} %{nostart:-e 0}
%{shared:-e 0} %{!shared: %{!nostart: -no-undefined}}\
%{mbig-endian:-EB} %{mlittle-endian:-EL} -X"