1f7cc78ecSespie /* picoJava ELF support for BFD. 2*5f210c2aSfgsch Copyright 1999, 2000 Free Software Foundation, Inc. 3f7cc78ecSespie 4f7cc78ecSespie This file is part of BFD, the Binary File Descriptor library. 5f7cc78ecSespie 6f7cc78ecSespie This program is free software; you can redistribute it and/or modify 7f7cc78ecSespie it under the terms of the GNU General Public License as published by 8f7cc78ecSespie the Free Software Foundation; either version 2 of the License, or 9f7cc78ecSespie (at your option) any later version. 10f7cc78ecSespie 11f7cc78ecSespie This program is distributed in the hope that it will be useful, 12f7cc78ecSespie but WITHOUT ANY WARRANTY; without even the implied warranty of 13f7cc78ecSespie MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14f7cc78ecSespie GNU General Public License for more details. 15f7cc78ecSespie 16f7cc78ecSespie You should have received a copy of the GNU General Public License 17f7cc78ecSespie along with this program; if not, write to the Free Software Foundation, 18f7cc78ecSespie Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 19f7cc78ecSespie 20f7cc78ecSespie #ifndef _ELF_PJ_H 21f7cc78ecSespie #define _ELF_PJ_H 22f7cc78ecSespie 23f7cc78ecSespie #include "elf/reloc-macros.h" 24f7cc78ecSespie 25f7cc78ecSespie /* Relocations. */ 26f7cc78ecSespie 27f7cc78ecSespie START_RELOC_NUMBERS (elf_pj_reloc_type) 28f7cc78ecSespie RELOC_NUMBER (R_PJ_NONE, 0) 29f7cc78ecSespie RELOC_NUMBER (R_PJ_DATA_DIR32, 1) 30f7cc78ecSespie RELOC_NUMBER (R_PJ_CODE_REL32, 2) 31f7cc78ecSespie RELOC_NUMBER (R_PJ_CODE_REL16, 3) 32f7cc78ecSespie RELOC_NUMBER (R_PJ_CODE_DIR32, 6) 33f7cc78ecSespie RELOC_NUMBER (R_PJ_CODE_DIR16, 7) 34f7cc78ecSespie RELOC_NUMBER (R_PJ_CODE_LO16, 13) 35f7cc78ecSespie RELOC_NUMBER (R_PJ_CODE_HI16, 14) 36f7cc78ecSespie RELOC_NUMBER (R_PJ_GNU_VTINHERIT, 15) 37f7cc78ecSespie RELOC_NUMBER (R_PJ_GNU_VTENTRY, 16) 38*5f210c2aSfgsch END_RELOC_NUMBERS (R_PJ_max) 39f7cc78ecSespie 40f7cc78ecSespie #define EF_PICOJAVA_ARCH 0x0000000f 41f7cc78ecSespie #define EF_PICOJAVA_NEWCALLS 0x00000010 42f7cc78ecSespie #define EF_PICOJAVA_GNUCALLS 0x00000020 /* The (currently) non standard GNU calling convention */ 43f7cc78ecSespie 44f7cc78ecSespie #endif 45