From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10179 invoked by alias); 22 Apr 2004 22:52:27 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 10171 invoked from network); 22 Apr 2004 22:52:26 -0000 Received: from unknown (HELO sccrmhc12.comcast.net) (204.127.202.56) by sources.redhat.com with SMTP; 22 Apr 2004 22:52:26 -0000 Received: from [192.168.1.103] (c-24-0-52-61.client.comcast.net[24.0.52.61]) by comcast.net (sccrmhc12) with SMTP id <2004042222522501200ou39ue> (Authid: bdavis9659); Thu, 22 Apr 2004 22:52:25 +0000 Subject: RE: .bss segment alignment From: Bud Davis To: gcc-help@gcc.gnu.org Cc: Michael.Wehrer@alcoa.com Content-Type: text/plain Message-Id: <1082674344.5949.31.camel@localhost.localdomain> Mime-Version: 1.0 Date: Thu, 22 Apr 2004 22:52:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00299.txt.bz2 Not to sure if this will help, but you can force a fortran common to a specific virtual address at link time by passing ld some commands: g77 -Wl,--defsym -Wl,global01_=0x40200000 with this you know that "COMMON / GLOBAL01 /" will be in a fixed location. i have used this in the past to map fortran common to shared memory using shmat to a fixed address. you can probably force anything to be anywhere with ld commands, but I have no clue on the details :) regards, bud davis