@@ -199,9 +199,11 @@ riscv*-*-*)
;;
sparc64*-*-*)
cpu_type=sparc
+ tmake_file="${tmake_file} sparc/t-sparc"
;;
sparc*-*-*)
cpu_type=sparc
+ tmake_file="${tmake_file} sparc/t-sparc"
;;
s390*-*-*)
cpu_type=s390
new file mode 100644
@@ -0,0 +1,4 @@
+# This is needed for __strub_leave to omit the frame pointer, without
+# which it will allocate a register save area on the stack and leave
+# it unscrubbed and most likely unused, because it's a leaf function.
+CFLAGS-strub.c += -fno-PIC -fomit-frame-pointer