[uClibc-cvs] CVS uClibc/include

CVS User andersen andersen at codepoet.org
Sat Dec 11 12:23:29 UTC 2004


Update of /var/cvs/uClibc/include
In directory nail:/tmp/cvs-serv2771/include

Modified Files:
	elf.h 
Log Message:
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,



--- /var/cvs/uClibc/include/elf.h	2004/09/07 08:40:43	1.16
+++ /var/cvs/uClibc/include/elf.h	2004/12/11 12:23:28	1.17
@@ -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 @@
 /* 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
 



More information about the uClibc-cvs mailing list