OLD | NEW |
1 /* PPC ELF support for BFD. | 1 /* PPC ELF support for BFD. |
2 Copyright 1995, 1996, 1998, 2000, 2001, 2002, 2003, 2005, 2007, 2008, | 2 Copyright 1995, 1996, 1998, 2000, 2001, 2002, 2003, 2005, 2007, 2008, |
3 2009 Free Software Foundation, Inc. | 3 2009 Free Software Foundation, Inc. |
4 | 4 |
5 By Michael Meissner, Cygnus Support, <meissner@cygnus.com>, from information | 5 By Michael Meissner, Cygnus Support, <meissner@cygnus.com>, from information |
6 in the System V Application Binary Interface, PowerPC Processor Supplement | 6 in the System V Application Binary Interface, PowerPC Processor Supplement |
7 and the PowerPC Embedded Application Binary Interface (eabi). | 7 and the PowerPC Embedded Application Binary Interface (eabi). |
8 | 8 |
9 This file is part of BFD, the Binary File Descriptor library. | 9 This file is part of BFD, the Binary File Descriptor library. |
10 | 10 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 RELOC_NUMBER (R_PPC_PLT16_HA, 31) | 66 RELOC_NUMBER (R_PPC_PLT16_HA, 31) |
67 RELOC_NUMBER (R_PPC_SDAREL16, 32) | 67 RELOC_NUMBER (R_PPC_SDAREL16, 32) |
68 RELOC_NUMBER (R_PPC_SECTOFF, 33) | 68 RELOC_NUMBER (R_PPC_SECTOFF, 33) |
69 RELOC_NUMBER (R_PPC_SECTOFF_LO, 34) | 69 RELOC_NUMBER (R_PPC_SECTOFF_LO, 34) |
70 RELOC_NUMBER (R_PPC_SECTOFF_HI, 35) | 70 RELOC_NUMBER (R_PPC_SECTOFF_HI, 35) |
71 RELOC_NUMBER (R_PPC_SECTOFF_HA, 36) | 71 RELOC_NUMBER (R_PPC_SECTOFF_HA, 36) |
72 RELOC_NUMBER (R_PPC_ADDR30, 37) | 72 RELOC_NUMBER (R_PPC_ADDR30, 37) |
73 | 73 |
74 #ifndef RELOC_MACROS_GEN_FUNC | 74 #ifndef RELOC_MACROS_GEN_FUNC |
75 /* Fake relocations for branch stubs, only used internally by ld. */ | 75 /* Fake relocations for branch stubs, only used internally by ld. */ |
76 RELOC_NUMBER (R_PPC_RELAX32,» » 48) | 76 RELOC_NUMBER (R_PPC_RELAX,» » 48) |
77 RELOC_NUMBER (R_PPC_RELAX32PC,» 49) | 77 RELOC_NUMBER (R_PPC_RELAX_PLT,» 49) |
78 RELOC_NUMBER (R_PPC_RELAX32_PLT,» 50) | 78 RELOC_NUMBER (R_PPC_RELAX_PLTREL24,» 50) |
79 RELOC_NUMBER (R_PPC_RELAX32PC_PLT,» 51) | |
80 #endif | 79 #endif |
81 | 80 |
82 /* Relocs added to support TLS. */ | 81 /* Relocs added to support TLS. */ |
83 RELOC_NUMBER (R_PPC_TLS, 67) | 82 RELOC_NUMBER (R_PPC_TLS, 67) |
84 RELOC_NUMBER (R_PPC_DTPMOD32, 68) | 83 RELOC_NUMBER (R_PPC_DTPMOD32, 68) |
85 RELOC_NUMBER (R_PPC_TPREL16, 69) | 84 RELOC_NUMBER (R_PPC_TPREL16, 69) |
86 RELOC_NUMBER (R_PPC_TPREL16_LO, 70) | 85 RELOC_NUMBER (R_PPC_TPREL16_LO, 70) |
87 RELOC_NUMBER (R_PPC_TPREL16_HI, 71) | 86 RELOC_NUMBER (R_PPC_TPREL16_HI, 71) |
88 RELOC_NUMBER (R_PPC_TPREL16_HA, 72) | 87 RELOC_NUMBER (R_PPC_TPREL16_HA, 72) |
89 RELOC_NUMBER (R_PPC_TPREL32, 73) | 88 RELOC_NUMBER (R_PPC_TPREL32, 73) |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 ABIs affected by the differences. */ | 196 ABIs affected by the differences. */ |
198 Tag_GNU_Power_ABI_Vector = 8, | 197 Tag_GNU_Power_ABI_Vector = 8, |
199 | 198 |
200 /* Value 1 for ABIs using r3/r4 for returning structures <= 8 bytes, | 199 /* Value 1 for ABIs using r3/r4 for returning structures <= 8 bytes, |
201 2 for ABIs using memory; 0 for not tagged or not using any ABIs | 200 2 for ABIs using memory; 0 for not tagged or not using any ABIs |
202 affected by the differences. */ | 201 affected by the differences. */ |
203 Tag_GNU_Power_ABI_Struct_Return = 12 | 202 Tag_GNU_Power_ABI_Struct_Return = 12 |
204 }; | 203 }; |
205 | 204 |
206 #endif /* _ELF_PPC_H */ | 205 #endif /* _ELF_PPC_H */ |
OLD | NEW |