mips: don't duplicate options section

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Sun Oct 20 14:23:00 GMT 2002


Alexandre Oliva wrote:
> 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 see.

> 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.

I guess it could use the Information in .MIPS.options for some patches
to circumvent hardware bugs and other setup like page sizes, and then
free this segment.


Thiemo



More information about the Binutils mailing list