summaryrefslogtreecommitdiff
path: root/include/elf/common.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-02-22 19:56:41 +0000
committerNick Clifton <nickc@redhat.com>2000-02-22 19:56:41 +0000
commitc0a888810003e15d2bb9734244507d622f886b4d (patch)
treee72d764e685cbff4f9dfe95519a8957f2b3cfb2e /include/elf/common.h
parent4fb84bf6434760909368a717037662e8783c9c4c (diff)
downloadbinutils-redhat-c0a888810003e15d2bb9734244507d622f886b4d.tar.gz
Remove use of ELF_ST_OTHER.
Diffstat (limited to 'include/elf/common.h')
-rw-r--r--include/elf/common.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index 74fd7b22d4..0ff2d8d58b 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -317,12 +317,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
the st_other field. The STV_ defines specificy the actual visibility. */
#define ELF_ST_VISIBILITY(v) ((v) & 0x3)
-#define ELF_ST_OTHER(o) ((o) & ~0x3)
+/* The remaining bits in the st_other field are not currently used.
+ They should be set to zero. */
#define ELF32_ST_VISIBILITY ELF_ST_VISIBILITY
-#define ELF32_ST_OTHER ELF_ST_OTHER
#define ELF64_ST_VISIBILITY ELF_ST_VISIBILITY
-#define ELF64_ST_OTHER ELF_ST_OTHER
#define STN_UNDEF 0 /* undefined symbol index */