Re: gdb

Eric Youngdale (eric@aib.com)
Wed, 8 May 1996 14:24:38 -0400


>Also note that the jsr->bsr optimization actually cuts down on the gp
>table quite a lot, so just applying the optimization would also make it
>less likely that we need multiple gp's per binary (I'm not counting
>shared libraries or stuff like that - they obviously have their own
>gp's).

Actually, the .lita sections are generated by the assembler,
so the optimization would basically mean that there are unused portions
of the file. The linker is just appending all of the .lita sections
that the assembler generates without removing duplicates, and without
compressing it.

Frankly, I have doubts as to whether it is really wise
to generate .lita at assembly time (it should be generated by the linker
as required, instead), but I am not yet sure whether it is possible to
defer creation of this section to the linker.

-Eric

-- 
"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."