bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIPS version of LD not honoring -Ttext for .MIPS.abiflags section


From: Nick Clifton
Subject: Re: MIPS version of LD not honoring -Ttext for .MIPS.abiflags section
Date: Thu, 26 May 2016 11:34:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

Hi Geoff,

> The problem with the first approach is I would like the linker 
> to just pack the MIPS abiflags section with the .text, .got and
> .rodata sections so I don't have to calculate the size of the 
> other sections ahead of time.

Is the .MIPS.abiflags section a fixed size ?  I suspect that it is.
If I am right then you could try something like this:

  --start-address=.MIPS.abiflags=0x80200000 -Ttext=0x80200012

(If the section is 0x12 bytes long...)

If you cannot find a workaround for the problem, please feel free
to file a bug report here:

  https://sourceware.org/bugzilla/

Not that I am guaranteeing that we will be able to find a solution
ourselves, but it is worth a try.

Cheers
  Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]