99be2bc4ff
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> Greta Yorsh <greta.yorsh@arm.com> * arm/Makefile.in: Add support for cpu-init directory and add elf-aprofile-ve.specs. * arm/configure.in: Likewise. * arm/configure: Regenerate. * arm/cpu-init: New directory. * arm/cpu-init/Makefile.in: New file. * arm/cpu-init/rdimon-aem.S: Likewise. * arm/crt0.S: Call _rdimon_init_hook * arm/elf-aprofile-ve.specs: New file.
23 lines
493 B
Plaintext
23 lines
493 B
Plaintext
# aem-ve.specs
|
|
#
|
|
# Spec file for AArch32 A profile baremetal newlib, libgloss on VE platform with AngelAPI
|
|
# semi-hosting.
|
|
#
|
|
# This Spec file is also appropriate for the foundation model.
|
|
|
|
%rename link old_link
|
|
|
|
*link:
|
|
--defsym=_rdimon_vector_base=0x80000000 -Ttext-segment=0x80008000 %(old_link)
|
|
|
|
%rename lib libc
|
|
|
|
*libgloss:
|
|
-lrdimon
|
|
|
|
*lib:
|
|
cpu-init/rdimon-aem.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}
|