Add new st_other bits; Remove v850 section indexes

This commit is contained in:
Michael Meissner 1997-01-03 16:34:28 +00:00
parent 731828cb8b
commit 3b20886e53
2 changed files with 10 additions and 11 deletions

View File

@ -1,4 +1,11 @@
start-sanitize-v850
Fri Jan 3 11:32:51 1997 Michael Meissner <meissner@tiktok.cygnus.com>
* v850.h (V850_OTHER_{TDA_BYTE,ERROR}): New bits for the st_other
field.
(SHN_V850_*): Remove v850 specific section indexes, which are not
needed.
Thu Jan 2 19:30:23 1997 Michael Meissner <meissner@tiktok.cygnus.com>
* v850.h: New file, provide V850 specific definitions.

View File

@ -24,19 +24,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef _ELF_V850_H
#define _ELF_V850_H
/* Flags for the other field */
/* Flags for the st_other field */
#define V850_OTHER_SDA 0x01 /* symbol had SDA relocations */
#define V850_OTHER_ZDA 0x02 /* symbol had ZDA relocations */
#define V850_OTHER_TDA 0x04 /* symbol had TDA relocations */
/* Processor specific section indices. These sections do not actually
exist. Symbols with a st_shndx field corresponding to one of these
values have a special meaning. */
/* Defined and allocated common symbol. Value is virtual address. If
relocated, alignment must be preserved. */
#define SHN_V850_SCOMMON 0xff00 /* common referenced by sdaoff(label)[gp] */
#define SHN_V850_ZCOMMON 0xff01 /* common referenced by zdaoff(label)[r0] */
#define SHN_V850_TCOMMON 0xff02 /* common referenced by tdaoff(label)[ep] */
#define V850_OTHER_TDA_BYTE 0x08 /* symbol had TDA byte relocations */
#define V850_OTHER_ERROR 0x80 /* symbol had an error reported */
#endif /* _ELF_V850_H */