x86: Updated align branch tests for Darwin and i686-pc-elf
authorLili Cui <lili.cui@intel.com>
Tue, 14 Jan 2020 16:59:37 +0000 (08:59 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Jan 2020 16:59:37 +0000 (08:59 -0800)
1. Update align branch assembler tests to match Darwin disassembler
outputs.
2. Skip unsupported "call *foo" tests in 64-bit mode on Darwin.
3. Update align branch linker test to match any addresses for i686-pc-elf.

gas/

* testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
* testsuite/gas/i386/align-branch-1b.d: Likewise.
* testsuite/gas/i386/align-branch-1c.d: Likewise.
* testsuite/gas/i386/align-branch-1d.d: Likewise.
* testsuite/gas/i386/align-branch-1e.d: Likewise.
* testsuite/gas/i386/align-branch-1f.d: Likewise.
* testsuite/gas/i386/align-branch-1g.d: Likewise.
* testsuite/gas/i386/align-branch-1h.d: Likewise.
* testsuite/gas/i386/align-branch-1i.d: Likewise.
* testsuite/gas/i386/align-branch-5.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
* testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.

ld/

* testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.

24 files changed:
gas/ChangeLog
gas/testsuite/gas/i386/align-branch-1a.d
gas/testsuite/gas/i386/align-branch-1b.d
gas/testsuite/gas/i386/align-branch-1c.d
gas/testsuite/gas/i386/align-branch-1d.d
gas/testsuite/gas/i386/align-branch-1e.d
gas/testsuite/gas/i386/align-branch-1f.d
gas/testsuite/gas/i386/align-branch-1g.d
gas/testsuite/gas/i386/align-branch-1h.d
gas/testsuite/gas/i386/align-branch-1i.d
gas/testsuite/gas/i386/align-branch-5.d
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-align-branch-1a.d
gas/testsuite/gas/i386/x86-64-align-branch-1b.d
gas/testsuite/gas/i386/x86-64-align-branch-1c.d
gas/testsuite/gas/i386/x86-64-align-branch-1d.d
gas/testsuite/gas/i386/x86-64-align-branch-1e.d
gas/testsuite/gas/i386/x86-64-align-branch-1f.d
gas/testsuite/gas/i386/x86-64-align-branch-1g.d
gas/testsuite/gas/i386/x86-64-align-branch-1h.d
gas/testsuite/gas/i386/x86-64-align-branch-1i.d
gas/testsuite/gas/i386/x86-64-align-branch-5.d
ld/ChangeLog
ld/testsuite/ld-i386/align-branch-1.d

index 07cb331d084f6e272c260286fec33a893b9e1bd3..fd6722081d881be8aff9af2e9e65091a023ca54b 100644 (file)
@@ -1,3 +1,28 @@
+2020-01-14  Lili Cui <lili.cui@intel.com>
+
+       * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
+       * testsuite/gas/i386/align-branch-1b.d: Likewise.
+       * testsuite/gas/i386/align-branch-1c.d: Likewise.
+       * testsuite/gas/i386/align-branch-1d.d: Likewise.
+       * testsuite/gas/i386/align-branch-1e.d: Likewise.
+       * testsuite/gas/i386/align-branch-1f.d: Likewise.
+       * testsuite/gas/i386/align-branch-1g.d: Likewise.
+       * testsuite/gas/i386/align-branch-1h.d: Likewise.
+       * testsuite/gas/i386/align-branch-1i.d: Likewise.
+       * testsuite/gas/i386/align-branch-5.d: Likewise.
+       * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
+       * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
+       * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
+       * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
+       * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
+       * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
+       * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
+       * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
+       * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
+       * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
+       * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
+       x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
+
 2020-01-14  Sergey Belyashov  <sergey.belyashov@gmail.com>
 
        PR 25377
index 46b79216ecfee48542caaf984e04a25295f38697..89b05fdece33c500797b60129163806ae075de08 100644 (file)
@@ -20,7 +20,7 @@ Disassembly of section .text:
   1a:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   1d:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   20:  39 c5                   cmp    %eax,%ebp
-  22:  74 5e                   je     82 <foo\+0x82>
+  22:  74 5e                   je     (0x)?82( .*)?
   24:  3e 89 73 f4             mov    %esi,%ds:-0xc\(%ebx\)
   28:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   2b:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -32,9 +32,9 @@ Disassembly of section .text:
   3d:  5d                      pop    %ebp
   3e:  5d                      pop    %ebp
   3f:  5d                      pop    %ebp
-  40:  74 40                   je     82 <foo\+0x82>
+  40:  74 40                   je     (0x)?82( .*)?
   42:  5d                      pop    %ebp
-  43:  74 3d                   je     82 <foo\+0x82>
+  43:  74 3d                   je     (0x)?82( .*)?
   45:  36 89 44 24 fc          mov    %eax,%ss:-0x4\(%esp\)
   4a:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   4d:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -44,9 +44,9 @@ Disassembly of section .text:
   59:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5c:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5f:  5d                      pop    %ebp
-  60:  eb 26                   jmp    88 <foo\+0x88>
-  62:  eb 24                   jmp    88 <foo\+0x88>
-  64:  eb 22                   jmp    88 <foo\+0x88>
+  60:  eb 26                   jmp    (0x)?88( .*)?
+  62:  eb 24                   jmp    (0x)?88( .*)?
+  64:  eb 22                   jmp    (0x)?88( .*)?
   66:  89 45 fc                mov    %eax,-0x4\(%ebp\)
   69:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   6c:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -56,11 +56,13 @@ Disassembly of section .text:
   78:  5d                      pop    %ebp
   79:  5d                      pop    %ebp
   7a:  39 c5                   cmp    %eax,%ebp
-  7c:  74 04                   je     82 <foo\+0x82>
+  7c:  74 04                   je     (0x)?82( .*)?
   7e:  66 90                   xchg   %ax,%ax
-  80:  eb 06                   jmp    88 <foo\+0x88>
+  80:  eb 06                   jmp    (0x)?88( .*)?
+#...
   82:  8b 45 f4                mov    -0xc\(%ebp\),%eax
   85:  89 45 fc                mov    %eax,-0x4\(%ebp\)
+#...
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   94:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
@@ -72,6 +74,6 @@ Disassembly of section .text:
   b4:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   ba:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   c0:  89 75 00                mov    %esi,0x0\(%ebp\)
-  c3:  74 c3                   je     88 <foo\+0x88>
-  c5:  74 c1                   je     88 <foo\+0x88>
+  c3:  74 c3                   je     (0x)?88( .*)?
+  c5:  74 c1                   je     (0x)?88( .*)?
 #pass
index b3f0e727bc1eadb1509e12b17444b57fdc9f4fd8..1a993b5befa7b87168986f7c0802ec6b04025582 100644 (file)
@@ -20,7 +20,7 @@ Disassembly of section .text:
   1a:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   1d:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   20:  39 c5                   cmp    %eax,%ebp
-  22:  74 5e                   je     82 <foo\+0x82>
+  22:  74 5e                   je     (0x)?82( .*)?
   24:  3e 89 73 f4             mov    %esi,%ds:-0xc\(%ebx\)
   28:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   2b:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -32,9 +32,9 @@ Disassembly of section .text:
   3d:  5d                      pop    %ebp
   3e:  5d                      pop    %ebp
   3f:  5d                      pop    %ebp
-  40:  74 40                   je     82 <foo\+0x82>
+  40:  74 40                   je     (0x)?82( .*)?
   42:  5d                      pop    %ebp
-  43:  74 3d                   je     82 <foo\+0x82>
+  43:  74 3d                   je     (0x)?82( .*)?
   45:  36 89 44 24 fc          mov    %eax,%ss:-0x4\(%esp\)
   4a:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   4d:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -44,9 +44,9 @@ Disassembly of section .text:
   59:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5c:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5f:  5d                      pop    %ebp
-  60:  eb 26                   jmp    88 <foo\+0x88>
-  62:  eb 24                   jmp    88 <foo\+0x88>
-  64:  eb 22                   jmp    88 <foo\+0x88>
+  60:  eb 26                   jmp    (0x)?88( .*)?
+  62:  eb 24                   jmp    (0x)?88( .*)?
+  64:  eb 22                   jmp    (0x)?88( .*)?
   66:  89 45 fc                mov    %eax,-0x4\(%ebp\)
   69:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   6c:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -56,11 +56,13 @@ Disassembly of section .text:
   78:  5d                      pop    %ebp
   79:  5d                      pop    %ebp
   7a:  39 c5                   cmp    %eax,%ebp
-  7c:  74 04                   je     82 <foo\+0x82>
+  7c:  74 04                   je     (0x)?82( .*)?
   7e:  66 90                   xchg   %ax,%ax
-  80:  eb 06                   jmp    88 <foo\+0x88>
+  80:  eb 06                   jmp    (0x)?88( .*)?
+#...
   82:  8b 45 f4                mov    -0xc\(%ebp\),%eax
   85:  89 45 fc                mov    %eax,-0x4\(%ebp\)
+#...
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   94:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
@@ -72,6 +74,6 @@ Disassembly of section .text:
   b4:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   ba:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   c0:  89 75 00                mov    %esi,0x0\(%ebp\)
-  c3:  74 c3                   je     88 <foo\+0x88>
-  c5:  74 c1                   je     88 <foo\+0x88>
+  c3:  74 c3                   je     (0x)?88( .*)?
+  c5:  74 c1                   je     (0x)?88( .*)?
 #pass
index 947dcc878585c69cac43c1f448399ab950dcc4ba..0e421b16e22a92c97d9b20fadeb303ec2336501e 100644 (file)
@@ -20,7 +20,7 @@ Disassembly of section .text:
   1a:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   1d:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   20:  39 c5                   cmp    %eax,%ebp
-  22:  74 5e                   je     82 <foo\+0x82>
+  22:  74 5e                   je     (0x)?82( .*)?
   24:  3e 89 73 f4             mov    %esi,%ds:-0xc\(%ebx\)
   28:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   2b:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -32,9 +32,9 @@ Disassembly of section .text:
   3d:  5d                      pop    %ebp
   3e:  5d                      pop    %ebp
   3f:  5d                      pop    %ebp
-  40:  74 40                   je     82 <foo\+0x82>
+  40:  74 40                   je     (0x)?82( .*)?
   42:  5d                      pop    %ebp
-  43:  74 3d                   je     82 <foo\+0x82>
+  43:  74 3d                   je     (0x)?82( .*)?
   45:  36 89 44 24 fc          mov    %eax,%ss:-0x4\(%esp\)
   4a:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   4d:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -44,9 +44,9 @@ Disassembly of section .text:
   59:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5c:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5f:  5d                      pop    %ebp
-  60:  eb 26                   jmp    88 <foo\+0x88>
-  62:  eb 24                   jmp    88 <foo\+0x88>
-  64:  eb 22                   jmp    88 <foo\+0x88>
+  60:  eb 26                   jmp    (0x)?88( .*)?
+  62:  eb 24                   jmp    (0x)?88( .*)?
+  64:  eb 22                   jmp    (0x)?88( .*)?
   66:  89 45 fc                mov    %eax,-0x4\(%ebp\)
   69:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   6c:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -56,11 +56,13 @@ Disassembly of section .text:
   78:  5d                      pop    %ebp
   79:  5d                      pop    %ebp
   7a:  39 c5                   cmp    %eax,%ebp
-  7c:  74 04                   je     82 <foo\+0x82>
+  7c:  74 04                   je     (0x)?82( .*)?
   7e:  66 90                   xchg   %ax,%ax
-  80:  eb 06                   jmp    88 <foo\+0x88>
+  80:  eb 06                   jmp    (0x)?88( .*)?
+#...
   82:  8b 45 f4                mov    -0xc\(%ebp\),%eax
   85:  89 45 fc                mov    %eax,-0x4\(%ebp\)
+#...
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   94:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
@@ -72,6 +74,6 @@ Disassembly of section .text:
   b4:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   ba:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   c0:  89 75 00                mov    %esi,0x0\(%ebp\)
-  c3:  74 c3                   je     88 <foo\+0x88>
-  c5:  74 c1                   je     88 <foo\+0x88>
+  c3:  74 c3                   je     (0x)?88( .*)?
+  c5:  74 c1                   je     (0x)?88( .*)?
 #pass
index db62f0819dd6da8474a539ad7cea9d63b525d8a2..7ea8d8f44b5f9651b04ef2fe2e35d33290a38b1b 100644 (file)
@@ -20,7 +20,7 @@ Disassembly of section .text:
   1a:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   1d:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   20:  39 c5                   cmp    %eax,%ebp
-  22:  74 5b                   je     7f <foo\+0x7f>
+  22:  74 5b                   je     (0x)?7f( .*)?
   24:  3e 89 73 f4             mov    %esi,%ds:-0xc\(%ebx\)
   28:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   2b:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -32,9 +32,9 @@ Disassembly of section .text:
   3d:  5d                      pop    %ebp
   3e:  5d                      pop    %ebp
   3f:  5d                      pop    %ebp
-  40:  74 3d                   je     7f <foo\+0x7f>
+  40:  74 3d                   je     (0x)?7f( .*)?
   42:  5d                      pop    %ebp
-  43:  74 3a                   je     7f <foo\+0x7f>
+  43:  74 3a                   je     (0x)?7f( .*)?
   45:  89 44 24 fc             mov    %eax,-0x4\(%esp\)
   49:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   4c:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -44,9 +44,9 @@ Disassembly of section .text:
   58:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5b:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5e:  5d                      pop    %ebp
-  5f:  eb 24                   jmp    85 <foo\+0x85>
-  61:  eb 22                   jmp    85 <foo\+0x85>
-  63:  eb 20                   jmp    85 <foo\+0x85>
+  5f:  eb 24                   jmp    (0x)?85( .*)?
+  61:  eb 22                   jmp    (0x)?85( .*)?
+  63:  eb 20                   jmp    (0x)?85( .*)?
   65:  89 45 fc                mov    %eax,-0x4\(%ebp\)
   68:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   6b:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -56,10 +56,12 @@ Disassembly of section .text:
   77:  5d                      pop    %ebp
   78:  5d                      pop    %ebp
   79:  39 c5                   cmp    %eax,%ebp
-  7b:  74 02                   je     7f <foo\+0x7f>
-  7d:  eb 06                   jmp    85 <foo\+0x85>
+  7b:  74 02                   je     (0x)?7f( .*)?
+  7d:  eb 06                   jmp    (0x)?85( .*)?
+#...
   7f:  8b 45 f4                mov    -0xc\(%ebp\),%eax
   82:  89 45 fc                mov    %eax,-0x4\(%ebp\)
+#...
   85:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   8b:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   91:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
@@ -71,6 +73,6 @@ Disassembly of section .text:
   b1:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   b7:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   bd:  89 75 00                mov    %esi,0x0\(%ebp\)
-  c0:  74 c3                   je     85 <foo\+0x85>
-  c2:  74 c1                   je     85 <foo\+0x85>
+  c0:  74 c3                   je     (0x)?85( .*)?
+  c2:  74 c1                   je     (0x)?85( .*)?
 #pass
index dafbee13f12689c7ef3a26f276a6bbb38590652c..8a1269c17745b920437d3d985e602fdcb038d49b 100644 (file)
@@ -20,7 +20,7 @@ Disassembly of section .text:
   18:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   1b:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   1e:  39 c5                   cmp    %eax,%ebp
-  20:  74 5a                   je     7c <foo\+0x7c>
+  20:  74 5a                   je     (0x)?7c( .*)?
   22:  89 73 f4                mov    %esi,-0xc\(%ebx\)
   25:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   28:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -32,9 +32,9 @@ Disassembly of section .text:
   3a:  5d                      pop    %ebp
   3b:  5d                      pop    %ebp
   3c:  5d                      pop    %ebp
-  3d:  74 3d                   je     7c <foo\+0x7c>
+  3d:  74 3d                   je     (0x)?7c( .*)?
   3f:  5d                      pop    %ebp
-  40:  74 3a                   je     7c <foo\+0x7c>
+  40:  74 3a                   je     (0x)?7c( .*)?
   42:  89 44 24 fc             mov    %eax,-0x4\(%esp\)
   46:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   49:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -44,9 +44,9 @@ Disassembly of section .text:
   55:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   58:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5b:  5d                      pop    %ebp
-  5c:  eb 24                   jmp    82 <foo\+0x82>
-  5e:  eb 22                   jmp    82 <foo\+0x82>
-  60:  eb 20                   jmp    82 <foo\+0x82>
+  5c:  eb 24                   jmp    (0x)?82( .*)?
+  5e:  eb 22                   jmp    (0x)?82( .*)?
+  60:  eb 20                   jmp    (0x)?82( .*)?
   62:  89 45 fc                mov    %eax,-0x4\(%ebp\)
   65:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   68:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -56,10 +56,12 @@ Disassembly of section .text:
   74:  5d                      pop    %ebp
   75:  5d                      pop    %ebp
   76:  39 c5                   cmp    %eax,%ebp
-  78:  74 02                   je     7c <foo\+0x7c>
-  7a:  eb 06                   jmp    82 <foo\+0x82>
+  78:  74 02                   je     (0x)?7c( .*)?
+  7a:  eb 06                   jmp    (0x)?82( .*)?
+#...
   7c:  8b 45 f4                mov    -0xc\(%ebp\),%eax
   7f:  89 45 fc                mov    %eax,-0x4\(%ebp\)
+#...
   82:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
@@ -71,7 +73,7 @@ Disassembly of section .text:
   ae:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   b4:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   ba:  89 75 00                mov    %esi,0x0\(%ebp\)
-  bd:  74 c3                   je     82 <foo\+0x82>
+  bd:  74 c3                   je     (0x)?82( .*)?
   bf:  90                      nop
-  c0:  74 c0                   je     82 <foo\+0x82>
+  c0:  74 c0                   je     (0x)?82( .*)?
 #pass
index bf197c979b8b95757260493f760883d0f6241013..07d75f60902f8410f0e831d1ea3fff273b29a607 100644 (file)
@@ -20,7 +20,7 @@ Disassembly of section .text:
   18:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   1b:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   1e:  39 c5                   cmp    %eax,%ebp
-  20:  74 5c                   je     7e <foo\+0x7e>
+  20:  74 5c                   je     (0x)?7e( .*)?
   22:  89 73 f4                mov    %esi,-0xc\(%ebx\)
   25:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   28:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -32,9 +32,9 @@ Disassembly of section .text:
   3a:  5d                      pop    %ebp
   3b:  5d                      pop    %ebp
   3c:  5d                      pop    %ebp
-  3d:  74 3f                   je     7e <foo\+0x7e>
+  3d:  74 3f                   je     (0x)?7e( .*)?
   3f:  5d                      pop    %ebp
-  40:  74 3c                   je     7e <foo\+0x7e>
+  40:  74 3c                   je     (0x)?7e( .*)?
   42:  89 44 24 fc             mov    %eax,-0x4\(%esp\)
   46:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   49:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -44,10 +44,10 @@ Disassembly of section .text:
   55:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   58:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5b:  5d                      pop    %ebp
-  5c:  eb 27                   jmp    85 <foo\+0x85>
+  5c:  eb 27                   jmp    (0x)?85( .*)?
   5e:  66 90                   xchg   %ax,%ax
-  60:  eb 23                   jmp    85 <foo\+0x85>
-  62:  eb 21                   jmp    85 <foo\+0x85>
+  60:  eb 23                   jmp    (0x)?85( .*)?
+  62:  eb 21                   jmp    (0x)?85( .*)?
   64:  89 45 fc                mov    %eax,-0x4\(%ebp\)
   67:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   6a:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -57,10 +57,12 @@ Disassembly of section .text:
   76:  5d                      pop    %ebp
   77:  5d                      pop    %ebp
   78:  39 c5                   cmp    %eax,%ebp
-  7a:  74 02                   je     7e <foo\+0x7e>
-  7c:  eb 07                   jmp    85 <foo\+0x85>
+  7a:  74 02                   je     (0x)?7e( .*)?
+  7c:  eb 07                   jmp    (0x)?85( .*)?
+#...
   7e:  36 8b 45 f4             mov    %ss:-0xc\(%ebp\),%eax
   82:  89 45 fc                mov    %eax,-0x4\(%ebp\)
+#...
   85:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   8b:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   91:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
@@ -72,6 +74,6 @@ Disassembly of section .text:
   b1:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   b7:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   bd:  89 75 00                mov    %esi,0x0\(%ebp\)
-  c0:  74 c3                   je     85 <foo\+0x85>
-  c2:  74 c1                   je     85 <foo\+0x85>
+  c0:  74 c3                   je     (0x)?85( .*)?
+  c2:  74 c1                   je     (0x)?85( .*)?
 #pass
index 6cae2cd5f49634728684a65eb55dffb75315f7cf..2c578e81ebadedb4402261fa0ba45b0694a5ecc7 100644 (file)
@@ -20,7 +20,7 @@ Disassembly of section .text:
   1a:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   1d:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   20:  39 c5                   cmp    %eax,%ebp
-  22:  74 5e                   je     82 <foo\+0x82>
+  22:  74 5e                   je     (0x)?82( .*)?
   24:  3e 89 73 f4             mov    %esi,%ds:-0xc\(%ebx\)
   28:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   2b:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -32,9 +32,9 @@ Disassembly of section .text:
   3d:  5d                      pop    %ebp
   3e:  5d                      pop    %ebp
   3f:  5d                      pop    %ebp
-  40:  74 40                   je     82 <foo\+0x82>
+  40:  74 40                   je     (0x)?82( .*)?
   42:  5d                      pop    %ebp
-  43:  74 3d                   je     82 <foo\+0x82>
+  43:  74 3d                   je     (0x)?82( .*)?
   45:  36 89 44 24 fc          mov    %eax,%ss:-0x4\(%esp\)
   4a:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   4d:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -44,9 +44,9 @@ Disassembly of section .text:
   59:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5c:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5f:  5d                      pop    %ebp
-  60:  eb 26                   jmp    88 <foo\+0x88>
-  62:  eb 24                   jmp    88 <foo\+0x88>
-  64:  eb 22                   jmp    88 <foo\+0x88>
+  60:  eb 26                   jmp    (0x)?88( .*)?
+  62:  eb 24                   jmp    (0x)?88( .*)?
+  64:  eb 22                   jmp    (0x)?88( .*)?
   66:  89 45 fc                mov    %eax,-0x4\(%ebp\)
   69:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   6c:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -56,11 +56,13 @@ Disassembly of section .text:
   78:  5d                      pop    %ebp
   79:  5d                      pop    %ebp
   7a:  39 c5                   cmp    %eax,%ebp
-  7c:  74 04                   je     82 <foo\+0x82>
+  7c:  74 04                   je     (0x)?82( .*)?
   7e:  66 90                   xchg   %ax,%ax
-  80:  eb 06                   jmp    88 <foo\+0x88>
+  80:  eb 06                   jmp    (0x)?88( .*)?
+#...
   82:  8b 45 f4                mov    -0xc\(%ebp\),%eax
   85:  89 45 fc                mov    %eax,-0x4\(%ebp\)
+#...
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   94:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
@@ -72,6 +74,6 @@ Disassembly of section .text:
   b4:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   ba:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   c0:  89 75 00                mov    %esi,0x0\(%ebp\)
-  c3:  74 c3                   je     88 <foo\+0x88>
-  c5:  74 c1                   je     88 <foo\+0x88>
+  c3:  74 c3                   je     (0x)?88( .*)?
+  c5:  74 c1                   je     (0x)?88( .*)?
 #pass
index 01871ee98f9a994be3ea98147744835db299ac73..9f49030c0914441a8ee6f1cccd3ccd4c08725227 100644 (file)
@@ -20,7 +20,7 @@ Disassembly of section .text:
   18:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   1b:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   1e:  39 c5                   cmp    %eax,%ebp
-  20:  74 5a                   je     7c <foo\+0x7c>
+  20:  74 5a                   je     (0x)?7c( .*)?
   22:  89 73 f4                mov    %esi,-0xc\(%ebx\)
   25:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   28:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -32,9 +32,9 @@ Disassembly of section .text:
   3a:  5d                      pop    %ebp
   3b:  5d                      pop    %ebp
   3c:  5d                      pop    %ebp
-  3d:  74 3d                   je     7c <foo\+0x7c>
+  3d:  74 3d                   je     (0x)?7c( .*)?
   3f:  5d                      pop    %ebp
-  40:  74 3a                   je     7c <foo\+0x7c>
+  40:  74 3a                   je     (0x)?7c( .*)?
   42:  89 44 24 fc             mov    %eax,-0x4\(%esp\)
   46:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   49:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -44,9 +44,9 @@ Disassembly of section .text:
   55:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   58:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5b:  5d                      pop    %ebp
-  5c:  eb 24                   jmp    82 <foo\+0x82>
-  5e:  eb 22                   jmp    82 <foo\+0x82>
-  60:  eb 20                   jmp    82 <foo\+0x82>
+  5c:  eb 24                   jmp    (0x)?82( .*)?
+  5e:  eb 22                   jmp    (0x)?82( .*)?
+  60:  eb 20                   jmp    (0x)?82( .*)?
   62:  89 45 fc                mov    %eax,-0x4\(%ebp\)
   65:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   68:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -56,10 +56,12 @@ Disassembly of section .text:
   74:  5d                      pop    %ebp
   75:  5d                      pop    %ebp
   76:  39 c5                   cmp    %eax,%ebp
-  78:  74 02                   je     7c <foo\+0x7c>
-  7a:  eb 06                   jmp    82 <foo\+0x82>
+  78:  74 02                   je     (0x)?7c( .*)?
+  7a:  eb 06                   jmp    (0x)?82( .*)?
+#...
   7c:  8b 45 f4                mov    -0xc\(%ebp\),%eax
   7f:  89 45 fc                mov    %eax,-0x4\(%ebp\)
+#...
   82:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
@@ -71,6 +73,6 @@ Disassembly of section .text:
   ae:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   b4:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   ba:  89 75 00                mov    %esi,0x0\(%ebp\)
-  bd:  74 c3                   je     82 <foo\+0x82>
-  bf:  74 c1                   je     82 <foo\+0x82>
+  bd:  74 c3                   je     (0x)?82( .*)?
+  bf:  74 c1                   je     (0x)?82( .*)?
 #pass
index e2cbc28cde1010f496ee759e4ba0c5d35e325372..75bf965b680a8f5a196d1dfb1480400347934168 100644 (file)
@@ -21,7 +21,7 @@ Disassembly of section .text:
   1b:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   1e:  66 90                   xchg   %ax,%ax
   20:  39 c5                   cmp    %eax,%ebp
-  22:  74 5e                   je     82 <foo\+0x82>
+  22:  74 5e                   je     (0x)?82( .*)?
   24:  89 73 f4                mov    %esi,-0xc\(%ebx\)
   27:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   2a:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -34,9 +34,9 @@ Disassembly of section .text:
   3d:  5d                      pop    %ebp
   3e:  5d                      pop    %ebp
   3f:  90                      nop
-  40:  74 40                   je     82 <foo\+0x82>
+  40:  74 40                   je     (0x)?82( .*)?
   42:  5d                      pop    %ebp
-  43:  74 3d                   je     82 <foo\+0x82>
+  43:  74 3d                   je     (0x)?82( .*)?
   45:  89 44 24 fc             mov    %eax,-0x4\(%esp\)
   49:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   4c:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -47,9 +47,9 @@ Disassembly of section .text:
   5b:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   5e:  5d                      pop    %ebp
   5f:  90                      nop
-  60:  eb 26                   jmp    88 <foo\+0x88>
-  62:  eb 24                   jmp    88 <foo\+0x88>
-  64:  eb 22                   jmp    88 <foo\+0x88>
+  60:  eb 26                   jmp    (0x)?88( .*)?
+  62:  eb 24                   jmp    (0x)?88( .*)?
+  64:  eb 22                   jmp    (0x)?88( .*)?
   66:  89 45 fc                mov    %eax,-0x4\(%ebp\)
   69:  89 75 f4                mov    %esi,-0xc\(%ebp\)
   6c:  89 7d f8                mov    %edi,-0x8\(%ebp\)
@@ -59,11 +59,13 @@ Disassembly of section .text:
   78:  5d                      pop    %ebp
   79:  5d                      pop    %ebp
   7a:  39 c5                   cmp    %eax,%ebp
-  7c:  74 04                   je     82 <foo\+0x82>
+  7c:  74 04                   je     (0x)?82( .*)?
   7e:  66 90                   xchg   %ax,%ax
-  80:  eb 06                   jmp    88 <foo\+0x88>
+  80:  eb 06                   jmp    (0x)?88( .*)?
+#...
   82:  8b 45 f4                mov    -0xc\(%ebp\),%eax
   85:  89 45 fc                mov    %eax,-0x4\(%ebp\)
+#...
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   94:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
@@ -75,6 +77,6 @@ Disassembly of section .text:
   b4:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   ba:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%ebp\)
   c0:  89 75 00                mov    %esi,0x0\(%ebp\)
