diff options
author | David McCullough <davidm@snapgear.com> | 2001-06-28 02:12:09 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2001-06-28 02:12:09 +0000 |
commit | 572446c2c06ae715e33540251af65fb5ff26e92d (patch) | |
tree | 01d0cd9d2ec7ba2c2ead73352e6d94a9e3c1bd6f /libc/sysdeps/linux/sh/sysdep.h | |
parent | e53f70e1e1fc250c060d3432844fb222e32754b1 (diff) |
sysdep.h was not providing all the needed bits to build working asm with
some compilers, so define any macros we need that are not defined already.
Needed to include uClibc_config.h to get some defines.
New syscall header files for _mmap
vfork.c is not used so ditch it.
Diffstat (limited to 'libc/sysdeps/linux/sh/sysdep.h')
-rw-r--r-- | libc/sysdeps/linux/sh/sysdep.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sh/sysdep.h b/libc/sysdeps/linux/sh/sysdep.h index acaea48e4..759753415 100644 --- a/libc/sysdeps/linux/sh/sysdep.h +++ b/libc/sysdeps/linux/sh/sysdep.h @@ -17,7 +17,8 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - +#define __need_uClibc_config_h 1 +#include <bits/uClibc_config.h> /* Define a macro we can use to construct the asm name for a C symbol. */ #ifdef NO_UNDERSCORES @@ -34,12 +35,20 @@ #endif #endif - /* Mark the end of function named SYM. This is used on some platforms to generate correct debugging information. */ #ifndef END #define END(sym) #endif + +#ifndef ASM_GLOBAL_DIRECTIVE +#define ASM_GLOBAL_DIRECTIVE .global +#endif + +#ifndef C_SYMBOL_NAME +#define C_SYMBOL_NAME(name) name +#endif + #ifdef __ASSEMBLER__ /* Syntactic details of assembler. */ |