mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 11:31:00 +08:00
61ddc7a436
On AArch64 we currently always link in crt0 regardless of if another one is being provided by something else, like rdimon.a. This was never an issue before as nosys was not supported on AArch64. This updates the specs to supply a different crt0 when a semihosting call is required. Signed-off-by: Tamar Christina <tamar.christina@arm.com>
22 lines
459 B
Plaintext
22 lines
459 B
Plaintext
# aem-ve.specs
|
|
#
|
|
# Spec file for AArch64 baremetal newlib, libgloss on VE platform with version 2
|
|
# of AngelAPI semi-hosting.
|
|
#
|
|
# This Spec file is also appropriate for the foundation model.
|
|
|
|
%rename link old_link
|
|
|
|
*link:
|
|
-Ttext-segment 0x80000000 %(old_link)
|
|
|
|
%rename lib libc
|
|
|
|
*libgloss:
|
|
-lrdimon
|
|
|
|
*lib:
|
|
cpu-init/rdimon-aem-el3.o%s --start-group %(libc) %(libgloss) --end-group
|
|
|
|
*startfile:
|
|
crti%O%s crtbegin%O%s %{!pg:rdimon-crt0%O%s} %{pg:rdimon-crt0%O%s} |