From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 2.mo5.mail-out.ovh.net ([178.33.109.111] helo=mo5.mail-out.ovh.net) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1RJOTw-0002cF-Hc for barebox@lists.infradead.org; Thu, 27 Oct 2011 11:50:49 +0000 Received: from mail98.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo5.mail-out.ovh.net (Postfix) with SMTP id 00C9CFFB14F for ; Thu, 27 Oct 2011 13:56:14 +0200 (CEST) From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 27 Oct 2011 19:50:42 +0800 Message-Id: <1319716242-2328-1-git-send-email-plagnioj@jcrosoft.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v3] sandbox: move ELFCLASS detection to asm/elf.h To: barebox@lists.infradead.org Cc: =?UTF-8?q?Lo=C3=AFc=20Minier?= bm93IHdlIGNhbiBkZXRlY3QgdGhlIGhvc3QgYnVpbGQgZnJvbSBnY2MgbWFjcm8KYW5kIGNyb3Nz IGNvbXBpbGUgdGhlIHNhbmRib3gKClNpZ25lZC1vZmYtYnk6IEplYW4tQ2hyaXN0b3BoZSBQTEFH TklPTC1WSUxMQVJEIDxwbGFnbmlvakBqY3Jvc29mdC5jb20+CkNjOiBMb8OvYyBNaW5pZXIgPGxv aWMubWluaWVyQGxpbmFyby5vcmc+Ci0tLQp2MzoKCglmaXggdHlwbwp2MjoKCWFzIGRpc2N1c3Mg d2l0aCBMb8OvYyB1c2UgdGhlIHNpemUgb2YgdGhlIHBvaW50ZXIKCkxvw69jCgoJdG8gYnVpbGQg b24gbW9zdCBvZiBhcmNoIHlvdSBuZWVkIHRoaXMgZml4IGFuZCAzIG90aGVycwoJ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