svn commit: trunk/uClibc/ldso/include

bernds at uclibc.org bernds at uclibc.org
Mon Dec 3 23:01:57 UTC 2007


Author: bernds
Date: 2007-12-03 15:01:56 -0800 (Mon, 03 Dec 2007)
New Revision: 20615

Log:
Blackfin FD-PIC patch 4/6.
Add a hash table for function descriptors on FD-PIC targets.


Modified:
   trunk/uClibc/ldso/include/dl-hash.h


Changeset:
Modified: trunk/uClibc/ldso/include/dl-hash.h
===================================================================
--- trunk/uClibc/ldso/include/dl-hash.h	2007-12-03 22:54:16 UTC (rev 20614)
+++ trunk/uClibc/ldso/include/dl-hash.h	2007-12-03 23:01:56 UTC (rev 20615)
@@ -89,6 +89,13 @@
    * we don't have to calculate it every time, which requires a divide */
   unsigned long data_words;
 #endif
+
+#ifdef __FDPIC__
+  /* Every loaded module holds a hashtable of function descriptors of
+     functions defined in it, such that it's easy to release the
+     memory when the module is dlclose()d.  */
+  struct funcdesc_ht *funcdesc_ht;
+#endif
 };
 
 #define RELOCS_DONE	    0x000001




More information about the uClibc-cvs mailing list