-  c3:  74 c3                   je     88 <foo\+0x88>
-  c5:  74 c1                   je     88 <foo\+0x88>
+  c3:  74 c3                   je     (0x)?88( .*)?
+  c5:  74 c1                   je     (0x)?88( .*)?
 #pass
index 1f114272ec5e363c3bbdebed6ef9dddbd789d1a1..ca96c3c711f7dc2adce7d783dc17e8a466ff12f3 100644 (file)
@@ -7,6 +7,7 @@ Disassembly of section .text:
 
 0+ <foo>:
    0:  c1 e9 02                shr    \$0x2,%ecx
+#...
    3:  c1 e9 02                shr    \$0x2,%ecx
    6:  c1 e9 02                shr    \$0x2,%ecx
    9:  89 d1                   mov    %edx,%ecx
@@ -19,9 +20,10 @@ Disassembly of section .text:
   1c:  c1 e9 02                shr    \$0x2,%ecx
   1f:  f6 c2 02                test   \$0x2,%dl
   22:  f3 ab                   rep stos %eax,%es:\(%edi\)
-  24:  75 dd                   jne    3 <foo\+0x3>
+  24:  75 dd                   jne    (0x)?3( .*)?
   26:  31 c0                   xor    %eax,%eax
   28:  c1 e9 02                shr    \$0x2,%ecx
