Cope with PE relocs.

This commit is contained in:
Alan Modra 2000-04-25 07:19:46 +00:00
parent 244bc1085b
commit ee68970f7e
3 changed files with 9 additions and 4 deletions

View 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.

View 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:.*

View 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\)