summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/cris/sysdep.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-03 15:01:18 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-03 15:01:18 +0000
commit0287134396b5750243972e382db3f9e9e2138aad (patch)
treee13a71a964a6e77ab1c75e6ed8c71051d530943a /libc/sysdeps/linux/cris/sysdep.h
parent0c6405c1d65d8a570b731abf1163fe6003a62c2c (diff)
Properly prefix some symbols
Diffstat (limited to 'libc/sysdeps/linux/cris/sysdep.h')
-rw-r--r--libc/sysdeps/linux/cris/sysdep.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/cris/sysdep.h b/libc/sysdeps/linux/cris/sysdep.h
index f905c7fb3..cc86d3702 100644
--- a/libc/sysdeps/linux/cris/sysdep.h
+++ b/libc/sysdeps/linux/cris/sysdep.h
@@ -107,10 +107,10 @@
#define PSEUDO_END(name) \
0: @ \
SETUP_PIC @ \
- PLTJUMP (syscall_error) @ \
+ PLTJUMP (__syscall_error) @ \
END (name)
-/* If compiled for profiling, call `mcount' at the start of each function.
+/* If compiled for profiling, call `_mcount' at the start of each function.
FIXME: Note that profiling is not actually implemented. This is just
example code which might not even compile, though it is believed to be
correct. */
@@ -123,7 +123,7 @@
push $r12 @ \
push $r13 @ \
SETUP_PIC @ \
- PLTCALL (mcount) @ \
+ PLTCALL (_mcount) @ \
TEARDOWN_PIC @ \
pop $r13 @ \
pop $r12 @ \
@@ -135,11 +135,6 @@
#define CALL_MCOUNT /* Do nothing. */
#endif
-/* Since C identifiers are not normally prefixed with an underscore
- on this system, the asm identifier `syscall_error' intrudes on the
- C name space. Make sure we use an innocuous name. */
-#define syscall_error __syscall_error
-#define mcount _mcount
#endif /* __ASSEMBLER__ */
#endif /* _SYSDEP_H_ */