]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Thu, 29 Aug 2002 21:16:35 +0000 (21:16 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Thu, 29 Aug 2002 21:16:35 +0000 (21:16 +0000)
From-SVN: r56664

gcc/ChangeLog
gcc/config/pa/som.h

index b2dcdf12dc5d0d6bcb5f95e9e9dfd34abfddba20..e29e98e12bae990a82e6979d67b19877b5ff1b44 100644 (file)
@@ -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.
index 644c85900b70e83ad9fe89528d216b9120e64bae..e72b7fed64a1ee0d2fb1fdfd996d4c5b8fb2b797 100644 (file)
@@ -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