NetBSD Problem Report #49568

From www@NetBSD.org  Wed Jan 14 09:07:37 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 14B99A654D
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 14 Jan 2015 09:07:37 +0000 (UTC)
Message-Id: <20150114090735.DD501A65B9@mollari.NetBSD.org>
Date: Wed, 14 Jan 2015 09:07:35 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Change DT_FEATURE_1 to DT_FEATURE
X-Send-Pr-Version: www-1.0

>Number:         49568
>Category:       bin
>Synopsis:       Change DT_FEATURE_1 to DT_FEATURE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 14 09:10:00 +0000 2015
>Last-Modified:  Thu Jan 15 23:25:02 +0000 2015
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
In binuilts DT_FEATURE_1 is changed to DT_FEATURE for years.
>How-To-Repeat:

>Fix:
diff -u -p -r1.2 elfdefinitions.h
--- external/bsd/elftoolchain/dist/common/elfdefinitions.h	9 Mar 2014 16:58:03 -0000	1.2
+++ external/bsd/elftoolchain/dist/common/elfdefinitions.h	14 Jan 2015 08:20:10 -0000
@@ -173,7 +173,7 @@ _ELF_DEFINE_DT(DT_MOVEENT,          0x6F
 	"size of DT_MOVETAB entries")					\
 _ELF_DEFINE_DT(DT_MOVESZ,           0x6FFFFDFBUL,			\
 	"total size of the MOVETAB table")				\
-_ELF_DEFINE_DT(DT_FEATURE_1,        0x6FFFFDFCUL, "feature values")	\
+_ELF_DEFINE_DT(DT_FEATURE,          0x6FFFFDFCUL, "feature values")	\
 _ELF_DEFINE_DT(DT_POSFLAG_1,        0x6FFFFDFDUL,			\
 	"dynamic position flags")					\
 _ELF_DEFINE_DT(DT_SYMINSZ,          0x6FFFFDFEUL,			\

>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/49568: Change DT_FEATURE_1 to DT_FEATURE
Date: Thu, 15 Jan 2015 23:22:04 +0000

 On Wed, Jan 14, 2015 at 09:10:01AM +0000, henning.petersen@t-online.de wrote:
  > >Description:
  > In binuilts DT_FEATURE_1 is changed to DT_FEATURE for years.
  > >How-To-Repeat:
  > 
  > >Fix:
  > diff -u -p -r1.2 elfdefinitions.h
  > --- external/bsd/elftoolchain/dist/common/elfdefinitions.h	9 Mar 2014 16:58:03 -0000	1.2
  > +++ external/bsd/elftoolchain/dist/common/elfdefinitions.h	14 Jan 2015 08:20:10 -0000
  > @@ -173,7 +173,7 @@ _ELF_DEFINE_DT(DT_MOVEENT,          0x6F
  >  	"size of DT_MOVETAB entries")					\
  >  _ELF_DEFINE_DT(DT_MOVESZ,           0x6FFFFDFBUL,			\
  >  	"total size of the MOVETAB table")				\
  > -_ELF_DEFINE_DT(DT_FEATURE_1,        0x6FFFFDFCUL, "feature values")	\
  > +_ELF_DEFINE_DT(DT_FEATURE,          0x6FFFFDFCUL, "feature values")	\
  >  _ELF_DEFINE_DT(DT_POSFLAG_1,        0x6FFFFDFDUL,			\
  >  	"dynamic position flags")					\
  >  _ELF_DEFINE_DT(DT_SYMINSZ,          0x6FFFFDFEUL,			\

 Can you send this to elftoolchain upstream?

 -- 
 David A. Holland
 dholland@netbsd.org

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.