From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18815 invoked by alias); 11 Nov 2004 05:40:53 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 18659 invoked from network); 11 Nov 2004 05:40:47 -0000 Received: from unknown (HELO ali.ali.com.tw) (202.3.177.34) by sourceware.org with SMTP; 11 Nov 2004 05:40:47 -0000 Received: (qmail 26992 invoked from network); 11 Nov 2004 05:40:27 -0000 Received: from unknown (HELO TWALINS2) ([202.3.177.54]) (envelope-sender ) by ali.com.tw (qmail-ldap-1.03) with SMTP for ; 11 Nov 2004 05:40:27 -0000 Subject: Re: the problem : assign the section's order in shared library based on mips platform To: Ian Lance Taylor Cc: binutils@sources.redhat.com Message-ID: From: eagle_zhou@ali.com.tw Date: Thu, 11 Nov 2004 05:40:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on ali.ali.com.tw X-Spam-Level: X-Spam-Status: No, score=-123.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, NO_REAL_NAME,OUTGOING_MAIL,USER_IN_WHITELIST autolearn=ham version=3.0.0 X-SW-Source: 2004-11/txt/msg00181.txt.bz2 Yes, I am writing own dynamic loader/linker. And use our own operation system. I have parsed all relocation info and generate my own data struct which will be resolved by my own dynamic loader/linker. So i do not need it's other info(string,symbol,and so on) again. I only use it's text and data section. my aim is putting text and data section into continuous space and take out them from .so file. but now, i meet those problem i mentioned. Ian Lance Taylor on 2004-11-11 12:39:20 To: Eagle Zhou/ALI_SHA/ACER@ACER cc: binutils@sources.redhat.com Subject: Re: the problem : assign the section's order in shared library based on mips platform eagle_zhou@ali.com.tw writes: > I want to take out the continuous part i care(only include > .text/.data/.bss/..) from the shared library, > and discard the those part i don't care ( dynsym/dynstr/dynamic/hash/...). You may not care about those sections, but the dynamic linker certainly does. You can't remove those sections and expect the program to continue to run on a Unix-like system, unless you write your own dynamic linker which operates on some different principle. Ian