+#...
   2b:  c1 e9 02                shr    \$0x2,%ecx
   2e:  c1 e9 02                shr    \$0x2,%ecx
   31:  89 d1                   mov    %edx,%ecx
@@ -31,6 +33,6 @@ Disassembly of section .text:
   3b:  c1 e9 02                shr    \$0x2,%ecx
   3e:  f6 c2 02                test   \$0x2,%dl
   41:  e8 [0-9a-f ]+           call   .*
-  46:  75 e3                   jne    2b <foo\+0x2b>
+  46:  75 e3                   jne    (0x)?2b( .*)?
   48:  31 c0                   xor    %eax,%eax
 #pass
index 4c886d56a1f3aaae51a4418dabf3aa5c8aa655ca..b081e359e491aaef01dec793cde646062bb5dc2a 100644 (file)
@@ -1067,9 +1067,11 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
     run_dump_test "x86-64-align-branch-1g"
     run_dump_test "x86-64-align-branch-1h"
     run_dump_test "x86-64-align-branch-1i"
-    run_dump_test "x86-64-align-branch-2a"
-    run_dump_test "x86-64-align-branch-2b"
-    run_dump_test "x86-64-align-branch-2c"
+    if { ![istarget "*-*-darwin*"] } then {
+       run_dump_test "x86-64-align-branch-2a"
+       run_dump_test "x86-64-align-branch-2b"
+       run_dump_test "x86-64-align-branch-2c"
+    }
     run_dump_test "x86-64-align-branch-4a"
     run_dump_test "x86-64-align-branch-4b"
     run_dump_test "x86-64-align-branch-5"
