Remove use of ELF_ST_OTHER.

This commit is contained in:
Nick Clifton 2000-02-22 19:56:40 +00:00
parent cd641b2d55
commit 2c98de9ffa
2 changed files with 8 additions and 3 deletions

View File

@ -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> 2000-02-22 H.J. Lu <hjl@gnu.org>
* common.h (ELFOSABI_LINUX): Define. * common.h (ELFOSABI_LINUX): Define.

View File

@ -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. */ the st_other field. The STV_ defines specificy the actual visibility. */
#define ELF_ST_VISIBILITY(v) ((v) & 0x3) #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_VISIBILITY ELF_ST_VISIBILITY
#define ELF32_ST_OTHER ELF_ST_OTHER
#define ELF64_ST_VISIBILITY ELF_ST_VISIBILITY #define ELF64_ST_VISIBILITY ELF_ST_VISIBILITY
#define ELF64_ST_OTHER ELF_ST_OTHER
#define STN_UNDEF 0 /* undefined symbol index */ #define STN_UNDEF 0 /* undefined symbol index */