comparison libiberty/make-relative-prefix.c @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents a06113de4d67
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
19 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 19 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
20 02110-1301, USA. */ 20 02110-1301, USA. */
21 21
22 /* 22 /*
23 23
24 @deftypefn Extension {const char*} make_relative_prefix (const char *@var{progname}, const char *@var{bin_prefix}, const char *@var{prefix}) 24 @deftypefn Extension {const char*} make_relative_prefix (const char *@var{progname}, @
25 const char *@var{bin_prefix}, const char *@var{prefix})
25 26
26 Given three paths @var{progname}, @var{bin_prefix}, @var{prefix}, 27 Given three paths @var{progname}, @var{bin_prefix}, @var{prefix},
27 return the path that is in the same position relative to 28 return the path that is in the same position relative to
28 @var{progname}'s directory as @var{prefix} is relative to 29 @var{progname}'s directory as @var{prefix} is relative to
29 @var{bin_prefix}. That is, a string starting with the directory 30 @var{bin_prefix}. That is, a string starting with the directory