summaryrefslogtreecommitdiff
path: root/test/elf/Hexagon/hexagon-got-plt-order.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/elf/Hexagon/hexagon-got-plt-order.test')
-rw-r--r--test/elf/Hexagon/hexagon-got-plt-order.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/elf/Hexagon/hexagon-got-plt-order.test b/test/elf/Hexagon/hexagon-got-plt-order.test
new file mode 100644
index 0000000000000..7600ebe59fc59
--- /dev/null
+++ b/test/elf/Hexagon/hexagon-got-plt-order.test
@@ -0,0 +1,5 @@
+RUN: lld -flavor gnu -target hexagon %p/Inputs/got-plt-order.o -o %t -shared
+RUN: llvm-objdump -section-headers %t | FileCheck %s
+
+CHECK: .got
+CHECK-NEXT: .got.plt