mailing list of musl libc
 help / color / mirror / code / Atom feed
* RTLD_NOLOAD
@ 2013-01-23 21:45 Pierre Carrier
  2013-01-24  1:09 ` RTLD_NOLOAD Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Carrier @ 2013-01-23 21:45 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 57 bytes --]

Hi,

Please find a trivial patch attached :)

-- 
Pierre

[-- Attachment #2: 0001-add-RTLD_NOLOAD-to-include-dlfcn.h.patch --]
[-- Type: application/octet-stream, Size: 636 bytes --]

From bcd3185b7e948eb8316bed4295643968ef4e3896 Mon Sep 17 00:00:00 2001
From: Pierre Carrier <pierre@gcarrier.fr>
Date: Wed, 23 Jan 2013 22:22:05 +0100
Subject: [PATCH] add RTLD_NOLOAD to include/dlfcn.h

This flag is used by nss (Mozilla).

Signed-off-by: Pierre Carrier <pierre@gcarrier.fr>
---
 include/dlfcn.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/dlfcn.h b/include/dlfcn.h
index 46c4e18..5b57e8a 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -9,6 +9,7 @@ extern "C" {
 
 #define RTLD_LAZY   1
 #define RTLD_NOW    2
+#define RTLD_NOLOAD 4
 #define RTLD_GLOBAL 256
 #define RTLD_LOCAL  0
 
-- 
1.8.1.1


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

* Re: RTLD_NOLOAD
  2013-01-23 21:45 RTLD_NOLOAD Pierre Carrier
@ 2013-01-24  1:09 ` Rich Felker
  2013-01-24  3:09   ` RTLD_NOLOAD Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: Rich Felker @ 2013-01-24  1:09 UTC (permalink / raw)
  To: musl

On Wed, Jan 23, 2013 at 10:45:12PM +0100, Pierre Carrier wrote:
> Hi,
> 
> Please find a trivial patch attached :)

If it's going to be defined, I think it should behave as documented.
That should be a trivial change too, so I'll go ahead and add it.

Rich


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

* Re: RTLD_NOLOAD
  2013-01-24  1:09 ` RTLD_NOLOAD Rich Felker
@ 2013-01-24  3:09   ` Rich Felker
  0 siblings, 0 replies; 3+ messages in thread
From: Rich Felker @ 2013-01-24  3:09 UTC (permalink / raw)
  To: musl

On Wed, Jan 23, 2013 at 08:09:03PM -0500, Rich Felker wrote:
> On Wed, Jan 23, 2013 at 10:45:12PM +0100, Pierre Carrier wrote:
> > Hi,
> > 
> > Please find a trivial patch attached :)
> 
> If it's going to be defined, I think it should behave as documented.
> That should be a trivial change too, so I'll go ahead and add it.

Committed.

Rich


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

end of thread, other threads:[~2013-01-24  3:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-23 21:45 RTLD_NOLOAD Pierre Carrier
2013-01-24  1:09 ` RTLD_NOLOAD Rich Felker
2013-01-24  3:09   ` RTLD_NOLOAD Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).