index f96808ac21f5f32b64cff1a86e302fe129900e74..0a5c8afcd3fcf98742ba572b5c4f17c0acdfe44a 100644 (file)
@@ -18,7 +18,7 @@ Disassembly of section .text:
   1a:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   1d:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   20:  48 39 c5                cmp    %rax,%rbp
-  23:  74 5d                   je     82 <foo\+0x82>
+  23:  74 5d                   je     (0x)?82( .*)?
   25:  2e 89 75 f4             mov    %esi,%cs:-0xc\(%rbp\)
   29:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   2c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -29,9 +29,9 @@ Disassembly of section .text:
   3b:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   3e:  5d                      pop    %rbp
   3f:  5d                      pop    %rbp
-  40:  74 40                   je     82 <foo\+0x82>
+  40:  74 40                   je     (0x)?82( .*)?
   42:  5d                      pop    %rbp
-  43:  74 3d                   je     82 <foo\+0x82>
+  43:  74 3d                   je     (0x)?82( .*)?
   45:  2e 89 45 fc             mov    %eax,%cs:-0x4\(%rbp\)
   49:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   4c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -42,9 +42,9 @@ Disassembly of section .text:
   5b:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   5e:  5d                      pop    %rbp
   5f:  5d                      pop    %rbp
-  60:  eb 26                   jmp    88 <foo\+0x88>
-  62:  eb 24                   jmp    88 <foo\+0x88>
-  64:  eb 22                   jmp    88 <foo\+0x88>
+  60:  eb 26                   jmp    (0x)?88( .*)?
+  62:  eb 24                   jmp    (0x)?88( .*)?
+  64:  eb 22                   jmp    (0x)?88( .*)?
   66:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   69:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   6c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -54,11 +54,13 @@ Disassembly of section .text:
   78:  5d                      pop    %rbp
   79:  5d                      pop    %rbp
   7a:  48 39 c5                cmp    %rax,%rbp
