libdl: Push of libdl (RTL) code to master.
Chris Johns
chrisj at rtems.org
Fri Oct 31 00:34:16 UTC 2014
Hi all,
I have pushed the RTL code to our git master. The code resides under
cpukit/libdl and user access is via the dlopen, dlclose and dlinfo
family of calls. The test output with the SIS BSP is:
$ sparc-rtems4.11-run $(find . -name dl01.exe)
*** BEGIN OF TEST libdl (RTL) Loader 1 ***
load: /dl-o1.o
handle: 0x2044890 loaded
Loaded module: argc:2
[../../../../../../../../rtems.master/c/src/../../testsuites/libtests/dl01/dl-o1.c]
0: Line 1
1: Line 2
Loaded module: argc:3
[../../../../../../../../rtems.master/c/src/../../testsuites/libtests/dl01/dl-o1.c]
0: Call 2, line 1
1: Call 2, line 2
2: Call 2, line 3
handle: 0x2044890 closed
*** END OF TEST libdl (RTL) Loader 1 ***
If you are on a supported architecture and you are building the
testsuite you will need to clone the rtems-tools.git repo, build and
install it or you will get a configure error. If you are not building
the testsuite rtems-tools is not be needed. The procedure is:
$ git clone git://git.rtems.org/rtems-tools.git rtems-tools.git
$ cd rtems-tools.git
$ waf configure --prefix=$HOME/development/rtems/4.11
$ waf build install
[ Doing this will also provide you with a RTEMS GDB Python scripts. ]
I would like to thank Peng Fan for his work in GSoC to get the code into
the shape it is now. Peng, we have a gdb patch to submit. I also would
like to thank all the tester who provided feedback and fixes. Finally
thanks to Alan and NASA for making this work possible.
Chris
More information about the devel
mailing list