mips: don't duplicate options section

Alexandre Oliva aoliva@redhat.com
Tue Oct 22 14:27:00 GMT 2002


On Oct 20, 2002, Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> wrote:

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

I suggest that we cross that bridge when we get to it.  Currently,
.MIPS.options is the first section assigned to the first segment, so
it's not like the kernel wouldn't be able to find any info it wanted
in the same place.  The difference is whether it frees the segment or
not.  Since it's read only, it's not like it would make any
significant difference to leave it in or not.  Unless I'm missing
something else...

Or do you think we'd be better off keeping .MIPS.options in a separate
segment upfront, like IRIX requires?  I don't care either way, and
I can post a patch in a matter of minutes if you think that's the way
to go.  I just want to fix the inconsistency that we have at the
moment, since that causes linker errors for me.

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



More information about the Binutils mailing list