aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-utils.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-11-01 23:27:05 +0000
committerIan Lance Taylor <ian@airs.com>1993-11-01 23:27:05 +0000
commitbca9cf0b9e657debc996f07b4d12c7b5ce70a5a3 (patch)
treece45b2546aaee499695e20578fa0dd5a4a667039 /gdb/remote-utils.c
parent5e0a166c8d2ceadcc0fe69b4163b40ee821e56c2 (diff)
downloadbinutils-bca9cf0b9e657debc996f07b4d12c7b5ce70a5a3.zip
binutils-bca9cf0b9e657debc996f07b4d12c7b5ce70a5a3.tar.gz
binutils-bca9cf0b9e657debc996f07b4d12c7b5ce70a5a3.tar.bz2
* config/tc-mips.c (PIC_CALL_REG, SP, FP): Define.
(mips_pic, mips_cprestore_offset): New static variables. (md_pseudo_table): Handle .abicalls, .cpload, and .cprestore. Ignore .bgnb and .endb. (gp_reference): _gp_disp is never addressed off GP. (macro_build): Ignore macros while searching for insn. For cases i, j, and o, accept the reloc type as an argument rather than assuming BFD_RELOC_LO16. Don't try to convert BFD_RELOC_LO16 to BFD_RELOC_MIPS_GPREL. Added new case a. (set_at, load_register, macro): Changed calls to macro_build to pass new argument for i, j and o cases. (macro): Handle M_JAL_1, M_JAL_2 and M_JAL_A. These require special handling when generating SVR4 PIC code. (mips_ip, tc_get_register, s_frame): Use macros FP, SP, GP and AT rather than hard coded constants. (md_apply_fix): Handle BFD_RELOC_MIPS_LITERAL and BFD_RELOC_MIPS_CALL16. (s_option): Set mips_pic based on .option picN. (s_abicalls): New function; set mips_pic to 2. (s_cpload): New function; handle .cpload. (s_cprestore): New function; handle .cprestore. * config/obj-ecoff.c (obj_pseudo_table): Add entries for .bgnb, .endb and .verstamp, setting them to s_ignore.
Diffstat (limited to 'gdb/remote-utils.c')
0 files changed, 0 insertions, 0 deletions