-  7d:  74 03                   je     82 <foo\+0x82>
+  7d:  74 03                   je     (0x)?82( .*)?
   7f:  90                      nop
-  80:  eb 06                   jmp    88 <foo\+0x88>
+  80:  eb 06                   jmp    (0x)?88( .*)?
+#...
   82:  8b 45 f4                mov    -0xc\(%rbp\),%eax
   85:  89 45 fc                mov    %eax,-0x4\(%rbp\)
+#...
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   94:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
@@ -69,7 +71,7 @@ Disassembly of section .text:
   b2:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   b8:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   be:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
-  c4:  eb c2                   jmp    88 <foo\+0x88>
+  c4:  eb c2                   jmp    (0x)?88( .*)?
   c6:  5d                      pop    %rbp
   c7:  c3                      retq   
 #pass
index 10b347679639ca8cd65176db4c1ee9aa5b80c5d5..375a31a8b26dd043d491959870a4118d63dba22a 100644 (file)
@@ -18,7 +18,7 @@ Disassembly of section .text:
   1a:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   1d:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   20:  48 39 c5                cmp    %rax,%rbp
-  23:  74 5d                   je     82 <foo\+0x82>
+  23:  74 5d                   je     (0x)?82( .*)?
   25:  2e 89 75 f4             mov    %esi,%cs:-0xc\(%rbp\)
   29:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   2c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -29,9 +29,9 @@ Disassembly of section .text:
   3b:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   3e:  5d                      pop    %rbp
   3f:  5d                      pop    %rbp
-  40:  74 40                   je     82 <foo\+0x82>
+  40:  74 40                   je     (0x)?82( .*)?
   42:  5d                      pop    %rbp
-  43:  74 3d                   je     82 <foo\+0x82>
+  43:  74 3d                   je     (0x)?82( .*)?
   45:  2e 89 45 fc             mov    %eax,%cs:-0x4\(%rbp\)
   49:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   4c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -42,9 +42,9 @@ Disassembly of section .text:
   5b:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   5e:  5d                      pop    %rbp
   5f:  5d                      pop    %rbp
-  60:  eb 26                   jmp    88 <foo\+0x88>
-  62:  eb 24                   jmp    88 <foo\+0x88>
-  64:  eb 22                   jmp    88 <foo\+0x88>
+  60:  eb 26                   jmp    (0x)?88( .*)?
+  62:  eb 24                   jmp    (0x)?88( .*)?
+  64:  eb 22                   jmp    (0x)?88( .*)?
   66:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   69:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   6c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -54,11 +54,13 @@ Disassembly of section .text:
   78:  5d                      pop    %rbp
   79:  5d                      pop    %rbp
   7a:  48 39 c5                cmp    %rax,%rbp
-  7d:  74 03                   je     82 <foo\+0x82>
+  7d:  74 03                   je     (0x)?82( .*)?
   7f:  90                      nop
-  80:  eb 06                   jmp    88 <foo\+0x88>
+  80:  eb 06                   jmp    (0x)?88( .*)?
+#...
   82:  8b 45 f4                mov    -0xc\(%rbp\),%eax
   85:  89 45 fc                mov    %eax,-0x4\(%rbp\)
+#...
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   94:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
@@ -69,7 +71,7 @@ Disassembly of section .text:
   b2:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   b8:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   be:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
-  c4:  eb c2                   jmp    88 <foo\+0x88>
+  c4:  eb c2                   jmp    (0x)?88( .*)?
   c6:  5d                      pop    %rbp
   c7:  c3                      retq   
 #pass
