This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
gas ./ChangeLog config/tc-mips.c config/tc-mips.h
- From: aoliva at sources dot redhat dot com
- To: binutils-cvs at sources dot redhat dot com
- Date: 11 Apr 2003 01:56:50 -0000
- Subject: gas ./ChangeLog config/tc-mips.c config/tc-mips.h
CVSROOT: /cvs/uberbaum
Module name: gas
Changes by: aoliva at sourceware dot org 2003-04-11 01:56:50
Modified files:
. : ChangeLog
config : tc-mips.c tc-mips.h
Log message:
* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
* config/tc-mips.c: Use signed add for n32 address arithmetic.
(append_insn): When filling delay slots with instructions
that have fixups that tc_gen_reloc might consider modifyable
in variant frags, start a new frag.
(load_address): Generate GOT_DISP with of without offset
depending on whether symbol is local. For -xgot, use
GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
(macro) <M_DLA_AB, M_LA_AB>: Likewise.
<M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
<ld_st>: In NewABI with small got, always use
GOT_PAGE/GOT_OFST, with the latter in the load/store
instruction. With big got, use GOT_HI16/GOT_LO16 or
GOT_PAGE/GOT_OFST.
(tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
(md_convert_frag): Use memmove for safe copying of overlapping
regions.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/gas/ChangeLog.diff?cvsroot=uberbaum&r1=1.1705&r2=1.1706
http://sources.redhat.com/cgi-bin/cvsweb.cgi/gas/config/tc-mips.c.diff?cvsroot=uberbaum&r1=1.202&r2=1.203
http://sources.redhat.com/cgi-bin/cvsweb.cgi/gas/config/tc-mips.h.diff?cvsroot=uberbaum&r1=1.24&r2=1.25