diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2007-12-31 15:02:59 +0000 |
---|---|---|
committer | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2007-12-31 15:02:59 +0000 |
commit | 5c45957ad6e5314aead27ee905782b11670f7e34 (patch) | |
tree | 85fdd38f176305106cbb90d88435a6728e14145d /gcc/config/pa | |
parent | 132660ff77b61e7cdd44d1a8e7cba37d6b5d9e9f (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131235 138bc75d-0d04-0410-961f-82ee72b054a4
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 22bda046912..5d1c054a3eb 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" |