index 53c848aed4f8a2a6f93a9f472c746b6eeb941c21..b4e1c77bf90958411c4a231df9a2eaed9b437002 100644 (file)
@@ -18,7 +18,7 @@ Disassembly of section .text:
   1a:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   1d:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   20:  48 39 c5                cmp    %rax,%rbp
-  23:  74 5d                   je     82 <foo\+0x82>
+  23:  74 5d                   je     (0x)?82( .*)?
   25:  2e 89 75 f4             mov    %esi,%cs:-0xc\(%rbp\)
   29:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   2c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -29,9 +29,9 @@ Disassembly of section .text:
   3b:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   3e:  5d                      pop    %rbp
   3f:  5d                      pop    %rbp
-  40:  74 40                   je     82 <foo\+0x82>
+  40:  74 40                   je     (0x)?82( .*)?
   42:  5d                      pop    %rbp
-  43:  74 3d                   je     82 <foo\+0x82>
+  43:  74 3d                   je     (0x)?82( .*)?
   45:  2e 89 45 fc             mov    %eax,%cs:-0x4\(%rbp\)
   49:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   4c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -42,9 +42,9 @@ Disassembly of section .text:
   5b:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   5e:  5d                      pop    %rbp
   5f:  5d                      pop    %rbp
-  60:  eb 26                   jmp    88 <foo\+0x88>
-  62:  eb 24                   jmp    88 <foo\+0x88>
-  64:  eb 22                   jmp    88 <foo\+0x88>
+  60:  eb 26                   jmp    (0x)?88( .*)?
+  62:  eb 24                   jmp    (0x)?88( .*)?
+  64:  eb 22                   jmp    (0x)?88( .*)?
   66:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   69:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   6c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -54,11 +54,13 @@ Disassembly of section .text:
   78:  5d                      pop    %rbp
   79:  5d                      pop    %rbp
   7a:  48 39 c5                cmp    %rax,%rbp
-  7d:  74 03                   je     82 <foo\+0x82>
+  7d:  74 03                   je     (0x)?82( .*)?
   7f:  90                      nop
-  80:  eb 06                   jmp    88 <foo\+0x88>
+  80:  eb 06                   jmp    (0x)?88( .*)?
+#...
   82:  8b 45 f4                mov    -0xc\(%rbp\),%eax
   85:  89 45 fc                mov    %eax,-0x4\(%rbp\)
+#...
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   94:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
@@ -69,7 +71,7 @@ Disassembly of section .text:
   b2:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   b8:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   be:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
-  c4:  eb c2                   jmp    88 <foo\+0x88>
+  c4:  eb c2                   jmp    (0x)?88( .*)?
   c6:  5d                      pop    %rbp
   c7:  c3                      retq   
 #pass
index ae6445b29e0e324d33586fb2ccac92dd450899ad..c72b01762739e25aaf0ecaac8f99d200e24f02bb 100644 (file)
@@ -18,7 +18,7 @@ Disassembly of section .text:
   1a:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   1d:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   20:  48 39 c5                cmp    %rax,%rbp
-  23:  74 5b                   je     80 <foo\+0x80>
+  23:  74 5b                   je     (0x)?80( .*)?
   25:  2e 89 75 f4             mov    %esi,%cs:-0xc\(%rbp\)
   29:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   2c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -29,9 +29,9 @@ Disassembly of section .text:
   3b:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   3e:  5d                      pop    %rbp
   3f:  5d                      pop    %rbp
-  40:  74 3e                   je     80 <foo\+0x80>
+  40:  74 3e                   je     (0x)?80( .*)?
   42:  5d                      pop    %rbp
-  43:  74 3b                   je     80 <foo\+0x80>
+  43:  74 3b                   je     (0x)?80( .*)?
   45:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   48:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   4b:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -42,9 +42,9 @@ Disassembly of section .text:
   5a:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   5d:  5d                      pop    %rbp
   5e:  5d                      pop    %rbp
-  5f:  eb 25                   jmp    86 <foo\+0x86>
-  61:  eb 23                   jmp    86 <foo\+0x86>
-  63:  eb 21                   jmp    86 <foo\+0x86>
+  5f:  eb 25                   jmp    (0x)?86( .*)?
+  61:  eb 23                   jmp    (0x)?86( .*)?
+  63:  eb 21                   jmp    (0x)?86( .*)?
   65:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   68:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   6b:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -54,10 +54,12 @@ Disassembly of section .text:
   77:  5d                      pop    %rbp
   78:  5d                      pop    %rbp
   79:  48 39 c5                cmp    %rax,%rbp
-  7c:  74 02                   je     80 <foo\+0x80>
-  7e:  eb 06                   jmp    86 <foo\+0x86>
+  7c:  74 02                   je     (0x)?80( .*)?
+  7e:  eb 06                   jmp    (0x)?86( .*)?
+#...
   80:  8b 45 f4                mov    -0xc\(%rbp\),%eax
   83:  89 45 fc                mov    %eax,-0x4\(%rbp\)
+#...
   86:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   8c:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   92:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
@@ -68,7 +70,7 @@ Disassembly of section .text:
   b0:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   b6:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   bc:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
-  c2:  eb c2                   jmp    86 <foo\+0x86>
+  c2:  eb c2                   jmp    (0x)?86( .*)?
   c4:  5d                      pop    %rbp
   c5:  c3                      retq   
 #pass
index beb7744f65fb469a1f066680d0332537a1ad27ed..77b6253ac1161d2d3cf7e21881286a0e5d92ffad 100644 (file)
@@ -18,7 +18,7 @@ Disassembly of section .text:
   17:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   1a:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   1d:  48 39 c5                cmp    %rax,%rbp
-  20:  74 5b                   je     7d <foo\+0x7d>
+  20:  74 5b                   je     (0x)?7d( .*)?
   22:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   25:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   28:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -29,9 +29,9 @@ Disassembly of section .text:
   37:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   3a:  5d                      pop    %rbp
   3b:  5d                      pop    %rbp
-  3c:  74 3f                   je     7d <foo\+0x7d>
+  3c:  74 3f                   je     (0x)?7d( .*)?
   3e:  2e 5d                   cs pop %rbp
-  40:  74 3b                   je     7d <foo\+0x7d>
+  40:  74 3b                   je     (0x)?7d( .*)?
   42:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   45:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   48:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -42,9 +42,9 @@ Disassembly of section .text:
   57:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   5a:  5d                      pop    %rbp
   5b:  5d                      pop    %rbp
-  5c:  eb 25                   jmp    83 <foo\+0x83>
-  5e:  eb 23                   jmp    83 <foo\+0x83>
-  60:  eb 21                   jmp    83 <foo\+0x83>
+  5c:  eb 25                   jmp    (0x)?83( .*)?
+  5e:  eb 23                   jmp    (0x)?83( .*)?
+  60:  eb 21                   jmp    (0x)?83( .*)?
   62:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   65:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   68:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -54,10 +54,12 @@ Disassembly of section .text:
   74:  5d                      pop    %rbp
   75:  5d                      pop    %rbp
   76:  48 39 c5                cmp    %rax,%rbp
-  79:  74 02                   je     7d <foo\+0x7d>
-  7b:  eb 06                   jmp    83 <foo\+0x83>
+  79:  74 02                   je     (0x)?7d( .*)?
+  7b:  eb 06                   jmp    (0x)?83( .*)?
+#...
   7d:  8b 45 f4                mov    -0xc\(%rbp\),%eax
   80:  89 45 fc                mov    %eax,-0x4\(%rbp\)
