From patchwork Sun Oct 25 15:05:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Jenkins X-Patchwork-Id: 55757 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9PF5UFB008131 for ; Sun, 25 Oct 2009 15:05:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751752AbZJYPFX (ORCPT ); Sun, 25 Oct 2009 11:05:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752056AbZJYPFX (ORCPT ); Sun, 25 Oct 2009 11:05:23 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:52743 "EHLO mail-ew0-f208.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751752AbZJYPFW (ORCPT ); Sun, 25 Oct 2009 11:05:22 -0400 Received: by ewy4 with SMTP id 4so2937934ewy.37 for ; Sun, 25 Oct 2009 08:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:content-type :content-transfer-encoding; bh=dtgKtI8qp2T88TYLUjB4m2S7Hu5qcuNt5C8UmUa9/kw=; b=tw44ErgL3fA0P/vNO68x3gMfC6owO7CdrTcgYarCRa1fCduzyBnszvC8No4YCcMjt9 1PIQ9AMiisQlqg2gS200b6wfj5HgAskg8xr5a9ti8HVYuWCGCG7CE/WQFgpkkaxauSZl OSZVlkxENeOEF872DUoSq8F0TsUat3mBVeue4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=NeJJbhuaHtm2hF4frNdyfw0uIodskwbNo8lYEH0/0pagc3w8JOyIrad2rpWalHySEU w0JgsGhqe4ReCEMbOaEwP7z5VzpLXGlMGb1ObAl0i1U/yP2PSQc8qRh1rNe6aNKoa7MJ eOCfYLdJlSn0WJaTOhkMr+nQiNQsSWHCvfQ4I= Received: by 10.211.173.20 with SMTP id a20mr5257550ebp.33.1256483126382; Sun, 25 Oct 2009 08:05:26 -0700 (PDT) Received: from ?192.168.0.5? ([86.53.68.233]) by mx.google.com with ESMTPS id 10sm9720185eyz.43.2009.10.25.08.05.25 (version=SSLv3 cipher=RC4-MD5); Sun, 25 Oct 2009 08:05:25 -0700 (PDT) Message-ID: <4AE46934.2000203@tuffmail.co.uk> Date: Sun, 25 Oct 2009 15:05:24 +0000 From: Alan Jenkins User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Sam Ravnborg CC: linux-kbuild@vger.kernel.org, linux-kernel Subject: [PATCH] kallsyms: clean up alignment (potentially save a few bytes on ARM) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index 86c3896..55de9e8 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -297,10 +297,10 @@ static void write_src(void) printf("#include \n"); printf("#if BITS_PER_LONG == 64\n"); printf("#define PTR .quad\n"); - printf("#define ALGN .align 8\n"); + printf("#define ALGN .balign 8\n"); printf("#else\n"); printf("#define PTR .long\n"); - printf("#define ALGN .align 4\n"); + printf("#define ALGN .balign 4\n"); printf("#endif\n"); printf("\t.section .rodata, \"a\"\n");