aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-08-29 21:16:35 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-08-29 21:16:35 +0000
commit4385234278e3b3d29b88672b3567829448b4c945 (patch)
tree58fe00922488905181df46ec8b22ef9704cff25f
parent44bb111a78b9636b80d4b40ef57b8b47a375c525 (diff)
downloadgcc-4385234278e3b3d29b88672b3567829448b4c945.zip
gcc-4385234278e3b3d29b88672b3567829448b4c945.tar.gz
gcc-4385234278e3b3d29b88672b3567829448b4c945.tar.bz2
* som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
From-SVN: r56664
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/pa/som.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b2dcdf1..e29e98e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
+
2002-08-29 Richard Henderson <rth@redhat.com>
* expr.h (enum block_op_methods): New.
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h
index 644c859..e72b7fe 100644
--- a/gcc/config/pa/som.h
+++ b/gcc/config/pa/som.h
@@ -365,3 +365,9 @@ do { \
/* SOM does not support the init_priority C++ attribute. */
#undef SUPPORTS_INIT_PRIORITY
#define SUPPORTS_INIT_PRIORITY 0
+
+/* The SOM linker hardcodes paths into binaries. As a result, dotdots
+ must be removed from library prefixes to prevent binaries from depending
+ on the location of the GCC tool directory. The downside is GCC
+ cannot be moved after installation using a symlink. */
+#define ALWAYS_STRIP_DOTDOT 1