[ELF][Hexagon][test] check .got.plt order

llvm-svn: 177604
This commit is contained in:
Shankar Easwaran 2013-03-20 23:39:43 +00:00
parent 0fa1b3c86a
commit 71738cafe6
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,6 @@
int c = 10;
int fn() { c = 20; return 0; }
int fn1() {
return fn();
}

Binary file not shown.

View File

@ -0,0 +1,6 @@
RUN: lld -core -target hexagon %p/Inputs/got-plt-order.o \
RUN: -output=%t -noinhibit-exec -output-type=shared
RUN: llvm-objdump -section-headers %t | FileCheck %s
CHECK: .got
CHECK-NEXT: .got.plt