diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-30 17:05:45 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-30 17:05:45 +0000 |
commit | 6fa7e596c6d7740d1bf527a7113d8d7958bd865f (patch) | |
tree | dfab9db15a2a570a363138a02582f20e1f90f56b /include | |
parent | fcbe34ba10c3df60343730e8454446db3a1f28ec (diff) | |
download | gcc-6fa7e596c6d7740d1bf527a7113d8d7958bd865f.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119366 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 6 | ||||
-rw-r--r-- | include/libiberty.h | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index c7fce38fb2b..017d3fd30b5 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2006-11-30 Andrew Stubbs <andrew.stubbs@st.com> + J"orn Rennecke <joern.rennecke@st.com> + + PR driver/29931 + * libiberty.h (make_relative_prefix_ignore_links): Declare. + 2006-11-27 Bob Wilson <bob.wilson@acm.org> * xtensa-config.h (XSHAL_ABI): New. diff --git a/include/libiberty.h b/include/libiberty.h index 1328d3eb14c..27291c98868 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; |