atom feed12 messages in org.freebsd.freebsd-alphaRe: Could somebody please test this p...
FromSent OnAttachments
John PolstraFeb 5, 1999 9:48 am.patch
Matthew JacobFeb 5, 1999 9:49 am 
Matthew JacobFeb 5, 1999 9:57 am 
John PolstraFeb 5, 1999 10:07 am 
Terry LambertFeb 5, 1999 1:03 pm 
Andrew GallatinFeb 5, 1999 1:11 pm 
John PolstraFeb 5, 1999 1:19 pm 
Terry LambertFeb 5, 1999 4:09 pm 
John PolstraFeb 5, 1999 5:01 pm 
Terry LambertFeb 6, 1999 1:07 pm 
John PolstraFeb 8, 1999 10:40 am 
Andrew GallatinFeb 8, 1999 10:56 am 
Subject:Re: Could somebody please test this patch?
From:Terry Lambert (tlam@primenet.com)
Date:Feb 6, 1999 1:07:52 pm
List:org.freebsd.freebsd-alpha

which gets mapped to a specific address for Alpha binaries by the image activator,

Fine, then _tell_ me what the specific address is supposed to be, if there even really is one. I know there's a specific address in SVR4/i386, but as yet you've given me no reason to think the address is wired down on the Alpha. Just saying it's wired down doesn't do anybody a bit of good if you don't state what the address is supposed to be.

Do you have a copy of DEC UNIX with a compiler?

Write a program:

main() { for(;;) { sleep(1000); } }

And then examine the memory mappings for it.

I can't really *prove* that the thing *never* maps it to a different location, but I've put loops like that into much more complex programs and not had it move around.

not the crt0.o (that's why you can dlopen from static executable on an Alpha; same for SVR4 and Solaris, for that matter).

As I've told you at least four times in the mailing lists, that is misinformation. I know from first-hand experience (and from man pages) that you can't use dlopen in static executables under SVR4. And I and others have quoted every variety of Solaris man page to you, which specifically say you can't do it. I wish you'd quit spreading it around that you can, because it's utterly false.

Ugh.

There isn't a static "libdl".

You're right. I screwed up and assumed that the libdl was statically linked.

Hmmm... you *can* use mmap and libelf to get the offsets, right? So it is possible to support loadable code modules in a static binary, it's just an implementation decision that that's not how dlopen itself is implemented.

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message