Ticket #454: ppc-elf-relocs.patch
File ppc-elf-relocs.patch, 0.6 KB (added by wiml, 13 years ago) |
---|
-
src/exec_save.c
150 150 # include <elf.h> 151 151 # endif 152 152 153 # ifdef PARROT_PPC 154 /* A few systems' elf.h (such as netbsd) use slightly different names for these relocs */ 155 # if !defined(R_PPC_ADDR16_HI) && !defined(R_PPC_ADDR16_LO) && defined(R_PPC_16_HI) && defined(R_PPC_16_LO) 156 # define R_PPC_ADDR16_HI R_PPC_16_HI 157 # define R_PPC_ADDR16_LO R_PPC_16_LO 158 # endif 159 # endif /* PARROT_PPC */ 160 153 161 /* Add a section to the file 154 162 * 155 163 * n = Name