summaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-24 19:04:40 -0400
committermidipix <writeonce@midipix.org>2017-10-24 19:08:35 -0400
commitc92bd819f194d35db6b4de1ca598d2c176fdcb0f (patch)
tree2d8532edd4710ff6875f5d22de4581e9dc8d352b /gcc/config/i386
parent600e9edf8f0db8b903c67056485e82f606ae6575 (diff)
downloadcbb-gcc-4.6.4-c92bd819f194d35db6b4de1ca598d2c176fdcb0f.tar.bz2
cbb-gcc-4.6.4-c92bd819f194d35db6b4de1ca598d2c176fdcb0f.tar.xz
midipix targets: added the -mout-dsolib PE-specific directive.
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/midipix.opt8
-rw-r--r--gcc/config/i386/t-midipix4
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/config/i386/midipix.opt b/gcc/config/i386/midipix.opt
index 4cf16dca4..541e3cab8 100644
--- a/gcc/config/i386/midipix.opt
+++ b/gcc/config/i386/midipix.opt
@@ -2,7 +2,7 @@
;; ;;
;; midipix target directives ;;
;; ;;
-;; Copyright (C) 2014,2015 Z. Gilboa ;;
+;; Copyright (C) 2014--2017 Z. Gilboa ;;
;; ;;
;; This program is free software: you can redistribute it and/or modify ;;
;; it under the terms of the GNU General Public License as published by ;;
@@ -27,9 +27,13 @@ mposix
Target
always join or create a posix session
+mout-dsolib
+Target
+upon linking the dynamic library foo.so, generate an accompanying custom (.dsometa) import library foo.lib.a
+
mout-implib
Target
-upon linking the dynamic library foo.so, generate an accompanying import library foo.lib.a
+upon linking the dynamic library foo.so, generate an accompanying legacy (.idata) import library foo.lib.a
moutput-def
Target
diff --git a/gcc/config/i386/t-midipix b/gcc/config/i386/t-midipix
index 0a05c343f..56e29c484 100644
--- a/gcc/config/i386/t-midipix
+++ b/gcc/config/i386/t-midipix
@@ -2,7 +2,7 @@
## ##
## midipix target-specific build recipes ##
## ##
-## Copyright (C) 2014,2015 Z. Gilboa ##
+## Copyright (C) 2014--2017 Z. Gilboa ##
## ##
## This program is free software: you can redistribute it and/or modify ##
## it under the terms of the GNU General Public License as published by ##
@@ -69,7 +69,7 @@ SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver
SHLIB_LINK = $(GCC_FOR_TARGET) \
$(LIBGCC2_CFLAGS) \
- -shared -mout-implib \
+ -shared -mout-dsolib \
-nodefaultlibs \
-o $(SHLIB_DIR)/$(SHLIB_SONAME) \
$(SHLIB_OBJS) \