This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: the problem : assign the section's order in shared library based onmips platform
- From: eagle_zhou at ali dot com dot tw
- To: Ian Lance Taylor <ian at wasabisystems dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 11 Nov 2004 13:40:05 +0800
- Subject: Re: the problem : assign the section's order in shared library based onmips platform
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 <ian@wasabisystems.com> 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