| 1 | /* i370 ELF support for BFD. |
| 2 | Copyright (C) 2000 Free Software Foundation, Inc. |
| 3 | |
| 4 | This file is part of BFD, the Binary File Descriptor library. |
| 5 | |
| 6 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 2 of the License, or |
| 9 | (at your option) any later version. |
| 10 | |
| 11 | This program is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | GNU General Public License for more details. |
| 15 | |
| 16 | You should have received a copy of the GNU General Public License |
| 17 | along with this program; if not, write to the Free Software |
| 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
| 19 | |
| 20 | /* This file holds definitions specific to the i370 ELF ABI. Note |
| 21 | that most of this is not actually implemented by BFD. */ |
| 22 | |
| 23 | #ifndef _ELF_I370_H |
| 24 | #define _ELF_I370_H |
| 25 | |
| 26 | /* Processor specific section headers, sh_type field */ |
| 27 | |
| 28 | #define SHT_ORDERED SHT_HIPROC /* Link editor is to sort the \ |
| 29 | entries in this section \ |
| 30 | based on the address \ |
| 31 | specified in the associated \ |
| 32 | symbol table entry. */ |
| 33 | |
| 34 | #define EF_I370_RELOCATABLE 0x00010000 /* i370 -mrelocatable flag */ |
| 35 | #define EF_I370_RELOCATABLE_LIB 0x00008000 /* i370 -mrelocatable-lib flag */ |
| 36 | /* Processor specific section flags, sh_flags field */ |
| 37 | |
| 38 | #define SHF_EXCLUDE 0x80000000 /* Link editor is to exclude \ |
| 39 | this section from executable \ |
| 40 | and shared objects that it \ |
| 41 | builds when those objects \ |
| 42 | are not to be furhter \ |
| 43 | relocated. */ |
| 44 | #endif /* _ELF_I370_H */ |
| 45 | |
| 46 | |