diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2007-12-31 15:02:59 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2007-12-31 15:02:59 +0000 |
commit | 881466d851f3c806692bda4569a4534d89848104 (patch) | |
tree | 85fdd38f176305106cbb90d88435a6728e14145d /gcc/config/pa | |
parent | 64aba73899621ddfa72986f82753b3513a9e8462 (diff) | |
download | gcc-881466d851f3c806692bda4569a4534d89848104.zip gcc-881466d851f3c806692bda4569a4534d89848104.tar.gz gcc-881466d851f3c806692bda4569a4534d89848104.tar.bz2 |
re PR driver/33772 (collect2 doesn't strip .sl version)
PR driver/33772
* collect2.c (SHLIB_SUFFIX): Define if not defined.
(write_c_file_stat): Use SHLIB_SUFFIX.
* som.h (SHLIB_SUFFIX): Define.
* doc/tm.texi (SHLIB_SUFFIX): Document.
From-SVN: r131235
Diffstat (limited to 'gcc/config/pa')
-rw-r--r-- | gcc/config/pa/som.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h index 22bda04..5d1c054 100644 --- a/gcc/config/pa/som.h +++ b/gcc/config/pa/som.h @@ -335,3 +335,7 @@ do { \ /* We can't handle weak aliases, and therefore can't support pragma weak. Suppress the use of pragma weak in gthr-dce.h and gthr-posix.h. */ #define GTHREAD_USE_WEAK 0 + +/* Shared library suffix. Collect2 strips the version string after + this suffix when generating constructor/destructor names. */ +#define SHLIB_SUFFIX ".sl" |