1 /* MIPS PPC support for BFD.
2 Copyright (C) 1995 Free Software Foundation, Inc.
5 in the System V Application Binary Interface, PowerPC Processor Supplement
6 and the PowerPC Embedded Application Binary Interface (eabi).
8 This file is part of BFD, the Binary File Descriptor library.
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.
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.
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
22 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
24 /* This file holds definitions specific to the PPC ELF ABI. Note
25 that most of this is not actually implemented by BFD. */
30 /* Processor specific flags for the ELF header e_flags field. */
32 #define EF_PPC_EMB 0x80000000 /* PowerPC embedded flag */
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 */
38 /* Processor specific section headers, sh_type field */
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. */
46 /* Processor specific section flags, sh_flags field */
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 \
54 #endif /* _ELF_PPC_H */