From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7454 invoked by alias); 14 Aug 2003 22:13:49 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7447 invoked from network); 14 Aug 2003 22:13:49 -0000 Received: from unknown (HELO pacific-carrier-annex.mit.edu) (18.7.21.83) by sources.redhat.com with SMTP; 14 Aug 2003 22:13:49 -0000 Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by pacific-carrier-annex.mit.edu (8.12.4/8.9.2) with ESMTP id h7EMDh9N019414 for ; Thu, 14 Aug 2003 18:13:43 -0400 (EDT) Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by central-city-carrier-station.mit.edu (8.12.4/8.9.2) with ESMTP id h7EMDcuT001269 for ; Thu, 14 Aug 2003 18:13:39 -0400 (EDT) Received: from contents-vnder-pressvre.mit.edu (CONTENTS-VNDER-PRESSVRE.MIT.EDU [18.7.16.67]) ) by melbourne-city-street.mit.edu (8.12.4/8.12.4) with ESMTP id h7EMDcGr008195 for ; Thu, 14 Aug 2003 18:13:38 -0400 (EDT) Received: (from nathanw@localhost) by contents-vnder-pressvre.mit.edu (8.12.9) id h7EMDcl7004601; Thu, 14 Aug 2003 18:13:38 -0400 (EDT) To: gdb-patches@sources.redhat.com Subject: [PATCH] IBM6000_TARGET is wrong for NetBSD/powerpc From: "Nathan J. Williams" Organization: Wasabi Systems, Inc. Date: Thu, 14 Aug 2003 22:13:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-08/txt/msg00242.txt.bz2 I just remembered to dig this "local" fix out of the NetBSD tree. NetBSD doen't want the IBM6000_TARGET-munged section calculations either. The comment is cribbed from the similar #undef in tm-linux.h. I'd appreciate it if someone could check and commit this. - Nathan Index: tm-nbsd.h =================================================================== RCS file: /cvs/src/src/gdb/config/powerpc/tm-nbsd.h,v retrieving revision 1.2 diff -u -r1.2 tm-nbsd.h --- tm-nbsd.h 22 May 2002 03:59:55 -0000 1.2 +++ tm-nbsd.h 14 Aug 2003 22:09:26 -0000 @@ -23,4 +23,8 @@ #include "powerpc/tm-ppc-eabi.h" +/* We _want_ the SVR4 section offset calculations (see syms_from_objfile() + in symfile.c) */ +#undef IBM6000_TARGET + #endif /* TM_NBSD_H */