add support for solaris additional visibility specifications
authorYann Rouillard <yann@pleiades.fr.eu.org>
Sun, 16 Jun 2013 19:05:50 +0000 (21:05 +0200)
committerYann Rouillard <yann@pleiades.fr.eu.org>
Mon, 17 Jun 2013 13:17:43 +0000 (15:17 +0200)
(see http://docs.oracle.com/cd/E19963-01/html/819-0690/chapter6-93046.html#chapter7-27)

elftools/elf/descriptions.py
elftools/elf/enums.py

index 279856aecaade30a025bfc3f53c6267ca0239c50..3eb208ce5897d3fa9791869185e4a49617832c46 100644 (file)
@@ -265,6 +265,9 @@ _DESCR_ST_VISIBILITY = dict(
     STV_INTERNAL='INTERNAL',
     STV_HIDDEN='HIDDEN',
     STV_PROTECTED='PROTECTED',
+    STV_EXPORTED='EXPORTED',
+    STV_SINGLETON='SINGLETON',
+    STV_ELIMINATE='ELIMINATE',
 )
 
 _DESCR_ST_SHNDX = dict(
index deb9f35d9d32716308595679784d2c0eb7b601f7..724252493711535ebe08aee41e8fea816a63d552 100644 (file)
@@ -264,6 +264,9 @@ ENUM_ST_VISIBILITY = dict(
     STV_INTERNAL=1,
     STV_HIDDEN=2,
     STV_PROTECTED=3,
+    STV_EXPORTED=4,
+    STV_SINGLETON=5,
+    STV_ELIMINATE=6,
     _default_=Pass,
 )