From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20584 invoked by alias); 9 Oct 2013 17:55:43 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 20574 invoked by uid 89); 9 Oct 2013 17:55:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ie0-f182.google.com Received: from mail-ie0-f182.google.com (HELO mail-ie0-f182.google.com) (209.85.223.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 09 Oct 2013 17:55:42 +0000 Received: by mail-ie0-f182.google.com with SMTP id as1so2165257iec.41 for ; Wed, 09 Oct 2013 10:55:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=/lHwDfiAIbybg24N2nvN3yl/xWH/zJmxUn9O4r9z1hY=; b=liRZIwhslcEDcOtvchsjNbel2qOB2GQsLTsUCO4q0OG52iE8mlzmkvqNi/u6aeuzCG HtcPl/5lSZKNv1yrKnzkMudI2tMwXEfZ1t1iizWbigWpOgfR7Hgk+GUJWlt1MmaIJa42 5w/2bmCsGziaBc110MrUJKsXzdzYV8c/mkmnuCS18//yDqpTx1G3W+YtVQUCIzblpQYf +dhcCzey+KTeoZJRVMQXOVVbqREiYr+gaLCEYMPQWeMN8fhIQpx8gAmUI+D5+lA1BRwE QDnKAA43uj0LuFz2B9/YsdcP8uGYwIPUDyYV7cSU8VAUan6jT8k5psEPetRAs7ROb3fN u8Gw== X-Gm-Message-State: ALoCoQlu8AHH2Td/r6GV1vcyff+d1bmLEKOtmTVrpZw3JeuIhcsvta/U1WWKRuKvSbD0O/RONqrrAtHiXCpeTHWSCtXmSHU/UrFv2ZqPEijqv5WnHsoqFDVb864W6SXjAGLRhQ4YLBWsMqbPVFTsajoAhBPHP0/dLW95TgE4ShhD+BBwQYKp38HUYkxLhz7JVL78MwMnIE19ZBpLM4aLbNt/j6Kmm/UhwQ== X-Received: by 10.43.126.68 with SMTP id gv4mr1858598icc.48.1381341340457; Wed, 09 Oct 2013 10:55:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.11.68 with HTTP; Wed, 9 Oct 2013 10:55:20 -0700 (PDT) From: Roland McGrath Date: Wed, 09 Oct 2013 17:55:00 -0000 Message-ID: Subject: [COMMITTED PATCH] Fix redundant const qualifiers in elfxx-tilegx.c To: "binutils@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-10/txt/msg00121.txt.bz2 Committed as obvious, to trunk and 2.24 branch. Thanks, Roland bfd/ 2013-10-09 Roland McGrath * elfxx-tilegx.c (tilegx32_plt_tail_entry, tilegx32_plt_tail_entry): Move second const qualifier so it applies to the pointer. --- a/bfd/elfxx-tilegx.c +++ b/bfd/elfxx-tilegx.c @@ -1,5 +1,5 @@ /* TILE-Gx-specific support for ELF. - Copyright 2011, 2012 Free Software Foundation, Inc. + Copyright 2011, 2012, 2013 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -1220,7 +1220,7 @@ tilegx64_short_plt_entry[PLT_ENTRY_SIZE] = }; /* Reuse an existing info 10 bundle. */ -static const bfd_byte const *tilegx64_plt_tail_entry = +static const bfd_byte *const tilegx64_plt_tail_entry = &tilegx64_short_plt_entry[4 * TILEGX_BUNDLE_SIZE_IN_BYTES]; static const bfd_byte @@ -1265,7 +1265,7 @@ tilegx32_short_plt_entry[PLT_ENTRY_SIZE] = }; /* Reuse an existing info 10 bundle. */ -static const bfd_byte const *tilegx32_plt_tail_entry = +static const bfd_byte *const tilegx32_plt_tail_entry = &tilegx64_short_plt_entry[4 * TILEGX_BUNDLE_SIZE_IN_BYTES]; static int