From 345181fb9a36ad18c0a40ccb74bff9ee4d03819b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 11 Jul 2016 16:59:22 +0200 Subject: cleanup CALL_MCOUNT / PROF As this is only implemented for a few architecture and not well tested, just remove it. --- libc/sysdeps/linux/xtensa/sysdep.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libc/sysdeps/linux/xtensa/sysdep.h') diff --git a/libc/sysdeps/linux/xtensa/sysdep.h b/libc/sysdeps/linux/xtensa/sysdep.h index 060b9b918..8d1bfcfdf 100644 --- a/libc/sysdeps/linux/xtensa/sysdep.h +++ b/libc/sysdeps/linux/xtensa/sysdep.h @@ -45,8 +45,7 @@ .align ALIGNARG(2); \ LITERAL_POSITION; \ C_LABEL(name) \ - abi_entry(sp, FRAMESIZE); \ - CALL_MCOUNT + abi_entry(sp, FRAMESIZE); #define HIDDEN_ENTRY(name) \ .globl C_SYMBOL_NAME(name); \ @@ -55,8 +54,7 @@ .align ALIGNARG(2); \ LITERAL_POSITION; \ C_LABEL(name) \ - abi_entry(sp, FRAMESIZE); \ - CALL_MCOUNT + abi_entry(sp, FRAMESIZE); #undef END #define END(name) ASM_SIZE_DIRECTIVE(name) @@ -92,8 +90,6 @@ #error Unsupported Xtensa ABI #endif #endif -#define CALL_MCOUNT /* Do nothing. */ - /* Linux uses a negative return value to indicate syscall errors, unlike most Unices, which use the condition codes' carry flag. -- cgit v1.2.3