summaryrefslogtreecommitdiff
path: root/test/ELF/merge.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/merge.s')
-rw-r--r--test/ELF/merge.s48
1 files changed, 24 insertions, 24 deletions
diff --git a/test/ELF/merge.s b/test/ELF/merge.s
index 5039ec2251c0..b84d33a3411e 100644
--- a/test/ELF/merge.s
+++ b/test/ELF/merge.s
@@ -23,7 +23,7 @@ zed:
// CHECK-NEXT: SHF_ALLOC
// CHECK-NEXT: SHF_MERGE
// CHECK-NEXT: ]
-// CHECK-NEXT: Address: 0x10120
+// CHECK-NEXT: Address: 0x200120
// CHECK-NEXT: Offset: 0x120
// CHECK-NEXT: Size: 8
// CHECK-NEXT: Link: 0
@@ -35,13 +35,13 @@ zed:
// CHECK-NEXT: )
-// Address of the constant 0x10 = 0x10120 = 65824
-// Address of the constant 0x42 = 0x10124 = 65828
+// Address of the constant 0x10 = 0x200120 = 2097440
+// Address of the constant 0x42 = 0x200124 = 2097444
// CHECK: Symbols [
// CHECK: Name: bar
-// CHECK-NEXT: Value: 0x10124
+// CHECK-NEXT: Value: 0x200124
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Loca
// CHECK-NEXT: Type: None
@@ -49,7 +49,7 @@ zed:
// CHECK-NEXT: Section: .mysec
// CHECK: Name: zed
-// CHECK-NEXT: Value: 0x10124
+// CHECK-NEXT: Value: 0x200124
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
@@ -57,7 +57,7 @@ zed:
// CHECK-NEXT: Section: .mysec
// CHECK: Name: foo
-// CHECK-NEXT: Value: 0x10124
+// CHECK-NEXT: Value: 0x200124
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
@@ -75,37 +75,37 @@ _start:
// DISASM-NEXT: _start:
movl .mysec, %eax
-// addr(0x10) = 65824
-// DISASM-NEXT: movl 65824, %eax
+// addr(0x10) = 2097440
+// DISASM-NEXT: movl 2097440, %eax
movl .mysec+7, %eax
-// addr(0x42) + 3 = 65828 + 3 = 65831
-// DISASM-NEXT: movl 65831, %eax
+// addr(0x42) + 3 = 2097444 + 3 = 2097447
+// DISASM-NEXT: movl 2097447, %eax
movl .mysec+8, %eax
-// addr(0x42) = 65828
-// DISASM-NEXT: movl 65828, %eax
+// addr(0x42) = 2097444
+// DISASM-NEXT: movl 2097444, %eax
movl bar+7, %eax
-// addr(0x42) + 7 = 65828 + 7 = 65835
-// DISASM-NEXT: movl 65835, %eax
+// addr(0x42) + 7 = 2097444 + 7 = 2097451
+// DISASM-NEXT: movl 2097451, %eax
movl bar+8, %eax
-// addr(0x42) + 8 = 65828 + 8 = 65836
-// DISASM-NEXT: movl 65836, %eax
+// addr(0x42) + 8 = 2097444 + 8 = 2097452
+// DISASM-NEXT: movl 2097452, %eax
movl foo, %eax
-// addr(0x42) = 65828
-// DISASM-NEXT: movl 65828, %eax
+// addr(0x42) = 2097444
+// DISASM-NEXT: movl 2097444, %eax
movl foo+7, %eax
-// addr(0x42) + 7 = = 65828 + 7 = 65835
-// DISASM-NEXT: movl 65835, %eax
+// addr(0x42) + 7 = = 2097444 + 7 = 2097451
+// DISASM-NEXT: movl 2097451, %eax
movl foo+8, %eax
-// addr(0x42) + 8 = = 65828 + 8 = 65836
-// DISASM-NEXT: movl 65836, %eax
+// addr(0x42) + 8 = = 2097444 + 8 = 2097452
+// DISASM-NEXT: movl 2097452, %eax
// From the other file: movl .mysec, %eax
-// addr(0x42) = 65828
-// DISASM-NEXT: movl 65828, %eax
+// addr(0x42) = 2097444
+// DISASM-NEXT: movl 2097444, %eax