1 // RUN
: llvm-mc
-filetype
=obj
-triple i386-pc-linux-gnu
%s
-o
- | llvm-readobj
-S
--sd | FileCheck
%s
3 // We test that _GLOBAL_OFFSET_TABLE_ will account for the two bytes at the
4 // start of the addl
/leal.
6 addl $_GLOBAL_OFFSET_TABLE_
, %ebx
7 leal _GLOBAL_OFFSET_TABLE_
(%ebx
), %ebx
9 // But
not in this case
11 addl _GLOBAL_OFFSET_TABLE_-foo
,%ebx
16 // CHECK-NEXT
: Flags
[
18 // CHECK-NEXT
: Address
:
19 // CHECK-NEXT
: Offset
:
23 // CHECK-NEXT
: AddressAlignment
:
24 // CHECK-NEXT
: EntrySize
:
25 // CHECK-NEXT
: SectionData
(
26 // CHECK-NEXT
: 0000: 81C30200
00008D9B
02000000 031D0200
27 // CHECK-NEXT
: 0010: 0000