This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Common sections


No idea why, I'm now going to the assembler and seeing what it's
doing. There was a bit of weird things done to get the multi-segment
working, instead of doing something only using the back-end files.

So I'm trying to clear up what was done in the body of as and push it
to the target side, perhaps it'll be clearer why there is such a
problem then...

Any ideas what the assembler could be doing badly that could get the
linker mixed up ?

For the moment, the compiler can generate any of the :

text
bss
sbss
lbss
comm
lcomm
data

and add a _big/_small

That the assembler gets and processes to send it to the right segment
(but done in a weird way for the moment)...

Thanks again,
Jc

On Mon, Jun 7, 2010 at 12:41 PM, Ian Lance Taylor <iant@google.com> wrote:
> fearyourself <fearyourself@gmail.com> writes:
>
>> Is it possible that because of the way the script is written, it takes
>> the same address per file because of that ?
>
> The script looks fine to me. ?I can not explain what you are seeing.
>
> Ian
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]