summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-14 02:38:37 +0000
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-14 02:38:37 +0000
commit9e51385b8df5adbbb04123513f900514bf91e55b (patch)
tree654abed38b0324efc35de124e2281685a7eed705 /libgcc
parent4015e6f0a28f072b64a4a8ea5b461c5e4111cd44 (diff)
downloadgcc-9e51385b8df5adbbb04123513f900514bf91e55b.tar.gz
ChangeLog/libgcc
2007-06-14 Danny Smith <dannysmith@users.sourceforge.net> * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to extra_parts. Add config/i386/t-cygming to tmake_file. * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o. ChangeLog/gcc 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net> * config/i386/cygming.h (DWARF_FRAME_REGNUM): Define. (DWARF2_UNWIND_INFO): Override default if configured with SJLJ EH disabled. * config/i386/cygwin.h (STARTFILE_SPEC): Add crtbegin.o. (ENDFILE_SPEC): Add crtend.o. * config/i386/mingw32.h (STARTFILE_SEC): Add crtbegin.o. (ENDFILE_SPEC): Add crtend.o. (TARGET_USE_JCR_SECTION): Define. (MD_UNWIND_SUPPORT): Define for 32-bit target. * config/i386/cygming-crtbegin.c: New file. * config/i386/cygming-crtend.c: New file. 2007-06-14 Pascal Obry Pascal Obry <obry@adacore.com> * config/i386/w32-unwind.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125696 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog7
-rw-r--r--libgcc/config.host4
-rwxr-xr-xlibgcc/config/i386/t-cygming11
3 files changed, 20 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index fdcdd2f48ba..9cdf81e8eb8 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,10 @@
+2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
+ extra_parts. Add config/i386/t-cygming to tmake_file.
+ * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
+
+
2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
Danny Smith <dannysmith@users.sourceforge.net>
diff --git a/libgcc/config.host b/libgcc/config.host
index 3e0cb47903c..79039abc8e1 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -370,8 +370,8 @@ i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
i[34567]86-*-pe)
;;
i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
- extra_parts="crtfastmath.o"
- tmake_file="i386/t-crtfm"
+ extra_parts="crtbegin.o crtend.o crtfastmath.o"
+ tmake_file="i386/t-cygming i386/t-crtfm"
;;
x86_64-*-mingw*)
;;
diff --git a/libgcc/config/i386/t-cygming b/libgcc/config/i386/t-cygming
new file mode 100755
index 00000000000..048cadbd5a1
--- /dev/null
+++ b/libgcc/config/i386/t-cygming
@@ -0,0 +1,11 @@
+CUSTOM_CRTSTUFF = yes
+
+crtbegin.o: $(gcc_srcdir)/config/i386/cygming-crtbegin.c
+ $(crt_compile) -fno-omit-frame-pointer -c \
+ $(gcc_srcdir)/config/i386/cygming-crtbegin.c
+
+# We intentionally use a implementation-reserved init priority of 0,
+# so allow the warning.
+crtend.o: $(gcc_srcdir)/config/i386/cygming-crtend.c
+ $(crt_compile) -fno-omit-frame-pointer -Wno-error -c \
+ $(gcc_srcdir)/config/i386/cygming-crtend.c