2018-06-06 21:56:51 +08:00
|
|
|
// REQUIRES: x86
|
2016-03-16 06:24:58 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
|
2017-10-06 17:37:44 +08:00
|
|
|
// RUN: ld.lld --hash-style=sysv -shared %t -o %t2
|
2019-05-01 13:49:01 +08:00
|
|
|
// RUN: llvm-readobj --symbols %t2 | FileCheck %s
|
2017-06-26 18:22:17 +08:00
|
|
|
.long _GLOBAL_OFFSET_TABLE_ - .
|
2016-03-16 06:24:58 +08:00
|
|
|
|
2016-04-04 22:04:16 +08:00
|
|
|
// CHECK: Name: _GLOBAL_OFFSET_TABLE_
|
2019-09-16 15:05:34 +08:00
|
|
|
// CHECK-NEXT: Value: 0x3290
|
2016-04-04 22:04:16 +08:00
|
|
|
// CHECK-NEXT: Size: 0
|
|
|
|
// CHECK-NEXT: Binding: Local
|
2017-06-26 18:22:17 +08:00
|
|
|
// CHECK-NEXT: Type: None
|
|
|
|
// CHECK-NEXT: Other [ (0x2)
|
|
|
|
// CHECK-NEXT: STV_HIDDEN (0x2)
|
|
|
|
// CHECK-NEXT: ]
|
2018-03-19 14:52:51 +08:00
|
|
|
// CHECK-NEXT: Section: .got.plt
|