Commit | Line | Data |
---|---|---|
b14e6182 MM |
1 | /* MIPS PPC support for BFD. |
2 | Copyright (C) 1995 Free Software Foundation, Inc. | |
3 | ||
4 | By Michael Meissner, Cygnus Support, <meissner@cygnus.com>, from information | |
5 | in the System V Application Binary Interface, PowerPC Processor Supplement | |
796ee68b | 6 | and the PowerPC Embedded Application Binary Interface (eabi). |
b14e6182 MM |
7 | |
8 | This file is part of BFD, the Binary File Descriptor library. | |
9 | ||
10 | This program is free software; you can redistribute it and/or modify | |
11 | it under the terms of the GNU General Public License as published by | |
12 | the Free Software Foundation; either version 2 of the License, or | |
13 | (at your option) any later version. | |
14 | ||
15 | This program is distributed in the hope that it will be useful, | |
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 | GNU General Public License for more details. | |
19 | ||
20 | You should have received a copy of the GNU General Public License | |
21 | along with this program; if not, write to the Free Software | |
533ed48e | 22 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
b14e6182 MM |
23 | |
24 | /* This file holds definitions specific to the PPC ELF ABI. Note | |
25 | that most of this is not actually implemented by BFD. */ | |
26 | ||
533ed48e MM |
27 | #ifndef _ELF_PPC_H |
28 | #define _ELF_PPC_H | |
29 | ||
b14e6182 MM |
30 | /* Processor specific flags for the ELF header e_flags field. */ |
31 | ||
32 | #define EF_PPC_EMB 0x80000000 /* PowerPC embedded flag */ | |
533ed48e MM |
33 | |
34 | /* CYGNUS local bits below */ | |
35 | #define EF_PPC_RELOCATABLE 0x00010000 /* PowerPC -mrelocatable flag */ | |
36 | #define EF_PPC_RELOCATABLE_LIB 0x00008000 /* PowerPC -mrelocatable-lib flag */ | |
37 | ||
38 | /* Processor specific section headers, sh_type field */ | |
39 | ||
40 | #define SHT_ORDERED SHT_HIPROC /* Link editor is to sort the \ | |
41 | entries in this section \ | |
42 | based on the address \ | |
43 | specified in the associated \ | |
44 | symbol table entry. */ | |
45 | ||
46 | /* Processor specific section flags, sh_flags field */ | |
47 | ||
48 | #define SHF_EXCLUDE 0x80000000 /* Link editor is to exclude \ | |
49 | this section from executable \ | |
50 | and shared objects that it \ | |
51 | builds when those objects \ | |
52 | are not to be furhter \ | |
53 | relocated. */ | |
54 | #endif /* _ELF_PPC_H */ |