diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-10-21 19:22:42 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-10-21 19:22:42 +0000 |
commit | 3bca03362f49605507a672b0a7bcadd4cab8aae6 (patch) | |
tree | 9c132940a94aad0d4ccfb1bc3b8ad41c49e0ee4f /bfd/hppa_stubs.h | |
parent | 37e6f1d0e4863eb85c5c6398982bff89a1782e38 (diff) | |
download | gdb-3bca03362f49605507a672b0a7bcadd4cab8aae6.zip gdb-3bca03362f49605507a672b0a7bcadd4cab8aae6.tar.gz gdb-3bca03362f49605507a672b0a7bcadd4cab8aae6.tar.bz2 |
elfcode.h (FILE_ALIGN_: Renamed from EALIGN, to avoid conflict with Ultrix
header files.
Also, lots of changes for PA elf and som support from Utah; see ChangeLog
for details.
Diffstat (limited to 'bfd/hppa_stubs.h')
-rw-r--r-- | bfd/hppa_stubs.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/bfd/hppa_stubs.h b/bfd/hppa_stubs.h index 2e4111d..4b58694 100644 --- a/bfd/hppa_stubs.h +++ b/bfd/hppa_stubs.h @@ -1,8 +1,8 @@ /* HPPA linker stub instructions */ -#define STUB_MAX_SIZE (sizeof(int) * 20) /* maximum size of a single stub routine */ -#define STUB_BUFFER_INCR (STUB_MAX_SIZE * 20) /* when realloc'ing, use this size */ -#define STUB_RELOC_INCR 20 /* when realloc'ing, use this size */ +#define STUB_MAX_SIZE (sizeof(int) * 20) /* maximum size of a single stub routine */ +#define STUB_BUFFER_INCR (STUB_MAX_SIZE * 20) /* when realloc'ing, use this size */ +#define STUB_RELOC_INCR 20 /* when realloc'ing, use this size */ #define ADDI_8_SP 0xb7de0010 /* addi 8,sp,sp */ #define STW_RP_M8SP 0x6bc23ff1 /* stw rp,-8(sp) */ @@ -57,8 +57,10 @@ #define FLDWS_MB_M8SP_FARG3 0x27d13027 /* fldws,mb -8(sp),farg3 */ #define BL_XXX_RP 0xe8400000 /* bl 0,rp */ #define NOP 0x08000240 /* nop */ +#define STW_RP_M24SP 0x6bc23fd1 /* stw rp,-24(sr0,sp) */ #define STW_31_M24SP 0x6bdf3fd1 /* stw r31,-24(sr0,sp) */ #define LDW_M24SP_RP 0x4bc23fd1 /* ldw -24(sr0,sp),rp */ +#define LDW_M24SP_31 0x4bdf3fd1 /* ldw -24(sr0,sp),r31 */ #define BE_XXX_0_0 0xe0000000 /* be 0(sr0,0) */ #define BE_N_XXX_0_0 0xe0000002 /* be,n 0(sr0,0) */ #define BLE_XXX_0_0 0xe4000000 /* ble 0(sr0,0) */ @@ -66,17 +68,25 @@ #define BLE_N_XXX_0_31 0xe7e00002 /* ble,n 0(sr0,r31) */ #define BLE_XXX_0_31 0xe7e00000 /* ble 0(sr0,r31) */ #define BE_N_XXX_0_31 0xe3e00002 /* be,n 0(sr0,r31) */ +#define BE_XXX_0_31 0xe3e00000 /* be 0(sr0,r31) */ #define BE_N_XXX_0_RP 0xe0400002 /* be,n 0(sr0,rp) */ #define BE_XXX_0_RP 0xe0400000 /* be 0(sr0,rp) */ #define BLE_XXX_0_RP 0xe4400000 /* ble 0(sr0,rp) */ #define COPY_31_2 0x081f0242 /* copy r31,r2 */ +#define COPY_31_1 0x081f0241 /* copy r31,r1 */ +#define COPY_1_31 0x0801025f /* copy r1,r31 */ #define LDIL_XXX_31 0x23e00000 /* ldil 0,r31 */ #define LDIL_XXX_RP 0x20400000 /* ldil 0,rp */ #define LDO_0_26_26 0x375a0000 /* ldo 0(r26),r26 */ +#define LDSID_31_1 0x03e010a1 /* ldsid (r31),r1 */ #define LDSID_31_RP 0x03e010a2 /* ldsid (r31),rp */ +#define LDSID_31_31 0x03e010bf /* ldsid (r31),r31 */ #define MTSP_RP_SR0 0x00021820 /* mtsp rp,sr0 */ +#define MTSP_1_SR0 0x00011820 /* mtsp r1,sr0 */ +#define MTSP_31_SR0 0x001f1820 /* mtsp r31,sr0 */ #define LDO_0_26_26 0x375a0000 /* ldo 0(r26),r26 */ #define ADDI_M8_SP 0xb7de07f1 /* addi -8,sp,sp */ #define LDW_M8SP_RP 0x4bc23ff1 /* ldw -8(sp),rp */ -#define BV_N_0RP 0xe840c002 /* bv,n 0(rp) */ +#define BV_N_0_RP 0xe840c002 /* bv,n 0(rp) */ #define BV_N_0_26 0xeb40c002 /* bv,n 0(r26) */ +#define BV_N_0_31 0xebe0c002 /* bv,n 0(r31) */ |