This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: mips: don't duplicate options section
On Oct 20, 2002, Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> wrote:
> Alexandre Oliva wrote:
>> Linking a very complex non-IRIX MIPS ELF64 shared library, containing
>> many object files with their own options sections, some of them having
>> undergone ld -r, fails because not enough space was allocated in the
>> program headers for the options section.
> What will be used on this non-IRIX platform to replace .MIPS.options?
> Why is it good to do this differently?
It is not replaced, it's just packed together with other sections in
the same segment, as opposed to being a separate segment right after
the program header like IRIX requires. I confess I don't know whether
this is actually a good idea. I don't know of anything the kernel
might do with .MIPS.options that might require (or even help) to keep
it in a separate segment.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer