Module: xenomai-3
Branch: stable-3.0.x
Commit: 66d624c447f189748e1761a53418d9792278e20b
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=66d624c447f189748e1761a53418d9792278e20b

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Sep  9 19:18:34 2016 +0200

doc/man: xeno-config: document --auto-init-solib

---

 doc/asciidoc/man1/xeno-config.adoc |   18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/doc/asciidoc/man1/xeno-config.adoc 
b/doc/asciidoc/man1/xeno-config.adoc
index 2844352..62ab888 100644
--- a/doc/asciidoc/man1/xeno-config.adoc
+++ b/doc/asciidoc/man1/xeno-config.adoc
@@ -35,7 +35,7 @@ SYNOPSIS
 
 *xeno-config* *--version*
 
-*xeno-config* [*--cc*] [*--ccld*] [*--arch*] [*--prefix*] 
[*--posix|alchemy|rtdm|psos|vxworks|smokey*] [*--compat*] 
[*--auto-init*|*no-auto-init*] [*--cflags*] [*--ldflags*] 
[*--library-dir*|*--libdir*|*--user-libdir*]
+*xeno-config* [*--cc*] [*--ccld*] [*--arch*] [*--prefix*] 
[*--posix|alchemy|rtdm|psos|vxworks|smokey*] [*--compat*] 
[*--auto-init*|*no-auto-init*] [*--auto-init-solib*] [*--cflags*] [*--ldflags*] 
[*--library-dir*|*--libdir*|*--user-libdir*]
 
 DESCRIPTION
 ------------
@@ -126,7 +126,21 @@ initialization. In such a case, the application code shall 
call the
 chores on behalf on the +main()+ routine, *before* any real-time
 service is invoked.
 
-*xeno-config* enables the Copperplate auto-init feature by default.
+This flag makes sense when passed along with --ldflags
+only. *xeno-config* enables the Copperplate auto-init feature by
+default.
+
+*--auto-init-solib*::
+
+This switch enables the auto-initialization feature described above
+for a shared library target instead of a pure executable. The main
+difference resides in a position-independent (PIC) glue code being
+used for bootstrapping the initialization.
+
+The bootstrap code runs when the shared library is attached to a
+running executable, either because it appears in the static
+dependencies of this executable, or when loaded dynamically via the
+dlopen() interface.
 
 *--core*::
 Output the name of the real-time core the current Xenomai installation


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to