diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-12-11 12:23:37 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-12-11 12:23:37 +0000 |
commit | a56073a28beba540347846a193d25fd61584c2af (patch) | |
tree | 5c22cb4bc0d147e50df51730aa27adf172c15ae7 /include | |
parent | fb6f30cabdaa0ed74d0f7ec9d1feb137260e37aa (diff) |
Partial commit of a patch from Alexandre Oliva:
Here's an updated version of the patch I posted about a month ago. It
leaves -nostdinc alone, and uses -print-file-name=include instead of
-print-search-dirs to figure out where GCC's internal headers are.
Please let me know whether there are any portions of this patch you'd
like me to break into smaller pieces, to rework, or to give up trying
to get into uClibc :-) Thanks,
Diffstat (limited to 'include')
-rw-r--r-- | include/elf.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/elf.h b/include/elf.h index ce37414f1..0dcbc8f0f 100644 --- a/include/elf.h +++ b/include/elf.h @@ -1,5 +1,6 @@ /* This file defines standard ELF types, structures, and macros. - Copyright (C) 1995-1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 1995-1999, 2000, 2001, 2002, 2003, 2004 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -1153,6 +1154,17 @@ typedef struct /* Private function descriptor initialization. */ #define R_FRV_FUNCDESC_VALUE 18 + /* gpr support */ +#define EF_FRV_GPR_MASK 0x00000003 /* mask for # of gprs */ +#define EF_FRV_GPR_32 0x00000001 /* -mgpr-32 */ +#define EF_FRV_GPR_64 0x00000002 /* -mgpr-64 */ + + /* fpr support */ +#define EF_FRV_FPR_MASK 0x0000000c /* mask for # of fprs */ +#define EF_FRV_FPR_32 0x00000004 /* -mfpr-32 */ +#define EF_FRV_FPR_64 0x00000008 /* -mfpr-64 */ +#define EF_FRV_FPR_NONE 0x0000000c /* -msoft-float */ + #define EF_FRV_PIC 0x00000100 #define EF_FRV_FDPIC 0x00008000 |