Changeset 2422
- Timestamp:
- 09/29/07 20:32:18 (1 year ago)
- Files:
-
- apbuild/trunk/ChangeLog (modified) (1 diff)
- apbuild/trunk/relaytool (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
apbuild/trunk/ChangeLog
r2420 r2422 1 Sun Sep 30 00:29:13 UTC 2007 Taj Morton <tajmorton@gmail.com> 2 * relaytool: When multi-linking, use the first SONAME passed to --multilink 3 as the name to use for the _is_present variable and _symbol_is_present function. 4 Fixes #37. 5 1 6 Sat Sep 22 02:39:11 UTC 2007 Taj Morton <tajmorton@gmail.com> 2 7 * relaytool: Add --out-dir feature by user 'res' in ticket #50. apbuild/trunk/relaytool
r2421 r2422 5 5 # Copyright 2005 Vincent Béron <vberon@mecano.gme.usherb.ca> 6 6 # Copyright 2006 Psyche <psyche@ruidoabsurdo.com> 7 # Copyright 2007 Taj Morton <tajmorton@gmail.com> 7 8 # 8 9 ############################################################################# … … 74 75 echo " attempt to load them (in the order provided) until" 75 76 echo " one if found. This cannot be used with multiple" 76 echo " --relay options." 77 echo " --relay options. The first SONAME in the list will" 78 echo " be used as the name in the _is_present variable and" 79 echo " _symbol_is_present function." 77 80 echo " --out-dir DIRECTORY Write stub file to DIRECTORY instead of CWD." 78 81 echo "Linker commands:" … … 115 118 function relay() { 116 119 lib="$1" 117 libname=$( echo $( basename "$lib" ) | sed 's/\.so.*//' | tr '-' '_' | tr '.' '_' ) 120 if $using_multilink; then 121 libname=$( echo $( basename ${multilinklist[0]} ) | sed 's/\.so.*//' | tr '-' '_' | tr '.' '_' ) 122 else 123 libname=$( echo $( basename "$lib" ) | sed 's/\.so.*//' | tr '-' '_' | tr '.' '_' ) 124 fi 118 125 soname=$( objdump -x "$lib" |grep SONAME | awk '{print $2}' ) 119 126 outfile="$outdir/`basename "$soname"`.stub.c"
