aboutsummaryrefslogtreecommitdiff
path: root/include
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
commitca47b30c873c5b07e3c3b1a4be34d9618ce5d7fe (patch)
tree09fe21223e746af798da9bb8b59718ee280acce4 /include
parent14e0eb3bb92db46bca37430fa8e6bb012a0f5a22 (diff)
downloadgdb-ca47b30c873c5b07e3c3b1a4be34d9618ce5d7fe.zip
gdb-ca47b30c873c5b07e3c3b1a4be34d9618ce5d7fe.tar.gz
gdb-ca47b30c873c5b07e3c3b1a4be34d9618ce5d7fe.tar.bz2
Remove use of ELF_ST_OTHER.
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog6
-rw-r--r--include/elf/common.h5
2 files changed, 8 insertions, 3 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 04b38e1..54df0cf 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,9 @@
+2000-02-22 Nick Clifton <nickc@cygnus.com>
+
+ * common.h (ELF_ST_OTHER): Remove definition.
+ (ELF32_ST_OTHER): Remove definition.
+ (ELF64_ST_OTHER): Remove definition.
+
2000-02-22 H.J. Lu <hjl@gnu.org>
* common.h (ELFOSABI_LINUX): Define.
diff --git a/include/elf/common.h b/include/elf/common.h
index 74fd7b2..0ff2d8d 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 */