aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/m68k/Makefile3
-rw-r--r--sysdeps/unix/sysv/linux/profil.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/m68k/Makefile b/sysdeps/m68k/Makefile
index 12e9b56787..3d35ac56ba 100644
--- a/sysdeps/m68k/Makefile
+++ b/sysdeps/m68k/Makefile
@@ -33,3 +33,6 @@ m68k-syntax-flag = -DMIT_SYNTAX
endif
asm-CPPFLAGS += $(m68k-syntax-flag)
+
+# Make sure setjmp.c is compiled with a frame pointer
+CFLAGS-setjmp.c := -fno-omit-frame-pointer
diff --git a/sysdeps/unix/sysv/linux/profil.c b/sysdeps/unix/sysv/linux/profil.c
new file mode 100644
index 0000000000..5918ecebfc
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/profil.c
@@ -0,0 +1,3 @@
+/* Linux defines the profil system call but doesn't actually implement
+ it. Use the generic posix implementation. */
+#include <sysdeps/posix/profil.c>