From patchwork Mon Aug 1 01:14:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 107654 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 EFAA7B6F8F for ; Mon, 1 Aug 2011 11:15:06 +1000 (EST) Received: (qmail 9271 invoked by alias); 1 Aug 2011 01:15:04 -0000 Received: (qmail 9239 invoked by uid 22791); 1 Aug 2011 01:15:03 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Aug 2011 01:14:50 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p711EntQ006343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 31 Jul 2011 21:14:50 -0400 Received: from anchor.twiddle.net (vpn-227-74.phx2.redhat.com [10.3.227.74]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p711EnFH019998 for ; Sun, 31 Jul 2011 21:14:49 -0400 Message-ID: <4E35FE09.2050105@redhat.com> Date: Sun, 31 Jul 2011 18:14:49 -0700 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 MIME-Version: 1.0 To: GCC Patches Subject: [h8300] Add flags to .section directive X-IsSubscribed: yes 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 Binutils head warns about bare .section foo. r~ diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a35b0e8..8bb0898 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2011-07-31 Richard Henderson + * config/h8300/crti.asm: Add flags to .section directive. + * config/h8300/crtn.asm: Likewise. + +2011-07-31 Richard Henderson + * stor-layout.c (initialize_sizetypes): Handle unsigned short. * tree.c (build_common_tree_nodes): Likewise. diff --git a/gcc/config/h8300/crti.asm b/gcc/config/h8300/crti.asm index e457409..7ee3ae7 100644 --- a/gcc/config/h8300/crti.asm +++ b/gcc/config/h8300/crti.asm @@ -55,9 +55,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #endif #endif - .section .init + .section .init, "ax", @progbits .global __init __init: - .section .fini + .section .fini, "ax", @progbits .global __fini __fini: diff --git a/gcc/config/h8300/crtn.asm b/gcc/config/h8300/crtn.asm index 3115fcb..173fde1 100644 --- a/gcc/config/h8300/crtn.asm +++ b/gcc/config/h8300/crtn.asm @@ -46,8 +46,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see .h8300sx #endif #endif - .section .init + .section .init, "ax", @progbits rts - .section .fini + .section .fini, "ax", @progbits rts