This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src/gas/testsuite/gas/i386 gotpc.d gotpc.s
- From: jakub at sources dot redhat dot com
- To: binutils-cvs at sources dot redhat dot com
- Date: 9 Aug 2002 00:10:19 -0000
- Subject: src/gas/testsuite/gas/i386 gotpc.d gotpc.s
CVSROOT: /cvs/src
Module name: src
Changes by: jakub@sources.redhat.com 2002-08-08 17:10:19
Added files:
gas/testsuite/gas/i386: gotpc.d gotpc.s
Log message:
* config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
at start of insn, pass it to output_disp and output_imm.
(output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen
in displacement for R_386_32 reloc, use R_386_GOTPC and compute
properly addend.
(output_imm): Added arguments. Compute properly addend for
R_386_GOTPC.
(md_apply_fix3): Remove R_386_GOTPC handling.
* testsuite/gas/i386/gotpc.s: New.
* testsuite/gas/i386/gotpc.d: New.
* testsuite/gas/i386/i386.exp: Add gotpc test.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/gotpc.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/gotpc.s.diff?cvsroot=src&r1=NONE&r2=1.1