+#...
   83:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   89:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   8f:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
@@ -68,7 +70,7 @@ Disassembly of section .text:
   ad:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   b3:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   b9:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
-  bf:  eb c2                   jmp    83 <foo\+0x83>
+  bf:  eb c2                   jmp    (0x)?83( .*)?
   c1:  5d                      pop    %rbp
   c2:  c3                      retq   
 #pass
index 24fbf45eecc936008d0f2d08c107eb6b3a047e02..aed8169873497689de7b09f11115f39899948016 100644 (file)
@@ -18,7 +18,7 @@ Disassembly of section .text:
   17:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   1a:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   1d:  48 39 c5                cmp    %rax,%rbp
-  20:  74 5d                   je     7f <foo\+0x7f>
+  20:  74 5d                   je     (0x)?7f( .*)?
   22:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   25:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   28:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -29,9 +29,9 @@ Disassembly of section .text:
   37:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   3a:  5d                      pop    %rbp
   3b:  5d                      pop    %rbp
-  3c:  74 41                   je     7f <foo\+0x7f>
+  3c:  74 41                   je     (0x)?7f( .*)?
   3e:  2e 5d                   cs pop %rbp
-  40:  74 3d                   je     7f <foo\+0x7f>
+  40:  74 3d                   je     (0x)?7f( .*)?
   42:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   45:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   48:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -42,10 +42,10 @@ Disassembly of section .text:
   57:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   5a:  5d                      pop    %rbp
   5b:  5d                      pop    %rbp
-  5c:  eb 27                   jmp    85 <foo\+0x85>
+  5c:  eb 27                   jmp    (0x)?85( .*)?
   5e:  66 90                   xchg   %ax,%ax
-  60:  eb 23                   jmp    85 <foo\+0x85>
-  62:  eb 21                   jmp    85 <foo\+0x85>
+  60:  eb 23                   jmp    (0x)?85( .*)?
+  62:  eb 21                   jmp    (0x)?85( .*)?
   64:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   67:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   6a:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -55,10 +55,12 @@ Disassembly of section .text:
   76:  5d                      pop    %rbp
   77:  5d                      pop    %rbp
   78:  48 39 c5                cmp    %rax,%rbp
-  7b:  74 02                   je     7f <foo\+0x7f>
-  7d:  eb 06                   jmp    85 <foo\+0x85>
+  7b:  74 02                   je     (0x)?7f( .*)?
+  7d:  eb 06                   jmp    (0x)?85( .*)?
+#...
   7f:  8b 45 f4                mov    -0xc\(%rbp\),%eax
   82:  89 45 fc                mov    %eax,-0x4\(%rbp\)
+#...
   85:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   8b:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   91:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
@@ -69,7 +71,7 @@ Disassembly of section .text:
   af:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   b5:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   bb:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
-  c1:  eb c2                   jmp    85 <foo\+0x85>
+  c1:  eb c2                   jmp    (0x)?85( .*)?
   c3:  5d                      pop    %rbp
   c4:  c3                      retq   
 #pass
index 624494064befc278244d0b489e89d9f2d7c8757c..d468c385b3f2d0fa41ddb05233afec72634c773b 100644 (file)
@@ -18,7 +18,7 @@ Disassembly of section .text:
   1a:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   1d:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   20:  48 39 c5                cmp    %rax,%rbp
-  23:  74 5d                   je     82 <foo\+0x82>
+  23:  74 5d                   je     (0x)?82( .*)?
   25:  2e 89 75 f4             mov    %esi,%cs:-0xc\(%rbp\)
   29:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   2c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -29,9 +29,9 @@ Disassembly of section .text:
   3b:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   3e:  5d                      pop    %rbp
   3f:  5d                      pop    %rbp
-  40:  74 40                   je     82 <foo\+0x82>
+  40:  74 40                   je     (0x)?82( .*)?
   42:  5d                      pop    %rbp
-  43:  74 3d                   je     82 <foo\+0x82>
+  43:  74 3d                   je     (0x)?82( .*)?
   45:  2e 89 45 fc             mov    %eax,%cs:-0x4\(%rbp\)
   49:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   4c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -42,9 +42,9 @@ Disassembly of section .text:
   5b:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   5e:  5d                      pop    %rbp
   5f:  5d                      pop    %rbp
-  60:  eb 26                   jmp    88 <foo\+0x88>
-  62:  eb 24                   jmp    88 <foo\+0x88>
-  64:  eb 22                   jmp    88 <foo\+0x88>
+  60:  eb 26                   jmp    (0x)?88( .*)?
+  62:  eb 24                   jmp    (0x)?88( .*)?
+  64:  eb 22                   jmp    (0x)?88( .*)?
   66:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   69:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   6c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -54,11 +54,13 @@ Disassembly of section .text:
   78:  5d                      pop    %rbp
   79:  5d                      pop    %rbp
   7a:  48 39 c5                cmp    %rax,%rbp
-  7d:  74 03                   je     82 <foo\+0x82>
+  7d:  74 03                   je     (0x)?82( .*)?
   7f:  90                      nop
-  80:  eb 06                   jmp    88 <foo\+0x88>
+  80:  eb 06                   jmp    (0x)?88( .*)?
+#...
   82:  8b 45 f4                mov    -0xc\(%rbp\),%eax
   85:  89 45 fc                mov    %eax,-0x4\(%rbp\)
+#...
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   94:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
@@ -69,7 +71,7 @@ Disassembly of section .text:
   b2:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   b8:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   be:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
-  c4:  eb c2                   jmp    88 <foo\+0x88>
+  c4:  eb c2                   jmp    (0x)?88( .*)?
   c6:  5d                      pop    %rbp
   c7:  c3                      retq   
 #pass
index a6022be8216efaddef7e5daf4a83e043cee29c2c..cee73617afe60873c2e23b48fb83f1b51320adbd 100644 (file)
@@ -18,7 +18,7 @@ Disassembly of section .text:
   17:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   1a:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   1d:  48 39 c5                cmp    %rax,%rbp
-  20:  74 5a                   je     7c <foo\+0x7c>
+  20:  74 5a                   je     (0x)?7c( .*)?
   22:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   25:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   28:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -29,9 +29,9 @@ Disassembly of section .text:
   37:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   3a:  5d                      pop    %rbp
   3b:  5d                      pop    %rbp
-  3c:  74 3e                   je     7c <foo\+0x7c>
+  3c:  74 3e                   je     (0x)?7c( .*)?
   3e:  5d                      pop    %rbp
-  3f:  74 3b                   je     7c <foo\+0x7c>
+  3f:  74 3b                   je     (0x)?7c( .*)?
   41:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   44:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   47:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -42,9 +42,9 @@ Disassembly of section .text:
   56:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   59:  5d                      pop    %rbp
   5a:  5d                      pop    %rbp
-  5b:  eb 25                   jmp    82 <foo\+0x82>
-  5d:  eb 23                   jmp    82 <foo\+0x82>
-  5f:  eb 21                   jmp    82 <foo\+0x82>
+  5b:  eb 25                   jmp    (0x)?82( .*)?
+  5d:  eb 23                   jmp    (0x)?82( .*)?
+  5f:  eb 21                   jmp    (0x)?82( .*)?
   61:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   64:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   67:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -54,10 +54,12 @@ Disassembly of section .text:
   73:  5d                      pop    %rbp
   74:  5d                      pop    %rbp
   75:  48 39 c5                cmp    %rax,%rbp
