From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13348 invoked by alias); 13 Nov 2004 01:53:53 -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 13334 invoked from network); 13 Nov 2004 01:53:50 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 13 Nov 2004 01:53:50 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAD1riAG032398 for ; Fri, 12 Nov 2004 20:53:50 -0500 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAD1rir21420; Fri, 12 Nov 2004 20:53:44 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 1FD5D129D8C; Fri, 12 Nov 2004 20:52:20 -0500 (EST) Message-ID: <419568D0.80000@gnu.org> Date: Sat, 13 Nov 2004 01:53:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Randolph Chung Cc: gdb-patches@sources.redhat.com, dave@hiauly1.hia.nrc.ca Subject: Re: [patch/RFA] fix hpux build problems References: <20041113014015.GN15714@tausq.org> In-Reply-To: <20041113014015.GN15714@tausq.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00282.txt.bz2 Randolph Chung wrote: > This patch fixes several build errors with the hpux targets, and tries to > sort out the host/target dependencies so that we can eventually do cross-builds. > > Compile and lightly tested with: > --host=hppa2.0w-hp-hpux11.11 --target=hppa2.0w-hp-hpux11.11 (SOM) > --host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11 (ELF) > > These two cross targets don't work at the moment (do we care?): > --host=hppa2.0w-hp-hpux11.11 --target=hppa64-hp-hpux11.11 > * this might work, but i don't have a proper toolchain to test > it. There may be problems with pa64solib.o. > --host=hppa64-hp-hpux11.11 --target=hppa-elf > * only hppa64 has elf support, but hppa*-elf selects a 32-bit bfd > target in libbfd. Yes. Andrew > 2004-11-12 Randolph Chung > > * pa64solib.c (pa64_solib_thread_start_addr): Rename from > so_lib_thread_start_addr. > * pa64solib.h (so_list): Forward declare. > (pa64_solib_thread_start_addr): Prototype. > * somsolib.c (SHL_LOAD, SHL_UNLOAD): Define if not already defined. > (no_shared_libraries): Remove. > (som_solib_thread_start_addr): Rename from so_lib_thread_start_addr. > * somsolib.h (som_solib_thread_start_addr): Likewise; prototype. > * hpread.c (hpread_process_one_debug_symbol): Use either the som or > the elf solib handler to find the start address. > > * config/pa/hppahpux.mh (NATDEPFILES): Move target-specific support > files to the target makefile. > * config/pa/hpux1020.mh (NATDEPFILES): Likewise. > * config/pa/hpux11.mh (NATDEPFILES): Likewise. > * config/pa/hpux11w.mh (NATDEPFILES): Likewise. > > * config/pa/hppa64.mt (TDEPFILES): Put target-specific support files for > symbol reading and shared library handling here. > * config/pa/hppahpux.mt (TDEPFILES): Likewise. Define PA_SOM_ONLY so > we can build a 32-bit SOM only target without bringing in 64-bit > support.