[PATCH][libgloss][AArch64] Fix flags for crt0 compilation.

Tamar Christina Tamar.Christina@arm.com
Fri Jul 21 08:28:00 GMT 2017


Hi All,

Previous patch to support nosys.specs accidentally broke
validation specs because ARM_RDI_MONITOR was never passed
to the build rule for crt0.

This fixed the compile for nosys and validation specs
but nosys won't run because of existing limitations to
aarch64's syscalls.c, it requires semihosting to get
commandline arguments and heap info without having a
fallback method as ARM does.

Tested on aarch64-none-elf with specs:
 - nosys.specs
 - aem-validation.specs
 - rdimon.specs

Previously patch was only tested with qemu, which seems
is always able to write to the std handles. So also
cross-checked with aem this time.

Ok for master?

Ps. I don't have commit right.

Thanks (sorry for the repeated fixes. All build system configurations should have caught up now.),
Tamar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Previous-patch-to-support-nosys.specs-accidentally.patch
Type: text/x-patch
Size: 1302 bytes
Desc: 0001-Previous-patch-to-support-nosys.specs-accidentally.patch
URL: <http://sourceware.org/pipermail/newlib/attachments/20170721/8d9fa4b3/attachment.bin>


More information about the Newlib mailing list