to support -shared, on platforms with dynamic libraries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33711
138bc75d-0d04-0410-961f-
82ee72b054a4
+Fri May 5 10:29:21 2000 Marc Espie <espie@cvs.openbsd.org>
+
+ * config/openbsd.h (LINK_SPEC): pass correct flags to ld
+ to support -shared, on platforms with dynamic libraries.
+
Fri May 5 10:27:06 2000 Philippe De Muyter <phdm@macqel.be>
* system.h (S_ISBLK): Provide fallback definition.
"%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{assert*}"
#else
#define LINK_SPEC \
- "%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{R*} %{static:-Bstatic} %{assert*}"
+ "%{!shared:%{!nostdlib:%{!r*:%{!e*:-e start}}}} %{shared:-Bshareable -x} -dc -dp %{R*} %{static:-Bstatic} %{assert*}"
#endif
#undef LIB_SPEC