-  78:  74 02                   je     7c <foo\+0x7c>
-  7a:  eb 06                   jmp    82 <foo\+0x82>
+  78:  74 02                   je     (0x)?7c( .*)?
+  7a:  eb 06                   jmp    (0x)?82( .*)?
+#...
   7c:  8b 45 f4                mov    -0xc\(%rbp\),%eax
   7f:  89 45 fc                mov    %eax,-0x4\(%rbp\)
+#...
   82:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
@@ -68,7 +70,7 @@ Disassembly of section .text:
   ac:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   b2:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   b8:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
-  be:  eb c2                   jmp    82 <foo\+0x82>
+  be:  eb c2                   jmp    (0x)?82( .*)?
   c0:  5d                      pop    %rbp
   c1:  c3                      retq   
 #pass
index 2493626fdeec747bb5a2413ce3e6df61d94c89dd..67b1b1507c930434cc791f94b858b94345a30d7b 100644 (file)
@@ -19,7 +19,7 @@ Disassembly of section .text:
   1a:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   1d:  0f 1f 00                nopl   \(%rax\)
   20:  48 39 c5                cmp    %rax,%rbp
-  23:  74 5d                   je     82 <foo\+0x82>
+  23:  74 5d                   je     (0x)?82( .*)?
   25:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   28:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   2b:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -31,9 +31,9 @@ Disassembly of section .text:
   3d:  5d                      pop    %rbp
   3e:  5d                      pop    %rbp
   3f:  90                      nop
-  40:  74 40                   je     82 <foo\+0x82>
+  40:  74 40                   je     (0x)?82( .*)?
   42:  5d                      pop    %rbp
-  43:  74 3d                   je     82 <foo\+0x82>
+  43:  74 3d                   je     (0x)?82( .*)?
   45:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   48:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   4b:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -45,9 +45,9 @@ Disassembly of section .text:
   5d:  5d                      pop    %rbp
   5e:  5d                      pop    %rbp
   5f:  90                      nop
-  60:  eb 26                   jmp    88 <foo\+0x88>
-  62:  eb 24                   jmp    88 <foo\+0x88>
-  64:  eb 22                   jmp    88 <foo\+0x88>
+  60:  eb 26                   jmp    (0x)?88( .*)?
+  62:  eb 24                   jmp    (0x)?88( .*)?
+  64:  eb 22                   jmp    (0x)?88( .*)?
   66:  89 45 fc                mov    %eax,-0x4\(%rbp\)
   69:  89 75 f4                mov    %esi,-0xc\(%rbp\)
   6c:  89 7d f8                mov    %edi,-0x8\(%rbp\)
@@ -57,11 +57,13 @@ Disassembly of section .text:
   78:  5d                      pop    %rbp
   79:  5d                      pop    %rbp
   7a:  48 39 c5                cmp    %rax,%rbp
-  7d:  74 03                   je     82 <foo\+0x82>
+  7d:  74 03                   je     (0x)?82( .*)?
   7f:  90                      nop
-  80:  eb 06                   jmp    88 <foo\+0x88>
+  80:  eb 06                   jmp    (0x)?88( .*)?
+#...
   82:  8b 45 f4                mov    -0xc\(%rbp\),%eax
   85:  89 45 fc                mov    %eax,-0x4\(%rbp\)
+#...
   88:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   8e:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   94:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
@@ -72,7 +74,7 @@ Disassembly of section .text:
   b2:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   b8:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
   be:  89 b5 50 fb ff ff       mov    %esi,-0x4b0\(%rbp\)
-  c4:  eb c2                   jmp    88 <foo\+0x88>
+  c4:  eb c2                   jmp    (0x)?88( .*)?
   c6:  5d                      pop    %rbp
   c7:  c3                      retq   
 #pass
index 3a16c1bef1b376f33015d996ffb16cba23129859..9770a4a07f9f844a86d7112f033629c8ded37944 100644 (file)
@@ -8,6 +8,7 @@ Disassembly of section .text:
 
 0+ <foo>:
    0:  c1 e9 02                shr    \$0x2,%ecx
+#...
    3:  c1 e9 02                shr    \$0x2,%ecx
    6:  c1 e9 02                shr    \$0x2,%ecx
    9:  89 d1                   mov    %edx,%ecx
@@ -20,9 +21,10 @@ Disassembly of section .text:
   1c:  c1 e9 02                shr    \$0x2,%ecx
   1f:  f6 c2 02                test   \$0x2,%dl
   22:  f3 ab                   rep stos %eax,%es:\(%rdi\)
-  24:  75 dd                   jne    3 <foo\+0x3>
+  24:  75 dd                   jne    (0x)?3( .*)?
   26:  31 c0                   xor    %eax,%eax
   28:  c1 e9 02                shr    \$0x2,%ecx
+#...
   2b:  c1 e9 02                shr    \$0x2,%ecx
   2e:  c1 e9 02                shr    \$0x2,%ecx
   31:  89 d1                   mov    %edx,%ecx
@@ -31,7 +33,7 @@ Disassembly of section .text:
   38:  c1 e9 02                shr    \$0x2,%ecx
   3b:  c1 e9 02                shr    \$0x2,%ecx
   3e:  f6 c2 02                test   \$0x2,%dl
-  41:  e8 00 00 00 00          callq  46 <foo\+0x46>
-  46:  75 e3                   jne    2b <foo\+0x2b>
+  41:  e8 00 00 00 00          callq  (0x)?46( .*)?
+  46:  75 e3                   jne    (0x)?2b( .*)?
   48:  31 c0                   xor    %eax,%eax
 #pass
index 1c809087eacd54ecf50aaca322cc662e64bec326..ee68a8c26d92ada267508ac2179220a994555b54 100644 (file)
@@ -1,3 +1,7 @@
+2020-01-14  Lili Cui <lili.cui@intel.com>
+
+       * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
+
 2020-01-13  Alan Modra  <amodra@gmail.com>
 
        * po/BLD-POTFILES.in: Regenerate.
index 9eb728728d9edcc422f2ed8e81f92cd483b426d9..b1347e50555ca5ebef0d6f7670f1825268366801 100644 (file)
@@ -10,16 +10,16 @@ Disassembly of section .text:
 
 [a-f0-9]+ <_start>:
  +[a-f0-9]+:   85 d2                   test   %edx,%edx
- +[a-f0-9]+:   74 20                   je     8049024 <_start\+0x24>
+ +[a-f0-9]+:   74 20                   je     +[a-f0-9]+ <_start\+0x24>
  +[a-f0-9]+:   85 d2                   test   %edx,%edx
- +[a-f0-9]+:   74 1c                   je     8049024 <_start\+0x24>
+ +[a-f0-9]+:   74 1c                   je     +[a-f0-9]+ <_start\+0x24>
  +[a-f0-9]+:   85 ff                   test   %edi,%edi
- +[a-f0-9]+:   74 18                   je     8049024 <_start\+0x24>
+ +[a-f0-9]+:   74 18                   je     +[a-f0-9]+ <_start\+0x24>
  +[a-f0-9]+:   65 a1 00 00 00 00       mov    %gs:0x0,%eax
  +[a-f0-9]+:   90                      nop
  +[a-f0-9]+:   8d 74 26 00             lea    0x0\(%esi,%eiz,1\),%esi
  +[a-f0-9]+:   3e 3e 3e 8b 90 fc ff ff ff      ds ds mov %ds:-0x4\(%eax\),%edx
  +[a-f0-9]+:   85 d2                   test   %edx,%edx
- +[a-f0-9]+:   74 00                   je     8049024 <_start\+0x24>
+ +[a-f0-9]+:   74 00                   je     +[a-f0-9]+ <_start\+0x24>
  +[a-f0-9]+:   c3                      ret    
 #pass