From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16154 invoked by alias); 16 Aug 2009 09:41:48 -0000 Received: (qmail 16145 invoked by uid 22791); 16 Aug 2009 09:41:47 -0000 X-SWARE-Spam-Status: No, hits=-49.3 required=5.0 tests=AWL,BAYES_00,CHARSET_FARAWAY_HEADER,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 16 Aug 2009 09:41:40 +0000 Received: from spaceape10.eur.corp.google.com (spaceape10.eur.corp.google.com [172.28.16.144]) by smtp-out.google.com with ESMTP id n7G9fbBT016082 for ; Sun, 16 Aug 2009 10:41:37 +0100 Received: from rv-out-0506.google.com (rvbk40.prod.google.com [10.140.87.40]) by spaceape10.eur.corp.google.com with ESMTP id n7G9fY8E001540 for ; Sun, 16 Aug 2009 02:41:34 -0700 Received: by rv-out-0506.google.com with SMTP id k40so642507rvb.27 for ; Sun, 16 Aug 2009 02:41:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.5.21 with SMTP id h21mr1759306rvi.260.1250415693916; Sun, 16 Aug 2009 02:41:33 -0700 (PDT) Date: Sun, 16 Aug 2009 09:41:00 -0000 Message-ID: <498552560908160241o52109b9bic6919898f73c485f@mail.gmail.com> Subject: Target specific Relobj? From: =?Big5?B?RG91ZyBLd2FuICjD9q62vHcp?= To: Ian Lance Taylor Cc: binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-System-Of-Record: true 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 X-SW-Source: 2009-08/txt/msg00255.txt.bz2 Hi Ian, I need to attach some ARM specific information to Relobj objects. To do that I can think of two ways 1. Use an Unordered_map 2. Sub-classing Relobj (or Sized_relobj) I actually prefer 2. I would like to check make_elf_sized_object() to check if a target has its own make_elf_sized_object. If so, it calls the target's own version. We'll need to pass size and big_endian as two extra parameters. What do you think? -Doug