OSDN Git Service

* config/s390/t-crtstuff: New target makefile fragment.
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Nov 2002 19:59:25 +0000 (19:59 +0000)
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Nov 2002 19:59:25 +0000 (19:59 +0000)
* config.gcc [s390-*-linux, s390x-*-linux]: Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59641 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/s390/t-crtstuff [new file with mode: 0644]

index bdbc661..409703d 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/t-crtstuff: New target makefile fragment.
+       * config.gcc [s390-*-linux, s390x-*-linux]: Use it.
+
 2002-11-29  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/h8300.md (movsi_h8300hs): Change the order of
index 9fc5c36..f2a6b16 100644 (file)
@@ -2194,7 +2194,7 @@ rs6000-*-lynxos*)
        ;;
 s390-*-linux*)
        tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
-       tmake_file="t-slibgcc-elf-ver t-linux"
+       tmake_file="t-slibgcc-elf-ver t-linux s390/t-crtstuff"
        ;;
 s390x-*-linux*)
        tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
@@ -2202,7 +2202,7 @@ s390x-*-linux*)
        md_file=s390/s390.md
        extra_modes=s390/s390-modes.def
        out_file=s390/s390.c
-       tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux64"
+       tmake_file="t-slibgcc-elf-ver t-linux s390/t-crtstuff s390/t-linux64"
        ;;
 sh-*-elf* | sh[2346l]*-*-elf*)
        tmake_file="sh/t-sh sh/t-elf"
diff --git a/gcc/config/s390/t-crtstuff b/gcc/config/s390/t-crtstuff
new file mode 100644 (file)
index 0000000..5572e6b
--- /dev/null
@@ -0,0 +1,4 @@
+# crtend*.o cannot be compiled without -fno-asynchronous-unwind-tables,
+# because then __FRAME_END__ might not be the last thing in .eh_frame
+# section.
+CRTSTUFF_T_CFLAGS = -fno-asynchronous-unwind-tables