diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2006-11-30 17:36:10 +0000 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@embecosm.com> | 2006-11-30 17:36:10 +0000 |
commit | d8f813d40510580a04b30330c7d28fb57292c1ca (patch) | |
tree | 68a8985222695a89d22901ecf78edcd9d52515a9 /include/libiberty.h | |
parent | 85411edae8f2463e9d5aa3c88a14c6ba6f1be5d7 (diff) | |
download | gdb-d8f813d40510580a04b30330c7d28fb57292c1ca.zip gdb-d8f813d40510580a04b30330c7d28fb57292c1ca.tar.gz gdb-d8f813d40510580a04b30330c7d28fb57292c1ca.tar.bz2 |
include:
2006-05-03 Andrew Stubbs <andrew.stubbs@st.com>
J"orn Rennecke <joern.rennecke@st.com>
PR driver/29931
* libiberty.h (make_relative_prefix_ignore_links): Declare.
libiberty:
2006-05-03 Andrew Stubbs <andrew.stubbs@st.com>
J"orn Rennecke <joern.rennecke@st.com>
PR driver/29931
* make-relative-prefix.c (make_relative_prefix_1): New function,
broken out of make_relative_prefix. Make link resolution dependent
on new parameter.
(make_relative_prefix): Use make_relative_prefix_1.
(make_relative_prefix_ignore_links): New function.
Diffstat (limited to 'include/libiberty.h')
-rw-r--r-- | include/libiberty.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h index 1328d3e..27291c9 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -197,6 +197,13 @@ extern long get_run_time (void); extern char *make_relative_prefix (const char *, const char *, const char *) ATTRIBUTE_MALLOC; +/* Generate a relocated path to some installation directory without + attempting to follow any soft links. Allocates + return value using malloc. */ + +extern char *make_relative_prefix_ignore_links (const char *, const char *, + const char *) ATTRIBUTE_MALLOC; + /* Choose a temporary directory to use for scratch files. */ extern char *choose_temp_base (void) ATTRIBUTE_MALLOC; |