From aa1ad0633bbd56a171918be571c34f386a5fe2bd Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 22 Nov 2002 21:02:07 +0000 Subject: [PATCH] merge from gcc --- include/ChangeLog | 4 ++++ include/libiberty.h | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index 5e1d70d68..a490c68ec 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2002-11-22 Daniel Jacobowitz + + * libiberty.h (make_relative_prefix): Add prototype. + 2002-11-16 Klee Dienes * opcode/m88k.h (INSTAB): Remove 'next' field. diff --git a/include/libiberty.h b/include/libiberty.h index 983fd96e5..c02e035e3 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -145,6 +145,12 @@ extern char * getpwd PARAMS ((void)); extern long get_run_time PARAMS ((void)); +/* Generate a relocated path to some installation directory. Allocates + return value using malloc. */ + +extern char *make_relative_prefix PARAMS ((const char *, const char *, + const char *)); + /* Choose a temporary directory to use for scratch files. */ extern char *choose_temp_base PARAMS ((void)) ATTRIBUTE_MALLOC;