Re: [PATCH] arm64: LLVMLinux: Provide __aeabi_* symbols which are needed for clang

From: Behan Webster
Date: Sat Sep 06 2014 - 22:28:39 EST


On 09/06/14 07:16, Arnd Bergmann wrote:
On Friday 05 September 2014 16:23:14 behanw@xxxxxxxxxxxxxxxxxx wrote:
--- /dev/null
+++ b/arch/arm64/lib/eabi.c
@@ -0,0 +1,32 @@
+/*
+ * linux/lib/eabi.c
Please don't put the file names in the files themselves, it's redundant
and in this case actually wrong.
Will fix.

+ * Copyright (C) 2012 Mark Charlebois
+ */
+
+/*
+ * EABI routines
Does EABI specify these function names? I would think that they are
just random libgcc (whatever that is called in clang) functions.
These specialized functions are part of the ABI for the ARM architecture (AEABI). They aren't random.

Memcpy and memmove *could* might be satisfied with linker magic instead. But memset uses the reverse parameter list.

Behan

--
Behan Webster
behanw@xxxxxxxxxxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/