mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
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@gollent.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
56d94c3a71
commit
86f02e2a45
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user