mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
63a901705e
This patch adds support for Armv8-R AArch64. Armv8-R AArch64 has no EL3, so we don't set vbar_el3, and adjust the code to set up the MPU for Armv8-R. So build a different flavour of the startup code to support that. We also add a specs file that uses this alternative startup code which can be used with Armv8-R AArch64 models.
21 lines
395 B
Plaintext
21 lines
395 B
Plaintext
# elf-aem-v8-r.specs
|
|
#
|
|
# Spec file for AArch64 baremetal newlib, libgloss on Armv8-R with version 2 of
|
|
# AngelAPI semi-hosting.
|
|
|
|
%rename link old_link
|
|
|
|
*link:
|
|
-Ttext-segment 0x10000 %(old_link)
|
|
|
|
%rename lib libc
|
|
|
|
*libgloss:
|
|
-lrdimon
|
|
|
|
*lib:
|
|
cpu-init/rdimon-aem-v8-r.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}
|