[PATCH 0/7] libevdev GCC/LD magic

David Herrmann dh.herrmann at gmail.com
Sat Aug 17 04:58:12 PDT 2013


Hi Peter

This series includes a bunch of trivial build-fixes and some more advanced
gcc/ld magic for libevdev. I think some of them can be picked up right away. The
gcc/ld specific bits I am not really sure. They obviously only work on linux
with GCC and GNU-LD.

Feel free to drop any of these patches if you want to support LLVM/etc. However,
I think regarding the linker, GNU-LD is still de-facto standard on linux. Stuff
like LLVM-ld (never got it working and I know no-one using it) or GNU-gold (some
quite incompatible ld-variant which lacks support for a lot of options) are not
really common. So maybe the linker options make sense, while the GCC specific
bits should be kept in "if $GCC=yes".

Comments welcome!

Regards
David

David Herrmann (7):
  Check for python2 if available
  Add -I m4 to ACLOCAL_AMFLAGS
  Add ld version-script
  Use gcc aliases instead of wrapping function calls
  Remove deprecated SYMBOL_CACHE_SIZE from doxygen.in
  Pass --no-print-directory to make
  Add some gcc/ld optimizations and magic

 Makefile.am             |   2 +
 configure.ac            |   3 +-
 doc/libevdev.doxygen.in |  16 ------
 libevdev/Makefile.am    |  15 ++++--
 libevdev/libevdev-int.h |   2 +
 libevdev/libevdev.c     | 129 +++++++++++++++++++++++++++---------------------
 libevdev/libevdev.sym   |  95 +++++++++++++++++++++++++++++++++++
 7 files changed, 185 insertions(+), 77 deletions(-)
 create mode 100644 libevdev/libevdev.sym

-- 
1.8.3.4



More information about the Input-tools mailing list