All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4AEAC9D8.9000304@evidence.eu.com>

diff --git a/a/1.txt b/N1/1.txt
index 47a7b75..06dd653 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -11,10 +11,3 @@ Done. I'm attaching the latest version here too.
 Many thanks,
 
             Claudio
--------------- next part --------------
-A non-text attachment was scrubbed...
-Name: 0001-ARM-unwind-is-known-to-compile-only-with-EABI-and-no.patch
-Type: text/x-patch
-Size: 1372 bytes
-Desc: not available
-URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091030/352f32a5/attachment.bin>
diff --git a/N1/2.hdr b/N1/2.hdr
new file mode 100644
index 0000000..1a5cace
--- /dev/null
+++ b/N1/2.hdr
@@ -0,0 +1,6 @@
+Content-Type: text/x-patch;
+ name="0001-ARM-unwind-is-known-to-compile-only-with-EABI-and-no.patch"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline;
+ filename*0="0001-ARM-unwind-is-known-to-compile-only-with-EABI-and-no.pa";
+ filename*1="tch"
diff --git a/N1/2.txt b/N1/2.txt
new file mode 100644
index 0000000..3fc07c8
--- /dev/null
+++ b/N1/2.txt
@@ -0,0 +1,36 @@
+From: Claudio Scordino <claudio@evidence.eu.com>
+Date: Fri, 30 Oct 2009 11:46:00 +0100
+Subject: [PATCH 1/1] ARM unwind is known to compile only with EABI and not-buggy compilers.
+
+ARM unwind is known to compile only with EABI and not-buggy compilers.
+The problem is not the unwinding information but the -fno-frame-pointer option added as a result of !CONFIG_FRAME_POINTER.
+Now we check the compiler and raise a #warning in case of wrong compiler.
+
+
+Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
+---
+ arch/arm/kernel/unwind.c |    9 +++++++++
+ 1 files changed, 9 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/kernel/unwind.c b/arch/arm/kernel/unwind.c
+index 39baf11..786ac2b 100644
+--- a/arch/arm/kernel/unwind.c
++++ b/arch/arm/kernel/unwind.c
+@@ -26,6 +26,15 @@
+  * http://infocenter.arm.com/help/topic/com.arm.doc.subset.swdev.abi/index.html
+  */
+ 
++#if !defined (__ARM_EABI__)
++#warning Your compiler does not have EABI support.
++#warning    ARM unwind is known to compile only with EABI compilers.
++#warning    Change compiler or disable ARM_UNWIND option.
++#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 2)
++#warning Your compiler is too buggy; it is known to not compile ARM unwind support.
++#warning    Change compiler or disable ARM_UNWIND option.
++#endif
++
+ #include <linux/kernel.h>
+ #include <linux/init.h>
+ #include <linux/module.h>
+-- 
+1.6.0.4
diff --git a/a/content_digest b/N1/content_digest
index a752075..7b15739 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -4,11 +4,15 @@
  "ref\01256555452.5282.21.camel@pc1117.cambridge.arm.com\0"
  "ref\04AE82D17.6040900@evidence.eu.com\0"
  "ref\01256741902.27121.29.camel@pc1117.cambridge.arm.com\0"
- "From\0claudio@evidence.eu.com (Claudio Scordino)\0"
- "Subject\0[PATCH][RE-SUBMIT] Default setting of the ARM_UNWIND option\0"
+ "From\0Claudio Scordino <claudio@evidence.eu.com>\0"
+ "Subject\0Re: [PATCH][RE-SUBMIT] Default setting of the ARM_UNWIND option\0"
  "Date\0Fri, 30 Oct 2009 12:11:20 +0100\0"
- "To\0linux-arm-kernel@lists.infradead.org\0"
- "\00:1\0"
+ "To\0Catalin Marinas <catalin.marinas@arm.com>\0"
+ "Cc\0linux-kernel@vger.kernel.org"
+  rmk+kernel@arm.linux.org.uk
+  akpm@linux-foundation.org
+ " linux-arm-kernel <linux-arm-kernel@lists.infradead.org>\0"
+ "\01:1\0"
  "b\0"
  "Hi,\n"
  "\n"
@@ -22,13 +26,45 @@
  "\n"
  "Many thanks,\n"
  "\n"
- "            Claudio\n"
- "-------------- next part --------------\n"
- "A non-text attachment was scrubbed...\n"
- "Name: 0001-ARM-unwind-is-known-to-compile-only-with-EABI-and-no.patch\n"
- "Type: text/x-patch\n"
- "Size: 1372 bytes\n"
- "Desc: not available\n"
- URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091030/352f32a5/attachment.bin>
+             Claudio
+ "\01:2\0"
+ "fn\00001-ARM-unwind-is-known-to-compile-only-with-EABI-and-no.patch\0"
+ "b\0"
+ "From: Claudio Scordino <claudio@evidence.eu.com>\n"
+ "Date: Fri, 30 Oct 2009 11:46:00 +0100\n"
+ "Subject: [PATCH 1/1] ARM unwind is known to compile only with EABI and not-buggy compilers.\n"
+ "\n"
+ "ARM unwind is known to compile only with EABI and not-buggy compilers.\n"
+ "The problem is not the unwinding information but the -fno-frame-pointer option added as a result of !CONFIG_FRAME_POINTER.\n"
+ "Now we check the compiler and raise a #warning in case of wrong compiler.\n"
+ "\n"
+ "\n"
+ "Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>\n"
+ "---\n"
+ " arch/arm/kernel/unwind.c |    9 +++++++++\n"
+ " 1 files changed, 9 insertions(+), 0 deletions(-)\n"
+ "\n"
+ "diff --git a/arch/arm/kernel/unwind.c b/arch/arm/kernel/unwind.c\n"
+ "index 39baf11..786ac2b 100644\n"
+ "--- a/arch/arm/kernel/unwind.c\n"
+ "+++ b/arch/arm/kernel/unwind.c\n"
+ "@@ -26,6 +26,15 @@\n"
+ "  * http://infocenter.arm.com/help/topic/com.arm.doc.subset.swdev.abi/index.html\n"
+ "  */\n"
+ " \n"
+ "+#if !defined (__ARM_EABI__)\n"
+ "+#warning Your compiler does not have EABI support.\n"
+ "+#warning    ARM unwind is known to compile only with EABI compilers.\n"
+ "+#warning    Change compiler or disable ARM_UNWIND option.\n"
+ "+#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 2)\n"
+ "+#warning Your compiler is too buggy; it is known to not compile ARM unwind support.\n"
+ "+#warning    Change compiler or disable ARM_UNWIND option.\n"
+ "+#endif\n"
+ "+\n"
+ " #include <linux/kernel.h>\n"
+ " #include <linux/init.h>\n"
+ " #include <linux/module.h>\n"
+ "-- \n"
+ 1.6.0.4
 
-4289db827d176824d6e12695f0717cf3f4fafaa3e094d97a019571e6a962a36d
+e64c0c963ac3a4fb32ce76ac9ea1f1a214448f96211ccc09dce5f1149bb767ed

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.