Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] Joke of the day for PA userspace hackers...
@ 2002-12-27  2:49 Carlos O'Donell
  2002-12-27  3:01 ` John David Anglin
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos O'Donell @ 2002-12-27  2:49 UTC (permalink / raw)
  To: parisc-linux

parisc,

Two programmers are seated at a bar hacking on PARISC,
when Joe turns to Jill and says:

Joe:  "I tried calling the function by it's address"
Jill: "Just lop off the first 2 bits."
Joe:  "Hey! It worked?! What did that do?"
Jill: "I don't know, but it's a clever fix, without a changelog,
       that I keep seeing in debian binutils and gdb code"

*ba dump ching*

Function descriptors :)

c.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [parisc-linux] Joke of the day for PA userspace hackers...
  2002-12-27  2:49 [parisc-linux] Joke of the day for PA userspace hackers Carlos O'Donell
@ 2002-12-27  3:01 ` John David Anglin
  0 siblings, 0 replies; 2+ messages in thread
From: John David Anglin @ 2002-12-27  3:01 UTC (permalink / raw)
  To: Carlos O'Donell; +Cc: parisc-linux

> parisc,
> 
> Two programmers are seated at a bar hacking on PARISC,
> when Joe turns to Jill and says:
> 
> Joe:  "I tried calling the function by it's address"
> Jill: "Just lop off the first 2 bits."
> Joe:  "Hey! It worked?! What did that do?"
> Jill: "I don't know, but it's a clever fix, without a changelog,
>        that I keep seeing in debian binutils and gdb code"
> 
> *ba dump ching*
> 
> Function descriptors :)

Won't work on hppa64 :))  Our ctor/dtor pointers are not function pointers.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-27  3:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-27  2:49 [parisc-linux] Joke of the day for PA userspace hackers Carlos O'Donell
2002-12-27  3:01 ` John David Anglin

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