AgeCommit message (Collapse)AuthorFilesLines
2017-09-14Ignore the install-tree for the new -dev-bin packageHEADmasterVivek Das Mohapatra1-0/+1
2017-09-13Split the development helpers off into a -dev-bin packageVivek Das Mohapatra3-6/+21
2017-09-13Use the capsule_addr typedef in preference to ElfW(Addr)Vivek Das Mohapatra1-1/+1
2017-09-13Implement two more x86_64 relocation typesVivek Das Mohapatra1-7/+92
R_X86_64_GLOB_DAT and R_X86_64_64 are now supported.
2017-09-13Use the new capsule_shim_dlsym helper to implement a dlsym wrapperVivek Das Mohapatra4-3/+36
The capsule-init-project script now implements and installs a dlsym() wrapper in generated shim project source trees.
2017-09-13Implement a capsule_shim_dlsym helperVivek Das Mohapatra5-0/+89
In addition to wrapping dlopen() inside the capsule we need to wrap dlsym() outside the capsule in order to allow libraries that use a dlopen()/dlsym() pattern to work transparently. capsule_shim_dlsym() bundles most of the standard logic we expect such wrappers to use.
2017-09-13Missing variable in capsule.pc.inVivek Das Mohapatra1-0/+1
2017-09-13If a stubroutine in the shim is called dump some backtrace infoVivek Das Mohapatra1-1/+22
We shouldn't ever reach a shim stubroutine, so if we do it means a relocation has probably failed: We dump a few backtrace frames if this happens so we can track down which DSO called into the shim, and hopefully figure out what kind of relocation it was.
2017-09-12Thinko in comment - PLT vs GOTVivek Das Mohapatra1-1/+1
2017-09-11Add some typedef shenanigans to work around gtk-doc parser limitationsVivek Das Mohapatra1-2/+16
Specifically: Can't handle libelf ElfW(X) style type declarations inside a struct (but can if it's a free-standing typedef).
2017-09-11The _t suffix is reserved for libc & friends - rename capsule_item_tVivek Das Mohapatra6-17/+19
2017-09-04Make libcapsule check whether the proxy library is opening itselfVivek Das Mohapatra1-0/+82
We want the proxy library to open the ‘real’ target, not itsef. Normally this is fine as the proxy is found by the linker and the target is found by libcapsule under the prefix but if the user is using LD_LIBRARY_PATH or LD_PRELOAD and/or no /prefix we might need to take extra steps to prevent an infinite proxy loop.
2017-07-26Add a see-also section to the generated man pages.Vivek Das Mohapatra1-0/+19
2017-07-26Package the man pagesVivek Das Mohapatra1-0/+1
2017-07-26Add some missing build dependenciesVivek Das Mohapatra1-1/+4
2017-07-26Generate man pages from gtk-doc generated devhelp xmlVivek Das Mohapatra2-3/+177
2017-07-26Explicit gtk-doc generated file dependency on the main headerVivek Das Mohapatra1-1/+1
2017-07-26Work around gtk-doc.make claiming sole ownership of CLEANFILESVivek Das Mohapatra1-5/+6
2017-07-26Enable the authors section in generated man pagesVivek Das Mohapatra1-1/+1
2017-07-26Strip a debug message from debian/rulesVivek Das Mohapatra1-1/+0
2017-07-21Trivial style cleanup in makefileVivek Das Mohapatra1-1/+2
2017-07-21Document everything in capsule.h with gtk-doc commentsVivek Das Mohapatra1-0/+64
2017-07-21Install devhelp html documentation in -dev .debVivek Das Mohapatra1-0/+1
2017-07-21Drive both autoreconf and auto_configure from debian/rulesVivek Das Mohapatra1-1/+6
2017-07-21Move gtk-doc config into Makefile.amVivek Das Mohapatra2-24/+27
It must live in a configure-generated file, not in the static
2017-07-21Drop --verbose from aclocal invocationVivek Das Mohapatra1-3/+3
2017-07-21Ignore yet more debrisVivek Das Mohapatra1-2/+9
2017-07-21Restore dropped changes to hook up gtk-doc to build systemVivek Das Mohapatra1-2/+27
2017-07-21Override the right target (hopefully) to make gtk-doc et al work rightVivek Das Mohapatra1-3/+2
2017-07-21Ignore some more debrisVivek Das Mohapatra1-0/+5
2017-07-21Docstrings for capsule_init and capsule_dlmopenVivek Das Mohapatra1-0/+42
2017-07-21IbidVivek Das Mohapatra1-1/+1
2017-07-21Hook up gtk-doc to the build systemVivek Das Mohapatra2-1/+3
2017-07-20Hook up an autogen.shVivek Das Mohapatra2-1/+31
2017-07-20Ignore some more build debrisVivek Das Mohapatra1-0/+2
2017-07-19Standalone man pages for utility build scriptsVivek Das Mohapatra5-0/+277
2017-07-19Squash a warning about variable substitutionVivek Das Mohapatra1-1/+1
2017-07-19Ignore some new artefacts created by the documentation toolsVivek Das Mohapatra1-0/+4
2017-07-18Install the readme-ish guides in the doc dir for libcapsule-devVivek Das Mohapatra1-1/+2
2017-07-18Install the static readme-ish guide documentsVivek Das Mohapatra1-0/+2
2017-07-18Allow default foreign tree to be set in in proxy projectsVivek Das Mohapatra2-5/+6
2017-07-18Specify the debian source formatVivek Das Mohapatra1-0/+1
2017-07-18Update the documentation to reflect the new out-of-tree proxy toolingVivek Das Mohapatra3-98/+189
2017-07-17Add debian packaging directoryVivek Das Mohapatra6-0/+69
We'll need this for inclusion in the experimental runtime(s)
2017-07-17Update the for the new project layoutVivek Das Mohapatra1-65/+67
We no longer build proxy libraries as part of libcapsule Several extra tools have been added to make setting up a libcapsule proxy library project as easy as possible. All of this is tied together by a capsule.pc meta data file.
2017-07-17Script to automatically initialise a capsule proxy library projectVivek Das Mohapatra2-0/+166
Also include an automake stub to make bootstrapping the project easier.
2017-07-17Utility to locate a DSO in a foreign tree and report its versionVivek Das Mohapatra1-0/+87
2017-07-17Move to data, rename and rewrite for external useVivek Das Mohapatra1-42/+38
The script needs some changes to properly make it useful for capsule proxy libraries that are not part of the libcapsule tree.
2017-07-17Move the shim header file for proxy libraries into ./dataVivek Das Mohapatra1-5/+3
2017-07-17Provide a capsule.pc pkg-config meta-data fileVivek Das Mohapatra3-1/+37
If we want external build trees to be able to use our helper tools they need to be able to find them. Also build a dirconf.txt file with all the known substitutions for easier debugging (we will not ship this).