1. 10 Mar, 2018 1 commit
  2. 20 Feb, 2018 1 commit
    • Henning Schild's avatar
      smokey/dlopen: introduce a new testcase · c2d57c26
      Henning Schild authored
      This commit introduces a new testcase into the smokey framework. The
      test covers some aspects of adding xenomai-functionality to applications
      with dlopen(). It also tests initialization and tunables.
      This test also shows a bug in xenomai, so the test will actually fail.
      The next commit will fix that again.
      Signed-off-by: Henning Schild's avatarHenning Schild <henning.schild@siemens.com>
      c2d57c26
  3. 19 Nov, 2017 1 commit
  4. 18 Nov, 2017 1 commit
    • Philippe Gerum's avatar
      build: enable -fasynchronous-unwind-tables · 4e8f323a
      Philippe Gerum authored
      We need unwind tables to be precise at the instruction level, so they
      can be used for accurate stack unwinding (e.g. backtrace()) from
      asynchronous events like signals. Slackspot depends on this ability.
      
      Failure to do so may cause applications to report incomplete
      backtraces with glibc's backtrace(), or even crash over libunwind, see
      http://xenomai.org/pipermail/xenomai/2017-October/037763.html
      
      Enable -fasynchronous-unwind-tables for building the Xenomai libraries
      and the user applications (via xeno-config --cflags).
      
      Report and suggestion for a fix by Andreas Glatz
      <andi.glatz@gmail.com>.
      4e8f323a
  5. 15 Apr, 2017 4 commits
  6. 02 Apr, 2017 2 commits
  7. 15 Mar, 2017 1 commit
    • Philippe Gerum's avatar
      lib/cobalt: modechk: switch to shared object, drop cxa wrappers · 8c82454c
      Philippe Gerum authored
      Dynamically linked code from shared libraries which may reference mode
      checking wrappers cannot depend on symbols which are only visible from
      the static link phase, such as those defined by the libmodechk.a
      library. Otherwise, unresolved references to symbols from libmodechk.a
      may exist in shared objects such as libcopperplate.so.
      
      Unfortunately, we can't interpose on the cxa* API from a dynamic
      library, since the latter would create references to "real"
      __cxa_acquire/release/abort() routines, which are not available from
      plain C builds since only libstdc++ defines them.
      
      Providing placeholders for the cxa* API calls in a dynamic object is
      not an option either, since that would create a dependency on the link
      order between libmodechk and libstdc++ for pulling the actual symbols
      instead of the dummy ones, which is not acceptable. Besides, relying
      on LD_DYNAMIC_WEAK is fragile, unpractical, and won't work in secured
      execution mode.
      
      To work around this chicken-and-egg issue, make libmodechk a shared
      object, and drop mode checking for the cxa* API for now. We'll revisit
      the issue of enabling back the cxa* API later.
      8c82454c
  8. 13 Mar, 2017 1 commit
  9. 03 Mar, 2017 1 commit
  10. 26 Jan, 2017 1 commit
  11. 27 Dec, 2016 2 commits
  12. 28 Nov, 2016 1 commit
  13. 09 Nov, 2016 1 commit
  14. 09 Sep, 2016 1 commit
    • Philippe Gerum's avatar
      boilerplate: allow for auto-init of external shared libraries · 21845c9c
      Philippe Gerum authored
      3rd-party shared libraries for which Xenomai auto-initialization is
      required must include a position-independent version of the bootstrap
      module.
      
      This means that we need to export a PIC object such libraries can
      include, in addition to a non-PIC object to be linked in regular
      executables as usual. Such objects are available as
      @libdir@/xenomai/bootstrap-pic.o and @libdir@/xenomai/bootstrap.o
      respectively.
      
      xeno-config* scripts now accept the --auto-init-solib option to emit
      the proper link directives for including the PIC bootstrap module into
      shared libraries when --ldflags is given.
      21845c9c
  15. 27 Feb, 2016 1 commit
  16. 15 Jan, 2016 1 commit
  17. 08 Jan, 2016 2 commits
  18. 17 Oct, 2015 1 commit
  19. 05 Oct, 2015 1 commit
  20. 01 Oct, 2015 1 commit
  21. 15 Aug, 2015 2 commits
  22. 23 Jul, 2015 1 commit
  23. 20 Jun, 2015 5 commits
  24. 16 Jun, 2015 1 commit
  25. 11 May, 2015 1 commit
    • Philippe Gerum's avatar
      lib: share the common setup and bootstrap code · 83b0f189
      Philippe Gerum authored
      Make pure POSIX applications and Copperplate-based ones share the same
      auto-init mechanism. This means that all applications now
      automatically recognize a set of base common options, which is
      currently:
      
      --cpu-affinity=<cpuset>, --[no-]sanity, --quiet[=level], --silent and
      --version.
      
      Applications which do not want Xenomai to interpose on the main()
      routine transparently for handling these options and bootstrapping the
      service libraries may disable this feature by passing the
      --no-auto-init switch to xeno-config when collecting the linker
      flags. In this configuration, the system must be bootstrapped manually
      by a call to xenomai_init() from the application code though.
      
      This change is C++ friendly, since it also enables the Xenomai high
      level services (e.g. VxWorks, pSOS) before the static constructors
      run, by default.
      83b0f189
  26. 11 Apr, 2015 1 commit
  27. 15 Mar, 2015 1 commit
  28. 03 Mar, 2015 1 commit
  29. 02 Mar, 2015 1 commit