From patchwork Wed Aug 4 07:04:56 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 60828 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 9821CB70A4 for ; Wed, 4 Aug 2010 17:05:09 +1000 (EST) Received: (qmail 28191 invoked by alias); 4 Aug 2010 07:05:07 -0000 Received: (qmail 28173 invoked by uid 22791); 4 Aug 2010 07:05:06 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, TW_ZJ, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qy0-f175.google.com (HELO mail-qy0-f175.google.com) (209.85.216.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Aug 2010 07:04:58 +0000 Received: by qyk11 with SMTP id 11so1759320qyk.20 for ; Wed, 04 Aug 2010 00:04:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.114.204 with SMTP id f12mr3620739qaq.150.1280905496446; Wed, 04 Aug 2010 00:04:56 -0700 (PDT) Received: by 10.229.35.4 with HTTP; Wed, 4 Aug 2010 00:04:56 -0700 (PDT) Date: Wed, 4 Aug 2010 09:04:56 +0200 Message-ID: Subject: [PATCH, i386]: Add tabs around .globl directive From: Uros Bizjak To: gcc-patches@gcc.gnu.org Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hello! Makes staring at asm dumps much more pleasant*: .text .p2align 4,,15 .globl main .type main, @function main: ... 2010-08-03 Uros Bizjak * config/i386/unix.h (GLOBAL_ASM_OPS): Add tabs around .globl. Tested on x86_64-pc-linux-gnu {,-m32}. Committed to mainline SVN. * Using broad definitions for the word "pleasant". Uros. Index: unix.h =================================================================== --- unix.h (revision 162854) +++ unix.h (working copy) @@ -67,7 +67,7 @@ #define BSS_SECTION_ASM_OP "\t.bss" /* Globalizing directive for a label. */ -#define GLOBAL_ASM_OP ".globl " +#define GLOBAL_ASM_OP "\t.globl\t" /* By default, target has a 80387, uses IEEE compatible arithmetic, and returns float values in the 387. */