OSDN Git Service

Cope with PE relocs.
authorAlan Modra <amodra@bigpond.net.au>
Tue, 25 Apr 2000 07:19:46 +0000 (07:19 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 25 Apr 2000 07:19:46 +0000 (07:19 +0000)
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/general.l
gas/testsuite/gas/i386/jump.d

index cfdf8e4..5a9bae3 100644 (file)
@@ -1,3 +1,8 @@
+2000-04-25  Alan Modra  <alan@linuxcare.com.au>
+
+       * gas/i386/general.l: Allow for DISP32 pe relocs.
+       * gas/i386/jump.d: Similarly.
+
 Mon Apr 24 16:35:08 2000  Jim Wilson  <wilson@cygnus.com>
 
        * gas/ia64/opc-i.d: Change pmin2.u to pmin2.  Change pmax2.u to pmax2.
index 9ea9fc3..51bbdf7 100644 (file)
@@ -39,7 +39,7 @@
    2                           .text
    3                           #test jumps and calls
    4 0000 EBFE                 1:      jmp     1b
-   5 0002 E9F(CF|9F)FFF FF                     jmp     xxx
+   5 0002 E9((FC|F9)FFFF FF|000000 00)                 jmp     xxx
    6 0007 FF250000 0000                jmp     \*xxx
    7 000d FF250000 0000                jmp     xxx\(,1\)
 .*Warning:.*
@@ -58,7 +58,7 @@
   16 0035 EA000000 003412              ljmp    \$0x1234,\$xxx
   17                           
   18 003c E8BFFFFF FF                  call    1b
-  19 0041 E8(FC|BA)FFFF FF                     call    xxx
+  19 0041 E8((FC|BA)FFFF FF|000000 00)                 call    xxx
   20 0046 FF150000 0000                call    \*xxx
   21 004c FF150000 0000                call    xxx\(,1\)
 .*Warning:.*
index 5e9fe4b..cddd4a3 100644 (file)
@@ -7,7 +7,7 @@ Disassembly of section .text:
 
 0+000 <.text>:
    0:  eb fe [         ]*jmp    (0x0|0 <.text>)
-   2:  e9 (fc|f9) ff ff ff [   ]*jmp    (0x3|0x0|0 <.text>)    3: (R_386_PC)?(DISP)?32 xxx
+   2:  e9 ((fc|f9) ff ff ff|00 00 00 00) [     ]*jmp    (0x)?(0|3|7)( <.text(\+0x7)?>)?        3: (R_386_PC)?(DISP)?32 xxx
    7:  ff 25 00 00 00 00 [     ]*jmp    \*0x0  9: (R_386_)?(dir)?32    xxx
    d:  ff e7 [         ]*jmp    \*%edi
    f:  ff 27 [         ]*jmp    \*\(%edi\)
@@ -15,7 +15,7 @@ Disassembly of section .text:
   18:  ff 2d 00 00 00 00 [     ]*ljmp   \*0x0  1a: (R_386_)?(dir)?32   xxx
   1e:  ea 00 00 00 00 34 12 [  ]*ljmp   \$0x1234,\$0x0 1f: (R_386_)?(dir)?32   xxx
   25:  e8 d6 ff ff ff [        ]*call   (0x0|0 <.text>)
-  2a:  e8 (fc|d1) ff ff ff [   ]*call   (0x2b|0x0|0 <.text>)   2b: (R_386_PC)?(DISP)?32        xxx
+  2a:  e8 ((fc|d1) ff ff ff|00 00 00 00) [     ]*call   (0x)?(0|2b|2f)( <.text(\+0x2f)?>)?     2b: (R_386_PC)?(DISP)?32        xxx
   2f:  ff 15 00 00 00 00 [     ]*call   \*0x0  31: (R_386_)?(dir)?32   xxx
   35:  ff d7 [         ]*call   \*%edi
   37:  ff 17 [         ]*call   \*\(%edi\)