i370.h revision 68673
1121982Sjhb/* i370 ELF support for BFD.
2121982Sjhb   Copyright (C) 1995, 2000 Free Software Foundation, Inc.
3121982Sjhb
4121982SjhbThis file is part of BFD, the Binary File Descriptor library.
5121982Sjhb
6121982SjhbThis program is free software; you can redistribute it and/or modify
7121982Sjhbit under the terms of the GNU General Public License as published by
8121982Sjhbthe Free Software Foundation; either version 2 of the License, or
9121982Sjhb(at your option) any later version.
10121982Sjhb
11121982SjhbThis program is distributed in the hope that it will be useful,
12121982Sjhbbut WITHOUT ANY WARRANTY; without even the implied warranty of
13121982SjhbMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14121982SjhbGNU General Public License for more details.
15121982Sjhb
16121982SjhbYou should have received a copy of the GNU General Public License
17121982Sjhbalong with this program; if not, write to the Free Software
18121982SjhbFoundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
19121982Sjhb
20121982Sjhb/* This file holds definitions specific to the i370 ELF ABI.  Note
21121982Sjhb   that most of this is not actually implemented by BFD.  */
22121982Sjhb
23121982Sjhb#ifndef _ELF_I370_H
24121982Sjhb#define _ELF_I370_H
25121982Sjhb
26121982Sjhb/* Processor specific section headers, sh_type field */
27121982Sjhb
28121982Sjhb#define SHT_ORDERED		SHT_HIPROC	/* Link editor is to sort the \
29121982Sjhb						   entries in this section \
30121982Sjhb						   based on the address \
31121982Sjhb						   specified in the associated \
32121982Sjhb						   symbol table entry.  */
33121982Sjhb
34151979Sjhb#define	EF_I370_RELOCATABLE	0x00010000	/* i370 -mrelocatable flag */
35151979Sjhb#define	EF_I370_RELOCATABLE_LIB	0x00008000	/* i370 -mrelocatable-lib flag */
36151979Sjhb/* Processor specific section flags, sh_flags field */
37151979Sjhb
38151979Sjhb#define SHF_EXCLUDE		0x80000000	/* Link editor is to exclude \
39151979Sjhb						   this section from executable \
40151979Sjhb						   and shared objects that it \
41151979Sjhb						   builds when those objects \
42151979Sjhb						   are not to be furhter \
43151979Sjhb						   relocated.  */
44151979Sjhb#endif /* _ELF_I370_H */
45151979Sjhb
46151979Sjhb
47151979Sjhb