svn commit: trunk/uClibc/include

vapier at uclibc.org vapier at uclibc.org
Thu Feb 8 21:55:29 UTC 2007


Author: vapier
Date: 2007-02-08 13:55:28 -0800 (Thu, 08 Feb 2007)
New Revision: 17828

Log:
use __FDPIC__ from the compiler rather than setting our own

Modified:
   trunk/uClibc/include/link.h


Changeset:
Modified: trunk/uClibc/include/link.h
===================================================================
--- trunk/uClibc/include/link.h	2007-02-08 21:08:37 UTC (rev 17827)
+++ trunk/uClibc/include/link.h	2007-02-08 21:55:28 UTC (rev 17828)
@@ -29,12 +29,6 @@
 #include <tls.h>
 #endif
 
-#if defined __FRV_FDPIC__ || defined __BFIN_FDPIC__
-# define ___LINK_H_FDPIC___
-#else
-# undef ___LINK_H_FDPIC___
-#endif
-
 /* We use this macro to refer to ELF types independent of the native wordsize.
    `ElfW(TYPE)' is used in place of `Elf32_TYPE' or `Elf64_TYPE'.  */
 #define ElfW(type)	_ElfW (Elf, __ELF_NATIVE_CLASS, type)
@@ -84,7 +78,7 @@
    */
 extern ElfW(Dyn) _DYNAMIC[];
 
-#ifdef ___LINK_H_FDPIC___
+#ifdef __FDPIC__
 # include <bits/elf-fdpic.h>
 #endif
 
@@ -99,7 +93,7 @@
     /* These first few members are part of the protocol with the debugger.
        This is the same format used in SVR4.  */
 
-#ifdef ___LINK_H_FDPIC___
+#ifdef __FDPIC__
     struct elf32_fdpic_loadaddr l_addr;
 #else
     ElfW(Addr) l_addr;		/* Base address shared object is loaded at.  */
@@ -179,7 +173,7 @@
 
 struct dl_phdr_info
   {
-#ifdef ___LINK_H_FDPIC___
+#ifdef __FDPIC__
     struct elf32_fdpic_loadaddr dlpi_addr;
 #else
     ElfW(Addr) dlpi_addr;
@@ -241,6 +235,4 @@
 
 #endif
 
-#undef ___LINK_H_FDPIC___
-
 #endif /* link.h */




More information about the uClibc-cvs mailing list