* config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 4bf98737ce286aa0e9846db5d6362f3769ba1fe8..95ef09245d52656f49873ed553bf6f8c5f055e1a 100644 (file)
@@ -1,3 +1,17 @@
+2002-08-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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.
+
 2002-08-06  George France <france@handhelds.org>
 
        * config/tc-alpha.c (cpu_types): Enabled ev67, ev68,  -m21264a
This page took 0.033356 seconds and 4 git commands to generate.