From: Jack Howarth Date: Wed, 28 Jan 2015 21:25:19 +0000 (+0000) Subject: re PR libgomp/64635 (darwin produces libgomp-plugin-host_nonshm.1.dylib but tries... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2dde0c3197cf0815c38466f4943828038f0629d8;p=gcc.git re PR libgomp/64635 (darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1) 2015-01-28 Jack Howarth PR libgomp/64635 * configure.tgt (*-*-aix*): Use config_path "aix posix". (*-*-darwin*): Use config_path "bsd darwin posix". (*-*-hpux*): Use config_path "hpux posix". * target.c: Add include of plugin-suffix.h and use SONAME_SUFFIX macro. * config/aix/plugin-suffix.h: New file. * config/darwin/plugin-suffix.h: New file. * config/hpux/plugin-suffix.h: New file. * config/posix/plugin-suffix.h: New file. From-SVN: r220220 --- diff --git a/libgomp/config/aix/plugin-suffix.h b/libgomp/config/aix/plugin-suffix.h new file mode 100644 index 00000000000..37c192bd382 --- /dev/null +++ b/libgomp/config/aix/plugin-suffix.h @@ -0,0 +1,26 @@ +/* Copyright (C) 2015 Free Software Foundation, Inc. + Contributed by Jack Howarth + + This file is part of the GNU Offloading and Multi Processing Library + (libgomp). + + Libgomp is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + Under Section 7 of GPL version 3, you are granted additional + permissions described in the GCC Runtime Library Exception, version + 3.1, as published by the Free Software Foundation. + + You should have received a copy of the GNU General Public License and + a copy of the GCC Runtime Library Exception along with this program; + see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + . */ + +#define SONAME_SUFFIX(n) (".a")