summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arc/sysdep.h
blob: d75d89100440cb2ff0ff1f1340d2ac9be579ca8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _LINUX_ARC_SYSDEP_H
#define _LINUX_ARC_SYSDEP_H 1

#include <features.h>
#include <libc-internal.h>

#ifdef	__ASSEMBLER__

#define ENTRY(nm)		\
	.text `			\
	.align 4 `		\
	.globl nm `		\
	.type nm,@function `	\
nm:

#define END(name)	.size name,.-name

#endif /* __ASSEMBLER __*/

#include <common/sysdep.h>

/* Pointer mangling is not yet supported  */
#define PTR_MANGLE(var) (void) (var)
#define PTR_DEMANGLE(var) (void) (var)

#endif