Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: gdb (fwd)
@ 1996-05-22  3:12 Jim Nance
  0 siblings, 0 replies; only message in thread
From: Jim Nance @ 1996-05-22  3:12 UTC (permalink / raw)


Forwarded message:
> From: "Eric Youngdale" <eric@aib.com>
> Subject: Re: gdb

> >that is that I hope that it will be unnecessary. The _correct_ way to
> handle >it is to never generate those d*mn instructions in the first place.
> We need >an optimizing linker that gets rid of them and makes it into a
> single "bsr"
> >instruction instead.
> 
> 	This wouldn't be a hard optimization, and in fact it would make
> shared libraries a bit easier for those cases where you can safely call
> without going through a PLT (i.e. we are not using up a valuable .got
> slot for a pointer).  It would tend to be used for things like static
> functions that we would want to do this in shared libs.   For normal
> executables, it is more just a question of whether the branch is in range or
> not.

I think compiling with the -om flag under Digital Unix does this.  The
reason I point this out is that Digital wrote a nice paper on doing this
type of optimization, and you can get it by mailing to an address at DEC.
Unfortunatly, I cant remember the address.  If anyone wants the paper, I
will try to dig up the address, just send me some email.  If anyone knows
the address, please send it to me so I don't have to dig it up :-)

jim

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-05-22  3:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-22  3:12 gdb (fwd) Jim Nance

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox